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/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
  }