@tmsfe/tms-core 0.0.32 → 0.0.33

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/package.json +2 -2
  2. package/src/report.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmsfe/tms-core",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "tms运行时框架",
5
5
  "repository": {
6
6
  "type": "git",
@@ -10,7 +10,7 @@
10
10
  "dev": "rimraf dist && rollup -wc --environment TARGET:tms-core,INTER_ENV:public",
11
11
  "build": "rimraf dist && rollup -c --environment TARGET:tms-core,INTER_ENV:public"
12
12
  },
13
- "main": "dist/index",
13
+ "main": "src/index",
14
14
  "miniprogram": "src",
15
15
  "buildOptions": {
16
16
  "formats": [
package/src/report.js CHANGED
@@ -299,7 +299,7 @@ const cache = (reportData, reportNow, locPoi = true) => {
299
299
  }
300
300
  return Promise.all(task)
301
301
  .then(async (deviceData) => {
302
- // 先对上报数据进行预处理
302
+ // 先对上报数据进行预处理
303
303
  const result = await formatReportData(reportData, deviceData);
304
304
  // 将需要上报的数据缓存在队列中
305
305
  ReportDataQueue.push(result);