@breeztech/breez-sdk-spark-react-native 0.3.5-rc1 → 0.4.0-dev3
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/android/CMakeLists.txt +0 -1
- package/cpp/breeztech-breez-sdk-spark-react-native.cpp +0 -2
- package/cpp/generated/breez_sdk_spark.cpp +4802 -907
- package/cpp/generated/breez_sdk_spark.hpp +175 -10
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark.js +1240 -7403
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/commonjs/index.js +0 -14
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +1241 -7387
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/index.js +0 -4
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +90 -5
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts +5010 -1276
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +0 -3
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts +90 -5
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts +5010 -1276
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +0 -3
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/breez_sdk_spark-ffi.ts +255 -11
- package/src/generated/breez_sdk_spark.ts +14470 -7146
- package/src/index.tsx +0 -4
- package/cpp/generated/breez_sdk_common.cpp +0 -6758
- package/cpp/generated/breez_sdk_common.hpp +0 -372
- package/lib/commonjs/generated/breez_sdk_common-ffi.js +0 -44
- package/lib/commonjs/generated/breez_sdk_common-ffi.js.map +0 -1
- package/lib/commonjs/generated/breez_sdk_common.js +0 -4993
- package/lib/commonjs/generated/breez_sdk_common.js.map +0 -1
- package/lib/module/generated/breez_sdk_common-ffi.js +0 -43
- package/lib/module/generated/breez_sdk_common-ffi.js.map +0 -1
- package/lib/module/generated/breez_sdk_common.js +0 -4985
- package/lib/module/generated/breez_sdk_common.js.map +0 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_common-ffi.d.ts +0 -214
- package/lib/typescript/commonjs/src/generated/breez_sdk_common-ffi.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_common.d.ts +0 -3720
- package/lib/typescript/commonjs/src/generated/breez_sdk_common.d.ts.map +0 -1
- package/lib/typescript/module/src/generated/breez_sdk_common-ffi.d.ts +0 -214
- package/lib/typescript/module/src/generated/breez_sdk_common-ffi.d.ts.map +0 -1
- package/lib/typescript/module/src/generated/breez_sdk_common.d.ts +0 -3720
- package/lib/typescript/module/src/generated/breez_sdk_common.d.ts.map +0 -1
- package/src/generated/breez_sdk_common-ffi.ts +0 -566
- package/src/generated/breez_sdk_common.ts +0 -7412
|
@@ -1,372 +0,0 @@
|
|
|
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 NativeBreezSdkCommon : 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_common_fn_clone_fiatservice(
|
|
32
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
33
|
-
size_t count);
|
|
34
|
-
jsi::Value cpp_uniffi_breez_sdk_common_fn_free_fiatservice(
|
|
35
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
36
|
-
size_t count);
|
|
37
|
-
jsi::Value
|
|
38
|
-
cpp_uniffi_breez_sdk_common_fn_method_fiatservice_fetch_fiat_currencies(
|
|
39
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
40
|
-
size_t count);
|
|
41
|
-
jsi::Value cpp_uniffi_breez_sdk_common_fn_method_fiatservice_fetch_fiat_rates(
|
|
42
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
43
|
-
size_t count);
|
|
44
|
-
jsi::Value cpp_uniffi_breez_sdk_common_fn_clone_restclient(
|
|
45
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
46
|
-
size_t count);
|
|
47
|
-
jsi::Value cpp_uniffi_breez_sdk_common_fn_free_restclient(
|
|
48
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
49
|
-
size_t count);
|
|
50
|
-
jsi::Value cpp_uniffi_breez_sdk_common_fn_method_restclient_get_request(
|
|
51
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
52
|
-
size_t count);
|
|
53
|
-
jsi::Value cpp_uniffi_breez_sdk_common_fn_method_restclient_post_request(
|
|
54
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
55
|
-
size_t count);
|
|
56
|
-
jsi::Value cpp_uniffi_breez_sdk_common_fn_method_restclient_delete_request(
|
|
57
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
58
|
-
size_t count);
|
|
59
|
-
jsi::Value cpp_uniffi_breez_sdk_common_fn_clone_syncstorage(
|
|
60
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
61
|
-
size_t count);
|
|
62
|
-
jsi::Value cpp_uniffi_breez_sdk_common_fn_free_syncstorage(
|
|
63
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
64
|
-
size_t count);
|
|
65
|
-
jsi::Value
|
|
66
|
-
cpp_uniffi_breez_sdk_common_fn_method_syncstorage_add_outgoing_change(
|
|
67
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
68
|
-
size_t count);
|
|
69
|
-
jsi::Value
|
|
70
|
-
cpp_uniffi_breez_sdk_common_fn_method_syncstorage_complete_outgoing_sync(
|
|
71
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
72
|
-
size_t count);
|
|
73
|
-
jsi::Value
|
|
74
|
-
cpp_uniffi_breez_sdk_common_fn_method_syncstorage_get_pending_outgoing_changes(
|
|
75
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
76
|
-
size_t count);
|
|
77
|
-
jsi::Value
|
|
78
|
-
cpp_uniffi_breez_sdk_common_fn_method_syncstorage_get_last_revision(
|
|
79
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
80
|
-
size_t count);
|
|
81
|
-
jsi::Value
|
|
82
|
-
cpp_uniffi_breez_sdk_common_fn_method_syncstorage_insert_incoming_records(
|
|
83
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
84
|
-
size_t count);
|
|
85
|
-
jsi::Value
|
|
86
|
-
cpp_uniffi_breez_sdk_common_fn_method_syncstorage_delete_incoming_record(
|
|
87
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
88
|
-
size_t count);
|
|
89
|
-
jsi::Value
|
|
90
|
-
cpp_uniffi_breez_sdk_common_fn_method_syncstorage_rebase_pending_outgoing_records(
|
|
91
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
92
|
-
size_t count);
|
|
93
|
-
jsi::Value
|
|
94
|
-
cpp_uniffi_breez_sdk_common_fn_method_syncstorage_get_incoming_records(
|
|
95
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
96
|
-
size_t count);
|
|
97
|
-
jsi::Value
|
|
98
|
-
cpp_uniffi_breez_sdk_common_fn_method_syncstorage_get_latest_outgoing_change(
|
|
99
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
100
|
-
size_t count);
|
|
101
|
-
jsi::Value
|
|
102
|
-
cpp_uniffi_breez_sdk_common_fn_method_syncstorage_update_record_from_incoming(
|
|
103
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
104
|
-
size_t count);
|
|
105
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_poll_u8(
|
|
106
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
107
|
-
size_t count);
|
|
108
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_cancel_u8(
|
|
109
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
110
|
-
size_t count);
|
|
111
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_free_u8(
|
|
112
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
113
|
-
size_t count);
|
|
114
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_complete_u8(
|
|
115
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
116
|
-
size_t count);
|
|
117
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_poll_i8(
|
|
118
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
119
|
-
size_t count);
|
|
120
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_cancel_i8(
|
|
121
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
122
|
-
size_t count);
|
|
123
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_free_i8(
|
|
124
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
125
|
-
size_t count);
|
|
126
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_complete_i8(
|
|
127
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
128
|
-
size_t count);
|
|
129
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_poll_u16(
|
|
130
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
131
|
-
size_t count);
|
|
132
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_cancel_u16(
|
|
133
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
134
|
-
size_t count);
|
|
135
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_free_u16(
|
|
136
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
137
|
-
size_t count);
|
|
138
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_complete_u16(
|
|
139
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
140
|
-
size_t count);
|
|
141
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_poll_i16(
|
|
142
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
143
|
-
size_t count);
|
|
144
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_cancel_i16(
|
|
145
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
146
|
-
size_t count);
|
|
147
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_free_i16(
|
|
148
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
149
|
-
size_t count);
|
|
150
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_complete_i16(
|
|
151
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
152
|
-
size_t count);
|
|
153
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_poll_u32(
|
|
154
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
155
|
-
size_t count);
|
|
156
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_cancel_u32(
|
|
157
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
158
|
-
size_t count);
|
|
159
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_free_u32(
|
|
160
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
161
|
-
size_t count);
|
|
162
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_complete_u32(
|
|
163
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
164
|
-
size_t count);
|
|
165
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_poll_i32(
|
|
166
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
167
|
-
size_t count);
|
|
168
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_cancel_i32(
|
|
169
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
170
|
-
size_t count);
|
|
171
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_free_i32(
|
|
172
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
173
|
-
size_t count);
|
|
174
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_complete_i32(
|
|
175
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
176
|
-
size_t count);
|
|
177
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_poll_u64(
|
|
178
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
179
|
-
size_t count);
|
|
180
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_cancel_u64(
|
|
181
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
182
|
-
size_t count);
|
|
183
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_free_u64(
|
|
184
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
185
|
-
size_t count);
|
|
186
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_complete_u64(
|
|
187
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
188
|
-
size_t count);
|
|
189
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_poll_i64(
|
|
190
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
191
|
-
size_t count);
|
|
192
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_cancel_i64(
|
|
193
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
194
|
-
size_t count);
|
|
195
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_free_i64(
|
|
196
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
197
|
-
size_t count);
|
|
198
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_complete_i64(
|
|
199
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
200
|
-
size_t count);
|
|
201
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_poll_f32(
|
|
202
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
203
|
-
size_t count);
|
|
204
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_cancel_f32(
|
|
205
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
206
|
-
size_t count);
|
|
207
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_free_f32(
|
|
208
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
209
|
-
size_t count);
|
|
210
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_complete_f32(
|
|
211
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
212
|
-
size_t count);
|
|
213
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_poll_f64(
|
|
214
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
215
|
-
size_t count);
|
|
216
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_cancel_f64(
|
|
217
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
218
|
-
size_t count);
|
|
219
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_free_f64(
|
|
220
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
221
|
-
size_t count);
|
|
222
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_complete_f64(
|
|
223
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
224
|
-
size_t count);
|
|
225
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_poll_pointer(
|
|
226
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
227
|
-
size_t count);
|
|
228
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_cancel_pointer(
|
|
229
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
230
|
-
size_t count);
|
|
231
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_free_pointer(
|
|
232
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
233
|
-
size_t count);
|
|
234
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_complete_pointer(
|
|
235
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
236
|
-
size_t count);
|
|
237
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_poll_rust_buffer(
|
|
238
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
239
|
-
size_t count);
|
|
240
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_cancel_rust_buffer(
|
|
241
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
242
|
-
size_t count);
|
|
243
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_free_rust_buffer(
|
|
244
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
245
|
-
size_t count);
|
|
246
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_complete_rust_buffer(
|
|
247
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
248
|
-
size_t count);
|
|
249
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_poll_void(
|
|
250
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
251
|
-
size_t count);
|
|
252
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_cancel_void(
|
|
253
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
254
|
-
size_t count);
|
|
255
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_free_void(
|
|
256
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
257
|
-
size_t count);
|
|
258
|
-
jsi::Value cpp_ffi_breez_sdk_common_rust_future_complete_void(
|
|
259
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
260
|
-
size_t count);
|
|
261
|
-
jsi::Value
|
|
262
|
-
cpp_uniffi_breez_sdk_common_checksum_method_fiatservice_fetch_fiat_currencies(
|
|
263
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
264
|
-
size_t count);
|
|
265
|
-
jsi::Value
|
|
266
|
-
cpp_uniffi_breez_sdk_common_checksum_method_fiatservice_fetch_fiat_rates(
|
|
267
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
268
|
-
size_t count);
|
|
269
|
-
jsi::Value cpp_uniffi_breez_sdk_common_checksum_method_restclient_get_request(
|
|
270
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
271
|
-
size_t count);
|
|
272
|
-
jsi::Value
|
|
273
|
-
cpp_uniffi_breez_sdk_common_checksum_method_restclient_post_request(
|
|
274
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
275
|
-
size_t count);
|
|
276
|
-
jsi::Value
|
|
277
|
-
cpp_uniffi_breez_sdk_common_checksum_method_restclient_delete_request(
|
|
278
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
279
|
-
size_t count);
|
|
280
|
-
jsi::Value
|
|
281
|
-
cpp_uniffi_breez_sdk_common_checksum_method_syncstorage_add_outgoing_change(
|
|
282
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
283
|
-
size_t count);
|
|
284
|
-
jsi::Value
|
|
285
|
-
cpp_uniffi_breez_sdk_common_checksum_method_syncstorage_complete_outgoing_sync(
|
|
286
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
287
|
-
size_t count);
|
|
288
|
-
jsi::Value
|
|
289
|
-
cpp_uniffi_breez_sdk_common_checksum_method_syncstorage_get_pending_outgoing_changes(
|
|
290
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
291
|
-
size_t count);
|
|
292
|
-
jsi::Value
|
|
293
|
-
cpp_uniffi_breez_sdk_common_checksum_method_syncstorage_get_last_revision(
|
|
294
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
295
|
-
size_t count);
|
|
296
|
-
jsi::Value
|
|
297
|
-
cpp_uniffi_breez_sdk_common_checksum_method_syncstorage_insert_incoming_records(
|
|
298
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
299
|
-
size_t count);
|
|
300
|
-
jsi::Value
|
|
301
|
-
cpp_uniffi_breez_sdk_common_checksum_method_syncstorage_delete_incoming_record(
|
|
302
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
303
|
-
size_t count);
|
|
304
|
-
jsi::Value
|
|
305
|
-
cpp_uniffi_breez_sdk_common_checksum_method_syncstorage_rebase_pending_outgoing_records(
|
|
306
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
307
|
-
size_t count);
|
|
308
|
-
jsi::Value
|
|
309
|
-
cpp_uniffi_breez_sdk_common_checksum_method_syncstorage_get_incoming_records(
|
|
310
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
311
|
-
size_t count);
|
|
312
|
-
jsi::Value
|
|
313
|
-
cpp_uniffi_breez_sdk_common_checksum_method_syncstorage_get_latest_outgoing_change(
|
|
314
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
315
|
-
size_t count);
|
|
316
|
-
jsi::Value
|
|
317
|
-
cpp_uniffi_breez_sdk_common_checksum_method_syncstorage_update_record_from_incoming(
|
|
318
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
319
|
-
size_t count);
|
|
320
|
-
jsi::Value cpp_ffi_breez_sdk_common_uniffi_contract_version(
|
|
321
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
322
|
-
size_t count);
|
|
323
|
-
jsi::Value cpp_uniffi_breez_sdk_common_fn_init_callback_vtable_fiatservice(
|
|
324
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
325
|
-
size_t count);
|
|
326
|
-
jsi::Value cpp_uniffi_breez_sdk_common_fn_init_callback_vtable_restclient(
|
|
327
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
328
|
-
size_t count);
|
|
329
|
-
jsi::Value cpp_uniffi_breez_sdk_common_fn_init_callback_vtable_syncstorage(
|
|
330
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
331
|
-
size_t count);
|
|
332
|
-
jsi::Value cpp_uniffi_internal_fn_method_fiatservice_ffi__bless_pointer(
|
|
333
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
334
|
-
size_t count);
|
|
335
|
-
jsi::Value cpp_uniffi_internal_fn_method_restclient_ffi__bless_pointer(
|
|
336
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
337
|
-
size_t count);
|
|
338
|
-
jsi::Value cpp_uniffi_internal_fn_method_syncstorage_ffi__bless_pointer(
|
|
339
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
340
|
-
size_t count);
|
|
341
|
-
|
|
342
|
-
public:
|
|
343
|
-
NativeBreezSdkCommon(
|
|
344
|
-
jsi::Runtime &rt,
|
|
345
|
-
std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker);
|
|
346
|
-
virtual ~NativeBreezSdkCommon();
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* The entry point into the crate.
|
|
350
|
-
*
|
|
351
|
-
* React Native must call `NativeBreezSdkCommon.registerModule(rt,
|
|
352
|
-
* callInvoker)` before using the Javascript interface.
|
|
353
|
-
*/
|
|
354
|
-
static void registerModule(jsi::Runtime &rt,
|
|
355
|
-
std::shared_ptr<react::CallInvoker> callInvoker);
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* Some cleanup into the crate goes here.
|
|
359
|
-
*
|
|
360
|
-
* Current implementation is empty, however, this is not guaranteed to always
|
|
361
|
-
* be the case.
|
|
362
|
-
*
|
|
363
|
-
* Clients should call `NativeBreezSdkCommon.unregisterModule(rt)` after final
|
|
364
|
-
* use where possible.
|
|
365
|
-
*/
|
|
366
|
-
static void unregisterModule(jsi::Runtime &rt);
|
|
367
|
-
|
|
368
|
-
virtual jsi::Value get(jsi::Runtime &rt, const jsi::PropNameID &name);
|
|
369
|
-
virtual void set(jsi::Runtime &rt, const jsi::PropNameID &name,
|
|
370
|
-
const jsi::Value &value);
|
|
371
|
-
virtual std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime &rt);
|
|
372
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
// This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate.
|
|
8
|
-
// Trust me, you don't want to mess with it!
|
|
9
|
-
|
|
10
|
-
// Casting globalThis to any allows us to look for `NativeBreezSdkCommon`
|
|
11
|
-
// if it was added via JSI.
|
|
12
|
-
//
|
|
13
|
-
// We use a getter here rather than simply `globalThis.NativeBreezSdkCommon` so that
|
|
14
|
-
// if/when the startup sequence isn't just so, an empty value isn't inadvertantly cached.
|
|
15
|
-
const getter = () => globalThis.NativeBreezSdkCommon;
|
|
16
|
-
var _default = exports.default = getter; // Structs and function types for calling back into Typescript from Rust.
|
|
17
|
-
// UniffiRustFutureContinuationCallback is generated as part of the component interface's
|
|
18
|
-
// ffi_definitions. However, we need it in the runtime.
|
|
19
|
-
// We could:
|
|
20
|
-
// (a) do some complicated template logic to ensure the declaration is not generated here (possible)
|
|
21
|
-
// (b) import the generated declaration into the runtime (m a y b e) or…
|
|
22
|
-
// (c) generate the declaration anyway, and use a different declaration in the runtime.
|
|
23
|
-
//
|
|
24
|
-
// We chose (c) here as the simplest. In addition, we perform a compile time check that
|
|
25
|
-
// the two versions of `UniffiRustFutureContinuationCallback` are structurally equivalent.
|
|
26
|
-
//
|
|
27
|
-
// If you see the error:
|
|
28
|
-
// ```
|
|
29
|
-
// Type 'true' is not assignable to type 'false'.(2322)
|
|
30
|
-
// ```
|
|
31
|
-
// Then a new version of uniffi has changed the signature of the callback. Most likely, code in
|
|
32
|
-
// `typescript/src/async-rust-call.ts` will need to be changed.
|
|
33
|
-
//
|
|
34
|
-
// If you see the error:
|
|
35
|
-
// ```
|
|
36
|
-
// Cannot find name 'UniffiRustFutureContinuationCallback'. Did you mean 'RuntimeUniffiRustFutureContinuationCallback'?(2552)
|
|
37
|
-
// ```
|
|
38
|
-
// then you may not be using callbacks or promises, and uniffi is now not generating Futures and callbacks.
|
|
39
|
-
// You should not generate this if that is the case.
|
|
40
|
-
//
|
|
41
|
-
// ('You' being the bindings generator maintainer).
|
|
42
|
-
const isRustFutureContinuationCallbackTypeCompatible = true;
|
|
43
|
-
const isUniffiForeignFutureTypeCompatible = true;
|
|
44
|
-
//# sourceMappingURL=breez_sdk_common-ffi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["getter","globalThis","NativeBreezSdkCommon","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/breez_sdk_common-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AAqSA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,oBAAoB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAC5BL,MAAM,EAErB;AAsOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMM,8CAGL,GAAG,IAAI;AACR,MAAMC,mCAGL,GAAG,IAAI","ignoreList":[]}
|