From c99060fe8b01b36f968fb8b41e05d43bbb958b00 Mon Sep 17 00:00:00 2001 From: Denis Davidyuk Date: Sun, 27 Jun 2021 16:42:51 +0300 Subject: [PATCH 1/5] Update SDK to 8.2.1 --- package-lock.json | 365 ++++++++++++++++++++++++++------- package.json | 2 +- src/store/modules/aeternity.js | 6 +- src/views/Conference.vue | 2 +- 4 files changed, 291 insertions(+), 84 deletions(-) diff --git a/package-lock.json b/package-lock.json index 89524be68..bf29fd79b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "superhero-ui", - "version": "0.5.1", + "version": "0.5.2", "lockfileVersion": 1, "requires": true, "dependencies": { "@aeternity/aepp-sdk": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@aeternity/aepp-sdk/-/aepp-sdk-8.1.0.tgz", - "integrity": "sha512-/b58OLKpWEZYJhgA+0mvsRqirOccwd7ohd6FByKVRIo3RwQHz7QXiD2xgRpEXjFYeDC+/lxgAvz+mPJzOB7M/g==", + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/@aeternity/aepp-sdk/-/aepp-sdk-8.2.1.tgz", + "integrity": "sha512-6rh9t3Esfpp9F9l5snyjKoJH0we/PtfsB8PafCeofapEgvBfIJAnrnwQ+KPNTHWBETURe8Ewfvgvgt9bhmiTxg==", "requires": { "@aeternity/bip39": "^0.1.0", "@aeternity/json-bigint": "^0.3.1", - "@babel/runtime-corejs3": "^7.13.17", + "@babel/runtime-corejs3": "^7.14.0", "@stamp/it": "^1.1.0", "@stamp/required": "^1.0.1", "aes-js": "^3.1.2", @@ -26,11 +26,12 @@ "joi-browser": "^13.4.0", "libsodium-wrappers-sumo": "0.7.9", "path-browserify": "^1.0.1", + "process": "^0.11.10", "ramda": "^0.27.1", "rlp": "2.2.6", "sha.js": "^2.4.11", "stream-browserify": "^3.0.0", - "swagger-client": "^3.13.2", + "swagger-client": "^3.13.5", "tweetnacl": "^1.0.3", "tweetnacl-auth": "^1.0.1", "uuid": "^8.3.2", @@ -46,22 +47,6 @@ "ieee754": "^1.2.1" } }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "libsodium-wrappers-sumo": { - "version": "0.7.9", - "resolved": "https://registry.npmjs.org/libsodium-wrappers-sumo/-/libsodium-wrappers-sumo-0.7.9.tgz", - "integrity": "sha512-XLgLkqY973PngrRElbjOH0y7bJKYEfMWVpWPmW5iuhBjO6zXvHYQWtN52MVEeie/h98ZXN1Aw9BE+GzxQVAfLg==", - "requires": { - "libsodium-sumo": "^0.7.0" - } - }, "path-browserify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", @@ -75,19 +60,6 @@ "inherits": "~2.0.4", "readable-stream": "^3.5.0" } - }, - "websocket": { - "version": "1.0.34", - "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.34.tgz", - "integrity": "sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ==", - "requires": { - "bufferutil": "^4.0.1", - "debug": "^2.2.0", - "es5-ext": "^0.10.50", - "typedarray-to-buffer": "^3.1.5", - "utf-8-validate": "^5.0.2", - "yaeti": "^0.0.6" - } } } }, @@ -1652,11 +1624,11 @@ } }, "@babel/runtime-corejs3": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.14.0.tgz", - "integrity": "sha512-0R0HTZWHLk6G8jIk0FtoX+AatCtKnswS98VhXwGImFc759PJRp4Tru0PQYZofyijTFUr+gT8Mu7sgXVJLQ0ceg==", + "version": "7.14.7", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.14.7.tgz", + "integrity": "sha512-Wvzcw4mBYbTagyBVZpAJWI06auSIj033T/yNE0Zn1xcup83MieCddZA7ls3kme17L4NOGBrQ09Q+nKB41RLWBA==", "requires": { - "core-js-pure": "^3.0.0", + "core-js-pure": "^3.15.0", "regenerator-runtime": "^0.13.4" } }, @@ -3982,48 +3954,64 @@ "version": "github:aeternity/aeternity-fungible-token#f2ab2fd9d70557e6c087122090b92a044190b6d4", "from": "github:aeternity/aeternity-fungible-token#v2.0.0", "requires": { + "@aeternity/aepp-sdk": "8.1.0", "prompts": "^2.4.1" }, "dependencies": { "@aeternity/aepp-sdk": { - "version": "7.7.0", - "resolved": "https://registry.npmjs.org/@aeternity/aepp-sdk/-/aepp-sdk-7.7.0.tgz", - "integrity": "sha512-ND8B/aLe2uuNasbiDROHHXDTMXINZhpb1Ah+hHetGSQiOxa6ebOC3uTkNVUPf0wdotRBfBbFPuHCe5BUXo6Mrg==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@aeternity/aepp-sdk/-/aepp-sdk-8.1.0.tgz", + "integrity": "sha512-/b58OLKpWEZYJhgA+0mvsRqirOccwd7ohd6FByKVRIo3RwQHz7QXiD2xgRpEXjFYeDC+/lxgAvz+mPJzOB7M/g==", "requires": { "@aeternity/bip39": "^0.1.0", "@aeternity/json-bigint": "^0.3.1", - "@stamp/it": "^1.0.3", + "@babel/runtime-corejs3": "^7.13.17", + "@stamp/it": "^1.1.0", "@stamp/required": "^1.0.1", - "aes-js": "^3.1.1", - "axios": "^0.19.0", - "bignumber.js": "^9.0.0", + "aes-js": "^3.1.2", + "bignumber.js": "^9.0.1", "bip32-path": "^0.4.2", "blakejs": "^1.1.0", - "bs58check": "^2.1.1", + "bs58check": "^2.1.2", + "buffer": "^6.0.3", + "cross-fetch": "^3.1.4", + "crypto-browserify": "^3.12.0", "ed2curve": "^0.3.0", "joi-browser": "^13.4.0", - "ramda": "^0.27.0", - "rlp": "2.2.5", + "libsodium-wrappers-sumo": "0.7.9", + "path-browserify": "^1.0.1", + "ramda": "^0.27.1", + "rlp": "2.2.6", "sha.js": "^2.4.11", - "tweetnacl": "^1.0.0", + "stream-browserify": "^3.0.0", + "swagger-client": "^3.13.2", + "tweetnacl": "^1.0.3", "tweetnacl-auth": "^1.0.1", - "uuid": "^8.0.0" + "uuid": "^8.3.2", + "websocket": "^1.0.34" } }, - "axios": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.19.2.tgz", - "integrity": "sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==", + "buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", "requires": { - "follow-redirects": "1.5.10" + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" } }, - "rlp": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.5.tgz", - "integrity": "sha512-y1QxTQOp0OZnjn19FxBmped4p+BSKPHwGndaqrESseyd2xXZtcgR3yuTIosh8CaMaOii9SKIYerBXnV/CpJ3qw==", + "path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==" + }, + "stream-browserify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz", + "integrity": "sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==", "requires": { - "bn.js": "^4.11.1" + "inherits": "~2.0.4", + "readable-stream": "^3.5.0" } } } @@ -4959,9 +4947,9 @@ } }, "blakejs": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.1.0.tgz", - "integrity": "sha1-ad+S75U6qIylGjLfarHFShVfx6U=" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.1.1.tgz", + "integrity": "sha512-bLG6PHOCZJKNshTjGRBvET0vTciwQE6zFKOKKXPDJfwFBd4Ac0yBfPZqcGvGJap50l7ktvlpFqc2jGVaUgbJgg==" }, "block-stream": { "version": "0.0.9", @@ -6591,9 +6579,9 @@ } }, "core-js-pure": { - "version": "3.14.0", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.14.0.tgz", - "integrity": "sha512-YVh+LN2FgNU0odThzm61BsdkwrbrchumFq3oztnE9vTKC4KS2fvnPmcx8t6jnqAyOTCTF4ZSiuK8Qhh7SNcL4g==" + "version": "3.15.1", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.15.1.tgz", + "integrity": "sha512-OZuWHDlYcIda8sJLY4Ec6nWq2hRjlyCqCZ+jCflyleMkVt3tPedDVErvHslyS2nbO+SlBFMSBJYvtLMwxnrzjA==" }, "core-util-is": { "version": "1.0.2", @@ -12526,9 +12514,17 @@ } }, "libsodium-sumo": { - "version": "0.7.6", - "resolved": "https://registry.npmjs.org/libsodium-sumo/-/libsodium-sumo-0.7.6.tgz", - "integrity": "sha512-1XM2w00YkufeLVhFbw9aV+NTftzqECkEU1Amw2MxCbYuyy4L6MH5y8MWOg3shN6X/9R3e1pp6RCSXPnbFRTVCA==" + "version": "0.7.9", + "resolved": "https://registry.npmjs.org/libsodium-sumo/-/libsodium-sumo-0.7.9.tgz", + "integrity": "sha512-DcfJ57zlSlcmQU4s8KOX78pT0zKx5S9RLi0oyDuoIgm4K95+VNSaOidK/y9lUK4lxft14PtTPjoBy8tmLk1TDQ==" + }, + "libsodium-wrappers-sumo": { + "version": "0.7.9", + "resolved": "https://registry.npmjs.org/libsodium-wrappers-sumo/-/libsodium-wrappers-sumo-0.7.9.tgz", + "integrity": "sha512-XLgLkqY973PngrRElbjOH0y7bJKYEfMWVpWPmW5iuhBjO6zXvHYQWtN52MVEeie/h98ZXN1Aw9BE+GzxQVAfLg==", + "requires": { + "libsodium-sumo": "^0.7.0" + } }, "lines-and-columns": { "version": "1.1.6", @@ -13546,11 +13542,14 @@ "version": "2.1.30", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", + "requires": { + "mime-db": "1.47.0" + }, "dependencies": { "mime-db": { - "version": "1.46.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.46.0.tgz", - "integrity": "sha512-svXaP8UQRZ5K7or+ZmfNhg2xX3yKDMUzqadsSqi4NCH/KomcH75MAMYAGVlvXn4+b/xOPhS3I2uHKRUzvjY7BQ==" + "version": "1.47.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", + "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==" } } }, @@ -15863,8 +15862,7 @@ "process": { "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", - "dev": true + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=" }, "process-nextick-args": { "version": "2.0.1", @@ -17496,6 +17494,49 @@ "prompts": "^2.4.1" }, "dependencies": { + "@aeternity/aepp-sdk": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@aeternity/aepp-sdk/-/aepp-sdk-8.1.0.tgz", + "integrity": "sha512-/b58OLKpWEZYJhgA+0mvsRqirOccwd7ohd6FByKVRIo3RwQHz7QXiD2xgRpEXjFYeDC+/lxgAvz+mPJzOB7M/g==", + "requires": { + "@aeternity/bip39": "^0.1.0", + "@aeternity/json-bigint": "^0.3.1", + "@babel/runtime-corejs3": "^7.13.17", + "@stamp/it": "^1.1.0", + "@stamp/required": "^1.0.1", + "aes-js": "^3.1.2", + "bignumber.js": "^9.0.1", + "bip32-path": "^0.4.2", + "blakejs": "^1.1.0", + "bs58check": "^2.1.2", + "buffer": "^6.0.3", + "cross-fetch": "^3.1.4", + "crypto-browserify": "^3.12.0", + "ed2curve": "^0.3.0", + "joi-browser": "^13.4.0", + "libsodium-wrappers-sumo": "0.7.9", + "path-browserify": "^1.0.1", + "ramda": "^0.27.1", + "rlp": "2.2.6", + "sha.js": "^2.4.11", + "stream-browserify": "^3.0.0", + "swagger-client": "^3.13.2", + "tweetnacl": "^1.0.3", + "tweetnacl-auth": "^1.0.1", + "uuid": "^8.3.2", + "websocket": "^1.0.34" + }, + "dependencies": { + "rlp": { + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.6.tgz", + "integrity": "sha512-HAfAmL6SDYNWPUOJNrM500x4Thn4PZsEy5pijPh40U9WfNk0z15hUYzO9xVIMAdIHdFtD8CBDHd75Td1g36Mjg==", + "requires": { + "bn.js": "^4.11.1" + } + } + } + }, "aeproject-lib": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/aeproject-lib/-/aeproject-lib-2.2.0.tgz", @@ -17509,6 +17550,20 @@ "follow-redirects": "1.5.10" } }, + "buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==" + }, "rlp": { "version": "2.2.5", "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.5.tgz", @@ -17516,6 +17571,15 @@ "requires": { "bn.js": "^4.11.1" } + }, + "stream-browserify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz", + "integrity": "sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==", + "requires": { + "inherits": "~2.0.4", + "readable-stream": "^3.5.0" + } } } }, @@ -19254,6 +19318,49 @@ "prompts": "^2.4.1" }, "dependencies": { + "@aeternity/aepp-sdk": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@aeternity/aepp-sdk/-/aepp-sdk-8.1.0.tgz", + "integrity": "sha512-/b58OLKpWEZYJhgA+0mvsRqirOccwd7ohd6FByKVRIo3RwQHz7QXiD2xgRpEXjFYeDC+/lxgAvz+mPJzOB7M/g==", + "requires": { + "@aeternity/bip39": "^0.1.0", + "@aeternity/json-bigint": "^0.3.1", + "@babel/runtime-corejs3": "^7.13.17", + "@stamp/it": "^1.1.0", + "@stamp/required": "^1.0.1", + "aes-js": "^3.1.2", + "bignumber.js": "^9.0.1", + "bip32-path": "^0.4.2", + "blakejs": "^1.1.0", + "bs58check": "^2.1.2", + "buffer": "^6.0.3", + "cross-fetch": "^3.1.4", + "crypto-browserify": "^3.12.0", + "ed2curve": "^0.3.0", + "joi-browser": "^13.4.0", + "libsodium-wrappers-sumo": "0.7.9", + "path-browserify": "^1.0.1", + "ramda": "^0.27.1", + "rlp": "2.2.6", + "sha.js": "^2.4.11", + "stream-browserify": "^3.0.0", + "swagger-client": "^3.13.2", + "tweetnacl": "^1.0.3", + "tweetnacl-auth": "^1.0.1", + "uuid": "^8.3.2", + "websocket": "^1.0.34" + }, + "dependencies": { + "rlp": { + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.6.tgz", + "integrity": "sha512-HAfAmL6SDYNWPUOJNrM500x4Thn4PZsEy5pijPh40U9WfNk0z15hUYzO9xVIMAdIHdFtD8CBDHd75Td1g36Mjg==", + "requires": { + "bn.js": "^4.11.1" + } + } + } + }, "aeproject-lib": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/aeproject-lib/-/aeproject-lib-2.2.0.tgz", @@ -19267,6 +19374,20 @@ "follow-redirects": "1.5.10" } }, + "buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==" + }, "rlp": { "version": "2.2.5", "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.5.tgz", @@ -19274,6 +19395,15 @@ "requires": { "bn.js": "^4.11.1" } + }, + "stream-browserify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz", + "integrity": "sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==", + "requires": { + "inherits": "~2.0.4", + "readable-stream": "^3.5.0" + } } } }, @@ -19889,9 +20019,9 @@ "dev": true }, "utf-8-validate": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.4.tgz", - "integrity": "sha512-MEF05cPSq3AwJ2C7B7sHAA6i53vONoZbMGX8My5auEVm6W+dJ2Jd/TZPyGJ5CH42V2XtbI5FD28HeHeqlPzZ3Q==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.5.tgz", + "integrity": "sha512-+pnxRYsS/axEpkrrEpzYfNZGXp0IjC/9RIxwM5gntY4Koi8SHmUGSfxfWqxZdRxrtaoVstuOzUp/rbs3JSPELQ==", "requires": { "node-gyp-build": "^4.2.0" } @@ -20859,6 +20989,29 @@ } } }, + "websocket": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.34.tgz", + "integrity": "sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ==", + "requires": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + } + } + }, "websocket-driver": { "version": "0.7.4", "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz", @@ -20962,6 +21115,39 @@ "sophia-bonding-curve": "github:aeternity/BondingCurve#1.0.0-alpha.2" }, "dependencies": { + "@aeternity/aepp-sdk": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@aeternity/aepp-sdk/-/aepp-sdk-8.1.0.tgz", + "integrity": "sha512-/b58OLKpWEZYJhgA+0mvsRqirOccwd7ohd6FByKVRIo3RwQHz7QXiD2xgRpEXjFYeDC+/lxgAvz+mPJzOB7M/g==", + "requires": { + "@aeternity/bip39": "^0.1.0", + "@aeternity/json-bigint": "^0.3.1", + "@babel/runtime-corejs3": "^7.13.17", + "@stamp/it": "^1.1.0", + "@stamp/required": "^1.0.1", + "aes-js": "^3.1.2", + "bignumber.js": "^9.0.1", + "bip32-path": "^0.4.2", + "blakejs": "^1.1.0", + "bs58check": "^2.1.2", + "buffer": "^6.0.3", + "cross-fetch": "^3.1.4", + "crypto-browserify": "^3.12.0", + "ed2curve": "^0.3.0", + "joi-browser": "^13.4.0", + "libsodium-wrappers-sumo": "0.7.9", + "path-browserify": "^1.0.1", + "ramda": "^0.27.1", + "rlp": "2.2.6", + "sha.js": "^2.4.11", + "stream-browserify": "^3.0.0", + "swagger-client": "^3.13.2", + "tweetnacl": "^1.0.3", + "tweetnacl-auth": "^1.0.1", + "uuid": "^8.3.2", + "websocket": "^1.0.34" + } + }, "aeproject-lib": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/aeproject-lib/-/aeproject-lib-2.2.0.tgz", @@ -20982,6 +21168,20 @@ } } }, + "buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==" + }, "sophia-bonding-curve": { "version": "github:aeternity/BondingCurve#f43224c5bf2f4fe7e9a2fea474918a9d4bfe9791", "from": "github:aeternity/BondingCurve#1.0.0-alpha.2", @@ -20992,6 +21192,15 @@ "it-each": "^0.4.0", "prompts": "^2.4.1" } + }, + "stream-browserify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-3.0.0.tgz", + "integrity": "sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==", + "requires": { + "inherits": "~2.0.4", + "readable-stream": "^3.5.0" + } } } }, diff --git a/package.json b/package.json index d33817f38..4d886521b 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ }, "license": "ISC", "dependencies": { - "@aeternity/aepp-sdk": "^8.1.0", + "@aeternity/aepp-sdk": "^8.2.1", "@fontsource/oxygen": "^4.3.0", "aeternity-fungible-token": "github:aeternity/aeternity-fungible-token#v2.0.0", "animate.css": "^4.1.1", diff --git a/src/store/modules/aeternity.js b/src/store/modules/aeternity.js index 410c542a3..0c9f186e5 100644 --- a/src/store/modules/aeternity.js +++ b/src/store/modules/aeternity.js @@ -1,9 +1,7 @@ /* globals Cypress */ import { - MemoryAccount, Node, Universal, RpcAepp, Crypto, + MemoryAccount, Node, Universal, RpcAepp, Crypto, WalletDetector, BrowserWindowMessageConnection, } from '@aeternity/aepp-sdk'; -import BrowserWindowMessageConnection from '@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/connection/browser-window-message'; -import Detector from '@aeternity/aepp-sdk/es/utils/aepp-wallet-communication/wallet-detector'; import TIPPING_INTERFACE_V1 from 'tipping-contract/Tipping_v1_Interface.aes'; import TIPPING_INTERFACE_V2 from 'tipping-contract/Tipping_v2_Interface.aes'; import TIPPING_INTERFACE_V3 from 'tipping-contract/Tipping_v3_Interface.aes'; @@ -129,7 +127,7 @@ export default { const scannerConnection = await BrowserWindowMessageConnection({ connectionInfo: { id: 'spy' }, }); - const detector = await Detector({ connection: scannerConnection }); + const detector = await WalletDetector({ connection: scannerConnection }); const webWalletTimeout = setTimeout(() => !IS_MOBILE_DEVICE && commit('enableIframeWallet'), 10000); return new Promise((resolve) => { diff --git a/src/views/Conference.vue b/src/views/Conference.vue index 6c3606be2..069e36557 100644 --- a/src/views/Conference.vue +++ b/src/views/Conference.vue @@ -9,7 +9,7 @@ +