Release notes

v0.2.1

  • Minor release to update the npm README documentation. No code or behavior changes.

v0.2.0

  • Gasless Support on EVM: EVM transfers can now be gasless so users no longer need to hold native tokens to send transfers. Gas drop-off is also supported for these transfers.

  • Changes to findRoutes Interface:

    • The findRoutes method now takes a single parameter Intent. All previous options from the second parameter are merged into this object.

    • A new optional property usePermit was added to let users choose between using a permit or an on-chain approval transaction. Defaults to true (use permit).

    • Utility classes are now optionally supported. Users can pass either primitive types or use helper classes like Amount and Address for added safety and validation:

      findRoutes({
        // All properties support primitive types or utility classes
        sender: new EvmAddress("..."), // or a raw string (user handles validation)
        amount: usdc(0.5), // or a bigint in atomic units (user handles decimals)
      })
  • Changes to Tracking Interface:

    • permit-signed event renamed to message-signed to support various message types.

    • New transfer-initiated event added to signal when transfer execution begins. Helpful for UIs and monitoring.

    • New error event added, which provides detailed error data if any step in the workflow fails.

  • Routing Behavior Updates:

    • Removed redundant routes: Previously, each corridor generated two routes (permit + approval). This has been replaced with the usePermit flag in findRoutes, which defaults to true.

    • Added gasless route support as part of the available route set.

  • Timeout Handling Improvements:

    • All workflow operations are now individually timeout-controlled.

    • If a timeout occurs in an external dependency, the error event will emit a timeout flag to aid in troubleshooting and state diagnosis.

v0.1.1

  • Minor internal fixes.

v0.1.0

  • Transaction status tracking.

    • executeRoute now resolves after the transfer is fully redeemed on the destination chain, not just when the source transaction is included.

    • route.progress emits lifecycle events throughout the transfer process, including:

      • Source transaction sent.

      • Attestation received.

      • Avax hop initiated (if applicable).

      • Final redemption on the target chain.

    • route.transactionListener emits events for every transaction the user signs or pays for, giving full visibility into transaction confirmations and metadata.

    • Improved Return Value from executeRoute. Perviously it returned a simple list of transaction hashes. Now it returns a rich object containing all signed and executed transactions, attestation data, and redemption details.

v0.0.2

  • Configurable max relay fee.

  • Gas Drop-off support.

v0.0.1

  • First version of Stableit SDK.

  • Chain support: Ethereum, Avalanche, Optimism, Arbitrum, Base, Polygon, and Unichain.

  • Supported corridors: V1 → V2, V2 → V2, and V2 → V1 via Avax Hop.

  • Configurable max relay fee.

  • USDC and native gas token supported for the relay payment.

Last updated

Was this helpful?