diff --git a/README.md b/README.md index 343644f7..d465aa90 100644 --- a/README.md +++ b/README.md @@ -251,13 +251,13 @@ Here are the addresses on those networks: ## Subgraphs Addresses - [Linea Goerli](https://api.goldsky.com/api/public/project_clqghnrbp9nx201wtgylv8748/subgraphs/verax/subgraph-testnet/gn) -- [Linea Sepolia](https://api.studio.thegraph.com/query/67946/verax-v1-linea-sepolia/v0.0.1) +- [Linea Sepolia](https://api.studio.thegraph.com/query/67521/verax-v1-linea-sepolia/v0.0.1) - [Linea Mainnet](https://graph-query.linea.build/subgraphs/name/Consensys/linea-attestation-registry/graphql) - [Arbitrum Goerli](https://api.thegraph.com/subgraphs/name/cliqueofficial/verax-arbitrum-goerli) - [Arbitrum Mainnet](https://api.thegraph.com/subgraphs/name/cliqueofficial/verax-arbitrum) - [Arbitrum Nova](https://api.goldsky.com/api/public/project_clr9aj9alwgwg01q7ci1rh781/subgraphs/verax-arbitrum-nova/0.0.5/gn) -- [Base Sepolia](https://api.studio.thegraph.com/query/67946/verax-v1-base-sepolia/v0.0.1) -- [Base Mainnet](https://api.studio.thegraph.com/query/67946/verax-v1-base/v0.0.1) +- [Base Sepolia](https://api.studio.thegraph.com/query/67521/verax-v1-base-sepolia/v0.0.1) +- [Base Mainnet](https://api.studio.thegraph.com/query/67521/verax-v1-base/v0.0.1) ## License diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bed1f7b7..e1f6a4a8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -318,7 +318,7 @@ importers: version: 16.8.1 viem: specifier: ^2.9.26 - version: 2.9.26(typescript@4.9.5) + version: 2.9.26(typescript@5.4.5) devDependencies: '@babel/plugin-transform-runtime': specifier: ^7.23.3 @@ -346,10 +346,13 @@ importers: version: 29.7.0(@types/node@20.12.7)(ts-node@10.9.2) ts-jest: specifier: ^29.1.1 - version: 29.1.2(@babel/core@7.24.4)(babel-jest@29.7.0)(jest@29.7.0)(typescript@4.9.5) + version: 29.1.2(@babel/core@7.24.4)(babel-jest@29.7.0)(jest@29.7.0)(typescript@5.4.5) ts-node: specifier: ^10.9.1 - version: 10.9.2(@types/node@20.12.7)(typescript@4.9.5) + version: 10.9.2(@types/node@20.12.7)(typescript@5.4.5) + typescript: + specifier: 5.4.5 + version: 5.4.5 snap/packages/site: dependencies: @@ -3628,7 +3631,7 @@ packages: '@graphql-tools/utils': 10.1.3(graphql@16.8.1) ajv: 8.12.0 change-case: 4.1.2 - cosmiconfig: 8.3.6(typescript@5.2.2) + cosmiconfig: 8.3.6(typescript@5.4.5) dnscache: 1.0.2 dotenv: 16.4.5 graphql: 16.8.1 @@ -3640,10 +3643,10 @@ packages: open: 7.4.2 pascal-case: 3.1.2 rimraf: 5.0.5 - ts-node: 10.9.2(@types/node@20.12.7)(typescript@5.2.2) + ts-node: 10.9.2(@types/node@20.12.7)(typescript@5.4.5) tsconfig-paths: 4.2.0 tslib: 2.6.2 - typescript: 5.2.2 + typescript: 5.4.5 uWebSockets.js: github.com/uNetworking/uWebSockets.js/d39d4181daf5b670d44cbc1b18f8c28c85fd4142 yargs: 17.7.2 transitivePeerDependencies: @@ -11408,7 +11411,7 @@ packages: typescript: 5.2.2 dev: false - /abitype@1.0.0(typescript@4.9.5): + /abitype@1.0.0(typescript@5.4.5): resolution: {integrity: sha512-NMeMah//6bJ56H5XRj8QCV4AwuW6hB6zqz2LnhhLdcWVQOsXki6/Pn3APeqxCma62nXIcmZWdu1DlHWS74umVQ==} peerDependencies: typescript: '>=5.0.4' @@ -11419,7 +11422,7 @@ packages: zod: optional: true dependencies: - typescript: 4.9.5 + typescript: 5.4.5 dev: false /abort-controller@3.0.0: @@ -13746,6 +13749,23 @@ packages: parse-json: 5.2.0 path-type: 4.0.0 typescript: 5.2.2 + dev: true + + /cosmiconfig@8.3.6(typescript@5.4.5): + resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} + engines: {node: '>=14'} + peerDependencies: + typescript: '>=4.9.5' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + import-fresh: 3.3.0 + js-yaml: 4.1.0 + parse-json: 5.2.0 + path-type: 4.0.0 + typescript: 5.4.5 + dev: false /crc-32@1.2.2: resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==} @@ -25223,6 +25243,41 @@ packages: yargs-parser: 21.1.1 dev: true + /ts-jest@29.1.2(@babel/core@7.24.4)(babel-jest@29.7.0)(jest@29.7.0)(typescript@5.4.5): + resolution: {integrity: sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g==} + engines: {node: ^16.10.0 || ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@babel/core': '>=7.0.0-beta.0 <8' + '@jest/types': ^29.0.0 + babel-jest: ^29.0.0 + esbuild: '*' + jest: ^29.0.0 + typescript: '>=4.3 <6' + peerDependenciesMeta: + '@babel/core': + optional: true + '@jest/types': + optional: true + babel-jest: + optional: true + esbuild: + optional: true + dependencies: + '@babel/core': 7.24.4 + babel-jest: 29.7.0(@babel/core@7.24.4) + bs-logger: 0.2.6 + fast-json-stable-stringify: 2.1.0 + jest: 29.7.0(@types/node@20.12.7)(ts-node@10.9.2) + jest-util: 29.7.0 + json5: 2.2.3 + lodash.memoize: 4.1.2 + make-error: 1.3.6 + semver: 7.6.0 + typescript: 5.4.5 + yargs-parser: 21.1.1 + dev: true + /ts-node@10.9.2(@types/node@18.19.31)(typescript@4.9.5): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true @@ -25285,7 +25340,7 @@ packages: yn: 3.1.1 dev: true - /ts-node@10.9.2(@types/node@20.12.7)(typescript@5.2.2): + /ts-node@10.9.2(@types/node@20.12.7)(typescript@5.4.5): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -25311,10 +25366,9 @@ packages: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.2.2 + typescript: 5.4.5 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 - dev: false /tsconfck@3.0.3(typescript@5.2.2): resolution: {integrity: sha512-4t0noZX9t6GcPTfBAbIbbIU4pfpCwh0ueq3S4O/5qXI1VwK1outmxhe9dOiEWqMz3MW2LKgDTpqWV+37IWuVbA==} @@ -25551,6 +25605,11 @@ packages: engines: {node: '>=14.17'} hasBin: true + /typescript@5.4.5: + resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} + engines: {node: '>=14.17'} + hasBin: true + /typical@4.0.0: resolution: {integrity: sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==} engines: {node: '>=8'} @@ -26165,7 +26224,7 @@ packages: - zod dev: false - /viem@2.9.26(typescript@4.9.5): + /viem@2.9.26(typescript@5.4.5): resolution: {integrity: sha512-WWYsZfxDsvVsbQF9v3i0M7A2TYTtQl+pwiF5UP8/5dr15XEMGB0MJDhH3esU7jJnBd/JMjkJH/DQRAKuqYS23Q==} peerDependencies: typescript: '>=5.0.4' @@ -26178,9 +26237,9 @@ packages: '@noble/hashes': 1.3.2 '@scure/bip32': 1.3.2 '@scure/bip39': 1.2.1 - abitype: 1.0.0(typescript@4.9.5) + abitype: 1.0.0(typescript@5.4.5) isows: 1.0.3(ws@8.13.0) - typescript: 4.9.5 + typescript: 5.4.5 ws: 8.13.0 transitivePeerDependencies: - bufferutil diff --git a/sdk/package.json b/sdk/package.json index 345467e1..cc4cd13e 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -62,6 +62,7 @@ "babel-plugin-transform-import-meta": "^2.2.1", "jest": "^29.7.0", "ts-jest": "^29.1.1", - "ts-node": "^10.9.1" + "ts-node": "^10.9.1", + "typescript": "5.4.5" } } diff --git a/sdk/src/VeraxSdk.ts b/sdk/src/VeraxSdk.ts index 627654ad..27b7c426 100644 --- a/sdk/src/VeraxSdk.ts +++ b/sdk/src/VeraxSdk.ts @@ -72,7 +72,7 @@ export class VeraxSdk { static DEFAULT_LINEA_SEPOLIA: Conf = { chain: lineaSepolia, mode: SDKMode.BACKEND, - subgraphUrl: "https://api.studio.thegraph.com/query/67946/verax-v1-linea-sepolia/v0.0.1", + subgraphUrl: "https://api.studio.thegraph.com/query/67521/verax-v1-linea-sepolia/v0.0.1", portalRegistryAddress: "0xF35fe79104e157703dbCC3Baa72a81A99591744D", moduleRegistryAddress: "0x3C443B9f0c8ed3A3270De7A4815487BA3223C2Fa", schemaRegistryAddress: "0x90b8542d7288a83EC887229A7C727989C3b56209", @@ -132,7 +132,7 @@ export class VeraxSdk { static DEFAULT_BASE_SEPOLIA: Conf = { chain: baseSepolia, mode: SDKMode.BACKEND, - subgraphUrl: "https://api.studio.thegraph.com/query/67946/verax-v1-base-sepolia/v0.0.1", + subgraphUrl: "https://api.studio.thegraph.com/query/67521/verax-v1-base-sepolia/v0.0.1", portalRegistryAddress: "0x025531b655D9EE335B8E6cc4C118b313f26ACc8F", moduleRegistryAddress: "0xEC572277d4E87a64DcfA774ED219Dd4E69E4BDc6", schemaRegistryAddress: "0x66D2F3DCc970343b83a6263E20832184fa71CFe7", @@ -147,7 +147,7 @@ export class VeraxSdk { static DEFAULT_BASE: Conf = { chain: base, mode: SDKMode.BACKEND, - subgraphUrl: "https://api.studio.thegraph.com/query/67946/verax-v1-base/v0.0.1", + subgraphUrl: "https://api.studio.thegraph.com/query/67521/verax-v1-base/v0.0.1", portalRegistryAddress: "0xcbf28432C25B400E645F0EaC05F8954e8EE7c0d6", moduleRegistryAddress: "0xAd0C12db58098A6665CBEf48f60eB67d81d1F1ff", schemaRegistryAddress: "0x8081dCd745f160c148Eb5be510F78628A0951c31",