@triadxyz/triad-protocol 1.5.7-beta → 1.5.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.
Files changed (2) hide show
  1. package/dist/trade.js +1 -2
  2. package/package.json +1 -1
package/dist/trade.js CHANGED
@@ -149,7 +149,7 @@ class Trade {
149
149
  }
150
150
  let status = Object.keys(order.status)[0];
151
151
  if (status !== 'open') {
152
- nonce = userTrade.nonce;
152
+ nonce = userTrade.isSubUser ? Number(userTrade.nonce) : 0;
153
153
  }
154
154
  });
155
155
  }
@@ -193,7 +193,6 @@ class Trade {
193
193
  }
194
194
  try {
195
195
  userTradePDA = yield this.getUserTradeNonceWithSlots(myUserTrades);
196
- console.log(userTradePDA);
197
196
  }
198
197
  catch (_a) {
199
198
  const mainUserTrade = myUserTrades.find((userTrade) => !userTrade.isSubUser);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triadxyz/triad-protocol",
3
- "version": "1.5.7-beta",
3
+ "version": "1.5.8-beta",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",