@tuhu/mp-monitor
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -45,3 +45,7 @@ "use strict"; | ||
jgb_weapp_1.jgb.intercept("request", function (result, status, options) { | ||
if (options === void 0) { options = {}; } | ||
var monitorRequest = options[uniqueKey_1] || new MonitorRequest(); | ||
if (config_1.hostblackbox.some(function (burl) { return options.url.includes(burl); })) { | ||
return; | ||
} | ||
switch (status) { | ||
@@ -48,0 +52,0 @@ case "begin": |
{ | ||
"name": "@tuhu/mp-monitor", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"main": "lib/index.js", | ||
@@ -19,4 +19,3 @@ "types": "lib/index.d.ts", | ||
"typescript": "^3.7.2" | ||
}, | ||
"gitHead": "cf4c0d07bd3517c4e7ea12c4383243f7d00a149d" | ||
} | ||
} |
15812
341