@secondts/bark-react-native 0.16.1 → 0.17.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/README.md +1 -1
- package/lib/commonjs/generated/bark.js +5 -5
- package/lib/commonjs/generated/bark.js.map +1 -1
- package/lib/module/generated/bark.js +5 -5
- package/lib/module/generated/bark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark.d.ts +3 -3
- package/lib/typescript/commonjs/src/generated/bark.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark.d.ts +3 -3
- package/lib/typescript/module/src/generated/bark.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/generated/bark.ts +10 -8
|
@@ -1071,14 +1071,14 @@ const FfiConverterTypeOffboardResult = (() => {
|
|
|
1071
1071
|
class FFIConverter extends AbstractFfiConverterByteArray {
|
|
1072
1072
|
read(from) {
|
|
1073
1073
|
return {
|
|
1074
|
-
|
|
1074
|
+
txid: FfiConverterString.read(from)
|
|
1075
1075
|
};
|
|
1076
1076
|
}
|
|
1077
1077
|
write(value, into) {
|
|
1078
|
-
FfiConverterString.write(value.
|
|
1078
|
+
FfiConverterString.write(value.txid, into);
|
|
1079
1079
|
}
|
|
1080
1080
|
allocationSize(value) {
|
|
1081
|
-
return FfiConverterString.allocationSize(value.
|
|
1081
|
+
return FfiConverterString.allocationSize(value.txid);
|
|
1082
1082
|
}
|
|
1083
1083
|
}
|
|
1084
1084
|
return new FFIConverter();
|
|
@@ -4955,7 +4955,7 @@ export class Wallet extends UniffiAbstractObject {
|
|
|
4955
4955
|
try {
|
|
4956
4956
|
return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
|
|
4957
4957
|
return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_offboard_vtxos(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterArrayString.lower(vtxoIds), FfiConverterString.lower(bitcoinAddress));
|
|
4958
|
-
}, /*pollFunc:*/nativeModule().ubrn_ffi_bark_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/nativeModule().ubrn_ffi_bark_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/nativeModule().ubrn_ffi_bark_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/nativeModule().ubrn_ffi_bark_ffi_rust_future_free_rust_buffer, /*liftFunc:*/
|
|
4958
|
+
}, /*pollFunc:*/nativeModule().ubrn_ffi_bark_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/nativeModule().ubrn_ffi_bark_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/nativeModule().ubrn_ffi_bark_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/nativeModule().ubrn_ffi_bark_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeOffboardResult.lift.bind(FfiConverterTypeOffboardResult), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeError.lift.bind(FfiConverterTypeError));
|
|
4959
4959
|
} catch (__error) {
|
|
4960
4960
|
if (uniffiIsDebug && __error instanceof Error) {
|
|
4961
4961
|
__error.stack = __stack;
|
|
@@ -5931,7 +5931,7 @@ function uniffiEnsureInitialized() {
|
|
|
5931
5931
|
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_all() !== 7986) {
|
|
5932
5932
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_offboard_all");
|
|
5933
5933
|
}
|
|
5934
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos() !==
|
|
5934
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos() !== 64605) {
|
|
5935
5935
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos");
|
|
5936
5936
|
}
|
|
5937
5937
|
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address() !== 43061) {
|