lcx-liberty-sdk 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  TypeScript client for the [LCX Liberty DEX](https://dex.lcx.com/business)
4
4
  DEX aggregator. Best-execution routing across Ethereum, Base, Arbitrum,
5
- OP Mainnet, BNB Chain, Polygon, Avalanche and Robinhood Chain, priced from our
6
- own pool index.
5
+ OP Mainnet, BNB Chain, Polygon, Avalanche, Robinhood Chain, Unichain, Monad,
6
+ HyperEVM and Arc, priced from our own pool index.
7
7
 
8
8
  Zero dependencies. Node 18+, Deno, Bun, Workers, browser.
9
9
 
@@ -161,7 +161,7 @@ records:
161
161
  | Contract | Chains | Address |
162
162
  |---|---|---|
163
163
  | Router proxy (the `spender`: swaps, cross-chain and the multi token swap) | Ethereum, Base, Arbitrum, OP Mainnet | `0x0000000000b1ae06c96aB73FF4360d7AeAaB56F0` |
164
- | Router 2 (the same role) | BNB Chain, Polygon, Avalanche, Robinhood Chain | `0x0000000000654902B6Ed6cC240cc81CB4c4a3dff` |
164
+ | Router 2 (the same role) | BNB Chain, Polygon, Avalanche, Robinhood Chain, Unichain, Monad, HyperEVM, Arc | `0x0000000000654902B6Ed6cC240cc81CB4c4a3dff` |
165
165
  | Fee router (deployed, reserved for integrator-fee traffic) | Ethereum, Base, Arbitrum, OP Mainnet | `0xd67aADF902d15890cb11DfB4DA3d3D90b1953Dee` |
166
166
 
167
167
  An approval is per chain and per router: a wallet that trades on a chain of
@@ -1,5 +1,5 @@
1
1
  /** Version, hosts and chain constants. Imported by every resource. */
2
- export declare const VERSION = "1.2.0";
2
+ export declare const VERSION = "1.3.0";
3
3
  /**
4
4
  * The API, where every call needs a key. Get a free one (150k calls/month, no
5
5
  * card) at https://dex.lcx.com/dashboard.
@@ -28,6 +28,10 @@ export declare const CHAINS: {
28
28
  readonly base: 8453;
29
29
  readonly arbitrum: 42161;
30
30
  readonly avalanche: 43114;
31
+ readonly unichain: 130;
32
+ readonly monad: 143;
33
+ readonly hyperevm: 999;
34
+ readonly arc: 5042;
31
35
  };
32
36
  /** The zero address, which every endpoint treats as the chain's native asset. */
33
37
  export declare const NATIVE = "0x0000000000000000000000000000000000000000";
package/dist/constants.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /** Version, hosts and chain constants. Imported by every resource. */
2
- export const VERSION = "1.2.0";
2
+ export const VERSION = "1.3.0";
3
3
  /**
4
4
  * The API, where every call needs a key. Get a free one (150k calls/month, no
5
5
  * card) at https://dex.lcx.com/dashboard.
@@ -28,6 +28,10 @@ export const CHAINS = {
28
28
  base: 8453,
29
29
  arbitrum: 42161,
30
30
  avalanche: 43114,
31
+ unichain: 130,
32
+ monad: 143,
33
+ hyperevm: 999,
34
+ arc: 5042,
31
35
  };
32
36
  /** The zero address, which every endpoint treats as the chain's native asset. */
33
37
  export const NATIVE = "0x0000000000000000000000000000000000000000";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lcx-liberty-sdk",
3
- "version": "1.2.0",
4
- "description": "TypeScript SDK for the LCX Liberty DEX aggregator. Best-execution routing across Ethereum, Base, Arbitrum, OP Mainnet, BNB Chain, Polygon, Avalanche and Robinhood Chain.",
3
+ "version": "1.3.0",
4
+ "description": "TypeScript SDK for the LCX Liberty DEX aggregator. Best-execution routing across Ethereum, Base, Arbitrum, OP Mainnet, BNB Chain, Polygon, Avalanche, Robinhood Chain, Unichain, Monad, HyperEVM and Arc.",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",