From f7d4b903fcd57fa8fbd755f3ad145d46bb5b23ee Mon Sep 17 00:00:00 2001 From: Shahar Yakir Date: Mon, 18 Dec 2023 12:41:17 +0000 Subject: [PATCH 1/2] updating verifier sdk --- package-lock.json | 32 ++++++++++++++++---------------- package.json | 4 ++-- src/App.tsx | 10 ++++------ 3 files changed, 22 insertions(+), 24 deletions(-) diff --git a/package-lock.json b/package-lock.json index ca579ea..f1c336d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,10 +15,10 @@ "@emotion/styled": "^11.10.4", "@mui/icons-material": "^5.10.9", "@mui/material": "^5.10.10", - "@orbs-network/ton-access": "^2.3.0", + "@orbs-network/ton-access": "^2.3.3", "@tact-lang/compiler": "^1.1.2", "@tanstack/react-query": "^4.13.0", - "@ton-community/contract-verifier-sdk": "^1.1.1", + "@ton-community/contract-verifier-sdk": "^1.2.0", "@ton-community/func-js": "^0.3.0", "@tonconnect/ui-react": "^1.0.0-beta.6", "bigint-buffer": "^1.1.5", @@ -1084,9 +1084,9 @@ } }, "node_modules/@orbs-network/ton-access": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@orbs-network/ton-access/-/ton-access-2.3.0.tgz", - "integrity": "sha512-2LWA1Kn7W0ZOOBlZYfdu26y/NrEzOf3HGDQRjMTnsagpe0RR1Hb7M8+fc/y3/fH2BjVaSwXP6heb7YQ/37KvYw==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@orbs-network/ton-access/-/ton-access-2.3.3.tgz", + "integrity": "sha512-b1miCPts7wBG9JKYgzXIRZQm/LMy5Uk1mNK8NzlcXHL3HRHJkkFbuYJGuj3IkWCiIicW3Ipp4sYnn3Fwo4oB0g==", "dependencies": { "isomorphic-fetch": "^3.0.0" } @@ -1246,12 +1246,12 @@ } }, "node_modules/@ton-community/contract-verifier-sdk": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@ton-community/contract-verifier-sdk/-/contract-verifier-sdk-1.1.1.tgz", - "integrity": "sha512-WqXabwMVLJVfWNxbDIx73c5TNh4YGDKzxSN39m8sUw1rnBva8//Z1SLIxz1MCIg60SpyrA2Jggviq0++NL93hg==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ton-community/contract-verifier-sdk/-/contract-verifier-sdk-1.2.0.tgz", + "integrity": "sha512-Sf04i/5FGoGPWx0/Vs33NIzQXSchODbOjXF0Gu7c3UWE4B8o60BLHGMUwBBa56GJpDGtHVxOv4fU7b202luJcg==", "dependencies": { "@aws-crypto/sha256-js": "^2.0.2", - "@orbs-network/ton-access": "^2.3.0", + "@orbs-network/ton-access": "^2.3.3", "highlight.js": "11.6.0", "highlightjs-func": "github:orbs-network/highlightjs-func", "ton": "^13.4.1", @@ -5071,9 +5071,9 @@ } }, "@orbs-network/ton-access": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@orbs-network/ton-access/-/ton-access-2.3.0.tgz", - "integrity": "sha512-2LWA1Kn7W0ZOOBlZYfdu26y/NrEzOf3HGDQRjMTnsagpe0RR1Hb7M8+fc/y3/fH2BjVaSwXP6heb7YQ/37KvYw==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@orbs-network/ton-access/-/ton-access-2.3.3.tgz", + "integrity": "sha512-b1miCPts7wBG9JKYgzXIRZQm/LMy5Uk1mNK8NzlcXHL3HRHJkkFbuYJGuj3IkWCiIicW3Ipp4sYnn3Fwo4oB0g==", "requires": { "isomorphic-fetch": "^3.0.0" } @@ -5192,12 +5192,12 @@ } }, "@ton-community/contract-verifier-sdk": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@ton-community/contract-verifier-sdk/-/contract-verifier-sdk-1.1.1.tgz", - "integrity": "sha512-WqXabwMVLJVfWNxbDIx73c5TNh4YGDKzxSN39m8sUw1rnBva8//Z1SLIxz1MCIg60SpyrA2Jggviq0++NL93hg==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ton-community/contract-verifier-sdk/-/contract-verifier-sdk-1.2.0.tgz", + "integrity": "sha512-Sf04i/5FGoGPWx0/Vs33NIzQXSchODbOjXF0Gu7c3UWE4B8o60BLHGMUwBBa56GJpDGtHVxOv4fU7b202luJcg==", "requires": { "@aws-crypto/sha256-js": "^2.0.2", - "@orbs-network/ton-access": "^2.3.0", + "@orbs-network/ton-access": "^2.3.3", "highlight.js": "11.6.0", "highlightjs-func": "github:orbs-network/highlightjs-func", "ton": "^13.4.1", diff --git a/package.json b/package.json index b82199f..28e97d1 100644 --- a/package.json +++ b/package.json @@ -19,10 +19,10 @@ "@emotion/styled": "^11.10.4", "@mui/icons-material": "^5.10.9", "@mui/material": "^5.10.10", - "@orbs-network/ton-access": "^2.3.0", + "@orbs-network/ton-access": "^2.3.3", "@tact-lang/compiler": "^1.1.2", "@tanstack/react-query": "^4.13.0", - "@ton-community/contract-verifier-sdk": "^1.1.1", + "@ton-community/contract-verifier-sdk": "^1.2.0", "@ton-community/func-js": "^0.3.0", "@tonconnect/ui-react": "^1.0.0-beta.6", "bigint-buffer": "^1.1.5", diff --git a/src/App.tsx b/src/App.tsx index cb06286..8c265c1 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -142,12 +142,10 @@ function App() { )} - {!isLoading && ( - - - {proofData?.hasOnchainProof && } - - )} + + + {proofData?.hasOnchainProof && } + {showSkeleton && ( From d2fed82201d6e31b085417cc870ba00d48ebb064 Mon Sep 17 00:00:00 2001 From: Shahar Yakir Date: Mon, 18 Dec 2023 12:47:36 +0000 Subject: [PATCH 2/2] ton access fix --- package-lock.json | 18 +++++++++--------- package.json | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 182c49e..9b907a3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@orbs-network/ton-access": "^2.3.3", "@tact-lang/compiler": "^1.1.2", "@tanstack/react-query": "^4.13.0", - "@ton-community/contract-verifier-sdk": "^1.2.0", + "@ton-community/contract-verifier-sdk": "1.1.2", "@ton-community/func-js": "^0.3.0", "@tonconnect/ui-react": "^1.0.0-beta.6", "bigint-buffer": "^1.1.5", @@ -1248,12 +1248,12 @@ } }, "node_modules/@ton-community/contract-verifier-sdk": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ton-community/contract-verifier-sdk/-/contract-verifier-sdk-1.2.0.tgz", - "integrity": "sha512-Sf04i/5FGoGPWx0/Vs33NIzQXSchODbOjXF0Gu7c3UWE4B8o60BLHGMUwBBa56GJpDGtHVxOv4fU7b202luJcg==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ton-community/contract-verifier-sdk/-/contract-verifier-sdk-1.1.2.tgz", + "integrity": "sha512-1VoraXplu0RiFFE4dzZx5+WZcpfsQShGsDNwN6q+StbmE+CH+IGwM7ksVcJDKpBeiEG7gFZnXAe+GaGlxFA+Ug==", "dependencies": { "@aws-crypto/sha256-js": "^2.0.2", - "@orbs-network/ton-access": "^2.3.3", + "@orbs-network/ton-access": "^2.3.0", "highlight.js": "11.6.0", "highlightjs-func": "github:orbs-network/highlightjs-func", "ton": "^13.4.1", @@ -5215,12 +5215,12 @@ } }, "@ton-community/contract-verifier-sdk": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ton-community/contract-verifier-sdk/-/contract-verifier-sdk-1.2.0.tgz", - "integrity": "sha512-Sf04i/5FGoGPWx0/Vs33NIzQXSchODbOjXF0Gu7c3UWE4B8o60BLHGMUwBBa56GJpDGtHVxOv4fU7b202luJcg==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ton-community/contract-verifier-sdk/-/contract-verifier-sdk-1.1.2.tgz", + "integrity": "sha512-1VoraXplu0RiFFE4dzZx5+WZcpfsQShGsDNwN6q+StbmE+CH+IGwM7ksVcJDKpBeiEG7gFZnXAe+GaGlxFA+Ug==", "requires": { "@aws-crypto/sha256-js": "^2.0.2", - "@orbs-network/ton-access": "^2.3.3", + "@orbs-network/ton-access": "^2.3.0", "highlight.js": "11.6.0", "highlightjs-func": "github:orbs-network/highlightjs-func", "ton": "^13.4.1", diff --git a/package.json b/package.json index b83920b..15867f0 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@orbs-network/ton-access": "^2.3.3", "@tact-lang/compiler": "^1.1.2", "@tanstack/react-query": "^4.13.0", - "@ton-community/contract-verifier-sdk": "^1.2.0", + "@ton-community/contract-verifier-sdk": "1.1.2", "@ton-community/func-js": "^0.3.0", "@tonconnect/ui-react": "^1.0.0-beta.6", "bigint-buffer": "^1.1.5",