@internxt/sdk 1.9.1 → 1.9.3
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;
|
|
@@ -22,11 +22,11 @@ export interface UserSettings {
|
|
|
22
22
|
keys: {
|
|
23
23
|
ecc: {
|
|
24
24
|
publicKey: string;
|
|
25
|
-
|
|
25
|
+
privateKey: string;
|
|
26
26
|
};
|
|
27
27
|
kyber: {
|
|
28
28
|
publicKey: string;
|
|
29
|
-
|
|
29
|
+
privateKey: string;
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
teams?: boolean;
|