auto-point 0.0.20 → 0.0.21

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 +1 -0
  2. package/package.json +1 -1
package/AP/auto_point.js CHANGED
@@ -196,6 +196,7 @@
196
196
  item.apply(this)
197
197
  }
198
198
  })
199
+ this.#POINT_LAST_SEND_TIME = new Date().getTime() // 更新最后发送时间
199
200
  navigator.sendBeacon(this.#SERVER, JSON.stringify(this.#POINT_LIST));
200
201
  // 发送后清空埋点列表数据
201
202
  this.#POINT_LIST = new Array()
package/package.json CHANGED
@@ -13,5 +13,5 @@
13
13
  "scripts": {
14
14
  "test": "echo \"Error: no test specified\" && exit 1"
15
15
  },
16
- "version": "0.0.20"
16
+ "version": "0.0.21"
17
17
  }