Commit Graph

15 Commits

Author SHA1 Message Date
Gancho Radkov
2e23016873
feat: just works (#261)
* feat: implements just works in example dapp

* feat: implements just works in example wallet

* feat: adds toast on app pairing attempt

* chore: updates canary

* refactor: resets app only after successful disconnect

* chore: updates wallet canary

* fix: modal state

* chore: updates canary to rc

* fix: session update & session events

* fix: fixes accounts changed and updates canary

* chore: updates dapp canary

* chore: updates examples to latest

---------

Co-authored-by: Gancho Radkov <ganchoradkov@gmail.com>
2023-08-17 19:53:56 +03:00
Ashwin
8f612a0d73
feat: adds Kadena support (#70) 2023-07-14 12:29:17 +02:00
Jonathan Conn
a48d4b6aa9
feat: added selector tags for e2e testing (#240)
* feat: added selector tags for e2e testing

* Update wallets/react-wallet-v2/README.md

Co-authored-by: Ben Kremer <ben@walletconnect.com>

* Update wallets/react-wallet-v2/README.md

Co-authored-by: Ben Kremer <ben@walletconnect.com>

* Update wallets/react-wallet-v2/src/components/Navigation.tsx

Co-authored-by: Ben Kremer <ben@walletconnect.com>

---------

Co-authored-by: Ben Kremer <ben@walletconnect.com>
2023-07-13 23:10:06 -04:00
Jonathan Conn
d774f52135
Feat/examples upgrade (#153)
* Added UI infastructure to support chain switching, need to update the session to swap chains

* Fixed type of chainId, string -> number

* Added helper method to find full chainname ex/ cosmoshub-4 -> cosmons:cosmoshub-4. Added a method updateSignClientChainId to emit a new update with the new namespace for the respected chain switch

* Added checks to ensure no dup accounts get added to namespaces during chainswitching from chain A->B->A for ex

* Fixed chainId type, eip155 uses number but the other chains use strings, making string the default type for chainId

* Update wallets/react-wallet-v2/src/utils/WalletConnectUtil.ts

Co-authored-by: Ben Kremer <ben@walletconnect.com>

* Switched the way account card components are generated in index page, removed unnecessary helper fx

* Fixed the chain changed event by updating the session if the chainId namespace does not currently exist, then emitting the correct chainChanged event on the same session

---------

Co-authored-by: Ben Kremer <ben@walletconnect.com>
2023-05-10 10:01:36 -04:00
Pedro Gomes
954831538d
Beta 100 (#27)
* update deps

* revert react dep updates

* chore: update deps to beta.50

* fix: get dapp running again up to Client.connect()

* save progress

* feat(debug): sets up a debug peerClient as responder

* refactor: remove more hardcoded example connect params

* fix: gets `checkPersistedState` working again

* fix: gets client.disconnect + effects working again

* feat: integrates `session_update` handling with namespaces

* fix: remove hardcoded `chains`

* stash progress

* Establish session

* save progress - established session with example dapp

* refactor: rewrite namespace helpers to handle `requiredNamespaces` (#23)

* fix: re-enables restoring persisted session

* refactor: remove debug peerClient code

* fix: re-enables restoring persisted pairings

* Save progress

* fix: re-enables pairing modal, connecting from existing pairing

* Update modals to handle new payloads

* fix(types): fix Metadata typing

* chore(deps): upgrade to beta.53

* refactor: adjusts event handler args for beta.53 `session_update`

* stash

* fix: adds missing keys for `DEFAULT_EIP155_EVENTS` enum

* stash

* chore: update comment for client.request typing FIXME

* feat: integrate beta.54

* feat: integrate beta.55, removes FIXME comments for client.request types

* chore: clean up unused import

* fix: log session_ping event

* fix: log incoming `session_event`

* chore: upgrade client@2.0.0-beta.55 -> sign-client@2.0.0-beta.56

* chore: integrate beta.57

* New beta changes (#24)

* smal lchange

* fix types

* Add package info

* format empty methods / events

* Update deps

* adjust styles

* attempt ios layout fix

* Revert "attempt ios layout fix"

This reverts commit f0176f2ef52f338980ee54e75a767b3d452733f2.

* beta.54

* fix build

* Update to beta 55

* Add todos

* update wallet to beta 56

* Update mumbai rpc add logger

* update to beta 57

* chore: adds note on beta.100 compatibility

* plock

* beta.58

* beta.100;

Co-authored-by: Ilja <idaderko@gmail.com>
Co-authored-by: Ben Kremer <ben@walletconnect.com>
Co-authored-by: Ilja <IljaDaderko@users.noreply.github.com>
2022-05-30 11:46:15 +02:00
Ilja
572280f7b4 adjust styling of copy btn tooltip 2022-02-22 13:52:20 +02:00
Ilja
590551fa92 Add ability to copy account address 2022-02-22 13:50:08 +02:00
Ilja
c94076a35c prep session and pairing pages 2022-02-16 15:46:42 +02:00
Ilja
e2ac17957e Wrap up eth_sign and personal_sign examples 2022-02-14 15:38:09 +02:00
Ilja
de05b8c82c Refactor wallet into util, restore from mnemonic, prep for session page 2022-02-14 12:10:44 +02:00
Ilja
364661955a Nav menu 2022-02-08 16:07:19 +02:00
Ilja
27905179a1 re-factor wc into its own store 2022-02-07 13:02:26 +02:00
Ilja
10b21b3d1c Adjust styles 2022-02-04 16:53:21 +02:00
Ilja
b79d0c533b Account card component and helper utils 2022-02-04 16:31:23 +02:00
Ilja
9b0eff96b5 Use next-themes for dark / light mode support 2022-02-04 15:02:46 +02:00