Skip to content

Commit

Permalink
Update WC imports, bump WC package version, bump WC dep version (#2036)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamj1232 authored Jan 3, 2024
1 parent 360b2c8 commit e48b4d7
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 45 deletions.
2 changes: 1 addition & 1 deletion packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@web3-onboard/trust": "^2.0.3",
"@web3-onboard/uauth": "^2.1.2",
"@web3-onboard/venly": "^2.0.0",
"@web3-onboard/walletconnect": "^2.5.2",
"@web3-onboard/walletconnect": "^2.5.3-alpha.1",
"@web3-onboard/web3auth": "^2.2.2",
"@web3-onboard/xdefi": "^2.0.5",
"@web3-onboard/zeal": "^2.0.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/walletconnect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/walletconnect",
"version": "2.5.2",
"version": "2.5.3-alpha.1",
"description": "WalletConnect SDK module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised 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 @@ -59,7 +59,7 @@
"@walletconnect/types": "^2.9.0"
},
"dependencies": {
"@walletconnect/ethereum-provider": "^2.10.6",
"@walletconnect/ethereum-provider": "^2.11.0",
"@web3-onboard/common": "^2.3.3",
"joi": "17.9.1",
"rxjs": "^7.5.2"
Expand Down
4 changes: 1 addition & 3 deletions packages/walletconnect/src/walletConnect.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { REQUIRED_METHODS } from '@walletconnect/ethereum-provider'
import { isHexString } from './index.js'

import type { EthereumProviderOptions } from '@walletconnect/ethereum-provider/dist/types/EthereumProvider'
import type { JQueryStyleEventEmitter } from 'rxjs/internal/observable/fromEvent'
import type { EthereumProvider } from '@walletconnect/ethereum-provider'
import type { WalletConnectOptions } from './types.js'
import type { CoreTypes } from '@walletconnect/types'
import type {
Expand Down Expand Up @@ -58,7 +56,7 @@ function walletConnect(options: WalletConnectOptions): WalletInit {
'@web3-onboard/common'
)

const { default: EthereumProvider } = await import(
const { default: EthereumProvider, REQUIRED_METHODS } = await import(
'@walletconnect/ethereum-provider'
)

Expand Down
92 changes: 53 additions & 39 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5368,10 +5368,10 @@
lodash.isequal "4.5.0"
uint8arrays "^3.1.0"

"@walletconnect/core@2.10.6":
version "2.10.6"
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.10.6.tgz#786b0d2e2045c210c917e29bfa0498bbc210be20"
integrity sha512-Z4vh4ZdfcoQjgPEOxeuF9HUZCVLtV3MgRbS/awLIj/omDrFnOwlBhxi5Syr4Y8muVGC0ocRetQYHae0/gX5crQ==
"@walletconnect/core@2.11.0":
version "2.11.0"
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.11.0.tgz#3a4e301077b2f858fd916b7a20b5b984d1afce63"
integrity sha512-2Tjp5BCevI7dbmqo/OrCjX4tqgMqwJNQLlQAlphqPfvwlF9+tIu6pGcVbSN3U9zyXzWIZCeleqEaWUeSeET4Ew==
dependencies:
"@walletconnect/heartbeat" "1.2.1"
"@walletconnect/jsonrpc-provider" "1.0.13"
Expand All @@ -5384,9 +5384,10 @@
"@walletconnect/relay-auth" "^1.0.4"
"@walletconnect/safe-json" "^1.0.2"
"@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.10.6"
"@walletconnect/utils" "2.10.6"
"@walletconnect/types" "2.11.0"
"@walletconnect/utils" "2.11.0"
events "^3.3.0"
isomorphic-unfetch "3.1.0"
lodash.isequal "4.5.0"
uint8arrays "^3.1.0"

Expand Down Expand Up @@ -5503,20 +5504,20 @@
"@walletconnect/utils" "2.9.1"
events "^3.3.0"

"@walletconnect/ethereum-provider@^2.10.6":
version "2.10.6"
resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.10.6.tgz#53720771cc2d6accd452916a853ac927f26acbaa"
integrity sha512-bBQ+yUfxLv8VxNttgNKY7nED35gSVayO/BnLHbNKvyV1gpvSCla5mWB9MsXuQs70MK0g+/qtgRVSrOtdSubaNQ==
"@walletconnect/ethereum-provider@^2.11.0":
version "2.11.0"
resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.11.0.tgz#feb90368d8b2608d7d120ac8feeb3e26eac8c709"
integrity sha512-YrTeHVjuSuhlUw7SQ6xBJXDuJ6iAC+RwINm9nVhoKYJSHAy3EVSJZOofMKrnecL0iRMtD29nj57mxAInIBRuZA==
dependencies:
"@walletconnect/jsonrpc-http-connection" "^1.0.7"
"@walletconnect/jsonrpc-provider" "^1.0.13"
"@walletconnect/jsonrpc-types" "^1.0.3"
"@walletconnect/jsonrpc-utils" "^1.0.8"
"@walletconnect/modal" "^2.4.3"
"@walletconnect/sign-client" "2.10.6"
"@walletconnect/types" "2.10.6"
"@walletconnect/universal-provider" "2.10.6"
"@walletconnect/utils" "2.10.6"
"@walletconnect/modal" "^2.6.2"
"@walletconnect/sign-client" "2.11.0"
"@walletconnect/types" "2.11.0"
"@walletconnect/universal-provider" "2.11.0"
"@walletconnect/utils" "2.11.0"
events "^3.3.0"

"@walletconnect/events@^1.0.1":
Expand Down Expand Up @@ -5769,7 +5770,7 @@
"@walletconnect/modal-core" "2.6.1"
"@walletconnect/modal-ui" "2.6.1"

"@walletconnect/[email protected]", "@walletconnect/modal@^2.4.3":
"@walletconnect/[email protected]", "@walletconnect/modal@^2.6.2":
version "2.6.2"
resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.6.2.tgz#4b534a836f5039eeb3268b80be7217a94dd12651"
integrity sha512-eFopgKi8AjKf/0U4SemvcYw9zlLpx9njVN8sf6DAkowC2Md0gPU/UNEbH1Wwj407pEKnEds98pKWib1NN1ACoA==
Expand Down Expand Up @@ -5862,19 +5863,19 @@
"@walletconnect/utils" "2.10.2"
events "^3.3.0"

"@walletconnect/sign-client@2.10.6":
version "2.10.6"
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.10.6.tgz#722d2c2844565e2826dce6a6d3a36c9b3ca1ea91"
integrity sha512-EvUWjaZBQu2yKnH5/5F2qzbuiIuUN9ZgrNKgvXkw5z1Dq5RJCks0S9/MFlKH/ZSGqXnLl7uAzBXtoX4sMgbCMA==
"@walletconnect/sign-client@2.11.0":
version "2.11.0"
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.11.0.tgz#de10f976cc1b8ab04b7f7c27f6a298e4e083ab25"
integrity sha512-H2ukscibBS+6WrzQWh+WyVBqO5z4F5et12JcwobdwgHnJSlqIoZxqnUYYWNCI5rUR5UKsKWaUyto4AE9N5dw4Q==
dependencies:
"@walletconnect/core" "2.10.6"
"@walletconnect/core" "2.11.0"
"@walletconnect/events" "^1.0.1"
"@walletconnect/heartbeat" "1.2.1"
"@walletconnect/jsonrpc-utils" "1.0.8"
"@walletconnect/logger" "^2.0.1"
"@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.10.6"
"@walletconnect/utils" "2.10.6"
"@walletconnect/types" "2.11.0"
"@walletconnect/utils" "2.11.0"
events "^3.3.0"

"@walletconnect/[email protected]":
Expand Down Expand Up @@ -5920,10 +5921,10 @@
"@walletconnect/logger" "^2.0.1"
events "^3.3.0"

"@walletconnect/types@2.10.6":
version "2.10.6"
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.10.6.tgz#d9920ed4fd0113e0addbda8e7e73a5176a3163fd"
integrity sha512-WgHfiTG1yakmxheaBRiXhUdEmgxwrvsAdOIWaMf/spvrzVKYh6sHI3oyEEky5qj5jjiMiyQBeB57QamzCotbcQ==
"@walletconnect/types@2.11.0":
version "2.11.0"
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.11.0.tgz#474a009c56faa9ef4063b76ed84415c801dc9f1e"
integrity sha512-AB5b1lrEbCGHxqS2vqfCkIoODieH+ZAUp9rA1O2ftrhnqDJiJK983Df87JhYhECsQUBHHfALphA8ydER0q+9sw==
dependencies:
"@walletconnect/events" "^1.0.1"
"@walletconnect/heartbeat" "1.2.1"
Expand Down Expand Up @@ -6000,19 +6001,19 @@
"@walletconnect/utils" "2.10.2"
events "^3.3.0"

"@walletconnect/universal-provider@2.10.6":
version "2.10.6"
resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.10.6.tgz#1a6c42517581f11ce275474bc70d0eb4f1044525"
integrity sha512-CEivusqqoD31BhCTKp08DnrccfGjwD9MFjZs5BNRorDteRFE8zVm9LmP6DSiNJCw82ZajGlZThggLQ/BAATfwA==
"@walletconnect/universal-provider@2.11.0":
version "2.11.0"
resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.11.0.tgz#89053c2360b5ce766c213ca4e33bb4ce4976b0be"
integrity sha512-zgJv8jDvIMP4Qse/D9oIRXGdfoNqonsrjPZanQ/CHNe7oXGOBiQND2IIeX+tS0H7uNA0TPvctljCLiIN9nw4eA==
dependencies:
"@walletconnect/jsonrpc-http-connection" "^1.0.7"
"@walletconnect/jsonrpc-provider" "1.0.13"
"@walletconnect/jsonrpc-types" "^1.0.2"
"@walletconnect/jsonrpc-utils" "^1.0.7"
"@walletconnect/logger" "^2.0.1"
"@walletconnect/sign-client" "2.10.6"
"@walletconnect/types" "2.10.6"
"@walletconnect/utils" "2.10.6"
"@walletconnect/sign-client" "2.11.0"
"@walletconnect/types" "2.11.0"
"@walletconnect/utils" "2.11.0"
events "^3.3.0"

"@walletconnect/[email protected]":
Expand Down Expand Up @@ -6050,10 +6051,10 @@
query-string "7.1.3"
uint8arrays "^3.1.0"

"@walletconnect/utils@2.10.6":
version "2.10.6"
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.10.6.tgz#749b37d14e291e346862e7027ec7548463350226"
integrity sha512-oRsWWhN2+hi3aiDXrQEOfysz6FHQJGXLsNQPVt+WIBJplO6Szmdau9dbleD88u1iiT4GKPqE0R9FOYvvPm1H/w==
"@walletconnect/utils@2.11.0":
version "2.11.0"
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.11.0.tgz#31c95151c823022077883dda61800cdea71879b7"
integrity sha512-hxkHPlTlDQILHfIKXlmzgNJau/YcSBC3XHUSuZuKZbNEw3duFT6h6pm3HT/1+j1a22IG05WDsNBuTCRkwss+BQ==
dependencies:
"@stablelib/chacha20poly1305" "1.0.1"
"@stablelib/hkdf" "1.0.1"
Expand All @@ -6063,7 +6064,7 @@
"@walletconnect/relay-api" "^1.0.9"
"@walletconnect/safe-json" "^1.0.2"
"@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.10.6"
"@walletconnect/types" "2.11.0"
"@walletconnect/window-getters" "^1.0.1"
"@walletconnect/window-metadata" "^1.0.1"
detect-browser "5.3.0"
Expand Down Expand Up @@ -11274,6 +11275,14 @@ isobject@^3.0.1:
resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df"
integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8=

[email protected]:
version "3.1.0"
resolved "https://registry.yarnpkg.com/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz#87341d5f4f7b63843d468438128cb087b7c3e98f"
integrity sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q==
dependencies:
node-fetch "^2.6.1"
unfetch "^4.2.0"

[email protected]:
version "5.0.0"
resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz#e5529148912ecb9b451b46ed44d53dae1ce04bbf"
Expand Down Expand Up @@ -15836,6 +15845,11 @@ unenv@^1.7.4:
node-fetch-native "^1.4.1"
pathe "^1.1.1"

unfetch@^4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be"
integrity sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==

universalify@^0.1.0:
version "0.1.2"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
Expand Down

0 comments on commit e48b4d7

Please sign in to comment.