@bitwarden/sdk-internal 0.2.0-main.394 → 0.2.0-main.395

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 CHANGED
@@ -1 +1 @@
1
- f1185705b1aa0af0a11b4c1193a0b46a1150c0de
1
+ 6a31cf67841988dac7f8e68a290f69ba5c64dc5a
@@ -127,6 +127,11 @@ export enum UriMatchType {
127
127
  Never = 5,
128
128
  }
129
129
 
130
+ /**
131
+ * @deprecated Use PasswordManagerClient instead
132
+ */
133
+ export type BitwardenClient = PasswordManagerClient;
134
+
130
135
  import { Tagged } from "type-fest";
131
136
 
132
137
  /**
@@ -1826,57 +1831,6 @@ export class AuthClient {
1826
1831
  */
1827
1832
  send_access(): SendAccessClient;
1828
1833
  }
1829
- /**
1830
- * The main entry point for the Bitwarden SDK in WebAssembly environments
1831
- */
1832
- export class BitwardenClient {
1833
- free(): void;
1834
- [Symbol.dispose](): void;
1835
- /**
1836
- * Initialize a new instance of the SDK client
1837
- */
1838
- constructor(token_provider: any, settings?: ClientSettings | null);
1839
- /**
1840
- * Test method, echoes back the input
1841
- */
1842
- echo(msg: string): string;
1843
- /**
1844
- * Returns the current SDK version
1845
- */
1846
- version(): string;
1847
- /**
1848
- * Test method, always throws an error
1849
- */
1850
- throw(msg: string): void;
1851
- /**
1852
- * Test method, calls http endpoint
1853
- */
1854
- http_get(url: string): Promise<string>;
1855
- /**
1856
- * Auth related operations.
1857
- */
1858
- auth(): AuthClient;
1859
- /**
1860
- * Crypto related operations.
1861
- */
1862
- crypto(): CryptoClient;
1863
- /**
1864
- * Vault item related operations.
1865
- */
1866
- vault(): VaultClient;
1867
- /**
1868
- * Constructs a specific client for platform-specific functionality
1869
- */
1870
- platform(): PlatformClient;
1871
- /**
1872
- * Constructs a specific client for generating passwords and passphrases
1873
- */
1874
- generator(): GeneratorClient;
1875
- /**
1876
- * Exporter related operations.
1877
- */
1878
- exporters(): ExporterClient;
1879
- }
1880
1834
  /**
1881
1835
  * Client for evaluating credential risk for login ciphers.
1882
1836
  */
@@ -2290,6 +2244,57 @@ export class OutgoingMessage {
2290
2244
  get topic(): string | undefined;
2291
2245
  set topic(value: string | null | undefined);
2292
2246
  }
2247
+ /**
2248
+ * The main entry point for the Bitwarden SDK in WebAssembly environments
2249
+ */
2250
+ export class PasswordManagerClient {
2251
+ free(): void;
2252
+ [Symbol.dispose](): void;
2253
+ /**
2254
+ * Initialize a new instance of the SDK client
2255
+ */
2256
+ constructor(token_provider: any, settings?: ClientSettings | null);
2257
+ /**
2258
+ * Test method, echoes back the input
2259
+ */
2260
+ echo(msg: string): string;
2261
+ /**
2262
+ * Returns the current SDK version
2263
+ */
2264
+ version(): string;
2265
+ /**
2266
+ * Test method, always throws an error
2267
+ */
2268
+ throw(msg: string): void;
2269
+ /**
2270
+ * Test method, calls http endpoint
2271
+ */
2272
+ http_get(url: string): Promise<string>;
2273
+ /**
2274
+ * Auth related operations.
2275
+ */
2276
+ auth(): AuthClient;
2277
+ /**
2278
+ * Crypto related operations.
2279
+ */
2280
+ crypto(): CryptoClient;
2281
+ /**
2282
+ * Vault item related operations.
2283
+ */
2284
+ vault(): VaultClient;
2285
+ /**
2286
+ * Constructs a specific client for platform-specific functionality
2287
+ */
2288
+ platform(): PlatformClient;
2289
+ /**
2290
+ * Constructs a specific client for generating passwords and passphrases
2291
+ */
2292
+ generator(): GeneratorClient;
2293
+ /**
2294
+ * Exporter related operations.
2295
+ */
2296
+ exporters(): ExporterClient;
2297
+ }
2293
2298
  export class PlatformClient {
2294
2299
  private constructor();
2295
2300
  free(): void;
@@ -868,6 +868,10 @@ export function isEncryptFileError(error) {
868
868
  }
869
869
  }
870
870
 
871
+ function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
872
+ wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
873
+ }
874
+
871
875
  function wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31(arg0, arg1, arg2) {
872
876
  wasm.wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31(
873
877
  arg0,
@@ -876,10 +880,6 @@ function wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31(arg0, arg
876
880
  );
877
881
  }
878
882
 
879
- function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
880
- wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
881
- }
882
-
883
883
  function wasm_bindgen__convert__closures_____invoke__hd11035e31e1056de(arg0, arg1, arg2) {
884
884
  try {
885
885
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
@@ -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.bitwardenclient_platform(this.__wbg_ptr);
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 __wbg_cipher_bfa1892c754b7af0(arg0) {
4431
+ export function __wbg_cipher_834d4613cdda1244(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 __wbg_folder_a20cb32134a2391c(arg0) {
4524
+ export function __wbg_folder_23552597752ca903(arg0) {
4524
4525
  const ret = getObject(arg0).folder;
4525
4526
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4526
4527
  }
@@ -4547,7 +4548,7 @@ export function __wbg_getTime_14776bfb48a1bff9(arg0) {
4547
4548
  return ret;
4548
4549
  }
4549
4550
 
4550
- export function __wbg_get_3c2f69a2a0b542fa() {
4551
+ export function __wbg_get_43e4ac53ac36428e() {
4551
4552
  return handleError(function (arg0, arg1, arg2) {
4552
4553
  let deferred0_0;
4553
4554
  let deferred0_1;
@@ -4562,7 +4563,12 @@ export function __wbg_get_3c2f69a2a0b542fa() {
4562
4563
  }, arguments);
4563
4564
  }
4564
4565
 
4565
- export function __wbg_get_729bb17622e32fbe() {
4566
+ export function __wbg_get_7bed016f185add81(arg0, arg1) {
4567
+ const ret = getObject(arg0)[arg1 >>> 0];
4568
+ return addHeapObject(ret);
4569
+ }
4570
+
4571
+ export function __wbg_get_8e79bf8b6bd9390e() {
4566
4572
  return handleError(function (arg0, arg1, arg2) {
4567
4573
  let deferred0_0;
4568
4574
  let deferred0_1;
@@ -4577,12 +4583,7 @@ export function __wbg_get_729bb17622e32fbe() {
4577
4583
  }, arguments);
4578
4584
  }
4579
4585
 
4580
- export function __wbg_get_7bed016f185add81(arg0, arg1) {
4581
- const ret = getObject(arg0)[arg1 >>> 0];
4582
- return addHeapObject(ret);
4583
- }
4584
-
4585
- export function __wbg_get_access_token_8ae90d4959cc3fed(arg0) {
4586
+ export function __wbg_get_access_token_ea0e045156900f0d(arg0) {
4586
4587
  const ret = getObject(arg0).get_access_token();
4587
4588
  return addHeapObject(ret);
4588
4589
  }
@@ -4778,14 +4779,14 @@ export function __wbg_length_cdd215e10d9dd507(arg0) {
4778
4779
  return ret;
4779
4780
  }
4780
4781
 
4781
- export function __wbg_list_051d904cdfd79905() {
4782
+ export function __wbg_list_baea5261a20d24cc() {
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 __wbg_list_8d181ad99524aa33() {
4789
+ export function __wbg_list_c9ca45f34538dc57() {
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 __wbg_remove_065dfc4de9f12f65() {
5033
+ export function __wbg_remove_2757c99997349f4f() {
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 __wbg_remove_bcb44e8a1d1bdd2c() {
5048
+ export function __wbg_remove_62dc5d88c7d98213() {
5048
5049
  return handleError(function (arg0, arg1, arg2) {
5049
5050
  let deferred0_0;
5050
5051
  let deferred0_1;
@@ -5094,7 +5095,7 @@ export function __wbg_set_3f1d0b984ed272ed(arg0, arg1, arg2) {
5094
5095
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5095
5096
  }
5096
5097
 
5097
- export function __wbg_set_4881b2237c76b95f() {
5098
+ export function __wbg_set_8574bc378894487e() {
5098
5099
  return handleError(function (arg0, arg1, arg2, arg3) {
5099
5100
  let deferred0_0;
5100
5101
  let deferred0_1;
@@ -5109,7 +5110,12 @@ export function __wbg_set_4881b2237c76b95f() {
5109
5110
  }, arguments);
5110
5111
  }
5111
5112
 
5112
- export function __wbg_set_68faafa99a28839c() {
5113
+ export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5114
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5115
+ return addHeapObject(ret);
5116
+ }
5117
+
5118
+ export function __wbg_set_a27e21e310ea67b0() {
5113
5119
  return handleError(function (arg0, arg1, arg2, arg3) {
5114
5120
  let deferred0_0;
5115
5121
  let deferred0_1;
@@ -5124,11 +5130,6 @@ export function __wbg_set_68faafa99a28839c() {
5124
5130
  }, arguments);
5125
5131
  }
5126
5132
 
5127
- export function __wbg_set_907fb406c34a251d(arg0, arg1, arg2) {
5128
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5129
- return addHeapObject(ret);
5130
- }
5131
-
5132
5133
  export function __wbg_set_body_3c365989753d61f4(arg0, arg1) {
5133
5134
  getObject(arg0).body = getObject(arg1);
5134
5135
  }
Binary file
@@ -1,18 +1,18 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_bitwardenclient_free: (a: number, b: number) => void;
5
- export const bitwardenclient_new: (a: number, b: number) => number;
6
- export const bitwardenclient_echo: (a: number, b: number, c: number, d: number) => void;
7
- export const bitwardenclient_version: (a: number, b: number) => void;
8
- export const bitwardenclient_throw: (a: number, b: number, c: number, d: number) => void;
9
- export const bitwardenclient_http_get: (a: number, b: number, c: number) => number;
10
- export const bitwardenclient_auth: (a: number) => number;
11
- export const bitwardenclient_crypto: (a: number) => number;
12
- export const bitwardenclient_vault: (a: number) => number;
13
- export const bitwardenclient_platform: (a: number) => number;
14
- export const bitwardenclient_generator: (a: number) => number;
15
- export const bitwardenclient_exporters: (a: number) => number;
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,17 +431,16 @@ 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 wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31: (
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 wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
440
- export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
438
+ export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
439
+ export const wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31: (
441
440
  a: number,
442
441
  b: number,
442
+ c: number,
443
443
  ) => void;
444
- export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
445
444
  export const wasm_bindgen__closure__destroy__hc8374e511fe7ebd1: (a: number, b: number) => void;
446
445
  export const wasm_bindgen__convert__closures_____invoke__hd11035e31e1056de: (
447
446
  a: number,
@@ -449,6 +448,7 @@ export const wasm_bindgen__convert__closures_____invoke__hd11035e31e1056de: (
449
448
  c: number,
450
449
  d: number,
451
450
  ) => void;
451
+ export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
452
452
  export const wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f: (
453
453
  a: number,
454
454
  b: number,