From 5d9906719fc59d8ad2d16a3be48f0b6bd4e25c8d Mon Sep 17 00:00:00 2001 From: bogoslavskiy Date: Mon, 11 Jul 2022 13:31:07 +0300 Subject: [PATCH] fix(client): types --- tonlogin-client/package.json | 2 +- tonlogin-client/src/TonLoginClient.types.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;