@0xmonaco/types 1.0.32 → 1.0.33

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.
@@ -2,7 +2,7 @@
2
2
  * User Balance WebSocket Event Types
3
3
  *
4
4
  * Types for real-time user balance update events.
5
- * This is an authenticated channel - requires JWT token.
5
+ * This is an authenticated channel - requires the signed session-key handshake.
6
6
  */
7
7
  import type { Address } from "viem";
8
8
  /**
@@ -2,5 +2,5 @@
2
2
  * User Balance WebSocket Event Types
3
3
  *
4
4
  * Types for real-time user balance update events.
5
- * This is an authenticated channel - requires JWT token.
5
+ * This is an authenticated channel - requires the signed session-key handshake.
6
6
  */
@@ -2,7 +2,7 @@
2
2
  * User Movement WebSocket Event Types
3
3
  *
4
4
  * Types for real-time user ledger movement events (deposits, withdrawals, transfers).
5
- * This is an authenticated channel - requires JWT token.
5
+ * This is an authenticated channel - requires the signed session-key handshake.
6
6
  */
7
7
  import type { Address } from "viem";
8
8
  /**
@@ -2,5 +2,5 @@
2
2
  * User Movement WebSocket Event Types
3
3
  *
4
4
  * Types for real-time user ledger movement events (deposits, withdrawals, transfers).
5
- * This is an authenticated channel - requires JWT token.
5
+ * This is an authenticated channel - requires the signed session-key handshake.
6
6
  */
@@ -1496,8 +1496,17 @@ export interface paths {
1496
1496
  * Batch replace orders
1497
1497
  * @description Batch replace orders.
1498
1498
  *
1499
- * Replace multiple orders in a single batch. Each order is processed
1500
- * sequentially through the matching engine.
1499
+ * Replace multiple orders in one engine step with per-item results: every
1500
+ * original is cancelled first, then each replacement is placed in request
1501
+ * order. A
1502
+ * two-sided quote can therefore shift across its own resting prices in one
1503
+ * call, and a replacement may use funds freed by any original in the batch.
1504
+ *
1505
+ * Failure semantics: an item that fails validation, or whose original
1506
+ * cannot be found, leaves the original resting. An item whose replacement
1507
+ * fails to PLACE (for example insufficient balance or self-trade
1508
+ * prevention) reports the error with its original already cancelled — the
1509
+ * original is never silently left resting after a failed replacement.
1501
1510
  */
1502
1511
  post: operations["batch_replace_orders"];
1503
1512
  delete?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xmonaco/types",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,7 +20,7 @@
20
20
  "lint": "biome lint ."
21
21
  },
22
22
  "dependencies": {
23
- "@0xmonaco/contracts": "1.0.32",
23
+ "@0xmonaco/contracts": "1.0.33",
24
24
  "zod": "^4.1.12"
25
25
  },
26
26
  "peerDependencies": {