@haluo/util 1.0.27 → 1.0.28

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.
@@ -23,7 +23,7 @@ var SendTracker = /** @class */ (function () {
23
23
  return false;
24
24
  if (reg.test(reason))
25
25
  return false;
26
- if (reason.startsWith('halomoto:'))
26
+ if (reason.startsWith('halomoto'))
27
27
  return false;
28
28
  if (reason.startsWith('file:'))
29
29
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haluo/util",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "main": "./dist/index.js",
5
5
  "author": "<wanghui@jddmoto.com>",
6
6
  "description": "哈罗摩托工具库",
@@ -10,7 +10,7 @@ class SendTracker {
10
10
  verifyRequest(reason:string):boolean {
11
11
  if(!reason) return false
12
12
  if(reg.test(reason)) return false
13
- if(reason.startsWith('halomoto:')) return false
13
+ if(reason.startsWith('halomoto')) return false
14
14
  if(reason.startsWith('file:')) return false
15
15
  if(reason.includes('log-center.58moto.com')) return false
16
16
  if(reason.includes('s23.cnzz.com')) return false