From 74b2804da79db7e637b60e5af32aae413bd938c6 Mon Sep 17 00:00:00 2001 From: Ruben Marcus Date: Fri, 8 Mar 2024 12:11:14 +0000 Subject: [PATCH] bump near-api-js (#484) --- package-lock.json | 649 ++++++++++++++++++++++++++++++++++- packages/react/package.json | 2 +- packages/wallet/package.json | 2 +- 3 files changed, 645 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 53b9cbf1..d91bc924 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4642,6 +4642,28 @@ "near-api-js": "^1.0.0 || ^2.0.0" } }, + "node_modules/@noble/curves": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", + "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "dependencies": { + "@noble/hashes": "1.3.2" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@noble/hashes": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", + "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -18347,6 +18369,11 @@ "tslib": "^2.0.3" } }, + "node_modules/lru_map": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.4.1.tgz", + "integrity": "sha512-I+lBvqMMFfqaV8CJCISjI3wbjmwVu/VyOoU7+qtu9d7ioW5klMgsTTiUOUp+DJvfTTzKXoPbyC6YfgkNcyPSOg==" + }, "node_modules/lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", @@ -22240,6 +22267,14 @@ "resolved": "https://registry.npmjs.org/radix3/-/radix3-1.1.0.tgz", "integrity": "sha512-pNsHDxbGORSvuSScqNJ+3Km6QAVqk8CfsCBIEoDgpqLrkD2f3QM4I7d1ozJJ172OmIcoUcerZaNWqtLkRXTV3A==" }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, "node_modules/range-parser": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", @@ -26750,7 +26785,7 @@ "version": "0.5.6-beta-prerelease.2", "license": "MIT", "dependencies": { - "@mintbase-js/wallet": "0.5.5-add-contractId-on-signin-84d0c9f.0", + "@mintbase-js/wallet": "0.5.6-fix-near-api-js-version-48106fe.0", "@near-wallet-selector/core": "8.9.3", "@near-wallet-selector/here-wallet": "8.9.3", "@near-wallet-selector/meteor-wallet": "8.9.3", @@ -26765,13 +26800,314 @@ } }, "packages/react/node_modules/@mintbase-js/wallet": { - "version": "0.5.5-add-contractId-on-signin-84d0c9f.0", - "resolved": "https://registry.npmjs.org/@mintbase-js/wallet/-/wallet-0.5.5-add-contractId-on-signin-84d0c9f.0.tgz", - "integrity": "sha512-pJxqUCY04vdB8zBvTHOdOA9MNhMFhYhXM7xhGrUEOWjY8WhZbPdaBQv4lczKlb6wPfqM+fSMI0K3TGuG99gIAA==", + "version": "0.5.6-fix-near-api-js-version-48106fe.0", + "resolved": "https://registry.npmjs.org/@mintbase-js/wallet/-/wallet-0.5.6-fix-near-api-js-version-48106fe.0.tgz", + "integrity": "sha512-fOBtJvam9T+2x37gWsKTpeBOG1RuJW8ELuk7wpB3h1eMCEn1oJl5xkQpmraZPQ4zEY2smzY/bofaZYyypNtMkA==", "dependencies": { "@near-wallet-selector/core": "8.9.3", "bn.js": "^5.2.1", - "near-api-js": "^2.1.4" + "near-api-js": "3.0.3" + } + }, + "packages/react/node_modules/@near-js/accounts": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@near-js/accounts/-/accounts-1.0.3.tgz", + "integrity": "sha512-8/oSXTlKlhJzsoiWw1g8BnenFIZDj6GC7c6g4KM4gSoMlvVEep1QkV3puCl9o4KvH0FQt3o4ykdhSeHRwPTttw==", + "dependencies": { + "@near-js/crypto": "1.2.1", + "@near-js/providers": "0.1.0", + "@near-js/signers": "0.1.1", + "@near-js/transactions": "1.1.1", + "@near-js/types": "0.0.4", + "@near-js/utils": "0.1.0", + "ajv": "8.11.2", + "ajv-formats": "2.1.1", + "bn.js": "5.2.1", + "borsh": "1.0.0", + "depd": "2.0.0", + "lru_map": "0.4.1", + "near-abi": "0.1.1" + } + }, + "packages/react/node_modules/@near-js/crypto": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@near-js/crypto/-/crypto-1.2.1.tgz", + "integrity": "sha512-iJOHaGKvdudYfR8nEtRhGlgcTEHeVmxMoT0JVXmuP3peG96v/sSnA03CE6MZBeCC8txKAQOffagxE7oU6hJp9g==", + "dependencies": { + "@near-js/types": "0.0.4", + "@near-js/utils": "0.1.0", + "@noble/curves": "1.2.0", + "bn.js": "5.2.1", + "borsh": "1.0.0", + "randombytes": "2.1.0" + } + }, + "packages/react/node_modules/@near-js/keystores": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/@near-js/keystores/-/keystores-0.0.9.tgz", + "integrity": "sha512-j8ySgVEcm2Gg6zxkSdadNtPlIqhJZdPGfWWM3tPtEoowNS9snhwZn5NRFPrgmX0+MzpF7E091CRcY90MvRVhsg==", + "dependencies": { + "@near-js/crypto": "1.2.1", + "@near-js/types": "0.0.4" + } + }, + "packages/react/node_modules/@near-js/keystores-browser": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/@near-js/keystores-browser/-/keystores-browser-0.0.9.tgz", + "integrity": "sha512-JzPj+RHJN2G3CEm/LyfbtZDQy/wxgOlqfh52voqPGijUHg93b27KBqtZShazAgJNkhzRbWcoluWQnd2jL8vF7A==", + "dependencies": { + "@near-js/crypto": "1.2.1", + "@near-js/keystores": "0.0.9" + } + }, + "packages/react/node_modules/@near-js/keystores-node": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/@near-js/keystores-node/-/keystores-node-0.0.9.tgz", + "integrity": "sha512-2B9MYz6uIhysG1fhQSjvaPYCM7gM+UAeDchX0J8QRauXIeN8TGzpcdgkdkMUnWNTIdt3Iblh0ZuCs+FY02dTXg==", + "dependencies": { + "@near-js/crypto": "1.2.1", + "@near-js/keystores": "0.0.9" + } + }, + "packages/react/node_modules/@near-js/providers": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@near-js/providers/-/providers-0.1.0.tgz", + "integrity": "sha512-NUulR6rUwj2BIufM/9/eWopGwQr/6SyL6B62F/oIRN3o2l57m6jzeN3Z8vG0hJMt4ax3TnEU0QDZ7xnaWy1RLA==", + "dependencies": { + "@near-js/transactions": "1.1.1", + "@near-js/types": "0.0.4", + "@near-js/utils": "0.1.0", + "bn.js": "5.2.1", + "borsh": "1.0.0", + "http-errors": "1.7.2" + }, + "optionalDependencies": { + "node-fetch": "2.6.7" + } + }, + "packages/react/node_modules/@near-js/signers": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@near-js/signers/-/signers-0.1.1.tgz", + "integrity": "sha512-focJgs04dBUfawMnyGg3yIjaMawuVz2OeLRKC4t5IQDmO4PLfdIraEuwgS7tckMq3GdrJ7nqkwkpSNYpdt7I5Q==", + "dependencies": { + "@near-js/crypto": "1.2.1", + "@near-js/keystores": "0.0.9", + "@noble/hashes": "1.3.3" + } + }, + "packages/react/node_modules/@near-js/transactions": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@near-js/transactions/-/transactions-1.1.1.tgz", + "integrity": "sha512-C3oNEUDkAwhactTLZ1/VxOu9i+xi0j4ceG6Qoqkm4hlLVPHYx1u9L8oTtlEccXnNpqv/Ey3dcgBRJu/TKPFoEg==", + "dependencies": { + "@near-js/crypto": "1.2.1", + "@near-js/signers": "0.1.1", + "@near-js/types": "0.0.4", + "@near-js/utils": "0.1.0", + "@noble/hashes": "1.3.3", + "bn.js": "5.2.1", + "borsh": "1.0.0" + } + }, + "packages/react/node_modules/@near-js/utils": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@near-js/utils/-/utils-0.1.0.tgz", + "integrity": "sha512-kOVAXmJzaC8ElJD3RLEoBuqOK+d5s7jc0JkvhyEtbuEmXYHHAy9Q17/YkDcX9tyr01L85iOt66z0cODqzgtQwA==", + "dependencies": { + "@near-js/types": "0.0.4", + "bn.js": "5.2.1", + "bs58": "4.0.0", + "depd": "2.0.0", + "mustache": "4.0.0" + } + }, + "packages/react/node_modules/@near-js/wallet-account": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@near-js/wallet-account/-/wallet-account-1.1.0.tgz", + "integrity": "sha512-iwB5hy8OokdAejgwFzAPJ5yR1zsg9u0RVdMJVCBAzSrSm5OhvrN7Goe24s/F2YfN4L3xQBVo39cZJK9366qdqw==", + "dependencies": { + "@near-js/accounts": "1.0.3", + "@near-js/crypto": "1.2.1", + "@near-js/keystores": "0.0.9", + "@near-js/signers": "0.1.1", + "@near-js/transactions": "1.1.1", + "@near-js/types": "0.0.4", + "@near-js/utils": "0.1.0", + "bn.js": "5.2.1", + "borsh": "1.0.0" + } + }, + "packages/react/node_modules/@noble/hashes": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.3.tgz", + "integrity": "sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "packages/react/node_modules/ajv": { + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.2.tgz", + "integrity": "sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/react/node_modules/base-x": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-2.0.6.tgz", + "integrity": "sha512-UAmjxz9KbK+YIi66xej+pZVo/vxUOh49ubEvZW5egCbxhur05pBb+hwuireQwKO4nDpsNm64/jEei17LEpsr5g==", + "deprecated": "use 3.0.0 instead, safe-buffer has been merged and release for compatability", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": ">=4.5.0" + } + }, + "packages/react/node_modules/borsh": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/borsh/-/borsh-1.0.0.tgz", + "integrity": "sha512-fSVWzzemnyfF89EPwlUNsrS5swF5CrtiN4e+h0/lLf4dz2he4L3ndM20PS9wj7ICSkXJe/TQUHdaPTq15b1mNQ==" + }, + "packages/react/node_modules/bs58": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.0.tgz", + "integrity": "sha512-/jcGuUuSebyxwLLfKrbKnCJttxRf9PM51EnHTwmFKBxl4z1SGkoAhrfd6uZKE0dcjQTfm6XzTP8DPr1tzE4KIw==", + "dependencies": { + "base-x": "^2.0.1" + } + }, + "packages/react/node_modules/http-errors": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", + "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.1", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/react/node_modules/http-errors/node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "engines": { + "node": ">= 0.6" + } + }, + "packages/react/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==" + }, + "packages/react/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "packages/react/node_modules/mustache": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.0.0.tgz", + "integrity": "sha512-FJgjyX/IVkbXBXYUwH+OYwQKqWpFPLaLVESd70yHjSDunwzV2hZOoTBvPf4KLoxesUzzyfTH6F784Uqd7Wm5yA==", + "bin": { + "mustache": "bin/mustache" + }, + "engines": { + "npm": ">=1.4.0" + } + }, + "packages/react/node_modules/near-api-js": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/near-api-js/-/near-api-js-3.0.3.tgz", + "integrity": "sha512-pQhDytWpOM6hxPJ6mCe9tgGKtMwAK9bM2/YnGvBfkRgokSm4US0K0lnqHwEG+g4+6HxRme6SOou1tuAyXdoTsQ==", + "dependencies": { + "@near-js/accounts": "1.0.3", + "@near-js/crypto": "1.2.1", + "@near-js/keystores": "0.0.9", + "@near-js/keystores-browser": "0.0.9", + "@near-js/keystores-node": "0.0.9", + "@near-js/providers": "0.1.0", + "@near-js/signers": "0.1.1", + "@near-js/transactions": "1.1.1", + "@near-js/types": "0.0.4", + "@near-js/utils": "0.1.0", + "@near-js/wallet-account": "1.1.0", + "@noble/curves": "1.2.0", + "ajv": "8.11.2", + "ajv-formats": "2.1.1", + "bn.js": "5.2.1", + "borsh": "1.0.0", + "depd": "2.0.0", + "http-errors": "1.7.2", + "near-abi": "0.1.1", + "node-fetch": "2.6.7" + } + }, + "packages/react/node_modules/node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "packages/react/node_modules/setprototypeof": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", + "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" + }, + "packages/react/node_modules/toidentifier": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", + "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", + "engines": { + "node": ">=0.6" + } + }, + "packages/react/node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "packages/react/node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "packages/react/node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" } }, "packages/rpc": { @@ -26934,7 +27270,308 @@ "dependencies": { "@near-wallet-selector/core": "8.9.3", "bn.js": "^5.2.1", - "near-api-js": "^2.1.4" + "near-api-js": "3.0.3" + } + }, + "packages/wallet/node_modules/@near-js/accounts": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@near-js/accounts/-/accounts-1.0.3.tgz", + "integrity": "sha512-8/oSXTlKlhJzsoiWw1g8BnenFIZDj6GC7c6g4KM4gSoMlvVEep1QkV3puCl9o4KvH0FQt3o4ykdhSeHRwPTttw==", + "dependencies": { + "@near-js/crypto": "1.2.1", + "@near-js/providers": "0.1.0", + "@near-js/signers": "0.1.1", + "@near-js/transactions": "1.1.1", + "@near-js/types": "0.0.4", + "@near-js/utils": "0.1.0", + "ajv": "8.11.2", + "ajv-formats": "2.1.1", + "bn.js": "5.2.1", + "borsh": "1.0.0", + "depd": "2.0.0", + "lru_map": "0.4.1", + "near-abi": "0.1.1" + } + }, + "packages/wallet/node_modules/@near-js/crypto": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@near-js/crypto/-/crypto-1.2.1.tgz", + "integrity": "sha512-iJOHaGKvdudYfR8nEtRhGlgcTEHeVmxMoT0JVXmuP3peG96v/sSnA03CE6MZBeCC8txKAQOffagxE7oU6hJp9g==", + "dependencies": { + "@near-js/types": "0.0.4", + "@near-js/utils": "0.1.0", + "@noble/curves": "1.2.0", + "bn.js": "5.2.1", + "borsh": "1.0.0", + "randombytes": "2.1.0" + } + }, + "packages/wallet/node_modules/@near-js/keystores": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/@near-js/keystores/-/keystores-0.0.9.tgz", + "integrity": "sha512-j8ySgVEcm2Gg6zxkSdadNtPlIqhJZdPGfWWM3tPtEoowNS9snhwZn5NRFPrgmX0+MzpF7E091CRcY90MvRVhsg==", + "dependencies": { + "@near-js/crypto": "1.2.1", + "@near-js/types": "0.0.4" + } + }, + "packages/wallet/node_modules/@near-js/keystores-browser": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/@near-js/keystores-browser/-/keystores-browser-0.0.9.tgz", + "integrity": "sha512-JzPj+RHJN2G3CEm/LyfbtZDQy/wxgOlqfh52voqPGijUHg93b27KBqtZShazAgJNkhzRbWcoluWQnd2jL8vF7A==", + "dependencies": { + "@near-js/crypto": "1.2.1", + "@near-js/keystores": "0.0.9" + } + }, + "packages/wallet/node_modules/@near-js/keystores-node": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/@near-js/keystores-node/-/keystores-node-0.0.9.tgz", + "integrity": "sha512-2B9MYz6uIhysG1fhQSjvaPYCM7gM+UAeDchX0J8QRauXIeN8TGzpcdgkdkMUnWNTIdt3Iblh0ZuCs+FY02dTXg==", + "dependencies": { + "@near-js/crypto": "1.2.1", + "@near-js/keystores": "0.0.9" + } + }, + "packages/wallet/node_modules/@near-js/providers": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@near-js/providers/-/providers-0.1.0.tgz", + "integrity": "sha512-NUulR6rUwj2BIufM/9/eWopGwQr/6SyL6B62F/oIRN3o2l57m6jzeN3Z8vG0hJMt4ax3TnEU0QDZ7xnaWy1RLA==", + "dependencies": { + "@near-js/transactions": "1.1.1", + "@near-js/types": "0.0.4", + "@near-js/utils": "0.1.0", + "bn.js": "5.2.1", + "borsh": "1.0.0", + "http-errors": "1.7.2" + }, + "optionalDependencies": { + "node-fetch": "2.6.7" + } + }, + "packages/wallet/node_modules/@near-js/signers": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@near-js/signers/-/signers-0.1.1.tgz", + "integrity": "sha512-focJgs04dBUfawMnyGg3yIjaMawuVz2OeLRKC4t5IQDmO4PLfdIraEuwgS7tckMq3GdrJ7nqkwkpSNYpdt7I5Q==", + "dependencies": { + "@near-js/crypto": "1.2.1", + "@near-js/keystores": "0.0.9", + "@noble/hashes": "1.3.3" + } + }, + "packages/wallet/node_modules/@near-js/transactions": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@near-js/transactions/-/transactions-1.1.1.tgz", + "integrity": "sha512-C3oNEUDkAwhactTLZ1/VxOu9i+xi0j4ceG6Qoqkm4hlLVPHYx1u9L8oTtlEccXnNpqv/Ey3dcgBRJu/TKPFoEg==", + "dependencies": { + "@near-js/crypto": "1.2.1", + "@near-js/signers": "0.1.1", + "@near-js/types": "0.0.4", + "@near-js/utils": "0.1.0", + "@noble/hashes": "1.3.3", + "bn.js": "5.2.1", + "borsh": "1.0.0" + } + }, + "packages/wallet/node_modules/@near-js/utils": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@near-js/utils/-/utils-0.1.0.tgz", + "integrity": "sha512-kOVAXmJzaC8ElJD3RLEoBuqOK+d5s7jc0JkvhyEtbuEmXYHHAy9Q17/YkDcX9tyr01L85iOt66z0cODqzgtQwA==", + "dependencies": { + "@near-js/types": "0.0.4", + "bn.js": "5.2.1", + "bs58": "4.0.0", + "depd": "2.0.0", + "mustache": "4.0.0" + } + }, + "packages/wallet/node_modules/@near-js/wallet-account": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@near-js/wallet-account/-/wallet-account-1.1.0.tgz", + "integrity": "sha512-iwB5hy8OokdAejgwFzAPJ5yR1zsg9u0RVdMJVCBAzSrSm5OhvrN7Goe24s/F2YfN4L3xQBVo39cZJK9366qdqw==", + "dependencies": { + "@near-js/accounts": "1.0.3", + "@near-js/crypto": "1.2.1", + "@near-js/keystores": "0.0.9", + "@near-js/signers": "0.1.1", + "@near-js/transactions": "1.1.1", + "@near-js/types": "0.0.4", + "@near-js/utils": "0.1.0", + "bn.js": "5.2.1", + "borsh": "1.0.0" + } + }, + "packages/wallet/node_modules/@noble/hashes": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.3.tgz", + "integrity": "sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "packages/wallet/node_modules/ajv": { + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.2.tgz", + "integrity": "sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "packages/wallet/node_modules/base-x": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-2.0.6.tgz", + "integrity": "sha512-UAmjxz9KbK+YIi66xej+pZVo/vxUOh49ubEvZW5egCbxhur05pBb+hwuireQwKO4nDpsNm64/jEei17LEpsr5g==", + "deprecated": "use 3.0.0 instead, safe-buffer has been merged and release for compatability", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": ">=4.5.0" + } + }, + "packages/wallet/node_modules/borsh": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/borsh/-/borsh-1.0.0.tgz", + "integrity": "sha512-fSVWzzemnyfF89EPwlUNsrS5swF5CrtiN4e+h0/lLf4dz2he4L3ndM20PS9wj7ICSkXJe/TQUHdaPTq15b1mNQ==" + }, + "packages/wallet/node_modules/bs58": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.0.tgz", + "integrity": "sha512-/jcGuUuSebyxwLLfKrbKnCJttxRf9PM51EnHTwmFKBxl4z1SGkoAhrfd6uZKE0dcjQTfm6XzTP8DPr1tzE4KIw==", + "dependencies": { + "base-x": "^2.0.1" + } + }, + "packages/wallet/node_modules/http-errors": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", + "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.1", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "packages/wallet/node_modules/http-errors/node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "engines": { + "node": ">= 0.6" + } + }, + "packages/wallet/node_modules/inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==" + }, + "packages/wallet/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, + "packages/wallet/node_modules/mustache": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.0.0.tgz", + "integrity": "sha512-FJgjyX/IVkbXBXYUwH+OYwQKqWpFPLaLVESd70yHjSDunwzV2hZOoTBvPf4KLoxesUzzyfTH6F784Uqd7Wm5yA==", + "bin": { + "mustache": "bin/mustache" + }, + "engines": { + "npm": ">=1.4.0" + } + }, + "packages/wallet/node_modules/near-api-js": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/near-api-js/-/near-api-js-3.0.3.tgz", + "integrity": "sha512-pQhDytWpOM6hxPJ6mCe9tgGKtMwAK9bM2/YnGvBfkRgokSm4US0K0lnqHwEG+g4+6HxRme6SOou1tuAyXdoTsQ==", + "dependencies": { + "@near-js/accounts": "1.0.3", + "@near-js/crypto": "1.2.1", + "@near-js/keystores": "0.0.9", + "@near-js/keystores-browser": "0.0.9", + "@near-js/keystores-node": "0.0.9", + "@near-js/providers": "0.1.0", + "@near-js/signers": "0.1.1", + "@near-js/transactions": "1.1.1", + "@near-js/types": "0.0.4", + "@near-js/utils": "0.1.0", + "@near-js/wallet-account": "1.1.0", + "@noble/curves": "1.2.0", + "ajv": "8.11.2", + "ajv-formats": "2.1.1", + "bn.js": "5.2.1", + "borsh": "1.0.0", + "depd": "2.0.0", + "http-errors": "1.7.2", + "near-abi": "0.1.1", + "node-fetch": "2.6.7" + } + }, + "packages/wallet/node_modules/node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "packages/wallet/node_modules/setprototypeof": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", + "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" + }, + "packages/wallet/node_modules/toidentifier": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", + "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", + "engines": { + "node": ">=0.6" + } + }, + "packages/wallet/node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "packages/wallet/node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "packages/wallet/node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" } } } diff --git a/packages/react/package.json b/packages/react/package.json index 98e0a108..fde7ac8a 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -23,7 +23,7 @@ "@testing-library/user-event": "^14.5.2" }, "dependencies": { - "@mintbase-js/wallet": "0.5.5-add-contractId-on-signin-84d0c9f.0", + "@mintbase-js/wallet": "0.5.6-fix-near-api-js-version-48106fe.0", "@near-wallet-selector/core": "8.9.3", "@near-wallet-selector/here-wallet": "8.9.3", "@near-wallet-selector/meteor-wallet": "8.9.3", diff --git a/packages/wallet/package.json b/packages/wallet/package.json index b85d95f8..3d4393e6 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -15,6 +15,6 @@ "dependencies": { "@near-wallet-selector/core": "8.9.3", "bn.js": "^5.2.1", - "near-api-js": "^2.1.4" + "near-api-js": "3.0.3" } }