apenft-js-tron 2.1.3-beta.5 → 2.1.4

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.
@@ -123,7 +123,7 @@ export async function checkOrder(contract, order) {
123
123
  return true;
124
124
  }
125
125
  export async function checkMatchOrder(contract, buy, sell) {
126
- const equalPrice = new BigNumber(sell.basePrice).gte(buy.basePrice);
126
+ const equalPrice = sell.basePrice.gte(buy.basePrice);
127
127
  if (!equalPrice) {
128
128
  throw new APENFTError({ code: '1201' });
129
129
  }
package/index.ts CHANGED
@@ -16,6 +16,7 @@ export {
16
16
  } from './src/utils/types'
17
17
  export { AssetFactory } from './src/tradeAPI/nft'
18
18
  export type { APIConfig } from './src/utils/types'
19
+
19
20
  // for APENFT market
20
21
  export {
21
22
  toBaseUnitAmount,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apenft-js-tron",
3
- "version": "2.1.3-beta.5",
3
+ "version": "2.1.4",
4
4
  "description": "Javascript SDK for the APENFT ",
5
5
  "main": "dist/index.js",
6
6
  "author": "Project APENFT Developers",