@metamask-previews/gas-fee-controller 15.0.0-preview-fb52b9eb → 15.0.0-preview-2036edd1
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.
- package/dist/GasFeeController.js +9 -3
- package/dist/GasFeeController.mjs +8 -2
- package/dist/chunk-5INBFZXY.js +127 -0
- package/dist/chunk-5INBFZXY.js.map +1 -0
- package/dist/chunk-AQN4AQEF.mjs +127 -0
- package/dist/chunk-AQN4AQEF.mjs.map +1 -0
- package/dist/chunk-C4I7KKIU.mjs +12 -0
- package/dist/chunk-C4I7KKIU.mjs.map +1 -0
- package/dist/chunk-EXCWMMNV.mjs +39 -0
- package/dist/chunk-EXCWMMNV.mjs.map +1 -0
- package/dist/chunk-EZVGDV5H.js +39 -0
- package/dist/chunk-EZVGDV5H.js.map +1 -0
- package/dist/{chunk-GJSUFSHM.mjs → chunk-G2HAZY5F.mjs} +75 -95
- package/dist/chunk-G2HAZY5F.mjs.map +1 -0
- package/dist/chunk-GE7RMDFV.js +77 -0
- package/dist/chunk-GE7RMDFV.js.map +1 -0
- package/dist/chunk-GUWY6WP6.mjs +77 -0
- package/dist/chunk-GUWY6WP6.mjs.map +1 -0
- package/dist/{chunk-2AQW4RMC.js → chunk-HCUEQ4NY.js} +83 -103
- package/dist/chunk-HCUEQ4NY.js.map +1 -0
- package/dist/chunk-LO7OP5FM.js +19 -0
- package/dist/chunk-LO7OP5FM.js.map +1 -0
- package/dist/{chunk-Q2YPK5SL.js → chunk-NARPHUTR.js} +3 -30
- package/dist/chunk-NARPHUTR.js.map +1 -0
- package/dist/{chunk-KORLXV32.mjs → chunk-QVES4OOM.mjs} +1 -28
- package/dist/{chunk-KORLXV32.mjs.map → chunk-QVES4OOM.mjs.map} +1 -1
- package/dist/chunk-S2EH2EPS.js +12 -0
- package/dist/chunk-S2EH2EPS.js.map +1 -0
- package/dist/chunk-SINQOHIN.mjs +19 -0
- package/dist/chunk-SINQOHIN.mjs.map +1 -0
- package/dist/chunk-XUI43LEZ.mjs +30 -0
- package/dist/chunk-XUI43LEZ.mjs.map +1 -0
- package/dist/chunk-Z4BLTVTB.js +30 -0
- package/dist/chunk-Z4BLTVTB.js.map +1 -0
- package/dist/determineGasFeeCalculations.js +9 -3
- package/dist/determineGasFeeCalculations.mjs +8 -2
- package/dist/fetchBlockFeeHistory.js +8 -0
- package/dist/fetchBlockFeeHistory.js.map +1 -0
- package/dist/fetchBlockFeeHistory.mjs +8 -0
- package/dist/fetchBlockFeeHistory.mjs.map +1 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/calculateGasFeeEstimatesForPriorityLevels.js +9 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/calculateGasFeeEstimatesForPriorityLevels.js.map +1 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/calculateGasFeeEstimatesForPriorityLevels.mjs +9 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/calculateGasFeeEstimatesForPriorityLevels.mjs.map +1 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/fetchLatestBlock.js +8 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/fetchLatestBlock.js.map +1 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/fetchLatestBlock.mjs +8 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/fetchLatestBlock.mjs.map +1 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/medianOf.js +8 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/medianOf.js.map +1 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/medianOf.mjs +8 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/medianOf.mjs.map +1 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/types.js +1 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/types.js.map +1 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/types.mjs +1 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory/types.mjs.map +1 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory.js +12 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory.js.map +1 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory.mjs +12 -0
- package/dist/fetchGasEstimatesViaEthFeeHistory.mjs.map +1 -0
- package/dist/gas-util.js +3 -2
- package/dist/gas-util.mjs +2 -1
- package/dist/index.js +9 -3
- package/dist/index.mjs +8 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/GasFeeController.d.ts +1 -5
- package/dist/types/GasFeeController.d.ts.map +1 -1
- package/dist/types/determineGasFeeCalculations.d.ts +16 -17
- package/dist/types/determineGasFeeCalculations.d.ts.map +1 -1
- package/dist/types/fetchBlockFeeHistory.d.ts +115 -0
- package/dist/types/fetchBlockFeeHistory.d.ts.map +1 -0
- package/dist/types/fetchGasEstimatesViaEthFeeHistory/calculateGasFeeEstimatesForPriorityLevels.d.ts +17 -0
- package/dist/types/fetchGasEstimatesViaEthFeeHistory/calculateGasFeeEstimatesForPriorityLevels.d.ts.map +1 -0
- package/dist/types/fetchGasEstimatesViaEthFeeHistory/fetchLatestBlock.d.ts +12 -0
- package/dist/types/fetchGasEstimatesViaEthFeeHistory/fetchLatestBlock.d.ts.map +1 -0
- package/dist/types/fetchGasEstimatesViaEthFeeHistory/medianOf.d.ts +10 -0
- package/dist/types/fetchGasEstimatesViaEthFeeHistory/medianOf.d.ts.map +1 -0
- package/dist/types/fetchGasEstimatesViaEthFeeHistory/types.d.ts +7 -0
- package/dist/types/fetchGasEstimatesViaEthFeeHistory/types.d.ts.map +1 -0
- package/dist/types/fetchGasEstimatesViaEthFeeHistory.d.ts +22 -0
- package/dist/types/fetchGasEstimatesViaEthFeeHistory.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-2AQW4RMC.js.map +0 -1
- package/dist/chunk-GJSUFSHM.mjs.map +0 -1
- package/dist/chunk-Q2YPK5SL.js.map +0 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var __accessCheck = (obj, member, msg) => {
|
|
2
|
+
if (!member.has(obj))
|
|
3
|
+
throw TypeError("Cannot " + msg);
|
|
4
|
+
};
|
|
5
|
+
var __privateGet = (obj, member, getter) => {
|
|
6
|
+
__accessCheck(obj, member, "read from private field");
|
|
7
|
+
return getter ? getter.call(obj) : member.get(obj);
|
|
8
|
+
};
|
|
9
|
+
var __privateAdd = (obj, member, value) => {
|
|
10
|
+
if (member.has(obj))
|
|
11
|
+
throw TypeError("Cannot add the same private member more than once");
|
|
12
|
+
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
13
|
+
};
|
|
14
|
+
var __privateSet = (obj, member, value, setter) => {
|
|
15
|
+
__accessCheck(obj, member, "write to private field");
|
|
16
|
+
setter ? setter.call(obj, value) : member.set(obj, value);
|
|
17
|
+
return value;
|
|
18
|
+
};
|
|
19
|
+
var __privateMethod = (obj, member, method) => {
|
|
20
|
+
__accessCheck(obj, member, "access private method");
|
|
21
|
+
return method;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
exports.__privateGet = __privateGet; exports.__privateAdd = __privateAdd; exports.__privateSet = __privateSet; exports.__privateMethod = __privateMethod;
|
|
30
|
+
//# sourceMappingURL=chunk-Z4BLTVTB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkHCUEQ4NYjs = require('./chunk-HCUEQ4NY.js');
|
|
4
|
+
require('./chunk-EZVGDV5H.js');
|
|
5
|
+
require('./chunk-5INBFZXY.js');
|
|
6
|
+
require('./chunk-NARPHUTR.js');
|
|
7
|
+
require('./chunk-GE7RMDFV.js');
|
|
8
|
+
require('./chunk-S2EH2EPS.js');
|
|
9
|
+
require('./chunk-LO7OP5FM.js');
|
|
10
|
+
require('./chunk-Z4BLTVTB.js');
|
|
5
11
|
|
|
6
12
|
|
|
7
|
-
exports.default =
|
|
13
|
+
exports.default = _chunkHCUEQ4NYjs.determineGasFeeCalculations;
|
|
8
14
|
//# sourceMappingURL=determineGasFeeCalculations.js.map
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
determineGasFeeCalculations
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-G2HAZY5F.mjs";
|
|
4
|
+
import "./chunk-EXCWMMNV.mjs";
|
|
5
|
+
import "./chunk-AQN4AQEF.mjs";
|
|
6
|
+
import "./chunk-QVES4OOM.mjs";
|
|
7
|
+
import "./chunk-GUWY6WP6.mjs";
|
|
8
|
+
import "./chunk-C4I7KKIU.mjs";
|
|
9
|
+
import "./chunk-SINQOHIN.mjs";
|
|
10
|
+
import "./chunk-XUI43LEZ.mjs";
|
|
5
11
|
export {
|
|
6
12
|
determineGasFeeCalculations as default
|
|
7
13
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunk5INBFZXYjs = require('./chunk-5INBFZXY.js');
|
|
4
|
+
require('./chunk-Z4BLTVTB.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.default = _chunk5INBFZXYjs.fetchBlockFeeHistory;
|
|
8
|
+
//# sourceMappingURL=fetchBlockFeeHistory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkGE7RMDFVjs = require('../chunk-GE7RMDFV.js');
|
|
4
|
+
require('../chunk-S2EH2EPS.js');
|
|
5
|
+
require('../chunk-Z4BLTVTB.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
exports.default = _chunkGE7RMDFVjs.calculateGasFeeEstimatesForPriorityLevels;
|
|
9
|
+
//# sourceMappingURL=calculateGasFeeEstimatesForPriorityLevels.js.map
|
package/dist/fetchGasEstimatesViaEthFeeHistory/calculateGasFeeEstimatesForPriorityLevels.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
calculateGasFeeEstimatesForPriorityLevels
|
|
3
|
+
} from "../chunk-GUWY6WP6.mjs";
|
|
4
|
+
import "../chunk-C4I7KKIU.mjs";
|
|
5
|
+
import "../chunk-XUI43LEZ.mjs";
|
|
6
|
+
export {
|
|
7
|
+
calculateGasFeeEstimatesForPriorityLevels as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=calculateGasFeeEstimatesForPriorityLevels.mjs.map
|
package/dist/fetchGasEstimatesViaEthFeeHistory/calculateGasFeeEstimatesForPriorityLevels.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkLO7OP5FMjs = require('../chunk-LO7OP5FM.js');
|
|
4
|
+
require('../chunk-Z4BLTVTB.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.default = _chunkLO7OP5FMjs.fetchLatestBlock;
|
|
8
|
+
//# sourceMappingURL=fetchLatestBlock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=types.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkEZVGDV5Hjs = require('./chunk-EZVGDV5H.js');
|
|
4
|
+
require('./chunk-5INBFZXY.js');
|
|
5
|
+
require('./chunk-GE7RMDFV.js');
|
|
6
|
+
require('./chunk-S2EH2EPS.js');
|
|
7
|
+
require('./chunk-LO7OP5FM.js');
|
|
8
|
+
require('./chunk-Z4BLTVTB.js');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
exports.default = _chunkEZVGDV5Hjs.fetchGasEstimatesViaEthFeeHistory;
|
|
12
|
+
//# sourceMappingURL=fetchGasEstimatesViaEthFeeHistory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
fetchGasEstimatesViaEthFeeHistory
|
|
3
|
+
} from "./chunk-EXCWMMNV.mjs";
|
|
4
|
+
import "./chunk-AQN4AQEF.mjs";
|
|
5
|
+
import "./chunk-GUWY6WP6.mjs";
|
|
6
|
+
import "./chunk-C4I7KKIU.mjs";
|
|
7
|
+
import "./chunk-SINQOHIN.mjs";
|
|
8
|
+
import "./chunk-XUI43LEZ.mjs";
|
|
9
|
+
export {
|
|
10
|
+
fetchGasEstimatesViaEthFeeHistory as default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=fetchGasEstimatesViaEthFeeHistory.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/gas-util.js
CHANGED
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkNARPHUTRjs = require('./chunk-NARPHUTR.js');
|
|
8
|
+
require('./chunk-Z4BLTVTB.js');
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
|
|
14
|
-
exports.calculateTimeEstimate =
|
|
15
|
+
exports.calculateTimeEstimate = _chunkNARPHUTRjs.calculateTimeEstimate; exports.fetchEthGasPriceEstimate = _chunkNARPHUTRjs.fetchEthGasPriceEstimate; exports.fetchGasEstimates = _chunkNARPHUTRjs.fetchGasEstimates; exports.fetchLegacyGasPriceEstimates = _chunkNARPHUTRjs.fetchLegacyGasPriceEstimates; exports.normalizeGWEIDecimalNumbers = _chunkNARPHUTRjs.normalizeGWEIDecimalNumbers;
|
|
15
16
|
//# sourceMappingURL=gas-util.js.map
|
package/dist/gas-util.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -2,11 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var _chunkHCUEQ4NYjs = require('./chunk-HCUEQ4NY.js');
|
|
6
|
+
require('./chunk-EZVGDV5H.js');
|
|
7
|
+
require('./chunk-5INBFZXY.js');
|
|
8
|
+
require('./chunk-NARPHUTR.js');
|
|
9
|
+
require('./chunk-GE7RMDFV.js');
|
|
10
|
+
require('./chunk-S2EH2EPS.js');
|
|
11
|
+
require('./chunk-LO7OP5FM.js');
|
|
12
|
+
require('./chunk-Z4BLTVTB.js');
|
|
7
13
|
|
|
8
14
|
|
|
9
15
|
|
|
10
16
|
|
|
11
|
-
exports.GAS_API_BASE_URL =
|
|
17
|
+
exports.GAS_API_BASE_URL = _chunkHCUEQ4NYjs.GAS_API_BASE_URL; exports.GAS_ESTIMATE_TYPES = _chunkHCUEQ4NYjs.GAS_ESTIMATE_TYPES; exports.GasFeeController = _chunkHCUEQ4NYjs.GasFeeController;
|
|
12
18
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -2,8 +2,14 @@ import {
|
|
|
2
2
|
GAS_API_BASE_URL,
|
|
3
3
|
GAS_ESTIMATE_TYPES,
|
|
4
4
|
GasFeeController
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-G2HAZY5F.mjs";
|
|
6
|
+
import "./chunk-EXCWMMNV.mjs";
|
|
7
|
+
import "./chunk-AQN4AQEF.mjs";
|
|
8
|
+
import "./chunk-QVES4OOM.mjs";
|
|
9
|
+
import "./chunk-GUWY6WP6.mjs";
|
|
10
|
+
import "./chunk-C4I7KKIU.mjs";
|
|
11
|
+
import "./chunk-SINQOHIN.mjs";
|
|
12
|
+
import "./chunk-XUI43LEZ.mjs";
|
|
7
13
|
export {
|
|
8
14
|
GAS_API_BASE_URL,
|
|
9
15
|
GAS_ESTIMATE_TYPES,
|