diff --git a/functions/package-lock.json b/functions/package-lock.json index 500b43a3f..68154d088 100644 --- a/functions/package-lock.json +++ b/functions/package-lock.json @@ -10,10 +10,9 @@ "@google-cloud/firestore": "^6.2.0", "@google-cloud/pubsub": "^3.2.1", "@likecoin/edm": "^8.2.0-beta.1", - "@likecoin/iscn-js": "^0.6.9", - "@likecoin/nuxt-google-optimize": "^0.5.3-like.11", + "@likecoin/iscn-js": "^0.7.0", "@likecoin/ui-vue": "^0.7.1", - "@likecoin/wallet-connector": "^0.26.7", + "@likecoin/wallet-connector": "^0.27.1", "@nuxt/postcss8": "^1.1.3", "@nuxt/typescript-build": "^2.1.0", "@nuxtjs/axios": "^5.12.2", @@ -1971,6 +1970,14 @@ "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.30.1.tgz", "integrity": "sha512-KvvX58MGMWh7xA+N+deCfunkA/ZNDvFLw4YbOmX3f/XBIkqrVY7qlotfy2aNb1kgp6h4B6Yc8YawJPDTfvWX7g==" }, + "node_modules/@cto.af/textdecoder": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/@cto.af/textdecoder/-/textdecoder-0.0.0.tgz", + "integrity": "sha512-sJpx3F5xcVV/9jNYJQtvimo4Vfld/nD3ph+ZWtQzZ03Zo8rJC7QKQTRcIGS13Rcz80DwFNthCWMrd58vpY4ZAQ==", + "engines": { + "node": ">=4.9.1" + } + }, "node_modules/@eslint/eslintrc": { "version": "0.4.3", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz", @@ -2884,15 +2891,14 @@ } }, "node_modules/@likecoin/iscn-js": { - "version": "0.6.9", - "resolved": "https://registry.npmjs.org/@likecoin/iscn-js/-/iscn-js-0.6.9.tgz", - "integrity": "sha512-nR96gkY5KpYU/dVml0HpOwT3WpYylB+yy9PfvAJ+r2IMvZnLcR/9xHxh6VKlDMwgRVCoAa9vwtjcdbXbHdtVSw==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@likecoin/iscn-js/-/iscn-js-0.7.0.tgz", + "integrity": "sha512-EtVMzEoCzPCWJCBifvr4oGPCMhin5ghBytAfnaAil3TZ7tAxcA1WdDKlY247FwGck45SkG8G/qXBkKVP5CmCIA==", "dependencies": { - "@likecoin/iscn-message-types": "0.0.7", - "axios": "^0.27.2", + "@likecoin/iscn-message-types": "0.0.8", + "axios": "^1.6.0", "bech32": "^2.0.0", "bignumber.js": "^9.0.1", - "buffer": "^6.0.3", "fast-json-stable-stringify": "^2.1.0" }, "engines": { @@ -2903,27 +2909,15 @@ "cosmjs-types": "^0.8.0" } }, - "node_modules/@likecoin/iscn-js/node_modules/axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", - "dependencies": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" - } - }, "node_modules/@likecoin/iscn-js/node_modules/bech32": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz", "integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg==" }, "node_modules/@likecoin/iscn-message-types": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/@likecoin/iscn-message-types/-/iscn-message-types-0.0.7.tgz", - "integrity": "sha512-xcYcFvvH2NXlalRwxRG/jrwbXWOPHQy1sVZRztuGcdFyssDTdF8YfAxN0wdMVhIuijdVzN7jSnOWRPX5Uch2qg==", - "dependencies": { - "buffer": "^6.0.3" - }, + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/@likecoin/iscn-message-types/-/iscn-message-types-0.0.8.tgz", + "integrity": "sha512-4LMmzyb2EjYjb+zwPBCSTpkkh94ZDrZmZ92txbhYp/zOt0utBiMD6l1Q3hc8ygxwZCWV/3QUG6nnGbSP2ah15w==", "engines": { "node": ">=16" } @@ -2938,54 +2932,10 @@ "tweetnacl": "^1.0.1" } }, - "node_modules/@likecoin/nuxt-google-optimize": { - "version": "0.5.3-like.11", - "resolved": "https://registry.npmjs.org/@likecoin/nuxt-google-optimize/-/nuxt-google-optimize-0.5.3-like.11.tgz", - "integrity": "sha512-LeFCaPfZt/4vcdz/BOU1U4+rqGvBvK0PUK31pp4LcOcJKVtNg02/Qbwhlm0IQrTfL7Rwml4idGoZJkRqxy/7Iw==", - "dependencies": { - "axios": "^0.18.0", - "cookie": "^0.3.1", - "weighted-random": "^0.1.0" - } - }, - "node_modules/@likecoin/nuxt-google-optimize/node_modules/axios": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.1.tgz", - "integrity": "sha512-0BfJq4NSfQXd+SkFdrvFbG7addhYSBA2mQwISr46pD6E5iqkWg02RAs8vyTT/j0RTnoYmeXauBuSv1qKwR179g==", - "deprecated": "Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410", - "dependencies": { - "follow-redirects": "1.5.10", - "is-buffer": "^2.0.2" - } - }, - "node_modules/@likecoin/nuxt-google-optimize/node_modules/debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/@likecoin/nuxt-google-optimize/node_modules/follow-redirects": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", - "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==", - "dependencies": { - "debug": "=3.1.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/@likecoin/nuxt-google-optimize/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" - }, "node_modules/@likecoin/secretd-js": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/@likecoin/secretd-js/-/secretd-js-0.4.4.tgz", - "integrity": "sha512-ntuMOdsT64GF30Ti26IlRz/jjv8uouyz4m2QzprpfYab4TewnsKFcEzFIuJha13Y2NFFnc6Cv4juKI53D4/WHg==", + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/@likecoin/secretd-js/-/secretd-js-0.4.5.tgz", + "integrity": "sha512-UbwvbUzOXk9WWgEnJ0pgiit1F2Pir030Kkq1KLWOvQ2IYRf5EFuTuDbOQesObWJtCvC15xHtE9XdM6bEfVjQ5w==", "dependencies": { "@babel/runtime-corejs3": "^7.9.2", "@likecoin/noise-js": "^0.1.0", @@ -2993,7 +2943,7 @@ "axios": "^0.19.0", "bech32": "^1.1.3", "bignumber.js": "^9.0.0", - "cbor": "^5.0.1", + "cbor": "^7.0.0", "fast-json-stable-stringify": "^2.0.0", "lodash": "^4.17.15" } @@ -3043,15 +2993,15 @@ } }, "node_modules/@likecoin/wallet-connector": { - "version": "0.26.7", - "resolved": "https://registry.npmjs.org/@likecoin/wallet-connector/-/wallet-connector-0.26.7.tgz", - "integrity": "sha512-1jD/it3IWDSzGUN8ycTTtNLtvauRrHfHlL43caZip/hKPsTzJfOn9TXmbghQB1r4OVdbJEj7Lekl0WankZHeRg==", + "version": "0.27.1", + "resolved": "https://registry.npmjs.org/@likecoin/wallet-connector/-/wallet-connector-0.27.1.tgz", + "integrity": "sha512-dqDBhlhWmp2ExLHYjlteeBoz/LMjw/75lnTl2U4cdgZyuitLfwrZTYXby51hCb+x4kdgCpcfToxqdbrIrGBOuw==", "dependencies": { - "@cosmjs/proto-signing": "^0.28.13", + "@cosmjs/proto-signing": "^0.30.1", "@headlessui/react": "1.7.11", "@leapwallet/cosmos-snap-provider": "^0.1.24", "@likecoin/authcore-js": "0.3.0-like.1", - "@likecoin/secretd-js": "^0.4.4", + "@likecoin/secretd-js": "^0.4.5", "@walletconnect/browser-utils": "^1.8.0", "@walletconnect/modal": "^2.4.5", "@walletconnect/sign-client": "^2.8.0", @@ -3059,6 +3009,7 @@ "classnames": "^2.3.1", "cosmjs-types": "^0.5.1", "jwt-decode": "^4.0.0", + "node-inspect-extracted": "^3.0.2", "qrcode.react": "^3.1.0", "react-intl": "^6.2.5" }, @@ -3069,77 +3020,6 @@ "react": ">=16" } }, - "node_modules/@likecoin/wallet-connector/node_modules/@cosmjs/amino": { - "version": "0.28.13", - "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.28.13.tgz", - "integrity": "sha512-IHnH2zGwaY69qT4mVAavr/pfzx6YE+ud1NHJbvVePlbGiz68CXTi5LHR+K0lrKB5mQ7E+ZErWz2mw5U/x+V1wQ==", - "dependencies": { - "@cosmjs/crypto": "0.28.13", - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/utils": "0.28.13" - } - }, - "node_modules/@likecoin/wallet-connector/node_modules/@cosmjs/crypto": { - "version": "0.28.13", - "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.28.13.tgz", - "integrity": "sha512-ynKfM0q/tMBQMHJby6ad8lR3gkgBKaelQhIsCZTjClsnuC7oYT9y3ThSZCUWr7Pa9h0J8ahU2YV2oFWFVWJQzQ==", - "dependencies": { - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/utils": "0.28.13", - "@noble/hashes": "^1", - "bn.js": "^5.2.0", - "elliptic": "^6.5.3", - "libsodium-wrappers": "^0.7.6" - } - }, - "node_modules/@likecoin/wallet-connector/node_modules/@cosmjs/encoding": { - "version": "0.28.13", - "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.28.13.tgz", - "integrity": "sha512-jtXbAYtV77rLHxoIrjGFsvgGjeTKttuHRv6cvuy3toCZzY7JzTclKH5O2g36IIE4lXwD9xwuhGJ2aa6A3dhNkA==", - "dependencies": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "node_modules/@likecoin/wallet-connector/node_modules/@cosmjs/math": { - "version": "0.28.13", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.28.13.tgz", - "integrity": "sha512-PDpL8W/kbyeWi0mQ2OruyqE8ZUAdxPs1xCbDX3WXJwy2oU+X2UTbkuweJHVpS9CIqmZulBoWQAmlf6t6zr1N/g==", - "dependencies": { - "bn.js": "^5.2.0" - } - }, - "node_modules/@likecoin/wallet-connector/node_modules/@cosmjs/proto-signing": { - "version": "0.28.13", - "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.28.13.tgz", - "integrity": "sha512-nSl/2ZLsUJYz3Ad0RY3ihZUgRHIow2OnYqKsESMu+3RA/jTi9bDYhiBu8mNMHI0xrEJry918B2CyI56pOUHdPQ==", - "dependencies": { - "@cosmjs/amino": "0.28.13", - "@cosmjs/crypto": "0.28.13", - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/utils": "0.28.13", - "cosmjs-types": "^0.4.0", - "long": "^4.0.0" - } - }, - "node_modules/@likecoin/wallet-connector/node_modules/@cosmjs/proto-signing/node_modules/cosmjs-types": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.4.1.tgz", - "integrity": "sha512-I7E/cHkIgoJzMNQdFF0YVqPlaTqrqKHrskuSTIqlEyxfB5Lf3WKCajSXVK2yHOfOFfSux/RxEdpMzw/eO4DIog==", - "dependencies": { - "long": "^4.0.0", - "protobufjs": "~6.11.2" - } - }, - "node_modules/@likecoin/wallet-connector/node_modules/@cosmjs/utils": { - "version": "0.28.13", - "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.28.13.tgz", - "integrity": "sha512-dVeMBiyg+46x7XBZEfJK8yTihphbCFpjVYmLJVqmTsHfJwymQ65cpyW/C+V/LgWARGK8hWQ/aX9HM5Ao8QmMSg==" - }, "node_modules/@likecoin/wallet-connector/node_modules/@formatjs/ecma402-abstract": { "version": "1.17.0", "resolved": "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-1.17.0.tgz", @@ -7746,6 +7626,8 @@ "url": "https://feross.org/support" } ], + "optional": true, + "peer": true, "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.2.1" @@ -8020,15 +7902,23 @@ } }, "node_modules/cbor": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/cbor/-/cbor-5.2.0.tgz", - "integrity": "sha512-5IMhi9e1QU76ppa5/ajP1BmMWZ2FHkhAhjeVKQ/EFCgYSEaeVaoGtL7cxJskf9oCCk+XjzaIdc3IuU/dbA/o2A==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cbor/-/cbor-7.0.6.tgz", + "integrity": "sha512-rgt2RFogHGDLFU5r0kSfyeBc+de55DwYHP73KxKsQxsR5b0CYuQPH6AnJaXByiohpLdjQqj/K0SFcOV+dXdhSA==", "dependencies": { - "bignumber.js": "^9.0.1", - "nofilter": "^1.0.4" + "@cto.af/textdecoder": "^0.0.0", + "nofilter": "^2.0.3" }, "engines": { - "node": ">=6.0.0" + "node": ">=10.18.0" + }, + "peerDependencies": { + "bignumber.js": "^9.0.1" + }, + "peerDependenciesMeta": { + "bignumber.js": { + "optional": true + } } }, "node_modules/chalk": { @@ -13335,28 +13225,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-buffer": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "engines": { - "node": ">=4" - } - }, "node_modules/is-callable": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", @@ -16711,6 +16579,14 @@ "node": ">= 8" } }, + "node_modules/node-inspect-extracted": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/node-inspect-extracted/-/node-inspect-extracted-3.0.2.tgz", + "integrity": "sha512-lOBe4RMfICoYRKZaCXLVoBt6t8wM93QLEIp2WuvPJ5yDTEzrp+LhquGp4RV283Vd5RJ+vUvBmRrGtRu2HCgWHw==", + "engines": { + "node": ">=18" + } + }, "node_modules/node-libs-browser": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz", @@ -16893,11 +16769,14 @@ } }, "node_modules/nofilter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-1.0.4.tgz", - "integrity": "sha512-N8lidFp+fCz+TD51+haYdbDGrcBWwuHX40F5+z0qkUjMJ5Tp+rdSuAkMJ9N9eoolDlEVTf6u5icM+cNKkKW2mA==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-2.0.3.tgz", + "integrity": "sha512-FbuXC+lK+GU2+63D1kC1ETiZo+Z7SIi7B+mxKTCH1byrh6WFvfBCN/wpherFz0a0bjGd7EKTst/cz0yLeNngug==", + "dependencies": { + "@cto.af/textdecoder": "^0.0.0" + }, "engines": { - "node": ">=8" + "node": ">=10.18" } }, "node_modules/nopt": { @@ -23453,11 +23332,6 @@ "node": ">=0.8.0" } }, - "node_modules/weighted-random": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/weighted-random/-/weighted-random-0.1.0.tgz", - "integrity": "sha512-2E0atAWvogx5mXjWXLHz9u9d+hbNrGG6duZhJBdgomex4NjiBNhLvh6BRMfn6OtwwajcmxHNNtoLJMhFF8E0Rw==" - }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", diff --git a/functions/package.json b/functions/package.json index 112293fce..932f5cc41 100644 --- a/functions/package.json +++ b/functions/package.json @@ -17,10 +17,9 @@ "@google-cloud/firestore": "^6.2.0", "@google-cloud/pubsub": "^3.2.1", "@likecoin/edm": "^8.2.0-beta.1", - "@likecoin/iscn-js": "^0.6.9", - "@likecoin/nuxt-google-optimize": "^0.5.3-like.11", + "@likecoin/iscn-js": "^0.7.0", "@likecoin/ui-vue": "^0.7.1", - "@likecoin/wallet-connector": "^0.26.7", + "@likecoin/wallet-connector": "^0.27.1", "@nuxt/postcss8": "^1.1.3", "@nuxt/typescript-build": "^2.1.0", "@nuxtjs/axios": "^5.12.2", diff --git a/src/package-lock.json b/src/package-lock.json index cd3038469..b874b457a 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -11,10 +11,9 @@ "@cosmjs/stargate": "^0.30.1", "@google-cloud/pubsub": "^3.2.1", "@likecoin/edm": "^8.2.0-beta.1", - "@likecoin/iscn-js": "^0.6.9", - "@likecoin/nuxt-google-optimize": "^0.5.3-like.11", + "@likecoin/iscn-js": "^0.7.0", "@likecoin/ui-vue": "^0.7.1", - "@likecoin/wallet-connector": "^0.26.7", + "@likecoin/wallet-connector": "^0.27.1", "@nuxtjs/axios": "^5.12.2", "@nuxtjs/i18n": "^7.3.1", "@nuxtjs/sentry": "^8.0.7", @@ -3640,6 +3639,14 @@ "postcss-selector-parser": "^6.0.13" } }, + "node_modules/@cto.af/textdecoder": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/@cto.af/textdecoder/-/textdecoder-0.0.0.tgz", + "integrity": "sha512-sJpx3F5xcVV/9jNYJQtvimo4Vfld/nD3ph+ZWtQzZ03Zo8rJC7QKQTRcIGS13Rcz80DwFNthCWMrd58vpY4ZAQ==", + "engines": { + "node": ">=4.9.1" + } + }, "node_modules/@discoveryjs/json-ext": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", @@ -5593,15 +5600,14 @@ } }, "node_modules/@likecoin/iscn-js": { - "version": "0.6.9", - "resolved": "https://registry.npmjs.org/@likecoin/iscn-js/-/iscn-js-0.6.9.tgz", - "integrity": "sha512-nR96gkY5KpYU/dVml0HpOwT3WpYylB+yy9PfvAJ+r2IMvZnLcR/9xHxh6VKlDMwgRVCoAa9vwtjcdbXbHdtVSw==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@likecoin/iscn-js/-/iscn-js-0.7.0.tgz", + "integrity": "sha512-EtVMzEoCzPCWJCBifvr4oGPCMhin5ghBytAfnaAil3TZ7tAxcA1WdDKlY247FwGck45SkG8G/qXBkKVP5CmCIA==", "dependencies": { - "@likecoin/iscn-message-types": "0.0.7", - "axios": "^0.27.2", + "@likecoin/iscn-message-types": "0.0.8", + "axios": "^1.6.0", "bech32": "^2.0.0", "bignumber.js": "^9.0.1", - "buffer": "^6.0.3", "fast-json-stable-stringify": "^2.1.0" }, "engines": { @@ -5612,59 +5618,15 @@ "cosmjs-types": "^0.8.0" } }, - "node_modules/@likecoin/iscn-js/node_modules/axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", - "dependencies": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" - } - }, "node_modules/@likecoin/iscn-js/node_modules/bech32": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/bech32/-/bech32-2.0.0.tgz", "integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg==" }, - "node_modules/@likecoin/iscn-js/node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/@likecoin/iscn-js/node_modules/form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/@likecoin/iscn-message-types": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/@likecoin/iscn-message-types/-/iscn-message-types-0.0.7.tgz", - "integrity": "sha512-xcYcFvvH2NXlalRwxRG/jrwbXWOPHQy1sVZRztuGcdFyssDTdF8YfAxN0wdMVhIuijdVzN7jSnOWRPX5Uch2qg==", - "dependencies": { - "buffer": "^6.0.3" - }, + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/@likecoin/iscn-message-types/-/iscn-message-types-0.0.8.tgz", + "integrity": "sha512-4LMmzyb2EjYjb+zwPBCSTpkkh94ZDrZmZ92txbhYp/zOt0utBiMD6l1Q3hc8ygxwZCWV/3QUG6nnGbSP2ah15w==", "engines": { "node": ">=16" } @@ -5684,30 +5646,10 @@ "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" }, - "node_modules/@likecoin/nuxt-google-optimize": { - "version": "0.5.3-like.11", - "resolved": "https://registry.npmjs.org/@likecoin/nuxt-google-optimize/-/nuxt-google-optimize-0.5.3-like.11.tgz", - "integrity": "sha512-LeFCaPfZt/4vcdz/BOU1U4+rqGvBvK0PUK31pp4LcOcJKVtNg02/Qbwhlm0IQrTfL7Rwml4idGoZJkRqxy/7Iw==", - "dependencies": { - "axios": "^0.18.0", - "cookie": "^0.3.1", - "weighted-random": "^0.1.0" - } - }, - "node_modules/@likecoin/nuxt-google-optimize/node_modules/axios": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.1.tgz", - "integrity": "sha512-0BfJq4NSfQXd+SkFdrvFbG7addhYSBA2mQwISr46pD6E5iqkWg02RAs8vyTT/j0RTnoYmeXauBuSv1qKwR179g==", - "deprecated": "Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410", - "dependencies": { - "follow-redirects": "1.5.10", - "is-buffer": "^2.0.2" - } - }, "node_modules/@likecoin/secretd-js": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/@likecoin/secretd-js/-/secretd-js-0.4.4.tgz", - "integrity": "sha512-ntuMOdsT64GF30Ti26IlRz/jjv8uouyz4m2QzprpfYab4TewnsKFcEzFIuJha13Y2NFFnc6Cv4juKI53D4/WHg==", + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/@likecoin/secretd-js/-/secretd-js-0.4.5.tgz", + "integrity": "sha512-UbwvbUzOXk9WWgEnJ0pgiit1F2Pir030Kkq1KLWOvQ2IYRf5EFuTuDbOQesObWJtCvC15xHtE9XdM6bEfVjQ5w==", "dependencies": { "@babel/runtime-corejs3": "^7.9.2", "@likecoin/noise-js": "^0.1.0", @@ -5715,7 +5657,7 @@ "axios": "^0.19.0", "bech32": "^1.1.3", "bignumber.js": "^9.0.0", - "cbor": "^5.0.1", + "cbor": "^7.0.0", "fast-json-stable-stringify": "^2.0.0", "lodash": "^4.17.15" } @@ -5741,15 +5683,15 @@ } }, "node_modules/@likecoin/wallet-connector": { - "version": "0.26.7", - "resolved": "https://registry.npmjs.org/@likecoin/wallet-connector/-/wallet-connector-0.26.7.tgz", - "integrity": "sha512-1jD/it3IWDSzGUN8ycTTtNLtvauRrHfHlL43caZip/hKPsTzJfOn9TXmbghQB1r4OVdbJEj7Lekl0WankZHeRg==", + "version": "0.27.1", + "resolved": "https://registry.npmjs.org/@likecoin/wallet-connector/-/wallet-connector-0.27.1.tgz", + "integrity": "sha512-dqDBhlhWmp2ExLHYjlteeBoz/LMjw/75lnTl2U4cdgZyuitLfwrZTYXby51hCb+x4kdgCpcfToxqdbrIrGBOuw==", "dependencies": { - "@cosmjs/proto-signing": "^0.28.13", + "@cosmjs/proto-signing": "^0.30.1", "@headlessui/react": "1.7.11", "@leapwallet/cosmos-snap-provider": "^0.1.24", "@likecoin/authcore-js": "0.3.0-like.1", - "@likecoin/secretd-js": "^0.4.4", + "@likecoin/secretd-js": "^0.4.5", "@walletconnect/browser-utils": "^1.8.0", "@walletconnect/modal": "^2.4.5", "@walletconnect/sign-client": "^2.8.0", @@ -5757,6 +5699,7 @@ "classnames": "^2.3.1", "cosmjs-types": "^0.5.1", "jwt-decode": "^4.0.0", + "node-inspect-extracted": "^3.0.2", "qrcode.react": "^3.1.0", "react-intl": "^6.2.5" }, @@ -5767,77 +5710,6 @@ "react": ">=16" } }, - "node_modules/@likecoin/wallet-connector/node_modules/@cosmjs/amino": { - "version": "0.28.13", - "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.28.13.tgz", - "integrity": "sha512-IHnH2zGwaY69qT4mVAavr/pfzx6YE+ud1NHJbvVePlbGiz68CXTi5LHR+K0lrKB5mQ7E+ZErWz2mw5U/x+V1wQ==", - "dependencies": { - "@cosmjs/crypto": "0.28.13", - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/utils": "0.28.13" - } - }, - "node_modules/@likecoin/wallet-connector/node_modules/@cosmjs/crypto": { - "version": "0.28.13", - "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.28.13.tgz", - "integrity": "sha512-ynKfM0q/tMBQMHJby6ad8lR3gkgBKaelQhIsCZTjClsnuC7oYT9y3ThSZCUWr7Pa9h0J8ahU2YV2oFWFVWJQzQ==", - "dependencies": { - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/utils": "0.28.13", - "@noble/hashes": "^1", - "bn.js": "^5.2.0", - "elliptic": "^6.5.3", - "libsodium-wrappers": "^0.7.6" - } - }, - "node_modules/@likecoin/wallet-connector/node_modules/@cosmjs/encoding": { - "version": "0.28.13", - "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.28.13.tgz", - "integrity": "sha512-jtXbAYtV77rLHxoIrjGFsvgGjeTKttuHRv6cvuy3toCZzY7JzTclKH5O2g36IIE4lXwD9xwuhGJ2aa6A3dhNkA==", - "dependencies": { - "base64-js": "^1.3.0", - "bech32": "^1.1.4", - "readonly-date": "^1.0.0" - } - }, - "node_modules/@likecoin/wallet-connector/node_modules/@cosmjs/math": { - "version": "0.28.13", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.28.13.tgz", - "integrity": "sha512-PDpL8W/kbyeWi0mQ2OruyqE8ZUAdxPs1xCbDX3WXJwy2oU+X2UTbkuweJHVpS9CIqmZulBoWQAmlf6t6zr1N/g==", - "dependencies": { - "bn.js": "^5.2.0" - } - }, - "node_modules/@likecoin/wallet-connector/node_modules/@cosmjs/proto-signing": { - "version": "0.28.13", - "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.28.13.tgz", - "integrity": "sha512-nSl/2ZLsUJYz3Ad0RY3ihZUgRHIow2OnYqKsESMu+3RA/jTi9bDYhiBu8mNMHI0xrEJry918B2CyI56pOUHdPQ==", - "dependencies": { - "@cosmjs/amino": "0.28.13", - "@cosmjs/crypto": "0.28.13", - "@cosmjs/encoding": "0.28.13", - "@cosmjs/math": "0.28.13", - "@cosmjs/utils": "0.28.13", - "cosmjs-types": "^0.4.0", - "long": "^4.0.0" - } - }, - "node_modules/@likecoin/wallet-connector/node_modules/@cosmjs/proto-signing/node_modules/cosmjs-types": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.4.1.tgz", - "integrity": "sha512-I7E/cHkIgoJzMNQdFF0YVqPlaTqrqKHrskuSTIqlEyxfB5Lf3WKCajSXVK2yHOfOFfSux/RxEdpMzw/eO4DIog==", - "dependencies": { - "long": "^4.0.0", - "protobufjs": "~6.11.2" - } - }, - "node_modules/@likecoin/wallet-connector/node_modules/@cosmjs/utils": { - "version": "0.28.13", - "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.28.13.tgz", - "integrity": "sha512-dVeMBiyg+46x7XBZEfJK8yTihphbCFpjVYmLJVqmTsHfJwymQ65cpyW/C+V/LgWARGK8hWQ/aX9HM5Ao8QmMSg==" - }, "node_modules/@likecoin/wallet-connector/node_modules/@formatjs/ecma402-abstract": { "version": "1.17.0", "resolved": "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-1.17.0.tgz", @@ -20050,6 +19922,8 @@ "url": "https://feross.org/support" } ], + "optional": true, + "peer": true, "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.2.1" @@ -20496,15 +20370,23 @@ } }, "node_modules/cbor": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/cbor/-/cbor-5.2.0.tgz", - "integrity": "sha512-5IMhi9e1QU76ppa5/ajP1BmMWZ2FHkhAhjeVKQ/EFCgYSEaeVaoGtL7cxJskf9oCCk+XjzaIdc3IuU/dbA/o2A==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cbor/-/cbor-7.0.6.tgz", + "integrity": "sha512-rgt2RFogHGDLFU5r0kSfyeBc+de55DwYHP73KxKsQxsR5b0CYuQPH6AnJaXByiohpLdjQqj/K0SFcOV+dXdhSA==", "dependencies": { - "bignumber.js": "^9.0.1", - "nofilter": "^1.0.4" + "@cto.af/textdecoder": "^0.0.0", + "nofilter": "^2.0.3" }, "engines": { - "node": ">=6.0.0" + "node": ">=10.18.0" + }, + "peerDependencies": { + "bignumber.js": "^9.0.1" + }, + "peerDependenciesMeta": { + "bignumber.js": { + "optional": true + } } }, "node_modules/ccount": { @@ -29893,6 +29775,7 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", + "dev": true, "funding": [ { "type": "github", @@ -34623,6 +34506,14 @@ "url": "https://github.com/fb55/nth-check?sponsor=1" } }, + "node_modules/node-inspect-extracted": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/node-inspect-extracted/-/node-inspect-extracted-3.0.2.tgz", + "integrity": "sha512-lOBe4RMfICoYRKZaCXLVoBt6t8wM93QLEIp2WuvPJ5yDTEzrp+LhquGp4RV283Vd5RJ+vUvBmRrGtRu2HCgWHw==", + "engines": { + "node": ">=18" + } + }, "node_modules/node-int64": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", @@ -35643,11 +35534,14 @@ } }, "node_modules/nofilter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-1.0.4.tgz", - "integrity": "sha512-N8lidFp+fCz+TD51+haYdbDGrcBWwuHX40F5+z0qkUjMJ5Tp+rdSuAkMJ9N9eoolDlEVTf6u5icM+cNKkKW2mA==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-2.0.3.tgz", + "integrity": "sha512-FbuXC+lK+GU2+63D1kC1ETiZo+Z7SIi7B+mxKTCH1byrh6WFvfBCN/wpherFz0a0bjGd7EKTst/cz0yLeNngug==", + "dependencies": { + "@cto.af/textdecoder": "^0.0.0" + }, "engines": { - "node": ">=8" + "node": ">=10.18" } }, "node_modules/nopt": { @@ -49108,11 +49002,6 @@ "node": ">=0.8.0" } }, - "node_modules/weighted-random": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/weighted-random/-/weighted-random-0.1.0.tgz", - "integrity": "sha1-OlRppkn8OcBn4hfZGxj3QCVBFW0=" - }, "node_modules/well-known-symbols": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/well-known-symbols/-/well-known-symbols-2.0.0.tgz", diff --git a/src/package.json b/src/package.json index 3b0754941..6f9e6494b 100644 --- a/src/package.json +++ b/src/package.json @@ -31,10 +31,9 @@ "@cosmjs/stargate": "^0.30.1", "@google-cloud/pubsub": "^3.2.1", "@likecoin/edm": "^8.2.0-beta.1", - "@likecoin/iscn-js": "^0.6.9", - "@likecoin/nuxt-google-optimize": "^0.5.3-like.11", + "@likecoin/iscn-js": "^0.7.0", "@likecoin/ui-vue": "^0.7.1", - "@likecoin/wallet-connector": "^0.26.7", + "@likecoin/wallet-connector": "^0.27.1", "@nuxtjs/axios": "^5.12.2", "@nuxtjs/i18n": "^7.3.1", "@nuxtjs/sentry": "^8.0.7",