@bitwarden/commercial-sdk-internal 0.2.0-main.394 → 0.2.0-main.396

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.
@@ -868,22 +868,10 @@ export function isEncryptFileError(error) {
868
868
  }
869
869
  }
870
870
 
871
- function wasm_bindgen__convert__closures_____invoke__hbb2542ae4cb45009(arg0, arg1, arg2) {
872
- wasm.wasm_bindgen__convert__closures_____invoke__hbb2542ae4cb45009(
873
- arg0,
874
- arg1,
875
- addHeapObject(arg2),
876
- );
877
- }
878
-
879
- function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
880
- wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
881
- }
882
-
883
- function wasm_bindgen__convert__closures_____invoke__hd5a28d1a4ac42f9b(arg0, arg1, arg2) {
871
+ function wasm_bindgen__convert__closures_____invoke__h59c036539ecefa06(arg0, arg1, arg2) {
884
872
  try {
885
873
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
886
- wasm.wasm_bindgen__convert__closures_____invoke__hd5a28d1a4ac42f9b(
874
+ wasm.wasm_bindgen__convert__closures_____invoke__h59c036539ecefa06(
887
875
  retptr,
888
876
  arg0,
889
877
  arg1,
@@ -899,6 +887,18 @@ function wasm_bindgen__convert__closures_____invoke__hd5a28d1a4ac42f9b(arg0, arg
899
887
  }
900
888
  }
901
889
 
890
+ function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
891
+ wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
892
+ }
893
+
894
+ function wasm_bindgen__convert__closures_____invoke__hb0cefc4a47b27ccb(arg0, arg1, arg2) {
895
+ wasm.wasm_bindgen__convert__closures_____invoke__hb0cefc4a47b27ccb(
896
+ arg0,
897
+ arg1,
898
+ addHeapObject(arg2),
899
+ );
900
+ }
901
+
902
902
  function wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f(arg0, arg1, arg2, arg3) {
903
903
  wasm.wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f(
904
904
  arg0,
@@ -1178,171 +1178,6 @@ export class AuthClient {
1178
1178
  }
1179
1179
  if (Symbol.dispose) AuthClient.prototype[Symbol.dispose] = AuthClient.prototype.free;
1180
1180
 
1181
- const BitwardenClientFinalization =
1182
- typeof FinalizationRegistry === "undefined"
1183
- ? { register: () => {}, unregister: () => {} }
1184
- : new FinalizationRegistry((ptr) => wasm.__wbg_bitwardenclient_free(ptr >>> 0, 1));
1185
- /**
1186
- * The main entry point for the Bitwarden SDK in WebAssembly environments
1187
- */
1188
- export class BitwardenClient {
1189
- __destroy_into_raw() {
1190
- const ptr = this.__wbg_ptr;
1191
- this.__wbg_ptr = 0;
1192
- BitwardenClientFinalization.unregister(this);
1193
- return ptr;
1194
- }
1195
-
1196
- free() {
1197
- const ptr = this.__destroy_into_raw();
1198
- wasm.__wbg_bitwardenclient_free(ptr, 0);
1199
- }
1200
- /**
1201
- * Initialize a new instance of the SDK client
1202
- * @param {any} token_provider
1203
- * @param {ClientSettings | null} [settings]
1204
- */
1205
- constructor(token_provider, settings) {
1206
- const ret = wasm.bitwardenclient_new(
1207
- addHeapObject(token_provider),
1208
- isLikeNone(settings) ? 0 : addHeapObject(settings),
1209
- );
1210
- this.__wbg_ptr = ret >>> 0;
1211
- BitwardenClientFinalization.register(this, this.__wbg_ptr, this);
1212
- return this;
1213
- }
1214
- /**
1215
- * Test method, echoes back the input
1216
- * @param {string} msg
1217
- * @returns {string}
1218
- */
1219
- echo(msg) {
1220
- let deferred2_0;
1221
- let deferred2_1;
1222
- try {
1223
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1224
- const ptr0 = passStringToWasm0(msg, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1225
- const len0 = WASM_VECTOR_LEN;
1226
- wasm.bitwardenclient_echo(retptr, this.__wbg_ptr, ptr0, len0);
1227
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1228
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1229
- deferred2_0 = r0;
1230
- deferred2_1 = r1;
1231
- return getStringFromWasm0(r0, r1);
1232
- } finally {
1233
- wasm.__wbindgen_add_to_stack_pointer(16);
1234
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
1235
- }
1236
- }
1237
- /**
1238
- * Returns the current SDK version
1239
- * @returns {string}
1240
- */
1241
- version() {
1242
- let deferred1_0;
1243
- let deferred1_1;
1244
- try {
1245
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1246
- wasm.bitwardenclient_version(retptr, this.__wbg_ptr);
1247
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1248
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1249
- deferred1_0 = r0;
1250
- deferred1_1 = r1;
1251
- return getStringFromWasm0(r0, r1);
1252
- } finally {
1253
- wasm.__wbindgen_add_to_stack_pointer(16);
1254
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
1255
- }
1256
- }
1257
- /**
1258
- * Test method, always throws an error
1259
- * @param {string} msg
1260
- */
1261
- throw(msg) {
1262
- try {
1263
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1264
- const ptr0 = passStringToWasm0(msg, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1265
- const len0 = WASM_VECTOR_LEN;
1266
- wasm.bitwardenclient_throw(retptr, this.__wbg_ptr, ptr0, len0);
1267
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1268
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1269
- if (r1) {
1270
- throw takeObject(r0);
1271
- }
1272
- } finally {
1273
- wasm.__wbindgen_add_to_stack_pointer(16);
1274
- }
1275
- }
1276
- /**
1277
- * Test method, calls http endpoint
1278
- * @param {string} url
1279
- * @returns {Promise<string>}
1280
- */
1281
- http_get(url) {
1282
- const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1283
- const len0 = WASM_VECTOR_LEN;
1284
- const ret = wasm.bitwardenclient_http_get(this.__wbg_ptr, ptr0, len0);
1285
- return takeObject(ret);
1286
- }
1287
- /**
1288
- * Auth related operations.
1289
- * @returns {AuthClient}
1290
- */
1291
- auth() {
1292
- const ret = wasm.bitwardenclient_auth(this.__wbg_ptr);
1293
- return AuthClient.__wrap(ret);
1294
- }
1295
- /**
1296
- * Bitwarden licensed operations.
1297
- * @returns {CommercialPasswordManagerClient}
1298
- */
1299
- commercial() {
1300
- const ret = wasm.bitwardenclient_commercial(this.__wbg_ptr);
1301
- return CommercialPasswordManagerClient.__wrap(ret);
1302
- }
1303
- /**
1304
- * Crypto related operations.
1305
- * @returns {CryptoClient}
1306
- */
1307
- crypto() {
1308
- const ret = wasm.bitwardenclient_crypto(this.__wbg_ptr);
1309
- return CryptoClient.__wrap(ret);
1310
- }
1311
- /**
1312
- * Vault item related operations.
1313
- * @returns {VaultClient}
1314
- */
1315
- vault() {
1316
- const ret = wasm.bitwardenclient_vault(this.__wbg_ptr);
1317
- return VaultClient.__wrap(ret);
1318
- }
1319
- /**
1320
- * Constructs a specific client for platform-specific functionality
1321
- * @returns {PlatformClient}
1322
- */
1323
- platform() {
1324
- const ret = wasm.bitwardenclient_platform(this.__wbg_ptr);
1325
- return PlatformClient.__wrap(ret);
1326
- }
1327
- /**
1328
- * Constructs a specific client for generating passwords and passphrases
1329
- * @returns {GeneratorClient}
1330
- */
1331
- generator() {
1332
- const ret = wasm.bitwardenclient_generator(this.__wbg_ptr);
1333
- return GeneratorClient.__wrap(ret);
1334
- }
1335
- /**
1336
- * Exporter related operations.
1337
- * @returns {ExporterClient}
1338
- */
1339
- exporters() {
1340
- const ret = wasm.bitwardenclient_exporters(this.__wbg_ptr);
1341
- return ExporterClient.__wrap(ret);
1342
- }
1343
- }
1344
- if (Symbol.dispose) BitwardenClient.prototype[Symbol.dispose] = BitwardenClient.prototype.free;
1345
-
1346
1181
  const CipherRiskClientFinalization =
1347
1182
  typeof FinalizationRegistry === "undefined"
1348
1183
  ? { register: () => {}, unregister: () => {} }
@@ -3224,6 +3059,172 @@ export class OutgoingMessage {
3224
3059
  }
3225
3060
  if (Symbol.dispose) OutgoingMessage.prototype[Symbol.dispose] = OutgoingMessage.prototype.free;
3226
3061
 
3062
+ const PasswordManagerClientFinalization =
3063
+ typeof FinalizationRegistry === "undefined"
3064
+ ? { register: () => {}, unregister: () => {} }
3065
+ : new FinalizationRegistry((ptr) => wasm.__wbg_passwordmanagerclient_free(ptr >>> 0, 1));
3066
+ /**
3067
+ * The main entry point for the Bitwarden SDK in WebAssembly environments
3068
+ */
3069
+ export class PasswordManagerClient {
3070
+ __destroy_into_raw() {
3071
+ const ptr = this.__wbg_ptr;
3072
+ this.__wbg_ptr = 0;
3073
+ PasswordManagerClientFinalization.unregister(this);
3074
+ return ptr;
3075
+ }
3076
+
3077
+ free() {
3078
+ const ptr = this.__destroy_into_raw();
3079
+ wasm.__wbg_passwordmanagerclient_free(ptr, 0);
3080
+ }
3081
+ /**
3082
+ * Initialize a new instance of the SDK client
3083
+ * @param {any} token_provider
3084
+ * @param {ClientSettings | null} [settings]
3085
+ */
3086
+ constructor(token_provider, settings) {
3087
+ const ret = wasm.passwordmanagerclient_new(
3088
+ addHeapObject(token_provider),
3089
+ isLikeNone(settings) ? 0 : addHeapObject(settings),
3090
+ );
3091
+ this.__wbg_ptr = ret >>> 0;
3092
+ PasswordManagerClientFinalization.register(this, this.__wbg_ptr, this);
3093
+ return this;
3094
+ }
3095
+ /**
3096
+ * Test method, echoes back the input
3097
+ * @param {string} msg
3098
+ * @returns {string}
3099
+ */
3100
+ echo(msg) {
3101
+ let deferred2_0;
3102
+ let deferred2_1;
3103
+ try {
3104
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3105
+ const ptr0 = passStringToWasm0(msg, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3106
+ const len0 = WASM_VECTOR_LEN;
3107
+ wasm.passwordmanagerclient_echo(retptr, this.__wbg_ptr, ptr0, len0);
3108
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3109
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3110
+ deferred2_0 = r0;
3111
+ deferred2_1 = r1;
3112
+ return getStringFromWasm0(r0, r1);
3113
+ } finally {
3114
+ wasm.__wbindgen_add_to_stack_pointer(16);
3115
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
3116
+ }
3117
+ }
3118
+ /**
3119
+ * Returns the current SDK version
3120
+ * @returns {string}
3121
+ */
3122
+ version() {
3123
+ let deferred1_0;
3124
+ let deferred1_1;
3125
+ try {
3126
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3127
+ wasm.passwordmanagerclient_version(retptr, this.__wbg_ptr);
3128
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3129
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3130
+ deferred1_0 = r0;
3131
+ deferred1_1 = r1;
3132
+ return getStringFromWasm0(r0, r1);
3133
+ } finally {
3134
+ wasm.__wbindgen_add_to_stack_pointer(16);
3135
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
3136
+ }
3137
+ }
3138
+ /**
3139
+ * Test method, always throws an error
3140
+ * @param {string} msg
3141
+ */
3142
+ throw(msg) {
3143
+ try {
3144
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3145
+ const ptr0 = passStringToWasm0(msg, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3146
+ const len0 = WASM_VECTOR_LEN;
3147
+ wasm.passwordmanagerclient_throw(retptr, this.__wbg_ptr, ptr0, len0);
3148
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3149
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3150
+ if (r1) {
3151
+ throw takeObject(r0);
3152
+ }
3153
+ } finally {
3154
+ wasm.__wbindgen_add_to_stack_pointer(16);
3155
+ }
3156
+ }
3157
+ /**
3158
+ * Test method, calls http endpoint
3159
+ * @param {string} url
3160
+ * @returns {Promise<string>}
3161
+ */
3162
+ http_get(url) {
3163
+ const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3164
+ const len0 = WASM_VECTOR_LEN;
3165
+ const ret = wasm.passwordmanagerclient_http_get(this.__wbg_ptr, ptr0, len0);
3166
+ return takeObject(ret);
3167
+ }
3168
+ /**
3169
+ * Auth related operations.
3170
+ * @returns {AuthClient}
3171
+ */
3172
+ auth() {
3173
+ const ret = wasm.passwordmanagerclient_auth(this.__wbg_ptr);
3174
+ return AuthClient.__wrap(ret);
3175
+ }
3176
+ /**
3177
+ * Bitwarden licensed operations.
3178
+ * @returns {CommercialPasswordManagerClient}
3179
+ */
3180
+ commercial() {
3181
+ const ret = wasm.passwordmanagerclient_commercial(this.__wbg_ptr);
3182
+ return CommercialPasswordManagerClient.__wrap(ret);
3183
+ }
3184
+ /**
3185
+ * Crypto related operations.
3186
+ * @returns {CryptoClient}
3187
+ */
3188
+ crypto() {
3189
+ const ret = wasm.passwordmanagerclient_crypto(this.__wbg_ptr);
3190
+ return CryptoClient.__wrap(ret);
3191
+ }
3192
+ /**
3193
+ * Vault item related operations.
3194
+ * @returns {VaultClient}
3195
+ */
3196
+ vault() {
3197
+ const ret = wasm.passwordmanagerclient_vault(this.__wbg_ptr);
3198
+ return VaultClient.__wrap(ret);
3199
+ }
3200
+ /**
3201
+ * Constructs a specific client for platform-specific functionality
3202
+ * @returns {PlatformClient}
3203
+ */
3204
+ platform() {
3205
+ const ret = wasm.passwordmanagerclient_platform(this.__wbg_ptr);
3206
+ return PlatformClient.__wrap(ret);
3207
+ }
3208
+ /**
3209
+ * Constructs a specific client for generating passwords and passphrases
3210
+ * @returns {GeneratorClient}
3211
+ */
3212
+ generator() {
3213
+ const ret = wasm.passwordmanagerclient_generator(this.__wbg_ptr);
3214
+ return GeneratorClient.__wrap(ret);
3215
+ }
3216
+ /**
3217
+ * Exporter related operations.
3218
+ * @returns {ExporterClient}
3219
+ */
3220
+ exporters() {
3221
+ const ret = wasm.passwordmanagerclient_exporters(this.__wbg_ptr);
3222
+ return ExporterClient.__wrap(ret);
3223
+ }
3224
+ }
3225
+ if (Symbol.dispose)
3226
+ PasswordManagerClient.prototype[Symbol.dispose] = PasswordManagerClient.prototype.free;
3227
+
3227
3228
  const PlatformClientFinalization =
3228
3229
  typeof FinalizationRegistry === "undefined"
3229
3230
  ? { register: () => {}, unregister: () => {} }
@@ -3253,7 +3254,7 @@ export class PlatformClient {
3253
3254
  * @returns {StateClient}
3254
3255
  */
3255
3256
  state() {
3256
- const ret = wasm.bitwardenclient_platform(this.__wbg_ptr);
3257
+ const ret = wasm.passwordmanagerclient_platform(this.__wbg_ptr);
3257
3258
  return StateClient.__wrap(ret);
3258
3259
  }
3259
3260
  /**
@@ -4506,7 +4507,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
4506
4507
  }, arguments);
4507
4508
  }
4508
4509
 
4509
- export function __wbg_cipher_bfa1892c754b7af0(arg0) {
4510
+ export function __wbg_cipher_063587a007184a5b(arg0) {
4510
4511
  const ret = getObject(arg0).cipher;
4511
4512
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4512
4513
  }
@@ -4599,7 +4600,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
4599
4600
  return addHeapObject(ret);
4600
4601
  }
4601
4602
 
4602
- export function __wbg_folder_a20cb32134a2391c(arg0) {
4603
+ export function __wbg_folder_95171ac6b8c27a8c(arg0) {
4603
4604
  const ret = getObject(arg0).folder;
4604
4605
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4605
4606
  }
@@ -4626,22 +4627,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
4626
4627
  return ret;
4627
4628
  }
4628
4629
 
4629
- export function __wbg_get_3c2f69a2a0b542fa() {
4630
- return handleError(function (arg0, arg1, arg2) {
4631
- let deferred0_0;
4632
- let deferred0_1;
4633
- try {
4634
- deferred0_0 = arg1;
4635
- deferred0_1 = arg2;
4636
- const ret = getObject(arg0).get(getStringFromWasm0(arg1, arg2));
4637
- return addHeapObject(ret);
4638
- } finally {
4639
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
4640
- }
4641
- }, arguments);
4642
- }
4643
-
4644
- export function __wbg_get_729bb17622e32fbe() {
4630
+ export function __wbg_get_1838d0ffbb0df13f() {
4645
4631
  return handleError(function (arg0, arg1, arg2) {
4646
4632
  let deferred0_0;
4647
4633
  let deferred0_1;
@@ -4661,7 +4647,7 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4661
4647
  return addHeapObject(ret);
4662
4648
  }
4663
4649
 
4664
- export function __wbg_get_access_token_8ae90d4959cc3fed(arg0) {
4650
+ export function __wbg_get_access_token_67b9a6854891236e(arg0) {
4665
4651
  const ret = getObject(arg0).get_access_token();
4666
4652
  return addHeapObject(ret);
4667
4653
  }
@@ -4673,6 +4659,21 @@ export function __wbg_get_efcb449f58ec27c2() {
4673
4659
  }, arguments);
4674
4660
  }
4675
4661
 
4662
+ export function __wbg_get_f97d1609fe1ef27f() {
4663
+ return handleError(function (arg0, arg1, arg2) {
4664
+ let deferred0_0;
4665
+ let deferred0_1;
4666
+ try {
4667
+ deferred0_0 = arg1;
4668
+ deferred0_1 = arg2;
4669
+ const ret = getObject(arg0).get(getStringFromWasm0(arg1, arg2));
4670
+ return addHeapObject(ret);
4671
+ } finally {
4672
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
4673
+ }
4674
+ }, arguments);
4675
+ }
4676
+
4676
4677
  export function __wbg_get_with_ref_key_1dc361bd10053bfe(arg0, arg1) {
4677
4678
  const ret = getObject(arg0)[getObject(arg1)];
4678
4679
  return addHeapObject(ret);
@@ -4857,14 +4858,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
4857
4858
  return ret;
4858
4859
  }
4859
4860
 
4860
- export function __wbg_list_051d904cdfd79905() {
4861
+ export function __wbg_list_61f135d00ba1fd36() {
4861
4862
  return handleError(function (arg0) {
4862
4863
  const ret = getObject(arg0).list();
4863
4864
  return addHeapObject(ret);
4864
4865
  }, arguments);
4865
4866
  }
4866
4867
 
4867
- export function __wbg_list_8d181ad99524aa33() {
4868
+ export function __wbg_list_a02566fdc340b1ad() {
4868
4869
  return handleError(function (arg0) {
4869
4870
  const ret = getObject(arg0).list();
4870
4871
  return addHeapObject(ret);
@@ -5108,7 +5109,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
5108
5109
  }, arguments);
5109
5110
  }
5110
5111
 
5111
- export function __wbg_remove_065dfc4de9f12f65() {
5112
+ export function __wbg_remove_3594f15e8fca4743() {
5112
5113
  return handleError(function (arg0, arg1, arg2) {
5113
5114
  let deferred0_0;
5114
5115
  let deferred0_1;
@@ -5123,7 +5124,7 @@ export function __wbg_remove_065dfc4de9f12f65() {
5123
5124
  }, arguments);
5124
5125
  }
5125
5126
 
5126
- export function __wbg_remove_bcb44e8a1d1bdd2c() {
5127
+ export function __wbg_remove_9c4c3e3b67e6b3a1() {
5127
5128
  return handleError(function (arg0, arg1, arg2) {
5128
5129
  let deferred0_0;
5129
5130
  let deferred0_1;
@@ -5169,11 +5170,7 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
5169
5170
  return addHeapObject(ret);
5170
5171
  }
5171
5172
 
5172
- export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5173
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5174
- }
5175
-
5176
- export function __wbg_set_4881b2237c76b95f() {
5173
+ export function __wbg_set_0159738cb1dd7a1d() {
5177
5174
  return handleError(function (arg0, arg1, arg2, arg3) {
5178
5175
  let deferred0_0;
5179
5176
  let deferred0_1;
@@ -5188,7 +5185,11 @@ export function __wbg_set_4881b2237c76b95f() {
5188
5185
  }, arguments);
5189
5186
  }
5190
5187
 
5191
- export function __wbg_set_68faafa99a28839c() {
5188
+ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5189
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5190
+ }
5191
+
5192
+ export function __wbg_set_834a40164c1f126c() {
5192
5193
  return handleError(function (arg0, arg1, arg2, arg3) {
5193
5194
  let deferred0_0;
5194
5195
  let deferred0_1;
@@ -5391,19 +5392,30 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
5391
5392
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5392
5393
  }
5393
5394
 
5395
+ export function __wbindgen_cast_1dc3b0d4f0abedd3(arg0, arg1) {
5396
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 298, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5397
+ const ret = makeMutClosure(
5398
+ arg0,
5399
+ arg1,
5400
+ wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
5401
+ wasm_bindgen__convert__closures_____invoke__hb0cefc4a47b27ccb,
5402
+ );
5403
+ return addHeapObject(ret);
5404
+ }
5405
+
5394
5406
  export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
5395
5407
  // Cast intrinsic for `Ref(String) -> Externref`.
5396
5408
  const ret = getStringFromWasm0(arg0, arg1);
5397
5409
  return addHeapObject(ret);
5398
5410
  }
5399
5411
 
5400
- export function __wbindgen_cast_3bdbc0e1dbbca79e(arg0, arg1) {
5401
- // Cast intrinsic for `Closure(Closure { dtor_idx: 548, function: Function { arguments: [], shim_idx: 302, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5412
+ export function __wbindgen_cast_4042b341512ce63a(arg0, arg1) {
5413
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5402
5414
  const ret = makeMutClosure(
5403
5415
  arg0,
5404
5416
  arg1,
5405
- wasm.wasm_bindgen__closure__destroy__hfcb631b72e5e985c,
5406
- wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e,
5417
+ wasm.wasm_bindgen__closure__destroy__hd2baf0154e030ab9,
5418
+ wasm_bindgen__convert__closures_____invoke__hb0cefc4a47b27ccb,
5407
5419
  );
5408
5420
  return addHeapObject(ret);
5409
5421
  }
@@ -5422,6 +5434,17 @@ export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
5422
5434
  return addHeapObject(ret);
5423
5435
  }
5424
5436
 
5437
+ export function __wbindgen_cast_6b441f2e42512d6e(arg0, arg1) {
5438
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 545, function: Function { arguments: [], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5439
+ const ret = makeMutClosure(
5440
+ arg0,
5441
+ arg1,
5442
+ wasm.wasm_bindgen__closure__destroy__hfcb631b72e5e985c,
5443
+ wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e,
5444
+ );
5445
+ return addHeapObject(ret);
5446
+ }
5447
+
5425
5448
  export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
5426
5449
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
5427
5450
  wasm.__wbindgen_free(arg0, arg1 * 4, 4);
@@ -5436,53 +5459,31 @@ export function __wbindgen_cast_9ae0607507abb057(arg0) {
5436
5459
  return addHeapObject(ret);
5437
5460
  }
5438
5461
 
5439
- export function __wbindgen_cast_a99d902873e45bb1(arg0, arg1) {
5440
- // Cast intrinsic for `Closure(Closure { dtor_idx: 301, function: Function { arguments: [Externref], shim_idx: 40, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5441
- const ret = makeMutClosure(
5442
- arg0,
5443
- arg1,
5444
- wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
5445
- wasm_bindgen__convert__closures_____invoke__hbb2542ae4cb45009,
5446
- );
5447
- return addHeapObject(ret);
5448
- }
5449
-
5450
- export function __wbindgen_cast_c56a9a44151353f2(arg0, arg1) {
5451
- // Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [NamedExternref("Event")], shim_idx: 42, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5452
- const ret = makeMutClosure(
5453
- arg0,
5454
- arg1,
5455
- wasm.wasm_bindgen__closure__destroy__h23c4eb650ac78f8a,
5456
- wasm_bindgen__convert__closures_____invoke__hd5a28d1a4ac42f9b,
5457
- );
5462
+ export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
5463
+ // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
5464
+ const ret = getArrayU8FromWasm0(arg0, arg1);
5458
5465
  return addHeapObject(ret);
5459
5466
  }
5460
5467
 
5461
- export function __wbindgen_cast_c6953dec10624911(arg0, arg1) {
5462
- // Cast intrinsic for `Closure(Closure { dtor_idx: 39, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 40, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5468
+ export function __wbindgen_cast_d49c305f67640cb1(arg0, arg1) {
5469
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("Event")], shim_idx: 42, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
5463
5470
  const ret = makeMutClosure(
5464
5471
  arg0,
5465
5472
  arg1,
5466
- wasm.wasm_bindgen__closure__destroy__h23c4eb650ac78f8a,
5467
- wasm_bindgen__convert__closures_____invoke__hbb2542ae4cb45009,
5473
+ wasm.wasm_bindgen__closure__destroy__hd2baf0154e030ab9,
5474
+ wasm_bindgen__convert__closures_____invoke__h59c036539ecefa06,
5468
5475
  );
5469
5476
  return addHeapObject(ret);
5470
5477
  }
5471
5478
 
5472
- export function __wbindgen_cast_cb9088102bce6b30(arg0, arg1) {
5473
- // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
5474
- const ret = getArrayU8FromWasm0(arg0, arg1);
5475
- return addHeapObject(ret);
5476
- }
5477
-
5478
5479
  export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
5479
5480
  // Cast intrinsic for `F64 -> Externref`.
5480
5481
  const ret = arg0;
5481
5482
  return addHeapObject(ret);
5482
5483
  }
5483
5484
 
5484
- export function __wbindgen_cast_e1b8613407289e9c(arg0, arg1) {
5485
- // Cast intrinsic for `Closure(Closure { dtor_idx: 301, function: Function { arguments: [], shim_idx: 302, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5485
+ export function __wbindgen_cast_d87bfd09ab1288e4(arg0, arg1) {
5486
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 298, function: Function { arguments: [], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
5486
5487
  const ret = makeMutClosure(
5487
5488
  arg0,
5488
5489
  arg1,
Binary file