@open-wxa/wxa-runner-core 0.6.0 → 0.7.0

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.
@@ -24,7 +24,8 @@ interface AppInfo {
24
24
  wxConfig: Record<string, any>;
25
25
  pages: string[];
26
26
  device: DeviceProfile;
27
- realLogin?: boolean;
27
+ /** 开启了 --devtools-login */
28
+ devtoolsLogin?: boolean;
28
29
  buildError?: string;
29
30
  /** 配置了 setup 文件时存在;error 是 setup 的编译错误 */
30
31
  setup?: {
@@ -24,7 +24,8 @@ interface AppInfo {
24
24
  wxConfig: Record<string, any>;
25
25
  pages: string[];
26
26
  device: DeviceProfile;
27
- realLogin?: boolean;
27
+ /** 开启了 --devtools-login */
28
+ devtoolsLogin?: boolean;
28
29
  buildError?: string;
29
30
  /** 配置了 setup 文件时存在;error 是 setup 的编译错误 */
30
31
  setup?: {
package/dist/setup.d.mts CHANGED
@@ -1 +1 @@
1
- export { K as KnownMocks, M as MockConfig, d as MockRequest, e as MockResponse, f as MockValue, N as NetworkConfig, R as RouteHandler, S as SetupApi, g as SetupConfig, h as SetupContext, i as SetupDefinition, j as SetupEnv, U as UserInfo, k as defineSetup } from './setup-Cv340Lvj.mjs';
1
+ export { K as KnownMocks, M as MockConfig, d as MockRequest, e as MockResponse, f as MockValue, N as NetworkConfig, R as RouteHandler, S as SetupApi, g as SetupConfig, h as SetupContext, i as SetupDefinition, j as SetupEnv, U as UserInfo, k as defineSetup } from './setup-DZ5FeKay.mjs';
package/dist/setup.d.ts CHANGED
@@ -1 +1 @@
1
- export { K as KnownMocks, M as MockConfig, d as MockRequest, e as MockResponse, f as MockValue, N as NetworkConfig, R as RouteHandler, S as SetupApi, g as SetupConfig, h as SetupContext, i as SetupDefinition, j as SetupEnv, U as UserInfo, k as defineSetup } from './setup-Cv340Lvj.js';
1
+ export { K as KnownMocks, M as MockConfig, d as MockRequest, e as MockResponse, f as MockValue, N as NetworkConfig, R as RouteHandler, S as SetupApi, g as SetupConfig, h as SetupContext, i as SetupDefinition, j as SetupEnv, U as UserInfo, k as defineSetup } from './setup-DZ5FeKay.js';
@@ -1,5 +1,5 @@
1
- import { W as WxaTestApi } from './testApi-DO2FyR78.mjs';
2
- import './setup-Cv340Lvj.mjs';
1
+ import { W as WxaTestApi } from './testApi-CnZOLyWw.mjs';
2
+ import './setup-DZ5FeKay.mjs';
3
3
 
4
4
  /**
5
5
  * window.__wxa_test_api__ 的全局类型声明,供测试代码按需引用:
@@ -1,5 +1,5 @@
1
- import { W as WxaTestApi } from './testApi-nKsjjEhz.js';
2
- import './setup-Cv340Lvj.js';
1
+ import { W as WxaTestApi } from './testApi-BLozOgCt.js';
2
+ import './setup-DZ5FeKay.js';
3
3
 
4
4
  /**
5
5
  * window.__wxa_test_api__ 的全局类型声明,供测试代码按需引用:
@@ -1,4 +1,4 @@
1
- import { d as MockRequest, F as FrameKind, a as ApiHandler, b as ApiResult, R as RouteHandler } from './setup-Cv340Lvj.js';
1
+ import { d as MockRequest, F as FrameKind, a as ApiHandler, b as ApiResult, R as RouteHandler } from './setup-DZ5FeKay.js';
2
2
 
3
3
  /**
4
4
  * 网络 API:wx.request / downloadFile / uploadFile / connectSocket
@@ -1,4 +1,4 @@
1
- import { d as MockRequest, F as FrameKind, a as ApiHandler, b as ApiResult, R as RouteHandler } from './setup-Cv340Lvj.mjs';
1
+ import { d as MockRequest, F as FrameKind, a as ApiHandler, b as ApiResult, R as RouteHandler } from './setup-DZ5FeKay.mjs';
2
2
 
3
3
  /**
4
4
  * 网络 API:wx.request / downloadFile / uploadFile / connectSocket
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wxa/wxa-runner-core",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Dev server and browser runtime that run WeChat mini-programs on the official base library",
5
5
  "license": "MIT",
6
6
  "author": "open-wxa",
@@ -49,8 +49,8 @@
49
49
  "esbuild": "^0.27.0",
50
50
  "express": "^4.18.2",
51
51
  "ws": "^8.14.2",
52
- "@open-wxa/wxa-runner-compiler": "0.6.0",
53
- "@open-wxa/wxa-runner-extractor": "0.6.0"
52
+ "@open-wxa/wxa-runner-compiler": "0.7.0",
53
+ "@open-wxa/wxa-runner-extractor": "0.7.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/express": "^4.17.21",