diff --git a/package-lock.json b/package-lock.json index c6d0aef29..9a1f960ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,17 @@ { "name": "opensea-js", - "version": "6.0.2", + "version": "6.0.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "opensea-js", - "version": "6.0.2", + "version": "6.0.4", "hasInstallScript": true, "license": "MIT", "dependencies": { "@opensea/seaport-js": "^2.0.0", - "ethers": "^5.7.2", - "isomorphic-unfetch": "^4.0.2" + "ethers": "^5.7.2" }, "devDependencies": { "@typechain/ethers-v5": "^11.0.0", @@ -3242,13 +3241,6 @@ "dev": true, "license": "Apache-2.0" }, - "node_modules/data-uri-to-buffer": { - "version": "4.0.1", - "license": "MIT", - "engines": { - "node": ">= 12" - } - }, "node_modules/date-fns": { "version": "2.30.0", "dev": true, @@ -4306,27 +4298,6 @@ "reusify": "^1.0.4" } }, - "node_modules/fetch-blob": { - "version": "3.2.0", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/jimmywarting" - }, - { - "type": "paypal", - "url": "https://paypal.me/jimmywarting" - } - ], - "license": "MIT", - "dependencies": { - "node-domexception": "^1.0.0", - "web-streams-polyfill": "^3.0.3" - }, - "engines": { - "node": "^12.20 || >= 14.13" - } - }, "node_modules/file-entry-cache": { "version": "6.0.1", "dev": true, @@ -4436,16 +4407,6 @@ "node": ">=8.0.0" } }, - "node_modules/formdata-polyfill": { - "version": "4.0.10", - "license": "MIT", - "dependencies": { - "fetch-blob": "^3.1.2" - }, - "engines": { - "node": ">=12.20.0" - } - }, "node_modules/fromentries": { "version": "1.3.2", "dev": true, @@ -5411,30 +5372,6 @@ "dev": true, "license": "ISC" }, - "node_modules/isomorphic-unfetch": { - "version": "4.0.2", - "license": "MIT", - "dependencies": { - "node-fetch": "^3.2.0", - "unfetch": "^5.0.0" - } - }, - "node_modules/isomorphic-unfetch/node_modules/node-fetch": { - "version": "3.3.1", - "license": "MIT", - "dependencies": { - "data-uri-to-buffer": "^4.0.0", - "fetch-blob": "^3.1.4", - "formdata-polyfill": "^4.0.10" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/node-fetch" - } - }, "node_modules/istanbul-lib-coverage": { "version": "3.2.0", "dev": true, @@ -6343,23 +6280,6 @@ "version": "2.0.2", "license": "MIT" }, - "node_modules/node-domexception": { - "version": "1.0.0", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/jimmywarting" - }, - { - "type": "github", - "url": "https://paypal.me/jimmywarting" - } - ], - "license": "MIT", - "engines": { - "node": ">=10.5.0" - } - }, "node_modules/node-gyp-build": { "version": "4.6.0", "license": "MIT", @@ -8640,13 +8560,6 @@ "undeclared-identifiers": "bin.js" } }, - "node_modules/unfetch": { - "version": "5.0.0", - "license": "MIT", - "workspaces": [ - "./packages/isomorphic-unfetch" - ] - }, "node_modules/universalify": { "version": "2.0.0", "dev": true, @@ -8775,13 +8688,6 @@ "dev": true, "license": "MIT" }, - "node_modules/web-streams-polyfill": { - "version": "3.2.1", - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, "node_modules/web3-utils": { "version": "1.10.0", "license": "LGPL-3.0", @@ -11174,9 +11080,6 @@ "version": "1.0.0", "dev": true }, - "data-uri-to-buffer": { - "version": "4.0.1" - }, "date-fns": { "version": "2.30.0", "dev": true, @@ -11905,13 +11808,6 @@ "reusify": "^1.0.4" } }, - "fetch-blob": { - "version": "3.2.0", - "requires": { - "node-domexception": "^1.0.0", - "web-streams-polyfill": "^3.0.3" - } - }, "file-entry-cache": { "version": "6.0.1", "dev": true, @@ -11981,12 +11877,6 @@ "signal-exit": "^3.0.2" } }, - "formdata-polyfill": { - "version": "4.0.10", - "requires": { - "fetch-blob": "^3.1.2" - } - }, "fromentries": { "version": "1.3.2", "dev": true @@ -12520,23 +12410,6 @@ "version": "2.0.0", "dev": true }, - "isomorphic-unfetch": { - "version": "4.0.2", - "requires": { - "node-fetch": "^3.2.0", - "unfetch": "^5.0.0" - }, - "dependencies": { - "node-fetch": { - "version": "3.3.1", - "requires": { - "data-uri-to-buffer": "^4.0.0", - "fetch-blob": "^3.1.4", - "formdata-polyfill": "^4.0.10" - } - } - } - }, "istanbul-lib-coverage": { "version": "3.2.0", "dev": true @@ -13154,9 +13027,6 @@ "node-addon-api": { "version": "2.0.2" }, - "node-domexception": { - "version": "1.0.0" - }, "node-gyp-build": { "version": "4.6.0" }, @@ -14623,9 +14493,6 @@ "xtend": "^4.0.1" } }, - "unfetch": { - "version": "5.0.0" - }, "universalify": { "version": "2.0.0", "dev": true @@ -14708,9 +14575,6 @@ "version": "8.0.0", "dev": true }, - "web-streams-polyfill": { - "version": "3.2.1" - }, "web3-utils": { "version": "1.10.0", "requires": { diff --git a/package.json b/package.json index a525520d9..85d9a3ec0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opensea-js", - "version": "6.0.3", + "version": "6.0.4", "description": "JavaScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs and our marketplace data!", "license": "MIT", "author": "OpenSea Developers", @@ -18,7 +18,7 @@ "src" ], "scripts": { - "postinstall": "husky install || true", + "postinstall": "husky install || exit 0", "prepare": "npm run build", "build": "npm run abi-type-gen && tsc -p tsconfig.build.json && npm run bundle", "bundle": "browserify lib/index.js -o lib/bundle.js",