react-native-bdk-sdk 0.1.9 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cpp/generated/bdk_ffi.cpp +2 -81
- package/cpp/generated/bdk_ffi.hpp +0 -4
- package/lib/commonjs/generated/bdk_ffi-ffi.js.map +1 -1
- package/lib/commonjs/generated/bdk_ffi.js +182 -369
- package/lib/commonjs/generated/bdk_ffi.js.map +1 -1
- package/lib/commonjs/wrapper.js +1 -7
- package/lib/commonjs/wrapper.js.map +1 -1
- package/lib/module/generated/bdk_ffi-ffi.js.map +1 -1
- package/lib/module/generated/bdk_ffi.js +182 -369
- package/lib/module/generated/bdk_ffi.js.map +1 -1
- package/lib/module/wrapper.js +1 -7
- package/lib/module/wrapper.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/bdk_ffi-ffi.d.ts +0 -4
- package/lib/typescript/commonjs/src/generated/bdk_ffi-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/bdk_ffi.d.ts +98 -240
- package/lib/typescript/commonjs/src/generated/bdk_ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/wrapper.d.ts +0 -2
- package/lib/typescript/commonjs/src/wrapper.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bdk_ffi-ffi.d.ts +0 -4
- package/lib/typescript/module/src/generated/bdk_ffi-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bdk_ffi.d.ts +98 -240
- package/lib/typescript/module/src/generated/bdk_ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/wrapper.d.ts +0 -2
- package/lib/typescript/module/src/wrapper.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/generated/bdk_ffi-ffi.ts +0 -11
- package/src/generated/bdk_ffi.ts +207 -462
- package/src/wrapper.ts +1 -9
package/src/wrapper.ts
CHANGED
|
@@ -337,10 +337,6 @@ export class BdkWallet {
|
|
|
337
337
|
return this.inner.calculateFeeRate(txHex);
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
-
cancelTx(txHex: string): void {
|
|
341
|
-
this.inner.cancelTx(txHex);
|
|
342
|
-
}
|
|
343
|
-
|
|
344
340
|
// ── PSBT / Signing ──────────────────────────────────────────────────────
|
|
345
341
|
|
|
346
342
|
sign(psbt: PsbtLike): boolean {
|
|
@@ -497,7 +493,7 @@ export class BdkTxBuilder {
|
|
|
497
493
|
}
|
|
498
494
|
|
|
499
495
|
addData(data: Array<number>): void {
|
|
500
|
-
this.inner.addData(data);
|
|
496
|
+
this.inner.addData(new Uint8Array(data).buffer);
|
|
501
497
|
}
|
|
502
498
|
|
|
503
499
|
feeRate(satPerVbyte: number): void {
|
|
@@ -592,10 +588,6 @@ export class BdkTxBuilder {
|
|
|
592
588
|
this.inner.onlyWitnessUtxo();
|
|
593
589
|
}
|
|
594
590
|
|
|
595
|
-
includeOutputRedeemWitnessScript(): void {
|
|
596
|
-
this.inner.includeOutputRedeemWitnessScript();
|
|
597
|
-
}
|
|
598
|
-
|
|
599
591
|
addGlobalXpubs(): void {
|
|
600
592
|
this.inner.addGlobalXpubs();
|
|
601
593
|
}
|