@loafmarkets/shared-types 1.0.17 → 1.0.18

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.17",
3
+ "version": "1.0.18",
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.14",
23
+ "@loafmarkets/shared-types": "1.0.17",
24
24
  "zod": "^4.2.1"
25
25
  },
26
26
  "devDependencies": {
@@ -9,13 +9,14 @@ message Order {
9
9
  uint32 property_id = 3;
10
10
  uint64 price = 4;
11
11
  uint32 quantity = 5;
12
- OrderSide side = 6;
13
- OrderType type = 7;
14
- TimeInForce time_in_force = 8;
15
- int64 deadline = 9;
16
- string signature = 10;
17
- string wallet_address = 11;
18
- string nonce = 12;
12
+ uint32 quantity_remaining = 6;
13
+ OrderSide side = 7;
14
+ OrderType type = 8;
15
+ TimeInForce time_in_force = 9;
16
+ int64 deadline = 10;
17
+ string signature = 11;
18
+ string wallet_address = 12;
19
+ string nonce = 13;
19
20
  }
20
21
 
21
22
  enum OrderSide {
@@ -64,6 +65,14 @@ message TradeExecution {
64
65
  string buyer_signature = 16;
65
66
  string seller_signature = 17;
66
67
  string cpp_signature = 18;
68
+ uint64 buy_price = 19;
69
+ uint32 buy_quantity = 20;
70
+ uint32 buy_quantity_remaining = 21;
71
+ int64 buy_deadline = 22;
72
+ uint64 sell_price = 23;
73
+ uint32 sell_quantity = 24;
74
+ uint32 sell_quantity_remaining = 25;
75
+ int64 sell_deadline = 26;
67
76
  }
68
77
 
69
78
  // Order book