@bitwarden/commercial-sdk-internal 0.2.0-main.434 → 0.2.0-main.435
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bitwarden_wasm_internal.d.ts +501 -501
- package/bitwarden_wasm_internal_bg.js +150 -150
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +9 -9
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +501 -501
- package/node/bitwarden_wasm_internal.js +144 -144
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +9 -9
- package/package.json +1 -1
|
@@ -205,6 +205,16 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
|
205
205
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
|
209
|
+
ptr = ptr >>> 0;
|
|
210
|
+
const mem = getDataViewMemory0();
|
|
211
|
+
const result = [];
|
|
212
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
213
|
+
result.push(takeObject(mem.getUint32(i, true)));
|
|
214
|
+
}
|
|
215
|
+
return result;
|
|
216
|
+
}
|
|
217
|
+
|
|
208
218
|
const CLOSURE_DTORS =
|
|
209
219
|
typeof FinalizationRegistry === "undefined"
|
|
210
220
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -237,16 +247,6 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|
|
237
247
|
return real;
|
|
238
248
|
}
|
|
239
249
|
|
|
240
|
-
function getArrayJsValueFromWasm0(ptr, len) {
|
|
241
|
-
ptr = ptr >>> 0;
|
|
242
|
-
const mem = getDataViewMemory0();
|
|
243
|
-
const result = [];
|
|
244
|
-
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
245
|
-
result.push(takeObject(mem.getUint32(i, true)));
|
|
246
|
-
}
|
|
247
|
-
return result;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
250
|
function passArray8ToWasm0(arg, malloc) {
|
|
251
251
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
252
252
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -254,33 +254,21 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
254
254
|
return ptr;
|
|
255
255
|
}
|
|
256
256
|
/**
|
|
257
|
-
*
|
|
258
|
-
* to an OpenSSH private key with public key and fingerprint
|
|
257
|
+
* Generate a new SSH key pair
|
|
259
258
|
*
|
|
260
259
|
* # Arguments
|
|
261
|
-
* - `
|
|
262
|
-
* - `password` - The password to use for decrypting the key
|
|
260
|
+
* - `key_algorithm` - The algorithm to use for the key pair
|
|
263
261
|
*
|
|
264
262
|
* # Returns
|
|
265
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
266
|
-
* - `Err(
|
|
267
|
-
*
|
|
268
|
-
* - `Err(ParsingError)` if the key could not be parsed
|
|
269
|
-
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
270
|
-
* @param {string} imported_key
|
|
271
|
-
* @param {string | null} [password]
|
|
263
|
+
* - `Ok(SshKey)` if the key was successfully generated
|
|
264
|
+
* - `Err(KeyGenerationError)` if the key could not be generated
|
|
265
|
+
* @param {KeyAlgorithm} key_algorithm
|
|
272
266
|
* @returns {SshKeyView}
|
|
273
267
|
*/
|
|
274
|
-
exports.
|
|
268
|
+
exports.generate_ssh_key = function (key_algorithm) {
|
|
275
269
|
try {
|
|
276
270
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
277
|
-
|
|
278
|
-
const len0 = WASM_VECTOR_LEN;
|
|
279
|
-
var ptr1 = isLikeNone(password)
|
|
280
|
-
? 0
|
|
281
|
-
: passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
282
|
-
var len1 = WASM_VECTOR_LEN;
|
|
283
|
-
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
271
|
+
wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
|
|
284
272
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
285
273
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
286
274
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -294,21 +282,33 @@ exports.import_ssh_key = function (imported_key, password) {
|
|
|
294
282
|
};
|
|
295
283
|
|
|
296
284
|
/**
|
|
297
|
-
*
|
|
285
|
+
* Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
|
|
286
|
+
* to an OpenSSH private key with public key and fingerprint
|
|
298
287
|
*
|
|
299
288
|
* # Arguments
|
|
300
|
-
* - `
|
|
289
|
+
* - `imported_key` - The private key to convert
|
|
290
|
+
* - `password` - The password to use for decrypting the key
|
|
301
291
|
*
|
|
302
292
|
* # Returns
|
|
303
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
304
|
-
* - `Err(
|
|
305
|
-
*
|
|
293
|
+
* - `Ok(SshKey)` if the key was successfully coneverted
|
|
294
|
+
* - `Err(PasswordRequired)` if the key is encrypted and no password was provided
|
|
295
|
+
* - `Err(WrongPassword)` if the password provided is incorrect
|
|
296
|
+
* - `Err(ParsingError)` if the key could not be parsed
|
|
297
|
+
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
298
|
+
* @param {string} imported_key
|
|
299
|
+
* @param {string | null} [password]
|
|
306
300
|
* @returns {SshKeyView}
|
|
307
301
|
*/
|
|
308
|
-
exports.
|
|
302
|
+
exports.import_ssh_key = function (imported_key, password) {
|
|
309
303
|
try {
|
|
310
304
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
311
|
-
wasm.
|
|
305
|
+
const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
306
|
+
const len0 = WASM_VECTOR_LEN;
|
|
307
|
+
var ptr1 = isLikeNone(password)
|
|
308
|
+
? 0
|
|
309
|
+
: passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
310
|
+
var len1 = WASM_VECTOR_LEN;
|
|
311
|
+
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
312
312
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
313
313
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
314
314
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -391,9 +391,9 @@ exports.isAccountCryptographyInitializationError = function (error) {
|
|
|
391
391
|
* @param {any} error
|
|
392
392
|
* @returns {boolean}
|
|
393
393
|
*/
|
|
394
|
-
exports.
|
|
394
|
+
exports.isEnrollAdminPasswordResetError = function (error) {
|
|
395
395
|
try {
|
|
396
|
-
const ret = wasm.
|
|
396
|
+
const ret = wasm.isEnrollAdminPasswordResetError(addBorrowedObject(error));
|
|
397
397
|
return ret !== 0;
|
|
398
398
|
} finally {
|
|
399
399
|
heap[stack_pointer++] = undefined;
|
|
@@ -404,9 +404,9 @@ exports.isDeriveKeyConnectorError = function (error) {
|
|
|
404
404
|
* @param {any} error
|
|
405
405
|
* @returns {boolean}
|
|
406
406
|
*/
|
|
407
|
-
exports.
|
|
407
|
+
exports.isCryptoClientError = function (error) {
|
|
408
408
|
try {
|
|
409
|
-
const ret = wasm.
|
|
409
|
+
const ret = wasm.isCryptoClientError(addBorrowedObject(error));
|
|
410
410
|
return ret !== 0;
|
|
411
411
|
} finally {
|
|
412
412
|
heap[stack_pointer++] = undefined;
|
|
@@ -417,9 +417,9 @@ exports.isEnrollAdminPasswordResetError = function (error) {
|
|
|
417
417
|
* @param {any} error
|
|
418
418
|
* @returns {boolean}
|
|
419
419
|
*/
|
|
420
|
-
exports.
|
|
420
|
+
exports.isDeriveKeyConnectorError = function (error) {
|
|
421
421
|
try {
|
|
422
|
-
const ret = wasm.
|
|
422
|
+
const ret = wasm.isDeriveKeyConnectorError(addBorrowedObject(error));
|
|
423
423
|
return ret !== 0;
|
|
424
424
|
} finally {
|
|
425
425
|
heap[stack_pointer++] = undefined;
|
|
@@ -517,9 +517,9 @@ exports.isUsernameError = function (error) {
|
|
|
517
517
|
* @param {any} error
|
|
518
518
|
* @returns {boolean}
|
|
519
519
|
*/
|
|
520
|
-
exports.
|
|
520
|
+
exports.isSubscribeError = function (error) {
|
|
521
521
|
try {
|
|
522
|
-
const ret = wasm.
|
|
522
|
+
const ret = wasm.isSubscribeError(addBorrowedObject(error));
|
|
523
523
|
return ret !== 0;
|
|
524
524
|
} finally {
|
|
525
525
|
heap[stack_pointer++] = undefined;
|
|
@@ -530,9 +530,9 @@ exports.isRequestError = function (error) {
|
|
|
530
530
|
* @param {any} error
|
|
531
531
|
* @returns {boolean}
|
|
532
532
|
*/
|
|
533
|
-
exports.
|
|
533
|
+
exports.isRequestError = function (error) {
|
|
534
534
|
try {
|
|
535
|
-
const ret = wasm.
|
|
535
|
+
const ret = wasm.isRequestError(addBorrowedObject(error));
|
|
536
536
|
return ret !== 0;
|
|
537
537
|
} finally {
|
|
538
538
|
heap[stack_pointer++] = undefined;
|
|
@@ -543,9 +543,9 @@ exports.isTypedReceiveError = function (error) {
|
|
|
543
543
|
* @param {any} error
|
|
544
544
|
* @returns {boolean}
|
|
545
545
|
*/
|
|
546
|
-
exports.
|
|
546
|
+
exports.isReceiveError = function (error) {
|
|
547
547
|
try {
|
|
548
|
-
const ret = wasm.
|
|
548
|
+
const ret = wasm.isReceiveError(addBorrowedObject(error));
|
|
549
549
|
return ret !== 0;
|
|
550
550
|
} finally {
|
|
551
551
|
heap[stack_pointer++] = undefined;
|
|
@@ -556,9 +556,9 @@ exports.isSubscribeError = function (error) {
|
|
|
556
556
|
* @param {any} error
|
|
557
557
|
* @returns {boolean}
|
|
558
558
|
*/
|
|
559
|
-
exports.
|
|
559
|
+
exports.isTypedReceiveError = function (error) {
|
|
560
560
|
try {
|
|
561
|
-
const ret = wasm.
|
|
561
|
+
const ret = wasm.isTypedReceiveError(addBorrowedObject(error));
|
|
562
562
|
return ret !== 0;
|
|
563
563
|
} finally {
|
|
564
564
|
heap[stack_pointer++] = undefined;
|
|
@@ -574,9 +574,9 @@ function _assertClass(instance, klass) {
|
|
|
574
574
|
* @param {any} error
|
|
575
575
|
* @returns {boolean}
|
|
576
576
|
*/
|
|
577
|
-
exports.
|
|
577
|
+
exports.isChannelError = function (error) {
|
|
578
578
|
try {
|
|
579
|
-
const ret = wasm.
|
|
579
|
+
const ret = wasm.isChannelError(addBorrowedObject(error));
|
|
580
580
|
return ret !== 0;
|
|
581
581
|
} finally {
|
|
582
582
|
heap[stack_pointer++] = undefined;
|
|
@@ -587,15 +587,27 @@ exports.isDeserializeError = function (error) {
|
|
|
587
587
|
* @param {any} error
|
|
588
588
|
* @returns {boolean}
|
|
589
589
|
*/
|
|
590
|
-
exports.
|
|
590
|
+
exports.isDeserializeError = function (error) {
|
|
591
591
|
try {
|
|
592
|
-
const ret = wasm.
|
|
592
|
+
const ret = wasm.isDeserializeError(addBorrowedObject(error));
|
|
593
593
|
return ret !== 0;
|
|
594
594
|
} finally {
|
|
595
595
|
heap[stack_pointer++] = undefined;
|
|
596
596
|
}
|
|
597
597
|
};
|
|
598
598
|
|
|
599
|
+
/**
|
|
600
|
+
* Registers a DiscoverHandler so that the client can respond to DiscoverRequests.
|
|
601
|
+
* @param {IpcClient} ipc_client
|
|
602
|
+
* @param {DiscoverResponse} response
|
|
603
|
+
* @returns {Promise<void>}
|
|
604
|
+
*/
|
|
605
|
+
exports.ipcRegisterDiscoverHandler = function (ipc_client, response) {
|
|
606
|
+
_assertClass(ipc_client, IpcClient);
|
|
607
|
+
const ret = wasm.ipcRegisterDiscoverHandler(ipc_client.__wbg_ptr, addHeapObject(response));
|
|
608
|
+
return takeObject(ret);
|
|
609
|
+
};
|
|
610
|
+
|
|
599
611
|
/**
|
|
600
612
|
* Sends a DiscoverRequest to the specified destination and returns the response.
|
|
601
613
|
* @param {IpcClient} ipc_client
|
|
@@ -613,18 +625,6 @@ exports.ipcRequestDiscover = function (ipc_client, destination, abort_signal) {
|
|
|
613
625
|
return takeObject(ret);
|
|
614
626
|
};
|
|
615
627
|
|
|
616
|
-
/**
|
|
617
|
-
* Registers a DiscoverHandler so that the client can respond to DiscoverRequests.
|
|
618
|
-
* @param {IpcClient} ipc_client
|
|
619
|
-
* @param {DiscoverResponse} response
|
|
620
|
-
* @returns {Promise<void>}
|
|
621
|
-
*/
|
|
622
|
-
exports.ipcRegisterDiscoverHandler = function (ipc_client, response) {
|
|
623
|
-
_assertClass(ipc_client, IpcClient);
|
|
624
|
-
const ret = wasm.ipcRegisterDiscoverHandler(ipc_client.__wbg_ptr, addHeapObject(response));
|
|
625
|
-
return takeObject(ret);
|
|
626
|
-
};
|
|
627
|
-
|
|
628
628
|
/**
|
|
629
629
|
* @param {any} error
|
|
630
630
|
* @returns {boolean}
|
|
@@ -872,10 +872,14 @@ exports.isGetFolderError = function (error) {
|
|
|
872
872
|
}
|
|
873
873
|
};
|
|
874
874
|
|
|
875
|
-
function
|
|
875
|
+
function wasm_bindgen__convert__closures_____invoke__h62b881a194105b80(arg0, arg1) {
|
|
876
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h62b881a194105b80(arg0, arg1);
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
function wasm_bindgen__convert__closures_____invoke__h4186fc9839e7cab3(arg0, arg1, arg2) {
|
|
876
880
|
try {
|
|
877
881
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
878
|
-
wasm.
|
|
882
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4186fc9839e7cab3(
|
|
879
883
|
retptr,
|
|
880
884
|
arg0,
|
|
881
885
|
arg1,
|
|
@@ -891,20 +895,16 @@ function wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd(arg0, arg
|
|
|
891
895
|
}
|
|
892
896
|
}
|
|
893
897
|
|
|
894
|
-
function
|
|
895
|
-
wasm.
|
|
898
|
+
function wasm_bindgen__convert__closures_____invoke__h3ee6e6da36ea79fd(arg0, arg1, arg2) {
|
|
899
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h3ee6e6da36ea79fd(
|
|
896
900
|
arg0,
|
|
897
901
|
arg1,
|
|
898
902
|
addHeapObject(arg2),
|
|
899
903
|
);
|
|
900
904
|
}
|
|
901
905
|
|
|
902
|
-
function
|
|
903
|
-
wasm.
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
function wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83(arg0, arg1, arg2, arg3) {
|
|
907
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h0cb536241502fe83(
|
|
906
|
+
function wasm_bindgen__convert__closures_____invoke__h92667cd2c3a9eee2(arg0, arg1, arg2, arg3) {
|
|
907
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h92667cd2c3a9eee2(
|
|
908
908
|
arg0,
|
|
909
909
|
arg1,
|
|
910
910
|
addHeapObject(arg2),
|
|
@@ -4725,7 +4725,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
|
|
|
4725
4725
|
}, arguments);
|
|
4726
4726
|
};
|
|
4727
4727
|
|
|
4728
|
-
exports.
|
|
4728
|
+
exports.__wbg_cipher_b25bc3331874ea6a = function (arg0) {
|
|
4729
4729
|
const ret = getObject(arg0).cipher;
|
|
4730
4730
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4731
4731
|
};
|
|
@@ -4818,7 +4818,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
|
|
|
4818
4818
|
return addHeapObject(ret);
|
|
4819
4819
|
};
|
|
4820
4820
|
|
|
4821
|
-
exports.
|
|
4821
|
+
exports.__wbg_folder_5a94a9f4d63cf388 = function (arg0) {
|
|
4822
4822
|
const ret = getObject(arg0).folder;
|
|
4823
4823
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4824
4824
|
};
|
|
@@ -4851,7 +4851,12 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
|
|
|
4851
4851
|
return ret;
|
|
4852
4852
|
};
|
|
4853
4853
|
|
|
4854
|
-
exports.
|
|
4854
|
+
exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
|
|
4855
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4856
|
+
return addHeapObject(ret);
|
|
4857
|
+
};
|
|
4858
|
+
|
|
4859
|
+
exports.__wbg_get_84e1917d80624f6f = function () {
|
|
4855
4860
|
return handleError(function (arg0, arg1, arg2) {
|
|
4856
4861
|
let deferred0_0;
|
|
4857
4862
|
let deferred0_1;
|
|
@@ -4866,7 +4871,7 @@ exports.__wbg_get_64ea302847f9968b = function () {
|
|
|
4866
4871
|
}, arguments);
|
|
4867
4872
|
};
|
|
4868
4873
|
|
|
4869
|
-
exports.
|
|
4874
|
+
exports.__wbg_get_9faf9fc61ce73f24 = function () {
|
|
4870
4875
|
return handleError(function (arg0, arg1, arg2) {
|
|
4871
4876
|
let deferred0_0;
|
|
4872
4877
|
let deferred0_1;
|
|
@@ -4881,12 +4886,7 @@ exports.__wbg_get_67b7db44237fed1a = function () {
|
|
|
4881
4886
|
}, arguments);
|
|
4882
4887
|
};
|
|
4883
4888
|
|
|
4884
|
-
exports.
|
|
4885
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
4886
|
-
return addHeapObject(ret);
|
|
4887
|
-
};
|
|
4888
|
-
|
|
4889
|
-
exports.__wbg_get_access_token_9452186249787cca = function (arg0) {
|
|
4889
|
+
exports.__wbg_get_access_token_a894dfc5fe2c1acc = function (arg0) {
|
|
4890
4890
|
const ret = getObject(arg0).get_access_token();
|
|
4891
4891
|
return addHeapObject(ret);
|
|
4892
4892
|
};
|
|
@@ -5082,14 +5082,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
|
|
|
5082
5082
|
return ret;
|
|
5083
5083
|
};
|
|
5084
5084
|
|
|
5085
|
-
exports.
|
|
5085
|
+
exports.__wbg_list_4d5c331c3a9018b2 = function () {
|
|
5086
5086
|
return handleError(function (arg0) {
|
|
5087
5087
|
const ret = getObject(arg0).list();
|
|
5088
5088
|
return addHeapObject(ret);
|
|
5089
5089
|
}, arguments);
|
|
5090
5090
|
};
|
|
5091
5091
|
|
|
5092
|
-
exports.
|
|
5092
|
+
exports.__wbg_list_c4e47fe19f53b93e = function () {
|
|
5093
5093
|
return handleError(function (arg0) {
|
|
5094
5094
|
const ret = getObject(arg0).list();
|
|
5095
5095
|
return addHeapObject(ret);
|
|
@@ -5174,7 +5174,7 @@ exports.__wbg_new_3c3d849046688a66 = function (arg0, arg1) {
|
|
|
5174
5174
|
const a = state0.a;
|
|
5175
5175
|
state0.a = 0;
|
|
5176
5176
|
try {
|
|
5177
|
-
return
|
|
5177
|
+
return wasm_bindgen__convert__closures_____invoke__h92667cd2c3a9eee2(
|
|
5178
5178
|
a,
|
|
5179
5179
|
state0.b,
|
|
5180
5180
|
arg0,
|
|
@@ -5333,7 +5333,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
|
|
|
5333
5333
|
}, arguments);
|
|
5334
5334
|
};
|
|
5335
5335
|
|
|
5336
|
-
exports.
|
|
5336
|
+
exports.__wbg_remove_7321c4e740469081 = function () {
|
|
5337
5337
|
return handleError(function (arg0, arg1, arg2) {
|
|
5338
5338
|
let deferred0_0;
|
|
5339
5339
|
let deferred0_1;
|
|
@@ -5348,7 +5348,7 @@ exports.__wbg_remove_7cceb9e1fe991113 = function () {
|
|
|
5348
5348
|
}, arguments);
|
|
5349
5349
|
};
|
|
5350
5350
|
|
|
5351
|
-
exports.
|
|
5351
|
+
exports.__wbg_remove_b4416a3740ce6060 = function () {
|
|
5352
5352
|
return handleError(function (arg0, arg1, arg2) {
|
|
5353
5353
|
let deferred0_0;
|
|
5354
5354
|
let deferred0_1;
|
|
@@ -5394,7 +5394,11 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
|
|
|
5394
5394
|
return addHeapObject(ret);
|
|
5395
5395
|
};
|
|
5396
5396
|
|
|
5397
|
-
exports.
|
|
5397
|
+
exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
|
|
5398
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5399
|
+
};
|
|
5400
|
+
|
|
5401
|
+
exports.__wbg_set_448ea5ed2f3a5ac4 = function () {
|
|
5398
5402
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5399
5403
|
let deferred0_0;
|
|
5400
5404
|
let deferred0_1;
|
|
@@ -5409,11 +5413,7 @@ exports.__wbg_set_26f95519d06bd003 = function () {
|
|
|
5409
5413
|
}, arguments);
|
|
5410
5414
|
};
|
|
5411
5415
|
|
|
5412
|
-
exports.
|
|
5413
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5414
|
-
};
|
|
5415
|
-
|
|
5416
|
-
exports.__wbg_set_54cab6cf22747d0c = function () {
|
|
5416
|
+
exports.__wbg_set_9046335acfb724c6 = function () {
|
|
5417
5417
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5418
5418
|
let deferred0_0;
|
|
5419
5419
|
let deferred0_1;
|
|
@@ -5616,45 +5616,12 @@ exports.__wbg_warn_8f5b5437666d0885 = function (arg0, arg1, arg2, arg3) {
|
|
|
5616
5616
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5617
5617
|
};
|
|
5618
5618
|
|
|
5619
|
-
exports.__wbindgen_cast_18e7d5b03ebc0b46 = function (arg0, arg1) {
|
|
5620
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 304, function: Function { arguments: [Externref], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5621
|
-
const ret = makeMutClosure(
|
|
5622
|
-
arg0,
|
|
5623
|
-
arg1,
|
|
5624
|
-
wasm.wasm_bindgen__closure__destroy__h591e0f2efd143068,
|
|
5625
|
-
wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109,
|
|
5626
|
-
);
|
|
5627
|
-
return addHeapObject(ret);
|
|
5628
|
-
};
|
|
5629
|
-
|
|
5630
5619
|
exports.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
5631
5620
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5632
5621
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
5633
5622
|
return addHeapObject(ret);
|
|
5634
5623
|
};
|
|
5635
5624
|
|
|
5636
|
-
exports.__wbindgen_cast_34ef3ce950757bdd = function (arg0, arg1) {
|
|
5637
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 41, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5638
|
-
const ret = makeMutClosure(
|
|
5639
|
-
arg0,
|
|
5640
|
-
arg1,
|
|
5641
|
-
wasm.wasm_bindgen__closure__destroy__h96ff2d5ee0ca699c,
|
|
5642
|
-
wasm_bindgen__convert__closures_____invoke__hb219eacf1aac2109,
|
|
5643
|
-
);
|
|
5644
|
-
return addHeapObject(ret);
|
|
5645
|
-
};
|
|
5646
|
-
|
|
5647
|
-
exports.__wbindgen_cast_397295739b4135cd = function (arg0, arg1) {
|
|
5648
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 40, function: Function { arguments: [NamedExternref("Event")], shim_idx: 43, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5649
|
-
const ret = makeMutClosure(
|
|
5650
|
-
arg0,
|
|
5651
|
-
arg1,
|
|
5652
|
-
wasm.wasm_bindgen__closure__destroy__h96ff2d5ee0ca699c,
|
|
5653
|
-
wasm_bindgen__convert__closures_____invoke__h2dff3e72f2bb88cd,
|
|
5654
|
-
);
|
|
5655
|
-
return addHeapObject(ret);
|
|
5656
|
-
};
|
|
5657
|
-
|
|
5658
5625
|
exports.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
|
|
5659
5626
|
// Cast intrinsic for `U64 -> Externref`.
|
|
5660
5627
|
const ret = BigInt.asUintN(64, arg0);
|
|
@@ -5669,13 +5636,13 @@ exports.__wbindgen_cast_5fea77eff9dd275c = function (arg0, arg1) {
|
|
|
5669
5636
|
return addHeapObject(ret);
|
|
5670
5637
|
};
|
|
5671
5638
|
|
|
5672
|
-
exports.
|
|
5673
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5639
|
+
exports.__wbindgen_cast_66b9b6fddd3159a0 = function (arg0, arg1) {
|
|
5640
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 301, function: Function { arguments: [Externref], shim_idx: 46, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5674
5641
|
const ret = makeMutClosure(
|
|
5675
5642
|
arg0,
|
|
5676
5643
|
arg1,
|
|
5677
|
-
wasm.
|
|
5678
|
-
|
|
5644
|
+
wasm.wasm_bindgen__closure__destroy__h4e2596d1eeea1ddd,
|
|
5645
|
+
wasm_bindgen__convert__closures_____invoke__h3ee6e6da36ea79fd,
|
|
5679
5646
|
);
|
|
5680
5647
|
return addHeapObject(ret);
|
|
5681
5648
|
};
|
|
@@ -5688,35 +5655,68 @@ exports.__wbindgen_cast_7a6d185652cd8149 = function (arg0, arg1) {
|
|
|
5688
5655
|
return addHeapObject(ret);
|
|
5689
5656
|
};
|
|
5690
5657
|
|
|
5691
|
-
exports.
|
|
5692
|
-
// Cast intrinsic for `
|
|
5658
|
+
exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
5659
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
5660
|
+
const ret = arg0;
|
|
5661
|
+
return addHeapObject(ret);
|
|
5662
|
+
};
|
|
5663
|
+
|
|
5664
|
+
exports.__wbindgen_cast_b70019a15f201a96 = function (arg0, arg1) {
|
|
5665
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 552, function: Function { arguments: [], shim_idx: 302, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5693
5666
|
const ret = makeMutClosure(
|
|
5694
5667
|
arg0,
|
|
5695
5668
|
arg1,
|
|
5696
|
-
wasm.
|
|
5697
|
-
|
|
5669
|
+
wasm.wasm_bindgen__closure__destroy__he95e920b8d9de938,
|
|
5670
|
+
wasm_bindgen__convert__closures_____invoke__h62b881a194105b80,
|
|
5698
5671
|
);
|
|
5699
5672
|
return addHeapObject(ret);
|
|
5700
5673
|
};
|
|
5701
5674
|
|
|
5702
|
-
exports.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
5703
|
-
// Cast intrinsic for `I64 -> Externref`.
|
|
5704
|
-
const ret = arg0;
|
|
5705
|
-
return addHeapObject(ret);
|
|
5706
|
-
};
|
|
5707
|
-
|
|
5708
5675
|
exports.__wbindgen_cast_cb9088102bce6b30 = function (arg0, arg1) {
|
|
5709
5676
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
5710
5677
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
5711
5678
|
return addHeapObject(ret);
|
|
5712
5679
|
};
|
|
5713
5680
|
|
|
5681
|
+
exports.__wbindgen_cast_d3c442d81884e8e4 = function (arg0, arg1) {
|
|
5682
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 43, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5683
|
+
const ret = makeMutClosure(
|
|
5684
|
+
arg0,
|
|
5685
|
+
arg1,
|
|
5686
|
+
wasm.wasm_bindgen__closure__destroy__h03764d3cf8644af3,
|
|
5687
|
+
wasm_bindgen__convert__closures_____invoke__h4186fc9839e7cab3,
|
|
5688
|
+
);
|
|
5689
|
+
return addHeapObject(ret);
|
|
5690
|
+
};
|
|
5691
|
+
|
|
5714
5692
|
exports.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
|
|
5715
5693
|
// Cast intrinsic for `F64 -> Externref`.
|
|
5716
5694
|
const ret = arg0;
|
|
5717
5695
|
return addHeapObject(ret);
|
|
5718
5696
|
};
|
|
5719
5697
|
|
|
5698
|
+
exports.__wbindgen_cast_d9da8617cf4d65f6 = function (arg0, arg1) {
|
|
5699
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 43, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 46, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5700
|
+
const ret = makeMutClosure(
|
|
5701
|
+
arg0,
|
|
5702
|
+
arg1,
|
|
5703
|
+
wasm.wasm_bindgen__closure__destroy__h03764d3cf8644af3,
|
|
5704
|
+
wasm_bindgen__convert__closures_____invoke__h3ee6e6da36ea79fd,
|
|
5705
|
+
);
|
|
5706
|
+
return addHeapObject(ret);
|
|
5707
|
+
};
|
|
5708
|
+
|
|
5709
|
+
exports.__wbindgen_cast_e1b8613407289e9c = function (arg0, arg1) {
|
|
5710
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 301, function: Function { arguments: [], shim_idx: 302, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5711
|
+
const ret = makeMutClosure(
|
|
5712
|
+
arg0,
|
|
5713
|
+
arg1,
|
|
5714
|
+
wasm.wasm_bindgen__closure__destroy__h4e2596d1eeea1ddd,
|
|
5715
|
+
wasm_bindgen__convert__closures_____invoke__h62b881a194105b80,
|
|
5716
|
+
);
|
|
5717
|
+
return addHeapObject(ret);
|
|
5718
|
+
};
|
|
5719
|
+
|
|
5720
5720
|
exports.__wbindgen_cast_ef90a087adb7475d = function (arg0, arg1) {
|
|
5721
5721
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5722
5722
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
Binary file
|
|
@@ -454,25 +454,25 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
454
454
|
export const __wbg_registrationclient_free: (a: number, b: number) => void;
|
|
455
455
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
456
456
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
457
|
-
export const
|
|
457
|
+
export const wasm_bindgen__convert__closures_____invoke__h62b881a194105b80: (
|
|
458
458
|
a: number,
|
|
459
459
|
b: number,
|
|
460
|
-
c: number,
|
|
461
|
-
d: number,
|
|
462
460
|
) => void;
|
|
463
|
-
export const
|
|
464
|
-
export const
|
|
461
|
+
export const wasm_bindgen__closure__destroy__h4e2596d1eeea1ddd: (a: number, b: number) => void;
|
|
462
|
+
export const wasm_bindgen__convert__closures_____invoke__h4186fc9839e7cab3: (
|
|
465
463
|
a: number,
|
|
466
464
|
b: number,
|
|
467
465
|
c: number,
|
|
466
|
+
d: number,
|
|
468
467
|
) => void;
|
|
469
|
-
export const
|
|
470
|
-
export const
|
|
468
|
+
export const wasm_bindgen__closure__destroy__h03764d3cf8644af3: (a: number, b: number) => void;
|
|
469
|
+
export const wasm_bindgen__convert__closures_____invoke__h3ee6e6da36ea79fd: (
|
|
471
470
|
a: number,
|
|
472
471
|
b: number,
|
|
472
|
+
c: number,
|
|
473
473
|
) => void;
|
|
474
|
-
export const
|
|
475
|
-
export const
|
|
474
|
+
export const wasm_bindgen__closure__destroy__he95e920b8d9de938: (a: number, b: number) => void;
|
|
475
|
+
export const wasm_bindgen__convert__closures_____invoke__h92667cd2c3a9eee2: (
|
|
476
476
|
a: number,
|
|
477
477
|
b: number,
|
|
478
478
|
c: number,
|