@we-debug/core 0.45.0 → 0.46.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,28 @@
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.46.1](https://github.com/dlhandsome/we-debug/compare/v0.46.0...v0.46.1) (2025-03-11)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **core:** added storage dependence ([eefa368](https://github.com/dlhandsome/we-debug/commit/eefa368ddf638e6d6fd24f2ddf86658c80699280))
12
+
13
+
14
+
15
+
16
+
17
+ # [0.46.0](https://github.com/dlhandsome/we-debug/compare/v0.45.2...v0.46.0) (2025-03-11)
18
+
19
+
20
+ ### Features
21
+
22
+ * **core:** import storage plugin ([0183edf](https://github.com/dlhandsome/we-debug/commit/0183edfb920c46c2dfb0a16166832728c1064b75))
23
+
24
+
25
+
26
+
27
+
6
28
  # [0.45.0](https://github.com/dlhandsome/we-debug/compare/v0.44.2...v0.45.0) (2025-03-11)
7
29
 
8
30
 
package/dist/api/init.js CHANGED
@@ -11,6 +11,7 @@ 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
13
  var plugin_appdata_1 = __importDefault(require("@we-debug/plugin-appdata"));
14
+ var plugin_storage_1 = __importDefault(require("@we-debug/plugin-storage"));
14
15
  var deepmerge_1 = __importDefault(require("deepmerge"));
15
16
  function init(options) {
16
17
  var opt = (0, deepmerge_1.default)({
@@ -21,12 +22,15 @@ function init(options) {
21
22
  router: true,
22
23
  uiCheck: true,
23
24
  appData: true,
25
+ storage: true,
24
26
  }
25
27
  }, options || {});
26
28
  if (opt.launcher)
27
29
  use_1.use.call(this, plugin_launcher_1.default, opt.launcher || {});
28
30
  if (opt.plugin.appData)
29
31
  use_1.use.call(this, plugin_appdata_1.default, opt.plugin.appData || {});
32
+ if (opt.plugin.storage)
33
+ use_1.use.call(this, plugin_storage_1.default, opt.plugin.storage || {});
30
34
  if (opt.plugin.network)
31
35
  use_1.use.call(this, plugin_network_1.default, opt.plugin.network || {});
32
36
  if (opt.plugin.error)
package/dist/types.d.ts CHANGED
@@ -88,6 +88,7 @@ export interface IWedebugInitOption {
88
88
  router?: IAnyObject;
89
89
  uiCheck?: IAnyObject;
90
90
  appData?: IAnyObject;
91
+ storage?: IAnyObject;
91
92
  };
92
93
  }
93
94
  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.45.0";
4
+ exports.version = "0.46.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@we-debug/core",
3
- "version": "0.45.0",
3
+ "version": "0.46.1",
4
4
  "description": "a useful debug tool for weapp",
5
5
  "author": {
6
6
  "name": "dlhandsome"
@@ -24,12 +24,13 @@
24
24
  },
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
- "@we-debug/plugin-appdata": "0.45.0",
28
- "@we-debug/plugin-error": "0.45.0",
29
- "@we-debug/plugin-launcher": "0.45.0",
30
- "@we-debug/plugin-network": "0.45.0",
31
- "@we-debug/plugin-router": "0.45.0",
32
- "@we-debug/plugin-ui-check": "0.45.0",
27
+ "@we-debug/plugin-appdata": "0.46.0",
28
+ "@we-debug/plugin-error": "0.46.0",
29
+ "@we-debug/plugin-launcher": "0.46.0",
30
+ "@we-debug/plugin-network": "0.46.0",
31
+ "@we-debug/plugin-router": "0.46.0",
32
+ "@we-debug/plugin-storage": "0.46.0",
33
+ "@we-debug/plugin-ui-check": "0.46.0",
33
34
  "deepmerge": "^4.2.2"
34
35
  },
35
36
  "readme": "ERROR: No README data found!",
@@ -39,5 +40,5 @@
39
40
  "@types/jest": "^29.5.11",
40
41
  "ts-jest": "^29.1.1"
41
42
  },
42
- "gitHead": "b2aeae566a4a1865fe7f6005b0a7b27bd0e6a536"
43
+ "gitHead": "edffc0a3c1985f7b7cb0abd83a0b7c835ec50734"
43
44
  }