Skip to content

Latest commit

 

History

History
143 lines (72 loc) · 7.57 KB

CHANGELOG.md

File metadata and controls

143 lines (72 loc) · 7.57 KB

lotw

3.0.2

Patch Changes

  • 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.

3.0.1

Patch Changes

  • bb9afea Thanks @nobrayner! - Removes the first next call when subscribing to lotw events, as it isn't inline with expectations

3.0.0

Major Changes

  • 71e2fc5 Thanks @nobrayner! - Added tags to states for better querying of current state. Rearranged states to better represent what is happening.

Patch Changes

  • 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.

2.0.2

Patch Changes

  • 05e279f Thanks @nobrayner! - Fixes network switching signalling the new network can be used before it has finished connecting

2.0.1

Patch Changes

  • c030ebc Thanks @nobrayner! - Fixes disconnecting when switching networks. This was caused by an incorrect usage of the 'disconnect' event from wallets

2.0.0

Major Changes

  • 000fdeb Thanks @nobrayner! - Store wallet address as checksummed address instead of lowercase address

1.3.4

Patch Changes

1.3.3

Patch Changes

  • b91e72d Thanks @nobrayner! - Fixes issue with disconnect event being emitted even though there was no existing connection

1.3.2

Patch Changes

  • aafc8a8 Thanks @nobrayner! - Lotw.is now correctly returns if it is in the requested state

1.3.1

Patch Changes

  • 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.

1.3.0

Minor Changes

  • 4c456ac Thanks @nobrayner! - Added the ability to quickly reference accounts and chainId from lotw instance

Patch Changes

  • 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

1.2.2

Patch Changes

  • 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.

1.2.1

Patch Changes

1.2.0

Minor Changes

  • #14 67db69d Thanks @nobrayner! - Implement xstate.Subscribable for Lotw instances. This allows an Lotw instance to be invoked as a service in other machines.

  • f03922d Thanks @nobrayner! - Added InferConnectorIds type to more easily infer the configured connector ids

1.1.0

Minor Changes

  • #10 23624cf Thanks @nobrayner! - Added Lotw.is to query the current state of the underlying machine.

1.0.6

Patch Changes

1.0.5

Patch Changes

1.0.4

Patch Changes

  • 768bf71 Thanks @nobrayner! - Fixed multiple entry points. Really. I promise it's right this time!

1.0.3

Patch Changes

1.0.2

Patch Changes

1.0.1

Patch Changes

  • #2 8599ca7 Thanks @nobrayner! - Connectors are now split completely for better tree-shaking (hopefully)