@fileverse-dev/formulajs 4.4.11-mod-68-patch-2 → 4.4.11-mod-68-patch-3
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/lib/browser/formula.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @fileverse-dev/formulajs v4.4.11-mod-68-patch-
|
|
1
|
+
/* @fileverse-dev/formulajs v4.4.11-mod-68-patch-3 */
|
|
2
2
|
var _excluded = [ "confirmations", "dataDecoded" ];
|
|
3
3
|
|
|
4
4
|
function _objectWithoutProperties(e, t) {
|
|
@@ -11159,7 +11159,11 @@ function _typeof(o) {
|
|
|
11159
11159
|
case 2:
|
|
11160
11160
|
chainId = CHAIN_ID_MAP[chain];
|
|
11161
11161
|
url = "https://api.etherscan.io/v2/api?module=block&action=getblocknobytime×tamp=".concat(timestamp, "&closest=before&apikey=").concat(apiKey, "&chainId=").concat(chainId);
|
|
11162
|
-
_getUrlAndHeaders = getUrlAndHeaders(
|
|
11162
|
+
_getUrlAndHeaders = getUrlAndHeaders({
|
|
11163
|
+
url: url,
|
|
11164
|
+
serviceName: "Etherscan",
|
|
11165
|
+
headers: {}
|
|
11166
|
+
}), finalUrl = _getUrlAndHeaders.URL, HEADERS = _getUrlAndHeaders.HEADERS;
|
|
11163
11167
|
_context.next = 7;
|
|
11164
11168
|
return fetch(finalUrl, {
|
|
11165
11169
|
method: "GET",
|