@triadxyz/triad-protocol 2.1.7-beta → 2.1.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 -1
  2. package/package.json +1 -1
package/dist/trade.js CHANGED
@@ -229,7 +229,7 @@ class Trade {
229
229
  }
230
230
  ixs.push(yield this.program.methods
231
231
  .openOrder({
232
- amount: new bn_js_1.default(amount * Math.pow(10, constants_1.TRD_DECIMALS)),
232
+ amount: new bn_js_1.default(amountInTRD),
233
233
  direction: direction
234
234
  })
235
235
  .accounts({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triadxyz/triad-protocol",
3
- "version": "2.1.7-beta",
3
+ "version": "2.1.8-beta",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",