apenft-js-tron 2.0.7 → 2.0.9

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 (109) hide show
  1. package/package.json +1 -1
  2. package/dist/index.d.ts +0 -9
  3. package/dist/index.js +0 -32
  4. package/dist/src/abi/APENFT721.json +0 -632
  5. package/dist/src/abi/APENFTExchange.json +0 -1601
  6. package/dist/src/abi/APENFTSharedAsset.json +0 -1045
  7. package/dist/src/abi/AuthenticatedProxy.json +0 -274
  8. package/dist/src/abi/ERC1155.json +0 -418
  9. package/dist/src/abi/ERC20.json +0 -178
  10. package/dist/src/abi/ERC20AssetProxy.json +0 -213
  11. package/dist/src/abi/ERC721v3.json +0 -446
  12. package/dist/src/abi/ExchangeHelper.json +0 -1766
  13. package/dist/src/abi/FactoryContract.json +0 -4
  14. package/dist/src/config.d.ts +0 -57
  15. package/dist/src/config.js +0 -76
  16. package/dist/src/queryAPI/graphql/accountApi.d.ts +0 -11
  17. package/dist/src/queryAPI/graphql/accountApi.js +0 -148
  18. package/dist/src/queryAPI/graphql/assetApi.d.ts +0 -15
  19. package/dist/src/queryAPI/graphql/assetApi.js +0 -204
  20. package/dist/src/queryAPI/graphql/base.d.ts +0 -37
  21. package/dist/src/queryAPI/graphql/base.js +0 -65
  22. package/dist/src/queryAPI/graphql/collectionApi.d.ts +0 -11
  23. package/dist/src/queryAPI/graphql/collectionApi.js +0 -148
  24. package/dist/src/queryAPI/graphql/gql/account.d.ts +0 -6
  25. package/dist/src/queryAPI/graphql/gql/account.js +0 -16
  26. package/dist/src/queryAPI/graphql/gql/asset.d.ts +0 -10
  27. package/dist/src/queryAPI/graphql/gql/asset.js +0 -20
  28. package/dist/src/queryAPI/graphql/gql/collection.d.ts +0 -6
  29. package/dist/src/queryAPI/graphql/gql/collection.js +0 -16
  30. package/dist/src/queryAPI/graphql/gql/fragments.d.ts +0 -8
  31. package/dist/src/queryAPI/graphql/gql/fragments.js +0 -17
  32. package/dist/src/queryAPI/graphql/gql/ranking.d.ts +0 -1
  33. package/dist/src/queryAPI/graphql/gql/ranking.js +0 -11
  34. package/dist/src/queryAPI/graphql/index.d.ts +0 -11
  35. package/dist/src/queryAPI/graphql/index.js +0 -17
  36. package/dist/src/queryAPI/graphql/rankingApi.d.ts +0 -6
  37. package/dist/src/queryAPI/graphql/rankingApi.js +0 -78
  38. package/dist/src/queryAPI/index.d.ts +0 -58
  39. package/dist/src/queryAPI/index.js +0 -771
  40. package/dist/src/queryAPI/restful/base.d.ts +0 -50
  41. package/dist/src/queryAPI/restful/base.js +0 -223
  42. package/dist/src/queryAPI/restful/index.d.ts +0 -1
  43. package/dist/src/queryAPI/restful/index.js +0 -2
  44. package/dist/src/queryAPI/restful/queryAPI.d.ts +0 -26
  45. package/dist/src/queryAPI/restful/queryAPI.js +0 -44
  46. package/dist/src/schemas/common/ERC1155/index.d.ts +0 -7
  47. package/dist/src/schemas/common/ERC1155/index.js +0 -140
  48. package/dist/src/schemas/common/ERC20/index.d.ts +0 -6
  49. package/dist/src/schemas/common/ERC20/index.js +0 -132
  50. package/dist/src/schemas/common/ERC721/index.d.ts +0 -5
  51. package/dist/src/schemas/common/ERC721/index.js +0 -128
  52. package/dist/src/schemas/common/Element/exchange.d.ts +0 -9
  53. package/dist/src/schemas/common/Element/exchange.js +0 -520
  54. package/dist/src/schemas/common/Element/registry.d.ts +0 -4
  55. package/dist/src/schemas/common/Element/registry.js +0 -29
  56. package/dist/src/schemas/common/ens.d.ts +0 -7
  57. package/dist/src/schemas/common/ens.js +0 -29
  58. package/dist/src/schemas/index.d.ts +0 -18
  59. package/dist/src/schemas/index.js +0 -82
  60. package/dist/src/schemas/schemasFunctions.d.ts +0 -24
  61. package/dist/src/schemas/schemasFunctions.js +0 -170
  62. package/dist/src/schemas/shasta/index.d.ts +0 -1
  63. package/dist/src/schemas/shasta/index.js +0 -7
  64. package/dist/src/schemas/tron/index.d.ts +0 -1
  65. package/dist/src/schemas/tron/index.js +0 -7
  66. package/dist/src/tokens/index.d.ts +0 -4
  67. package/dist/src/tokens/index.js +0 -9
  68. package/dist/src/tokens/shasta/index.d.ts +0 -1
  69. package/dist/src/tokens/shasta/index.js +0 -6
  70. package/dist/src/tokens/tron/index.d.ts +0 -1
  71. package/dist/src/tokens/tron/index.js +0 -6
  72. package/dist/src/tradeAPI/account.d.ts +0 -33
  73. package/dist/src/tradeAPI/account.js +0 -533
  74. package/dist/src/tradeAPI/approve.d.ts +0 -3
  75. package/dist/src/tradeAPI/approve.js +0 -108
  76. package/dist/src/tradeAPI/base.d.ts +0 -40
  77. package/dist/src/tradeAPI/base.js +0 -214
  78. package/dist/src/tradeAPI/contractSchemas.d.ts +0 -28
  79. package/dist/src/tradeAPI/contractSchemas.js +0 -313
  80. package/dist/src/tradeAPI/contracts.d.ts +0 -29
  81. package/dist/src/tradeAPI/contracts.js +0 -99
  82. package/dist/src/tradeAPI/index.d.ts +0 -25
  83. package/dist/src/tradeAPI/index.js +0 -343
  84. package/dist/src/tradeAPI/nft.d.ts +0 -42
  85. package/dist/src/tradeAPI/nft.js +0 -285
  86. package/dist/src/tradeAPI/orders.d.ts +0 -69
  87. package/dist/src/tradeAPI/orders.js +0 -266
  88. package/dist/src/tradeAPI/ordersApi.d.ts +0 -54
  89. package/dist/src/tradeAPI/ordersApi.js +0 -217
  90. package/dist/src/utils/Abi.d.ts +0 -18
  91. package/dist/src/utils/Abi.js +0 -473
  92. package/dist/src/utils/PromiEvent.d.ts +0 -21
  93. package/dist/src/utils/PromiEvent.js +0 -44
  94. package/dist/src/utils/check.d.ts +0 -25
  95. package/dist/src/utils/check.js +0 -626
  96. package/dist/src/utils/constants.d.ts +0 -22
  97. package/dist/src/utils/constants.js +0 -55
  98. package/dist/src/utils/error.d.ts +0 -20
  99. package/dist/src/utils/error.js +0 -172
  100. package/dist/src/utils/fees.d.ts +0 -40
  101. package/dist/src/utils/fees.js +0 -155
  102. package/dist/src/utils/helper.d.ts +0 -23
  103. package/dist/src/utils/helper.js +0 -440
  104. package/dist/src/utils/makeOrder.d.ts +0 -80
  105. package/dist/src/utils/makeOrder.js +0 -595
  106. package/dist/src/utils/types.d.ts +0 -541
  107. package/dist/src/utils/types.js +0 -167
  108. package/dist/src/utils/utils.d.ts +0 -1
  109. package/dist/src/utils/utils.js +0 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apenft-js-tron",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "description": "Javascript SDK for the APENFT ",
5
5
  "main": "dist/index.js",
6
6
  "author": "Project APENFT Developers",
package/dist/index.d.ts DELETED
@@ -1,9 +0,0 @@
1
- export { APENFTOrders } from './src/tradeAPI/index';
2
- export { APENFTQuery } from './src/queryAPI/index';
3
- export { initApprove } from './src/tradeAPI/approve';
4
- export { Network, MakeOrderType, APENFTSchemaName, OrderSide, AssetSortBy, CollectionTradeTrendFilterDays, EventType, CollectionSortBy, AssetListCollectionTypes, AssetStatus, Category, } from './src/utils/types';
5
- export { AssetFactory } from './src/tradeAPI/nft';
6
- export type { APIConfig } from './src/utils/types';
7
- export { toBaseUnitAmount, getSchemaList, makeBigNumber, } from './src/utils/helper';
8
- export { NULL_ADDRESS } from './src/utils/constants';
9
- export { APENFTError } from './src/utils/error';
package/dist/index.js DELETED
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.APENFTError = exports.NULL_ADDRESS = exports.makeBigNumber = exports.getSchemaList = exports.toBaseUnitAmount = exports.AssetFactory = exports.Category = exports.AssetStatus = exports.AssetListCollectionTypes = exports.CollectionSortBy = exports.EventType = exports.CollectionTradeTrendFilterDays = exports.AssetSortBy = exports.OrderSide = exports.APENFTSchemaName = exports.MakeOrderType = exports.Network = exports.initApprove = exports.APENFTQuery = exports.APENFTOrders = void 0;
4
- var index_1 = require("./src/tradeAPI/index");
5
- Object.defineProperty(exports, "APENFTOrders", { enumerable: true, get: function () { return index_1.APENFTOrders; } });
6
- var index_2 = require("./src/queryAPI/index");
7
- Object.defineProperty(exports, "APENFTQuery", { enumerable: true, get: function () { return index_2.APENFTQuery; } });
8
- var approve_1 = require("./src/tradeAPI/approve");
9
- Object.defineProperty(exports, "initApprove", { enumerable: true, get: function () { return approve_1.initApprove; } });
10
- var types_1 = require("./src/utils/types");
11
- Object.defineProperty(exports, "Network", { enumerable: true, get: function () { return types_1.Network; } });
12
- Object.defineProperty(exports, "MakeOrderType", { enumerable: true, get: function () { return types_1.MakeOrderType; } });
13
- Object.defineProperty(exports, "APENFTSchemaName", { enumerable: true, get: function () { return types_1.APENFTSchemaName; } });
14
- Object.defineProperty(exports, "OrderSide", { enumerable: true, get: function () { return types_1.OrderSide; } });
15
- Object.defineProperty(exports, "AssetSortBy", { enumerable: true, get: function () { return types_1.AssetSortBy; } });
16
- Object.defineProperty(exports, "CollectionTradeTrendFilterDays", { enumerable: true, get: function () { return types_1.CollectionTradeTrendFilterDays; } });
17
- Object.defineProperty(exports, "EventType", { enumerable: true, get: function () { return types_1.EventType; } });
18
- Object.defineProperty(exports, "CollectionSortBy", { enumerable: true, get: function () { return types_1.CollectionSortBy; } });
19
- Object.defineProperty(exports, "AssetListCollectionTypes", { enumerable: true, get: function () { return types_1.AssetListCollectionTypes; } });
20
- Object.defineProperty(exports, "AssetStatus", { enumerable: true, get: function () { return types_1.AssetStatus; } });
21
- Object.defineProperty(exports, "Category", { enumerable: true, get: function () { return types_1.Category; } });
22
- var nft_1 = require("./src/tradeAPI/nft");
23
- Object.defineProperty(exports, "AssetFactory", { enumerable: true, get: function () { return nft_1.AssetFactory; } });
24
- // for APENFT market
25
- var helper_1 = require("./src/utils/helper");
26
- Object.defineProperty(exports, "toBaseUnitAmount", { enumerable: true, get: function () { return helper_1.toBaseUnitAmount; } });
27
- Object.defineProperty(exports, "getSchemaList", { enumerable: true, get: function () { return helper_1.getSchemaList; } });
28
- Object.defineProperty(exports, "makeBigNumber", { enumerable: true, get: function () { return helper_1.makeBigNumber; } });
29
- var constants_1 = require("./src/utils/constants");
30
- Object.defineProperty(exports, "NULL_ADDRESS", { enumerable: true, get: function () { return constants_1.NULL_ADDRESS; } });
31
- var error_1 = require("./src/utils/error");
32
- Object.defineProperty(exports, "APENFTError", { enumerable: true, get: function () { return error_1.APENFTError; } });