@bitwarden/sdk-internal 0.2.0-main.516 → 0.2.0-main.518
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/VERSION +1 -1
- package/bitwarden_wasm_internal.d.ts +15 -15
- package/bitwarden_wasm_internal_bg.js +70 -70
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +7 -7
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +15 -15
- package/node/bitwarden_wasm_internal.js +70 -70
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +7 -7
- package/package.json +1 -1
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Generate a new SSH key pair
|
|
5
|
+
*
|
|
6
|
+
* # Arguments
|
|
7
|
+
* - `key_algorithm` - The algorithm to use for the key pair
|
|
8
|
+
*
|
|
9
|
+
* # Returns
|
|
10
|
+
* - `Ok(SshKey)` if the key was successfully generated
|
|
11
|
+
* - `Err(KeyGenerationError)` if the key could not be generated
|
|
12
|
+
*/
|
|
13
|
+
export function generate_ssh_key(key_algorithm: KeyAlgorithm): SshKeyView;
|
|
3
14
|
/**
|
|
4
15
|
* Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
|
|
5
16
|
* to an OpenSSH private key with public key and fingerprint
|
|
@@ -16,17 +27,6 @@
|
|
|
16
27
|
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
17
28
|
*/
|
|
18
29
|
export function import_ssh_key(imported_key: string, password?: string | null): SshKeyView;
|
|
19
|
-
/**
|
|
20
|
-
* Generate a new SSH key pair
|
|
21
|
-
*
|
|
22
|
-
* # Arguments
|
|
23
|
-
* - `key_algorithm` - The algorithm to use for the key pair
|
|
24
|
-
*
|
|
25
|
-
* # Returns
|
|
26
|
-
* - `Ok(SshKey)` if the key was successfully generated
|
|
27
|
-
* - `Err(KeyGenerationError)` if the key could not be generated
|
|
28
|
-
*/
|
|
29
|
-
export function generate_ssh_key(key_algorithm: KeyAlgorithm): SshKeyView;
|
|
30
30
|
export function init_sdk(log_level?: LogLevel | null): void;
|
|
31
31
|
/**
|
|
32
32
|
* Registers a DiscoverHandler so that the client can respond to DiscoverRequests.
|
|
@@ -185,15 +185,15 @@ export interface Repositories {
|
|
|
185
185
|
folder: Repository<Folder> | null;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
export interface IndexedDbConfiguration {
|
|
189
|
-
db_name: string;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
188
|
/**
|
|
193
189
|
* Active feature flags for the SDK.
|
|
194
190
|
*/
|
|
195
191
|
export interface FeatureFlags extends Map<string, boolean> {}
|
|
196
192
|
|
|
193
|
+
export interface IndexedDbConfiguration {
|
|
194
|
+
db_name: string;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
197
|
/**
|
|
198
198
|
* A request structure for requesting a send access token from the API.
|
|
199
199
|
*/
|
|
@@ -247,31 +247,21 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
247
247
|
return ptr;
|
|
248
248
|
}
|
|
249
249
|
/**
|
|
250
|
-
*
|
|
251
|
-
* to an OpenSSH private key with public key and fingerprint
|
|
250
|
+
* Generate a new SSH key pair
|
|
252
251
|
*
|
|
253
252
|
* # Arguments
|
|
254
|
-
* - `
|
|
255
|
-
* - `password` - The password to use for decrypting the key
|
|
253
|
+
* - `key_algorithm` - The algorithm to use for the key pair
|
|
256
254
|
*
|
|
257
255
|
* # Returns
|
|
258
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
259
|
-
* - `Err(
|
|
260
|
-
*
|
|
261
|
-
* - `Err(ParsingError)` if the key could not be parsed
|
|
262
|
-
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
263
|
-
* @param {string} imported_key
|
|
264
|
-
* @param {string | null} [password]
|
|
256
|
+
* - `Ok(SshKey)` if the key was successfully generated
|
|
257
|
+
* - `Err(KeyGenerationError)` if the key could not be generated
|
|
258
|
+
* @param {KeyAlgorithm} key_algorithm
|
|
265
259
|
* @returns {SshKeyView}
|
|
266
260
|
*/
|
|
267
|
-
exports.
|
|
261
|
+
exports.generate_ssh_key = function(key_algorithm) {
|
|
268
262
|
try {
|
|
269
263
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
270
|
-
|
|
271
|
-
const len0 = WASM_VECTOR_LEN;
|
|
272
|
-
var ptr1 = isLikeNone(password) ? 0 : passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
273
|
-
var len1 = WASM_VECTOR_LEN;
|
|
274
|
-
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
264
|
+
wasm.generate_ssh_key(retptr, addHeapObject(key_algorithm));
|
|
275
265
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
276
266
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
277
267
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -285,21 +275,31 @@ exports.import_ssh_key = function(imported_key, password) {
|
|
|
285
275
|
};
|
|
286
276
|
|
|
287
277
|
/**
|
|
288
|
-
*
|
|
278
|
+
* Convert a PCKS8 or OpenSSH encrypted or unencrypted private key
|
|
279
|
+
* to an OpenSSH private key with public key and fingerprint
|
|
289
280
|
*
|
|
290
281
|
* # Arguments
|
|
291
|
-
* - `
|
|
282
|
+
* - `imported_key` - The private key to convert
|
|
283
|
+
* - `password` - The password to use for decrypting the key
|
|
292
284
|
*
|
|
293
285
|
* # Returns
|
|
294
|
-
* - `Ok(SshKey)` if the key was successfully
|
|
295
|
-
* - `Err(
|
|
296
|
-
*
|
|
286
|
+
* - `Ok(SshKey)` if the key was successfully coneverted
|
|
287
|
+
* - `Err(PasswordRequired)` if the key is encrypted and no password was provided
|
|
288
|
+
* - `Err(WrongPassword)` if the password provided is incorrect
|
|
289
|
+
* - `Err(ParsingError)` if the key could not be parsed
|
|
290
|
+
* - `Err(UnsupportedKeyType)` if the key type is not supported
|
|
291
|
+
* @param {string} imported_key
|
|
292
|
+
* @param {string | null} [password]
|
|
297
293
|
* @returns {SshKeyView}
|
|
298
294
|
*/
|
|
299
|
-
exports.
|
|
295
|
+
exports.import_ssh_key = function(imported_key, password) {
|
|
300
296
|
try {
|
|
301
297
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
302
|
-
wasm.
|
|
298
|
+
const ptr0 = passStringToWasm0(imported_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
299
|
+
const len0 = WASM_VECTOR_LEN;
|
|
300
|
+
var ptr1 = isLikeNone(password) ? 0 : passStringToWasm0(password, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
301
|
+
var len1 = WASM_VECTOR_LEN;
|
|
302
|
+
wasm.import_ssh_key(retptr, ptr0, len0, ptr1, len1);
|
|
303
303
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
304
304
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
305
305
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -1002,14 +1002,10 @@ exports.isGetFolderError = function(error) {
|
|
|
1002
1002
|
}
|
|
1003
1003
|
};
|
|
1004
1004
|
|
|
1005
|
-
function
|
|
1006
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h7e690d71e18a977f(arg0, arg1, addHeapObject(arg2));
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
function wasm_bindgen__convert__closures_____invoke__h7cff7b1aea3a3d32(arg0, arg1, arg2) {
|
|
1005
|
+
function wasm_bindgen__convert__closures_____invoke__hd535e5ed92b9c746(arg0, arg1, arg2) {
|
|
1010
1006
|
try {
|
|
1011
1007
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1012
|
-
wasm.
|
|
1008
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hd535e5ed92b9c746(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1013
1009
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1014
1010
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1015
1011
|
if (r1) {
|
|
@@ -1024,6 +1020,10 @@ function wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg
|
|
|
1024
1020
|
wasm.wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d(arg0, arg1);
|
|
1025
1021
|
}
|
|
1026
1022
|
|
|
1023
|
+
function wasm_bindgen__convert__closures_____invoke__h6d021f3e9713c130(arg0, arg1, arg2) {
|
|
1024
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h6d021f3e9713c130(arg0, arg1, addHeapObject(arg2));
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
1027
|
function wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, arg2, arg3) {
|
|
1028
1028
|
wasm.wasm_bindgen__convert__closures_____invoke__h0c62e4f019080f6a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1029
1029
|
}
|
|
@@ -4920,7 +4920,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (
|
|
|
4920
4920
|
return addHeapObject(ret);
|
|
4921
4921
|
}, arguments) };
|
|
4922
4922
|
|
|
4923
|
-
exports.
|
|
4923
|
+
exports.__wbg_cipher_a844278d8217651a = function(arg0) {
|
|
4924
4924
|
const ret = getObject(arg0).cipher;
|
|
4925
4925
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4926
4926
|
};
|
|
@@ -5012,7 +5012,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function(arg0, arg1) {
|
|
|
5012
5012
|
return addHeapObject(ret);
|
|
5013
5013
|
};
|
|
5014
5014
|
|
|
5015
|
-
exports.
|
|
5015
|
+
exports.__wbg_folder_28387eb724ebe615 = function(arg0) {
|
|
5016
5016
|
const ret = getObject(arg0).folder;
|
|
5017
5017
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
5018
5018
|
};
|
|
@@ -5044,30 +5044,17 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function(arg0) {
|
|
|
5044
5044
|
return ret;
|
|
5045
5045
|
};
|
|
5046
5046
|
|
|
5047
|
-
exports.__wbg_get_41936b73441d6c1c = function() { return handleError(function (arg0, arg1, arg2) {
|
|
5048
|
-
let deferred0_0;
|
|
5049
|
-
let deferred0_1;
|
|
5050
|
-
try {
|
|
5051
|
-
deferred0_0 = arg1;
|
|
5052
|
-
deferred0_1 = arg2;
|
|
5053
|
-
const ret = getObject(arg0).get(getStringFromWasm0(arg1, arg2));
|
|
5054
|
-
return addHeapObject(ret);
|
|
5055
|
-
} finally {
|
|
5056
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5057
|
-
}
|
|
5058
|
-
}, arguments) };
|
|
5059
|
-
|
|
5060
5047
|
exports.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
|
|
5061
5048
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
5062
5049
|
return addHeapObject(ret);
|
|
5063
5050
|
};
|
|
5064
5051
|
|
|
5065
|
-
exports.
|
|
5052
|
+
exports.__wbg_get_access_token_bfee15761f1f0fa8 = function(arg0) {
|
|
5066
5053
|
const ret = getObject(arg0).get_access_token();
|
|
5067
5054
|
return addHeapObject(ret);
|
|
5068
5055
|
};
|
|
5069
5056
|
|
|
5070
|
-
exports.
|
|
5057
|
+
exports.__wbg_get_c03a59ff46a549dd = function() { return handleError(function (arg0, arg1, arg2) {
|
|
5071
5058
|
let deferred0_0;
|
|
5072
5059
|
let deferred0_1;
|
|
5073
5060
|
try {
|
|
@@ -5080,7 +5067,7 @@ exports.__wbg_get_af9d4d1ba44b4371 = function() { return handleError(function (a
|
|
|
5080
5067
|
}
|
|
5081
5068
|
}, arguments) };
|
|
5082
5069
|
|
|
5083
|
-
exports.
|
|
5070
|
+
exports.__wbg_get_e62965c361f314d8 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
5084
5071
|
let deferred0_0;
|
|
5085
5072
|
let deferred0_1;
|
|
5086
5073
|
try {
|
|
@@ -5098,6 +5085,19 @@ exports.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (a
|
|
|
5098
5085
|
return addHeapObject(ret);
|
|
5099
5086
|
}, arguments) };
|
|
5100
5087
|
|
|
5088
|
+
exports.__wbg_get_f50bbdcaf8035ff1 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
5089
|
+
let deferred0_0;
|
|
5090
|
+
let deferred0_1;
|
|
5091
|
+
try {
|
|
5092
|
+
deferred0_0 = arg1;
|
|
5093
|
+
deferred0_1 = arg2;
|
|
5094
|
+
const ret = getObject(arg0).get(getStringFromWasm0(arg1, arg2));
|
|
5095
|
+
return addHeapObject(ret);
|
|
5096
|
+
} finally {
|
|
5097
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5098
|
+
}
|
|
5099
|
+
}, arguments) };
|
|
5100
|
+
|
|
5101
5101
|
exports.__wbg_get_fb1fa70beb44a754 = function() { return handleError(function (arg0, arg1) {
|
|
5102
5102
|
const ret = getObject(arg0).get(getObject(arg1));
|
|
5103
5103
|
return addHeapObject(ret);
|
|
@@ -5281,12 +5281,12 @@ exports.__wbg_length_cdd215e10d9dd507 = function(arg0) {
|
|
|
5281
5281
|
return ret;
|
|
5282
5282
|
};
|
|
5283
5283
|
|
|
5284
|
-
exports.
|
|
5284
|
+
exports.__wbg_list_b9f454de1e52f1c1 = function() { return handleError(function (arg0) {
|
|
5285
5285
|
const ret = getObject(arg0).list();
|
|
5286
5286
|
return addHeapObject(ret);
|
|
5287
5287
|
}, arguments) };
|
|
5288
5288
|
|
|
5289
|
-
exports.
|
|
5289
|
+
exports.__wbg_list_e7a974e868940942 = function() { return handleError(function (arg0) {
|
|
5290
5290
|
const ret = getObject(arg0).list();
|
|
5291
5291
|
return addHeapObject(ret);
|
|
5292
5292
|
}, arguments) };
|
|
@@ -5508,7 +5508,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(
|
|
|
5508
5508
|
getObject(arg0).randomFillSync(takeObject(arg1));
|
|
5509
5509
|
}, arguments) };
|
|
5510
5510
|
|
|
5511
|
-
exports.
|
|
5511
|
+
exports.__wbg_remove_1270056b464312b8 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
5512
5512
|
let deferred0_0;
|
|
5513
5513
|
let deferred0_1;
|
|
5514
5514
|
try {
|
|
@@ -5521,7 +5521,7 @@ exports.__wbg_remove_e30059d65cdf10bc = function() { return handleError(function
|
|
|
5521
5521
|
}
|
|
5522
5522
|
}, arguments) };
|
|
5523
5523
|
|
|
5524
|
-
exports.
|
|
5524
|
+
exports.__wbg_remove_4760761a3aea1da8 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
5525
5525
|
let deferred0_0;
|
|
5526
5526
|
let deferred0_1;
|
|
5527
5527
|
try {
|
|
@@ -5563,7 +5563,7 @@ exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
|
5563
5563
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5564
5564
|
};
|
|
5565
5565
|
|
|
5566
|
-
exports.
|
|
5566
|
+
exports.__wbg_set_5f74eb94c6d8660a = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5567
5567
|
let deferred0_0;
|
|
5568
5568
|
let deferred0_1;
|
|
5569
5569
|
try {
|
|
@@ -5581,19 +5581,6 @@ exports.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
|
|
|
5581
5581
|
return addHeapObject(ret);
|
|
5582
5582
|
};
|
|
5583
5583
|
|
|
5584
|
-
exports.__wbg_set_ad376fca1dc2d534 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5585
|
-
let deferred0_0;
|
|
5586
|
-
let deferred0_1;
|
|
5587
|
-
try {
|
|
5588
|
-
deferred0_0 = arg1;
|
|
5589
|
-
deferred0_1 = arg2;
|
|
5590
|
-
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5591
|
-
return addHeapObject(ret);
|
|
5592
|
-
} finally {
|
|
5593
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5594
|
-
}
|
|
5595
|
-
}, arguments) };
|
|
5596
|
-
|
|
5597
5584
|
exports.__wbg_set_body_3c365989753d61f4 = function(arg0, arg1) {
|
|
5598
5585
|
getObject(arg0).body = getObject(arg1);
|
|
5599
5586
|
};
|
|
@@ -5611,6 +5598,19 @@ exports.__wbg_set_credentials_f621cd2d85c0c228 = function(arg0, arg1) {
|
|
|
5611
5598
|
getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
5612
5599
|
};
|
|
5613
5600
|
|
|
5601
|
+
exports.__wbg_set_ded1025d1bc6d826 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5602
|
+
let deferred0_0;
|
|
5603
|
+
let deferred0_1;
|
|
5604
|
+
try {
|
|
5605
|
+
deferred0_0 = arg1;
|
|
5606
|
+
deferred0_1 = arg2;
|
|
5607
|
+
const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
5608
|
+
return addHeapObject(ret);
|
|
5609
|
+
} finally {
|
|
5610
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
5611
|
+
}
|
|
5612
|
+
}, arguments) };
|
|
5613
|
+
|
|
5614
5614
|
exports.__wbg_set_headers_6926da238cd32ee4 = function(arg0, arg1) {
|
|
5615
5615
|
getObject(arg0).headers = getObject(arg1);
|
|
5616
5616
|
};
|
|
@@ -5784,7 +5784,7 @@ exports.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
|
5784
5784
|
|
|
5785
5785
|
exports.__wbindgen_cast_4042b341512ce63a = function(arg0, arg1) {
|
|
5786
5786
|
// 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`.
|
|
5787
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5787
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3238f077fb5ae8c5, wasm_bindgen__convert__closures_____invoke__h6d021f3e9713c130);
|
|
5788
5788
|
return addHeapObject(ret);
|
|
5789
5789
|
};
|
|
5790
5790
|
|
|
@@ -5830,7 +5830,7 @@ exports.__wbindgen_cast_a2a1216eb14e5e30 = function(arg0, arg1) {
|
|
|
5830
5830
|
|
|
5831
5831
|
exports.__wbindgen_cast_a3e5ea889ee07093 = function(arg0, arg1) {
|
|
5832
5832
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 338, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5833
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa,
|
|
5833
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd9661b26d463effa, wasm_bindgen__convert__closures_____invoke__h6d021f3e9713c130);
|
|
5834
5834
|
return addHeapObject(ret);
|
|
5835
5835
|
};
|
|
5836
5836
|
|
|
@@ -5842,7 +5842,7 @@ exports.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
|
|
|
5842
5842
|
|
|
5843
5843
|
exports.__wbindgen_cast_d49c305f67640cb1 = function(arg0, arg1) {
|
|
5844
5844
|
// 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`.
|
|
5845
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
5845
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3238f077fb5ae8c5, wasm_bindgen__convert__closures_____invoke__hd535e5ed92b9c746);
|
|
5846
5846
|
return addHeapObject(ret);
|
|
5847
5847
|
};
|
|
5848
5848
|
|
|
@@ -5854,7 +5854,7 @@ exports.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
|
5854
5854
|
|
|
5855
5855
|
exports.__wbindgen_cast_e8b3b9b77e6fa82c = function(arg0, arg1) {
|
|
5856
5856
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 332, function: Function { arguments: [Externref], shim_idx: 44, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5857
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797,
|
|
5857
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hc71695a401114797, wasm_bindgen__convert__closures_____invoke__h6d021f3e9713c130);
|
|
5858
5858
|
return addHeapObject(ret);
|
|
5859
5859
|
};
|
|
5860
5860
|
|
|
Binary file
|
|
@@ -522,22 +522,22 @@ export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
|
522
522
|
export const vaultclient_attachments: (a: number) => number;
|
|
523
523
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
524
524
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
525
|
-
export const
|
|
525
|
+
export const wasm_bindgen__convert__closures_____invoke__hd535e5ed92b9c746: (
|
|
526
526
|
a: number,
|
|
527
527
|
b: number,
|
|
528
528
|
c: number,
|
|
529
|
+
d: number,
|
|
529
530
|
) => void;
|
|
530
|
-
export const
|
|
531
|
-
export const
|
|
532
|
-
export const wasm_bindgen__convert__closures_____invoke__h7cff7b1aea3a3d32: (
|
|
531
|
+
export const wasm_bindgen__closure__destroy__h3238f077fb5ae8c5: (a: number, b: number) => void;
|
|
532
|
+
export const wasm_bindgen__convert__closures_____invoke__ha638740cca0ef77d: (
|
|
533
533
|
a: number,
|
|
534
534
|
b: number,
|
|
535
|
-
c: number,
|
|
536
|
-
d: number,
|
|
537
535
|
) => void;
|
|
538
|
-
export const
|
|
536
|
+
export const wasm_bindgen__closure__destroy__hc71695a401114797: (a: number, b: number) => void;
|
|
537
|
+
export const wasm_bindgen__convert__closures_____invoke__h6d021f3e9713c130: (
|
|
539
538
|
a: number,
|
|
540
539
|
b: number,
|
|
540
|
+
c: number,
|
|
541
541
|
) => void;
|
|
542
542
|
export const wasm_bindgen__closure__destroy__hd9661b26d463effa: (a: number, b: number) => void;
|
|
543
543
|
export const wasm_bindgen__closure__destroy__h666c8569a46b7e11: (a: number, b: number) => void;
|