auto-point 0.0.13 → 0.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.
Files changed (2) hide show
  1. package/AP/auto_point.js +7 -3
  2. package/package.json +1 -1
package/AP/auto_point.js CHANGED
@@ -1,4 +1,8 @@
1
- class auto_point {
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory :
3
+ typeof define === 'function' && define.amd ? define(factory) :
4
+ (global = global || self, global.GFB = factory);
5
+ })(this, class auto_point {
2
6
  // 初始化状态
3
7
  #INIT_STATE = true
4
8
  // 服务端地址
@@ -12,7 +16,7 @@ class auto_point {
12
16
  // 事件列表
13
17
  #EVENTS = ['click']
14
18
  // 发送数据间隔 单位毫秒 默认10秒
15
- #SEND_TIME = 10_000
19
+ #SEND_TIME = 10000
16
20
  // sing挂载事件元素标记
17
21
  #POINT_SING = "auto_point"
18
22
  // 埋点队列
@@ -245,4 +249,4 @@ class auto_point {
245
249
  this.#add_point(params)
246
250
  }
247
251
 
248
- }
252
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auto-point",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "description": "Automatic burying point",
5
5
  "main": "index.js",
6
6
  "files": [