From 817636a1b11bf101263a2de4b051d0bf148b7a7d Mon Sep 17 00:00:00 2001 From: maxufeng Date: Wed, 13 Nov 2024 10:33:08 +0800 Subject: [PATCH] fix: update astron network dependencies and test file --- package-lock.json | 18 +++++++++--------- package.json | 4 ++-- .../ethereumAstronTokenRegistryStatus.test.ts | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index d6927ad..c08c83f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,9 +9,9 @@ "version": "0.0.0-development", "license": "Apache-2.0", "dependencies": { - "@tradetrust-tt/dnsprove": "^2.14.0", + "@tradetrust-tt/dnsprove": "^2.14.2", "@tradetrust-tt/document-store": "^2.7.0", - "@tradetrust-tt/token-registry": "^4.12.0", + "@tradetrust-tt/token-registry": "^4.12.1", "@tradetrust-tt/tradetrust": "^6.9.0", "axios": "^1.7.2", "debug": "^4.3.1", @@ -5093,16 +5093,16 @@ } }, "node_modules/@tradetrust-tt/dnsprove": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/@tradetrust-tt/dnsprove/-/dnsprove-2.14.0.tgz", - "integrity": "sha512-5TIONCiqnMz+9IeN1yBagCUB3DFUBSEQwhTKVLrBJ9j+/wO4VxdOzKhagKHkic7FaSNPRi7QqlCFBsNi47AU8Q==", + "version": "2.14.2", + "resolved": "https://registry.npmjs.org/@tradetrust-tt/dnsprove/-/dnsprove-2.14.2.tgz", + "integrity": "sha512-wXoLzlOzFilIvSXvHIODv6vR9MLHcJS5681Ic+nwlTgiHOKOg29vPX/h3Dl4YrcKgiHZwH2p/VbtcUJeSDYOgA==", "dependencies": { "axios": "1.7.2", "debug": "^4.3.1", "runtypes": "^6.3.0" }, "engines": { - "node": "18.x" + "node": ">=18.x" } }, "node_modules/@tradetrust-tt/document-store": { @@ -5111,9 +5111,9 @@ "integrity": "sha512-wMTQkZ4FNzYvlWwaeKCHuV8fYxw+kefI38dTMHY5fpV3B5oaapePFGKHDs+4IrV1ZVFHQbqR/r/MP7dNwwjJDA==" }, "node_modules/@tradetrust-tt/token-registry": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/@tradetrust-tt/token-registry/-/token-registry-4.12.0.tgz", - "integrity": "sha512-5CWoqXE4RZX65lZCjp+QcYW4hv9+BzU/MVLXjVbXKyb7RJmbw/TcGmI5YPs55FzSYIxls+hZnhQMCBY4r05CsQ==", + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@tradetrust-tt/token-registry/-/token-registry-4.12.1.tgz", + "integrity": "sha512-GM/q+pyRSzoRAaHuIxt1W/tr45JXv1CPMwF4nYIZhofDtVJTbLIeQsEnBpzJSyCp4hSQUe1LDAI3ma6SZRMq8A==", "dependencies": { "@typechain/ethers-v5": "10.2.1" }, diff --git a/package.json b/package.json index 5ab2d0e..134eafe 100644 --- a/package.json +++ b/package.json @@ -25,9 +25,9 @@ "author": "", "license": "Apache-2.0", "dependencies": { - "@tradetrust-tt/dnsprove": "^2.14.0", + "@tradetrust-tt/dnsprove": "^2.14.2", "@tradetrust-tt/document-store": "^2.7.0", - "@tradetrust-tt/token-registry": "^4.12.0", + "@tradetrust-tt/token-registry": "^4.12.1", "@tradetrust-tt/tradetrust": "^6.9.0", "axios": "^1.7.2", "debug": "^4.3.1", diff --git a/src/verifiers/documentStatus/tokenRegistry/ethereumAstronTokenRegistryStatus.test.ts b/src/verifiers/documentStatus/tokenRegistry/ethereumAstronTokenRegistryStatus.test.ts index 0fbdde7..cd8b72e 100644 --- a/src/verifiers/documentStatus/tokenRegistry/ethereumAstronTokenRegistryStatus.test.ts +++ b/src/verifiers/documentStatus/tokenRegistry/ethereumAstronTokenRegistryStatus.test.ts @@ -18,7 +18,7 @@ const options = { provider: generateProvider({ network: "astron", providerType: "jsonrpc", - url: "http://astronlayer2.bitfactory.cn:8545", + url: "https://astronlayer2.bitfactory.cn/rpc/", }), };