@pisell/core 1.0.65 → 1.0.66

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.
@@ -48,7 +48,7 @@ var isFilterUrl = function isFilterUrl(url) {
48
48
  function reportSlowRequestByObserver(entry) {
49
49
  var _getConfig2 = getConfig(),
50
50
  logger = _getConfig2.logger;
51
- var maxRequestTime = (logger === null || logger === void 0 ? void 0 : logger.maxRequestTime) || 5000;
51
+ var maxRequestTime = 2000;
52
52
  var requestUrl = entry.name || "";
53
53
  var dnsLookupDuration = getSafeDuration(entry.domainLookupStart, entry.domainLookupEnd);
54
54
  var tcpHandshakeDuration = getSafeDuration(entry.connectStart, entry.connectEnd);
@@ -70,7 +70,7 @@ var isFilterUrl = (url) => {
70
70
  };
71
71
  function reportSlowRequestByObserver(entry) {
72
72
  const { logger } = (0, import_config.getConfig)();
73
- const maxRequestTime = (logger == null ? void 0 : logger.maxRequestTime) || 5e3;
73
+ const maxRequestTime = 2e3;
74
74
  const requestUrl = entry.name || "";
75
75
  const dnsLookupDuration = getSafeDuration(entry.domainLookupStart, entry.domainLookupEnd);
76
76
  const tcpHandshakeDuration = getSafeDuration(entry.connectStart, entry.connectEnd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/core",
3
- "version": "1.0.65",
3
+ "version": "1.0.66",
4
4
  "sideEffects": false,
5
5
  "main": "./lib/index.js",
6
6
  "module": "./es/index.js",