@internxt/sdk 1.9.1 → 1.9.2

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.
@@ -107,7 +107,8 @@ var Users = /** @class */ (function () {
107
107
  newPassword: payload.newEncryptedPassword,
108
108
  newSalt: payload.newEncryptedSalt,
109
109
  mnemonic: payload.encryptedMnemonic,
110
- privateKey: payload.encryptedPrivateKey,
110
+ privateKey: payload.keys.encryptedPrivateKey,
111
+ privateKyberKey: payload.keys.encryptedPrivateKyberKey,
111
112
  encryptVersion: payload.encryptVersion,
112
113
  }, this.headers());
113
114
  };
@@ -17,12 +17,20 @@ export interface ChangePasswordPayloadNew {
17
17
  newEncryptedPassword: string;
18
18
  newEncryptedSalt: string;
19
19
  encryptedMnemonic: string;
20
+ /**
21
+ * @deprecated encryptedPrivateKey field is depercated, use keys.encryptedPrivateKey instead
22
+ */
20
23
  encryptedPrivateKey: string;
24
+ keys: {
25
+ encryptedPrivateKey: string;
26
+ encryptedPrivateKyberKey: string;
27
+ };
21
28
  encryptVersion: string;
22
29
  }
23
30
  export type UpdateProfilePayload = Partial<Pick<UserSettings, 'name' | 'lastname'>>;
24
31
  export type PreCreateUserResponse = {
25
32
  publicKey: string;
33
+ publicKyberKey?: string;
26
34
  user: {
27
35
  uuid: UUID;
28
36
  email: string;
@@ -36,6 +44,7 @@ export type FriendInvite = {
36
44
  };
37
45
  export type UserPublicKeyResponse = {
38
46
  publicKey: string;
47
+ publicKyberKey?: string;
39
48
  };
40
49
  export type VerifyEmailChangeResponse = {
41
50
  oldEmail: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@internxt/sdk",
3
3
  "author": "Internxt <hello@internxt.com>",
4
- "version": "1.9.1",
4
+ "version": "1.9.2",
5
5
  "description": "An sdk for interacting with Internxt's services",
6
6
  "repository": {
7
7
  "type": "git",