@loafmarkets/shared-types 1.0.14 → 1.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loafmarkets/shared-types",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "Shared contracts for Loaf Markets frontend, backend, and matching engine.",
5
5
  "type": "module",
6
6
  "private": false,
@@ -20,7 +20,7 @@
20
20
  "keywords": [],
21
21
  "author": "Cohen",
22
22
  "dependencies": {
23
- "@loafmarkets/shared-types": "1.0.7",
23
+ "@loafmarkets/shared-types": "1.0.14",
24
24
  "zod": "^4.2.1"
25
25
  },
26
26
  "devDependencies": {
@@ -64,6 +64,12 @@ message TradeExecution {
64
64
  string buyer_signature = 16;
65
65
  string seller_signature = 17;
66
66
  string cpp_signature = 18;
67
+ uint64 buy_price = 19;
68
+ uint32 buy_quantity = 20;
69
+ int64 buy_deadline = 21;
70
+ uint64 sell_price = 22;
71
+ uint32 sell_quantity = 23;
72
+ int64 sell_deadline = 24;
67
73
  }
68
74
 
69
75
  // Order book
@@ -143,7 +149,8 @@ message CancelOrderResponse {
143
149
 
144
150
  message OrderCancelled {
145
151
  uint64 order_id = 1;
146
- uint32 property_id = 2;
152
+ uint32 property_id = 2;
153
+ int64 timestamp = 3;
147
154
  }
148
155
 
149
156
  // --------------------------------------------------------------