@hot-updater/console 0.12.2 → 0.12.3

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/dist/index.cjs CHANGED
@@ -2046,7 +2046,9 @@ let rpc_config = null;
2046
2046
  let rpc_databasePlugin = null;
2047
2047
  const prepareConfig = async ()=>{
2048
2048
  if (!rpc_config) {
2049
- rpc_config = await (0, plugin_core_namespaceObject.loadConfig)();
2049
+ rpc_config = await (0, plugin_core_namespaceObject.loadConfig)({
2050
+ platform: "console"
2051
+ });
2050
2052
  rpc_databasePlugin = await rpc_config?.database({
2051
2053
  cwd: plugin_core_namespaceObject.getCwd()
2052
2054
  }) ?? null;
package/dist/index.js CHANGED
@@ -2001,7 +2001,9 @@ let rpc_config = null;
2001
2001
  let rpc_databasePlugin = null;
2002
2002
  const prepareConfig = async ()=>{
2003
2003
  if (!rpc_config) {
2004
- rpc_config = await (0, __WEBPACK_EXTERNAL_MODULE__hot_updater_plugin_core_40c1c502__.loadConfig)();
2004
+ rpc_config = await (0, __WEBPACK_EXTERNAL_MODULE__hot_updater_plugin_core_40c1c502__.loadConfig)({
2005
+ platform: "console"
2006
+ });
2005
2007
  rpc_databasePlugin = await rpc_config?.database({
2006
2008
  cwd: __WEBPACK_EXTERNAL_MODULE__hot_updater_plugin_core_40c1c502__.getCwd()
2007
2009
  }) ?? null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/console",
3
3
  "type": "module",
4
- "version": "0.12.2",
4
+ "version": "0.12.3",
5
5
  "files": [
6
6
  "dist",
7
7
  "package.json"
@@ -21,7 +21,7 @@
21
21
  "@hono/node-server": "^1.13.4",
22
22
  "@hono/valibot-validator": "^0.4.1",
23
23
  "@hono/vite-dev-server": "^0.18.1",
24
- "@hot-updater/mock": "0.12.2",
24
+ "@hot-updater/mock": "0.12.3",
25
25
  "@kobalte/core": "^0.13.7",
26
26
  "@solidjs/meta": "^0.29.4",
27
27
  "@solidjs/router": "^0.14.10",
@@ -52,8 +52,8 @@
52
52
  "vite-tsconfig-paths": "^5.1.4"
53
53
  },
54
54
  "dependencies": {
55
- "@hot-updater/core": "0.12.2",
56
- "@hot-updater/plugin-core": "0.12.2"
55
+ "@hot-updater/core": "0.12.3",
56
+ "@hot-updater/plugin-core": "0.12.3"
57
57
  },
58
58
  "scripts": {
59
59
  "build": "vite build --mode client && rslib build",