@0xmonaco/types 1.1.1 → 1.1.2
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.
|
@@ -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. `
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xmonaco/types",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
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.
|
|
19
|
+
"@0xmonaco/contracts": "1.1.2",
|
|
20
20
|
"zod": "^4.6.7"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|