From e6be036847d46ad2bce1867a7e44d5b9091de68f Mon Sep 17 00:00:00 2001 From: wsdt Date: Wed, 13 Nov 2024 22:44:16 +0100 Subject: [PATCH] fix: compatibility issues --- package.json | 2 +- pnpm-lock.yaml | 11 +++++------ tsconfig.json | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 0d37e14..d46c0a7 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ }, "dependencies": { "@bobanetwork/aws-kms": "^2.0.0", - "@bobanetwork/graphql-utils": "^1.1.16", + "@bobanetwork/graphql-utils": "^1.1.17", "@bobanetwork/light-bridge-chains": "^1.1.2", "@eth-optimism/common-ts": "0.2.2", "@openzeppelin/contracts": "4.3.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5ca0c36..a91dbe6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^2.0.0 version: 2.0.0(@babel/core@7.24.4)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.24.4))(bufferutil@4.0.8)(encoding@0.1.13)(jest@29.7.0(@types/node@16.18.90)(ts-node@10.9.2(@types/node@16.18.90)(typescript@4.9.5)))(typescript@4.9.5)(utf-8-validate@5.0.10) '@bobanetwork/graphql-utils': - specifier: ^1.1.16 - version: 1.1.16(@babel/core@7.24.4)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.24.4))(bufferutil@4.0.8)(encoding@0.1.13)(jest@29.7.0(@types/node@16.18.90)(ts-node@10.9.2(@types/node@16.18.90)(typescript@4.9.5)))(typescript@4.9.5)(utf-8-validate@5.0.10) + specifier: ^1.1.17 + version: 1.1.17(@babel/core@7.24.4)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.24.4))(bufferutil@4.0.8)(encoding@0.1.13)(jest@29.7.0(@types/node@16.18.90)(ts-node@10.9.2(@types/node@16.18.90)(typescript@4.9.5)))(typescript@4.9.5)(utf-8-validate@5.0.10) '@bobanetwork/light-bridge-chains': specifier: ^1.1.2 version: 1.1.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -428,8 +428,8 @@ packages: peerDependencies: ethers: ^5 - '@bobanetwork/graphql-utils@1.1.16': - resolution: {integrity: sha512-jJA1JA2cf0iHI6qulZD65KpVuPo+rGCnxzSc+rfEaRLgjOr7TuIdqv/aYy5Lr/p2g+m1Gx0lAHWZQ5148HzvPw==} + '@bobanetwork/graphql-utils@1.1.17': + resolution: {integrity: sha512-YS1pfIvuusz2zfWu27qXsCmgP/B7+HfK/ioo1LJPbc1YIZ31RgBt6ZbkJqpKu/kqc6q+ZHpUa8j/Ia+T8UB6tw==} '@bobanetwork/light-bridge-chains@1.1.2': resolution: {integrity: sha512-0KhoHJhAcYPOutGJjE+wRv/ifHA5eakPbzar1q9BORv6g2nmKEjFe67VY6h27cuVe+1rV+BajxyzhaGBoiWpAA==} @@ -6778,12 +6778,11 @@ snapshots: - supports-color - utf-8-validate - '@bobanetwork/graphql-utils@1.1.16(@babel/core@7.24.4)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.24.4))(bufferutil@4.0.8)(encoding@0.1.13)(jest@29.7.0(@types/node@16.18.90)(ts-node@10.9.2(@types/node@16.18.90)(typescript@4.9.5)))(typescript@4.9.5)(utf-8-validate@5.0.10)': + '@bobanetwork/graphql-utils@1.1.17(@babel/core@7.24.4)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.24.4))(bufferutil@4.0.8)(encoding@0.1.13)(jest@29.7.0(@types/node@16.18.90)(ts-node@10.9.2(@types/node@16.18.90)(typescript@4.9.5)))(typescript@4.9.5)(utf-8-validate@5.0.10)': dependencies: '@apollo/client': 3.5.10(graphql@16.9.0) '@ethersproject/providers': 5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@types/jest': 29.5.12 - dotenv: 16.4.5 ethers: 5.7.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) graphql: 16.9.0 node-fetch: 2.7.0(encoding@0.1.13) diff --git a/tsconfig.json b/tsconfig.json index 6dd787c..231785b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ "lib": [ "es7" ], - "target": "es2017", + "target": "es2020", "module": "commonjs", "moduleResolution": "node", "outDir": "./build",