@triadxyz/triad-protocol 1.7.7-beta → 1.7.8-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.
@@ -113,7 +113,7 @@ const formatUserTrade = (account, publicKey) => {
113
113
  totalDeposits: account.totalDeposits.toString(),
114
114
  totalWithdraws: account.totalWithdraws.toString(),
115
115
  openedOrders: account.openedOrders.toString(),
116
- orders: account.orders.map((order) => (0, exports.formatOrder)(order)),
116
+ orders: account.orders.map((order) => (0, exports.formatOrder)(order, publicKey.toString())),
117
117
  nonce: account.nonce.toString(),
118
118
  poseidon: account.poseidon ? account.poseidon.toString() : '',
119
119
  isSubUser: account.isSubUser
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triadxyz/triad-protocol",
3
- "version": "1.7.7-beta",
3
+ "version": "1.7.8-beta",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",