@triadxyz/triad-protocol 2.4.0-beta → 2.4.1-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.
@@ -178,10 +178,10 @@ const getOrderDirection = (direction) => {
178
178
  };
179
179
  exports.getOrderDirection = getOrderDirection;
180
180
  const getOrderDirectionFromNumber = (direction) => {
181
- if (direction === 1) {
181
+ if (direction === 0) {
182
182
  return types_1.OrderDirection.HYPE;
183
183
  }
184
- if (direction === 2) {
184
+ if (direction === 1) {
185
185
  return types_1.OrderDirection.FLOP;
186
186
  }
187
187
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triadxyz/triad-protocol",
3
- "version": "2.4.0-beta",
3
+ "version": "2.4.1-beta",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",