@open-wxa/wxa-runner-core 0.2.3 → 0.2.5

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/setup.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import "./chunk-22T3D5KS.mjs";
1
+ import "./chunk-NGXYLLYS.mjs";
2
2
 
3
3
  // src/setup.ts
4
4
  function defineSetup(setup) {
@@ -1,4 +1,4 @@
1
- import { W as WxaTestApi } from './testApi-D5o7hK-Z.mjs';
1
+ import { W as WxaTestApi } from './testApi-CbBoHXdN.mjs';
2
2
  import './setup-COzZ6vzS.mjs';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { W as WxaTestApi } from './testApi-BTPLQvFs.js';
1
+ import { W as WxaTestApi } from './testApi-DRZ-hXpC.js';
2
2
  import './setup-COzZ6vzS.js';
3
3
 
4
4
  /**
@@ -7,7 +7,7 @@ import { d as MockRequest, F as FrameKind, a as ApiHandler, b as ApiResult, R as
7
7
  * HTTP 请求经开发服务器的 /__wxa__/proxy 转发:既绕开 CORS,也能携带浏览器禁止设置的
8
8
  * cookie / referer 等请求头。
9
9
  *
10
- * 只发出小程序自己的请求:基础库自己的请求(数据上报、配置拉取等)见 rejectBaseLibInternal。
10
+ * 基础库自己的请求(数据上报、配置拉取等)不发出,只放行 InnerAudioContext 下载音频,见 byCaller。
11
11
  */
12
12
 
13
13
  /** 小程序发出的一个 wx.request */
@@ -7,7 +7,7 @@ import { d as MockRequest, F as FrameKind, a as ApiHandler, b as ApiResult, R as
7
7
  * HTTP 请求经开发服务器的 /__wxa__/proxy 转发:既绕开 CORS,也能携带浏览器禁止设置的
8
8
  * cookie / referer 等请求头。
9
9
  *
10
- * 只发出小程序自己的请求:基础库自己的请求(数据上报、配置拉取等)见 rejectBaseLibInternal。
10
+ * 基础库自己的请求(数据上报、配置拉取等)不发出,只放行 InnerAudioContext 下载音频,见 byCaller。
11
11
  */
12
12
 
13
13
  /** 小程序发出的一个 wx.request */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wxa/wxa-runner-core",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
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.2.3",
53
- "@open-wxa/wxa-runner-extractor": "0.2.3"
52
+ "@open-wxa/wxa-runner-compiler": "0.2.5",
53
+ "@open-wxa/wxa-runner-extractor": "0.2.5"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/express": "^4.17.21",
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/.pnpm/tsup@8.5.1_postcss@8.5.30_typescript@5.9.3/node_modules/tsup/assets/esm_shims.js"],"sourcesContent":["// Shim globals in esm bundle\nimport path from 'node:path'\nimport { fileURLToPath } from 'node:url'\n\nconst getFilename = () => fileURLToPath(import.meta.url)\nconst getDirname = () => path.dirname(getFilename())\n\nexport const __dirname = /* @__PURE__ */ getDirname()\nexport const __filename = /* @__PURE__ */ getFilename()\n"],"mappings":";AACA,OAAO,UAAU;AACjB,SAAS,qBAAqB;AAE9B,IAAM,cAAc,MAAM,cAAc,YAAY,GAAG;AACvD,IAAM,aAAa,MAAM,KAAK,QAAQ,YAAY,CAAC;AAE5C,IAAM,YAA4B,2BAAW;","names":[]}