@trinaryex/sdk 2.0.0 → 3.0.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/DESIGN.md CHANGED
@@ -10,8 +10,9 @@ swagger. Remaining: npm publish (CI release workflow ready; needs NPM_TOKEN + pu
10
10
  first module, with room to grow into a higher-level, full-featured client.
11
11
  **Audience:** players and bots trading on Trinary Exchange via an API key.
12
12
  **Target (MVP):** **testnet only**, the **`stillness`** tenant; **only the most-recent (v1)
13
- `triexbook` contracts** are supported. Item↔currency (CRED) markets via `multicoin_pool`
14
- ("pools"); coin-pools are out of scope for now.
13
+ [CLOB contracts](https://github.com/loash-industries/trinary-exchange)** are supported.
14
+ Item↔currency (CRED) markets via `multicoin_pool` ("pools"); coin-pools are out of scope
15
+ for now.
15
16
  **Models after:** [`@trinaryex/keyspace`](https://www.npmjs.com/package/@trinaryex/keyspace)
16
17
  (client + `executor` pattern, `queries`/`transactions` split, zod validation, vite build,
17
18
  semantic-release).
@@ -20,11 +21,11 @@ semantic-release).
20
21
 
21
22
  ## 1. What this SDK is (and isn't)
22
23
 
23
- Trinary Exchange is a Sui-based, DeepBook-style market for an EVE-Frontier game economy.
24
+ Trinary Exchange is a Sui-based order-book market for an EVE-Frontier game economy.
24
25
  Players trade **items** (multicoin balances, priced in the **CRED** trade currency) and
25
26
  **currency** at **trade hubs** (Smart Storage Units / SSUs) through on-chain order books
26
- (the `triexbook` DeepBook fork), settling through a per-player **balance manager** (the
27
- on-chain trading account).
27
+ (the [Trinary Exchange CLOB Move contracts](https://github.com/loash-industries/trinary-exchange)),
28
+ settling through a per-player **balance manager** (the on-chain trading account).
28
29
 
29
30
  The SDK gives a player/bot one object to:
30
31
 
@@ -110,7 +111,7 @@ on the free/standard tier).
110
111
  │ (fetch + x-api-key + zod validate) │ (Postgres read models)
111
112
  │ │
112
113
  │ transactions.ts ──build PTB──► executor() │───► player's wallet / keypair
113
- │ (pure @mysten/sui Transaction builders) │ └─► Sui network (triexbook)
114
+ │ (pure @mysten/sui Transaction builders) │ └─► Sui network (CLOB contracts)
114
115
  └────────────────────────────────────────────┘
115
116
  ```
116
117
 
@@ -139,7 +140,7 @@ executor: (tx) => signAndExecuteTransaction({ transaction: tx })
139
140
 
140
141
  Executor results are **normalized** (`execute.ts`): both the v2 core-client
141
142
  `TransactionResult` and the legacy `{ digest, objectChanges }` shape work, and on-chain
142
- aborts are rethrown as typed `TransactionFailed` errors with the triexbook abort code
143
+ aborts are rethrown as typed `TransactionFailed` errors with the CLOB abort code
143
144
  translated (§11 of TRIEX_SYSTEM_DESIGN). Include `effects` + `objectTypes` (v2) or
144
145
  `objectChanges` (legacy) so created objects — e.g. a freshly-created `BalanceManager` —
145
146
  are captured for read-your-writes.
@@ -216,7 +217,7 @@ const client = new TriexClient({
216
217
  network: 'testnet', // selects package-id bundle
217
218
  executor: (tx) => signAndExecuteTransaction({ transaction: tx, options: { showObjectChanges: true } }),
218
219
  // packageIds optional — resolved from `network` defaults, overridable:
219
- // packageIds: { triexbook, multicoin, warehouseReceipts, credCoinType, clock: '0x6', ... }
220
+ // packageIds: { triex, multicoin, warehouseReceipts, credCoinType, clock: '0x6', ... }
220
221
  })
221
222
  ```
222
223
 
@@ -279,18 +280,18 @@ pure functions `(args) => Transaction`; the facade fills object IDs from indexer
279
280
 
280
281
  | Builder | Move target | Notes |
281
282
  |---|---|---|
282
- | `newBalanceManager` | `${triexbook}::balance_manager::new()` | returns BM; `transferObjects([bm], self)` when freshly created |
283
- | `depositCoin` | `${triexbook}::balance_manager::deposit<T>(bm, coin)` | coin prepared via list/merge/split of wallet coins |
284
- | `depositMulticoinObject` | `${triexbook}::balance_manager::deposit_multicoin(bm, object)` | deposit an owned multicoin `Balance` object (wallet receipts) into BM |
285
- | `withdrawAllCoin` | `${triexbook}::balance_manager::withdraw_all<T>(bm)` → `transferObjects` | #13 |
286
- | `withdrawAllMulticoin` | `${triexbook}::balance_manager::withdraw_all_multicoin(bm, collectionId, assetId)` | #12 step 1 |
283
+ | `newBalanceManager` | `${triex}::balance_manager::new()` | returns BM; `transferObjects([bm], self)` when freshly created |
284
+ | `depositCoin` | `${triex}::balance_manager::deposit<T>(bm, coin)` | coin prepared via list/merge/split of wallet coins |
285
+ | `depositMulticoinObject` | `${triex}::balance_manager::deposit_multicoin(bm, object)` | deposit an owned multicoin `Balance` object (wallet receipts) into BM |
286
+ | `withdrawAllCoin` | `${triex}::balance_manager::withdraw_all<T>(bm)` → `transferObjects` | #13 |
287
+ | `withdrawAllMulticoin` | `${triex}::balance_manager::withdraw_all_multicoin(bm, collectionId, assetId)` | #12 step 1 |
287
288
  | `redeemReceipt` | `${warehouseReceipts}::receipt::redeem_receipt(balance, ssu, character, vaultConfig, collection, isOwner)` | #12 step 2 (BM item → hangar) |
288
- | `ownerProof` | `${triexbook}::balance_manager::generate_proof_as_owner(bm)` | required before placing/withdrawing |
289
- | `placeLimitOrderItem` | `${triexbook}::multicoin_pool::place_limit_order<Quote>(pool, bm, proof, orderType, selfMatch, price, qty, isBid, expireTs, clock)` | items (multicoin) |
290
- | `placeMarketOrderItem` | `${triexbook}::multicoin_pool::place_market_order<Quote>(pool, bm, proof, selfMatch, qty, isBid, clock)` | items (multicoin) |
291
- | `cancelOrderItem` | `${triexbook}::multicoin_pool::cancel_order<Quote>(pool, bm, proof, orderId u64, clock)` | implemented (+ `cancel_all_orders`, `modify_order`) |
292
- | `withdrawCoin` | `${triexbook}::balance_manager::withdraw<T>(bm, amount)` | partial currency withdraw |
293
- | `withdrawSettledAmounts` | `${triexbook}::multicoin_pool::withdraw_settled_amounts<Quote>(pool, bm, proof)` | claim post-fill proceeds into the BM |
289
+ | `ownerProof` | `${triex}::balance_manager::generate_proof_as_owner(bm)` | required before placing/withdrawing |
290
+ | `placeLimitOrderItem` | `${triex}::multicoin_pool::place_limit_order<Quote>(pool, bm, proof, orderType, selfMatch, price, qty, isBid, expireTs, clock)` | items (multicoin) |
291
+ | `placeMarketOrderItem` | `${triex}::multicoin_pool::place_market_order<Quote>(pool, bm, proof, selfMatch, qty, isBid, clock)` | items (multicoin) |
292
+ | `cancelOrderItem` | `${triex}::multicoin_pool::cancel_order<Quote>(pool, bm, proof, orderId u64, clock)` | implemented (+ `cancel_all_orders`, `modify_order`) |
293
+ | `withdrawCoin` | `${triex}::balance_manager::withdraw<T>(bm, amount)` | partial currency withdraw |
294
+ | `withdrawSettledAmounts` | `${triex}::multicoin_pool::withdraw_settled_amounts<Quote>(pool, bm, proof)` | claim post-fill proceeds into the BM |
294
295
 
295
296
  > `<Quote>` is the CRED coin type (`credCoinType`). Item markets are `multicoin_pool`; the
296
297
  > item is identified by `collectionId` + `assetId` (u64), not a Move type parameter.
@@ -351,8 +352,8 @@ back into the SSU/hangar (needs `ssu`, `character`, `vaultConfig`, `collection`,
351
352
 
352
353
  ## 7. Money math (`money.ts`)
353
354
 
354
- - **Coin (currency-pair) pools:** `quote = base * price / TRIEXBOOK_PRICE_SCALING`
355
- where `TRIEXBOOK_PRICE_SCALING = 1_000_000_000` (1e9).
355
+ - **Coin (currency-pair) pools:** `quote = base * price / TRIEX_PRICE_SCALING`
356
+ where `TRIEX_PRICE_SCALING = 1_000_000_000` (1e9).
356
357
  - **Multicoin (item) pools:** scaling factor `1` → `quote = price * quantity` (confirmed
357
358
  against the production app, which passes the unscaled price straight to
358
359
  `place_limit_order`; TRIEX_SYSTEM_DESIGN §7's blanket "all prices ×1e9" describes coin
package/README.md CHANGED
@@ -5,9 +5,10 @@
5
5
 
6
6
  The official TypeScript trading SDK for
7
7
  [**Trinary Exchange**](https://trinary.exchange/), the player-built
8
- **EVE Frontier marketplace** — a Sui-based, DeepBook-style order-book market
9
- for trading items and currency across EVE Frontier trade hubs. Players and
10
- bots read live **EVE Frontier market data** through the
8
+ **EVE Frontier marketplace** — a Sui-based order-book market for trading
9
+ items and currency across EVE Frontier trade hubs, built on the
10
+ [Trinary Exchange CLOB Move contracts](https://github.com/loash-industries/trinary-exchange).
11
+ Players and bots read live **EVE Frontier market data** through the
11
12
  [Trinary Exchange API](https://docs.trinary.exchange/) and trade by signing
12
13
  on-chain transactions with their own wallet or keypair.
13
14
 
@@ -251,6 +252,8 @@ node --env-file=.env scripts/integration.mjs # write paths on testnet (uses gas
251
252
  - [API documentation](https://docs.trinary.exchange/) — REST reference,
252
253
  guides, and [API keys](https://docs.trinary.exchange/docs/api-keys) for the
253
254
  Trinary Exchange trading API
255
+ - [Trinary Exchange CLOB contracts](https://github.com/loash-industries/trinary-exchange)
256
+ — the Sui Move order-book contracts this SDK talks to
254
257
  - [`@trinaryex/sdk` on npm](https://www.npmjs.com/package/@trinaryex/sdk)
255
258
  - [Design notes](./DESIGN.md) — architecture, scope, and verification history
256
259
 
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export type { AccountApi, BalancesApi, MarketApi, OrdersApi, } from './TriexClie
3
3
  export { ReadOnlyClient } from './ReadOnlyClient';
4
4
  export { TriexError, TriexClientError, explainMoveAbort } from './errors';
5
5
  export { DEFAULT_INDEXER_URL, CLOCK_ID, STILLNESS_PACKAGE_IDS, NETWORK_PRESETS, resolvePackageIds, } from './config';
6
- export { toBase, fromBase, computeItemQuote, computeBidQuoteDeposit, estimateMarketBuyCost, marketBuyRoundingBuffer, TRIEXBOOK_PRICE_SCALING, MULTICOIN_PRICE_SCALING, FEE_RATE_SCALING, GTC_EXPIRE, } from './money';
6
+ export { toBase, fromBase, computeItemQuote, computeBidQuoteDeposit, estimateMarketBuyCost, marketBuyRoundingBuffer, TRIEX_PRICE_SCALING, MULTICOIN_PRICE_SCALING, FEE_RATE_SCALING, GTC_EXPIRE, } from './money';
7
7
  export { IndexerClient } from './queries';
8
8
  export * as transactions from './transactions';
9
9
  export { getWalletCurrencyBalance, getBalanceManagerCurrencyBalance, getBalanceManagerItemBalance, getRegistryMulticoinCollectionId, findOwnedItemReceipts, fetchCharacterInfo, fetchSsuOwnerInfo, fetchInventorySlotQuantity, toSsuObjectId, getObjectRef, } from './onchain';
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ var r = Object.defineProperty, i = (e, t) => {
10
10
  });
11
11
  return t || r(n, Symbol.toStringTag, { value: "Module" }), n;
12
12
  }, a = "https://api.trinary.exchange", o = "0x6", s = {
13
- triexbook: "0x291b9da738dffedd18d7c5049e5e6792270202e03f3c9d9db4c7097670bf6eb2",
13
+ triex: "0x291b9da738dffedd18d7c5049e5e6792270202e03f3c9d9db4c7097670bf6eb2",
14
14
  triexRegistry: "0x14a58f254b8243bf3f74c057d81cc310498b3d0fe3781650ad58405d7e5f17e4",
15
15
  multicoin: "0x99a4c039477ac7e7affcb5a5609dd23c29ab69e9436e740d94a4e168c2506cfb",
16
16
  warehouseReceipts: "0x0c9d4414aa12eaa1ebf9d32437c1e6403fbf941ffcdca5b9ca16d1769313417e",
@@ -186,7 +186,7 @@ async function T(e, t, n) {
186
186
  include: { json: !0 }
187
187
  }).catch(() => null))?.object?.json, i = S(te(r?.balances)?.id);
188
188
  if (!i) return 0n;
189
- let a = `${t.triexbook}::balance_manager::BalanceKey<${t.credCoinType}>`, o = await C(e).getDynamicField({
189
+ let a = `${t.triex}::balance_manager::BalanceKey<${t.credCoinType}>`, o = await C(e).getDynamicField({
190
190
  parentId: i,
191
191
  name: {
192
192
  type: a,
@@ -196,7 +196,7 @@ async function T(e, t, n) {
196
196
  return o ? BigInt(ee.parse(o.dynamicField.value.bcs)) : 0n;
197
197
  }
198
198
  async function ie(e, t, n, r, i) {
199
- let a = `${t.triexbook}::balance_manager::MultiCoinBalanceKey`, o = await C(e).getDynamicObjectField({
199
+ let a = `${t.triex}::balance_manager::MultiCoinBalanceKey`, o = await C(e).getDynamicObjectField({
200
200
  parentId: n,
201
201
  name: {
202
202
  type: a,
@@ -215,7 +215,7 @@ async function ie(e, t, n, r, i) {
215
215
  };
216
216
  }
217
217
  async function E(e, n) {
218
- let r = `${n.triexbook}::registry::MultiCoinCollectionKey`, i = await C(e).getDynamicField({
218
+ let r = `${n.triex}::registry::MultiCoinCollectionKey`, i = await C(e).getDynamicField({
219
219
  parentId: n.triexRegistry,
220
220
  name: {
221
221
  type: r,
@@ -335,46 +335,46 @@ var ae = /* @__PURE__ */ i({
335
335
  });
336
336
  function j(e, t) {
337
337
  return e.moveCall({
338
- target: `${t.triexbook}::balance_manager::new`,
338
+ target: `${t.triex}::balance_manager::new`,
339
339
  arguments: []
340
340
  });
341
341
  }
342
342
  function M(e, t, n) {
343
343
  return e.moveCall({
344
- target: `${t.triexbook}::balance_manager::generate_proof_as_owner`,
344
+ target: `${t.triex}::balance_manager::generate_proof_as_owner`,
345
345
  arguments: [n]
346
346
  });
347
347
  }
348
348
  function N(e, t, n, r, i = t.credCoinType) {
349
349
  e.moveCall({
350
- target: `${t.triexbook}::balance_manager::deposit`,
350
+ target: `${t.triex}::balance_manager::deposit`,
351
351
  typeArguments: [i],
352
352
  arguments: [n, r]
353
353
  });
354
354
  }
355
355
  function oe(e, t, n, r) {
356
356
  e.moveCall({
357
- target: `${t.triexbook}::balance_manager::deposit_multicoin`,
357
+ target: `${t.triex}::balance_manager::deposit_multicoin`,
358
358
  arguments: [n, e.object(r)]
359
359
  });
360
360
  }
361
361
  function se(e, t, n, r, i = t.credCoinType) {
362
362
  return e.moveCall({
363
- target: `${t.triexbook}::balance_manager::withdraw`,
363
+ target: `${t.triex}::balance_manager::withdraw`,
364
364
  typeArguments: [i],
365
365
  arguments: [n, e.pure.u64(r)]
366
366
  });
367
367
  }
368
368
  function ce(e, t, n, r = t.credCoinType) {
369
369
  return e.moveCall({
370
- target: `${t.triexbook}::balance_manager::withdraw_all`,
370
+ target: `${t.triex}::balance_manager::withdraw_all`,
371
371
  typeArguments: [r],
372
372
  arguments: [n]
373
373
  });
374
374
  }
375
375
  function le(e, t, n, r, i) {
376
376
  return e.moveCall({
377
- target: `${t.triexbook}::balance_manager::withdraw_all_multicoin`,
377
+ target: `${t.triex}::balance_manager::withdraw_all_multicoin`,
378
378
  arguments: [
379
379
  n,
380
380
  e.pure.id(r),
@@ -422,13 +422,13 @@ function P(e, t, n, r) {
422
422
  s
423
423
  ]
424
424
  }), e.moveCall({
425
- target: `${t.triexbook}::balance_manager::deposit_multicoin`,
425
+ target: `${t.triex}::balance_manager::deposit_multicoin`,
426
426
  arguments: [n, c]
427
427
  });
428
428
  }
429
429
  function F(e, t, n) {
430
430
  e.moveCall({
431
- target: `${t.triexbook}::multicoin_pool::place_limit_order`,
431
+ target: `${t.triex}::multicoin_pool::place_limit_order`,
432
432
  typeArguments: [t.credCoinType],
433
433
  arguments: [
434
434
  e.object(n.poolId),
@@ -446,7 +446,7 @@ function F(e, t, n) {
446
446
  }
447
447
  function I(e, t, n) {
448
448
  e.moveCall({
449
- target: `${t.triexbook}::multicoin_pool::place_market_order`,
449
+ target: `${t.triex}::multicoin_pool::place_market_order`,
450
450
  typeArguments: [t.credCoinType],
451
451
  arguments: [
452
452
  e.object(n.poolId),
@@ -461,7 +461,7 @@ function I(e, t, n) {
461
461
  }
462
462
  function L(e, t, n) {
463
463
  e.moveCall({
464
- target: `${t.triexbook}::multicoin_pool::cancel_order`,
464
+ target: `${t.triex}::multicoin_pool::cancel_order`,
465
465
  typeArguments: [t.credCoinType],
466
466
  arguments: [
467
467
  e.object(n.poolId),
@@ -474,7 +474,7 @@ function L(e, t, n) {
474
474
  }
475
475
  function R(e, t, n) {
476
476
  e.moveCall({
477
- target: `${t.triexbook}::multicoin_pool::cancel_all_orders`,
477
+ target: `${t.triex}::multicoin_pool::cancel_all_orders`,
478
478
  typeArguments: [t.credCoinType],
479
479
  arguments: [
480
480
  e.object(n.poolId),
@@ -486,7 +486,7 @@ function R(e, t, n) {
486
486
  }
487
487
  function z(e, t, n) {
488
488
  e.moveCall({
489
- target: `${t.triexbook}::multicoin_pool::modify_order`,
489
+ target: `${t.triex}::multicoin_pool::modify_order`,
490
490
  typeArguments: [t.credCoinType],
491
491
  arguments: [
492
492
  e.object(n.poolId),
@@ -500,7 +500,7 @@ function z(e, t, n) {
500
500
  }
501
501
  function B(e, t, n) {
502
502
  e.moveCall({
503
- target: `${t.triexbook}::multicoin_pool::withdraw_settled_amounts`,
503
+ target: `${t.triex}::multicoin_pool::withdraw_settled_amounts`,
504
504
  typeArguments: [n.quoteCoinType ?? t.credCoinType],
505
505
  arguments: [
506
506
  e.object(n.poolId),
@@ -1099,7 +1099,7 @@ var X = class {
1099
1099
  }
1100
1100
  async resolveBalanceManagerId(e) {
1101
1101
  if (this.cachedBalanceManagerId) return this.cachedBalanceManagerId;
1102
- let t = `${this.ids.triexbook}::balance_manager::BalanceManager`, n = (await this.suiClient.core.listOwnedObjects({
1102
+ let t = `${this.ids.triex}::balance_manager::BalanceManager`, n = (await this.suiClient.core.listOwnedObjects({
1103
1103
  owner: e,
1104
1104
  type: t,
1105
1105
  limit: 1
@@ -1587,4 +1587,4 @@ async function et(e, t) {
1587
1587
  }
1588
1588
  }
1589
1589
  //#endregion
1590
- export { o as CLOCK_ID, a as DEFAULT_INDEXER_URL, W as FEE_RATE_SCALING, fe as GTC_EXPIRE, X as IndexerClient, U as MULTICOIN_PRICE_SCALING, c as NETWORK_PRESETS, Ge as ReadOnlyClient, s as STILLNESS_PACKAGE_IDS, de as TRIEXBOOK_PRICE_SCALING, ze as TriexClient, d as TriexClientError, u as TriexError, Ke as aggregateLevels, $ as bestAsk, Q as bestBid, K as computeBidQuoteDeposit, G as computeItemQuote, Ye as depth, ge as estimateMarketBuyCost, m as executeAndNormalize, p as explainMoveAbort, O as fetchCharacterInfo, A as fetchInventorySlotQuantity, k as fetchSsuOwnerInfo, g as findCreatedObject, D as findOwnedItemReceipts, me as fromBase, T as getBalanceManagerCurrencyBalance, ie as getBalanceManagerItemBalance, ne as getObjectRef, E as getRegistryMulticoinCollectionId, re as getWalletCurrencyBalance, Ze as iterateDiscovery, Qe as iterateFills, $e as iterateTrades, he as marketBuyRoundingBuffer, qe as midPrice, h as normalizeExecuteResult, V as prepareWalletCoinInput, l as resolvePackageIds, H as sourceItemsIntoBalanceManager, Je as spread, pe as toBase, w as toSsuObjectId, ae as transactions, et as untilIndexed, Xe as vwap };
1590
+ export { o as CLOCK_ID, a as DEFAULT_INDEXER_URL, W as FEE_RATE_SCALING, fe as GTC_EXPIRE, X as IndexerClient, U as MULTICOIN_PRICE_SCALING, c as NETWORK_PRESETS, Ge as ReadOnlyClient, s as STILLNESS_PACKAGE_IDS, de as TRIEX_PRICE_SCALING, ze as TriexClient, d as TriexClientError, u as TriexError, Ke as aggregateLevels, $ as bestAsk, Q as bestBid, K as computeBidQuoteDeposit, G as computeItemQuote, Ye as depth, ge as estimateMarketBuyCost, m as executeAndNormalize, p as explainMoveAbort, O as fetchCharacterInfo, A as fetchInventorySlotQuantity, k as fetchSsuOwnerInfo, g as findCreatedObject, D as findOwnedItemReceipts, me as fromBase, T as getBalanceManagerCurrencyBalance, ie as getBalanceManagerItemBalance, ne as getObjectRef, E as getRegistryMulticoinCollectionId, re as getWalletCurrencyBalance, Ze as iterateDiscovery, Qe as iterateFills, $e as iterateTrades, he as marketBuyRoundingBuffer, qe as midPrice, h as normalizeExecuteResult, V as prepareWalletCoinInput, l as resolvePackageIds, H as sourceItemsIntoBalanceManager, Je as spread, pe as toBase, w as toSsuObjectId, ae as transactions, et as untilIndexed, Xe as vwap };
package/dist/money.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const TRIEXBOOK_PRICE_SCALING = 1000000000n;
1
+ export declare const TRIEX_PRICE_SCALING = 1000000000n;
2
2
  export declare const MULTICOIN_PRICE_SCALING = 1n;
3
3
  export declare const FEE_RATE_SCALING = 1000000000n;
4
4
  export declare const GTC_EXPIRE = 18446744073709551615n;
package/dist/types.d.ts CHANGED
@@ -19,7 +19,7 @@ export interface TxResult {
19
19
  }
20
20
  export type TriexNetwork = 'testnet';
21
21
  export interface PackageIds {
22
- triexbook: string;
22
+ triex: string;
23
23
  triexRegistry: string;
24
24
  multicoin: string;
25
25
  warehouseReceipts: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trinaryex/sdk",
3
- "version": "2.0.0",
3
+ "version": "3.0.0",
4
4
  "description": "Trading SDK for Trinary Exchange — market data, order books, and on-chain trading (Sui) for bots, analytics tools, and CLIs.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -104,7 +104,7 @@
104
104
  "marketplace",
105
105
  "market-data",
106
106
  "trading-bot",
107
- "deepbook"
107
+ "clob"
108
108
  ],
109
109
  "sideEffects": false,
110
110
  "repository": {