@bitwarden/sdk-internal 0.2.0-main.145 → 0.2.0-main.146
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 +5 -5
- package/bitwarden_wasm_internal_bg.js +2 -2
- package/bitwarden_wasm_internal_bg.wasm +0 -0
- package/bitwarden_wasm_internal_bg.wasm.d.ts +2 -2
- package/bitwarden_wasm_internal_bg.wasm.js +1 -1
- package/node/bitwarden_wasm_internal.d.ts +5 -5
- package/node/bitwarden_wasm_internal.js +2 -2
- package/node/bitwarden_wasm_internal_bg.wasm +0 -0
- package/node/bitwarden_wasm_internal_bg.wasm.d.ts +2 -2
- package/package.json +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
d27f58be6bbe85be0ade4315330533c4822b9810
|
|
@@ -131,7 +131,7 @@ export type InitUserCryptoMethod =
|
|
|
131
131
|
deviceKey: {
|
|
132
132
|
device_key: string;
|
|
133
133
|
protected_device_private_key: EncString;
|
|
134
|
-
device_protected_user_key:
|
|
134
|
+
device_protected_user_key: UnsignedSharedKey;
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
137
|
| { keyConnector: { master_key: string; user_key: string } };
|
|
@@ -140,8 +140,8 @@ export type InitUserCryptoMethod =
|
|
|
140
140
|
* Auth requests supports multiple initialization methods.
|
|
141
141
|
*/
|
|
142
142
|
export type AuthRequestMethod =
|
|
143
|
-
| { userKey: { protected_user_key:
|
|
144
|
-
| { masterKey: { protected_master_key:
|
|
143
|
+
| { userKey: { protected_user_key: UnsignedSharedKey } }
|
|
144
|
+
| { masterKey: { protected_master_key: UnsignedSharedKey; auth_request_key: EncString } };
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* Represents the request to initialize the user\'s organizational cryptographic state.
|
|
@@ -150,7 +150,7 @@ export interface InitOrgCryptoRequest {
|
|
|
150
150
|
/**
|
|
151
151
|
* The encryption keys for all the organizations the user is a part of
|
|
152
152
|
*/
|
|
153
|
-
organizationKeys: Map<Uuid,
|
|
153
|
+
organizationKeys: Map<Uuid, UnsignedSharedKey>;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
/**
|
|
@@ -270,7 +270,7 @@ export interface ClientSettings {
|
|
|
270
270
|
deviceType?: DeviceType;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
-
export type
|
|
273
|
+
export type UnsignedSharedKey = string;
|
|
274
274
|
|
|
275
275
|
export type EncString = string;
|
|
276
276
|
|
|
@@ -2699,8 +2699,8 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
2699
2699
|
return ret;
|
|
2700
2700
|
}
|
|
2701
2701
|
|
|
2702
|
-
export function
|
|
2703
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
2702
|
+
export function __wbindgen_closure_wrapper2585(arg0, arg1, arg2) {
|
|
2703
|
+
const ret = makeMutClosure(arg0, arg1, 622, __wbg_adapter_50);
|
|
2704
2704
|
return addHeapObject(ret);
|
|
2705
2705
|
}
|
|
2706
2706
|
|
|
Binary file
|
|
@@ -148,11 +148,11 @@ export const bitwardenclient_vault: (a: number) => number;
|
|
|
148
148
|
export const vaultclient_ciphers: (a: number) => number;
|
|
149
149
|
export const vaultclient_folders: (a: number) => number;
|
|
150
150
|
export const __wbg_generatorclient_free: (a: number, b: number) => void;
|
|
151
|
+
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
151
152
|
export const __wbg_vaultclient_free: (a: number, b: number) => void;
|
|
152
153
|
export const __wbg_clienttotp_free: (a: number, b: number) => void;
|
|
153
|
-
export const __wbg_cryptoclient_free: (a: number, b: number) => void;
|
|
154
|
-
export const __wbg_clientciphers_free: (a: number, b: number) => void;
|
|
155
154
|
export const __wbg_clientfolders_free: (a: number, b: number) => void;
|
|
155
|
+
export const __wbg_clientciphers_free: (a: number, b: number) => void;
|
|
156
156
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
157
157
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
158
158
|
export const __wbindgen_exn_store: (a: number) => void;
|