react-native-neural-wallet-lib 0.1.41 → 0.1.43

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.
@@ -19,6 +19,9 @@ Pod::Spec.new do |s|
19
19
  s.vendored_frameworks = "NeuralWalletLibFramework.xcframework"
20
20
  s.dependency "uniffi-bindgen-react-native", "0.29.3-0"
21
21
 
22
+ s.public_header_files = "ios/**/*.h"
23
+ s.header_mappings_dir = "ios/uniffi-headers"
24
+
22
25
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
23
26
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
24
27
  if respond_to?(:install_modules_dependencies, true)
@@ -30,7 +33,7 @@ Pod::Spec.new do |s|
30
33
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
31
34
  s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
32
35
  s.pod_target_xcconfig = {
33
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
36
+ # "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
34
37
  "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
35
38
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
36
39
  }
@@ -0,0 +1,639 @@
1
+ // This file was autogenerated by some hot garbage in the `uniffi` crate.
2
+ // Trust me, you don't want to mess with it!
3
+
4
+ #pragma once
5
+
6
+ #include <stdbool.h>
7
+ #include <stddef.h>
8
+ #include <stdint.h>
9
+
10
+ // The following structs are used to implement the lowest level
11
+ // of the FFI, and thus useful to multiple uniffied crates.
12
+ // We ensure they are declared exactly once, with a header guard, UNIFFI_SHARED_H.
13
+ #ifdef UNIFFI_SHARED_H
14
+ // We also try to prevent mixing versions of shared uniffi header structs.
15
+ // If you add anything to the #else block, you must increment the version suffix in UNIFFI_SHARED_HEADER_V4
16
+ #ifndef UNIFFI_SHARED_HEADER_V4
17
+ #error Combining helper code from multiple versions of uniffi is not supported
18
+ #endif // ndef UNIFFI_SHARED_HEADER_V4
19
+ #else
20
+ #define UNIFFI_SHARED_H
21
+ #define UNIFFI_SHARED_HEADER_V4
22
+ // ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️
23
+ // ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️
24
+
25
+ typedef struct RustBuffer
26
+ {
27
+ uint64_t capacity;
28
+ uint64_t len;
29
+ uint8_t *_Nullable data;
30
+ } RustBuffer;
31
+
32
+ typedef struct ForeignBytes
33
+ {
34
+ int32_t len;
35
+ const uint8_t *_Nullable data;
36
+ } ForeignBytes;
37
+
38
+ // Error definitions
39
+ typedef struct RustCallStatus {
40
+ int8_t code;
41
+ RustBuffer errorBuf;
42
+ } RustCallStatus;
43
+
44
+ // ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️
45
+ // ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️
46
+ #endif // def UNIFFI_SHARED_H
47
+ #ifndef UNIFFI_FFIDEF_RUST_FUTURE_CONTINUATION_CALLBACK
48
+ #define UNIFFI_FFIDEF_RUST_FUTURE_CONTINUATION_CALLBACK
49
+ typedef void (*UniffiRustFutureContinuationCallback)(uint64_t, int8_t
50
+ );
51
+
52
+ #endif
53
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_FREE
54
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_FREE
55
+ typedef void (*UniffiForeignFutureFree)(uint64_t
56
+ );
57
+
58
+ #endif
59
+ #ifndef UNIFFI_FFIDEF_CALLBACK_INTERFACE_FREE
60
+ #define UNIFFI_FFIDEF_CALLBACK_INTERFACE_FREE
61
+ typedef void (*UniffiCallbackInterfaceFree)(uint64_t
62
+ );
63
+
64
+ #endif
65
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE
66
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE
67
+ typedef struct UniffiForeignFuture {
68
+ uint64_t handle;
69
+ UniffiForeignFutureFree _Nonnull free;
70
+ } UniffiForeignFuture;
71
+
72
+ #endif
73
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U8
74
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U8
75
+ typedef struct UniffiForeignFutureStructU8 {
76
+ uint8_t returnValue;
77
+ RustCallStatus callStatus;
78
+ } UniffiForeignFutureStructU8;
79
+
80
+ #endif
81
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U8
82
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U8
83
+ typedef void (*UniffiForeignFutureCompleteU8)(uint64_t, UniffiForeignFutureStructU8
84
+ );
85
+
86
+ #endif
87
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I8
88
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I8
89
+ typedef struct UniffiForeignFutureStructI8 {
90
+ int8_t returnValue;
91
+ RustCallStatus callStatus;
92
+ } UniffiForeignFutureStructI8;
93
+
94
+ #endif
95
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I8
96
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I8
97
+ typedef void (*UniffiForeignFutureCompleteI8)(uint64_t, UniffiForeignFutureStructI8
98
+ );
99
+
100
+ #endif
101
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U16
102
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U16
103
+ typedef struct UniffiForeignFutureStructU16 {
104
+ uint16_t returnValue;
105
+ RustCallStatus callStatus;
106
+ } UniffiForeignFutureStructU16;
107
+
108
+ #endif
109
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U16
110
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U16
111
+ typedef void (*UniffiForeignFutureCompleteU16)(uint64_t, UniffiForeignFutureStructU16
112
+ );
113
+
114
+ #endif
115
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I16
116
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I16
117
+ typedef struct UniffiForeignFutureStructI16 {
118
+ int16_t returnValue;
119
+ RustCallStatus callStatus;
120
+ } UniffiForeignFutureStructI16;
121
+
122
+ #endif
123
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I16
124
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I16
125
+ typedef void (*UniffiForeignFutureCompleteI16)(uint64_t, UniffiForeignFutureStructI16
126
+ );
127
+
128
+ #endif
129
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U32
130
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U32
131
+ typedef struct UniffiForeignFutureStructU32 {
132
+ uint32_t returnValue;
133
+ RustCallStatus callStatus;
134
+ } UniffiForeignFutureStructU32;
135
+
136
+ #endif
137
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U32
138
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U32
139
+ typedef void (*UniffiForeignFutureCompleteU32)(uint64_t, UniffiForeignFutureStructU32
140
+ );
141
+
142
+ #endif
143
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I32
144
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I32
145
+ typedef struct UniffiForeignFutureStructI32 {
146
+ int32_t returnValue;
147
+ RustCallStatus callStatus;
148
+ } UniffiForeignFutureStructI32;
149
+
150
+ #endif
151
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I32
152
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I32
153
+ typedef void (*UniffiForeignFutureCompleteI32)(uint64_t, UniffiForeignFutureStructI32
154
+ );
155
+
156
+ #endif
157
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U64
158
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_U64
159
+ typedef struct UniffiForeignFutureStructU64 {
160
+ uint64_t returnValue;
161
+ RustCallStatus callStatus;
162
+ } UniffiForeignFutureStructU64;
163
+
164
+ #endif
165
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U64
166
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_U64
167
+ typedef void (*UniffiForeignFutureCompleteU64)(uint64_t, UniffiForeignFutureStructU64
168
+ );
169
+
170
+ #endif
171
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I64
172
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_I64
173
+ typedef struct UniffiForeignFutureStructI64 {
174
+ int64_t returnValue;
175
+ RustCallStatus callStatus;
176
+ } UniffiForeignFutureStructI64;
177
+
178
+ #endif
179
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I64
180
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_I64
181
+ typedef void (*UniffiForeignFutureCompleteI64)(uint64_t, UniffiForeignFutureStructI64
182
+ );
183
+
184
+ #endif
185
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_F32
186
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_F32
187
+ typedef struct UniffiForeignFutureStructF32 {
188
+ float returnValue;
189
+ RustCallStatus callStatus;
190
+ } UniffiForeignFutureStructF32;
191
+
192
+ #endif
193
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F32
194
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F32
195
+ typedef void (*UniffiForeignFutureCompleteF32)(uint64_t, UniffiForeignFutureStructF32
196
+ );
197
+
198
+ #endif
199
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_F64
200
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_F64
201
+ typedef struct UniffiForeignFutureStructF64 {
202
+ double returnValue;
203
+ RustCallStatus callStatus;
204
+ } UniffiForeignFutureStructF64;
205
+
206
+ #endif
207
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F64
208
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_F64
209
+ typedef void (*UniffiForeignFutureCompleteF64)(uint64_t, UniffiForeignFutureStructF64
210
+ );
211
+
212
+ #endif
213
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_POINTER
214
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_POINTER
215
+ typedef struct UniffiForeignFutureStructPointer {
216
+ void*_Nonnull returnValue;
217
+ RustCallStatus callStatus;
218
+ } UniffiForeignFutureStructPointer;
219
+
220
+ #endif
221
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_POINTER
222
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_POINTER
223
+ typedef void (*UniffiForeignFutureCompletePointer)(uint64_t, UniffiForeignFutureStructPointer
224
+ );
225
+
226
+ #endif
227
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_RUST_BUFFER
228
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_RUST_BUFFER
229
+ typedef struct UniffiForeignFutureStructRustBuffer {
230
+ RustBuffer returnValue;
231
+ RustCallStatus callStatus;
232
+ } UniffiForeignFutureStructRustBuffer;
233
+
234
+ #endif
235
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_RUST_BUFFER
236
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_RUST_BUFFER
237
+ typedef void (*UniffiForeignFutureCompleteRustBuffer)(uint64_t, UniffiForeignFutureStructRustBuffer
238
+ );
239
+
240
+ #endif
241
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_VOID
242
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_VOID
243
+ typedef struct UniffiForeignFutureStructVoid {
244
+ RustCallStatus callStatus;
245
+ } UniffiForeignFutureStructVoid;
246
+
247
+ #endif
248
+ #ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_VOID
249
+ #define UNIFFI_FFIDEF_FOREIGN_FUTURE_COMPLETE_VOID
250
+ typedef void (*UniffiForeignFutureCompleteVoid)(uint64_t, UniffiForeignFutureStructVoid
251
+ );
252
+
253
+ #endif
254
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_BITCOIN_WIF_TO_KEYPAIR
255
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_BITCOIN_WIF_TO_KEYPAIR
256
+ RustBuffer uniffi_wallet_fn_func_bitcoin_wif_to_keypair(RustBuffer wif, RustBuffer network, RustCallStatus *_Nonnull out_status
257
+ );
258
+ #endif
259
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_EVM_PRIVATE_KEY_TO_KEYPAIR
260
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_EVM_PRIVATE_KEY_TO_KEYPAIR
261
+ RustBuffer uniffi_wallet_fn_func_evm_private_key_to_keypair(RustBuffer private_key_hex, RustCallStatus *_Nonnull out_status
262
+ );
263
+ #endif
264
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_GENERATE_BITCOIN_KEYPAIR
265
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_GENERATE_BITCOIN_KEYPAIR
266
+ RustBuffer uniffi_wallet_fn_func_generate_bitcoin_keypair(RustBuffer mnemonic, RustBuffer path, RustBuffer addr_type, RustBuffer network, RustCallStatus *_Nonnull out_status
267
+ );
268
+ #endif
269
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_GENERATE_COMPLEX_PASSWORD
270
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_GENERATE_COMPLEX_PASSWORD
271
+ RustBuffer uniffi_wallet_fn_func_generate_complex_password(uint8_t length, RustCallStatus *_Nonnull out_status
272
+ );
273
+ #endif
274
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_GENERATE_ETH_KEYPAIR
275
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_GENERATE_ETH_KEYPAIR
276
+ RustBuffer uniffi_wallet_fn_func_generate_eth_keypair(RustBuffer mnemonic_str, RustBuffer path_str, RustCallStatus *_Nonnull out_status
277
+ );
278
+ #endif
279
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_GENERATE_MNEMONIC
280
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_GENERATE_MNEMONIC
281
+ RustBuffer uniffi_wallet_fn_func_generate_mnemonic(uint8_t word_count, RustCallStatus *_Nonnull out_status
282
+ );
283
+ #endif
284
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_GENERATE_SOLANA_KEYPAIR
285
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_GENERATE_SOLANA_KEYPAIR
286
+ RustBuffer uniffi_wallet_fn_func_generate_solana_keypair(RustBuffer mnemonic_str, RustBuffer path_str, RustCallStatus *_Nonnull out_status
287
+ );
288
+ #endif
289
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_SOLANA_PRIVATE_KEY_TO_KEYPAIR
290
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_SOLANA_PRIVATE_KEY_TO_KEYPAIR
291
+ RustBuffer uniffi_wallet_fn_func_solana_private_key_to_keypair(RustBuffer private_key_base58, RustCallStatus *_Nonnull out_status
292
+ );
293
+ #endif
294
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_STRING_TO_BASE64
295
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_FN_FUNC_STRING_TO_BASE64
296
+ RustBuffer uniffi_wallet_fn_func_string_to_base64(RustBuffer input, RustCallStatus *_Nonnull out_status
297
+ );
298
+ #endif
299
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUSTBUFFER_ALLOC
300
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUSTBUFFER_ALLOC
301
+ RustBuffer ffi_wallet_rustbuffer_alloc(uint64_t size, RustCallStatus *_Nonnull out_status
302
+ );
303
+ #endif
304
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUSTBUFFER_FROM_BYTES
305
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUSTBUFFER_FROM_BYTES
306
+ RustBuffer ffi_wallet_rustbuffer_from_bytes(ForeignBytes bytes, RustCallStatus *_Nonnull out_status
307
+ );
308
+ #endif
309
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUSTBUFFER_FREE
310
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUSTBUFFER_FREE
311
+ void ffi_wallet_rustbuffer_free(RustBuffer buf, RustCallStatus *_Nonnull out_status
312
+ );
313
+ #endif
314
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUSTBUFFER_RESERVE
315
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUSTBUFFER_RESERVE
316
+ RustBuffer ffi_wallet_rustbuffer_reserve(RustBuffer buf, uint64_t additional, RustCallStatus *_Nonnull out_status
317
+ );
318
+ #endif
319
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_U8
320
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_U8
321
+ void ffi_wallet_rust_future_poll_u8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
322
+ );
323
+ #endif
324
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_U8
325
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_U8
326
+ void ffi_wallet_rust_future_cancel_u8(uint64_t handle
327
+ );
328
+ #endif
329
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_U8
330
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_U8
331
+ void ffi_wallet_rust_future_free_u8(uint64_t handle
332
+ );
333
+ #endif
334
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_U8
335
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_U8
336
+ uint8_t ffi_wallet_rust_future_complete_u8(uint64_t handle, RustCallStatus *_Nonnull out_status
337
+ );
338
+ #endif
339
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_I8
340
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_I8
341
+ void ffi_wallet_rust_future_poll_i8(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
342
+ );
343
+ #endif
344
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_I8
345
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_I8
346
+ void ffi_wallet_rust_future_cancel_i8(uint64_t handle
347
+ );
348
+ #endif
349
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_I8
350
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_I8
351
+ void ffi_wallet_rust_future_free_i8(uint64_t handle
352
+ );
353
+ #endif
354
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_I8
355
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_I8
356
+ int8_t ffi_wallet_rust_future_complete_i8(uint64_t handle, RustCallStatus *_Nonnull out_status
357
+ );
358
+ #endif
359
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_U16
360
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_U16
361
+ void ffi_wallet_rust_future_poll_u16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
362
+ );
363
+ #endif
364
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_U16
365
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_U16
366
+ void ffi_wallet_rust_future_cancel_u16(uint64_t handle
367
+ );
368
+ #endif
369
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_U16
370
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_U16
371
+ void ffi_wallet_rust_future_free_u16(uint64_t handle
372
+ );
373
+ #endif
374
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_U16
375
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_U16
376
+ uint16_t ffi_wallet_rust_future_complete_u16(uint64_t handle, RustCallStatus *_Nonnull out_status
377
+ );
378
+ #endif
379
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_I16
380
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_I16
381
+ void ffi_wallet_rust_future_poll_i16(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
382
+ );
383
+ #endif
384
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_I16
385
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_I16
386
+ void ffi_wallet_rust_future_cancel_i16(uint64_t handle
387
+ );
388
+ #endif
389
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_I16
390
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_I16
391
+ void ffi_wallet_rust_future_free_i16(uint64_t handle
392
+ );
393
+ #endif
394
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_I16
395
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_I16
396
+ int16_t ffi_wallet_rust_future_complete_i16(uint64_t handle, RustCallStatus *_Nonnull out_status
397
+ );
398
+ #endif
399
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_U32
400
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_U32
401
+ void ffi_wallet_rust_future_poll_u32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
402
+ );
403
+ #endif
404
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_U32
405
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_U32
406
+ void ffi_wallet_rust_future_cancel_u32(uint64_t handle
407
+ );
408
+ #endif
409
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_U32
410
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_U32
411
+ void ffi_wallet_rust_future_free_u32(uint64_t handle
412
+ );
413
+ #endif
414
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_U32
415
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_U32
416
+ uint32_t ffi_wallet_rust_future_complete_u32(uint64_t handle, RustCallStatus *_Nonnull out_status
417
+ );
418
+ #endif
419
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_I32
420
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_I32
421
+ void ffi_wallet_rust_future_poll_i32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
422
+ );
423
+ #endif
424
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_I32
425
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_I32
426
+ void ffi_wallet_rust_future_cancel_i32(uint64_t handle
427
+ );
428
+ #endif
429
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_I32
430
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_I32
431
+ void ffi_wallet_rust_future_free_i32(uint64_t handle
432
+ );
433
+ #endif
434
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_I32
435
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_I32
436
+ int32_t ffi_wallet_rust_future_complete_i32(uint64_t handle, RustCallStatus *_Nonnull out_status
437
+ );
438
+ #endif
439
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_U64
440
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_U64
441
+ void ffi_wallet_rust_future_poll_u64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
442
+ );
443
+ #endif
444
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_U64
445
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_U64
446
+ void ffi_wallet_rust_future_cancel_u64(uint64_t handle
447
+ );
448
+ #endif
449
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_U64
450
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_U64
451
+ void ffi_wallet_rust_future_free_u64(uint64_t handle
452
+ );
453
+ #endif
454
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_U64
455
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_U64
456
+ uint64_t ffi_wallet_rust_future_complete_u64(uint64_t handle, RustCallStatus *_Nonnull out_status
457
+ );
458
+ #endif
459
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_I64
460
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_I64
461
+ void ffi_wallet_rust_future_poll_i64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
462
+ );
463
+ #endif
464
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_I64
465
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_I64
466
+ void ffi_wallet_rust_future_cancel_i64(uint64_t handle
467
+ );
468
+ #endif
469
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_I64
470
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_I64
471
+ void ffi_wallet_rust_future_free_i64(uint64_t handle
472
+ );
473
+ #endif
474
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_I64
475
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_I64
476
+ int64_t ffi_wallet_rust_future_complete_i64(uint64_t handle, RustCallStatus *_Nonnull out_status
477
+ );
478
+ #endif
479
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_F32
480
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_F32
481
+ void ffi_wallet_rust_future_poll_f32(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
482
+ );
483
+ #endif
484
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_F32
485
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_F32
486
+ void ffi_wallet_rust_future_cancel_f32(uint64_t handle
487
+ );
488
+ #endif
489
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_F32
490
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_F32
491
+ void ffi_wallet_rust_future_free_f32(uint64_t handle
492
+ );
493
+ #endif
494
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_F32
495
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_F32
496
+ float ffi_wallet_rust_future_complete_f32(uint64_t handle, RustCallStatus *_Nonnull out_status
497
+ );
498
+ #endif
499
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_F64
500
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_F64
501
+ void ffi_wallet_rust_future_poll_f64(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
502
+ );
503
+ #endif
504
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_F64
505
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_F64
506
+ void ffi_wallet_rust_future_cancel_f64(uint64_t handle
507
+ );
508
+ #endif
509
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_F64
510
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_F64
511
+ void ffi_wallet_rust_future_free_f64(uint64_t handle
512
+ );
513
+ #endif
514
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_F64
515
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_F64
516
+ double ffi_wallet_rust_future_complete_f64(uint64_t handle, RustCallStatus *_Nonnull out_status
517
+ );
518
+ #endif
519
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_POINTER
520
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_POINTER
521
+ void ffi_wallet_rust_future_poll_pointer(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
522
+ );
523
+ #endif
524
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_POINTER
525
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_POINTER
526
+ void ffi_wallet_rust_future_cancel_pointer(uint64_t handle
527
+ );
528
+ #endif
529
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_POINTER
530
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_POINTER
531
+ void ffi_wallet_rust_future_free_pointer(uint64_t handle
532
+ );
533
+ #endif
534
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_POINTER
535
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_POINTER
536
+ void*_Nonnull ffi_wallet_rust_future_complete_pointer(uint64_t handle, RustCallStatus *_Nonnull out_status
537
+ );
538
+ #endif
539
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_RUST_BUFFER
540
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_RUST_BUFFER
541
+ void ffi_wallet_rust_future_poll_rust_buffer(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
542
+ );
543
+ #endif
544
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_RUST_BUFFER
545
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_RUST_BUFFER
546
+ void ffi_wallet_rust_future_cancel_rust_buffer(uint64_t handle
547
+ );
548
+ #endif
549
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_RUST_BUFFER
550
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_RUST_BUFFER
551
+ void ffi_wallet_rust_future_free_rust_buffer(uint64_t handle
552
+ );
553
+ #endif
554
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_RUST_BUFFER
555
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_RUST_BUFFER
556
+ RustBuffer ffi_wallet_rust_future_complete_rust_buffer(uint64_t handle, RustCallStatus *_Nonnull out_status
557
+ );
558
+ #endif
559
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_VOID
560
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_POLL_VOID
561
+ void ffi_wallet_rust_future_poll_void(uint64_t handle, UniffiRustFutureContinuationCallback _Nonnull callback, uint64_t callback_data
562
+ );
563
+ #endif
564
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_VOID
565
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_CANCEL_VOID
566
+ void ffi_wallet_rust_future_cancel_void(uint64_t handle
567
+ );
568
+ #endif
569
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_VOID
570
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_FREE_VOID
571
+ void ffi_wallet_rust_future_free_void(uint64_t handle
572
+ );
573
+ #endif
574
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_VOID
575
+ #define UNIFFI_FFIDEF_FFI_WALLET_RUST_FUTURE_COMPLETE_VOID
576
+ void ffi_wallet_rust_future_complete_void(uint64_t handle, RustCallStatus *_Nonnull out_status
577
+ );
578
+ #endif
579
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_BITCOIN_WIF_TO_KEYPAIR
580
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_BITCOIN_WIF_TO_KEYPAIR
581
+ uint16_t uniffi_wallet_checksum_func_bitcoin_wif_to_keypair(void
582
+
583
+ );
584
+ #endif
585
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_EVM_PRIVATE_KEY_TO_KEYPAIR
586
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_EVM_PRIVATE_KEY_TO_KEYPAIR
587
+ uint16_t uniffi_wallet_checksum_func_evm_private_key_to_keypair(void
588
+
589
+ );
590
+ #endif
591
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_GENERATE_BITCOIN_KEYPAIR
592
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_GENERATE_BITCOIN_KEYPAIR
593
+ uint16_t uniffi_wallet_checksum_func_generate_bitcoin_keypair(void
594
+
595
+ );
596
+ #endif
597
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_GENERATE_COMPLEX_PASSWORD
598
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_GENERATE_COMPLEX_PASSWORD
599
+ uint16_t uniffi_wallet_checksum_func_generate_complex_password(void
600
+
601
+ );
602
+ #endif
603
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_GENERATE_ETH_KEYPAIR
604
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_GENERATE_ETH_KEYPAIR
605
+ uint16_t uniffi_wallet_checksum_func_generate_eth_keypair(void
606
+
607
+ );
608
+ #endif
609
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_GENERATE_MNEMONIC
610
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_GENERATE_MNEMONIC
611
+ uint16_t uniffi_wallet_checksum_func_generate_mnemonic(void
612
+
613
+ );
614
+ #endif
615
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_GENERATE_SOLANA_KEYPAIR
616
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_GENERATE_SOLANA_KEYPAIR
617
+ uint16_t uniffi_wallet_checksum_func_generate_solana_keypair(void
618
+
619
+ );
620
+ #endif
621
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_SOLANA_PRIVATE_KEY_TO_KEYPAIR
622
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_SOLANA_PRIVATE_KEY_TO_KEYPAIR
623
+ uint16_t uniffi_wallet_checksum_func_solana_private_key_to_keypair(void
624
+
625
+ );
626
+ #endif
627
+ #ifndef UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_STRING_TO_BASE64
628
+ #define UNIFFI_FFIDEF_UNIFFI_WALLET_CHECKSUM_FUNC_STRING_TO_BASE64
629
+ uint16_t uniffi_wallet_checksum_func_string_to_base64(void
630
+
631
+ );
632
+ #endif
633
+ #ifndef UNIFFI_FFIDEF_FFI_WALLET_UNIFFI_CONTRACT_VERSION
634
+ #define UNIFFI_FFIDEF_FFI_WALLET_UNIFFI_CONTRACT_VERSION
635
+ uint32_t ffi_wallet_uniffi_contract_version(void
636
+
637
+ );
638
+ #endif
639
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-neural-wallet-lib",
3
- "version": "0.1.41",
3
+ "version": "0.1.43",
4
4
  "description": "Neural wallet native lib",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
Binary file
File without changes