tdem-web-sdk 1.0.14 → 1.0.15

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.
@@ -14,8 +14,9 @@ interface P {
14
14
  [k: string]: any;
15
15
  }
16
16
  /**
17
- * 抹掉上报里的敏感词 eval(微信会拦截含该词的请求)。
18
- * evaluate_script 含有子串 eval,必须原样保留,否则键会变成 evaIuate_script。
17
+ * 只把 `eval(` 替换成 `evaI(`(大小写不敏感)。
18
+ * collect 前置边缘 WAF 会对含 `eval(` 的 body 返回 501、拦掉整批上报;
19
+ * 收窄到紧跟左括号的形式既能避开拦截,又不会误改 `evaluate_script`、裸 `eval` 等正文。
19
20
  */
20
21
  export declare function maskEvalKeyword(input: string): string;
21
22
  /**