diff --git a/tonlogin-client/package.json b/tonlogin-client/package.json index 6c7c14e..7e3e132 100644 --- a/tonlogin-client/package.json +++ b/tonlogin-client/package.json @@ -1,7 +1,7 @@ { "name": "@tonapps/tonlogin-client", "license": "Apache-2.0", - "version": "0.2.4", + "version": "0.2.5", "author": "tonapps", "description": "TonLogin Client", "main": "build/index.js", diff --git a/tonlogin-client/src/TonLoginClient.types.ts b/tonlogin-client/src/TonLoginClient.types.ts index c1001c1..1f1af4c 100644 --- a/tonlogin-client/src/TonLoginClient.types.ts +++ b/tonlogin-client/src/TonLoginClient.types.ts @@ -15,7 +15,7 @@ export type AuthResponsePayload = { address: string; } | { type: AuthRequestTypes.OWNERSHIP; - pubkey: Uint8Array; + pubkey: string; wallet_id: number | null; wallet_version: string; address: string; @@ -69,7 +69,7 @@ export type PayloadExtractors = { address: string; }>; tonOwnership?: (opts: PayloadExtractorOptions) => MaybePromise<{ - pubkey: Uint8Array; + pubkey: string; wallet_id: number | null; wallet_version: string; address: string;