@we-debug/core 0.38.0 → 0.40.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/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
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
+ ## [0.40.1](https://github.com/dlhandsome/we-debug/compare/v0.40.0...v0.40.1) (2025-03-07)
7
+
8
+ **Note:** Version bump only for package @we-debug/core
9
+
10
+
11
+
12
+
13
+
14
+ # [0.40.0](https://github.com/dlhandsome/we-debug/compare/v0.39.0...v0.40.0) (2025-03-07)
15
+
16
+
17
+ ### Features
18
+
19
+ * added something ([d439b85](https://github.com/dlhandsome/we-debug/commit/d439b855a52687ec3e0d7cbfde021a847b33fbc6))
20
+
21
+
22
+
23
+
24
+
25
+ # [0.39.0](https://github.com/dlhandsome/we-debug/compare/v0.38.1...v0.39.0) (2025-03-07)
26
+
27
+
28
+ ### Features
29
+
30
+ * **plugin-appdata:** support appdata ([6df8fe8](https://github.com/dlhandsome/we-debug/commit/6df8fe83cef9f5b4d41859754893697376dd9732))
31
+
32
+
33
+
34
+
35
+
6
36
  # [0.38.0](https://github.com/dlhandsome/we-debug/compare/v0.37.4...v0.38.0) (2025-03-07)
7
37
 
8
38
 
package/dist/api/init.js CHANGED
@@ -10,6 +10,7 @@ var plugin_router_1 = __importDefault(require("@we-debug/plugin-router"));
10
10
  var plugin_launcher_1 = __importDefault(require("@we-debug/plugin-launcher"));
11
11
  var plugin_network_1 = __importDefault(require("@we-debug/plugin-network"));
12
12
  var plugin_1 = __importDefault(require("@we-debug/plugin-ui-check/plugin"));
13
+ var plugin_appdata_1 = __importDefault(require("@we-debug/plugin-appdata"));
13
14
  var deepmerge_1 = __importDefault(require("deepmerge"));
14
15
  function init(options) {
15
16
  var opt = (0, deepmerge_1.default)({
@@ -18,11 +19,14 @@ function init(options) {
18
19
  network: true,
19
20
  error: true,
20
21
  router: true,
21
- uiCheck: true
22
+ uiCheck: true,
23
+ appData: true,
22
24
  }
23
25
  }, options || {});
24
26
  if (opt.launcher)
25
27
  use_1.use.call(this, plugin_launcher_1.default, opt.launcher || {});
28
+ if (opt.plugin.appData)
29
+ use_1.use.call(this, plugin_appdata_1.default, opt.plugin.appData || {});
26
30
  if (opt.plugin.network)
27
31
  use_1.use.call(this, plugin_network_1.default, opt.plugin.network || {});
28
32
  if (opt.plugin.error)
package/dist/types.d.ts CHANGED
@@ -70,6 +70,7 @@ export interface IWedebugInitOption {
70
70
  error?: IAnyObject;
71
71
  router?: IAnyObject;
72
72
  uiCheck?: IAnyObject;
73
+ appData?: IAnyObject;
73
74
  };
74
75
  }
75
76
  export interface IPluginInstance<T extends IAnyObject = IAnyObject> {
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = "0.38.0";
4
+ exports.version = "0.40.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@we-debug/core",
3
- "version": "0.38.0",
3
+ "version": "0.40.1",
4
4
  "description": "a useful debug tool for weapp",
5
5
  "author": {
6
6
  "name": "dlhandsome"
@@ -24,11 +24,12 @@
24
24
  },
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
- "@we-debug/plugin-error": "0.38.0",
28
- "@we-debug/plugin-launcher": "0.38.0",
29
- "@we-debug/plugin-network": "0.38.0",
30
- "@we-debug/plugin-router": "0.38.0",
31
- "@we-debug/plugin-ui-check": "0.38.0",
27
+ "@we-debug/plugin-appdata": "0.40.1",
28
+ "@we-debug/plugin-error": "0.40.0",
29
+ "@we-debug/plugin-launcher": "0.40.0",
30
+ "@we-debug/plugin-network": "0.40.0",
31
+ "@we-debug/plugin-router": "0.40.0",
32
+ "@we-debug/plugin-ui-check": "0.40.0",
32
33
  "deepmerge": "^4.2.2"
33
34
  },
34
35
  "readme": "ERROR: No README data found!",
@@ -38,5 +39,5 @@
38
39
  "@types/jest": "^29.5.11",
39
40
  "ts-jest": "^29.1.1"
40
41
  },
41
- "gitHead": "b6927f2b298277d27eb5897a755d5050b6add733"
42
+ "gitHead": "4299d2ab5c26188fbbba687790f59526279b935f"
42
43
  }