@bitwarden/sdk-internal 0.2.0-main.393 → 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.
@@ -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;
@@ -858,6 +858,14 @@ exports.isEncryptFileError = function (error) {
858
858
  }
859
859
  };
860
860
 
861
+ function wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31(arg0, arg1, arg2) {
862
+ wasm.wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31(
863
+ arg0,
864
+ arg1,
865
+ addHeapObject(arg2),
866
+ );
867
+ }
868
+
861
869
  function wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1) {
862
870
  wasm.wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e(arg0, arg1);
863
871
  }
@@ -881,14 +889,6 @@ function wasm_bindgen__convert__closures_____invoke__hd11035e31e1056de(arg0, arg
881
889
  }
882
890
  }
883
891
 
884
- function wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31(arg0, arg1, arg2) {
885
- wasm.wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31(
886
- arg0,
887
- arg1,
888
- addHeapObject(arg2),
889
- );
890
- }
891
-
892
892
  function wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f(arg0, arg1, arg2, arg3) {
893
893
  wasm.wasm_bindgen__convert__closures_____invoke__h43dfd80678632d6f(
894
894
  arg0,
@@ -1172,165 +1172,6 @@ if (Symbol.dispose) AuthClient.prototype[Symbol.dispose] = AuthClient.prototype.
1172
1172
 
1173
1173
  exports.AuthClient = AuthClient;
1174
1174
 
1175
- const BitwardenClientFinalization =
1176
- typeof FinalizationRegistry === "undefined"
1177
- ? { register: () => {}, unregister: () => {} }
1178
- : new FinalizationRegistry((ptr) => wasm.__wbg_bitwardenclient_free(ptr >>> 0, 1));
1179
- /**
1180
- * The main entry point for the Bitwarden SDK in WebAssembly environments
1181
- */
1182
- class BitwardenClient {
1183
- __destroy_into_raw() {
1184
- const ptr = this.__wbg_ptr;
1185
- this.__wbg_ptr = 0;
1186
- BitwardenClientFinalization.unregister(this);
1187
- return ptr;
1188
- }
1189
-
1190
- free() {
1191
- const ptr = this.__destroy_into_raw();
1192
- wasm.__wbg_bitwardenclient_free(ptr, 0);
1193
- }
1194
- /**
1195
- * Initialize a new instance of the SDK client
1196
- * @param {any} token_provider
1197
- * @param {ClientSettings | null} [settings]
1198
- */
1199
- constructor(token_provider, settings) {
1200
- const ret = wasm.bitwardenclient_new(
1201
- addHeapObject(token_provider),
1202
- isLikeNone(settings) ? 0 : addHeapObject(settings),
1203
- );
1204
- this.__wbg_ptr = ret >>> 0;
1205
- BitwardenClientFinalization.register(this, this.__wbg_ptr, this);
1206
- return this;
1207
- }
1208
- /**
1209
- * Test method, echoes back the input
1210
- * @param {string} msg
1211
- * @returns {string}
1212
- */
1213
- echo(msg) {
1214
- let deferred2_0;
1215
- let deferred2_1;
1216
- try {
1217
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1218
- const ptr0 = passStringToWasm0(msg, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1219
- const len0 = WASM_VECTOR_LEN;
1220
- wasm.bitwardenclient_echo(retptr, this.__wbg_ptr, ptr0, len0);
1221
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1222
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1223
- deferred2_0 = r0;
1224
- deferred2_1 = r1;
1225
- return getStringFromWasm0(r0, r1);
1226
- } finally {
1227
- wasm.__wbindgen_add_to_stack_pointer(16);
1228
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
1229
- }
1230
- }
1231
- /**
1232
- * Returns the current SDK version
1233
- * @returns {string}
1234
- */
1235
- version() {
1236
- let deferred1_0;
1237
- let deferred1_1;
1238
- try {
1239
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1240
- wasm.bitwardenclient_version(retptr, this.__wbg_ptr);
1241
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1242
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1243
- deferred1_0 = r0;
1244
- deferred1_1 = r1;
1245
- return getStringFromWasm0(r0, r1);
1246
- } finally {
1247
- wasm.__wbindgen_add_to_stack_pointer(16);
1248
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
1249
- }
1250
- }
1251
- /**
1252
- * Test method, always throws an error
1253
- * @param {string} msg
1254
- */
1255
- throw(msg) {
1256
- try {
1257
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1258
- const ptr0 = passStringToWasm0(msg, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1259
- const len0 = WASM_VECTOR_LEN;
1260
- wasm.bitwardenclient_throw(retptr, this.__wbg_ptr, ptr0, len0);
1261
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1262
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1263
- if (r1) {
1264
- throw takeObject(r0);
1265
- }
1266
- } finally {
1267
- wasm.__wbindgen_add_to_stack_pointer(16);
1268
- }
1269
- }
1270
- /**
1271
- * Test method, calls http endpoint
1272
- * @param {string} url
1273
- * @returns {Promise<string>}
1274
- */
1275
- http_get(url) {
1276
- const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1277
- const len0 = WASM_VECTOR_LEN;
1278
- const ret = wasm.bitwardenclient_http_get(this.__wbg_ptr, ptr0, len0);
1279
- return takeObject(ret);
1280
- }
1281
- /**
1282
- * Auth related operations.
1283
- * @returns {AuthClient}
1284
- */
1285
- auth() {
1286
- const ret = wasm.bitwardenclient_auth(this.__wbg_ptr);
1287
- return AuthClient.__wrap(ret);
1288
- }
1289
- /**
1290
- * Crypto related operations.
1291
- * @returns {CryptoClient}
1292
- */
1293
- crypto() {
1294
- const ret = wasm.bitwardenclient_crypto(this.__wbg_ptr);
1295
- return CryptoClient.__wrap(ret);
1296
- }
1297
- /**
1298
- * Vault item related operations.
1299
- * @returns {VaultClient}
1300
- */
1301
- vault() {
1302
- const ret = wasm.bitwardenclient_vault(this.__wbg_ptr);
1303
- return VaultClient.__wrap(ret);
1304
- }
1305
- /**
1306
- * Constructs a specific client for platform-specific functionality
1307
- * @returns {PlatformClient}
1308
- */
1309
- platform() {
1310
- const ret = wasm.bitwardenclient_platform(this.__wbg_ptr);
1311
- return PlatformClient.__wrap(ret);
1312
- }
1313
- /**
1314
- * Constructs a specific client for generating passwords and passphrases
1315
- * @returns {GeneratorClient}
1316
- */
1317
- generator() {
1318
- const ret = wasm.bitwardenclient_generator(this.__wbg_ptr);
1319
- return GeneratorClient.__wrap(ret);
1320
- }
1321
- /**
1322
- * Exporter related operations.
1323
- * @returns {ExporterClient}
1324
- */
1325
- exporters() {
1326
- const ret = wasm.bitwardenclient_exporters(this.__wbg_ptr);
1327
- return ExporterClient.__wrap(ret);
1328
- }
1329
- }
1330
- if (Symbol.dispose) BitwardenClient.prototype[Symbol.dispose] = BitwardenClient.prototype.free;
1331
-
1332
- exports.BitwardenClient = BitwardenClient;
1333
-
1334
1175
  const CipherRiskClientFinalization =
1335
1176
  typeof FinalizationRegistry === "undefined"
1336
1177
  ? { register: () => {}, unregister: () => {} }
@@ -3171,6 +3012,166 @@ if (Symbol.dispose) OutgoingMessage.prototype[Symbol.dispose] = OutgoingMessage.
3171
3012
 
3172
3013
  exports.OutgoingMessage = OutgoingMessage;
3173
3014
 
3015
+ const PasswordManagerClientFinalization =
3016
+ typeof FinalizationRegistry === "undefined"
3017
+ ? { register: () => {}, unregister: () => {} }
3018
+ : new FinalizationRegistry((ptr) => wasm.__wbg_passwordmanagerclient_free(ptr >>> 0, 1));
3019
+ /**
3020
+ * The main entry point for the Bitwarden SDK in WebAssembly environments
3021
+ */
3022
+ class PasswordManagerClient {
3023
+ __destroy_into_raw() {
3024
+ const ptr = this.__wbg_ptr;
3025
+ this.__wbg_ptr = 0;
3026
+ PasswordManagerClientFinalization.unregister(this);
3027
+ return ptr;
3028
+ }
3029
+
3030
+ free() {
3031
+ const ptr = this.__destroy_into_raw();
3032
+ wasm.__wbg_passwordmanagerclient_free(ptr, 0);
3033
+ }
3034
+ /**
3035
+ * Initialize a new instance of the SDK client
3036
+ * @param {any} token_provider
3037
+ * @param {ClientSettings | null} [settings]
3038
+ */
3039
+ constructor(token_provider, settings) {
3040
+ const ret = wasm.passwordmanagerclient_new(
3041
+ addHeapObject(token_provider),
3042
+ isLikeNone(settings) ? 0 : addHeapObject(settings),
3043
+ );
3044
+ this.__wbg_ptr = ret >>> 0;
3045
+ PasswordManagerClientFinalization.register(this, this.__wbg_ptr, this);
3046
+ return this;
3047
+ }
3048
+ /**
3049
+ * Test method, echoes back the input
3050
+ * @param {string} msg
3051
+ * @returns {string}
3052
+ */
3053
+ echo(msg) {
3054
+ let deferred2_0;
3055
+ let deferred2_1;
3056
+ try {
3057
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3058
+ const ptr0 = passStringToWasm0(msg, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3059
+ const len0 = WASM_VECTOR_LEN;
3060
+ wasm.passwordmanagerclient_echo(retptr, this.__wbg_ptr, ptr0, len0);
3061
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3062
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3063
+ deferred2_0 = r0;
3064
+ deferred2_1 = r1;
3065
+ return getStringFromWasm0(r0, r1);
3066
+ } finally {
3067
+ wasm.__wbindgen_add_to_stack_pointer(16);
3068
+ wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
3069
+ }
3070
+ }
3071
+ /**
3072
+ * Returns the current SDK version
3073
+ * @returns {string}
3074
+ */
3075
+ version() {
3076
+ let deferred1_0;
3077
+ let deferred1_1;
3078
+ try {
3079
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3080
+ wasm.passwordmanagerclient_version(retptr, this.__wbg_ptr);
3081
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3082
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3083
+ deferred1_0 = r0;
3084
+ deferred1_1 = r1;
3085
+ return getStringFromWasm0(r0, r1);
3086
+ } finally {
3087
+ wasm.__wbindgen_add_to_stack_pointer(16);
3088
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
3089
+ }
3090
+ }
3091
+ /**
3092
+ * Test method, always throws an error
3093
+ * @param {string} msg
3094
+ */
3095
+ throw(msg) {
3096
+ try {
3097
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3098
+ const ptr0 = passStringToWasm0(msg, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3099
+ const len0 = WASM_VECTOR_LEN;
3100
+ wasm.passwordmanagerclient_throw(retptr, this.__wbg_ptr, ptr0, len0);
3101
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3102
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3103
+ if (r1) {
3104
+ throw takeObject(r0);
3105
+ }
3106
+ } finally {
3107
+ wasm.__wbindgen_add_to_stack_pointer(16);
3108
+ }
3109
+ }
3110
+ /**
3111
+ * Test method, calls http endpoint
3112
+ * @param {string} url
3113
+ * @returns {Promise<string>}
3114
+ */
3115
+ http_get(url) {
3116
+ const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
3117
+ const len0 = WASM_VECTOR_LEN;
3118
+ const ret = wasm.passwordmanagerclient_http_get(this.__wbg_ptr, ptr0, len0);
3119
+ return takeObject(ret);
3120
+ }
3121
+ /**
3122
+ * Auth related operations.
3123
+ * @returns {AuthClient}
3124
+ */
3125
+ auth() {
3126
+ const ret = wasm.passwordmanagerclient_auth(this.__wbg_ptr);
3127
+ return AuthClient.__wrap(ret);
3128
+ }
3129
+ /**
3130
+ * Crypto related operations.
3131
+ * @returns {CryptoClient}
3132
+ */
3133
+ crypto() {
3134
+ const ret = wasm.passwordmanagerclient_crypto(this.__wbg_ptr);
3135
+ return CryptoClient.__wrap(ret);
3136
+ }
3137
+ /**
3138
+ * Vault item related operations.
3139
+ * @returns {VaultClient}
3140
+ */
3141
+ vault() {
3142
+ const ret = wasm.passwordmanagerclient_vault(this.__wbg_ptr);
3143
+ return VaultClient.__wrap(ret);
3144
+ }
3145
+ /**
3146
+ * Constructs a specific client for platform-specific functionality
3147
+ * @returns {PlatformClient}
3148
+ */
3149
+ platform() {
3150
+ const ret = wasm.passwordmanagerclient_platform(this.__wbg_ptr);
3151
+ return PlatformClient.__wrap(ret);
3152
+ }
3153
+ /**
3154
+ * Constructs a specific client for generating passwords and passphrases
3155
+ * @returns {GeneratorClient}
3156
+ */
3157
+ generator() {
3158
+ const ret = wasm.passwordmanagerclient_generator(this.__wbg_ptr);
3159
+ return GeneratorClient.__wrap(ret);
3160
+ }
3161
+ /**
3162
+ * Exporter related operations.
3163
+ * @returns {ExporterClient}
3164
+ */
3165
+ exporters() {
3166
+ const ret = wasm.passwordmanagerclient_exporters(this.__wbg_ptr);
3167
+ return ExporterClient.__wrap(ret);
3168
+ }
3169
+ }
3170
+ if (Symbol.dispose)
3171
+ PasswordManagerClient.prototype[Symbol.dispose] = PasswordManagerClient.prototype.free;
3172
+
3173
+ exports.PasswordManagerClient = PasswordManagerClient;
3174
+
3174
3175
  const PlatformClientFinalization =
3175
3176
  typeof FinalizationRegistry === "undefined"
3176
3177
  ? { register: () => {}, unregister: () => {} }
@@ -3200,7 +3201,7 @@ class PlatformClient {
3200
3201
  * @returns {StateClient}
3201
3202
  */
3202
3203
  state() {
3203
- const ret = wasm.bitwardenclient_platform(this.__wbg_ptr);
3204
+ const ret = wasm.passwordmanagerclient_platform(this.__wbg_ptr);
3204
3205
  return StateClient.__wrap(ret);
3205
3206
  }
3206
3207
  /**
@@ -4465,7 +4466,7 @@ exports.__wbg_call_e762c39fa8ea36bf = function () {
4465
4466
  }, arguments);
4466
4467
  };
4467
4468
 
4468
- exports.__wbg_cipher_714180efd19abe39 = function (arg0) {
4469
+ exports.__wbg_cipher_834d4613cdda1244 = function (arg0) {
4469
4470
  const ret = getObject(arg0).cipher;
4470
4471
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4471
4472
  };
@@ -4558,7 +4559,7 @@ exports.__wbg_fetch_f8ba0e29a9d6de0d = function (arg0, arg1) {
4558
4559
  return addHeapObject(ret);
4559
4560
  };
4560
4561
 
4561
- exports.__wbg_folder_b6b79b8cc135fb3d = function (arg0) {
4562
+ exports.__wbg_folder_23552597752ca903 = function (arg0) {
4562
4563
  const ret = getObject(arg0).folder;
4563
4564
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
4564
4565
  };
@@ -4585,7 +4586,7 @@ exports.__wbg_getTime_14776bfb48a1bff9 = function (arg0) {
4585
4586
  return ret;
4586
4587
  };
4587
4588
 
4588
- exports.__wbg_get_383e80494f97cfd5 = function () {
4589
+ exports.__wbg_get_43e4ac53ac36428e = function () {
4589
4590
  return handleError(function (arg0, arg1, arg2) {
4590
4591
  let deferred0_0;
4591
4592
  let deferred0_1;
@@ -4605,7 +4606,7 @@ exports.__wbg_get_7bed016f185add81 = function (arg0, arg1) {
4605
4606
  return addHeapObject(ret);
4606
4607
  };
4607
4608
 
4608
- exports.__wbg_get_7f6c3ff94df2aa6c = function () {
4609
+ exports.__wbg_get_8e79bf8b6bd9390e = function () {
4609
4610
  return handleError(function (arg0, arg1, arg2) {
4610
4611
  let deferred0_0;
4611
4612
  let deferred0_1;
@@ -4620,7 +4621,7 @@ exports.__wbg_get_7f6c3ff94df2aa6c = function () {
4620
4621
  }, arguments);
4621
4622
  };
4622
4623
 
4623
- exports.__wbg_get_access_token_46ed2f70057f8402 = function (arg0) {
4624
+ exports.__wbg_get_access_token_ea0e045156900f0d = function (arg0) {
4624
4625
  const ret = getObject(arg0).get_access_token();
4625
4626
  return addHeapObject(ret);
4626
4627
  };
@@ -4816,14 +4817,14 @@ exports.__wbg_length_cdd215e10d9dd507 = function (arg0) {
4816
4817
  return ret;
4817
4818
  };
4818
4819
 
4819
- exports.__wbg_list_80ca43e844d9c495 = function () {
4820
+ exports.__wbg_list_baea5261a20d24cc = function () {
4820
4821
  return handleError(function (arg0) {
4821
4822
  const ret = getObject(arg0).list();
4822
4823
  return addHeapObject(ret);
4823
4824
  }, arguments);
4824
4825
  };
4825
4826
 
4826
- exports.__wbg_list_b7f5efc44610b512 = function () {
4827
+ exports.__wbg_list_c9ca45f34538dc57 = function () {
4827
4828
  return handleError(function (arg0) {
4828
4829
  const ret = getObject(arg0).list();
4829
4830
  return addHeapObject(ret);
@@ -5067,7 +5068,7 @@ exports.__wbg_randomFillSync_ac0988aba3254290 = function () {
5067
5068
  }, arguments);
5068
5069
  };
5069
5070
 
5070
- exports.__wbg_remove_80c407e6bc79ddd7 = function () {
5071
+ exports.__wbg_remove_2757c99997349f4f = function () {
5071
5072
  return handleError(function (arg0, arg1, arg2) {
5072
5073
  let deferred0_0;
5073
5074
  let deferred0_1;
@@ -5082,7 +5083,7 @@ exports.__wbg_remove_80c407e6bc79ddd7 = function () {
5082
5083
  }, arguments);
5083
5084
  };
5084
5085
 
5085
- exports.__wbg_remove_b3cae9357b40413e = function () {
5086
+ exports.__wbg_remove_62dc5d88c7d98213 = function () {
5086
5087
  return handleError(function (arg0, arg1, arg2) {
5087
5088
  let deferred0_0;
5088
5089
  let deferred0_1;
@@ -5128,7 +5129,11 @@ exports.__wbg_setTimeout_ca12ead8b48245e2 = function (arg0, arg1) {
5128
5129
  return addHeapObject(ret);
5129
5130
  };
5130
5131
 
5131
- exports.__wbg_set_3362502ce1828512 = function () {
5132
+ exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
5133
+ getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5134
+ };
5135
+
5136
+ exports.__wbg_set_8574bc378894487e = function () {
5132
5137
  return handleError(function (arg0, arg1, arg2, arg3) {
5133
5138
  let deferred0_0;
5134
5139
  let deferred0_1;
@@ -5143,15 +5148,26 @@ exports.__wbg_set_3362502ce1828512 = function () {
5143
5148
  }, arguments);
5144
5149
  };
5145
5150
 
5146
- exports.__wbg_set_3f1d0b984ed272ed = function (arg0, arg1, arg2) {
5147
- getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5148
- };
5149
-
5150
5151
  exports.__wbg_set_907fb406c34a251d = function (arg0, arg1, arg2) {
5151
5152
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5152
5153
  return addHeapObject(ret);
5153
5154
  };
5154
5155
 
5156
+ exports.__wbg_set_a27e21e310ea67b0 = function () {
5157
+ return handleError(function (arg0, arg1, arg2, arg3) {
5158
+ let deferred0_0;
5159
+ let deferred0_1;
5160
+ try {
5161
+ deferred0_0 = arg1;
5162
+ deferred0_1 = arg2;
5163
+ const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5164
+ return addHeapObject(ret);
5165
+ } finally {
5166
+ wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5167
+ }
5168
+ }, arguments);
5169
+ };
5170
+
5155
5171
  exports.__wbg_set_body_3c365989753d61f4 = function (arg0, arg1) {
5156
5172
  getObject(arg0).body = getObject(arg1);
5157
5173
  };
@@ -5171,21 +5187,6 @@ exports.__wbg_set_credentials_f621cd2d85c0c228 = function (arg0, arg1) {
5171
5187
  getObject(arg0).credentials = __wbindgen_enum_RequestCredentials[arg1];
5172
5188
  };
5173
5189
 
5174
- exports.__wbg_set_e017ea27f0d2d9f4 = function () {
5175
- return handleError(function (arg0, arg1, arg2, arg3) {
5176
- let deferred0_0;
5177
- let deferred0_1;
5178
- try {
5179
- deferred0_0 = arg1;
5180
- deferred0_1 = arg2;
5181
- const ret = getObject(arg0).set(getStringFromWasm0(arg1, arg2), takeObject(arg3));
5182
- return addHeapObject(ret);
5183
- } finally {
5184
- wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
5185
- }
5186
- }, arguments);
5187
- };
5188
-
5189
5190
  exports.__wbg_set_headers_6926da238cd32ee4 = function (arg0, arg1) {
5190
5191
  getObject(arg0).headers = getObject(arg1);
5191
5192
  };
@@ -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,24 +431,24 @@ 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__h092300064b8afb1e: (
434
+ export const wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31: (
435
435
  a: number,
436
436
  b: number,
437
+ c: number,
437
438
  ) => void;
438
- export const wasm_bindgen__closure__destroy__h5bf455f3385c4f71: (a: number, b: number) => void;
439
- export const wasm_bindgen__convert__closures_____invoke__hd11035e31e1056de: (
439
+ export const wasm_bindgen__closure__destroy__hc8374e511fe7ebd1: (a: number, b: number) => void;
440
+ export const wasm_bindgen__convert__closures_____invoke__h092300064b8afb1e: (
440
441
  a: number,
441
442
  b: number,
442
- c: number,
443
- d: number,
444
443
  ) => void;
445
- export const wasm_bindgen__closure__destroy__hc8374e511fe7ebd1: (a: number, b: number) => void;
446
444
  export const wasm_bindgen__closure__destroy__hfcb631b72e5e985c: (a: number, b: number) => void;
447
- export const wasm_bindgen__convert__closures_____invoke__h9d7e5f8887506d31: (
445
+ export const wasm_bindgen__convert__closures_____invoke__hd11035e31e1056de: (
448
446
  a: number,
449
447
  b: number,
450
448
  c: number,
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,