@doreamonjs/plugin-analysis 1.1.6 → 1.1.7

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.1.7](https://github.com/doreamonjs/doreamon/compare/v1.1.6...v1.1.7) (2022-09-09)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **plugin-analysis:** model require service instance cause circle import ([162b671](https://github.com/doreamonjs/doreamon/commit/162b6715619d2fdc6ff1c9f104c612f814d53642))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [1.1.6](https://github.com/doreamonjs/doreamon/compare/v1.1.5...v1.1.6) (2022-09-09)
7
18
 
8
19
  **Note:** Version bump only for package @doreamonjs/plugin-analysis
package/lib/model.js CHANGED
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Model = void 0;
4
4
  const shared = require("@doreamonjs/plugin-shared");
5
5
  const constants_1 = require("./constants");
6
- const service_1 = require("./service");
7
6
  class Model {
8
7
  constructor(options) {
9
8
  this.options = options;
@@ -11,7 +10,7 @@ class Model {
11
10
  }
12
11
  get service() {
13
12
  if (!this._service) {
14
- this._service = new service_1.Service();
13
+ this._service = require('./instance').service;
15
14
  }
16
15
  return this._service;
17
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doreamonjs/plugin-analysis",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "analysis plugin for doreamonjs",
5
5
  "keywords": [
6
6
  "doreamonjs",
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@doreamonjs/plugin-shared": "^1.0.1",
69
- "@doreamonjs/plugin-user": "^1.1.6",
69
+ "@doreamonjs/plugin-user": "^1.1.7",
70
70
  "@doreamonjs/request": "^1.0.1",
71
71
  "@sentry/browser": "^7.11.1",
72
72
  "@sentry/tracing": "^7.11.1",
@@ -78,5 +78,5 @@
78
78
  "mixpanel-browser": "^2.45.0",
79
79
  "thinkingdata-browser": "^1.6.0"
80
80
  },
81
- "gitHead": "3e30208bc91913ccc528d7914026f79f4ae2cf9d"
81
+ "gitHead": "00be6f403e6dc96f81ec429140ebf12829634956"
82
82
  }