apenft-js-tron 2.0.3 → 2.0.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.
|
@@ -142,7 +142,7 @@ var ContractSchemas = /** @class */ (function (_super) {
|
|
|
142
142
|
from: this.web3.defaultAddress.hex,
|
|
143
143
|
callValue: 0,
|
|
144
144
|
_isConstant: true,
|
|
145
|
-
feeLimit:
|
|
145
|
+
feeLimit: 2000000000
|
|
146
146
|
};
|
|
147
147
|
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
148
148
|
var tradePromise = _this.web3.transactionBuilder.triggerSmartContract(contractAddress, functionSelector, options, parameters, options.from ? _this.web3.address.toHex(options.from) : false);
|
|
@@ -201,7 +201,8 @@ var ContractSchemas = /** @class */ (function (_super) {
|
|
|
201
201
|
options = {
|
|
202
202
|
from: this.web3.defaultAddress.base58,
|
|
203
203
|
callValue: value || 0,
|
|
204
|
-
shouldPollResponse: true
|
|
204
|
+
shouldPollResponse: true,
|
|
205
|
+
feeLimit: 2000000000
|
|
205
206
|
};
|
|
206
207
|
defer = (0, PromiEvent_1.default)();
|
|
207
208
|
return [4 /*yield*/, this.web3.transactionBuilder.triggerSmartContract(contractAddress, functionSelector, options, parameters)];
|
package/dist/src/tradeAPI/nft.js
CHANGED
|
@@ -134,7 +134,7 @@ var AssetFactory = /** @class */ (function (_super) {
|
|
|
134
134
|
case 0:
|
|
135
135
|
defaultOptions = {
|
|
136
136
|
shouldPollResponse: true,
|
|
137
|
-
feeLimit:
|
|
137
|
+
feeLimit: 2000000000,
|
|
138
138
|
callValue: 0,
|
|
139
139
|
userFeePercentage: 30,
|
|
140
140
|
originEnergyLimit: 1e7
|
|
@@ -197,7 +197,7 @@ var AssetFactory = /** @class */ (function (_super) {
|
|
|
197
197
|
case 0:
|
|
198
198
|
defaultOptions = {
|
|
199
199
|
shouldPollResponse: true,
|
|
200
|
-
feeLimit:
|
|
200
|
+
feeLimit: 2000000000,
|
|
201
201
|
callValue: 0,
|
|
202
202
|
userFeePercentage: 30,
|
|
203
203
|
originEnergyLimit: 1e7
|