@secondts/bark-react-native 0.3.3 → 0.4.1

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.
Files changed (27) hide show
  1. package/BarkReactNative.podspec +3 -3
  2. package/README.md +1 -1
  3. package/cpp/generated/bark.cpp +36 -0
  4. package/cpp/generated/bark.hpp +2 -0
  5. package/lib/commonjs/generated/bark-ffi.js.map +1 -1
  6. package/lib/commonjs/generated/bark.js +143 -355
  7. package/lib/commonjs/generated/bark.js.map +1 -1
  8. package/lib/module/generated/bark-ffi.js.map +1 -1
  9. package/lib/module/generated/bark.js +143 -355
  10. package/lib/module/generated/bark.js.map +1 -1
  11. package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts +2 -0
  12. package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts.map +1 -1
  13. package/lib/typescript/commonjs/src/generated/bark.d.ts +105 -316
  14. package/lib/typescript/commonjs/src/generated/bark.d.ts.map +1 -1
  15. package/lib/typescript/module/src/generated/bark-ffi.d.ts +2 -0
  16. package/lib/typescript/module/src/generated/bark-ffi.d.ts.map +1 -1
  17. package/lib/typescript/module/src/generated/bark.d.ts +105 -316
  18. package/lib/typescript/module/src/generated/bark.d.ts.map +1 -1
  19. package/package.json +11 -5
  20. package/src/generated/bark-ffi.ts +5 -0
  21. package/src/generated/bark.ts +596 -722
  22. package/ios/generated/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm +0 -2321
  23. package/ios/generated/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h +0 -2761
  24. package/ios/generated/build/generated/ios/FBReactNativeSpecJSI-generated.cpp +0 -2923
  25. package/ios/generated/build/generated/ios/FBReactNativeSpecJSI.h +0 -7718
  26. package/ios/generated/build/generated/ios/RCTModulesConformingToProtocolsProvider.h +0 -18
  27. package/ios/generated/build/generated/ios/RCTModulesConformingToProtocolsProvider.mm +0 -33
@@ -214,19 +214,8 @@ export const AddressWithIndex = (() => {
214
214
  return uniffiCreateRecord(defaults);
215
215
  })();
216
216
  return Object.freeze({
217
- /**
218
- * Create a frozen instance of {@link AddressWithIndex}, with defaults specified
219
- * in Rust, in the {@link bark} crate.
220
- */
221
217
  create,
222
- /**
223
- * Create a frozen instance of {@link AddressWithIndex}, with defaults specified
224
- * in Rust, in the {@link bark} crate.
225
- */
226
218
  new: create,
227
- /**
228
- * Defaults specified in the {@link bark} crate.
229
- */
230
219
  defaults: () => Object.freeze(defaults())
231
220
  });
232
221
  })();
@@ -262,19 +251,8 @@ export const ArkInfo = (() => {
262
251
  return uniffiCreateRecord(defaults);
263
252
  })();
264
253
  return Object.freeze({
265
- /**
266
- * Create a frozen instance of {@link ArkInfo}, with defaults specified
267
- * in Rust, in the {@link bark} crate.
268
- */
269
254
  create,
270
- /**
271
- * Create a frozen instance of {@link ArkInfo}, with defaults specified
272
- * in Rust, in the {@link bark} crate.
273
- */
274
255
  new: create,
275
- /**
276
- * Defaults specified in the {@link bark} crate.
277
- */
278
256
  defaults: () => Object.freeze(defaults())
279
257
  });
280
258
  })();
@@ -336,19 +314,8 @@ export const Balance = (() => {
336
314
  return uniffiCreateRecord(defaults);
337
315
  })();
338
316
  return Object.freeze({
339
- /**
340
- * Create a frozen instance of {@link Balance}, with defaults specified
341
- * in Rust, in the {@link bark} crate.
342
- */
343
317
  create,
344
- /**
345
- * Create a frozen instance of {@link Balance}, with defaults specified
346
- * in Rust, in the {@link bark} crate.
347
- */
348
318
  new: create,
349
- /**
350
- * Defaults specified in the {@link bark} crate.
351
- */
352
319
  defaults: () => Object.freeze(defaults())
353
320
  });
354
321
  })();
@@ -392,19 +359,8 @@ export const BlockRef = (() => {
392
359
  return uniffiCreateRecord(defaults);
393
360
  })();
394
361
  return Object.freeze({
395
- /**
396
- * Create a frozen instance of {@link BlockRef}, with defaults specified
397
- * in Rust, in the {@link bark} crate.
398
- */
399
362
  create,
400
- /**
401
- * Create a frozen instance of {@link BlockRef}, with defaults specified
402
- * in Rust, in the {@link bark} crate.
403
- */
404
363
  new: create,
405
- /**
406
- * Defaults specified in the {@link bark} crate.
407
- */
408
364
  defaults: () => Object.freeze(defaults())
409
365
  });
410
366
  })();
@@ -440,19 +396,8 @@ export const Config = (() => {
440
396
  return uniffiCreateRecord(defaults);
441
397
  })();
442
398
  return Object.freeze({
443
- /**
444
- * Create a frozen instance of {@link Config}, with defaults specified
445
- * in Rust, in the {@link bark} crate.
446
- */
447
399
  create,
448
- /**
449
- * Create a frozen instance of {@link Config}, with defaults specified
450
- * in Rust, in the {@link bark} crate.
451
- */
452
400
  new: create,
453
- /**
454
- * Defaults specified in the {@link bark} crate.
455
- */
456
401
  defaults: () => Object.freeze(defaults())
457
402
  });
458
403
  })();
@@ -461,6 +406,7 @@ const FfiConverterTypeConfig = (() => {
461
406
  read(from) {
462
407
  return {
463
408
  serverAddress: FfiConverterString.read(from),
409
+ serverAccessToken: FfiConverterOptionalString.read(from),
464
410
  esploraAddress: FfiConverterOptionalString.read(from),
465
411
  bitcoindAddress: FfiConverterOptionalString.read(from),
466
412
  bitcoindCookiefile: FfiConverterOptionalString.read(from),
@@ -478,6 +424,7 @@ const FfiConverterTypeConfig = (() => {
478
424
  }
479
425
  write(value, into) {
480
426
  FfiConverterString.write(value.serverAddress, into);
427
+ FfiConverterOptionalString.write(value.serverAccessToken, into);
481
428
  FfiConverterOptionalString.write(value.esploraAddress, into);
482
429
  FfiConverterOptionalString.write(value.bitcoindAddress, into);
483
430
  FfiConverterOptionalString.write(value.bitcoindCookiefile, into);
@@ -493,7 +440,7 @@ const FfiConverterTypeConfig = (() => {
493
440
  FfiConverterOptionalUInt64.write(value.daemonSlowSyncIntervalSecs, into);
494
441
  }
495
442
  allocationSize(value) {
496
- return FfiConverterString.allocationSize(value.serverAddress) + FfiConverterOptionalString.allocationSize(value.esploraAddress) + FfiConverterOptionalString.allocationSize(value.bitcoindAddress) + FfiConverterOptionalString.allocationSize(value.bitcoindCookiefile) + FfiConverterOptionalString.allocationSize(value.bitcoindUser) + FfiConverterOptionalString.allocationSize(value.bitcoindPass) + FfiConverterTypeNetwork.allocationSize(value.network) + FfiConverterOptionalUInt32.allocationSize(value.vtxoRefreshExpiryThreshold) + FfiConverterOptionalUInt16.allocationSize(value.vtxoExitMargin) + FfiConverterOptionalUInt16.allocationSize(value.htlcRecvClaimDelta) + FfiConverterOptionalUInt64.allocationSize(value.fallbackFeeRate) + FfiConverterOptionalUInt32.allocationSize(value.roundTxRequiredConfirmations) + FfiConverterOptionalUInt64.allocationSize(value.daemonFastSyncIntervalSecs) + FfiConverterOptionalUInt64.allocationSize(value.daemonSlowSyncIntervalSecs);
443
+ return FfiConverterString.allocationSize(value.serverAddress) + FfiConverterOptionalString.allocationSize(value.serverAccessToken) + FfiConverterOptionalString.allocationSize(value.esploraAddress) + FfiConverterOptionalString.allocationSize(value.bitcoindAddress) + FfiConverterOptionalString.allocationSize(value.bitcoindCookiefile) + FfiConverterOptionalString.allocationSize(value.bitcoindUser) + FfiConverterOptionalString.allocationSize(value.bitcoindPass) + FfiConverterTypeNetwork.allocationSize(value.network) + FfiConverterOptionalUInt32.allocationSize(value.vtxoRefreshExpiryThreshold) + FfiConverterOptionalUInt16.allocationSize(value.vtxoExitMargin) + FfiConverterOptionalUInt16.allocationSize(value.htlcRecvClaimDelta) + FfiConverterOptionalUInt64.allocationSize(value.fallbackFeeRate) + FfiConverterOptionalUInt32.allocationSize(value.roundTxRequiredConfirmations) + FfiConverterOptionalUInt64.allocationSize(value.daemonFastSyncIntervalSecs) + FfiConverterOptionalUInt64.allocationSize(value.daemonSlowSyncIntervalSecs);
497
444
  }
498
445
  }
499
446
  return new FFIConverter();
@@ -512,19 +459,8 @@ export const CpfpParams = (() => {
512
459
  return uniffiCreateRecord(defaults);
513
460
  })();
514
461
  return Object.freeze({
515
- /**
516
- * Create a frozen instance of {@link CpfpParams}, with defaults specified
517
- * in Rust, in the {@link bark} crate.
518
- */
519
462
  create,
520
- /**
521
- * Create a frozen instance of {@link CpfpParams}, with defaults specified
522
- * in Rust, in the {@link bark} crate.
523
- */
524
463
  new: create,
525
- /**
526
- * Defaults specified in the {@link bark} crate.
527
- */
528
464
  defaults: () => Object.freeze(defaults())
529
465
  });
530
466
  })();
@@ -564,19 +500,8 @@ export const Destination = (() => {
564
500
  return uniffiCreateRecord(defaults);
565
501
  })();
566
502
  return Object.freeze({
567
- /**
568
- * Create a frozen instance of {@link Destination}, with defaults specified
569
- * in Rust, in the {@link bark} crate.
570
- */
571
503
  create,
572
- /**
573
- * Create a frozen instance of {@link Destination}, with defaults specified
574
- * in Rust, in the {@link bark} crate.
575
- */
576
504
  new: create,
577
- /**
578
- * Defaults specified in the {@link bark} crate.
579
- */
580
505
  defaults: () => Object.freeze(defaults())
581
506
  });
582
507
  })();
@@ -612,19 +537,8 @@ export const ExitClaimTransaction = (() => {
612
537
  return uniffiCreateRecord(defaults);
613
538
  })();
614
539
  return Object.freeze({
615
- /**
616
- * Create a frozen instance of {@link ExitClaimTransaction}, with defaults specified
617
- * in Rust, in the {@link bark} crate.
618
- */
619
540
  create,
620
- /**
621
- * Create a frozen instance of {@link ExitClaimTransaction}, with defaults specified
622
- * in Rust, in the {@link bark} crate.
623
- */
624
541
  new: create,
625
- /**
626
- * Defaults specified in the {@link bark} crate.
627
- */
628
542
  defaults: () => Object.freeze(defaults())
629
543
  });
630
544
  })();
@@ -660,19 +574,8 @@ export const ExitProgressStatus = (() => {
660
574
  return uniffiCreateRecord(defaults);
661
575
  })();
662
576
  return Object.freeze({
663
- /**
664
- * Create a frozen instance of {@link ExitProgressStatus}, with defaults specified
665
- * in Rust, in the {@link bark} crate.
666
- */
667
577
  create,
668
- /**
669
- * Create a frozen instance of {@link ExitProgressStatus}, with defaults specified
670
- * in Rust, in the {@link bark} crate.
671
- */
672
578
  new: create,
673
- /**
674
- * Defaults specified in the {@link bark} crate.
675
- */
676
579
  defaults: () => Object.freeze(defaults())
677
580
  });
678
581
  })();
@@ -710,19 +613,8 @@ export const ExitTransactionStatus = (() => {
710
613
  return uniffiCreateRecord(defaults);
711
614
  })();
712
615
  return Object.freeze({
713
- /**
714
- * Create a frozen instance of {@link ExitTransactionStatus}, with defaults specified
715
- * in Rust, in the {@link bark} crate.
716
- */
717
616
  create,
718
- /**
719
- * Create a frozen instance of {@link ExitTransactionStatus}, with defaults specified
720
- * in Rust, in the {@link bark} crate.
721
- */
722
617
  new: create,
723
- /**
724
- * Defaults specified in the {@link bark} crate.
725
- */
726
618
  defaults: () => Object.freeze(defaults())
727
619
  });
728
620
  })();
@@ -762,19 +654,8 @@ export const ExitVtxo = (() => {
762
654
  return uniffiCreateRecord(defaults);
763
655
  })();
764
656
  return Object.freeze({
765
- /**
766
- * Create a frozen instance of {@link ExitVtxo}, with defaults specified
767
- * in Rust, in the {@link bark} crate.
768
- */
769
657
  create,
770
- /**
771
- * Create a frozen instance of {@link ExitVtxo}, with defaults specified
772
- * in Rust, in the {@link bark} crate.
773
- */
774
658
  new: create,
775
- /**
776
- * Defaults specified in the {@link bark} crate.
777
- */
778
659
  defaults: () => Object.freeze(defaults())
779
660
  });
780
661
  })();
@@ -814,19 +695,8 @@ export const FeeEstimate = (() => {
814
695
  return uniffiCreateRecord(defaults);
815
696
  })();
816
697
  return Object.freeze({
817
- /**
818
- * Create a frozen instance of {@link FeeEstimate}, with defaults specified
819
- * in Rust, in the {@link bark} crate.
820
- */
821
698
  create,
822
- /**
823
- * Create a frozen instance of {@link FeeEstimate}, with defaults specified
824
- * in Rust, in the {@link bark} crate.
825
- */
826
699
  new: create,
827
- /**
828
- * Defaults specified in the {@link bark} crate.
829
- */
830
700
  defaults: () => Object.freeze(defaults())
831
701
  });
832
702
  })();
@@ -866,19 +736,8 @@ export const LightningInvoice = (() => {
866
736
  return uniffiCreateRecord(defaults);
867
737
  })();
868
738
  return Object.freeze({
869
- /**
870
- * Create a frozen instance of {@link LightningInvoice}, with defaults specified
871
- * in Rust, in the {@link bark} crate.
872
- */
873
739
  create,
874
- /**
875
- * Create a frozen instance of {@link LightningInvoice}, with defaults specified
876
- * in Rust, in the {@link bark} crate.
877
- */
878
740
  new: create,
879
- /**
880
- * Defaults specified in the {@link bark} crate.
881
- */
882
741
  defaults: () => Object.freeze(defaults())
883
742
  });
884
743
  })();
@@ -914,19 +773,8 @@ export const LightningReceive = (() => {
914
773
  return uniffiCreateRecord(defaults);
915
774
  })();
916
775
  return Object.freeze({
917
- /**
918
- * Create a frozen instance of {@link LightningReceive}, with defaults specified
919
- * in Rust, in the {@link bark} crate.
920
- */
921
776
  create,
922
- /**
923
- * Create a frozen instance of {@link LightningReceive}, with defaults specified
924
- * in Rust, in the {@link bark} crate.
925
- */
926
777
  new: create,
927
- /**
928
- * Defaults specified in the {@link bark} crate.
929
- */
930
778
  defaults: () => Object.freeze(defaults())
931
779
  });
932
780
  })();
@@ -968,19 +816,8 @@ export const LightningSend = (() => {
968
816
  return uniffiCreateRecord(defaults);
969
817
  })();
970
818
  return Object.freeze({
971
- /**
972
- * Create a frozen instance of {@link LightningSend}, with defaults specified
973
- * in Rust, in the {@link bark} crate.
974
- */
975
819
  create,
976
- /**
977
- * Create a frozen instance of {@link LightningSend}, with defaults specified
978
- * in Rust, in the {@link bark} crate.
979
- */
980
820
  new: create,
981
- /**
982
- * Defaults specified in the {@link bark} crate.
983
- */
984
821
  defaults: () => Object.freeze(defaults())
985
822
  });
986
823
  })();
@@ -1020,19 +857,8 @@ export const Movement = (() => {
1020
857
  return uniffiCreateRecord(defaults);
1021
858
  })();
1022
859
  return Object.freeze({
1023
- /**
1024
- * Create a frozen instance of {@link Movement}, with defaults specified
1025
- * in Rust, in the {@link bark} crate.
1026
- */
1027
860
  create,
1028
- /**
1029
- * Create a frozen instance of {@link Movement}, with defaults specified
1030
- * in Rust, in the {@link bark} crate.
1031
- */
1032
861
  new: create,
1033
- /**
1034
- * Defaults specified in the {@link bark} crate.
1035
- */
1036
862
  defaults: () => Object.freeze(defaults())
1037
863
  });
1038
864
  })();
@@ -1096,19 +922,8 @@ export const OffboardResult = (() => {
1096
922
  return uniffiCreateRecord(defaults);
1097
923
  })();
1098
924
  return Object.freeze({
1099
- /**
1100
- * Create a frozen instance of {@link OffboardResult}, with defaults specified
1101
- * in Rust, in the {@link bark} crate.
1102
- */
1103
925
  create,
1104
- /**
1105
- * Create a frozen instance of {@link OffboardResult}, with defaults specified
1106
- * in Rust, in the {@link bark} crate.
1107
- */
1108
926
  new: create,
1109
- /**
1110
- * Defaults specified in the {@link bark} crate.
1111
- */
1112
927
  defaults: () => Object.freeze(defaults())
1113
928
  });
1114
929
  })();
@@ -1142,19 +957,8 @@ export const OnchainBalance = (() => {
1142
957
  return uniffiCreateRecord(defaults);
1143
958
  })();
1144
959
  return Object.freeze({
1145
- /**
1146
- * Create a frozen instance of {@link OnchainBalance}, with defaults specified
1147
- * in Rust, in the {@link bark} crate.
1148
- */
1149
960
  create,
1150
- /**
1151
- * Create a frozen instance of {@link OnchainBalance}, with defaults specified
1152
- * in Rust, in the {@link bark} crate.
1153
- */
1154
961
  new: create,
1155
- /**
1156
- * Defaults specified in the {@link bark} crate.
1157
- */
1158
962
  defaults: () => Object.freeze(defaults())
1159
963
  });
1160
964
  })();
@@ -1192,19 +996,8 @@ export const OutPoint = (() => {
1192
996
  return uniffiCreateRecord(defaults);
1193
997
  })();
1194
998
  return Object.freeze({
1195
- /**
1196
- * Create a frozen instance of {@link OutPoint}, with defaults specified
1197
- * in Rust, in the {@link bark} crate.
1198
- */
1199
999
  create,
1200
- /**
1201
- * Create a frozen instance of {@link OutPoint}, with defaults specified
1202
- * in Rust, in the {@link bark} crate.
1203
- */
1204
1000
  new: create,
1205
- /**
1206
- * Defaults specified in the {@link bark} crate.
1207
- */
1208
1001
  defaults: () => Object.freeze(defaults())
1209
1002
  });
1210
1003
  })();
@@ -1240,19 +1033,8 @@ export const PendingBoard = (() => {
1240
1033
  return uniffiCreateRecord(defaults);
1241
1034
  })();
1242
1035
  return Object.freeze({
1243
- /**
1244
- * Create a frozen instance of {@link PendingBoard}, with defaults specified
1245
- * in Rust, in the {@link bark} crate.
1246
- */
1247
1036
  create,
1248
- /**
1249
- * Create a frozen instance of {@link PendingBoard}, with defaults specified
1250
- * in Rust, in the {@link bark} crate.
1251
- */
1252
1037
  new: create,
1253
- /**
1254
- * Defaults specified in the {@link bark} crate.
1255
- */
1256
1038
  defaults: () => Object.freeze(defaults())
1257
1039
  });
1258
1040
  })();
@@ -1290,19 +1072,8 @@ export const RoundState = (() => {
1290
1072
  return uniffiCreateRecord(defaults);
1291
1073
  })();
1292
1074
  return Object.freeze({
1293
- /**
1294
- * Create a frozen instance of {@link RoundState}, with defaults specified
1295
- * in Rust, in the {@link bark} crate.
1296
- */
1297
1075
  create,
1298
- /**
1299
- * Create a frozen instance of {@link RoundState}, with defaults specified
1300
- * in Rust, in the {@link bark} crate.
1301
- */
1302
1076
  new: create,
1303
- /**
1304
- * Defaults specified in the {@link bark} crate.
1305
- */
1306
1077
  defaults: () => Object.freeze(defaults())
1307
1078
  });
1308
1079
  })();
@@ -1338,19 +1109,8 @@ export const Vtxo = (() => {
1338
1109
  return uniffiCreateRecord(defaults);
1339
1110
  })();
1340
1111
  return Object.freeze({
1341
- /**
1342
- * Create a frozen instance of {@link Vtxo}, with defaults specified
1343
- * in Rust, in the {@link bark} crate.
1344
- */
1345
1112
  create,
1346
- /**
1347
- * Create a frozen instance of {@link Vtxo}, with defaults specified
1348
- * in Rust, in the {@link bark} crate.
1349
- */
1350
1113
  new: create,
1351
- /**
1352
- * Defaults specified in the {@link bark} crate.
1353
- */
1354
1114
  defaults: () => Object.freeze(defaults())
1355
1115
  });
1356
1116
  })();
@@ -1392,19 +1152,8 @@ export const WalletProperties = (() => {
1392
1152
  return uniffiCreateRecord(defaults);
1393
1153
  })();
1394
1154
  return Object.freeze({
1395
- /**
1396
- * Create a frozen instance of {@link WalletProperties}, with defaults specified
1397
- * in Rust, in the {@link bark} crate.
1398
- */
1399
1155
  create,
1400
- /**
1401
- * Create a frozen instance of {@link WalletProperties}, with defaults specified
1402
- * in Rust, in the {@link bark} crate.
1403
- */
1404
1156
  new: create,
1405
- /**
1406
- * Defaults specified in the {@link bark} crate.
1407
- */
1408
1157
  defaults: () => Object.freeze(defaults())
1409
1158
  });
1410
1159
  })();
@@ -2317,6 +2066,10 @@ const FfiConverterTypeWalletNotification = (() => {
2317
2066
  * by a new broadcast receiver. Only one consumer loop per holder is assumed.
2318
2067
  */
2319
2068
 
2069
+ /**
2070
+ * @deprecated Use `NotificationHolderLike` instead.
2071
+ */
2072
+
2320
2073
  /**
2321
2074
  * Pull-based handle for consuming wallet notifications.
2322
2075
  *
@@ -2425,7 +2178,7 @@ const uniffiTypeNotificationHolderObjectFactory = (() => {
2425
2178
  }
2426
2179
  };
2427
2180
  })();
2428
- // FfiConverter for NotificationHolderInterface
2181
+ // FfiConverter for NotificationHolderLike
2429
2182
  const FfiConverterTypeNotificationHolder = new FfiConverterObject(uniffiTypeNotificationHolderObjectFactory);
2430
2183
 
2431
2184
  /**
@@ -2436,6 +2189,10 @@ const FfiConverterTypeNotificationHolder = new FfiConverterObject(uniffiTypeNoti
2436
2189
  * - Custom: Your own wallet implementation via callbacks
2437
2190
  */
2438
2191
 
2192
+ /**
2193
+ * @deprecated Use `OnchainWalletLike` instead.
2194
+ */
2195
+
2439
2196
  /**
2440
2197
  * Onchain Bitcoin wallet for boarding and exits
2441
2198
  *
@@ -2604,13 +2361,17 @@ const uniffiTypeOnchainWalletObjectFactory = (() => {
2604
2361
  }
2605
2362
  };
2606
2363
  })();
2607
- // FfiConverter for OnchainWalletInterface
2364
+ // FfiConverter for OnchainWalletLike
2608
2365
  const FfiConverterTypeOnchainWallet = new FfiConverterObject(uniffiTypeOnchainWalletObjectFactory);
2609
2366
 
2610
2367
  /**
2611
2368
  * The main Bark wallet interface for Ark operations
2612
2369
  */
2613
2370
 
2371
+ /**
2372
+ * @deprecated Use `WalletLike` instead.
2373
+ */
2374
+
2614
2375
  /**
2615
2376
  * The main Bark wallet interface for Ark operations
2616
2377
  */
@@ -2847,6 +2608,30 @@ export class Wallet extends UniffiAbstractObject {
2847
2608
  }
2848
2609
  }
2849
2610
 
2611
+ /**
2612
+ * Cancel a pending lightning receive by payment hash
2613
+ *
2614
+ * Server will refuse if HTLCs already granted, preimage already revealed,
2615
+ * or receive already finished.
2616
+ *
2617
+ * # Arguments
2618
+ *
2619
+ * * `payment_hash` - Payment hash as hex string
2620
+ */
2621
+ async cancelLightningReceive(paymentHash, asyncOpts_) /*throws*/{
2622
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
2623
+ try {
2624
+ return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
2625
+ return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_cancel_lightning_receive(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(paymentHash));
2626
+ }, /*pollFunc:*/nativeModule().ubrn_ffi_bark_ffi_rust_future_poll_void, /*cancelFunc:*/nativeModule().ubrn_ffi_bark_ffi_rust_future_cancel_void, /*completeFunc:*/nativeModule().ubrn_ffi_bark_ffi_rust_future_complete_void, /*freeFunc:*/nativeModule().ubrn_ffi_bark_ffi_rust_future_free_void, /*liftFunc:*/_v => {}, /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError));
2627
+ } catch (__error) {
2628
+ if (uniffiIsDebug && __error instanceof Error) {
2629
+ __error.stack = __stack;
2630
+ }
2631
+ throw __error;
2632
+ }
2633
+ }
2634
+
2850
2635
  /**
2851
2636
  * Cancel a specific pending round
2852
2637
  */
@@ -4232,7 +4017,7 @@ const uniffiTypeWalletObjectFactory = (() => {
4232
4017
  }
4233
4018
  };
4234
4019
  })();
4235
- // FfiConverter for WalletInterface
4020
+ // FfiConverter for WalletLike
4236
4021
  const FfiConverterTypeWallet = new FfiConverterObject(uniffiTypeWalletObjectFactory);
4237
4022
 
4238
4023
  // FfiConverter for ArkInfo | undefined
@@ -4328,271 +4113,274 @@ function uniffiEnsureInitialized() {
4328
4113
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_func_validate_mnemonic() !== 2707) {
4329
4114
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_func_validate_mnemonic");
4330
4115
  }
4331
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_notificationholder_cancel_next_notification_wait() !== 48074) {
4116
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_notificationholder_cancel_next_notification_wait() !== 6047) {
4332
4117
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_notificationholder_cancel_next_notification_wait");
4333
4118
  }
4334
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_notificationholder_next_notification() !== 10262) {
4119
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_notificationholder_next_notification() !== 33597) {
4335
4120
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_notificationholder_next_notification");
4336
4121
  }
4337
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_balance() !== 24090) {
4122
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_balance() !== 56626) {
4338
4123
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_onchainwallet_balance");
4339
4124
  }
4340
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_new_address() !== 19984) {
4125
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_new_address() !== 54598) {
4341
4126
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_onchainwallet_new_address");
4342
4127
  }
4343
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_send() !== 11542) {
4128
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_send() !== 27783) {
4344
4129
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_onchainwallet_send");
4345
4130
  }
4346
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_sync() !== 16676) {
4131
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_sync() !== 9607) {
4347
4132
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_onchainwallet_sync");
4348
4133
  }
4349
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_all_exits_claimable_at_height() !== 13253) {
4134
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_all_exits_claimable_at_height() !== 41888) {
4350
4135
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_all_exits_claimable_at_height");
4351
4136
  }
4352
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_all_vtxos() !== 31) {
4137
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_all_vtxos() !== 41609) {
4353
4138
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_all_vtxos");
4354
4139
  }
4355
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_ark_info() !== 15972) {
4140
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_ark_info() !== 47096) {
4356
4141
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_ark_info");
4357
4142
  }
4358
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_balance() !== 5493) {
4143
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_balance() !== 53107) {
4359
4144
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_balance");
4360
4145
  }
4361
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_board_all() !== 20836) {
4146
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_board_all() !== 6211) {
4362
4147
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_board_all");
4363
4148
  }
4364
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_board_amount() !== 42039) {
4149
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_board_amount() !== 57213) {
4365
4150
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_board_amount");
4366
4151
  }
4367
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice() !== 24463) {
4152
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice() !== 8901) {
4368
4153
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice");
4369
4154
  }
4370
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_broadcast_tx() !== 31354) {
4155
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_broadcast_tx() !== 10756) {
4371
4156
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_broadcast_tx");
4372
4157
  }
4373
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_all_pending_rounds() !== 44373) {
4158
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_all_pending_rounds() !== 48474) {
4374
4159
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_cancel_all_pending_rounds");
4375
4160
  }
4376
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_pending_round() !== 11047) {
4161
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_lightning_receive() !== 45189) {
4162
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_cancel_lightning_receive");
4163
+ }
4164
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_pending_round() !== 63049) {
4377
4165
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_cancel_pending_round");
4378
4166
  }
4379
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_check_lightning_payment() !== 24026) {
4167
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_check_lightning_payment() !== 22806) {
4380
4168
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_check_lightning_payment");
4381
4169
  }
4382
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_claimable_lightning_receive_balance_sats() !== 22912) {
4170
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_claimable_lightning_receive_balance_sats() !== 13170) {
4383
4171
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_claimable_lightning_receive_balance_sats");
4384
4172
  }
4385
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_config() !== 55585) {
4173
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_config() !== 52641) {
4386
4174
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_config");
4387
4175
  }
4388
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_drain_exits() !== 50942) {
4176
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_drain_exits() !== 24496) {
4389
4177
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_drain_exits");
4390
4178
  }
4391
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_arkoor_payment_fee() !== 26310) {
4179
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_arkoor_payment_fee() !== 5843) {
4392
4180
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_arkoor_payment_fee");
4393
4181
  }
4394
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_board_fee() !== 21849) {
4182
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_board_fee() !== 17847) {
4395
4183
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_board_fee");
4396
4184
  }
4397
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_lightning_receive_fee() !== 45832) {
4185
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_lightning_receive_fee() !== 45860) {
4398
4186
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_lightning_receive_fee");
4399
4187
  }
4400
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_lightning_send_fee() !== 44983) {
4188
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_lightning_send_fee() !== 18556) {
4401
4189
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_lightning_send_fee");
4402
4190
  }
4403
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_offboard_all_fee() !== 30297) {
4191
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_offboard_all_fee() !== 26906) {
4404
4192
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_offboard_all_fee");
4405
4193
  }
4406
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_offboard_fee() !== 59237) {
4194
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_offboard_fee() !== 3254) {
4407
4195
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_offboard_fee");
4408
4196
  }
4409
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_refresh_fee() !== 15211) {
4197
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_refresh_fee() !== 47327) {
4410
4198
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_refresh_fee");
4411
4199
  }
4412
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_send_onchain_fee() !== 53679) {
4200
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_send_onchain_fee() !== 61285) {
4413
4201
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_send_onchain_fee");
4414
4202
  }
4415
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_fingerprint() !== 60041) {
4203
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_fingerprint() !== 59618) {
4416
4204
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_fingerprint");
4417
4205
  }
4418
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_exit_status() !== 18529) {
4206
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_exit_status() !== 45568) {
4419
4207
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_exit_status");
4420
4208
  }
4421
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_exit_vtxos() !== 54522) {
4209
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_exit_vtxos() !== 49255) {
4422
4210
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_exit_vtxos");
4423
4211
  }
4424
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_expiring_vtxos() !== 55353) {
4212
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_expiring_vtxos() !== 30365) {
4425
4213
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_expiring_vtxos");
4426
4214
  }
4427
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_first_expiring_vtxo_blockheight() !== 24067) {
4215
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_first_expiring_vtxo_blockheight() !== 17196) {
4428
4216
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_first_expiring_vtxo_blockheight");
4429
4217
  }
4430
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_next_required_refresh_blockheight() !== 57380) {
4218
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_next_required_refresh_blockheight() !== 37879) {
4431
4219
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_next_required_refresh_blockheight");
4432
4220
  }
4433
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_vtxo_by_id() !== 10372) {
4221
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_vtxo_by_id() !== 35493) {
4434
4222
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_vtxo_by_id");
4435
4223
  }
4436
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_vtxos_to_refresh() !== 22136) {
4224
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_vtxos_to_refresh() !== 42602) {
4437
4225
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_vtxos_to_refresh");
4438
4226
  }
4439
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_has_pending_exits() !== 57567) {
4227
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_has_pending_exits() !== 46353) {
4440
4228
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_has_pending_exits");
4441
4229
  }
4442
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_history() !== 15574) {
4230
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_history() !== 39257) {
4443
4231
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_history");
4444
4232
  }
4445
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_history_by_payment_method() !== 61615) {
4233
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_history_by_payment_method() !== 53117) {
4446
4234
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_history_by_payment_method");
4447
4235
  }
4448
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_import_vtxo() !== 3547) {
4236
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_import_vtxo() !== 49309) {
4449
4237
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_import_vtxo");
4450
4238
  }
4451
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_lightning_receive_status() !== 7557) {
4239
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_lightning_receive_status() !== 8110) {
4452
4240
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_lightning_receive_status");
4453
4241
  }
4454
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits() !== 11227) {
4242
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits() !== 28301) {
4455
4243
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits");
4456
4244
  }
4457
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_mailbox_authorization() !== 8915) {
4245
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_mailbox_authorization() !== 29750) {
4458
4246
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_mailbox_authorization");
4459
4247
  }
4460
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier() !== 32893) {
4248
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier() !== 36484) {
4461
4249
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier");
4462
4250
  }
4463
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance() !== 53276) {
4251
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance() !== 7229) {
4464
4252
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance");
4465
4253
  }
4466
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated() !== 43852) {
4254
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated() !== 33231) {
4467
4255
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated");
4468
4256
  }
4469
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh() !== 10551) {
4257
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh() !== 41843) {
4470
4258
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh");
4471
4259
  }
4472
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain() !== 38002) {
4260
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain() !== 64685) {
4473
4261
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain");
4474
4262
  }
4475
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated() !== 17750) {
4263
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated() !== 4380) {
4476
4264
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated");
4477
4265
  }
4478
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh() !== 11223) {
4266
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh() !== 26561) {
4479
4267
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh");
4480
4268
  }
4481
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_network() !== 9541) {
4269
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_network() !== 62844) {
4482
4270
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_network");
4483
4271
  }
4484
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address() !== 49689) {
4272
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address() !== 52843) {
4485
4273
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_new_address");
4486
4274
  }
4487
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address_with_index() !== 51943) {
4275
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address_with_index() !== 42716) {
4488
4276
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_new_address_with_index");
4489
4277
  }
4490
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_next_round_start_time() !== 51623) {
4278
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_next_round_start_time() !== 59834) {
4491
4279
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_next_round_start_time");
4492
4280
  }
4493
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_notifications() !== 32641) {
4281
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_notifications() !== 2291) {
4494
4282
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_notifications");
4495
4283
  }
4496
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_all() !== 32138) {
4284
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_all() !== 16535) {
4497
4285
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_offboard_all");
4498
4286
  }
4499
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos() !== 3097) {
4287
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos() !== 13685) {
4500
4288
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos");
4501
4289
  }
4502
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address() !== 42228) {
4290
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address() !== 61803) {
4503
4291
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address");
4504
4292
  }
4505
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_invoice() !== 27095) {
4293
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_invoice() !== 52071) {
4506
4294
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pay_lightning_invoice");
4507
4295
  }
4508
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_offer() !== 28769) {
4296
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_offer() !== 53647) {
4509
4297
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pay_lightning_offer");
4510
4298
  }
4511
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_peak_address() !== 58941) {
4299
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_peak_address() !== 7833) {
4512
4300
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_peak_address");
4513
4301
  }
4514
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_peek_address() !== 43710) {
4302
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_peek_address() !== 6861) {
4515
4303
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_peek_address");
4516
4304
  }
4517
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos() !== 13395) {
4305
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos() !== 7372) {
4518
4306
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos");
4519
4307
  }
4520
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_boards() !== 62067) {
4308
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_boards() !== 2627) {
4521
4309
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_boards");
4522
4310
  }
4523
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_exits_total_sats() !== 46977) {
4311
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_exits_total_sats() !== 11288) {
4524
4312
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_exits_total_sats");
4525
4313
  }
4526
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives() !== 35932) {
4314
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives() !== 36627) {
4527
4315
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives");
4528
4316
  }
4529
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos() !== 55533) {
4317
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos() !== 2936) {
4530
4318
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos");
4531
4319
  }
4532
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends() !== 26660) {
4320
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends() !== 29185) {
4533
4321
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends");
4534
4322
  }
4535
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos() !== 21866) {
4323
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos() !== 47726) {
4536
4324
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos");
4537
4325
  }
4538
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_states() !== 35008) {
4326
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_states() !== 40607) {
4539
4327
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_round_states");
4540
4328
  }
4541
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_progress_exits() !== 35774) {
4329
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_progress_exits() !== 56322) {
4542
4330
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_progress_exits");
4543
4331
  }
4544
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_progress_pending_rounds() !== 1264) {
4332
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_progress_pending_rounds() !== 32996) {
4545
4333
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_progress_pending_rounds");
4546
4334
  }
4547
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_properties() !== 19786) {
4335
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_properties() !== 34379) {
4548
4336
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_properties");
4549
4337
  }
4550
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_server() !== 32632) {
4338
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_server() !== 8899) {
4551
4339
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_refresh_server");
4552
4340
  }
4553
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos() !== 16414) {
4341
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos() !== 34165) {
4554
4342
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos");
4555
4343
  }
4556
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated() !== 28232) {
4344
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated() !== 16216) {
4557
4345
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated");
4558
4346
  }
4559
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment() !== 22412) {
4347
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment() !== 30372) {
4560
4348
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment");
4561
4349
  }
4562
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_onchain() !== 11074) {
4350
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_onchain() !== 41628) {
4563
4351
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_send_onchain");
4564
4352
  }
4565
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs() !== 60570) {
4353
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs() !== 57734) {
4566
4354
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs");
4567
4355
  }
4568
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_spendable_vtxos() !== 59499) {
4356
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_spendable_vtxos() !== 50283) {
4569
4357
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_spendable_vtxos");
4570
4358
  }
4571
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_entire_wallet() !== 5830) {
4359
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_entire_wallet() !== 64743) {
4572
4360
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_start_exit_for_entire_wallet");
4573
4361
  }
4574
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos() !== 60703) {
4362
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos() !== 26632) {
4575
4363
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos");
4576
4364
  }
4577
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync() !== 40752) {
4365
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync() !== 22105) {
4578
4366
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_sync");
4579
4367
  }
4580
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync_exits() !== 64538) {
4368
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync_exits() !== 48880) {
4581
4369
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_sync_exits");
4582
4370
  }
4583
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync_pending_boards() !== 35491) {
4371
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync_pending_boards() !== 54161) {
4584
4372
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_sync_pending_boards");
4585
4373
  }
4586
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_try_claim_all_lightning_receives() !== 33011) {
4374
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_try_claim_all_lightning_receives() !== 8024) {
4587
4375
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_try_claim_all_lightning_receives");
4588
4376
  }
4589
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_try_claim_lightning_receive() !== 51478) {
4377
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_try_claim_lightning_receive() !== 15026) {
4590
4378
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_try_claim_lightning_receive");
4591
4379
  }
4592
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_validate_arkoor_address() !== 52352) {
4380
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_validate_arkoor_address() !== 40498) {
4593
4381
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_validate_arkoor_address");
4594
4382
  }
4595
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_vtxos() !== 24992) {
4383
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_vtxos() !== 25706) {
4596
4384
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_vtxos");
4597
4385
  }
4598
4386
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_constructor_onchainwallet_custom() !== 33851) {
@@ -4613,31 +4401,31 @@ function uniffiEnsureInitialized() {
4613
4401
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_constructor_wallet_open_with_onchain() !== 22896) {
4614
4402
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_constructor_wallet_open_with_onchain");
4615
4403
  }
4616
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_balance() !== 17287) {
4404
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_balance() !== 16407) {
4617
4405
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_balance");
4618
4406
  }
4619
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_tx() !== 44054) {
4407
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_tx() !== 7671) {
4620
4408
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_tx");
4621
4409
  }
4622
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_drain_tx() !== 7162) {
4410
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_drain_tx() !== 15428) {
4623
4411
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_drain_tx");
4624
4412
  }
4625
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_tx() !== 60386) {
4413
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_tx() !== 2070) {
4626
4414
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_tx");
4627
4415
  }
4628
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx() !== 24800) {
4416
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx() !== 35041) {
4629
4417
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx");
4630
4418
  }
4631
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx_confirmed_block() !== 908) {
4419
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx_confirmed_block() !== 2541) {
4632
4420
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx_confirmed_block");
4633
4421
  }
4634
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_spending_tx() !== 62027) {
4422
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_spending_tx() !== 27495) {
4635
4423
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_spending_tx");
4636
4424
  }
4637
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp() !== 51567) {
4425
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp() !== 34889) {
4638
4426
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp");
4639
4427
  }
4640
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_store_signed_p2a_cpfp() !== 35734) {
4428
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_store_signed_p2a_cpfp() !== 41685) {
4641
4429
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_store_signed_p2a_cpfp");
4642
4430
  }
4643
4431
  uniffiCallbackInterfaceCustomOnchainWalletCallbacks.register();