@0xmonaco/types 1.1.1 → 1.1.2-develop.3a25169

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
@@ -237,8 +237,6 @@ interface TradingPair {
237
237
  marketType: TradingMode;
238
238
  category: string;
239
239
  isActive: boolean;
240
- makerFeeBps: number;
241
- takerFeeBps: number;
242
240
  minOrderSize: string;
243
241
  maxOrderSize: string;
244
242
  quantityStepSize: string;
@@ -54,10 +54,6 @@ export interface TradingPair {
54
54
  * `CROSS_MARGIN_NOT_ALLOWED`; open the position with `marginMode: "ISOLATED"`.
55
55
  */
56
56
  isolatedOnly: boolean;
57
- /** Maker fee in basis points */
58
- makerFeeBps: number;
59
- /** Taker fee in basis points */
60
- takerFeeBps: number;
61
57
  /** Minimum order size */
62
58
  minOrderSize: string;
63
59
  /** Maximum order size */
@@ -602,10 +602,6 @@ export interface UserProfile {
602
602
  accountType: string;
603
603
  /** Whether the user can withdraw funds */
604
604
  canWithdraw: boolean;
605
- /** Taker fee rate in basis points */
606
- takerFeeBps: number;
607
- /** Maker fee rate in basis points */
608
- makerFeeBps: number;
609
605
  /** Account creation timestamp (ISO string) */
610
606
  createdAt: string;
611
607
  /** Additional taker fee in basis points contributed by the application (if any) */
@@ -10,7 +10,11 @@ import type { Address } from "viem";
10
10
  *
11
11
  * Every `balance_update` carries one spot `user_balances` row. Its
12
12
  * producer-owned `version`, when present, is scoped to the authenticated
13
- * user/application and token: higher is newer, equal is idempotent. `fee` and `rebate` accompany a
13
+ * user/application and token: higher is newer, equal is idempotent. `lock`
14
+ * is sent when a spot order's remainder rests on the book, and `unlock` when
15
+ * that lock is released (cancel, partial cancel, expiry, a replace whose
16
+ * replacement doesn't rest on the same row, batch cancel). Market, IOC and FOK orders never rest and send neither; a step
17
+ * that also fills on the row sends only its `trade` frame. `fee` and `rebate` accompany a
14
18
  * spot fill: `fee` when a taker/application fee is charged, `rebate` when a
15
19
  * maker rebate is credited. A collateral transfer that moves the spot wallet
16
20
  * row (`margin_transfer_in` / `margin_transfer_out`) sends a versioned spot
@@ -7243,20 +7243,6 @@ export interface components {
7243
7243
  * @example 2023-11-13T10:30:00Z
7244
7244
  */
7245
7245
  createdAt?: string | null;
7246
- /**
7247
- * Format: int32
7248
- * @deprecated
7249
- * @description DEPRECATED: legacy flat maker fee in bps echoed from the trading pair. Does NOT reflect the tiered fee actually charged, which is per-user and fractional. Call GET /api/v1/fees/tier for the caller's real rate.
7250
- * @example -1
7251
- */
7252
- makerFeeBps?: number | null;
7253
- /**
7254
- * Format: int32
7255
- * @deprecated
7256
- * @description DEPRECATED: legacy flat taker fee in bps echoed from the trading pair. Does NOT reflect the tiered fee actually charged, which is per-user and fractional. Call GET /api/v1/fees/tier for the caller's real rate.
7257
- * @example 5
7258
- */
7259
- takerFeeBps?: number | null;
7260
7246
  /**
7261
7247
  * Format: int32
7262
7248
  * @description Additional taker fee in basis points from application
@@ -11024,13 +11010,6 @@ export interface components {
11024
11010
  * @example true
11025
11011
  */
11026
11012
  isActive?: boolean | null;
11027
- /**
11028
- * Format: int32
11029
- * @deprecated
11030
- * @description DEPRECATED: legacy flat maker fee in bps (negative = rebate). This is the pre-tiered pair-level rate and does NOT reflect the tiered fee actually charged, which is per-user and fractional. Do not display this as the user's fee — call GET /api/v1/fees/tier for the caller's real rate.
11031
- * @example -2
11032
- */
11033
- makerFeeBps?: number | null;
11034
11013
  /**
11035
11014
  * @description Market type: SPOT or MARGIN
11036
11015
  * @example SPOT
@@ -11078,13 +11057,6 @@ export interface components {
11078
11057
  * @example BTC/USDC
11079
11058
  */
11080
11059
  symbol?: string | null;
11081
- /**
11082
- * Format: int32
11083
- * @deprecated
11084
- * @description DEPRECATED: legacy flat taker fee in bps. This is the pre-tiered pair-level rate and does NOT reflect the tiered fee actually charged, which is per-user and fractional. Do not display this as the user's fee — call GET /api/v1/fees/tier for the caller's real rate.
11085
- * @example 10
11086
- */
11087
- takerFeeBps?: number | null;
11088
11060
  /**
11089
11061
  * @description Minimum price increment
11090
11062
  * @example 0.01
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xmonaco/types",
3
- "version": "1.1.1",
3
+ "version": "1.1.2-develop.3a25169",
4
4
  "type": "module",
5
5
  "homepage": "https://docs.0xmonaco.com/sdk/typescript",
6
6
  "main": "./dist/index.js",
@@ -16,7 +16,7 @@
16
16
  "lint": "biome lint ."
17
17
  },
18
18
  "dependencies": {
19
- "@0xmonaco/contracts": "1.1.1",
19
+ "@0xmonaco/contracts": "1.1.2-develop.3a25169",
20
20
  "zod": "^4.6.7"
21
21
  },
22
22
  "peerDependencies": {