diff --git a/packages/caravan-psbt/src/psbtv0/psbt.ts b/packages/caravan-psbt/src/psbtv0/psbt.ts index 8d3bc60e..a57e4c2f 100644 --- a/packages/caravan-psbt/src/psbtv0/psbt.ts +++ b/packages/caravan-psbt/src/psbtv0/psbt.ts @@ -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); diff --git a/packages/caravan-psbt/tsconfig.json b/packages/caravan-psbt/tsconfig.json index 30f39ccc..c9a415b6 100644 --- a/packages/caravan-psbt/tsconfig.json +++ b/packages/caravan-psbt/tsconfig.json @@ -5,5 +5,10 @@ "node", "jest" ], + "paths": { + "src/*": [ + "./src/*" + ] + } } } diff --git a/packages/typescript-config/base.json b/packages/typescript-config/base.json index c2702d38..02e3a956 100644 --- a/packages/typescript-config/base.json +++ b/packages/typescript-config/base.json @@ -17,7 +17,7 @@ "noUnusedParameters": false, "preserveWatchOutput": true, "skipLibCheck": true, - "strict": true + "strict": true, }, "exclude": [ "node_modules"