Skip to content

v1.3.3

Choose a tag to compare

@ManimaranNCOG ManimaranNCOG released this 27 Aug 13:38
· 63 commits to main since this release

Changelog

Added

  • Event Listening Example
    • Introduced a full TypeScript example for listening to smart contract events.
    • Includes WebSocket streaming and automatic polling fallback for environments where WS is not available.
    • Demonstrates integration in React Native with proper handling of background tasks and UI updates.

Improved

  • Contract Events
    • Refactored event subscription to support:
      • Polling fallback when WebSocket is unavailable.
      • Connection status tracking (connected, disconnected, reconnecting).
      • Enhanced options for filtering and decoding event logs.
  • Documentation
    • Expanded usage guide with React Native integration details.
    • Added step-by-step example on how to subscribe, unsubscribe, and handle multiple contract events in RN apps.

Fixed

  • Provider & Wallet
    • Resolved minor issues in provider handling and wallet class related to connection states and error propagation.