diff --git a/examples/esm/package.json b/examples/esm/package.json index ad19137a..35344d75 100644 --- a/examples/esm/package.json +++ b/examples/esm/package.json @@ -7,9 +7,12 @@ "license": "MIT", "dependencies": { "@ethersproject/wallet": "^5.7.0", - "@vocdoni/sdk": "0.5.0", + "@vocdoni/sdk": "0.7.1", "chalk": "^5.1.2" }, + "resolutions": { + "web-worker": "1.2.0" + }, "scripts": { "esm": "node --experimental-specifier-resolution=node --experimental-modules --no-warnings", "start": "yarn esm ./src/index.mjs", diff --git a/examples/typescript/package.json b/examples/typescript/package.json index edd2b149..2b1c859a 100644 --- a/examples/typescript/package.json +++ b/examples/typescript/package.json @@ -6,7 +6,7 @@ "license": "MIT", "dependencies": { "@ethersproject/wallet": "^5.7.0", - "@vocdoni/sdk": "0.5.0", + "@vocdoni/sdk": "0.7.1", "chalk": "4.1.2" }, "scripts": { diff --git a/examples/vite-react-app/package.json b/examples/vite-react-app/package.json index e2cd3574..48e1fc3b 100644 --- a/examples/vite-react-app/package.json +++ b/examples/vite-react-app/package.json @@ -15,7 +15,7 @@ "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", "@esbuild-plugins/node-globals-polyfill": "^0.2.3", - "@vocdoni/sdk": "0.5.0", + "@vocdoni/sdk": "0.7.1", "@ethersproject/abstract-signer": "^5.7.0", "@ethersproject/providers": "^5.7.2", "@ethersproject/wallet": "^5.7.0", diff --git a/examples/vite-react-app/yarn.lock b/examples/vite-react-app/yarn.lock index 96210288..01a81e55 100644 --- a/examples/vite-react-app/yarn.lock +++ b/examples/vite-react-app/yarn.lock @@ -1971,10 +1971,10 @@ long "^5.2.1" protobufjs "^7.1.2" -"@vocdoni/sdk@0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@vocdoni/sdk/-/sdk-0.5.0.tgz#34084e796bb744c68c17e107f80cdf30b9b316e4" - integrity sha512-7MobpmGeCyMyywj8UdpwHdJTE/z28m6jENgwe7UHIYYsaTqzSyWV8Zq/RisRA5vD2jgQbXTVmhzzzV0LXBDwuQ== +"@vocdoni/sdk@0.7.1": + version "0.7.1" + resolved "https://registry.yarnpkg.com/@vocdoni/sdk/-/sdk-0.7.1.tgz#99504b04222c521a65e5bd352bfc04379fb5b568" + integrity sha512-qgHZoFsaJBkwWsrJeu1EZM5iMqqB2DlvQKjtncwAR8PZK/7ueVvavBMoig1Zx5REBhEhY1MKWs1d253lMHjIpw== dependencies: "@ethersproject/abstract-signer" "^5.7.0" "@ethersproject/address" "^5.7.0" @@ -1982,7 +1982,6 @@ "@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/strings" "^5.7.0" "@ethersproject/units" "^5.7.0" @@ -1992,6 +1991,7 @@ axios "0.27.2" blake2b "^2.1.4" iso-language-codes "^1.1.0" + js-sha256 "^0.10.1" readable-stream "^4.4.2" tiny-invariant "^1.3.1" tweetnacl "^1.0.3" @@ -3254,6 +3254,11 @@ iso-language-codes@^1.1.0: resolved "https://registry.yarnpkg.com/iso-language-codes/-/iso-language-codes-1.1.0.tgz#8ecc01b62e6f605a6d352b051f0367a77c5a295c" integrity sha512-keIujxUvEAFeEd4esZZM0w+Hbek+G+JWsWs8phODkNvSq8NE2w68ZVD8ZpOUurX8/3ElQyPll0952J06wQNKvA== +js-sha256@^0.10.1: + version "0.10.1" + resolved "https://registry.yarnpkg.com/js-sha256/-/js-sha256-0.10.1.tgz#b40104ba1368e823fdd5f41b66b104b15a0da60d" + integrity sha512-5obBtsz9301ULlsgggLg542s/jqtddfOpV5KJc4hajc9JV8GeY2gZHSVpYBn4nWqAUTJ9v+xwtbJ1mIBgIH5Vw== + js-sha3@0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840"