cojson-core-rn 0.19.22 → 0.20.0

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.
@@ -8,7 +8,7 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>libcojson_core_rn.a</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64-simulator</string>
11
+ <string>ios-arm64</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>libcojson_core_rn.a</string>
14
14
  <key>SupportedArchitectures</key>
@@ -17,14 +17,12 @@
17
17
  </array>
18
18
  <key>SupportedPlatform</key>
19
19
  <string>ios</string>
20
- <key>SupportedPlatformVariant</key>
21
- <string>simulator</string>
22
20
  </dict>
23
21
  <dict>
24
22
  <key>BinaryPath</key>
25
23
  <string>libcojson_core_rn.a</string>
26
24
  <key>LibraryIdentifier</key>
27
- <string>ios-arm64</string>
25
+ <string>ios-arm64-simulator</string>
28
26
  <key>LibraryPath</key>
29
27
  <string>libcojson_core_rn.a</string>
30
28
  <key>SupportedArchitectures</key>
@@ -33,6 +31,8 @@
33
31
  </array>
34
32
  <key>SupportedPlatform</key>
35
33
  <string>ios</string>
34
+ <key>SupportedPlatformVariant</key>
35
+ <string>simulator</string>
36
36
  </dict>
37
37
  </array>
38
38
  <key>CFBundlePackageType</key>
@@ -170,6 +170,21 @@ extern "C" {
170
170
  RustBuffer signer_id,
171
171
  RustCallStatus *uniffi_out_err
172
172
  );
173
+ void uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_private_transaction(
174
+ void * ptr,
175
+ RustBuffer encrypted_changes,
176
+ RustBuffer key_used,
177
+ double made_at,
178
+ RustBuffer meta,
179
+ RustCallStatus *uniffi_out_err
180
+ );
181
+ void uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_trusting_transaction(
182
+ void * ptr,
183
+ RustBuffer changes,
184
+ double made_at,
185
+ RustBuffer meta,
186
+ RustCallStatus *uniffi_out_err
187
+ );
173
188
  RustBuffer uniffi_cojson_core_rn_fn_method_sessionlog_add_new_private_transaction(
174
189
  void * ptr,
175
190
  RustBuffer changes_json,
@@ -192,6 +207,12 @@ extern "C" {
192
207
  void * ptr,
193
208
  RustCallStatus *uniffi_out_err
194
209
  );
210
+ void uniffi_cojson_core_rn_fn_method_sessionlog_commit_transactions(
211
+ void * ptr,
212
+ RustBuffer new_signature_str,
213
+ int8_t skip_validate,
214
+ RustCallStatus *uniffi_out_err
215
+ );
195
216
  RustBuffer uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_changes_json(
196
217
  void * ptr,
197
218
  uint32_t tx_index,
@@ -204,13 +225,6 @@ extern "C" {
204
225
  RustBuffer encryption_key,
205
226
  RustCallStatus *uniffi_out_err
206
227
  );
207
- void uniffi_cojson_core_rn_fn_method_sessionlog_try_add(
208
- void * ptr,
209
- RustBuffer transactions_json,
210
- RustBuffer new_signature_str,
211
- int8_t skip_verify,
212
- RustCallStatus *uniffi_out_err
213
- );
214
228
  RustBuffer uniffi_cojson_core_rn_fn_func_blake3_hash_once(
215
229
  RustBuffer data,
216
230
  RustCallStatus *uniffi_out_err
@@ -598,18 +612,22 @@ extern "C" {
598
612
  );
599
613
  uint16_t uniffi_cojson_core_rn_checksum_method_blake3hasher_update(
600
614
  );
615
+ uint16_t uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_private_transaction(
616
+ );
617
+ uint16_t uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_trusting_transaction(
618
+ );
601
619
  uint16_t uniffi_cojson_core_rn_checksum_method_sessionlog_add_new_private_transaction(
602
620
  );
603
621
  uint16_t uniffi_cojson_core_rn_checksum_method_sessionlog_add_new_trusting_transaction(
604
622
  );
605
623
  uint16_t uniffi_cojson_core_rn_checksum_method_sessionlog_clone_session_log(
606
624
  );
625
+ uint16_t uniffi_cojson_core_rn_checksum_method_sessionlog_commit_transactions(
626
+ );
607
627
  uint16_t uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_changes_json(
608
628
  );
609
629
  uint16_t uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_meta_json(
610
630
  );
611
- uint16_t uniffi_cojson_core_rn_checksum_method_sessionlog_try_add(
612
- );
613
631
  uint16_t uniffi_cojson_core_rn_checksum_constructor_blake3hasher_new(
614
632
  );
615
633
  uint16_t uniffi_cojson_core_rn_checksum_constructor_sessionlog_new(
@@ -2230,6 +2248,22 @@ NativeCojsonCoreRn::NativeCojsonCoreRn(
2230
2248
  return this->cpp_uniffi_cojson_core_rn_fn_constructor_sessionlog_new(rt, thisVal, args, count);
2231
2249
  }
2232
2250
  );
2251
+ props["ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_private_transaction"] = jsi::Function::createFromHostFunction(
2252
+ rt,
2253
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_private_transaction"),
2254
+ 5,
2255
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
2256
+ return this->cpp_uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_private_transaction(rt, thisVal, args, count);
2257
+ }
2258
+ );
2259
+ props["ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_trusting_transaction"] = jsi::Function::createFromHostFunction(
2260
+ rt,
2261
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_trusting_transaction"),
2262
+ 4,
2263
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
2264
+ return this->cpp_uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_trusting_transaction(rt, thisVal, args, count);
2265
+ }
2266
+ );
2233
2267
  props["ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_add_new_private_transaction"] = jsi::Function::createFromHostFunction(
2234
2268
  rt,
2235
2269
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_add_new_private_transaction"),
@@ -2254,6 +2288,14 @@ NativeCojsonCoreRn::NativeCojsonCoreRn(
2254
2288
  return this->cpp_uniffi_cojson_core_rn_fn_method_sessionlog_clone_session_log(rt, thisVal, args, count);
2255
2289
  }
2256
2290
  );
2291
+ props["ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_commit_transactions"] = jsi::Function::createFromHostFunction(
2292
+ rt,
2293
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_commit_transactions"),
2294
+ 3,
2295
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
2296
+ return this->cpp_uniffi_cojson_core_rn_fn_method_sessionlog_commit_transactions(rt, thisVal, args, count);
2297
+ }
2298
+ );
2257
2299
  props["ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_changes_json"] = jsi::Function::createFromHostFunction(
2258
2300
  rt,
2259
2301
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_changes_json"),
@@ -2270,14 +2312,6 @@ NativeCojsonCoreRn::NativeCojsonCoreRn(
2270
2312
  return this->cpp_uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_meta_json(rt, thisVal, args, count);
2271
2313
  }
2272
2314
  );
2273
- props["ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_try_add"] = jsi::Function::createFromHostFunction(
2274
- rt,
2275
- jsi::PropNameID::forAscii(rt, "ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_try_add"),
2276
- 4,
2277
- [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
2278
- return this->cpp_uniffi_cojson_core_rn_fn_method_sessionlog_try_add(rt, thisVal, args, count);
2279
- }
2280
- );
2281
2315
  props["ubrn_uniffi_cojson_core_rn_fn_func_blake3_hash_once"] = jsi::Function::createFromHostFunction(
2282
2316
  rt,
2283
2317
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_cojson_core_rn_fn_func_blake3_hash_once"),
@@ -2702,6 +2736,22 @@ NativeCojsonCoreRn::NativeCojsonCoreRn(
2702
2736
  return this->cpp_uniffi_cojson_core_rn_checksum_method_blake3hasher_update(rt, thisVal, args, count);
2703
2737
  }
2704
2738
  );
2739
+ props["ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_private_transaction"] = jsi::Function::createFromHostFunction(
2740
+ rt,
2741
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_private_transaction"),
2742
+ 0,
2743
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
2744
+ return this->cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_private_transaction(rt, thisVal, args, count);
2745
+ }
2746
+ );
2747
+ props["ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_trusting_transaction"] = jsi::Function::createFromHostFunction(
2748
+ rt,
2749
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_trusting_transaction"),
2750
+ 0,
2751
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
2752
+ return this->cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_trusting_transaction(rt, thisVal, args, count);
2753
+ }
2754
+ );
2705
2755
  props["ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_add_new_private_transaction"] = jsi::Function::createFromHostFunction(
2706
2756
  rt,
2707
2757
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_add_new_private_transaction"),
@@ -2726,6 +2776,14 @@ NativeCojsonCoreRn::NativeCojsonCoreRn(
2726
2776
  return this->cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_clone_session_log(rt, thisVal, args, count);
2727
2777
  }
2728
2778
  );
2779
+ props["ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_commit_transactions"] = jsi::Function::createFromHostFunction(
2780
+ rt,
2781
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_commit_transactions"),
2782
+ 0,
2783
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
2784
+ return this->cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_commit_transactions(rt, thisVal, args, count);
2785
+ }
2786
+ );
2729
2787
  props["ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_changes_json"] = jsi::Function::createFromHostFunction(
2730
2788
  rt,
2731
2789
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_changes_json"),
@@ -2742,14 +2800,6 @@ NativeCojsonCoreRn::NativeCojsonCoreRn(
2742
2800
  return this->cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_meta_json(rt, thisVal, args, count);
2743
2801
  }
2744
2802
  );
2745
- props["ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_try_add"] = jsi::Function::createFromHostFunction(
2746
- rt,
2747
- jsi::PropNameID::forAscii(rt, "ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_try_add"),
2748
- 0,
2749
- [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
2750
- return this->cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_try_add(rt, thisVal, args, count);
2751
- }
2752
- );
2753
2803
  props["ubrn_uniffi_cojson_core_rn_checksum_constructor_blake3hasher_new"] = jsi::Function::createFromHostFunction(
2754
2804
  rt,
2755
2805
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_cojson_core_rn_checksum_constructor_blake3hasher_new"),
@@ -2954,6 +3004,26 @@ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_fn_constructor_sessionl
2954
3004
 
2955
3005
  return uniffi_jsi::Bridging<void *>::toJs(rt, callInvoker, value);
2956
3006
  }
3007
+ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_private_transaction(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3008
+ RustCallStatus status = uniffi::cojson_core_rn::Bridging<RustCallStatus>::rustSuccess(rt);
3009
+ uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_private_transaction(uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]), uniffi_jsi::Bridging<double>::fromJs(rt, callInvoker, args[3]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]),
3010
+ &status
3011
+ );
3012
+ uniffi::cojson_core_rn::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
3013
+
3014
+
3015
+ return jsi::Value::undefined();
3016
+ }
3017
+ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_trusting_transaction(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3018
+ RustCallStatus status = uniffi::cojson_core_rn::Bridging<RustCallStatus>::rustSuccess(rt);
3019
+ uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_trusting_transaction(uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<double>::fromJs(rt, callInvoker, args[2]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
3020
+ &status
3021
+ );
3022
+ uniffi::cojson_core_rn::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
3023
+
3024
+
3025
+ return jsi::Value::undefined();
3026
+ }
2957
3027
  jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_fn_method_sessionlog_add_new_private_transaction(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
2958
3028
  RustCallStatus status = uniffi::cojson_core_rn::Bridging<RustCallStatus>::rustSuccess(rt);
2959
3029
  auto value = uniffi_cojson_core_rn_fn_method_sessionlog_add_new_private_transaction(uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]), uniffi_jsi::Bridging<double>::fromJs(rt, callInvoker, args[5]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[6]),
@@ -2984,19 +3054,19 @@ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_fn_method_sessionlog_cl
2984
3054
 
2985
3055
  return uniffi_jsi::Bridging<void *>::toJs(rt, callInvoker, value);
2986
3056
  }
2987
- jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_changes_json(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3057
+ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_fn_method_sessionlog_commit_transactions(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
2988
3058
  RustCallStatus status = uniffi::cojson_core_rn::Bridging<RustCallStatus>::rustSuccess(rt);
2989
- auto value = uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_changes_json(uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
3059
+ uniffi_cojson_core_rn_fn_method_sessionlog_commit_transactions(uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[2]),
2990
3060
  &status
2991
3061
  );
2992
3062
  uniffi::cojson_core_rn::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
2993
3063
 
2994
3064
 
2995
- return uniffi::cojson_core_rn::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
3065
+ return jsi::Value::undefined();
2996
3066
  }
2997
- jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_meta_json(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3067
+ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_changes_json(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
2998
3068
  RustCallStatus status = uniffi::cojson_core_rn::Bridging<RustCallStatus>::rustSuccess(rt);
2999
- auto value = uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_meta_json(uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
3069
+ auto value = uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_changes_json(uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
3000
3070
  &status
3001
3071
  );
3002
3072
  uniffi::cojson_core_rn::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
@@ -3004,15 +3074,15 @@ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_fn_method_sessionlog_de
3004
3074
 
3005
3075
  return uniffi::cojson_core_rn::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
3006
3076
  }
3007
- jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_fn_method_sessionlog_try_add(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3077
+ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_meta_json(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3008
3078
  RustCallStatus status = uniffi::cojson_core_rn::Bridging<RustCallStatus>::rustSuccess(rt);
3009
- uniffi_cojson_core_rn_fn_method_sessionlog_try_add(uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[3]),
3079
+ auto value = uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_meta_json(uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]), uniffi::cojson_core_rn::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
3010
3080
  &status
3011
3081
  );
3012
3082
  uniffi::cojson_core_rn::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
3013
3083
 
3014
3084
 
3015
- return jsi::Value::undefined();
3085
+ return uniffi::cojson_core_rn::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
3016
3086
  }
3017
3087
  jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_fn_func_blake3_hash_once(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3018
3088
  RustCallStatus status = uniffi::cojson_core_rn::Bridging<RustCallStatus>::rustSuccess(rt);
@@ -3456,6 +3526,20 @@ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_checksum_method_blake3h
3456
3526
  );
3457
3527
 
3458
3528
 
3529
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
3530
+ }
3531
+ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_private_transaction(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3532
+ auto value = uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_private_transaction(
3533
+ );
3534
+
3535
+
3536
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
3537
+ }
3538
+ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_trusting_transaction(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3539
+ auto value = uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_trusting_transaction(
3540
+ );
3541
+
3542
+
3459
3543
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
3460
3544
  }
3461
3545
  jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_add_new_private_transaction(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -3479,22 +3563,22 @@ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_checksum_method_session
3479
3563
 
3480
3564
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
3481
3565
  }
3482
- jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_changes_json(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3483
- auto value = uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_changes_json(
3566
+ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_commit_transactions(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3567
+ auto value = uniffi_cojson_core_rn_checksum_method_sessionlog_commit_transactions(
3484
3568
  );
3485
3569
 
3486
3570
 
3487
3571
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
3488
3572
  }
3489
- jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_meta_json(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3490
- auto value = uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_meta_json(
3573
+ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_changes_json(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3574
+ auto value = uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_changes_json(
3491
3575
  );
3492
3576
 
3493
3577
 
3494
3578
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
3495
3579
  }
3496
- jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_try_add(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3497
- auto value = uniffi_cojson_core_rn_checksum_method_sessionlog_try_add(
3580
+ jsi::Value NativeCojsonCoreRn::cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_meta_json(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
3581
+ auto value = uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_meta_json(
3498
3582
  );
3499
3583
 
3500
3584
 
@@ -30,12 +30,14 @@ class NativeCojsonCoreRn : public jsi::HostObject {
30
30
  jsi::Value cpp_uniffi_cojson_core_rn_fn_clone_sessionlog(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
31
31
  jsi::Value cpp_uniffi_cojson_core_rn_fn_free_sessionlog(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
32
32
  jsi::Value cpp_uniffi_cojson_core_rn_fn_constructor_sessionlog_new(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
33
+ jsi::Value cpp_uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_private_transaction(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
34
+ jsi::Value cpp_uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_trusting_transaction(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
33
35
  jsi::Value cpp_uniffi_cojson_core_rn_fn_method_sessionlog_add_new_private_transaction(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
34
36
  jsi::Value cpp_uniffi_cojson_core_rn_fn_method_sessionlog_add_new_trusting_transaction(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
35
37
  jsi::Value cpp_uniffi_cojson_core_rn_fn_method_sessionlog_clone_session_log(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
38
+ jsi::Value cpp_uniffi_cojson_core_rn_fn_method_sessionlog_commit_transactions(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
36
39
  jsi::Value cpp_uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_changes_json(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
37
40
  jsi::Value cpp_uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_meta_json(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
38
- jsi::Value cpp_uniffi_cojson_core_rn_fn_method_sessionlog_try_add(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
39
41
  jsi::Value cpp_uniffi_cojson_core_rn_fn_func_blake3_hash_once(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
40
42
  jsi::Value cpp_uniffi_cojson_core_rn_fn_func_blake3_hash_once_with_context(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
41
43
  jsi::Value cpp_uniffi_cojson_core_rn_fn_func_decrypt(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
@@ -89,12 +91,14 @@ class NativeCojsonCoreRn : public jsi::HostObject {
89
91
  jsi::Value cpp_uniffi_cojson_core_rn_checksum_method_blake3hasher_clone_hasher(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
90
92
  jsi::Value cpp_uniffi_cojson_core_rn_checksum_method_blake3hasher_finalize(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
91
93
  jsi::Value cpp_uniffi_cojson_core_rn_checksum_method_blake3hasher_update(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
94
+ jsi::Value cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_private_transaction(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
95
+ jsi::Value cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_trusting_transaction(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
92
96
  jsi::Value cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_add_new_private_transaction(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
93
97
  jsi::Value cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_add_new_trusting_transaction(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
94
98
  jsi::Value cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_clone_session_log(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
99
+ jsi::Value cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_commit_transactions(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
95
100
  jsi::Value cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_changes_json(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
96
101
  jsi::Value cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_meta_json(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
97
- jsi::Value cpp_uniffi_cojson_core_rn_checksum_method_sessionlog_try_add(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
98
102
  jsi::Value cpp_uniffi_cojson_core_rn_checksum_constructor_blake3hasher_new(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
99
103
  jsi::Value cpp_uniffi_cojson_core_rn_checksum_constructor_sessionlog_new(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
100
104
  jsi::Value cpp_ffi_cojson_core_rn_uniffi_contract_version(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
@@ -1 +1 @@
1
- {"version":3,"names":["getter","globalThis","NativeCojsonCoreRn","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/cojson_core_rn-ffi.ts"],"mappings":";;AAAA;AACA;;AA+QA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,kBAAkB;AACxC,eAAeF,MAAM;;AAErB;;AAmHA;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,MAAMG,8CAGL,GAAG,IAAI;AACR,MAAMC,mCAGL,GAAG,IAAI","ignoreList":[]}
1
+ {"version":3,"names":["getter","globalThis","NativeCojsonCoreRn","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/cojson_core_rn-ffi.ts"],"mappings":";;AAAA;AACA;;AA+RA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,kBAAkB;AACxC,eAAeF,MAAM;;AAErB;;AAmHA;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,MAAMG,8CAGL,GAAG,IAAI;AACR,MAAMC,mCAGL,GAAG,IAAI","ignoreList":[]}
@@ -3,7 +3,7 @@
3
3
  // This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate.
4
4
  // Trust me, you don't want to mess with it!
5
5
  import nativeModule from "./cojson_core_rn-ffi.js";
6
- import { AbstractFfiConverterByteArray, FfiConverterArray, FfiConverterArrayBuffer, FfiConverterBool, FfiConverterFloat64, FfiConverterInt32, FfiConverterObject, FfiConverterOptional, FfiConverterUInt32, FfiConverterUInt64, UniffiAbstractObject, UniffiError, UniffiInternalError, UniffiRustCaller, destructorGuardSymbol, pointerLiteralSymbol, uniffiCreateFfiConverterString, uniffiTypeNameSymbol } from 'uniffi-bindgen-react-native';
6
+ import { AbstractFfiConverterByteArray, FfiConverterArrayBuffer, FfiConverterBool, FfiConverterFloat64, FfiConverterInt32, FfiConverterObject, FfiConverterOptional, FfiConverterUInt32, FfiConverterUInt64, UniffiAbstractObject, UniffiError, UniffiInternalError, UniffiRustCaller, destructorGuardSymbol, pointerLiteralSymbol, uniffiCreateFfiConverterString, uniffiTypeNameSymbol } from 'uniffi-bindgen-react-native';
7
7
 
8
8
  // Get converters from the other files, if any.
9
9
  const uniffiCaller = new UniffiRustCaller(() => ({
@@ -1082,6 +1082,28 @@ export class SessionLog extends UniffiAbstractObject {
1082
1082
  this[pointerLiteralSymbol] = pointer;
1083
1083
  this[destructorGuardSymbol] = uniffiTypeSessionLogObjectFactory.bless(pointer);
1084
1084
  }
1085
+
1086
+ /**
1087
+ * Add an existing private transaction to the staging area.
1088
+ * The transaction is NOT committed until commit_transactions() succeeds.
1089
+ * Note: made_at uses f64 because JavaScript's number type is f64.
1090
+ */
1091
+ addExistingPrivateTransaction(encryptedChanges, keyUsed, madeAt, meta) /*throws*/{
1092
+ uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeSessionLogError.lift.bind(FfiConverterTypeSessionLogError), /*caller:*/callStatus => {
1093
+ nativeModule().ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_private_transaction(uniffiTypeSessionLogObjectFactory.clonePointer(this), FfiConverterString.lower(encryptedChanges), FfiConverterString.lower(keyUsed), FfiConverterFloat64.lower(madeAt), FfiConverterOptionalString.lower(meta), callStatus);
1094
+ }, /*liftString:*/FfiConverterString.lift);
1095
+ }
1096
+
1097
+ /**
1098
+ * Add an existing trusting transaction to the staging area.
1099
+ * The transaction is NOT committed until commit_transactions() succeeds.
1100
+ * Note: made_at uses f64 because JavaScript's number type is f64.
1101
+ */
1102
+ addExistingTrustingTransaction(changes, madeAt, meta) /*throws*/{
1103
+ uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeSessionLogError.lift.bind(FfiConverterTypeSessionLogError), /*caller:*/callStatus => {
1104
+ nativeModule().ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_add_existing_trusting_transaction(uniffiTypeSessionLogObjectFactory.clonePointer(this), FfiConverterString.lower(changes), FfiConverterFloat64.lower(madeAt), FfiConverterOptionalString.lower(meta), callStatus);
1105
+ }, /*liftString:*/FfiConverterString.lift);
1106
+ }
1085
1107
  addNewPrivateTransaction(changesJson, signerSecret, encryptionKey, keyId, madeAt, meta) /*throws*/{
1086
1108
  return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeSessionLogError.lift.bind(FfiConverterTypeSessionLogError), /*caller:*/callStatus => {
1087
1109
  return nativeModule().ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_add_new_private_transaction(uniffiTypeSessionLogObjectFactory.clonePointer(this), FfiConverterString.lower(changesJson), FfiConverterString.lower(signerSecret), FfiConverterString.lower(encryptionKey), FfiConverterString.lower(keyId), FfiConverterFloat64.lower(madeAt), FfiConverterOptionalString.lower(meta), callStatus);
@@ -1097,6 +1119,17 @@ export class SessionLog extends UniffiAbstractObject {
1097
1119
  return nativeModule().ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_clone_session_log(uniffiTypeSessionLogObjectFactory.clonePointer(this), callStatus);
1098
1120
  }, /*liftString:*/FfiConverterString.lift));
1099
1121
  }
1122
+
1123
+ /**
1124
+ * Commit pending transactions to the main state.
1125
+ * If skip_validate is false, validates the signature first.
1126
+ * If skip_validate is true, commits without validation.
1127
+ */
1128
+ commitTransactions(newSignatureStr, skipValidate) /*throws*/{
1129
+ uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeSessionLogError.lift.bind(FfiConverterTypeSessionLogError), /*caller:*/callStatus => {
1130
+ nativeModule().ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_commit_transactions(uniffiTypeSessionLogObjectFactory.clonePointer(this), FfiConverterString.lower(newSignatureStr), FfiConverterBool.lower(skipValidate), callStatus);
1131
+ }, /*liftString:*/FfiConverterString.lift);
1132
+ }
1100
1133
  decryptNextTransactionChangesJson(txIndex, encryptionKey) /*throws*/{
1101
1134
  return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeSessionLogError.lift.bind(FfiConverterTypeSessionLogError), /*caller:*/callStatus => {
1102
1135
  return nativeModule().ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_changes_json(uniffiTypeSessionLogObjectFactory.clonePointer(this), FfiConverterUInt32.lower(txIndex), FfiConverterString.lower(encryptionKey), callStatus);
@@ -1107,11 +1140,6 @@ export class SessionLog extends UniffiAbstractObject {
1107
1140
  return nativeModule().ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_decrypt_next_transaction_meta_json(uniffiTypeSessionLogObjectFactory.clonePointer(this), FfiConverterUInt32.lower(txIndex), FfiConverterString.lower(encryptionKey), callStatus);
1108
1141
  }, /*liftString:*/FfiConverterString.lift));
1109
1142
  }
1110
- tryAdd(transactionsJson, newSignatureStr, skipVerify) /*throws*/{
1111
- uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeSessionLogError.lift.bind(FfiConverterTypeSessionLogError), /*caller:*/callStatus => {
1112
- nativeModule().ubrn_uniffi_cojson_core_rn_fn_method_sessionlog_try_add(uniffiTypeSessionLogObjectFactory.clonePointer(this), FfiConverterArrayString.lower(transactionsJson), FfiConverterString.lower(newSignatureStr), FfiConverterBool.lower(skipVerify), callStatus);
1113
- }, /*liftString:*/FfiConverterString.lift);
1114
- }
1115
1143
 
1116
1144
  /**
1117
1145
  * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
@@ -1168,9 +1196,6 @@ const FfiConverterTypeSessionLog = new FfiConverterObject(uniffiTypeSessionLogOb
1168
1196
  // FfiConverter for string | undefined
1169
1197
  const FfiConverterOptionalString = new FfiConverterOptional(FfiConverterString);
1170
1198
 
1171
- // FfiConverter for Array<string>
1172
- const FfiConverterArrayString = new FfiConverterArray(FfiConverterString);
1173
-
1174
1199
  /**
1175
1200
  * This should be called before anything else.
1176
1201
  *
@@ -1273,6 +1298,12 @@ function uniffiEnsureInitialized() {
1273
1298
  if (nativeModule().ubrn_uniffi_cojson_core_rn_checksum_method_blake3hasher_update() !== 27902) {
1274
1299
  throw new UniffiInternalError.ApiChecksumMismatch('uniffi_cojson_core_rn_checksum_method_blake3hasher_update');
1275
1300
  }
1301
+ if (nativeModule().ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_private_transaction() !== 30773) {
1302
+ throw new UniffiInternalError.ApiChecksumMismatch('uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_private_transaction');
1303
+ }
1304
+ if (nativeModule().ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_trusting_transaction() !== 44589) {
1305
+ throw new UniffiInternalError.ApiChecksumMismatch('uniffi_cojson_core_rn_checksum_method_sessionlog_add_existing_trusting_transaction');
1306
+ }
1276
1307
  if (nativeModule().ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_add_new_private_transaction() !== 3753) {
1277
1308
  throw new UniffiInternalError.ApiChecksumMismatch('uniffi_cojson_core_rn_checksum_method_sessionlog_add_new_private_transaction');
1278
1309
  }
@@ -1282,15 +1313,15 @@ function uniffiEnsureInitialized() {
1282
1313
  if (nativeModule().ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_clone_session_log() !== 8261) {
1283
1314
  throw new UniffiInternalError.ApiChecksumMismatch('uniffi_cojson_core_rn_checksum_method_sessionlog_clone_session_log');
1284
1315
  }
1316
+ if (nativeModule().ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_commit_transactions() !== 16470) {
1317
+ throw new UniffiInternalError.ApiChecksumMismatch('uniffi_cojson_core_rn_checksum_method_sessionlog_commit_transactions');
1318
+ }
1285
1319
  if (nativeModule().ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_changes_json() !== 22072) {
1286
1320
  throw new UniffiInternalError.ApiChecksumMismatch('uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_changes_json');
1287
1321
  }
1288
1322
  if (nativeModule().ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_meta_json() !== 5632) {
1289
1323
  throw new UniffiInternalError.ApiChecksumMismatch('uniffi_cojson_core_rn_checksum_method_sessionlog_decrypt_next_transaction_meta_json');
1290
1324
  }
1291
- if (nativeModule().ubrn_uniffi_cojson_core_rn_checksum_method_sessionlog_try_add() !== 21226) {
1292
- throw new UniffiInternalError.ApiChecksumMismatch('uniffi_cojson_core_rn_checksum_method_sessionlog_try_add');
1293
- }
1294
1325
  if (nativeModule().ubrn_uniffi_cojson_core_rn_checksum_constructor_blake3hasher_new() !== 24312) {
1295
1326
  throw new UniffiInternalError.ApiChecksumMismatch('uniffi_cojson_core_rn_checksum_constructor_blake3hasher_new');
1296
1327
  }