@succinctlabs/react-native-zcam1 0.2.5 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +144 -10
- package/Zcam1Sdk.podspec +1 -4
- package/cpp/generated/zcam1_c2pa_utils.cpp +2910 -3365
- package/cpp/generated/zcam1_c2pa_utils.hpp +130 -352
- package/cpp/generated/zcam1_certs_utils.cpp +1266 -1064
- package/cpp/generated/zcam1_certs_utils.hpp +37 -57
- package/cpp/generated/zcam1_verify_utils.cpp +1307 -1120
- package/cpp/generated/zcam1_verify_utils.hpp +39 -64
- package/cpp/proving/generated/zcam1_proving_utils.cpp +2619 -2917
- package/cpp/proving/generated/zcam1_proving_utils.hpp +102 -260
- package/ios/Zcam1Camera.swift +140 -53
- package/ios/Zcam1CameraFilmStyle.swift +106 -0
- package/lib/module/camera.js +2 -11
- package/lib/module/camera.js.map +1 -1
- package/lib/module/capture.js +2 -2
- package/lib/module/capture.js.map +1 -1
- package/lib/module/common.js +1 -1
- package/lib/module/common.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/picker.js +2 -1
- package/lib/module/picker.js.map +1 -1
- package/lib/module/proving/prove.js +4 -4
- package/lib/module/proving/prove.js.map +1 -1
- package/lib/module/utils.js +7 -0
- package/lib/module/utils.js.map +1 -1
- package/lib/typescript/src/camera.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/picker.d.ts.map +1 -1
- package/lib/typescript/src/proving/prove.d.ts +1 -1
- package/lib/typescript/src/proving/prove.d.ts.map +1 -1
- package/lib/typescript/src/utils.d.ts +4 -0
- package/lib/typescript/src/utils.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/camera.tsx +2 -13
- package/src/capture.tsx +2 -2
- package/src/common.tsx +1 -1
- package/src/index.ts +1 -1
- package/src/picker.tsx +2 -1
- package/src/proving/prove.tsx +5 -5
- package/src/utils.ts +7 -0
|
@@ -1,275 +1,117 @@
|
|
|
1
|
-
// This file was autogenerated by some hot garbage in the
|
|
2
|
-
//
|
|
3
|
-
// it!
|
|
1
|
+
// This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate.
|
|
2
|
+
// Trust me, you don't want to mess with it!
|
|
4
3
|
#pragma once
|
|
5
|
-
#include "UniffiCallInvoker.h"
|
|
6
|
-
#include <ReactCommon/CallInvoker.h>
|
|
7
|
-
#include <iostream>
|
|
8
4
|
#include <jsi/jsi.h>
|
|
5
|
+
#include <iostream>
|
|
9
6
|
#include <map>
|
|
10
7
|
#include <memory>
|
|
8
|
+
#include <ReactCommon/CallInvoker.h>
|
|
9
|
+
#include "UniffiCallInvoker.h"
|
|
11
10
|
|
|
12
11
|
namespace react = facebook::react;
|
|
13
12
|
namespace jsi = facebook::jsi;
|
|
14
13
|
|
|
15
14
|
class NativeZcam1ProvingUtils : public jsi::HostObject {
|
|
16
|
-
private:
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
private:
|
|
16
|
+
// For calling back into JS from Rust.
|
|
17
|
+
std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker;
|
|
19
18
|
|
|
20
|
-
protected:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
size_t count);
|
|
94
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_i16(
|
|
95
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
96
|
-
size_t count);
|
|
97
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_i16(
|
|
98
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
99
|
-
size_t count);
|
|
100
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_i16(
|
|
101
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
102
|
-
size_t count);
|
|
103
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_i16(
|
|
104
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
105
|
-
size_t count);
|
|
106
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_u32(
|
|
107
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
108
|
-
size_t count);
|
|
109
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_u32(
|
|
110
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
111
|
-
size_t count);
|
|
112
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_u32(
|
|
113
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
114
|
-
size_t count);
|
|
115
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_u32(
|
|
116
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
117
|
-
size_t count);
|
|
118
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_i32(
|
|
119
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
120
|
-
size_t count);
|
|
121
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_i32(
|
|
122
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
123
|
-
size_t count);
|
|
124
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_i32(
|
|
125
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
126
|
-
size_t count);
|
|
127
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_i32(
|
|
128
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
129
|
-
size_t count);
|
|
130
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_u64(
|
|
131
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
132
|
-
size_t count);
|
|
133
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_u64(
|
|
134
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
135
|
-
size_t count);
|
|
136
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_u64(
|
|
137
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
138
|
-
size_t count);
|
|
139
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_u64(
|
|
140
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
141
|
-
size_t count);
|
|
142
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_i64(
|
|
143
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
144
|
-
size_t count);
|
|
145
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_i64(
|
|
146
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
147
|
-
size_t count);
|
|
148
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_i64(
|
|
149
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
150
|
-
size_t count);
|
|
151
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_i64(
|
|
152
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
153
|
-
size_t count);
|
|
154
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_f32(
|
|
155
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
156
|
-
size_t count);
|
|
157
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_f32(
|
|
158
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
159
|
-
size_t count);
|
|
160
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_f32(
|
|
161
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
162
|
-
size_t count);
|
|
163
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_f32(
|
|
164
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
165
|
-
size_t count);
|
|
166
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_f64(
|
|
167
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
168
|
-
size_t count);
|
|
169
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_f64(
|
|
170
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
171
|
-
size_t count);
|
|
172
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_f64(
|
|
173
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
174
|
-
size_t count);
|
|
175
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_f64(
|
|
176
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
177
|
-
size_t count);
|
|
178
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_pointer(
|
|
179
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
180
|
-
size_t count);
|
|
181
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_pointer(
|
|
182
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
183
|
-
size_t count);
|
|
184
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_pointer(
|
|
185
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
186
|
-
size_t count);
|
|
187
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_pointer(
|
|
188
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
189
|
-
size_t count);
|
|
190
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_rust_buffer(
|
|
191
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
192
|
-
size_t count);
|
|
193
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_rust_buffer(
|
|
194
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
195
|
-
size_t count);
|
|
196
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_rust_buffer(
|
|
197
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
198
|
-
size_t count);
|
|
199
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_rust_buffer(
|
|
200
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
201
|
-
size_t count);
|
|
202
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_void(
|
|
203
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
204
|
-
size_t count);
|
|
205
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_void(
|
|
206
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
207
|
-
size_t count);
|
|
208
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_void(
|
|
209
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
210
|
-
size_t count);
|
|
211
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_void(
|
|
212
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
213
|
-
size_t count);
|
|
214
|
-
jsi::Value
|
|
215
|
-
cpp_uniffi_zcam1_proving_utils_checksum_method_iosprovingclient_get_proof_status(
|
|
216
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
217
|
-
size_t count);
|
|
218
|
-
jsi::Value
|
|
219
|
-
cpp_uniffi_zcam1_proving_utils_checksum_method_iosprovingclient_request_proof(
|
|
220
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
221
|
-
size_t count);
|
|
222
|
-
jsi::Value
|
|
223
|
-
cpp_uniffi_zcam1_proving_utils_checksum_method_iosprovingclient_vk_hash(
|
|
224
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
225
|
-
size_t count);
|
|
226
|
-
jsi::Value
|
|
227
|
-
cpp_uniffi_zcam1_proving_utils_checksum_constructor_iosprovingclient_mock(
|
|
228
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
229
|
-
size_t count);
|
|
230
|
-
jsi::Value
|
|
231
|
-
cpp_uniffi_zcam1_proving_utils_checksum_constructor_iosprovingclient_new(
|
|
232
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
233
|
-
size_t count);
|
|
234
|
-
jsi::Value
|
|
235
|
-
cpp_uniffi_zcam1_proving_utils_checksum_method_initialized_initialized(
|
|
236
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
237
|
-
size_t count);
|
|
238
|
-
jsi::Value cpp_ffi_zcam1_proving_utils_uniffi_contract_version(
|
|
239
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
240
|
-
size_t count);
|
|
241
|
-
jsi::Value cpp_uniffi_internal_fn_method_iosprovingclient_ffi__bless_pointer(
|
|
242
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
243
|
-
size_t count);
|
|
19
|
+
protected:
|
|
20
|
+
std::map<std::string,jsi::Value> props;
|
|
21
|
+
jsi::Value cpp_uniffi_internal_fn_func_ffi__string_to_byte_length(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
22
|
+
jsi::Value cpp_uniffi_internal_fn_func_ffi__string_to_arraybuffer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
23
|
+
jsi::Value cpp_uniffi_internal_fn_func_ffi__arraybuffer_to_string(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
24
|
+
jsi::Value cpp_uniffi_zcam1_proving_utils_fn_clone_iosprovingclient(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
25
|
+
jsi::Value cpp_uniffi_zcam1_proving_utils_fn_free_iosprovingclient(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
26
|
+
jsi::Value cpp_uniffi_zcam1_proving_utils_fn_constructor_iosprovingclient_mock(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
27
|
+
jsi::Value cpp_uniffi_zcam1_proving_utils_fn_constructor_iosprovingclient_new(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
28
|
+
jsi::Value cpp_uniffi_zcam1_proving_utils_fn_method_iosprovingclient_get_proof_status(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
29
|
+
jsi::Value cpp_uniffi_zcam1_proving_utils_fn_method_iosprovingclient_request_proof(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
30
|
+
jsi::Value cpp_uniffi_zcam1_proving_utils_fn_method_iosprovingclient_vk_hash(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
31
|
+
jsi::Value cpp_uniffi_zcam1_proving_utils_fn_init_callback_vtable_initialized(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
32
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_u8(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
33
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_u8(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
34
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_u8(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
35
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_u8(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
36
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_i8(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
37
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_i8(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
38
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_i8(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
39
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_i8(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
40
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_u16(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
41
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_u16(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
42
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_u16(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
43
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_u16(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
44
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_i16(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
45
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_i16(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
46
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_i16(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
47
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_i16(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
48
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_u32(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
49
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_u32(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
50
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_u32(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
51
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_u32(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
52
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_i32(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
53
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_i32(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
54
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_i32(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
55
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_i32(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
56
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_u64(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
57
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_u64(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
58
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_u64(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
59
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_u64(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
60
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_i64(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
61
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_i64(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
62
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_i64(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
63
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_i64(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
64
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_f32(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
65
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_f32(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
66
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_f32(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
67
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_f32(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
68
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_f64(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
69
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_f64(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
70
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_f64(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
71
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_f64(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
72
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_pointer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
73
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_pointer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
74
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_pointer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
75
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_pointer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
76
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_rust_buffer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
77
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_rust_buffer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
78
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_rust_buffer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
79
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_rust_buffer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
80
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_void(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
81
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_void(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
82
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_void(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
83
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_void(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
84
|
+
jsi::Value cpp_uniffi_zcam1_proving_utils_checksum_method_iosprovingclient_get_proof_status(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
85
|
+
jsi::Value cpp_uniffi_zcam1_proving_utils_checksum_method_iosprovingclient_request_proof(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
86
|
+
jsi::Value cpp_uniffi_zcam1_proving_utils_checksum_method_iosprovingclient_vk_hash(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
87
|
+
jsi::Value cpp_uniffi_zcam1_proving_utils_checksum_constructor_iosprovingclient_mock(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
88
|
+
jsi::Value cpp_uniffi_zcam1_proving_utils_checksum_constructor_iosprovingclient_new(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
89
|
+
jsi::Value cpp_uniffi_zcam1_proving_utils_checksum_method_initialized_initialized(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
90
|
+
jsi::Value cpp_ffi_zcam1_proving_utils_uniffi_contract_version(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
91
|
+
jsi::Value cpp_uniffi_internal_fn_method_iosprovingclient_ffi__bless_pointer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
244
92
|
|
|
245
|
-
public:
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker);
|
|
249
|
-
virtual ~NativeZcam1ProvingUtils();
|
|
93
|
+
public:
|
|
94
|
+
NativeZcam1ProvingUtils(jsi::Runtime &rt, std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker);
|
|
95
|
+
virtual ~NativeZcam1ProvingUtils();
|
|
250
96
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
std::shared_ptr<react::CallInvoker> callInvoker);
|
|
97
|
+
/**
|
|
98
|
+
* The entry point into the crate.
|
|
99
|
+
*
|
|
100
|
+
* React Native must call `NativeZcam1ProvingUtils.registerModule(rt, callInvoker)` before using
|
|
101
|
+
* the Javascript interface.
|
|
102
|
+
*/
|
|
103
|
+
static void registerModule(jsi::Runtime &rt, std::shared_ptr<react::CallInvoker> callInvoker);
|
|
259
104
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
*/
|
|
269
|
-
static void unregisterModule(jsi::Runtime &rt);
|
|
105
|
+
/**
|
|
106
|
+
* Some cleanup into the crate goes here.
|
|
107
|
+
*
|
|
108
|
+
* Current implementation is empty, however, this is not guaranteed to always be the case.
|
|
109
|
+
*
|
|
110
|
+
* Clients should call `NativeZcam1ProvingUtils.unregisterModule(rt)` after final use where possible.
|
|
111
|
+
*/
|
|
112
|
+
static void unregisterModule(jsi::Runtime &rt);
|
|
270
113
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
virtual std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime &rt);
|
|
114
|
+
virtual jsi::Value get(jsi::Runtime& rt, const jsi::PropNameID& name);
|
|
115
|
+
virtual void set(jsi::Runtime& rt,const jsi::PropNameID& name,const jsi::Value& value);
|
|
116
|
+
virtual std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime& rt);
|
|
275
117
|
};
|