@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.
Files changed (42) hide show
  1. package/README.md +144 -10
  2. package/Zcam1Sdk.podspec +1 -4
  3. package/cpp/generated/zcam1_c2pa_utils.cpp +2910 -3365
  4. package/cpp/generated/zcam1_c2pa_utils.hpp +130 -352
  5. package/cpp/generated/zcam1_certs_utils.cpp +1266 -1064
  6. package/cpp/generated/zcam1_certs_utils.hpp +37 -57
  7. package/cpp/generated/zcam1_verify_utils.cpp +1307 -1120
  8. package/cpp/generated/zcam1_verify_utils.hpp +39 -64
  9. package/cpp/proving/generated/zcam1_proving_utils.cpp +2619 -2917
  10. package/cpp/proving/generated/zcam1_proving_utils.hpp +102 -260
  11. package/ios/Zcam1Camera.swift +140 -53
  12. package/ios/Zcam1CameraFilmStyle.swift +106 -0
  13. package/lib/module/camera.js +2 -11
  14. package/lib/module/camera.js.map +1 -1
  15. package/lib/module/capture.js +2 -2
  16. package/lib/module/capture.js.map +1 -1
  17. package/lib/module/common.js +1 -1
  18. package/lib/module/common.js.map +1 -1
  19. package/lib/module/index.js +1 -1
  20. package/lib/module/index.js.map +1 -1
  21. package/lib/module/picker.js +2 -1
  22. package/lib/module/picker.js.map +1 -1
  23. package/lib/module/proving/prove.js +4 -4
  24. package/lib/module/proving/prove.js.map +1 -1
  25. package/lib/module/utils.js +7 -0
  26. package/lib/module/utils.js.map +1 -1
  27. package/lib/typescript/src/camera.d.ts.map +1 -1
  28. package/lib/typescript/src/index.d.ts +1 -1
  29. package/lib/typescript/src/index.d.ts.map +1 -1
  30. package/lib/typescript/src/picker.d.ts.map +1 -1
  31. package/lib/typescript/src/proving/prove.d.ts +1 -1
  32. package/lib/typescript/src/proving/prove.d.ts.map +1 -1
  33. package/lib/typescript/src/utils.d.ts +4 -0
  34. package/lib/typescript/src/utils.d.ts.map +1 -1
  35. package/package.json +2 -2
  36. package/src/camera.tsx +2 -13
  37. package/src/capture.tsx +2 -2
  38. package/src/common.tsx +1 -1
  39. package/src/index.ts +1 -1
  40. package/src/picker.tsx +2 -1
  41. package/src/proving/prove.tsx +5 -5
  42. package/src/utils.ts +7 -0
@@ -1,275 +1,117 @@
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!
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
- // For calling back into JS from Rust.
18
- std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker;
15
+ private:
16
+ // For calling back into JS from Rust.
17
+ std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker;
19
18
 
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_zcam1_proving_utils_fn_clone_iosprovingclient(
32
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
33
- size_t count);
34
- jsi::Value cpp_uniffi_zcam1_proving_utils_fn_free_iosprovingclient(
35
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
36
- size_t count);
37
- jsi::Value
38
- cpp_uniffi_zcam1_proving_utils_fn_constructor_iosprovingclient_mock(
39
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
40
- size_t count);
41
- jsi::Value cpp_uniffi_zcam1_proving_utils_fn_constructor_iosprovingclient_new(
42
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
43
- size_t count);
44
- jsi::Value
45
- cpp_uniffi_zcam1_proving_utils_fn_method_iosprovingclient_get_proof_status(
46
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
47
- size_t count);
48
- jsi::Value
49
- cpp_uniffi_zcam1_proving_utils_fn_method_iosprovingclient_request_proof(
50
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
51
- size_t count);
52
- jsi::Value cpp_uniffi_zcam1_proving_utils_fn_method_iosprovingclient_vk_hash(
53
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
54
- size_t count);
55
- jsi::Value cpp_uniffi_zcam1_proving_utils_fn_init_callback_vtable_initialized(
56
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
57
- size_t count);
58
- jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_u8(
59
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
60
- size_t count);
61
- jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_u8(
62
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
63
- size_t count);
64
- jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_u8(
65
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
66
- size_t count);
67
- jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_u8(
68
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
69
- size_t count);
70
- jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_i8(
71
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
72
- size_t count);
73
- jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_i8(
74
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
75
- size_t count);
76
- jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_i8(
77
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
78
- size_t count);
79
- jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_i8(
80
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
81
- size_t count);
82
- jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_poll_u16(
83
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
84
- size_t count);
85
- jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_cancel_u16(
86
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
87
- size_t count);
88
- jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_free_u16(
89
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
90
- size_t count);
91
- jsi::Value cpp_ffi_zcam1_proving_utils_rust_future_complete_u16(
92
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
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
- NativeZcam1ProvingUtils(
247
- jsi::Runtime &rt,
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
- * The entry point into the crate.
253
- *
254
- * React Native must call `NativeZcam1ProvingUtils.registerModule(rt,
255
- * callInvoker)` before using the Javascript interface.
256
- */
257
- static void registerModule(jsi::Runtime &rt,
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
- * Some cleanup into the crate goes here.
262
- *
263
- * Current implementation is empty, however, this is not guaranteed to always
264
- * be the case.
265
- *
266
- * Clients should call `NativeZcam1ProvingUtils.unregisterModule(rt)` after
267
- * final use where possible.
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
- virtual jsi::Value get(jsi::Runtime &rt, const jsi::PropNameID &name);
272
- virtual void set(jsi::Runtime &rt, const jsi::PropNameID &name,
273
- const jsi::Value &value);
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
  };