c46d590
Thanks @nobrayner! - All emitted events are now delayed by a millisecond to allow the machine's context to settle after executing actions. This resolves issues with trying to access accounts or chain from lotw upon receiving an event.
bb9afea
Thanks @nobrayner! - Removes the first next call when subscribing to lotw events, as it isn't inline with expectations
71e2fc5
Thanks @nobrayner! - Added tags to states for better querying of current state. Rearranged states to better represent what is happening.
71e2fc5
Thanks @nobrayner! - Added an initialization event that reports the state LOTW has settled on. This allows for waiting for LOTW to start and knowing if it is connected or disconnected.
05e279f
Thanks @nobrayner! - Fixes network switching signalling the new network can be used before it has finished connecting
c030ebc
Thanks @nobrayner! - Fixes disconnecting when switching networks. This was caused by an incorrect usage of the 'disconnect' event from wallets
000fdeb
Thanks @nobrayner! - Store wallet address as checksummed address instead of lowercase address
9214bcd
Thanks @nobrayner! - Fixed chainChanged event not unsubscribing correctly
b91e72d
Thanks @nobrayner! - Fixes issue with disconnect event being emitted even though there was no existing connection
aafc8a8
Thanks @nobrayner! - Lotw.is now correctly returns if it is in the requested state
d01b39f
Thanks @alexarcombe! - Fixed emitted event from connected to ensure that XState has settled on this state, this fixes a race condition when trying to read the connector when recieving the connected event.
4c456ac
Thanks @nobrayner! - Added the ability to quickly reference accounts and chainId from lotw instance
-
809cd8b
Thanks @nobrayner! - Fixes #19. Disconnects the currently connected connector when connecting while already connected -
809cd8b
Thanks @nobrayner! - Fixes #17. Closing the Wallet Connect QR Modal now correctly disposes the modal state, allowing for a second attempt. -
e47cc81
Thanks @nobrayner! - Disconnecting WalletConnect session from your wallet now disconnects Lotw -
2b46f5d
Thanks @nobrayner! - Subscribing to Lotw will notify the current state immediately, and then any updates will come through as normal. This fixes hangs while waiting for Lotw to change
c196542
Thanks @nobrayner! - Fixed disconnect event being emitted after failed connect attempts. The disconnected event will now only be emitted when the state changes from connected to disconnected.
b9343f7
Thanks @nobrayner! - FixedLotwEvent
not being exported. Oops.
-
#14
67db69d
Thanks @nobrayner! - Implementxstate.Subscribable
for Lotw instances. This allows an Lotw instance to be invoked as a service in other machines. -
f03922d
Thanks @nobrayner! - AddedInferConnectorIds
type to more easily infer the configured connector ids
- #10
23624cf
Thanks @nobrayner! - AddedLotw.is
to query the current state of the underlying machine.
2188eb0
Thanks @nobrayner! - Fixed typo in exports for metamask connector
5c01ca2
Thanks @nobrayner! - Fixed react entry point. FML
768bf71
Thanks @nobrayner! - Fixed multiple entry points. Really. I promise it's right this time!
4cafde6
Thanks @nobrayner! - Fixed package inclusions... Oops
- #3
c1403de
Thanks @nobrayner! - Fixed node resolution hopefully
- #2
8599ca7
Thanks @nobrayner! - Connectors are now split completely for better tree-shaking (hopefully)