@breeztech/breez-sdk-spark-react-native 0.1.8-dev1
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/LICENSE +20 -0
- package/README.md +54 -0
- package/android/CMakeLists.txt +79 -0
- package/android/build.gradle +143 -0
- package/android/cpp-adapter.cpp +63 -0
- package/android/generated/android/app/build/generated/source/codegen/java/com/facebook/fbreact/specs/NativeBreezSdkSparkReactNativeSpec.java +41 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/BreezSdkSparkReactNativeSpec-generated.cpp +38 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/BreezSdkSparkReactNativeSpec.h +31 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/CMakeLists.txt +36 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/BreezSdkSparkReactNativeSpec/BreezSdkSparkReactNativeSpecJSI-generated.cpp +32 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/BreezSdkSparkReactNativeSpec/BreezSdkSparkReactNativeSpecJSI.h +80 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/BreezSdkSparkReactNativeSpec/ComponentDescriptors.cpp +22 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/BreezSdkSparkReactNativeSpec/ComponentDescriptors.h +24 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/BreezSdkSparkReactNativeSpec/EventEmitters.cpp +16 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/BreezSdkSparkReactNativeSpec/EventEmitters.h +17 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/BreezSdkSparkReactNativeSpec/Props.cpp +19 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/BreezSdkSparkReactNativeSpec/Props.h +18 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/BreezSdkSparkReactNativeSpec/ShadowNodes.cpp +17 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/BreezSdkSparkReactNativeSpec/ShadowNodes.h +23 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/BreezSdkSparkReactNativeSpec/States.cpp +16 -0
- package/android/generated/android/app/build/generated/source/codegen/jni/react/renderer/components/BreezSdkSparkReactNativeSpec/States.h +19 -0
- package/android/gradle.properties +5 -0
- package/android/src/main/AndroidManifest.xml +5 -0
- package/android/src/main/AndroidManifestNew.xml +2 -0
- package/android/src/main/java/com/breeztech/breezsdkspark/BreezSdkSparkReactNativeModule.kt +43 -0
- package/android/src/main/java/com/breeztech/breezsdkspark/BreezSdkSparkReactNativePackage.kt +34 -0
- package/breeztech-breez-sdk-spark-react-native.podspec +44 -0
- package/cpp/breeztech-breez-sdk-spark-react-native.cpp +20 -0
- package/cpp/breeztech-breez-sdk-spark-react-native.h +15 -0
- package/cpp/generated/breez_sdk_common.cpp +3834 -0
- package/cpp/generated/breez_sdk_common.hpp +251 -0
- package/cpp/generated/breez_sdk_spark.cpp +8722 -0
- package/cpp/generated/breez_sdk_spark.hpp +589 -0
- package/cpp/generated/breez_sdk_spark_bindings.cpp +1750 -0
- package/cpp/generated/breez_sdk_spark_bindings.hpp +65 -0
- package/ios/BreezSdkSparkReactNative.h +16 -0
- package/ios/BreezSdkSparkReactNative.mm +66 -0
- package/ios/generated/build/generated/ios/BreezSdkSparkReactNativeSpec/BreezSdkSparkReactNativeSpec-generated.mm +46 -0
- package/ios/generated/build/generated/ios/BreezSdkSparkReactNativeSpec/BreezSdkSparkReactNativeSpec.h +63 -0
- package/ios/generated/build/generated/ios/BreezSdkSparkReactNativeSpecJSI-generated.cpp +32 -0
- package/ios/generated/build/generated/ios/BreezSdkSparkReactNativeSpecJSI.h +80 -0
- package/ios/generated/build/generated/ios/react/renderer/components/BreezSdkSparkReactNativeSpec/ComponentDescriptors.cpp +22 -0
- package/ios/generated/build/generated/ios/react/renderer/components/BreezSdkSparkReactNativeSpec/ComponentDescriptors.h +24 -0
- package/ios/generated/build/generated/ios/react/renderer/components/BreezSdkSparkReactNativeSpec/EventEmitters.cpp +16 -0
- package/ios/generated/build/generated/ios/react/renderer/components/BreezSdkSparkReactNativeSpec/EventEmitters.h +17 -0
- package/ios/generated/build/generated/ios/react/renderer/components/BreezSdkSparkReactNativeSpec/Props.cpp +19 -0
- package/ios/generated/build/generated/ios/react/renderer/components/BreezSdkSparkReactNativeSpec/Props.h +18 -0
- package/ios/generated/build/generated/ios/react/renderer/components/BreezSdkSparkReactNativeSpec/RCTComponentViewHelpers.h +18 -0
- package/ios/generated/build/generated/ios/react/renderer/components/BreezSdkSparkReactNativeSpec/ShadowNodes.cpp +17 -0
- package/ios/generated/build/generated/ios/react/renderer/components/BreezSdkSparkReactNativeSpec/ShadowNodes.h +23 -0
- package/ios/generated/build/generated/ios/react/renderer/components/BreezSdkSparkReactNativeSpec/States.cpp +16 -0
- package/ios/generated/build/generated/ios/react/renderer/components/BreezSdkSparkReactNativeSpec/States.h +19 -0
- package/lib/commonjs/NativeBreezSdkSparkReactNative.js +10 -0
- package/lib/commonjs/NativeBreezSdkSparkReactNative.js.map +1 -0
- package/lib/commonjs/generated/breez_sdk_common-ffi.js +44 -0
- package/lib/commonjs/generated/breez_sdk_common-ffi.js.map +1 -0
- package/lib/commonjs/generated/breez_sdk_common.js +3948 -0
- package/lib/commonjs/generated/breez_sdk_common.js.map +1 -0
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js +44 -0
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -0
- package/lib/commonjs/generated/breez_sdk_spark.js +5775 -0
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -0
- package/lib/commonjs/generated/breez_sdk_spark_bindings-ffi.js +44 -0
- package/lib/commonjs/generated/breez_sdk_spark_bindings-ffi.js.map +1 -0
- package/lib/commonjs/generated/breez_sdk_spark_bindings.js +51 -0
- package/lib/commonjs/generated/breez_sdk_spark_bindings.js.map +1 -0
- package/lib/commonjs/index.js +81 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/module/NativeBreezSdkSparkReactNative.js +7 -0
- package/lib/module/NativeBreezSdkSparkReactNative.js.map +1 -0
- package/lib/module/generated/breez_sdk_common-ffi.js +43 -0
- package/lib/module/generated/breez_sdk_common-ffi.js.map +1 -0
- package/lib/module/generated/breez_sdk_common.js +3942 -0
- package/lib/module/generated/breez_sdk_common.js.map +1 -0
- package/lib/module/generated/breez_sdk_spark-ffi.js +43 -0
- package/lib/module/generated/breez_sdk_spark-ffi.js.map +1 -0
- package/lib/module/generated/breez_sdk_spark.js +5759 -0
- package/lib/module/generated/breez_sdk_spark.js.map +1 -0
- package/lib/module/generated/breez_sdk_spark_bindings-ffi.js +43 -0
- package/lib/module/generated/breez_sdk_spark_bindings-ffi.js.map +1 -0
- package/lib/module/generated/breez_sdk_spark_bindings.js +46 -0
- package/lib/module/generated/breez_sdk_spark_bindings.js.map +1 -0
- package/lib/module/index.js +44 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/NativeBreezSdkSparkReactNative.d.ts +8 -0
- package/lib/typescript/commonjs/src/NativeBreezSdkSparkReactNative.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/NativeBreezSdkSparkReactNative.d.ts +8 -0
- package/lib/typescript/module/src/NativeBreezSdkSparkReactNative.d.ts.map +1 -0
- package/package.json +189 -0
- package/react-native.config.js +12 -0
- package/scripts/postinstall.sh +14 -0
- package/src/NativeBreezSdkSparkReactNative.ts +10 -0
- package/src/generated/breez_sdk_common-ffi.ts +394 -0
- package/src/generated/breez_sdk_common.ts +5502 -0
- package/src/generated/breez_sdk_spark-ffi.ts +751 -0
- package/src/generated/breez_sdk_spark.ts +9179 -0
- package/src/generated/breez_sdk_spark_bindings-ffi.ts +185 -0
- package/src/generated/breez_sdk_spark_bindings.ts +103 -0
- package/src/index.tsx +42 -0
|
@@ -0,0 +1,589 @@
|
|
|
1
|
+
// This file was autogenerated by some hot garbage in the
|
|
2
|
+
// `uniffi-bindgen-react-native` crate. Trust me, you don't want to mess with
|
|
3
|
+
// it!
|
|
4
|
+
#pragma once
|
|
5
|
+
#include "UniffiCallInvoker.h"
|
|
6
|
+
#include <ReactCommon/CallInvoker.h>
|
|
7
|
+
#include <iostream>
|
|
8
|
+
#include <jsi/jsi.h>
|
|
9
|
+
#include <map>
|
|
10
|
+
#include <memory>
|
|
11
|
+
|
|
12
|
+
namespace react = facebook::react;
|
|
13
|
+
namespace jsi = facebook::jsi;
|
|
14
|
+
|
|
15
|
+
class NativeBreezSdkSpark : public jsi::HostObject {
|
|
16
|
+
private:
|
|
17
|
+
// For calling back into JS from Rust.
|
|
18
|
+
std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker;
|
|
19
|
+
|
|
20
|
+
protected:
|
|
21
|
+
std::map<std::string, jsi::Value> props;
|
|
22
|
+
jsi::Value cpp_uniffi_internal_fn_func_ffi__string_to_byte_length(
|
|
23
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
24
|
+
size_t count);
|
|
25
|
+
jsi::Value cpp_uniffi_internal_fn_func_ffi__string_to_arraybuffer(
|
|
26
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
27
|
+
size_t count);
|
|
28
|
+
jsi::Value cpp_uniffi_internal_fn_func_ffi__arraybuffer_to_string(
|
|
29
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
30
|
+
size_t count);
|
|
31
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_bitcoinchainservice(
|
|
32
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
33
|
+
size_t count);
|
|
34
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_bitcoinchainservice(
|
|
35
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
36
|
+
size_t count);
|
|
37
|
+
jsi::Value
|
|
38
|
+
cpp_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_get_address_utxos(
|
|
39
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
40
|
+
size_t count);
|
|
41
|
+
jsi::Value
|
|
42
|
+
cpp_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_get_transaction_hex(
|
|
43
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
44
|
+
size_t count);
|
|
45
|
+
jsi::Value
|
|
46
|
+
cpp_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_broadcast_transaction(
|
|
47
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
48
|
+
size_t count);
|
|
49
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_breezsdk(
|
|
50
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
51
|
+
size_t count);
|
|
52
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_breezsdk(
|
|
53
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
54
|
+
size_t count);
|
|
55
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_add_event_listener(
|
|
56
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
57
|
+
size_t count);
|
|
58
|
+
jsi::Value
|
|
59
|
+
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_check_lightning_address_available(
|
|
60
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
61
|
+
size_t count);
|
|
62
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_claim_deposit(
|
|
63
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
64
|
+
size_t count);
|
|
65
|
+
jsi::Value
|
|
66
|
+
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_delete_lightning_address(
|
|
67
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
68
|
+
size_t count);
|
|
69
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_disconnect(
|
|
70
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
71
|
+
size_t count);
|
|
72
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_get_info(
|
|
73
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
74
|
+
size_t count);
|
|
75
|
+
jsi::Value
|
|
76
|
+
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_get_lightning_address(
|
|
77
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
78
|
+
size_t count);
|
|
79
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_get_payment(
|
|
80
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
81
|
+
size_t count);
|
|
82
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_list_payments(
|
|
83
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
84
|
+
size_t count);
|
|
85
|
+
jsi::Value
|
|
86
|
+
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_list_unclaimed_deposits(
|
|
87
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
88
|
+
size_t count);
|
|
89
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_lnurl_pay(
|
|
90
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
91
|
+
size_t count);
|
|
92
|
+
jsi::Value
|
|
93
|
+
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_poll_lightning_send_payment(
|
|
94
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
95
|
+
size_t count);
|
|
96
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_lnurl_pay(
|
|
97
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
98
|
+
size_t count);
|
|
99
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_payment(
|
|
100
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
101
|
+
size_t count);
|
|
102
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_receive_payment(
|
|
103
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
104
|
+
size_t count);
|
|
105
|
+
jsi::Value
|
|
106
|
+
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_recover_lightning_address(
|
|
107
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
108
|
+
size_t count);
|
|
109
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_refund_deposit(
|
|
110
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
111
|
+
size_t count);
|
|
112
|
+
jsi::Value
|
|
113
|
+
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_register_lightning_address(
|
|
114
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
115
|
+
size_t count);
|
|
116
|
+
jsi::Value
|
|
117
|
+
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_remove_event_listener(
|
|
118
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
119
|
+
size_t count);
|
|
120
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_send_payment(
|
|
121
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
122
|
+
size_t count);
|
|
123
|
+
jsi::Value
|
|
124
|
+
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_send_payment_internal(
|
|
125
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
126
|
+
size_t count);
|
|
127
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_sync_wallet(
|
|
128
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
129
|
+
size_t count);
|
|
130
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_sdkbuilder(
|
|
131
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
132
|
+
size_t count);
|
|
133
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_sdkbuilder(
|
|
134
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
135
|
+
size_t count);
|
|
136
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_constructor_sdkbuilder_new(
|
|
137
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
138
|
+
size_t count);
|
|
139
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_sdkbuilder_build(
|
|
140
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
141
|
+
size_t count);
|
|
142
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_chain_service(
|
|
143
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
144
|
+
size_t count);
|
|
145
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_lnurl_client(
|
|
146
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
147
|
+
size_t count);
|
|
148
|
+
jsi::Value
|
|
149
|
+
cpp_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_rest_chain_service(
|
|
150
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
151
|
+
size_t count);
|
|
152
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_storage(
|
|
153
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
154
|
+
size_t count);
|
|
155
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_storage(
|
|
156
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
157
|
+
size_t count);
|
|
158
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_delete_cached_item(
|
|
159
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
160
|
+
size_t count);
|
|
161
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_get_cached_item(
|
|
162
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
163
|
+
size_t count);
|
|
164
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_set_cached_item(
|
|
165
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
166
|
+
size_t count);
|
|
167
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_list_payments(
|
|
168
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
169
|
+
size_t count);
|
|
170
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_insert_payment(
|
|
171
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
172
|
+
size_t count);
|
|
173
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_set_payment_metadata(
|
|
174
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
175
|
+
size_t count);
|
|
176
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_get_payment_by_id(
|
|
177
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
178
|
+
size_t count);
|
|
179
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_add_deposit(
|
|
180
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
181
|
+
size_t count);
|
|
182
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_delete_deposit(
|
|
183
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
184
|
+
size_t count);
|
|
185
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_list_deposits(
|
|
186
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
187
|
+
size_t count);
|
|
188
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_update_deposit(
|
|
189
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
190
|
+
size_t count);
|
|
191
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_func_connect(
|
|
192
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
193
|
+
size_t count);
|
|
194
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_func_default_config(
|
|
195
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
196
|
+
size_t count);
|
|
197
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_func_default_storage(
|
|
198
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
199
|
+
size_t count);
|
|
200
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_func_init_logging(
|
|
201
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
202
|
+
size_t count);
|
|
203
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_func_parse(jsi::Runtime &rt,
|
|
204
|
+
const jsi::Value &thisVal,
|
|
205
|
+
const jsi::Value *args,
|
|
206
|
+
size_t count);
|
|
207
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_poll_u8(
|
|
208
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
209
|
+
size_t count);
|
|
210
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_cancel_u8(
|
|
211
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
212
|
+
size_t count);
|
|
213
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_free_u8(
|
|
214
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
215
|
+
size_t count);
|
|
216
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_complete_u8(
|
|
217
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
218
|
+
size_t count);
|
|
219
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_poll_i8(
|
|
220
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
221
|
+
size_t count);
|
|
222
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_cancel_i8(
|
|
223
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
224
|
+
size_t count);
|
|
225
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_free_i8(
|
|
226
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
227
|
+
size_t count);
|
|
228
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_complete_i8(
|
|
229
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
230
|
+
size_t count);
|
|
231
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_poll_u16(
|
|
232
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
233
|
+
size_t count);
|
|
234
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_cancel_u16(
|
|
235
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
236
|
+
size_t count);
|
|
237
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_free_u16(
|
|
238
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
239
|
+
size_t count);
|
|
240
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_complete_u16(
|
|
241
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
242
|
+
size_t count);
|
|
243
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_poll_i16(
|
|
244
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
245
|
+
size_t count);
|
|
246
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_cancel_i16(
|
|
247
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
248
|
+
size_t count);
|
|
249
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_free_i16(
|
|
250
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
251
|
+
size_t count);
|
|
252
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_complete_i16(
|
|
253
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
254
|
+
size_t count);
|
|
255
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_poll_u32(
|
|
256
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
257
|
+
size_t count);
|
|
258
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_cancel_u32(
|
|
259
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
260
|
+
size_t count);
|
|
261
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_free_u32(
|
|
262
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
263
|
+
size_t count);
|
|
264
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_complete_u32(
|
|
265
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
266
|
+
size_t count);
|
|
267
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_poll_i32(
|
|
268
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
269
|
+
size_t count);
|
|
270
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_cancel_i32(
|
|
271
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
272
|
+
size_t count);
|
|
273
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_free_i32(
|
|
274
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
275
|
+
size_t count);
|
|
276
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_complete_i32(
|
|
277
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
278
|
+
size_t count);
|
|
279
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_poll_u64(
|
|
280
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
281
|
+
size_t count);
|
|
282
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_cancel_u64(
|
|
283
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
284
|
+
size_t count);
|
|
285
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_free_u64(
|
|
286
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
287
|
+
size_t count);
|
|
288
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_complete_u64(
|
|
289
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
290
|
+
size_t count);
|
|
291
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_poll_i64(
|
|
292
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
293
|
+
size_t count);
|
|
294
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_cancel_i64(
|
|
295
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
296
|
+
size_t count);
|
|
297
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_free_i64(
|
|
298
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
299
|
+
size_t count);
|
|
300
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_complete_i64(
|
|
301
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
302
|
+
size_t count);
|
|
303
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_poll_f32(
|
|
304
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
305
|
+
size_t count);
|
|
306
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_cancel_f32(
|
|
307
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
308
|
+
size_t count);
|
|
309
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_free_f32(
|
|
310
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
311
|
+
size_t count);
|
|
312
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_complete_f32(
|
|
313
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
314
|
+
size_t count);
|
|
315
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_poll_f64(
|
|
316
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
317
|
+
size_t count);
|
|
318
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_cancel_f64(
|
|
319
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
320
|
+
size_t count);
|
|
321
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_free_f64(
|
|
322
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
323
|
+
size_t count);
|
|
324
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_complete_f64(
|
|
325
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
326
|
+
size_t count);
|
|
327
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_poll_pointer(
|
|
328
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
329
|
+
size_t count);
|
|
330
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_cancel_pointer(
|
|
331
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
332
|
+
size_t count);
|
|
333
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_free_pointer(
|
|
334
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
335
|
+
size_t count);
|
|
336
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_complete_pointer(
|
|
337
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
338
|
+
size_t count);
|
|
339
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_poll_rust_buffer(
|
|
340
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
341
|
+
size_t count);
|
|
342
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer(
|
|
343
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
344
|
+
size_t count);
|
|
345
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_free_rust_buffer(
|
|
346
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
347
|
+
size_t count);
|
|
348
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_complete_rust_buffer(
|
|
349
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
350
|
+
size_t count);
|
|
351
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_poll_void(
|
|
352
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
353
|
+
size_t count);
|
|
354
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_cancel_void(
|
|
355
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
356
|
+
size_t count);
|
|
357
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_free_void(
|
|
358
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
359
|
+
size_t count);
|
|
360
|
+
jsi::Value cpp_ffi_breez_sdk_spark_rust_future_complete_void(
|
|
361
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
362
|
+
size_t count);
|
|
363
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_func_connect(
|
|
364
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
365
|
+
size_t count);
|
|
366
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_func_default_config(
|
|
367
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
368
|
+
size_t count);
|
|
369
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_func_default_storage(
|
|
370
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
371
|
+
size_t count);
|
|
372
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_func_init_logging(
|
|
373
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
374
|
+
size_t count);
|
|
375
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_func_parse(
|
|
376
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
377
|
+
size_t count);
|
|
378
|
+
jsi::Value
|
|
379
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos(
|
|
380
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
381
|
+
size_t count);
|
|
382
|
+
jsi::Value
|
|
383
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex(
|
|
384
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
385
|
+
size_t count);
|
|
386
|
+
jsi::Value
|
|
387
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction(
|
|
388
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
389
|
+
size_t count);
|
|
390
|
+
jsi::Value
|
|
391
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener(
|
|
392
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
393
|
+
size_t count);
|
|
394
|
+
jsi::Value
|
|
395
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available(
|
|
396
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
397
|
+
size_t count);
|
|
398
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit(
|
|
399
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
400
|
+
size_t count);
|
|
401
|
+
jsi::Value
|
|
402
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address(
|
|
403
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
404
|
+
size_t count);
|
|
405
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect(
|
|
406
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
407
|
+
size_t count);
|
|
408
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info(
|
|
409
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
410
|
+
size_t count);
|
|
411
|
+
jsi::Value
|
|
412
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address(
|
|
413
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
414
|
+
size_t count);
|
|
415
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment(
|
|
416
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
417
|
+
size_t count);
|
|
418
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments(
|
|
419
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
420
|
+
size_t count);
|
|
421
|
+
jsi::Value
|
|
422
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits(
|
|
423
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
424
|
+
size_t count);
|
|
425
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay(
|
|
426
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
427
|
+
size_t count);
|
|
428
|
+
jsi::Value
|
|
429
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_poll_lightning_send_payment(
|
|
430
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
431
|
+
size_t count);
|
|
432
|
+
jsi::Value
|
|
433
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay(
|
|
434
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
435
|
+
size_t count);
|
|
436
|
+
jsi::Value
|
|
437
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment(
|
|
438
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
439
|
+
size_t count);
|
|
440
|
+
jsi::Value
|
|
441
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment(
|
|
442
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
443
|
+
size_t count);
|
|
444
|
+
jsi::Value
|
|
445
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_recover_lightning_address(
|
|
446
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
447
|
+
size_t count);
|
|
448
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit(
|
|
449
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
450
|
+
size_t count);
|
|
451
|
+
jsi::Value
|
|
452
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address(
|
|
453
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
454
|
+
size_t count);
|
|
455
|
+
jsi::Value
|
|
456
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener(
|
|
457
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
458
|
+
size_t count);
|
|
459
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment(
|
|
460
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
461
|
+
size_t count);
|
|
462
|
+
jsi::Value
|
|
463
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment_internal(
|
|
464
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
465
|
+
size_t count);
|
|
466
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet(
|
|
467
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
468
|
+
size_t count);
|
|
469
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build(
|
|
470
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
471
|
+
size_t count);
|
|
472
|
+
jsi::Value
|
|
473
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service(
|
|
474
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
475
|
+
size_t count);
|
|
476
|
+
jsi::Value
|
|
477
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client(
|
|
478
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
479
|
+
size_t count);
|
|
480
|
+
jsi::Value
|
|
481
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service(
|
|
482
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
483
|
+
size_t count);
|
|
484
|
+
jsi::Value
|
|
485
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item(
|
|
486
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
487
|
+
size_t count);
|
|
488
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item(
|
|
489
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
490
|
+
size_t count);
|
|
491
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item(
|
|
492
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
493
|
+
size_t count);
|
|
494
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_list_payments(
|
|
495
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
496
|
+
size_t count);
|
|
497
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment(
|
|
498
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
499
|
+
size_t count);
|
|
500
|
+
jsi::Value
|
|
501
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_storage_set_payment_metadata(
|
|
502
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
503
|
+
size_t count);
|
|
504
|
+
jsi::Value
|
|
505
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id(
|
|
506
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
507
|
+
size_t count);
|
|
508
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit(
|
|
509
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
510
|
+
size_t count);
|
|
511
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit(
|
|
512
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
513
|
+
size_t count);
|
|
514
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_list_deposits(
|
|
515
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
516
|
+
size_t count);
|
|
517
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_update_deposit(
|
|
518
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
519
|
+
size_t count);
|
|
520
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new(
|
|
521
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
522
|
+
size_t count);
|
|
523
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event(
|
|
524
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
525
|
+
size_t count);
|
|
526
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_logger_log(
|
|
527
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
528
|
+
size_t count);
|
|
529
|
+
jsi::Value cpp_ffi_breez_sdk_spark_uniffi_contract_version(
|
|
530
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
531
|
+
size_t count);
|
|
532
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_eventlistener(
|
|
533
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
534
|
+
size_t count);
|
|
535
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_logger(
|
|
536
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
537
|
+
size_t count);
|
|
538
|
+
jsi::Value
|
|
539
|
+
cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_bitcoinchainservice(
|
|
540
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
541
|
+
size_t count);
|
|
542
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_storage(
|
|
543
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
544
|
+
size_t count);
|
|
545
|
+
jsi::Value
|
|
546
|
+
cpp_uniffi_internal_fn_method_bitcoinchainservice_ffi__bless_pointer(
|
|
547
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
548
|
+
size_t count);
|
|
549
|
+
jsi::Value cpp_uniffi_internal_fn_method_breezsdk_ffi__bless_pointer(
|
|
550
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
551
|
+
size_t count);
|
|
552
|
+
jsi::Value cpp_uniffi_internal_fn_method_sdkbuilder_ffi__bless_pointer(
|
|
553
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
554
|
+
size_t count);
|
|
555
|
+
jsi::Value cpp_uniffi_internal_fn_method_storage_ffi__bless_pointer(
|
|
556
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
557
|
+
size_t count);
|
|
558
|
+
|
|
559
|
+
public:
|
|
560
|
+
NativeBreezSdkSpark(
|
|
561
|
+
jsi::Runtime &rt,
|
|
562
|
+
std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker);
|
|
563
|
+
virtual ~NativeBreezSdkSpark();
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* The entry point into the crate.
|
|
567
|
+
*
|
|
568
|
+
* React Native must call `NativeBreezSdkSpark.registerModule(rt,
|
|
569
|
+
* callInvoker)` before using the Javascript interface.
|
|
570
|
+
*/
|
|
571
|
+
static void registerModule(jsi::Runtime &rt,
|
|
572
|
+
std::shared_ptr<react::CallInvoker> callInvoker);
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Some cleanup into the crate goes here.
|
|
576
|
+
*
|
|
577
|
+
* Current implementation is empty, however, this is not guaranteed to always
|
|
578
|
+
* be the case.
|
|
579
|
+
*
|
|
580
|
+
* Clients should call `NativeBreezSdkSpark.unregisterModule(rt)` after final
|
|
581
|
+
* use where possible.
|
|
582
|
+
*/
|
|
583
|
+
static void unregisterModule(jsi::Runtime &rt);
|
|
584
|
+
|
|
585
|
+
virtual jsi::Value get(jsi::Runtime &rt, const jsi::PropNameID &name);
|
|
586
|
+
virtual void set(jsi::Runtime &rt, const jsi::PropNameID &name,
|
|
587
|
+
const jsi::Value &value);
|
|
588
|
+
virtual std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime &rt);
|
|
589
|
+
};
|