diff --git a/package-lock.json b/package-lock.json index fd573757..52053219 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "AGPL-3.0", "dependencies": { "@ethersproject/wallet": "^5.7.0", - "@vocdoni/sdk": "^0.0.16" + "@vocdoni/sdk": "^0.0.17" }, "devDependencies": { "@babel/eslint-parser": "^7.19.1", @@ -2987,9 +2987,9 @@ } }, "node_modules/@vocdoni/sdk": { - "version": "0.0.16", - "resolved": "https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.16.tgz", - "integrity": "sha512-VRznsOiOs7jbP5gKp2GAUNAYe8w8pL2nnTlic1AU3YjkOAqsFl7yUk6SnmT6Ll7SpHFR//FIuT1MhzjfgravLA==", + "version": "0.0.17", + "resolved": "https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.17.tgz", + "integrity": "sha512-5jJ0n9HpggsAmzxRSJUsq9cZ9vMN7NFJNzvBH/VLwcPVbSEZq+STbNW82xZfX48aoMo6y8oW7J0RRaPaxm8Xdw==", "dependencies": { "@ethersproject/abstract-signer": "^5.7.0", "@ethersproject/address": "^5.7.0", @@ -2997,14 +2997,13 @@ "@ethersproject/bytes": "^5.7.0", "@ethersproject/keccak256": "^5.7.0", "@ethersproject/providers": "^5.7.1", + "@ethersproject/sha2": "^5.7.0", "@ethersproject/signing-key": "^5.7.0", "@ethersproject/units": "^5.7.0", "@ethersproject/wallet": "^5.7.0", "@size-limit/file": "^8.2.4", "@vocdoni/proto": "1.14.1", "axios": "0.27.2", - "blakejs": "^1.2.1", - "blindsecp256k1": "^0.0.9", "iso-language-codes": "^1.1.0", "tiny-invariant": "^1.3.1", "tweetnacl": "^1.0.3", @@ -3362,19 +3361,6 @@ "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==" }, - "node_modules/bigi": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/bigi/-/bigi-1.4.2.tgz", - "integrity": "sha512-ddkU+dFIuEIW8lE7ZwdIAf2UPoM90eaprg5m3YXAVVTmKlqV/9BX4A2M8BOK2yOq6/VgZFVhK6QAxJebhlbhzw==" - }, - "node_modules/bignumber.js": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-7.0.2.tgz", - "integrity": "sha512-TosM7Yg1Ux0ZCNwwS/tW95r3q9xIZstgsUGKWaez0Cgq8Oy3qia9RGvyG/fbxlQAvigjza1d057QNQLGvYXCeg==", - "engines": { - "node": "*" - } - }, "node_modules/binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -3384,46 +3370,6 @@ "node": ">=8" } }, - "node_modules/blakejs": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.2.1.tgz", - "integrity": "sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==" - }, - "node_modules/blindsecp256k1": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/blindsecp256k1/-/blindsecp256k1-0.0.9.tgz", - "integrity": "sha512-CKzN/JFOI00RDLij/XrmutCQVeDCxHZQruIxH0qfQ/IB/TgSwjGIGTRQBTGxNrC8f7t/jIkMXhQPGVafEA4KNw==", - "dependencies": { - "@ethersproject/keccak256": "5.0.7", - "bigi": "^1.4.2", - "bignumber.js": "7.0.2", - "ecurve": "1.0.0" - } - }, - "node_modules/blindsecp256k1/node_modules/@ethersproject/keccak256": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.0.7.tgz", - "integrity": "sha512-zpUBmofWvx9PGfc7IICobgFQSgNmTOGTGLUxSYqZzY/T+b4y/2o5eqf/GGmD7qnTGzKQ42YlLNo+LeDP2qe55g==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.0.9", - "js-sha3": "0.5.7" - } - }, - "node_modules/blindsecp256k1/node_modules/js-sha3": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", - "integrity": "sha512-GII20kjaPX0zJ8wzkTbNDYMY7msuZcTWk8S5UOh6806Jq/wz1J8/bnr8uGU0DAUmYDjj2Mr4X1cW8v/GLYnR+g==" - }, "node_modules/bn.js": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", @@ -3959,14 +3905,6 @@ "domelementtype": "1" } }, - "node_modules/ecurve": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/ecurve/-/ecurve-1.0.0.tgz", - "integrity": "sha512-gwAh/B9hSnkq5SssZhJnXaXHcKrBK2tCh76G12+BXXjqLH4Kx1QBALz9IszvUtrxhM9+SBXx6fU0dW4WDBk2pA==", - "dependencies": { - "bigi": "^1.1.0" - } - }, "node_modules/electron-to-chromium": { "version": "1.4.308", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.308.tgz", @@ -10581,9 +10519,9 @@ } }, "@vocdoni/sdk": { - "version": "0.0.16", - "resolved": "https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.16.tgz", - "integrity": "sha512-VRznsOiOs7jbP5gKp2GAUNAYe8w8pL2nnTlic1AU3YjkOAqsFl7yUk6SnmT6Ll7SpHFR//FIuT1MhzjfgravLA==", + "version": "0.0.17", + "resolved": "https://registry.npmjs.org/@vocdoni/sdk/-/sdk-0.0.17.tgz", + "integrity": "sha512-5jJ0n9HpggsAmzxRSJUsq9cZ9vMN7NFJNzvBH/VLwcPVbSEZq+STbNW82xZfX48aoMo6y8oW7J0RRaPaxm8Xdw==", "requires": { "@ethersproject/abstract-signer": "^5.7.0", "@ethersproject/address": "^5.7.0", @@ -10591,14 +10529,13 @@ "@ethersproject/bytes": "^5.7.0", "@ethersproject/keccak256": "^5.7.0", "@ethersproject/providers": "^5.7.1", + "@ethersproject/sha2": "^5.7.0", "@ethersproject/signing-key": "^5.7.0", "@ethersproject/units": "^5.7.0", "@ethersproject/wallet": "^5.7.0", "@size-limit/file": "^8.2.4", "@vocdoni/proto": "1.14.1", "axios": "0.27.2", - "blakejs": "^1.2.1", - "blindsecp256k1": "^0.0.9", "iso-language-codes": "^1.1.0", "tiny-invariant": "^1.3.1", "tweetnacl": "^1.0.3", @@ -10870,54 +10807,12 @@ "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==" }, - "bigi": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/bigi/-/bigi-1.4.2.tgz", - "integrity": "sha512-ddkU+dFIuEIW8lE7ZwdIAf2UPoM90eaprg5m3YXAVVTmKlqV/9BX4A2M8BOK2yOq6/VgZFVhK6QAxJebhlbhzw==" - }, - "bignumber.js": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-7.0.2.tgz", - "integrity": "sha512-TosM7Yg1Ux0ZCNwwS/tW95r3q9xIZstgsUGKWaez0Cgq8Oy3qia9RGvyG/fbxlQAvigjza1d057QNQLGvYXCeg==" - }, "binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", "peer": true }, - "blakejs": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.2.1.tgz", - "integrity": "sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==" - }, - "blindsecp256k1": { - "version": "0.0.9", - "resolved": "https://registry.npmjs.org/blindsecp256k1/-/blindsecp256k1-0.0.9.tgz", - "integrity": "sha512-CKzN/JFOI00RDLij/XrmutCQVeDCxHZQruIxH0qfQ/IB/TgSwjGIGTRQBTGxNrC8f7t/jIkMXhQPGVafEA4KNw==", - "requires": { - "@ethersproject/keccak256": "5.0.7", - "bigi": "^1.4.2", - "bignumber.js": "7.0.2", - "ecurve": "1.0.0" - }, - "dependencies": { - "@ethersproject/keccak256": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.0.7.tgz", - "integrity": "sha512-zpUBmofWvx9PGfc7IICobgFQSgNmTOGTGLUxSYqZzY/T+b4y/2o5eqf/GGmD7qnTGzKQ42YlLNo+LeDP2qe55g==", - "requires": { - "@ethersproject/bytes": "^5.0.9", - "js-sha3": "0.5.7" - } - }, - "js-sha3": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", - "integrity": "sha512-GII20kjaPX0zJ8wzkTbNDYMY7msuZcTWk8S5UOh6806Jq/wz1J8/bnr8uGU0DAUmYDjj2Mr4X1cW8v/GLYnR+g==" - } - } - }, "bn.js": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", @@ -11309,14 +11204,6 @@ "domelementtype": "1" } }, - "ecurve": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/ecurve/-/ecurve-1.0.0.tgz", - "integrity": "sha512-gwAh/B9hSnkq5SssZhJnXaXHcKrBK2tCh76G12+BXXjqLH4Kx1QBALz9IszvUtrxhM9+SBXx6fU0dW4WDBk2pA==", - "requires": { - "bigi": "^1.1.0" - } - }, "electron-to-chromium": { "version": "1.4.308", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.308.tgz", diff --git a/package.json b/package.json index 42557434..c3a76a55 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "url": "https://github.com/decidim-vocdoni/decidim-module-vocdoni/issues" }, "homepage": "https://github.com/decidim-vocdoni/decidim-module-vocdoni#readme", - "stylelint": { + "stylelint": { "extends": "@decidim/stylelint-config" }, "devDependencies": { @@ -47,6 +47,6 @@ }, "dependencies": { "@ethersproject/wallet": "^5.7.0", - "@vocdoni/sdk": "^0.0.16" + "@vocdoni/sdk": "^0.0.17" } }