Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
Fixing build for example app
Browse files Browse the repository at this point in the history
  • Loading branch information
dckesler committed Jun 12, 2023
1 parent c6ece6d commit ab36701
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
1 change: 1 addition & 0 deletions packages/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@celo/contractkit": "^3.2.0",
"@celo/react-celo": "5.0.4-beta.1-dev",
"@celo/utils": "^3.2.0",
"@celo/wallet-walletconnect": "5.0.4-beta.1-dev",
"@walletconnect/core": "^2.7.3",
"@walletconnect/sign-client": "^2.7.3",
"@walletconnect/types": "^2.7.3",
Expand Down
7 changes: 4 additions & 3 deletions packages/example/pages/wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@ export default function Wallet(): React.ReactElement {
id,
namespaces: {
eip155: {
accounts: requiredNamespaces.eip155!.chains!.map(
(x) => `${x}:${account.address}`
),
accounts:
requiredNamespaces.eip155.chains?.map(
(x) => `${x}:${account.address}`
) || [],
methods: requiredNamespaces.eip155.methods,
events: requiredNamespaces.eip155.events,
},
Expand Down
18 changes: 17 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,22 @@
eth-lib "^0.2.8"
ethereumjs-util "^5.2.0"

"@celo/wallet-walletconnect@5.0.4-beta.1":
version "5.0.4-beta.1"
resolved "https://registry.npmjs.org/@celo/wallet-walletconnect/-/wallet-walletconnect-5.0.4-beta.1.tgz#bbc7c790645373aa3bb1ba0ac2d7cc853593bb41"
integrity sha512-YIfZgbhZDr/77wiZ1REI/fpZOKkUKKgSNVzAOKzlTdl8e83ea/1r/ftK9/8eD7jSegn9N+CGP6SdyBVVeSnGfw==
dependencies:
"@celo/connect" ">=2.3.0"
"@celo/utils" ">=2.3.0"
"@celo/wallet-base" ">=2.3.0"
"@celo/wallet-remote" ">=2.3.0"
"@walletconnect/core" "^2.7.3"
"@walletconnect/sign-client" "^2.7.3"
"@walletconnect/types" "^2.7.3"
"@walletconnect/utils" "^2.7.3"
debug "^4.3.3"
ethereumjs-util "^7.1.3"

"@clabs/packages-publisher@0.0.1-alpha.3":
version "0.0.1-alpha.3"
resolved "https://registry.npmjs.org/@clabs/packages-publisher/-/packages-publisher-0.0.1-alpha.3.tgz"
Expand Down Expand Up @@ -4704,7 +4720,7 @@ decimal.js@^10.3.1:
resolved "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.2.tgz"
integrity sha512-ic1yEvwT6GuvaYwBLLY6/aFFgjZdySKTE8en/fkU3QICTmRtgtSlFn0u0BXN06InZwtfCelR7j8LRiDI/02iGA==

decode-uri-component@^0.2.0, decode-uri-component@^0.2.2:
decode-uri-component@^0.2.0, decode-uri-component@^0.2.1, decode-uri-component@^0.2.2:
version "0.2.2"
resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9"
integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==
Expand Down

0 comments on commit ab36701

Please sign in to comment.