Skip to content

Commit

Permalink
absolute import for src/functions
Browse files Browse the repository at this point in the history
  • Loading branch information
bucko13 committed Jun 3, 2024
1 parent 4b8c95e commit 9ffd370
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/caravan-psbt/src/psbtv0/psbt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { GlobalXpub } from "bip174/src/lib/interfaces.js";
// be sorted out and simplified then we can use the primary module with wasm
import * as ecc from "../../vendor/tiny-secp256k1-asmjs/lib/index.js";
import * as bitcoin from "bitcoinjs-lib-v6";
import { bufferize } from "../functions";
import { bufferize } from "src/functions";
import BigNumber from "bignumber.js";

bitcoin.initEccLib(ecc);
Expand Down
5 changes: 5 additions & 0 deletions packages/caravan-psbt/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@
"node",
"jest"
],
"paths": {
"src/*": [
"./src/*"
]
}
}
}
2 changes: 1 addition & 1 deletion packages/typescript-config/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"noUnusedParameters": false,
"preserveWatchOutput": true,
"skipLibCheck": true,
"strict": true
"strict": true,
},
"exclude": [
"node_modules"
Expand Down

0 comments on commit 9ffd370

Please sign in to comment.