@bitwarden/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.
- package/VERSION +1 -1
- package/bitwarden_wasm_internal.d.ts +56 -51
- package/bitwarden_wasm_internal_bg.js +233 -232
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +19 -19
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +56 -51
- package/node/bitwarden_wasm_internal.js +237 -236
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +16 -16
- package/package.json +1 -1
|
@@ -868,22 +868,22 @@ export function isEncryptFileError(error) {
|
|
|
868
868
|
}
|
|
869
869
|
}
|
|
870
870
|
|
|
871
|
-
function
|
|
872
|
-
wasm.
|
|
871
|
+
function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
|
|
872
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
function wasm_bindgen__convert__closures_____invoke__hdc41283f124c06e5(arg0, arg1, arg2) {
|
|
876
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hdc41283f124c06e5(
|
|
873
877
|
arg0,
|
|
874
878
|
arg1,
|
|
875
879
|
addHeapObject(arg2),
|
|
876
880
|
);
|
|
877
881
|
}
|
|
878
882
|
|
|
879
|
-
function
|
|
880
|
-
wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
function wasm_bindgen__convert__closures_____invoke__hd11035e31e1056de(arg0, arg1, arg2) {
|
|
883
|
+
function wasm_bindgen__convert__closures_____invoke__h1a8786b7bd5c2cf5(arg0, arg1, arg2) {
|
|
884
884
|
try {
|
|
885
885
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
886
|
-
wasm.
|
|
886
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1a8786b7bd5c2cf5(
|
|
887
887
|
retptr,
|
|
888
888
|
arg0,
|
|
889
889
|
arg1,
|
|
@@ -1178,163 +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
|
-
* Crypto related operations.
|
|
1297
|
-
* @returns {CryptoClient}
|
|
1298
|
-
*/
|
|
1299
|
-
crypto() {
|
|
1300
|
-
const ret = wasm.bitwardenclient_crypto(this.__wbg_ptr);
|
|
1301
|
-
return CryptoClient.__wrap(ret);
|
|
1302
|
-
}
|
|
1303
|
-
/**
|
|
1304
|
-
* Vault item related operations.
|
|
1305
|
-
* @returns {VaultClient}
|
|
1306
|
-
*/
|
|
1307
|
-
vault() {
|
|
1308
|
-
const ret = wasm.bitwardenclient_vault(this.__wbg_ptr);
|
|
1309
|
-
return VaultClient.__wrap(ret);
|
|
1310
|
-
}
|
|
1311
|
-
/**
|
|
1312
|
-
* Constructs a specific client for platform-specific functionality
|
|
1313
|
-
* @returns {PlatformClient}
|
|
1314
|
-
*/
|
|
1315
|
-
platform() {
|
|
1316
|
-
const ret = wasm.bitwardenclient_platform(this.__wbg_ptr);
|
|
1317
|
-
return PlatformClient.__wrap(ret);
|
|
1318
|
-
}
|
|
1319
|
-
/**
|
|
1320
|
-
* Constructs a specific client for generating passwords and passphrases
|
|
1321
|
-
* @returns {GeneratorClient}
|
|
1322
|
-
*/
|
|
1323
|
-
generator() {
|
|
1324
|
-
const ret = wasm.bitwardenclient_generator(this.__wbg_ptr);
|
|
1325
|
-
return GeneratorClient.__wrap(ret);
|
|
1326
|
-
}
|
|
1327
|
-
/**
|
|
1328
|
-
* Exporter related operations.
|
|
1329
|
-
* @returns {ExporterClient}
|
|
1330
|
-
*/
|
|
1331
|
-
exporters() {
|
|
1332
|
-
const ret = wasm.bitwardenclient_exporters(this.__wbg_ptr);
|
|
1333
|
-
return ExporterClient.__wrap(ret);
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
if (Symbol.dispose) BitwardenClient.prototype[Symbol.dispose] = BitwardenClient.prototype.free;
|
|
1337
|
-
|
|
1338
1181
|
const CipherRiskClientFinalization =
|
|
1339
1182
|
typeof FinalizationRegistry === "undefined"
|
|
1340
1183
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -3145,6 +2988,164 @@ export class OutgoingMessage {
|
|
|
3145
2988
|
}
|
|
3146
2989
|
if (Symbol.dispose) OutgoingMessage.prototype[Symbol.dispose] = OutgoingMessage.prototype.free;
|
|
3147
2990
|
|
|
2991
|
+
const PasswordManagerClientFinalization =
|
|
2992
|
+
typeof FinalizationRegistry === "undefined"
|
|
2993
|
+
? { register: () => {}, unregister: () => {} }
|
|
2994
|
+
: new FinalizationRegistry((ptr) => wasm.__wbg_passwordmanagerclient_free(ptr >>> 0, 1));
|
|
2995
|
+
/**
|
|
2996
|
+
* The main entry point for the Bitwarden SDK in WebAssembly environments
|
|
2997
|
+
*/
|
|
2998
|
+
export class PasswordManagerClient {
|
|
2999
|
+
__destroy_into_raw() {
|
|
3000
|
+
const ptr = this.__wbg_ptr;
|
|
3001
|
+
this.__wbg_ptr = 0;
|
|
3002
|
+
PasswordManagerClientFinalization.unregister(this);
|
|
3003
|
+
return ptr;
|
|
3004
|
+
}
|
|
3005
|
+
|
|
3006
|
+
free() {
|
|
3007
|
+
const ptr = this.__destroy_into_raw();
|
|
3008
|
+
wasm.__wbg_passwordmanagerclient_free(ptr, 0);
|
|
3009
|
+
}
|
|
3010
|
+
/**
|
|
3011
|
+
* Initialize a new instance of the SDK client
|
|
3012
|
+
* @param {any} token_provider
|
|
3013
|
+
* @param {ClientSettings | null} [settings]
|
|
3014
|
+
*/
|
|
3015
|
+
constructor(token_provider, settings) {
|
|
3016
|
+
const ret = wasm.passwordmanagerclient_new(
|
|
3017
|
+
addHeapObject(token_provider),
|
|
3018
|
+
isLikeNone(settings) ? 0 : addHeapObject(settings),
|
|
3019
|
+
);
|
|
3020
|
+
this.__wbg_ptr = ret >>> 0;
|
|
3021
|
+
PasswordManagerClientFinalization.register(this, this.__wbg_ptr, this);
|
|
3022
|
+
return this;
|
|
3023
|
+
}
|
|
3024
|
+
/**
|
|
3025
|
+
* Test method, echoes back the input
|
|
3026
|
+
* @param {string} msg
|
|
3027
|
+
* @returns {string}
|
|
3028
|
+
*/
|
|
3029
|
+
echo(msg) {
|
|
3030
|
+
let deferred2_0;
|
|
3031
|
+
let deferred2_1;
|
|
3032
|
+
try {
|
|
3033
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3034
|
+
const ptr0 = passStringToWasm0(msg, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3035
|
+
const len0 = WASM_VECTOR_LEN;
|
|
3036
|
+
wasm.passwordmanagerclient_echo(retptr, this.__wbg_ptr, ptr0, len0);
|
|
3037
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3038
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3039
|
+
deferred2_0 = r0;
|
|
3040
|
+
deferred2_1 = r1;
|
|
3041
|
+
return getStringFromWasm0(r0, r1);
|
|
3042
|
+
} finally {
|
|
3043
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3044
|
+
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
3045
|
+
}
|
|
3046
|
+
}
|
|
3047
|
+
/**
|
|
3048
|
+
* Returns the current SDK version
|
|
3049
|
+
* @returns {string}
|
|
3050
|
+
*/
|
|
3051
|
+
version() {
|
|
3052
|
+
let deferred1_0;
|
|
3053
|
+
let deferred1_1;
|
|
3054
|
+
try {
|
|
3055
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3056
|
+
wasm.passwordmanagerclient_version(retptr, this.__wbg_ptr);
|
|
3057
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3058
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3059
|
+
deferred1_0 = r0;
|
|
3060
|
+
deferred1_1 = r1;
|
|
3061
|
+
return getStringFromWasm0(r0, r1);
|
|
3062
|
+
} finally {
|
|
3063
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3064
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
/**
|
|
3068
|
+
* Test method, always throws an error
|
|
3069
|
+
* @param {string} msg
|
|
3070
|
+
*/
|
|
3071
|
+
throw(msg) {
|
|
3072
|
+
try {
|
|
3073
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3074
|
+
const ptr0 = passStringToWasm0(msg, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3075
|
+
const len0 = WASM_VECTOR_LEN;
|
|
3076
|
+
wasm.passwordmanagerclient_throw(retptr, this.__wbg_ptr, ptr0, len0);
|
|
3077
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3078
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3079
|
+
if (r1) {
|
|
3080
|
+
throw takeObject(r0);
|
|
3081
|
+
}
|
|
3082
|
+
} finally {
|
|
3083
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3084
|
+
}
|
|
3085
|
+
}
|
|
3086
|
+
/**
|
|
3087
|
+
* Test method, calls http endpoint
|
|
3088
|
+
* @param {string} url
|
|
3089
|
+
* @returns {Promise<string>}
|
|
3090
|
+
*/
|
|
3091
|
+
http_get(url) {
|
|
3092
|
+
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3093
|
+
const len0 = WASM_VECTOR_LEN;
|
|
3094
|
+
const ret = wasm.passwordmanagerclient_http_get(this.__wbg_ptr, ptr0, len0);
|
|
3095
|
+
return takeObject(ret);
|
|
3096
|
+
}
|
|
3097
|
+
/**
|
|
3098
|
+
* Auth related operations.
|
|
3099
|
+
* @returns {AuthClient}
|
|
3100
|
+
*/
|
|
3101
|
+
auth() {
|
|
3102
|
+
const ret = wasm.passwordmanagerclient_auth(this.__wbg_ptr);
|
|
3103
|
+
return AuthClient.__wrap(ret);
|
|
3104
|
+
}
|
|
3105
|
+
/**
|
|
3106
|
+
* Crypto related operations.
|
|
3107
|
+
* @returns {CryptoClient}
|
|
3108
|
+
*/
|
|
3109
|
+
crypto() {
|
|
3110
|
+
const ret = wasm.passwordmanagerclient_crypto(this.__wbg_ptr);
|
|
3111
|
+
return CryptoClient.__wrap(ret);
|
|
3112
|
+
}
|
|
3113
|
+
/**
|
|
3114
|
+
* Vault item related operations.
|
|
3115
|
+
* @returns {VaultClient}
|
|
3116
|
+
*/
|
|
3117
|
+
vault() {
|
|
3118
|
+
const ret = wasm.passwordmanagerclient_vault(this.__wbg_ptr);
|
|
3119
|
+
return VaultClient.__wrap(ret);
|
|
3120
|
+
}
|
|
3121
|
+
/**
|
|
3122
|
+
* Constructs a specific client for platform-specific functionality
|
|
3123
|
+
* @returns {PlatformClient}
|
|
3124
|
+
*/
|
|
3125
|
+
platform() {
|
|
3126
|
+
const ret = wasm.passwordmanagerclient_platform(this.__wbg_ptr);
|
|
3127
|
+
return PlatformClient.__wrap(ret);
|
|
3128
|
+
}
|
|
3129
|
+
/**
|
|
3130
|
+
* Constructs a specific client for generating passwords and passphrases
|
|
3131
|
+
* @returns {GeneratorClient}
|
|
3132
|
+
*/
|
|
3133
|
+
generator() {
|
|
3134
|
+
const ret = wasm.passwordmanagerclient_generator(this.__wbg_ptr);
|
|
3135
|
+
return GeneratorClient.__wrap(ret);
|
|
3136
|
+
}
|
|
3137
|
+
/**
|
|
3138
|
+
* Exporter related operations.
|
|
3139
|
+
* @returns {ExporterClient}
|
|
3140
|
+
*/
|
|
3141
|
+
exporters() {
|
|
3142
|
+
const ret = wasm.passwordmanagerclient_exporters(this.__wbg_ptr);
|
|
3143
|
+
return ExporterClient.__wrap(ret);
|
|
3144
|
+
}
|
|
3145
|
+
}
|
|
3146
|
+
if (Symbol.dispose)
|
|
3147
|
+
PasswordManagerClient.prototype[Symbol.dispose] = PasswordManagerClient.prototype.free;
|
|
3148
|
+
|
|
3148
3149
|
const PlatformClientFinalization =
|
|
3149
3150
|
typeof FinalizationRegistry === "undefined"
|
|
3150
3151
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -3174,7 +3175,7 @@ export class PlatformClient {
|
|
|
3174
3175
|
* @returns {StateClient}
|
|
3175
3176
|
*/
|
|
3176
3177
|
state() {
|
|
3177
|
-
const ret = wasm.
|
|
3178
|
+
const ret = wasm.passwordmanagerclient_platform(this.__wbg_ptr);
|
|
3178
3179
|
return StateClient.__wrap(ret);
|
|
3179
3180
|
}
|
|
3180
3181
|
/**
|
|
@@ -4427,7 +4428,7 @@ export function __wbg_call_e762c39fa8ea36bf() {
|
|
|
4427
4428
|
}, arguments);
|
|
4428
4429
|
}
|
|
4429
4430
|
|
|
4430
|
-
export function
|
|
4431
|
+
export function __wbg_cipher_063587a007184a5b(arg0) {
|
|
4431
4432
|
const ret = getObject(arg0).cipher;
|
|
4432
4433
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4433
4434
|
}
|
|
@@ -4520,7 +4521,7 @@ export function __wbg_fetch_f8ba0e29a9d6de0d(arg0, arg1) {
|
|
|
4520
4521
|
return addHeapObject(ret);
|
|
4521
4522
|
}
|
|
4522
4523
|
|
|
4523
|
-
export function
|
|
4524
|
+
export function __wbg_folder_95171ac6b8c27a8c(arg0) {
|
|
4524
4525
|
const ret = getObject(arg0).folder;
|
|
4525
4526
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
4526
4527
|
}
|
|
@@ -4547,22 +4548,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
|
|
|
4547
4548
|
return ret;
|
|
4548
4549
|
}
|
|
4549
4550
|
|
|
4550
|
-
export function
|
|
4551
|
-
return handleError(function (arg0, arg1, arg2) {
|
|
4552
|
-
let deferred0_0;
|
|
4553
|
-
let deferred0_1;
|
|
4554
|
-
try {
|
|
4555
|
-
deferred0_0 = arg1;
|
|
4556
|
-
deferred0_1 = arg2;
|
|
4557
|
-
const ret = getObject(arg0).get(getStringFromWasm0(arg1, arg2));
|
|
4558
|
-
return addHeapObject(ret);
|
|
4559
|
-
} finally {
|
|
4560
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
4561
|
-
}
|
|
4562
|
-
}, arguments);
|
|
4563
|
-
}
|
|
4564
|
-
|
|
4565
|
-
export function __wbg_get_729bb17622e32fbe() {
|
|
4551
|
+
export function __wbg_get_1838d0ffbb0df13f() {
|
|
4566
4552
|
return handleError(function (arg0, arg1, arg2) {
|
|
4567
4553
|
let deferred0_0;
|
|
4568
4554
|
let deferred0_1;
|
|
@@ -4582,7 +4568,7 @@ export function __wbg_get_7bed016f185add81(arg0, arg1) {
|
|
|
4582
4568
|
return addHeapObject(ret);
|
|
4583
4569
|
}
|
|
4584
4570
|
|
|
4585
|
-
export function
|
|
4571
|
+
export function __wbg_get_access_token_67b9a6854891236e(arg0) {
|
|
4586
4572
|
const ret = getObject(arg0).get_access_token();
|
|
4587
4573
|
return addHeapObject(ret);
|
|
4588
4574
|
}
|
|
@@ -4594,6 +4580,21 @@ export function __wbg_get_efcb449f58ec27c2() {
|
|
|
4594
4580
|
}, arguments);
|
|
4595
4581
|
}
|
|
4596
4582
|
|
|
4583
|
+
export function __wbg_get_f97d1609fe1ef27f() {
|
|
4584
|
+
return handleError(function (arg0, arg1, arg2) {
|
|
4585
|
+
let deferred0_0;
|
|
4586
|
+
let deferred0_1;
|
|
4587
|
+
try {
|
|
4588
|
+
deferred0_0 = arg1;
|
|
4589
|
+
deferred0_1 = arg2;
|
|
4590
|
+
const ret = getObject(arg0).get(getStringFromWasm0(arg1, arg2));
|
|
4591
|
+
return addHeapObject(ret);
|
|
4592
|
+
} finally {
|
|
4593
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
4594
|
+
}
|
|
4595
|
+
}, arguments);
|
|
4596
|
+
}
|
|
4597
|
+
|
|
4597
4598
|
export function __wbg_get_with_ref_key_1dc361bd10053bfe(arg0, arg1) {
|
|
4598
4599
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
4599
4600
|
return addHeapObject(ret);
|
|
@@ -4778,14 +4779,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
|
|
|
4778
4779
|
return ret;
|
|
4779
4780
|
}
|
|
4780
4781
|
|
|
4781
|
-
export function
|
|
4782
|
+
export function __wbg_list_61f135d00ba1fd36() {
|
|
4782
4783
|
return handleError(function (arg0) {
|
|
4783
4784
|
const ret = getObject(arg0).list();
|
|
4784
4785
|
return addHeapObject(ret);
|
|
4785
4786
|
}, arguments);
|
|
4786
4787
|
}
|
|
4787
4788
|
|
|
4788
|
-
export function
|
|
4789
|
+
export function __wbg_list_a02566fdc340b1ad() {
|
|
4789
4790
|
return handleError(function (arg0) {
|
|
4790
4791
|
const ret = getObject(arg0).list();
|
|
4791
4792
|
return addHeapObject(ret);
|
|
@@ -5029,7 +5030,7 @@ export function __wbg_randomFillSync_ac0988aba3254290() {
|
|
|
5029
5030
|
}, arguments);
|
|
5030
5031
|
}
|
|
5031
5032
|
|
|
5032
|
-
export function
|
|
5033
|
+
export function __wbg_remove_3594f15e8fca4743() {
|
|
5033
5034
|
return handleError(function (arg0, arg1, arg2) {
|
|
5034
5035
|
let deferred0_0;
|
|
5035
5036
|
let deferred0_1;
|
|
@@ -5044,7 +5045,7 @@ export function __wbg_remove_065dfc4de9f12f65() {
|
|
|
5044
5045
|
}, arguments);
|
|
5045
5046
|
}
|
|
5046
5047
|
|
|
5047
|
-
export function
|
|
5048
|
+
export function __wbg_remove_9c4c3e3b67e6b3a1() {
|
|
5048
5049
|
return handleError(function (arg0, arg1, arg2) {
|
|
5049
5050
|
let deferred0_0;
|
|
5050
5051
|
let deferred0_1;
|
|
@@ -5090,11 +5091,7 @@ export function __wbg_setTimeout_ca12ead8b48245e2(arg0, arg1) {
|
|
|
5090
5091
|
return addHeapObject(ret);
|
|
5091
5092
|
}
|
|
5092
5093
|
|
|
5093
|
-
export function
|
|
5094
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5095
|
-
}
|
|
5096
|
-
|
|
5097
|
-
export function __wbg_set_4881b2237c76b95f() {
|
|
5094
|
+
export function __wbg_set_0159738cb1dd7a1d() {
|
|
5098
5095
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5099
5096
|
let deferred0_0;
|
|
5100
5097
|
let deferred0_1;
|
|
@@ -5109,7 +5106,11 @@ export function __wbg_set_4881b2237c76b95f() {
|
|
|
5109
5106
|
}, arguments);
|
|
5110
5107
|
}
|
|
5111
5108
|
|
|
5112
|
-
export function
|
|
5109
|
+
export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
|
|
5110
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
5111
|
+
}
|
|
5112
|
+
|
|
5113
|
+
export function __wbg_set_834a40164c1f126c() {
|
|
5113
5114
|
return handleError(function (arg0, arg1, arg2, arg3) {
|
|
5114
5115
|
let deferred0_0;
|
|
5115
5116
|
let deferred0_1;
|
|
@@ -5312,23 +5313,23 @@ export function __wbg_warn_8f5b5437666d0885(arg0, arg1, arg2, arg3) {
|
|
|
5312
5313
|
console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
|
|
5313
5314
|
}
|
|
5314
5315
|
|
|
5315
|
-
export function
|
|
5316
|
-
// Cast intrinsic for `
|
|
5317
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
5318
|
-
return addHeapObject(ret);
|
|
5319
|
-
}
|
|
5320
|
-
|
|
5321
|
-
export function __wbindgen_cast_3bdbc0e1dbbca79e(arg0, arg1) {
|
|
5322
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 548, function: Function { arguments: [], shim_idx: 302, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5316
|
+
export function __wbindgen_cast_1e9dc1058b799ead(arg0, arg1) {
|
|
5317
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5323
5318
|
const ret = makeMutClosure(
|
|
5324
5319
|
arg0,
|
|
5325
5320
|
arg1,
|
|
5326
|
-
wasm.
|
|
5327
|
-
|
|
5321
|
+
wasm.wasm_bindgen__closure__destroy__h1470697583ce3ba3,
|
|
5322
|
+
wasm_bindgen__convert__closures_____invoke__hdc41283f124c06e5,
|
|
5328
5323
|
);
|
|
5329
5324
|
return addHeapObject(ret);
|
|
5330
5325
|
}
|
|
5331
5326
|
|
|
5327
|
+
export function __wbindgen_cast_2241b6af4c4b2941(arg0, arg1) {
|
|
5328
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
5329
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
5330
|
+
return addHeapObject(ret);
|
|
5331
|
+
}
|
|
5332
|
+
|
|
5332
5333
|
export function __wbindgen_cast_4625c577ab2ec9ee(arg0) {
|
|
5333
5334
|
// Cast intrinsic for `U64 -> Externref`.
|
|
5334
5335
|
const ret = BigInt.asUintN(64, arg0);
|
|
@@ -5343,6 +5344,17 @@ export function __wbindgen_cast_5fea77eff9dd275c(arg0, arg1) {
|
|
|
5343
5344
|
return addHeapObject(ret);
|
|
5344
5345
|
}
|
|
5345
5346
|
|
|
5347
|
+
export function __wbindgen_cast_6b441f2e42512d6e(arg0, arg1) {
|
|
5348
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 545, function: Function { arguments: [], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5349
|
+
const ret = makeMutClosure(
|
|
5350
|
+
arg0,
|
|
5351
|
+
arg1,
|
|
5352
|
+
wasm.wasm_bindgen__closure__destroy__hfcb631b72e5e985c,
|
|
5353
|
+
wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e,
|
|
5354
|
+
);
|
|
5355
|
+
return addHeapObject(ret);
|
|
5356
|
+
}
|
|
5357
|
+
|
|
5346
5358
|
export function __wbindgen_cast_7a6d185652cd8149(arg0, arg1) {
|
|
5347
5359
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5348
5360
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
@@ -5357,35 +5369,13 @@ export function __wbindgen_cast_9ae0607507abb057(arg0) {
|
|
|
5357
5369
|
return addHeapObject(ret);
|
|
5358
5370
|
}
|
|
5359
5371
|
|
|
5360
|
-
export function
|
|
5361
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5372
|
+
export function __wbindgen_cast_c5e8bf91c85dc4ef(arg0, arg1) {
|
|
5373
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 298, function: Function { arguments: [Externref], shim_idx: 42, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5362
5374
|
const ret = makeMutClosure(
|
|
5363
5375
|
arg0,
|
|
5364
5376
|
arg1,
|
|
5365
5377
|
wasm.wasm_bindgen__closure__destroy__h5bf455f3385c4f71,
|
|
5366
|
-
|
|
5367
|
-
);
|
|
5368
|
-
return addHeapObject(ret);
|
|
5369
|
-
}
|
|
5370
|
-
|
|
5371
|
-
export function __wbindgen_cast_c56a9a44151353f2(arg0, arg1) {
|
|
5372
|
-
// 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`.
|
|
5373
|
-
const ret = makeMutClosure(
|
|
5374
|
-
arg0,
|
|
5375
|
-
arg1,
|
|
5376
|
-
wasm.wasm_bindgen__closure__destroy__hc8374e511fe7ebd1,
|
|
5377
|
-
wasm_bindgen__convert__closures_____invoke__hd11035e31e1056de,
|
|
5378
|
-
);
|
|
5379
|
-
return addHeapObject(ret);
|
|
5380
|
-
}
|
|
5381
|
-
|
|
5382
|
-
export function __wbindgen_cast_c6953dec10624911(arg0, arg1) {
|
|
5383
|
-
// 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`.
|
|
5384
|
-
const ret = makeMutClosure(
|
|
5385
|
-
arg0,
|
|
5386
|
-
arg1,
|
|
5387
|
-
wasm.wasm_bindgen__closure__destroy__hc8374e511fe7ebd1,
|
|
5388
|
-
wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31,
|
|
5378
|
+
wasm_bindgen__convert__closures_____invoke__hdc41283f124c06e5,
|
|
5389
5379
|
);
|
|
5390
5380
|
return addHeapObject(ret);
|
|
5391
5381
|
}
|
|
@@ -5402,8 +5392,8 @@ export function __wbindgen_cast_d6cd19b81560fd6e(arg0) {
|
|
|
5402
5392
|
return addHeapObject(ret);
|
|
5403
5393
|
}
|
|
5404
5394
|
|
|
5405
|
-
export function
|
|
5406
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
5395
|
+
export function __wbindgen_cast_d87bfd09ab1288e4(arg0, arg1) {
|
|
5396
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 298, function: Function { arguments: [], shim_idx: 299, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5407
5397
|
const ret = makeMutClosure(
|
|
5408
5398
|
arg0,
|
|
5409
5399
|
arg1,
|
|
@@ -5413,6 +5403,17 @@ export function __wbindgen_cast_e1b8613407289e9c(arg0, arg1) {
|
|
|
5413
5403
|
return addHeapObject(ret);
|
|
5414
5404
|
}
|
|
5415
5405
|
|
|
5406
|
+
export function __wbindgen_cast_daac1d8e48fc3ba0(arg0, arg1) {
|
|
5407
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 41, function: Function { arguments: [NamedExternref("Event")], shim_idx: 44, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5408
|
+
const ret = makeMutClosure(
|
|
5409
|
+
arg0,
|
|
5410
|
+
arg1,
|
|
5411
|
+
wasm.wasm_bindgen__closure__destroy__h1470697583ce3ba3,
|
|
5412
|
+
wasm_bindgen__convert__closures_____invoke__h1a8786b7bd5c2cf5,
|
|
5413
|
+
);
|
|
5414
|
+
return addHeapObject(ret);
|
|
5415
|
+
}
|
|
5416
|
+
|
|
5416
5417
|
export function __wbindgen_cast_ef90a087adb7475d(arg0, arg1) {
|
|
5417
5418
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
5418
5419
|
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
Binary file
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const
|
|
5
|
-
export const
|
|
6
|
-
export const
|
|
7
|
-
export const
|
|
8
|
-
export const
|
|
9
|
-
export const
|
|
10
|
-
export const
|
|
11
|
-
export const
|
|
12
|
-
export const
|
|
13
|
-
export const
|
|
14
|
-
export const
|
|
15
|
-
export const
|
|
4
|
+
export const __wbg_passwordmanagerclient_free: (a: number, b: number) => void;
|
|
5
|
+
export const passwordmanagerclient_new: (a: number, b: number) => number;
|
|
6
|
+
export const passwordmanagerclient_echo: (a: number, b: number, c: number, d: number) => void;
|
|
7
|
+
export const passwordmanagerclient_version: (a: number, b: number) => void;
|
|
8
|
+
export const passwordmanagerclient_throw: (a: number, b: number, c: number, d: number) => void;
|
|
9
|
+
export const passwordmanagerclient_http_get: (a: number, b: number, c: number) => number;
|
|
10
|
+
export const passwordmanagerclient_auth: (a: number) => number;
|
|
11
|
+
export const passwordmanagerclient_crypto: (a: number) => number;
|
|
12
|
+
export const passwordmanagerclient_vault: (a: number) => number;
|
|
13
|
+
export const passwordmanagerclient_platform: (a: number) => number;
|
|
14
|
+
export const passwordmanagerclient_generator: (a: number) => number;
|
|
15
|
+
export const passwordmanagerclient_exporters: (a: number) => number;
|
|
16
16
|
export const init_sdk: (a: number) => void;
|
|
17
17
|
export const platformclient_load_flags: (a: number, b: number, c: number) => void;
|
|
18
18
|
export const stateclient_register_cipher_repository: (a: number, b: number) => void;
|
|
@@ -431,19 +431,19 @@ export const __wbg_totpclient_free: (a: number, b: number) => void;
|
|
|
431
431
|
export const __wbg_get_outgoingmessage_destination: (a: number) => number;
|
|
432
432
|
export const __wbg_set_outgoingmessage_destination: (a: number, b: number) => void;
|
|
433
433
|
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
434
|
-
export const
|
|
434
|
+
export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
|
|
435
435
|
a: number,
|
|
436
436
|
b: number,
|
|
437
|
-
c: number,
|
|
438
437
|
) => void;
|
|
439
|
-
export const
|
|
440
|
-
export const
|
|
438
|
+
export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
|
|
439
|
+
export const wasm_bindgen__convert__closures_____invoke__hdc41283f124c06e5: (
|
|
441
440
|
a: number,
|
|
442
441
|
b: number,
|
|
442
|
+
c: number,
|
|
443
443
|
) => void;
|
|
444
|
-
export const
|
|
445
|
-
export const
|
|
446
|
-
export const
|
|
444
|
+
export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
|
|
445
|
+
export const wasm_bindgen__closure__destroy__h1470697583ce3ba3: (a: number, b: number) => void;
|
|
446
|
+
export const wasm_bindgen__convert__closures_____invoke__h1a8786b7bd5c2cf5: (
|
|
447
447
|
a: number,
|
|
448
448
|
b: number,
|
|
449
449
|
c: number,
|