diff --git a/package-lock.json b/package-lock.json index 08020fe83..2f4d571b1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@apollo/client": "^3.8.1", "@bosonprotocol/chat-sdk": "^1.3.1-alpha.9", - "@bosonprotocol/react-kit": "^0.32.0", + "@bosonprotocol/react-kit": "^0.33.0-alpha.21", "@davatar/react": "^1.10.4", "@ethersproject/address": "^5.6.1", "@ethersproject/units": "^5.7.0", @@ -2488,11 +2488,11 @@ } }, "node_modules/@bosonprotocol/common": { - "version": "1.28.0", - "resolved": "https://registry.npmjs.org/@bosonprotocol/common/-/common-1.28.0.tgz", - "integrity": "sha512-/YS9DIHLFlDa9khkwKSvvG69kZAw5NqZxdJALkfxD61C9PTp4awvDYo6peNMyXwNCK5lJ+KQ+TisEmiFm7Dn/Q==", + "version": "1.28.1-alpha.20", + "resolved": "https://registry.npmjs.org/@bosonprotocol/common/-/common-1.28.1-alpha.20.tgz", + "integrity": "sha512-MnY0SsIj8EhShU/VI48nXMLmVyXZ+P9F5xn2HK8mp3RVKg7W6itEwaevKLo610o3RsDLizfwOtNHQ8JfZ9rLFQ==", "dependencies": { - "@bosonprotocol/metadata": "^1.16.1", + "@bosonprotocol/metadata": "^1.16.2-alpha.15", "@ethersproject/abi": "^5.5.0", "@ethersproject/address": "^5.5.0", "@ethersproject/bignumber": "^5.5.0", @@ -2502,11 +2502,11 @@ } }, "node_modules/@bosonprotocol/core-sdk": { - "version": "1.40.4", - "resolved": "https://registry.npmjs.org/@bosonprotocol/core-sdk/-/core-sdk-1.40.4.tgz", - "integrity": "sha512-3sWTM7TEGI0DBLuOwnzfDgJOlkOrBOo9DhSzXw6X7f1GTn3WeMVlBgCv1CBIpV721SOdQhhVZ1yliQM5Ff6m6g==", + "version": "1.40.5-alpha.20", + "resolved": "https://registry.npmjs.org/@bosonprotocol/core-sdk/-/core-sdk-1.40.5-alpha.20.tgz", + "integrity": "sha512-9MxB7Yotd8052KgRtaeGTk3/qTzYJM9yPIj2jUzsyXP60eftFPUjUf92KTvUEnbycEcmbDzldWLMyeX3sn71vQ==", "dependencies": { - "@bosonprotocol/common": "^1.28.0", + "@bosonprotocol/common": "^1.28.1-alpha.20", "@ethersproject/abi": "^5.5.0", "@ethersproject/address": "^5.5.0", "@ethersproject/bignumber": "^5.5.0", @@ -2523,42 +2523,50 @@ } }, "node_modules/@bosonprotocol/ethers-sdk": { - "version": "1.14.4", - "resolved": "https://registry.npmjs.org/@bosonprotocol/ethers-sdk/-/ethers-sdk-1.14.4.tgz", - "integrity": "sha512-cvXJzHJwEjGGjmxeXS0q7Qe6KbfAtl3RLFh3Y696EFXpjGSVKeYS1VkAwA9p7VLe2qX9JSh6tdfLgkosx7HiLA==", + "version": "1.14.5-alpha.20", + "resolved": "https://registry.npmjs.org/@bosonprotocol/ethers-sdk/-/ethers-sdk-1.14.5-alpha.20.tgz", + "integrity": "sha512-V+YaAANZ3cJZla1mqlbKqCvk0jXDhB70cCpUGQDQxzvvqSH8ExwLT2yth5xoj6F2c2exPdQVR3TjdcDjRIz/gw==", "dependencies": { - "@bosonprotocol/common": "^1.28.0" + "@bosonprotocol/common": "^1.28.1-alpha.20" }, "peerDependencies": { "ethers": "^5.5.0" } }, "node_modules/@bosonprotocol/ipfs-storage": { - "version": "1.11.3", - "license": "Apache-2.0", + "version": "1.11.4-alpha.15", + "resolved": "https://registry.npmjs.org/@bosonprotocol/ipfs-storage/-/ipfs-storage-1.11.4-alpha.15.tgz", + "integrity": "sha512-2gOd0iMcqsJVXLw5cQjPUsOC405jzcbqgEyVs1JRtDHSwLaWnCP4BTkS/7ztU0pe9MbdnsqJhQGNreowwg1zDQ==", "dependencies": { - "@bosonprotocol/metadata": "^1.16.1", + "@bosonprotocol/metadata-storage": "^1.0.1-alpha.15", "ipfs-http-client": "^56.0.1", "multiformats": "^9.6.4", "uint8arrays": "^3.0.0" } }, "node_modules/@bosonprotocol/metadata": { - "version": "1.16.1", - "license": "Apache-2.0", + "version": "1.16.2-alpha.15", + "resolved": "https://registry.npmjs.org/@bosonprotocol/metadata/-/metadata-1.16.2-alpha.15.tgz", + "integrity": "sha512-ZwE+4kqpkPisJzW26oDtt/jZRuGCkt5lgdQLPEoKte/EvtcpWwkpTLBUb81Lq5fH6z7wWbLuhPtBvYk6xRl+iQ==", "dependencies": { + "@bosonprotocol/metadata-storage": "^1.0.1-alpha.15", "schema-to-yup": "^1.11.11" } }, + "node_modules/@bosonprotocol/metadata-storage": { + "version": "1.0.1-alpha.15", + "resolved": "https://registry.npmjs.org/@bosonprotocol/metadata-storage/-/metadata-storage-1.0.1-alpha.15.tgz", + "integrity": "sha512-05OcLm78uEPVUGv39tXQ0henmCI5k9q+p1+v/HGQ0bTtWVQpSciUJG1Fn6u+Rtb2zejubQADbFELKXnu1rNdZQ==" + }, "node_modules/@bosonprotocol/react-kit": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/@bosonprotocol/react-kit/-/react-kit-0.32.0.tgz", - "integrity": "sha512-ePdqqrZuzw31DFfiTyaouBTU0joBO9lrGUpes2/qzpLOVkM9kFmXDgwx4jEETkUTps2ureTZ1PwFF7PrnmvDXQ==", + "version": "0.33.0-alpha.21", + "resolved": "https://registry.npmjs.org/@bosonprotocol/react-kit/-/react-kit-0.33.0-alpha.21.tgz", + "integrity": "sha512-WuoPX12qg9U3aBTTb56pfBtcgI2mABsLZJEKpQyT/xROoMd6Qn93GcfBZTDBLjMnMwCTcs04M13u19Ac0TEp3g==", "dependencies": { "@bosonprotocol/chat-sdk": "^1.3.1-alpha.9", - "@bosonprotocol/core-sdk": "^1.40.4", - "@bosonprotocol/ethers-sdk": "^1.14.4", - "@bosonprotocol/ipfs-storage": "^1.11.3", + "@bosonprotocol/core-sdk": "^1.40.5-alpha.20", + "@bosonprotocol/ethers-sdk": "^1.14.5-alpha.20", + "@bosonprotocol/ipfs-storage": "^1.11.4-alpha.15", "@davatar/react": "1.11.1", "@ethersproject/units": "5.6.0", "@glidejs/glide": "3.6.0", @@ -6463,7 +6471,8 @@ }, "node_modules/@ipld/dag-cbor": { "version": "7.0.3", - "license": "(Apache-2.0 AND MIT)", + "resolved": "https://registry.npmjs.org/@ipld/dag-cbor/-/dag-cbor-7.0.3.tgz", + "integrity": "sha512-1VVh2huHsuohdXC1bGJNE8WR72slZ9XE2T3wbBBq31dm7ZBatmKLLxrB+XAqafxfRFjv08RZmj/W/ZqaM13AuA==", "dependencies": { "cborg": "^1.6.0", "multiformats": "^9.5.4" @@ -6471,7 +6480,8 @@ }, "node_modules/@ipld/dag-json": { "version": "8.0.11", - "license": "(Apache-2.0 AND MIT)", + "resolved": "https://registry.npmjs.org/@ipld/dag-json/-/dag-json-8.0.11.tgz", + "integrity": "sha512-Pea7JXeYHTWXRTIhBqBlhw7G53PJ7yta3G/sizGEZyzdeEwhZRr0od5IQ0r2ZxOt1Do+2czddjeEPp+YTxDwCA==", "dependencies": { "cborg": "^1.5.4", "multiformats": "^9.5.4" @@ -6479,7 +6489,8 @@ }, "node_modules/@ipld/dag-pb": { "version": "2.1.18", - "license": "(Apache-2.0 AND MIT)", + "resolved": "https://registry.npmjs.org/@ipld/dag-pb/-/dag-pb-2.1.18.tgz", + "integrity": "sha512-ZBnf2fuX9y3KccADURG5vb9FaOeMjFkCrNysB0PtftME/4iCTjxfaLoNq/IAh5fTqUOMXvryN6Jyka4ZGuMLIg==", "dependencies": { "multiformats": "^9.5.4" } @@ -8993,13 +9004,13 @@ } }, "node_modules/@opensea/seaport-js": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@opensea/seaport-js/-/seaport-js-4.0.1.tgz", - "integrity": "sha512-zcSXQ9XH55/9RG0dl8jwyUsUEmuZNfrh5OhHVUUAWYQvw1/allhqjwPdIZvKJp/EGXSB7vDBXR5j4T0fN9ssCA==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@opensea/seaport-js/-/seaport-js-4.0.4.tgz", + "integrity": "sha512-pOBgU+y1H9Bh463ZdgFshFBxnBQvEaGfoOJFDHbkvZTNLSqIOyuDmICFTQJEiPjYsS6tMQTbw2oJBtcVLFUT2g==", "hasInstallScript": true, "dependencies": { "ethers": "^6.9.0", - "merkletreejs": "^0.3.11" + "merkletreejs": "^0.4.0" }, "engines": { "node": ">=20.0.0" @@ -9016,9 +9027,9 @@ "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" }, "node_modules/@opensea/seaport-js/node_modules/ethers": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.0.tgz", - "integrity": "sha512-+yyQQQWEntY5UVbCv++guA14RRVFm1rSnO1GoLFdrK7/XRWMoktNgyG9UjwxrQqGBfGyFKknNZ81YpUS2emCgg==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.1.tgz", + "integrity": "sha512-hdJ2HOxg/xx97Lm9HdCWk949BfYqYWpyw4//78SiwOLgASyfrNszfMUNB2joKjvGUdwhHfaiMMFFwacVVoLR9A==", "funding": [ { "type": "individual", @@ -9036,7 +9047,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -9048,15 +9059,15 @@ "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, "node_modules/@opensea/seaport-js/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -14206,7 +14217,8 @@ }, "node_modules/@types/long": { "version": "4.0.2", - "license": "MIT" + "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz", + "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" }, "node_modules/@types/lru-cache": { "version": "5.1.1", @@ -17150,7 +17162,8 @@ }, "node_modules/any-signal": { "version": "3.0.1", - "license": "MIT" + "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-3.0.1.tgz", + "integrity": "sha512-xgZgJtKEa9YmDqXodIgl7Fl1C8yNXr8w6gXjqK3LW4GcEiYT+6AQfJSE/8SPsEpLLmcvbv8YU+qet94UewHxqg==" }, "node_modules/anymatch": { "version": "3.1.3", @@ -18174,7 +18187,8 @@ }, "node_modules/blob-to-it": { "version": "1.0.4", - "license": "ISC", + "resolved": "https://registry.npmjs.org/blob-to-it/-/blob-to-it-1.0.4.tgz", + "integrity": "sha512-iCmk0W4NdbrWgRRuxOriU8aM5ijeVLI61Zulsmg/lUHNr7pYjoj+U77opLefNagevtrrbMt3JQ5Qip7ar178kA==", "dependencies": { "browser-readablestream-to-it": "^1.0.3" } @@ -18356,7 +18370,8 @@ }, "node_modules/browser-readablestream-to-it": { "version": "1.0.3", - "license": "ISC" + "resolved": "https://registry.npmjs.org/browser-readablestream-to-it/-/browser-readablestream-to-it-1.0.3.tgz", + "integrity": "sha512-+12sHB+Br8HIh6VAMVEG5r3UXCyESIgDW7kzk3BjIXa43DVqVwL7GC5TW3jeh+72dtcH99pPVpw0X8i0jt+/kw==" }, "node_modules/browser-stdout": { "version": "1.3.1", @@ -18795,7 +18810,8 @@ }, "node_modules/cborg": { "version": "1.10.2", - "license": "Apache-2.0", + "resolved": "https://registry.npmjs.org/cborg/-/cborg-1.10.2.tgz", + "integrity": "sha512-b3tFPA9pUr2zCUiCfRd2+wok2/LBSNUMKOuRRok+WlvvAgEt/PlbgPTsZUcwCOs53IJvLgTp0eotwtosE6njug==", "bin": { "cborg": "cli.js" } @@ -20610,7 +20626,8 @@ }, "node_modules/dag-jose": { "version": "1.0.0", - "license": "(Apache-2.0 OR MIT)", + "resolved": "https://registry.npmjs.org/dag-jose/-/dag-jose-1.0.0.tgz", + "integrity": "sha512-U0b/YsIPBp6YZNTFrVjwLZAlY3qGRxZTIEcM/CcQmrVrCWq9MWQq9pheXVSPLIhF4SNwzp2SikPva4/BIrJY+g==", "dependencies": { "@ipld/dag-cbor": "^6.0.3", "multiformats": "^9.0.2" @@ -20618,7 +20635,8 @@ }, "node_modules/dag-jose/node_modules/@ipld/dag-cbor": { "version": "6.0.15", - "license": "(Apache-2.0 AND MIT)", + "resolved": "https://registry.npmjs.org/@ipld/dag-cbor/-/dag-cbor-6.0.15.tgz", + "integrity": "sha512-Vm3VTSTwlmGV92a3C5aeY+r2A18zbH2amehNhsX8PBa3muXICaWrN8Uri85A5hLH7D7ElhE8PdjxD6kNqUmTZA==", "dependencies": { "cborg": "^1.5.4", "multiformats": "^9.5.4" @@ -20641,7 +20659,8 @@ }, "node_modules/dashify": { "version": "2.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/dashify/-/dashify-2.0.0.tgz", + "integrity": "sha512-hpA5C/YrPjucXypHPPc0oJ1l9Hf6wWbiOL7Ik42cxnsUOhWiCB/fylKbKqqJalW9FgkNQCw16YO8uW9Hs0Iy1A==", "engines": { "node": ">=4" } @@ -26271,7 +26290,8 @@ }, "node_modules/interface-datastore": { "version": "6.1.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/interface-datastore/-/interface-datastore-6.1.1.tgz", + "integrity": "sha512-AmCS+9CT34pp2u0QQVXjKztkuq3y5T+BIciuiHDDtDZucZD8VudosnSdUyXJV6IsRkN5jc4RFDhCk1O6Q3Gxjg==", "dependencies": { "interface-store": "^2.0.2", "nanoid": "^3.0.2", @@ -26280,7 +26300,8 @@ }, "node_modules/interface-store": { "version": "2.0.2", - "license": "(Apache-2.0 OR MIT)" + "resolved": "https://registry.npmjs.org/interface-store/-/interface-store-2.0.2.tgz", + "integrity": "sha512-rScRlhDcz6k199EkHqT8NpM87ebN89ICOzILoBHgaG36/WX50N32BnU/kpZgCGPLhARRAWUUX5/cyaIjt7Kipg==" }, "node_modules/internal-slot": { "version": "1.0.7", @@ -26357,7 +26378,9 @@ }, "node_modules/ipfs-core-types": { "version": "0.10.3", - "license": "(Apache-2.0 OR MIT)", + "resolved": "https://registry.npmjs.org/ipfs-core-types/-/ipfs-core-types-0.10.3.tgz", + "integrity": "sha512-GNid2lRBjR5qgScCglgk7w9Hk3TZAwPHQXxOLQx72wgyc0jF2U5NXRoKW0GRvX8NPbHmsrFszForIqxd23I1Gw==", + "deprecated": "js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details", "dependencies": { "@ipld/dag-pb": "^2.1.3", "interface-datastore": "^6.0.2", @@ -26368,7 +26391,9 @@ }, "node_modules/ipfs-core-utils": { "version": "0.14.3", - "license": "MIT", + "resolved": "https://registry.npmjs.org/ipfs-core-utils/-/ipfs-core-utils-0.14.3.tgz", + "integrity": "sha512-aBkewVhgAj3NWXPwu6imj0wADGiGVZmJzqKzODOJsibDjkx6FGdMv8kvvqtLnK8LS/dvSk9yk32IDtuDyYoV7Q==", + "deprecated": "js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details", "dependencies": { "any-signal": "^3.0.0", "blob-to-it": "^1.0.1", @@ -26394,7 +26419,9 @@ }, "node_modules/ipfs-http-client": { "version": "56.0.3", - "license": "(Apache-2.0 OR MIT)", + "resolved": "https://registry.npmjs.org/ipfs-http-client/-/ipfs-http-client-56.0.3.tgz", + "integrity": "sha512-E3L5ylVl6BjyRUsNehvfuRBYp1hj8vQ8in4zskVPMNzXs6JiCFUbif5a6BtcAlSK4xPQyJCeLNNAWLUeFQTLNA==", + "deprecated": "js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details", "dependencies": { "@ipld/dag-cbor": "^7.0.0", "@ipld/dag-json": "^8.0.1", @@ -26422,7 +26449,8 @@ }, "node_modules/ipfs-unixfs": { "version": "6.0.9", - "license": "Apache-2.0 OR MIT", + "resolved": "https://registry.npmjs.org/ipfs-unixfs/-/ipfs-unixfs-6.0.9.tgz", + "integrity": "sha512-0DQ7p0/9dRB6XCb0mVCTli33GzIzSVx5udpJuVM47tGcD+W+Bl4LsnoLswd3ggNnNEakMv1FdoFITiEnchXDqQ==", "dependencies": { "err-code": "^3.0.1", "protobufjs": "^6.10.2" @@ -26434,7 +26462,8 @@ }, "node_modules/ipfs-utils": { "version": "9.0.14", - "license": "Apache-2.0 OR MIT", + "resolved": "https://registry.npmjs.org/ipfs-utils/-/ipfs-utils-9.0.14.tgz", + "integrity": "sha512-zIaiEGX18QATxgaS0/EOQNoo33W0islREABAcxXE8n7y2MGAlB+hdsxXn4J0hGZge8IqVQhW8sWIb+oJz2yEvg==", "dependencies": { "any-signal": "^3.0.0", "browser-readablestream-to-it": "^1.0.0", @@ -26460,7 +26489,8 @@ }, "node_modules/ipfs-utils/node_modules/node-fetch": { "version": "2.7.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -27476,11 +27506,13 @@ }, "node_modules/it-first": { "version": "1.0.7", - "license": "ISC" + "resolved": "https://registry.npmjs.org/it-first/-/it-first-1.0.7.tgz", + "integrity": "sha512-nvJKZoBpZD/6Rtde6FXqwDqDZGF1sCADmr2Zoc0hZsIvnE449gRFnGctxDf09Bzc/FWnHXAdaHVIetY6lrE0/g==" }, "node_modules/it-glob": { "version": "1.0.2", - "license": "ISC", + "resolved": "https://registry.npmjs.org/it-glob/-/it-glob-1.0.2.tgz", + "integrity": "sha512-Ch2Dzhw4URfB9L/0ZHyY+uqOnKvBNeS/SMcRiPmJfpHiM0TsUZn+GkpcZxAoF3dJVdPm/PuIk3A4wlV7SUo23Q==", "dependencies": { "@types/minimatch": "^3.0.4", "minimatch": "^3.0.4" @@ -27496,7 +27528,8 @@ }, "node_modules/it-peekable": { "version": "1.0.3", - "license": "ISC" + "resolved": "https://registry.npmjs.org/it-peekable/-/it-peekable-1.0.3.tgz", + "integrity": "sha512-5+8zemFS+wSfIkSZyf0Zh5kNN+iGyccN02914BY4w/Dj+uoFEoPSvj5vaWn8pNZJNSxzjW0zHRxC3LUb2KWJTQ==" }, "node_modules/it-reader": { "version": "2.1.0", @@ -31294,7 +31327,8 @@ }, "node_modules/long": { "version": "4.0.0", - "license": "Apache-2.0" + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" }, "node_modules/longest-streak": { "version": "3.0.1", @@ -31718,9 +31752,9 @@ } }, "node_modules/merkletreejs": { - "version": "0.3.11", - "resolved": "https://registry.npmjs.org/merkletreejs/-/merkletreejs-0.3.11.tgz", - "integrity": "sha512-LJKTl4iVNTndhL+3Uz/tfkjD0klIWsHlUzgtuNnNrsf7bAlXR30m+xYB7lHr5Z/l6e/yAIsr26Dabx6Buo4VGQ==", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/merkletreejs/-/merkletreejs-0.4.0.tgz", + "integrity": "sha512-a48Ta5kWiVNBgeEbZVMm6FB1hBlp6vEuou/XnZdlkmd2zq6NZR6Sh2j+kR1B0iOZIXrTMcigBYzZ39MLdYhm1g==", "dependencies": { "bignumber.js": "^9.0.1", "buffer-reverse": "^1.0.1", @@ -33873,7 +33907,9 @@ }, "node_modules/multiaddr": { "version": "10.0.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/multiaddr/-/multiaddr-10.0.1.tgz", + "integrity": "sha512-G5upNcGzEGuTHkzxezPrrD6CaIHR9uo+7MwqhNVcXTs33IInon4y7nMiGxl2CY5hG7chvYQUQhz5V52/Qe3cbg==", + "deprecated": "This module is deprecated, please upgrade to @multiformats/multiaddr", "dependencies": { "dns-over-http-resolver": "^1.2.3", "err-code": "^3.0.1", @@ -33885,7 +33921,9 @@ }, "node_modules/multiaddr-to-uri": { "version": "8.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/multiaddr-to-uri/-/multiaddr-to-uri-8.0.0.tgz", + "integrity": "sha512-dq4p/vsOOUdVEd1J1gl+R2GFrXJQH8yjLtz4hodqdVbieg39LvBOdMQRdQnfbg5LSM/q1BYNVf5CBbwZFFqBgA==", + "deprecated": "This module is deprecated, please upgrade to @multiformats/multiaddr-to-uri", "dependencies": { "multiaddr": "^10.0.0" } @@ -37027,9 +37065,9 @@ } }, "node_modules/opensea-js": { - "version": "7.1.9", - "resolved": "https://registry.npmjs.org/opensea-js/-/opensea-js-7.1.9.tgz", - "integrity": "sha512-Ku3PAZXqgkLaR/3/h+PSpC7IPPbdKn+hD0zNlOSlGjQ1i6epxCZzFGJ1nZKDsX9aMybZR5J2JcrcYzvGV7pc4g==", + "version": "7.1.12", + "resolved": "https://registry.npmjs.org/opensea-js/-/opensea-js-7.1.12.tgz", + "integrity": "sha512-2+0eat4JCzI3ckDJUA/e5ATbe4OnT2twAbug6JphLGvGwQa6HjWrs+sNQCPtWa639xPyqw0QKsdaHbV1CmDzmw==", "hasInstallScript": true, "dependencies": { "@opensea/seaport-js": "^4.0.0", @@ -37050,9 +37088,9 @@ "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" }, "node_modules/opensea-js/node_modules/ethers": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.0.tgz", - "integrity": "sha512-+yyQQQWEntY5UVbCv++guA14RRVFm1rSnO1GoLFdrK7/XRWMoktNgyG9UjwxrQqGBfGyFKknNZ81YpUS2emCgg==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.1.tgz", + "integrity": "sha512-hdJ2HOxg/xx97Lm9HdCWk949BfYqYWpyw4//78SiwOLgASyfrNszfMUNB2joKjvGUdwhHfaiMMFFwacVVoLR9A==", "funding": [ { "type": "individual", @@ -37070,7 +37108,7 @@ "@types/node": "18.15.13", "aes-js": "4.0.0-beta.5", "tslib": "2.4.0", - "ws": "8.5.0" + "ws": "8.17.1" }, "engines": { "node": ">=14.0.0" @@ -37082,15 +37120,15 @@ "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, "node_modules/opensea-js/node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { @@ -37344,7 +37382,8 @@ }, "node_modules/parse-duration": { "version": "1.1.0", - "license": "MIT" + "resolved": "https://registry.npmjs.org/parse-duration/-/parse-duration-1.1.0.tgz", + "integrity": "sha512-z6t9dvSJYaPoQq7quMzdEagSFtpGu+utzHqqxmpVWNNZRIXnvqyCvn9XsTdh7c/w0Bqmdz3RB3YnRaKtpRtEXQ==" }, "node_modules/parse-filepath": { "version": "1.0.2", @@ -38981,8 +39020,9 @@ }, "node_modules/protobufjs": { "version": "6.11.4", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.4.tgz", + "integrity": "sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw==", "hasInstallScript": true, - "license": "BSD-3-Clause", "dependencies": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", @@ -39784,7 +39824,8 @@ }, "node_modules/react-native-fetch-api": { "version": "3.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/react-native-fetch-api/-/react-native-fetch-api-3.0.0.tgz", + "integrity": "sha512-g2rtqPjdroaboDKTsJCTlcmtw54E25OjyaunUP0anOZn4Fuo2IKs8BVfe02zVggA/UysbmfSnRJIqtNkAgggNA==", "dependencies": { "p-defer": "^3.0.0" } @@ -41378,7 +41419,8 @@ }, "node_modules/retimer": { "version": "3.0.0", - "license": "MIT" + "resolved": "https://registry.npmjs.org/retimer/-/retimer-3.0.0.tgz", + "integrity": "sha512-WKE0j11Pa0ZJI5YIk0nflGI7SQsfl2ljihVy7ogh7DeQSeYAUi0ubZ/yEueGtDfUPk6GH5LRw1hBdLq4IwUBWA==" }, "node_modules/retry": { "version": "0.13.1", @@ -41765,7 +41807,8 @@ }, "node_modules/schema-to-yup": { "version": "1.12.18", - "license": "MIT", + "resolved": "https://registry.npmjs.org/schema-to-yup/-/schema-to-yup-1.12.18.tgz", + "integrity": "sha512-rzMtnIQpkokOzyb6JfsuCB+/BklFB5J7pFcvc/SnybOtmks8uW4SJXfMpzMQT98f826XgI3/mlPGQf0HBhF8FQ==", "dependencies": { "dashify": "^2.0.0", "uniq": "^1.0.1", @@ -41775,7 +41818,8 @@ }, "node_modules/schema-to-yup/node_modules/type-fest": { "version": "2.19.0", - "license": "(MIT OR CC0-1.0)", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", "engines": { "node": ">=12.20" }, @@ -41785,7 +41829,8 @@ }, "node_modules/schema-to-yup/node_modules/yup": { "version": "1.4.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/yup/-/yup-1.4.0.tgz", + "integrity": "sha512-wPbgkJRCqIf+OHyiTBQoJiP5PFuAXaWiJK6AmYkzQAh5/c2K9hzSApBZG5wV9KoKSePF7sAxmNSvh/13YHkFDg==", "dependencies": { "property-expr": "^2.0.5", "tiny-case": "^1.0.3", @@ -43459,14 +43504,16 @@ }, "node_modules/timeout-abort-controller": { "version": "3.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/timeout-abort-controller/-/timeout-abort-controller-3.0.0.tgz", + "integrity": "sha512-O3e+2B8BKrQxU2YRyEjC/2yFdb33slI22WRdUaDx6rvysfi9anloNZyR2q0l6LnePo5qH7gSM7uZtvvwZbc2yA==", "dependencies": { "retimer": "^3.0.0" } }, "node_modules/tiny-case": { "version": "1.0.3", - "license": "MIT" + "resolved": "https://registry.npmjs.org/tiny-case/-/tiny-case-1.0.3.tgz", + "integrity": "sha512-Eet/eeMhkO6TX8mnUteS9zgPbUMQa4I6Kkp5ORiBD5476/m+PIRiumP5tmh5ioJpH7k51Kehawy2UDfsnxxY8Q==" }, "node_modules/tiny-invariant": { "version": "1.3.1", @@ -44320,7 +44367,8 @@ }, "node_modules/uniq": { "version": "1.0.1", - "license": "MIT" + "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", + "integrity": "sha512-Gw+zz50YNKPDKXs+9d+aKAjVwpjNwqzvNpLigIruT4HA9lMZNdMqs9x07kKHB/L9WRzqp4+DlTU5s4wG2esdoA==" }, "node_modules/unique-string": { "version": "2.0.0", @@ -44621,7 +44669,8 @@ }, "node_modules/uppercamelcase": { "version": "3.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/uppercamelcase/-/uppercamelcase-3.0.0.tgz", + "integrity": "sha512-zTWmRiOJACCdFGWjzye3L5cjSuVdZ/c8C0iHIwVbfORFD8IhGNAO6BOWkZ+fj+SI6/aFbdjGXE6gwPG780H4gQ==", "dependencies": { "camelcase": "^4.1.0" }, @@ -44631,7 +44680,8 @@ }, "node_modules/uppercamelcase/node_modules/camelcase": { "version": "4.1.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha512-FxAv7HpHrXbh3aPo4o2qxHay2lkLY3x5Mw3KeE4KQE8ysVfziWeRZDwcjauvwBSGEC/nXUPzZy8zeh4HokqOnw==", "engines": { "node": ">=4" } diff --git a/package.json b/package.json index 1fca92c78..c081cbf50 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "dependencies": { "@apollo/client": "^3.8.1", "@bosonprotocol/chat-sdk": "^1.3.1-alpha.9", - "@bosonprotocol/react-kit": "^0.32.0", + "@bosonprotocol/react-kit": "^0.33.0-alpha.21", "@davatar/react": "^1.10.4", "@ethersproject/address": "^5.6.1", "@ethersproject/units": "^5.7.0", diff --git a/src/lib/utils/hooks/useIpfsStorage.ts b/src/lib/utils/hooks/useIpfsStorage.ts index 027124969..0d41c274b 100644 --- a/src/lib/utils/hooks/useIpfsStorage.ts +++ b/src/lib/utils/hooks/useIpfsStorage.ts @@ -1,4 +1,4 @@ -import { hooks } from "@bosonprotocol/react-kit"; +import { hooks, validateMetadata } from "@bosonprotocol/react-kit"; import { useConfigContext } from "components/config/ConfigContext"; import { CONFIG } from "lib/config"; @@ -7,6 +7,7 @@ export function useIpfsStorage() { const storage = hooks.useIpfsMetadataStorage( config.envName, config.envConfig.configId, + validateMetadata, config.ipfsMetadataStorageUrl, CONFIG.ipfsMetadataStorageHeaders );