Skip to content

v2.0.0

Latest

Choose a tag to compare

@earrietadev earrietadev released this 11 Feb 14:21

2.0.0 (2026-02-11)

Changes

  • Full refactor of the whole repository (with breaking changes)
  • Migrate into a full Deno repository with NPM builds for compatibility
  • Separate the UI, the state, and the SDK
    • The UI (modal, buttons, etc) is now using Preact with HTM instead of Lit
    • The SDK (the class StellarWalletsKit) is now a regular Deno library
    • The state part of the SDK is being used by both the UI and the SDK
  • The UI now uses a series of CSS variables that can be defined by developers to personalize the complete UI (the SDK
    makes this process easier)
  • The SDK internal state is now using the small preact/signals library instead of RxJS (aiming to reduce the kit's size)
  • The SDK now exports the internal state so developers can update it directly if they need to (tho, still not
    recommended)
  • We included 3 simple examples using vite-preact, vite-react, and create-react-app so developers can see how to use the
    library
  • The components used in the library can now be created separately if needed (but like the internal state, not
    recommended)
  • The openModal method was removed, and we now have authModal. This new method works as a regular Promise, and it
    returns the address after the user has picked their selected wallet
  • A new profile page is added to the kit's modal, so in the future, we will allow having multiple accounts and wallets
    connected, so users can switch between accounts directly from the website instead of needing to check their wallets.
  • Include a new logic for events updates from the kit, developers can `subscribe ' to updates from the kit, like changes
    in the selected address, network, module, or disconnections.
  • The kit now separates the logic between getting the address and fetching the address. This means that if the user
    hasn't interacted with the AuthModal before, it will throw an error. This will prevent issues with modules that have
    different authorization logic (for example, Freighter)
  • The kit now keeps more information in the localstorage, for example, it will remember the last Wallet Connect topic it
    used, so when using Wallet Connect, the user doesn't need to connect again and again.
  • Freighter and Lobstr are now default wallets in the wallet connect modal, this way users will see them first instead
    of regular EVM wallets.
  • Fully remove both submit and submitUrl parameters
  • And many more.