@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/{chunk-22T3D5KS.mjs → chunk-NGXYLLYS.mjs} +2 -2
- package/dist/chunk-NGXYLLYS.mjs.map +1 -0
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +156 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +152 -21
- package/dist/index.mjs.map +1 -1
- package/dist/runtime/frame.js +19 -14
- package/dist/runtime/frame.js.map +1 -1
- package/dist/runtime/host.js +222 -18
- package/dist/runtime/host.js.map +1 -1
- package/dist/setup.mjs +1 -1
- package/dist/test-api.d.mts +1 -1
- package/dist/test-api.d.ts +1 -1
- package/dist/{testApi-D5o7hK-Z.d.mts → testApi-CbBoHXdN.d.mts} +1 -1
- package/dist/{testApi-BTPLQvFs.d.ts → testApi-DRZ-hXpC.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/chunk-22T3D5KS.mjs.map +0 -1
package/dist/setup.mjs
CHANGED
package/dist/test-api.d.mts
CHANGED
package/dist/test-api.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
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
|
+
"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.
|
|
53
|
-
"@open-wxa/wxa-runner-extractor": "0.2.
|
|
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":[]}
|