anys-web 1.4.0 → 1.4.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anys-web",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "",
5
5
  "main": "cjs/index.js",
6
6
  "module": "src/index.js",
@@ -30,11 +30,11 @@
30
30
  "anys-web-plugin-monitor-url": "^1.4.0",
31
31
  "anys-web-plugin-monitor-window-activity": "^1.4.0",
32
32
  "anys-web-plugin-monitor-window-size": "^1.4.0",
33
- "anys-web-plugin-send-by-ajax": "^1.4.0",
33
+ "anys-web-plugin-send-by-ajax": "^1.4.1",
34
34
  "anys-web-plugin-store-offline": "^1.4.0"
35
35
  },
36
36
  "publishConfig": {
37
37
  "registry": "https://registry.npmjs.org/"
38
38
  },
39
- "gitHead": "6ef25cf88b9eadb84b226eece90df9854ca5dfbf"
39
+ "gitHead": "22d5ab7437886b2550680c9dc6b97ed9436c6a6b"
40
40
  }
@@ -145,7 +145,7 @@ export class AnysRecorderPlugin extends AnysPlugin {
145
145
 
146
146
  const { reportUrl, reportParams } = this.anys.options;
147
147
  const url = reportParams ? replaceUrlSearch(reportUrl, reportParams) : reportUrl;
148
- return ajaxPost(url, items).then(() => {
148
+ return ajaxPost(url, { data: items }).then(() => {
149
149
  ids.forEach((id) => {
150
150
  delete this.cache[id];
151
151
  });