@choiceform/os-client-core 3.6.23 → 3.6.25

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/index.d.ts CHANGED
@@ -722,10 +722,11 @@ interface CCSetupOptions {
722
722
  /**
723
723
  * 上传日志的方法,核心包运行时会生成一些有利于追踪已知错误的日志,希望能通过这个方法上传。
724
724
  * 如果不设置则不会上传错误。而是在控制台打印出来
725
+ * 配合 os-client-live 的 sentry 相关设置, level 为 'warning' 时,信息会被上报到 sentry 平台
725
726
  * @param message
726
727
  * @param level
727
728
  */
728
- uploadLog?(message: string, level?: 'log' | 'error'): void;
729
+ uploadLog?(message: string, level?: 'log' | 'error' | 'warning'): void;
729
730
  /**
730
731
  * 如果在单页模式中有很多题目,进行作答后点击下一题,其中某道题目的答案不满足要求,
731
732
  * 这时候可能这道题目不再滚动条所在的可见范围内,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@choiceform/os-client-core",
3
- "version": "3.6.23",
3
+ "version": "3.6.25",
4
4
  "description": "choiceform survey client core",
5
5
  "main": "./dist/core.js",
6
6
  "repository": "https://github.com/choice-form/os-client-core",