Skip to content

Latest commit

 

History

History
453 lines (273 loc) · 16.7 KB

File metadata and controls

453 lines (273 loc) · 16.7 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.1.0 (2026-03-30)

add

  • Include PR 84 - adds signAndSubmitTransaction method
  • Add new method fetchAddress

2.0.1 (2026-03-11)

Changes

  • Update the recently included Bitget module
  • Include PRs 85 and 86

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.

Fix

  • Update Freighter module signAuthEntry method so it ignores the freighter-api types and follow a similar logic to the signMessage method uses (handle both a string and buffer response)

1.9.5 (2025-09-05)

Add

  • Update the supported wallets everytime the modal is opened instead of just when the kit instance is created

1.9.4 (2025-09-05)

Change

  • Upgrade Freighter's module so it handles the two different ways Freighter answer to the signMessage method.

1.9.3 (2025-09-03)

Change

  • Upgrade Freighter API's library to latest

Fix

  • Update the types in kit's class so it includes the new skipRequestAccess parameter

1.9.2 (2025-09-02)

Add

  • Include a skipRequestAccess parameter for devs that need to ignore the requestAccess to freighter when calling the getAddress method.

1.9.1 (2025-08-26)

Change

  • Downgrade Albedo library to 0.12.0

1.9.0 (2025-08-25)

add

  • Add a new isPlatformWrapper logic so modules can check if they are the ones that will be used by the user without the need of the user manually picking it.
  • Klever wallet module

Change

  • Update @stellar/stellar-sdk version to latest
  • Update Trezor library
  • Update Albedo library

1.8.0 (2025-08-13)

add

  • xBull message signing logic
  • Upgrade xBull Wallet Connect library version

1.7.7 (2025-07-28)

Fix

  • Allow scrolling the modal (needed for small screens)

1.7.6 (2025-07-10)

Fix

  • Make the isAvailable method for Rabet and Hana so it has a small delay to avoid checking before the extensions have placed the window object

1.7.5 (2025-06-03)

Add

  • Include a new sep43Modules function that returns a list of only wallets that follow all the SEP-0043 methods
  • Add a new filterBy parameter for both allowAllModules and sep43Modules

Change

  • Make optional providing the default module when starting the kit and instead throw an error if someone tries to use one module before it has been selected.

1.7.3 (2025-03-17)

Change

  • Change dist files so we use .mjs instead of .js, that way Next understands it needs to use the ESM version instead of the commonjs version.

1.7.2 (2025-03-14)

Fix

  • Do not show the account selector modal if the dev is passing a path for the Ledger module's method getAddress

1.7.1 (2025-03-06)

add

  • Include a new onError parameter to the createButton method so developers can listen to possible errors when getting the public key from the contract.

1.7.0 (2025-03-06)

add

  • Include a new onClosed parameter to the createButton method so developers can listen to the closed event the modal triggers.

Change

  • Upgrade the Trezor library to latest one

1.6.1 (2025-02-24)

Add

  • Fix the getAddress method in the Freighter module, the address was being returned as a blank string. It was reported in this ticket.

1.6.0 (2025-02-21)

Add

  • Add module for HOT wallet

1.5.0 (2025-02-20)

Add

  • Add method "assignButtons" to the kit

1.4.1 (2025-01-09)

Fix

  • Make the Trezor module to work with Webpack projects

1.4.0 (2024-12-20)

Add

  • Add Trezor wallets support
  • Update the returned value from the openAccountSelector method in the Ledger module.

1.3.0 (2024-12-05)

Add

  • Add Ledger wallets support
  • Add new "account selector" component which can be used by wallets based on mnemonic phrases or similar (for example hardware wallets)
  • Merge PR #48 - Add signMessage support for Hana wallet

1.2.5 (2024-11-07)

Fix

  • Add Buffer package to correctly convert the response from a signed message/auth entry with Freighter (Ticket created)
  • Check if window is undefined before using it with Rabet and Hana so it works on server side flows.

1.2.3 (2024-10-09)

Fix

  • Move the Modal component out from the Button component, we do this so the shadow DOM styles don't affect the modal component in those cases where there is a container that could prevent the modal from taking the whole screen

1.2.2 (2024-10-07)

Add

  • Add removeButton and isButtonCreated methods to the kit. These methods can be used in cases where we need to re-organize the layout of our frontend

1.2.1 (2024-09-15)

Change

  • Use xBull Wallet Connect npm package instead of the github version, this way some lints don't trigger an error.

1.2.0 (2024-08-24)

Add

  • Add a disconnect method to the KitActions interface.
  • Update WalletConnect module so it accepts a onSessionDeleted parameter.

Change

  • Upgrade all dependencies, lock them and remove those that are not used anymore.

1.1.0 (2024-08-22)

Add

  • Add the latest version of the Freighter API and update the calls to the API.
  • Add a new Button component. This new component can show the selected address, and the current XLM balance allows copying the chosen address and allows the user to "disconnect".
  • Allow listening to both "connect" and "disconnect" Button events
  • Add a new state to the kit, so we can keep the current balance and picked address to show in the Button component.
  • Add a new plugin to the build process, so it minimizes the distribution build.
  • Add a new development server to make the development of the kit easier.

1.0.0 (2024-08-11)

Change

  • BREAKING: Update all the kit interface to support SEP-0043.
  • Transform all images from .svg to .png so sites not allowing that format can load the images.

0.9.2 (2024-07-27)

Change

  • Merge of PR #33 which allows defining a custom theme to the kit's modal
  • Improve the custom theme feature so it allows more customization, also include default themes so users can use them directly if they want to

0.9.1 (2024-07-02)

Change

  • The list of wallets on the modal will now dynamically change its order based on the criteria here: #28

0.9.0 (2024-06-22)

Change

  • Allow passing a wallet connect client and modal to the kit
  • Update Lit to 2.8.0
  • Move to a Rollup bundle strategy so the kit is compatible with both Commonjs and ES Module projects
  • BREAKING: Moved from "build" distribution folder to a root style distribution
  • BREAKING: Wallet connect packages are no longer exported from the root file, import from modules/walletconnect.module.ts instead.

0.8.3 (2024-06-05)

Add

  • Merge pull #22 and add Hana Wallet to the Kit

Change

  • Update Github action to move from npm to pnpm and be able to remove the package-lock file

0.8.2 (2024-05-28)

Change

  • Change the way we request the public key from Freighter (instead of using getPublicKey we now use requestAccess because otherwise we could receive an empty string)

0.8.1 (2024-05-03)

Add

  • Introduce a timer to function isAvailable so getSupportedWallets doesn't take too much

Change

  • Update Lobstr name to LOBSTR
  • Lock and update dependencies versions

0.8.0 (2024-04-16)

Add

  • Add Lobstr extension support

0.7.0 (2024-03-15)

Add

  • Bring back Wallet Connect module

Delete

  • Demo page and dependencies for it

0.6.1 (2024-02-16)

Change

  • Get rid of the "build/main" folder for better compatibility with projects using this kit

0.6.0 (2024-02-15)

Add

  • A new bundled version of the kit is available at /build/web-bundle.js

Change

  • The UI has been updated, so it now has a mobile version and show a quick and basic explanation of what a wallet it.
  • Now when clicking on a wallet that is not installed, it will open the official wallet website.

0.5.0 (2024-01-12)

Change

  • Wallets/services are now handled as "modules" (a module is basically a driver for a wallet/service) and they all share a common interface. This way wallets' developers can create their own modules and make their products compatible with this kit.
  • BREAKING: Modules now need to be imported when starting the kit, a function called allowAllModules is included and this one will inject all the builtin modules
  • BREAKING: When creating a new instance of StellarWalletsKit, you now send the wallet id (provided either by this kit or by the third party module) instead of WalletType.
  • BREAKING: When using the modal, you need to pass the id of the selected wallet instead of the type. Check README.md for an example
  • BREAKING: allowedWallets is no longer a valid parameter for the integrated modal, instead the modal uses the modules from the kit.
  • BREAKING: WalletConnect support has been dropped, the integration got outdated and needs to be upgraded before we add it again.

0.2.0 (2024-01-12)

Change

  • Move away from Github distribution to a classic npm package distribution

0.1.4 (2023-11-16)

Change

  • Upgrade xBull-Wallet-connect library to the latest one

0.1.3 (2023-11-16)

add

  • Fix height issues (ios devices)

0.1.2 (2023-09-30)

add

  • New version of the Freighter API (1.7.0)
  • Merge PR #4

0.1.1 (2023-08-04)

add

  • New version of the Freighter API (1.6.0) which includes the new support to signing Blobs
  • Merge of PRs #1, #2 and #3 which they include the support of Blob signing for Freighter

0.1.0 (2023-06-03)

add

  • Add new modal component integrated with the wallet kit

0.0.8 (2023-05-30)

Change

  • Upgrade the packages to support the latest Freighter wallet

0.0.7 (2023-04-27)

Change

  • Fix XDR returned from Albedo didn't include the signatures

0.0.6 (2023-02-06)

Change

  • Method getSupportedWalletsis now static

0.0.5 (2022-11-23)

Add

  • Add method closeSession to allow disconnecting WalletConnect sessions from the kit

0.0.4 (2022-11-18)

Add

  • Add method getSupportedWallets

0.0.3 (2022-11-17)

Notes

  • First day of deployment