diff --git a/package.json b/package.json index 7e0c2849..e0cce7b2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@internxt/sdk", "author": "Internxt ", - "version": "1.20.2", + "version": "1.21.0", "description": "An sdk for interacting with Internxt's services", "repository": { "type": "git", diff --git a/src/drive/users/index.ts b/src/drive/users/index.ts index 7d31bcd7..43b019be 100644 --- a/src/drive/users/index.ts +++ b/src/drive/users/index.ts @@ -317,7 +317,7 @@ export class Users { /** * Get public key of given email, if not exists it pre-create user with this email - * and returns public key + * and returns public keys (kyber and ecc) of this user * @param email * @returns {Promise} A promise that returns the public keys of given user */ diff --git a/src/drive/users/types.ts b/src/drive/users/types.ts index 6921fec5..cb6a079b 100644 --- a/src/drive/users/types.ts +++ b/src/drive/users/types.ts @@ -56,7 +56,7 @@ export type FriendInvite = { guestEmail: string; host: number; accepted: boolean export type UserPublicKeyResponse = { publicKey: string; keys?: { ecc: string; kyber: string } }; -export type UserPublicKeyWithCreationResponse = { publicKey: string; publicKyberKey: string | undefined }; +export type UserPublicKeyWithCreationResponse = { publicKey: string; publicKyberKey: string }; export type VerifyEmailChangeResponse = { oldEmail: string;