@triadxyz/triad-protocol 3.4.2-beta → 3.4.3-beta

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.
@@ -4548,7 +4548,7 @@
4548
4548
  "type": "u64"
4549
4549
  },
4550
4550
  {
4551
- "name": "total_shares",
4551
+ "name": "shares",
4552
4552
  "type": "u64"
4553
4553
  },
4554
4554
  {
@@ -4626,7 +4626,7 @@
4626
4626
  "type": "u64"
4627
4627
  },
4628
4628
  {
4629
- "name": "total_shares",
4629
+ "name": "shares",
4630
4630
  "type": "u64"
4631
4631
  },
4632
4632
  {
@@ -50,7 +50,7 @@ export type Order = {
50
50
  marketId: string;
51
51
  orderStatus: OrderStatus;
52
52
  price: string;
53
- totalShares: string;
53
+ shares: string;
54
54
  orderType: OrderType;
55
55
  orderDirection: OrderDirection;
56
56
  orderSide: OrderSide;
@@ -5639,7 +5639,7 @@ export type TriadProtocol = {
5639
5639
  type: 'u64';
5640
5640
  },
5641
5641
  {
5642
- name: 'totalShares';
5642
+ name: 'shares';
5643
5643
  type: 'u64';
5644
5644
  },
5645
5645
  {
@@ -5717,7 +5717,7 @@ export type TriadProtocol = {
5717
5717
  type: 'u64';
5718
5718
  },
5719
5719
  {
5720
- name: 'totalShares';
5720
+ name: 'shares';
5721
5721
  type: 'u64';
5722
5722
  },
5723
5723
  {
@@ -114,7 +114,7 @@ const formatOrder = (order) => {
114
114
  orderDirection: (0, exports.getOrderDirection)(order.orderDirection),
115
115
  orderSide: (0, exports.getOrderSide)(order.orderSide),
116
116
  price: order.price.toString(),
117
- totalShares: order.totalShares.toString()
117
+ shares: order.shares.toString()
118
118
  };
119
119
  };
120
120
  exports.formatOrder = formatOrder;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triadxyz/triad-protocol",
3
- "version": "3.4.2-beta",
3
+ "version": "3.4.3-beta",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",