@0xmonaco/react 1.0.53 → 1.0.55
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.
|
@@ -857,11 +857,13 @@ export function orderFromEvent(event) {
|
|
|
857
857
|
// Read from the ACKNOWLEDGEMENT only, and then left alone:
|
|
858
858
|
// `updateOrderFromEvent` spreads the existing order and never rewrites this
|
|
859
859
|
// field, so the value learned here survives every later event. That is
|
|
860
|
-
// load-bearing rather than incidental
|
|
861
|
-
//
|
|
862
|
-
//
|
|
863
|
-
//
|
|
864
|
-
//
|
|
860
|
+
// load-bearing rather than incidental. Maker fills DO carry `postOnly`
|
|
861
|
+
// now, but not every frame does: a server predating maker-fill support
|
|
862
|
+
// omits it there, and the `OrderCancelled` reporting an IOC/market
|
|
863
|
+
// order's remainder is a payload that declares no `post_only` at all. So
|
|
864
|
+
// re-deriving the field per event would still clear it against those and
|
|
865
|
+
// disagree with REST. Only a real boolean is taken: anything else is not
|
|
866
|
+
// evidence the order was post-only.
|
|
865
867
|
postOnly: typeof data.postOnly === "boolean" ? data.postOnly : undefined,
|
|
866
868
|
// The local revision the merge ranks against. Without it every REST
|
|
867
869
|
// response outranks live state by default and the stream can be undone.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xmonaco/react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.55",
|
|
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/core": "1.0.
|
|
20
|
-
"@0xmonaco/types": "1.0.
|
|
19
|
+
"@0xmonaco/core": "1.0.55",
|
|
20
|
+
"@0xmonaco/types": "1.0.55"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/react": "^19.1.12",
|