Skip to content

Commit

Permalink
Update @toruslabs/torus-embed version (#1936)
Browse files Browse the repository at this point in the history
* update @toruslabs/torus-embed version

* use @toruslabs/torus-embed 2.2.9 to keep node 16

* reset yarn.lock

* fix typeerror update yarn
  • Loading branch information
leightkt authored Oct 5, 2023
1 parent 17305dc commit cc46ddd
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 43 deletions.
2 changes: 1 addition & 1 deletion packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@web3-onboard/portis": "^2.1.6",
"@web3-onboard/sequence": "^2.0.7",
"@web3-onboard/taho": "^2.0.5",
"@web3-onboard/torus": "^2.2.4",
"@web3-onboard/torus": "^2.2.6-alpha.1",
"@web3-onboard/transaction-preview": "^2.0.7",
"@web3-onboard/trezor": "^2.4.3",
"@web3-onboard/trust": "^2.0.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/torus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/torus",
"version": "2.2.5",
"version": "2.2.6-alpha.1",
"description": "Torus SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
"keywords": [
"Ethereum",
Expand Down Expand Up @@ -57,7 +57,7 @@
"typescript": "^4.5.5"
},
"dependencies": {
"@toruslabs/torus-embed": "1.38.2",
"@toruslabs/torus-embed": "2.2.9",
"@web3-onboard/common": "^2.3.3"
}
}
6 changes: 2 additions & 4 deletions packages/torus/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ function torus(options?: TorusOptions): WalletInit {
loginConfig,
showTorusButton,
integrity,
whiteLabel,
skipTKey
whiteLabel
} = options || {}

return () => {
Expand Down Expand Up @@ -49,8 +48,7 @@ function torus(options?: TorusOptions): WalletInit {
showTorusButton: showTorusButton,
loginConfig,
integrity,
whiteLabel,
skipTKey
whiteLabel
})

const torusProvider = instance.provider
Expand Down
94 changes: 58 additions & 36 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1640,6 +1640,14 @@
pump "^3.0.0"
webextension-polyfill-ts "^0.25.0"

"@metamask/rpc-errors@^5.1.1":
version "5.1.1"
resolved "https://registry.yarnpkg.com/@metamask/rpc-errors/-/rpc-errors-5.1.1.tgz#f82732ad0952d34d219eca42699c0c74bee95a9e"
integrity sha512-JjZnDi2y2CfvbohhBl+FOQRzmFlJpybcQlIk37zEX8B96eVSPbH/T8S0p7cSF8IE33IWx6JkD8Ycsd+2TXFxCw==
dependencies:
"@metamask/utils" "^5.0.0"
fast-safe-stringify "^2.0.6"

"@metamask/[email protected]", "@metamask/safe-event-emitter@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@metamask/safe-event-emitter/-/safe-event-emitter-2.0.0.tgz#af577b477c683fad17c619a78208cede06f9605c"
Expand All @@ -1660,7 +1668,7 @@
semver "^7.3.8"
superstruct "^1.0.3"

"@metamask/utils@^5.0.1":
"@metamask/utils@^5.0.0", "@metamask/utils@^5.0.1":
version "5.0.2"
resolved "https://registry.yarnpkg.com/@metamask/utils/-/utils-5.0.2.tgz#140ba5061d90d9dac0280c19cab101bc18c8857c"
integrity sha512-yfmE79bRQtnMzarnKfX7AEJBwFTxvTyw3nBQlu/5rmGXrjAeAMltoGxO62TFurxrQAFMNa/fEjIHNvungZp0+g==
Expand Down Expand Up @@ -2511,6 +2519,14 @@
lodash.merge "^4.6.2"
loglevel "^1.8.1"

"@toruslabs/http-helpers@^4.0.0":
version "4.0.0"
resolved "https://registry.yarnpkg.com/@toruslabs/http-helpers/-/http-helpers-4.0.0.tgz#ca3341b7adb5f6795ded54967814850a9ff76d38"
integrity sha512-ef/Svevk54JANOn3Kf6UPf8X/vZlYHrusNFt8VV/LLahhVNXCXEcO8goC1bHkecu/u20CUyo9HJa0pn8fHh1sg==
dependencies:
lodash.merge "^4.6.2"
loglevel "^1.8.1"

"@toruslabs/metadata-helpers@^3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@toruslabs/metadata-helpers/-/metadata-helpers-3.1.0.tgz#fe6a84145711e091646c2fa223b3996df0748f3d"
Expand All @@ -2529,20 +2545,6 @@
dependencies:
"@toruslabs/tweetnacl-js" "^1.0.4"

"@toruslabs/openlogin-jrpc@^2.6.0":
version "2.9.0"
resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-2.9.0.tgz#766fb4ebe65e8dd9c1bf74adf031059ba5321cc6"
integrity sha512-68SMBSsFqayTi/uVJe1cffnz6QxYMtVLCF7h4HxlWxM27dd3030FspPrNJHFqt7o2u8/WSCB9pax9BrbTwYglw==
dependencies:
"@toruslabs/openlogin-utils" "^2.1.0"
end-of-stream "^1.4.4"
eth-rpc-errors "^4.0.3"
events "^3.3.0"
fast-safe-stringify "^2.1.1"
once "^1.4.0"
pump "^3.0.0"
readable-stream "^3.6.0"

"@toruslabs/openlogin-jrpc@^3.0.0", "@toruslabs/openlogin-jrpc@^3.2.0":
version "3.2.0"
resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-3.2.0.tgz#fff051d05b6c01b6329e2da9b134fae99305d1e0"
Expand Down Expand Up @@ -2571,14 +2573,19 @@
pump "^3.0.0"
readable-stream "^4.3.0"

"@toruslabs/openlogin-utils@^2.1.0":
version "2.1.0"
resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-utils/-/openlogin-utils-2.1.0.tgz#ae77dd4611970cbeb1222d90c3f4f37b3d94b407"
integrity sha512-UVgjco4winOn4Gj0VRTvjSZgBA84h2OIkKuxrBFjS+yWhgxQBF4hXGp83uicSgx1MujtjyUOdhJrpV2joRHt9w==
"@toruslabs/openlogin-jrpc@^4.7.0":
version "4.7.2"
resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-4.7.2.tgz#e04dd6945da92d790f713a58aaa1657c57b330c8"
integrity sha512-9Eb0cPc0lPuS6v2YkQlgzfbRnZ6fLez9Ike5wznoHSFA2/JVu1onwuI56EV1HwswdDrOWPPQEyzI1j9NriZ0ew==
dependencies:
base64url "^3.0.1"
keccak "^3.0.2"
randombytes "^2.1.0"
"@metamask/rpc-errors" "^5.1.1"
"@toruslabs/openlogin-utils" "^4.7.0"
end-of-stream "^1.4.4"
events "^3.3.0"
fast-safe-stringify "^2.1.1"
once "^1.4.0"
pump "^3.0.0"
readable-stream "^4.4.2"

"@toruslabs/openlogin-utils@^3.0.0":
version "3.0.0"
Expand All @@ -2596,6 +2603,13 @@
dependencies:
base64url "^3.0.1"

"@toruslabs/openlogin-utils@^4.7.0":
version "4.7.0"
resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-utils/-/openlogin-utils-4.7.0.tgz#741d6ba1c0754b59a182b1c6dd8d0263695ed980"
integrity sha512-w6XkHs4WKuufsf/zzteBzs4EJuOknrUmJ+iv5FZ8HzIpMQeL/984CP8HYaFSEYkbGCP4ydAnhY4Uh0QAhpDbPg==
dependencies:
base64url "^3.0.1"

"@toruslabs/openlogin@^3.2.1":
version "3.2.1"
resolved "https://registry.yarnpkg.com/@toruslabs/openlogin/-/openlogin-3.2.1.tgz#462e625aba876fb9e9d7585073d1860825cf6657"
Expand Down Expand Up @@ -2624,24 +2638,21 @@
loglevel "^1.8.1"
pump "^3.0.0"

"@toruslabs/torus-embed@1.38.2":
version "1.38.2"
resolved "https://registry.yarnpkg.com/@toruslabs/torus-embed/-/torus-embed-1.38.2.tgz#a759a96771da8c99003c01718a619cf8f1b44154"
integrity sha512-k2WV8yaS01Jf4tvIBJ3aUw/akUCIwCY4M8EQHRJ1B3LDHS9jA+j1fAsk2RVlPvjg9RWz8IBU0aiV35t6V0oRjQ==
"@toruslabs/torus-embed@2.2.9":
version "2.2.9"
resolved "https://registry.yarnpkg.com/@toruslabs/torus-embed/-/torus-embed-2.2.9.tgz#eff1b849a5938301aea65d6765705be5426a9426"
integrity sha512-RKks2wNq9V9vFQ5CaoL78C61++JK4ApYy3qNb7O8JDE7QlrcxsQ9Murdl0UT76IZeWtq8xOeDvNPtGcGpXus0A==
dependencies:
"@metamask/obs-store" "^7.0.0"
"@toruslabs/http-helpers" "^3.2.0"
"@toruslabs/openlogin-jrpc" "^2.6.0"
create-hash "^1.2.0"
end-of-stream "^1.4.4"
eth-rpc-errors "^4.0.3"
"@metamask/rpc-errors" "^5.1.1"
"@toruslabs/http-helpers" "^4.0.0"
"@toruslabs/openlogin-jrpc" "^4.7.0"
events "^3.3.0"
fast-deep-equal "^3.1.3"
is-stream "^2.0.1"
lodash.merge "^4.6.2"
loglevel "^1.8.0"
once "^1.4.0"
loglevel "^1.8.1"
pump "^3.0.0"
readable-stream "^4.4.1"

"@toruslabs/torus-embed@^1.41.1":
version "1.41.2"
Expand Down Expand Up @@ -8929,7 +8940,7 @@ keccak@^1.0.2, keccak@^1.3.0:
nan "^2.2.1"
safe-buffer "^5.1.0"

keccak@^3.0.0, keccak@^3.0.1, keccak@^3.0.2:
keccak@^3.0.0, keccak@^3.0.1:
version "3.0.2"
resolved "https://registry.yarnpkg.com/keccak/-/keccak-3.0.2.tgz#4c2c6e8c54e04f2670ee49fa734eb9da152206e0"
integrity sha512-PyKKjkH53wDMLGrvmRGSNWgmSxZOUqbnXwKL9tmgbFYA1iAYqW21kfR7mZXV0MlESiefxQQE9X9fTa3X+2MPDQ==
Expand Down Expand Up @@ -10812,6 +10823,17 @@ readable-stream@^4.3.0:
events "^3.3.0"
process "^0.11.10"

readable-stream@^4.4.1, readable-stream@^4.4.2:
version "4.4.2"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-4.4.2.tgz#e6aced27ad3b9d726d8308515b9a1b98dc1b9d13"
integrity sha512-Lk/fICSyIhodxy1IDK2HazkeGjSmezAWX2egdtJnYhtzKEsBPJowlI6F6LPb5tqIQILrMbx22S5o3GuJavPusA==
dependencies:
abort-controller "^3.0.0"
buffer "^6.0.3"
events "^3.3.0"
process "^0.11.10"
string_decoder "^1.3.0"

readable-stream@~1.0.15:
version "1.0.34"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
Expand Down Expand Up @@ -11816,7 +11838,7 @@ string.prototype.trimstart@^1.0.4:
call-bind "^1.0.2"
define-properties "^1.1.3"

string_decoder@^1.1.1:
string_decoder@^1.1.1, string_decoder@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==
Expand Down

0 comments on commit cc46ddd

Please sign in to comment.