diff --git a/package-lock.json b/package-lock.json index 4a78ab10..4a776f8e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33436,7 +33436,6 @@ "@web3-react/walletlink-connector": "^6.1.9", "bignumber.js": "^9.0.2", "dayjs": "^1.11.0", - "graphql": "^16.6.0", "graphql-request": "^5.0.0", "graphql-tag": "^2.12.6", "react": "^17.0.2", @@ -33451,14 +33450,6 @@ "eslint-plugin-react-hooks": "^4.2.0" } }, - "packages/hooks/node_modules/graphql": { - "version": "16.6.0", - "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.6.0.tgz", - "integrity": "sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw==", - "engines": { - "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" - } - }, "packages/templates": { "name": "@nft/templates", "version": "0.1.0", @@ -38578,18 +38569,10 @@ "bignumber.js": "^9.0.2", "dayjs": "^1.11.0", "eslint-plugin-react-hooks": "^4.2.0", - "graphql": "^16.6.0", "graphql-request": "^5.0.0", "graphql-tag": "^2.12.6", "react": "^17.0.2", "react-device-detect": "^1.17.0" - }, - "dependencies": { - "graphql": { - "version": "16.6.0", - "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.6.0.tgz", - "integrity": "sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw==" - } } }, "@nft/templates": { diff --git a/packages/hooks/CHANGELOG.md b/packages/hooks/CHANGELOG.md index 007b9cc1..927334e2 100644 --- a/packages/hooks/CHANGELOG.md +++ b/packages/hooks/CHANGELOG.md @@ -8,6 +8,7 @@ #### Changed +- Remove unnecessary `graphql` dependency[#66](https://github.com/liteflow-labs/libraries/pull/66) - Improve bundle size by removing enums in the generated types [#63](https://github.com/liteflow-labs/libraries/pull/63) #### Deprecated diff --git a/packages/hooks/package.json b/packages/hooks/package.json index 79e477d2..104de1af 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -26,7 +26,6 @@ "@web3-react/walletlink-connector": "^6.1.9", "bignumber.js": "^9.0.2", "dayjs": "^1.11.0", - "graphql": "^16.6.0", "graphql-request": "^5.0.0", "graphql-tag": "^2.12.6", "react": "^17.0.2",