diff --git a/packages/sado-connect/package.json b/packages/sado-connect/package.json index 10f1e4fe..885626d6 100644 --- a/packages/sado-connect/package.json +++ b/packages/sado-connect/package.json @@ -31,9 +31,12 @@ "preview": "vite preview" }, "peerDependencies": { - "@sadoprotocol/ordit-sdk": "^0.0.13", + "@sadoprotocol/ordit-sdk": "^0.0.14", "react": "^17.0.0", - "react-dom": "^17.0.0" + "react-dom": "^17.0.0", + "utf-8-validate": "^5.0.2", + "bufferutil": "^4.0.1", + "encoding": "^0.1.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.2", @@ -49,6 +52,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.0.2", + "utf-8-validate": "^6.0.3", "vite": "^4.3.9", "vite-plugin-css-injected-by-js": "^3.1.2", "vite-plugin-dts": "^2.3.0" @@ -57,8 +61,11 @@ "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", "@headlessui/react": "^1.7.15", - "@sadoprotocol/ordit-sdk": "^0.0.13", + "@sadoprotocol/ordit-sdk": "^0.0.14", "bitcoinjs-lib": "^6.1.3", - "boring-avatars": "^1.10.1" + "boring-avatars": "^1.10.1", + "utf-8-validate": "^5.0.2", + "bufferutil": "^4.0.1", + "encoding": "^0.1.0" } -} +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b744e195..c8066d1e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,14 +30,23 @@ importers: specifier: ^1.7.15 version: 1.7.15(react-dom@18.2.0)(react@18.2.0) '@sadoprotocol/ordit-sdk': - specifier: ^0.0.13 - version: 0.0.13 + specifier: ^0.0.14 + version: 0.0.14(bufferutil@4.0.1)(encoding@0.1.1)(utf-8-validate@5.0.2) bitcoinjs-lib: specifier: ^6.1.3 version: 6.1.3 boring-avatars: specifier: ^1.10.1 version: 1.10.1 + bufferutil: + specifier: ^4.0.1 + version: 4.0.1 + encoding: + specifier: ^0.1.0 + version: 0.1.1 + utf-8-validate: + specifier: ^5.0.2 + version: 5.0.2 devDependencies: '@rollup/plugin-commonjs': specifier: ^25.0.2 @@ -537,17 +546,17 @@ packages: string-argv: 0.3.2 dev: true - /@sadoprotocol/ordit-sdk@0.0.13: - resolution: {integrity: sha512-q5FSlDoHAGYz396xumWvkrd4nqWD2gFjNGSQf524W+8HccHNLyRWy3Mg4sN+2sMaJQYUvcoUFjBzjeevGIUoCA==} + /@sadoprotocol/ordit-sdk@0.0.14(bufferutil@4.0.1)(encoding@0.1.1)(utf-8-validate@5.0.2): + resolution: {integrity: sha512-hrYutQ2FrktZwuO0NtPnBk2iIAZXOf43185mGtgoPlfgfXXVEd3wQ8Ms5SEVsP5RS0KygRMt7KQ0AZh+TNwOxw==} dependencies: '@bitcoinerlab/secp256k1': 1.0.2 bip32: 4.0.0 bip39: 3.1.0 bitcoinjs-lib: 6.1.3 bitcoinjs-message: 2.2.0 - cross-fetch: 3.1.6 + cross-fetch: 3.1.6(encoding@0.1.1) ecpair: 2.1.0 - ethers: 6.6.1 + ethers: 6.6.1(bufferutil@4.0.1)(utf-8-validate@5.0.2) sats-connect: 0.2.0 transitivePeerDependencies: - bufferutil @@ -1088,6 +1097,13 @@ packages: resolution: {integrity: sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==} dev: false + /bufferutil@4.0.1: + resolution: {integrity: sha512-xowrxvpxojqkagPcWRQVXZl0YXhRhAtBEIq3VoER1NH5Mw1n1o0ojdspp+GS2J//2gCVyrzQDApQ4unGF+QOoA==} + requiresBuild: true + dependencies: + node-gyp-build: 3.7.0 + dev: false + /call-bind@1.0.2: resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} dependencies: @@ -1175,10 +1191,10 @@ packages: sha.js: 2.4.11 dev: false - /cross-fetch@3.1.6: + /cross-fetch@3.1.6(encoding@0.1.1): resolution: {integrity: sha512-riRvo06crlE8HiqOwIpQhxwdOk4fOeR7FVM/wXoxchFEqMNUjvbs3bfo4OTgMEMHzppd4DxFBDbyySj8Cv781g==} dependencies: - node-fetch: 2.6.12 + node-fetch: 2.6.12(encoding@0.1.1) transitivePeerDependencies: - encoding dev: false @@ -1256,6 +1272,14 @@ packages: minimalistic-crypto-utils: 1.0.1 dev: false + /encoding@0.1.1: + resolution: {integrity: sha512-qDBp7J0yvti519twBf5YT6XMufxg+5HiHq8mVkY3NB5K8fkzF6IeEDOJMe16NO4DZuQM8FGJJQtOBMKO1Xcpig==} + dependencies: + iconv-lite: 0.6.3 + optionalDependencies: + iconv: 3.0.1 + dev: false + /esbuild@0.17.19: resolution: {integrity: sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==} engines: {node: '>=12'} @@ -1422,7 +1446,7 @@ packages: engines: {node: '>=0.10.0'} dev: true - /ethers@6.6.1: + /ethers@6.6.1(bufferutil@4.0.1)(utf-8-validate@5.0.2): resolution: {integrity: sha512-bjNPf/EU4l1jQlAslOmOlyHqjOnM0W7LRPuSf0Kt0tYV4RpUEZsdGWDhvFXfogIhfzXJ/v2tPz4HqXwBt5T8mA==} engines: {node: '>=14.0.0'} dependencies: @@ -1432,7 +1456,7 @@ packages: '@types/node': 18.15.13 aes-js: 4.0.0-beta.5 tslib: 2.4.0 - ws: 8.5.0 + ws: 8.5.0(bufferutil@4.0.1)(utf-8-validate@5.0.2) transitivePeerDependencies: - bufferutil - utf-8-validate @@ -1687,6 +1711,20 @@ packages: hasBin: true dev: true + /iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} + dependencies: + safer-buffer: 2.1.2 + dev: false + + /iconv@3.0.1: + resolution: {integrity: sha512-lJnFLxVc0d82R7GfU7a9RujKVUQ3Eee19tPKWZWBJtAEGRHVEyFzCtbNl3GPKuDnHBBRT4/nDS4Ru9AIDT72qA==} + engines: {node: '>=10.0.0'} + requiresBuild: true + dev: false + optional: true + /ignore@5.2.4: resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} engines: {node: '>= 4'} @@ -1982,7 +2020,7 @@ packages: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} dev: true - /node-fetch@2.6.12: + /node-fetch@2.6.12(encoding@0.1.1): resolution: {integrity: sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==} engines: {node: 4.x || >=6.0.0} peerDependencies: @@ -1991,9 +2029,15 @@ packages: encoding: optional: true dependencies: + encoding: 0.1.1 whatwg-url: 5.0.0 dev: false + /node-gyp-build@3.7.0: + resolution: {integrity: sha512-L/Eg02Epx6Si2NXmedx+Okg+4UHqmaf3TNcxd50SF9NQGcJaON3AtU++kax69XV7YWz4tUspqZSAsVofhFKG2w==} + hasBin: true + dev: false + /once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} dependencies: @@ -2213,6 +2257,10 @@ packages: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} dev: false + /safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + dev: false + /sats-connect@0.2.0: resolution: {integrity: sha512-PEeqgPmAASPwGnBRmKYAmOey2HRbzW733EOVia067MoDAoai+/Buzx1NzaJ5FXZzpzHbG2YFQDp+43vkFWTQxw==} dependencies: @@ -2486,6 +2534,13 @@ packages: punycode: 2.3.0 dev: true + /utf-8-validate@5.0.2: + resolution: {integrity: sha512-SwV++i2gTD5qh2XqaPzBnNX88N6HdyhQrNNRykvcS0QKvItV9u3vPEJr+X5Hhfb1JC0r0e1alL0iB09rY8+nmw==} + requiresBuild: true + dependencies: + node-gyp-build: 3.7.0 + dev: false + /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: false @@ -2621,7 +2676,7 @@ packages: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} dev: true - /ws@8.5.0: + /ws@8.5.0(bufferutil@4.0.1)(utf-8-validate@5.0.2): resolution: {integrity: sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==} engines: {node: '>=10.0.0'} peerDependencies: @@ -2632,6 +2687,9 @@ packages: optional: true utf-8-validate: optional: true + dependencies: + bufferutil: 4.0.1 + utf-8-validate: 5.0.2 dev: false /yallist@4.0.0: