@0xmonaco/types 1.0.94 → 1.0.97

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.
@@ -47,7 +47,7 @@ export declare const TraderCodeAvailabilityResponseSchema: z.ZodObject<{
47
47
  taken: "taken";
48
48
  too_long: "too_long";
49
49
  too_short: "too_short";
50
- }>>>;
50
+ }>>, unknown>;
51
51
  }, z.core.$strip>;
52
52
  /** Schema for the set-custom-TraderCode request params (claim or edit). */
53
53
  export declare const SetTraderCodeParamsSchema: z.ZodObject<{
@@ -184,7 +184,7 @@ export interface Order {
184
184
  version?: number;
185
185
  }
186
186
  /** Stable terminal causes for accepted orders that end as CANCELLED. */
187
- export type OrderTerminalReason = "USER_REQUESTED" | "REPLACED" | "LIQUIDATION" | "INSUFFICIENT_MARGIN" | "REDUCE_ONLY_EXHAUSTED" | "POSITION_CLOSED" | "OCO_SIBLING_TRIGGERED" | "SELF_TRADE_PREVENTION" | "AUTO_DELEVERAGING" | "PRICE_BAND" | "SLIPPAGE_TOLERANCE" | "SYSTEM";
187
+ export type OrderTerminalReason = "USER_REQUESTED" | "REPLACED" | "LIQUIDATION" | "INSUFFICIENT_MARGIN" | "REDUCE_ONLY_EXHAUSTED" | "POSITION_CLOSED" | "OCO_SIBLING_TRIGGERED" | "SELF_TRADE_PREVENTION" | "AUTO_DELEVERAGING" | "PRICE_BAND" | "SLIPPAGE_TOLERANCE" | "BANKRUPTCY_PRICE" | "SYSTEM";
188
188
  /**
189
189
  * Role of the creator or order
190
190
  */
@@ -6619,7 +6619,7 @@ export interface components {
6619
6619
  */
6620
6620
  batchId?: string | null;
6621
6621
  /**
6622
- * @description Stable terminal cause for a cancelled order: USER_REQUESTED, REPLACED, LIQUIDATION, INSUFFICIENT_MARGIN, REDUCE_ONLY_EXHAUSTED, POSITION_CLOSED, OCO_SIBLING_TRIGGERED, SELF_TRADE_PREVENTION, AUTO_DELEVERAGING, PRICE_BAND, SLIPPAGE_TOLERANCE, or SYSTEM. AUTO_DELEVERAGING means auto-deleveraging closed the position your risk bucket held and this resting order was cancelled with it; you were deleveraged as a counterparty, not liquidated. PRICE_BAND means the exchange's protective price band stopped the order and its remainder was cancelled, or, on a resting perp order, that the mark moved the order past the band, where no taker may trade with it; SLIPPAGE_TOLERANCE means your own slippageToleranceBps did.
6622
+ * @description Stable terminal cause for a cancelled order: USER_REQUESTED, REPLACED, LIQUIDATION, INSUFFICIENT_MARGIN, REDUCE_ONLY_EXHAUSTED, POSITION_CLOSED, OCO_SIBLING_TRIGGERED, SELF_TRADE_PREVENTION, AUTO_DELEVERAGING, PRICE_BAND, SLIPPAGE_TOLERANCE, BANKRUPTCY_PRICE, or SYSTEM. AUTO_DELEVERAGING means auto-deleveraging closed the position your risk bucket held and this resting order was cancelled with it; you were deleveraged as a counterparty, not liquidated. PRICE_BAND means the exchange's protective price band stopped the order and its remainder was cancelled, or, on a resting perp order, that the mark moved the order past the band, where no taker may trade with it; SLIPPAGE_TOLERANCE means your own slippageToleranceBps did. BANKRUPTCY_PRICE means a resting order was cancelled because filling it would have taken its risk bucket below zero equity in liquidation zero mode (its bankruptcy price).
6623
6623
  * @example REDUCE_ONLY_EXHAUSTED
6624
6624
  */
6625
6625
  terminalReason?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xmonaco/types",
3
- "version": "1.0.94",
3
+ "version": "1.0.97",
4
4
  "type": "module",
5
5
  "homepage": "https://docs.0xmonaco.com/sdk/typescript",
6
6
  "main": "./dist/index.js",
@@ -16,8 +16,8 @@
16
16
  "lint": "biome lint ."
17
17
  },
18
18
  "dependencies": {
19
- "@0xmonaco/contracts": "1.0.94",
20
- "zod": "^4.1.12"
19
+ "@0xmonaco/contracts": "1.0.97",
20
+ "zod": "^4.6.7"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "viem": "^2.45.2"