Skip to content

Releases: Bvvvp009/lighter-ts

v1.0.13 - Added Robinhood Mainnet and testnet support

Choose a tag to compare

@Bvvvp009 Bvvvp009 released this 10 Jul 22:23
  • Easily switch between the RObinhood and Lighter Mainnet and testnet from .env

v1.0.12 - integrator/self-trade/UTA features, waitForTransaction fix, release cleanup

Choose a tag to compare

@Bvvvp009 Bvvvp009 released this 28 Jun 17:36

1. Adds integrator fee-routing, self-trade prevention, UTA/per-asset margin
toggles, RFQ, staking, bridge intent addresses, and tokenlist API support,
each with live-mainnet-tested examples.

2.Fixes a waitForTransaction() bug
that caused false timeouts on already-committed transactions (the root
cause of most "confirmation pending" warnings across examples).

3.Rebuilds
the WASM signer against the latest lighter-go reference, syncs the
package version across package.json/src/index.ts, cleans up documentation
(README, examples/README, GettingStarted, SignerClient, MigrationGuide)

v1.0.9 - Added ESM support and latest APIs

Choose a tag to compare

@Bvvvp009 Bvvvp009 released this 28 Feb 16:09

Title: Top 3 Breaking Changes in v1.0.9

Module packaging switched to ESM-first

Package type moved from CommonJS to module, with new CJS/ESM/UMD outputs and exports map.
Break risk: projects relying on old direct paths like dist/index.js or older CommonJS resolution assumptions.
SignerClient.createUnifiedOrder() removed

The legacy unified-order flow is no longer present.
Migration: use grouped-order APIs (createOcoOrder, createOtocoOrder, and grouped order helpers) instead.
Order API trade methods changed shape

OrderApi.getRecentTrades() / OrderApi.getTrades() now return a Trades object (not raw Trade[]), and getTrades uses TradesQueryParams.
Break risk: existing code expecting arrays or old parameter structure will fail type checks/runtime assumptions.