From 5bebb8f2b94d610fe1df38e4731d2fa2a1f81b40 Mon Sep 17 00:00:00 2001 From: mlikhtar Date: Wed, 7 Aug 2024 10:58:54 +0300 Subject: [PATCH] update timestamp type for ton proof interface --- docs/develop/dapps/ton-connect/protocol/requests-responses.md | 2 +- docs/develop/dapps/ton-connect/sign.mdx | 2 +- .../develop/dapps/ton-connect/protocol/requests-responses.md | 2 +- .../current/develop/dapps/ton-connect/sign.mdx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/develop/dapps/ton-connect/protocol/requests-responses.md b/docs/develop/dapps/ton-connect/protocol/requests-responses.md index e4ac685017c..cb2ac158ed0 100644 --- a/docs/develop/dapps/ton-connect/protocol/requests-responses.md +++ b/docs/develop/dapps/ton-connect/protocol/requests-responses.md @@ -109,7 +109,7 @@ type TonProofItemReply = TonProofItemReplySuccess | TonProofItemReplyError; type TonProofItemReplySuccess = { name: "ton_proof"; proof: { - timestamp: string; // 64-bit unix epoch time of the signing operation (seconds) + timestamp: number; // 64-bit unix epoch time of the signing operation (seconds) domain: { lengthBytes: number; // AppDomain Length value: string; // app domain name (as url part, without encoding) diff --git a/docs/develop/dapps/ton-connect/sign.mdx b/docs/develop/dapps/ton-connect/sign.mdx index ef6b04c9141..04d8923da24 100644 --- a/docs/develop/dapps/ton-connect/sign.mdx +++ b/docs/develop/dapps/ton-connect/sign.mdx @@ -35,7 +35,7 @@ type TonProofItemReply = TonProofItemReplySuccess | TonProofItemReplyError; type TonProofItemReplySuccess = { name: "ton_proof"; proof: { - timestamp: string; // 64-bit unix epoch time of the signing operation (seconds) + timestamp: number; // 64-bit unix epoch time of the signing operation (seconds) domain: { lengthBytes: number; // AppDomain Length value: string; // app domain name (as url part, without encoding) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/develop/dapps/ton-connect/protocol/requests-responses.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/develop/dapps/ton-connect/protocol/requests-responses.md index 45300ea6f7d..34969f4231d 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/develop/dapps/ton-connect/protocol/requests-responses.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/develop/dapps/ton-connect/protocol/requests-responses.md @@ -112,7 +112,7 @@ type TonProofItemReply = TonProofItemReplySuccess | TonProofItemReplyError; type TonProofItemReplySuccess = { name: "ton_proof"; proof: { - timestamp: string; // 64-bit unix epoch time of the signing operation (seconds) + timestamp: number; // 64-bit unix epoch time of the signing operation (seconds) domain: { lengthBytes: number; // AppDomain Length value: string; // app domain name (as url part, without encoding) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/develop/dapps/ton-connect/sign.mdx b/i18n/zh-CN/docusaurus-plugin-content-docs/current/develop/dapps/ton-connect/sign.mdx index 54f8cf91b04..5ab798090b4 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/develop/dapps/ton-connect/sign.mdx +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/develop/dapps/ton-connect/sign.mdx @@ -36,7 +36,7 @@ type TonProofItemReply = TonProofItemReplySuccess | TonProofItemReplyError; type TonProofItemReplySuccess = { name: "ton_proof"; proof: { - timestamp: string; // 64位unix时代签名操作的时间(秒) + timestamp: number; // 64位unix时代签名操作的时间(秒) domain: { lengthBytes: number; // AppDomain 长度 value: string; // app 域名(作为url部分,无编码)