@spopc/wechat-miniprogram 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +31 -7
package/README.md CHANGED
@@ -145,4 +145,4 @@ await bridge.openLocation({ latitude: 31.2, longitude: 121.4, name: '门店', sc
145
145
 
146
146
  2026-10-13,Windows 微信开发者工具 Stable 2.02.2608070 / 基础库 3.17.4:自动 login、getLocation、checkSession、scanCode 成功及扫码取消均完成往返,通过 Hash 在同一页面收到 live 结果。扫码使用开发者工具选择测试二维码图片,不代表真机相机扫描已测试。初版定位页另验证过 Query 重载与 recovered 恢复。iOS / Android 真机、真实支付、拨号、地图、个人地址尚未实测。
147
147
 
148
- 构建:`npm run build`。打包检查:`npm pack --dry-run`。包只包含 dist、README 和 package.json。
148
+ 构建:`npm run build`。打包检查:`npm pack --dry-run`。包只包含 dist、README 和 package.json。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spopc/wechat-miniprogram",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Web SDK for the WeChat Mini Program URL bridge",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,16 +8,40 @@
8
8
  "directory": "sdks/wechat-miniprogram"
9
9
  },
10
10
  "homepage": "https://www.npmjs.com/package/@spopc/wechat-miniprogram",
11
- "keywords": ["wechat", "miniprogram", "webview", "bridge", "mock", "typescript"],
11
+ "keywords": [
12
+ "wechat",
13
+ "miniprogram",
14
+ "webview",
15
+ "bridge",
16
+ "mock",
17
+ "typescript"
18
+ ],
12
19
  "type": "module",
13
20
  "sideEffects": false,
14
21
  "main": "./dist/index.js",
15
22
  "types": "./dist/index.d.ts",
16
23
  "exports": {
17
- ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" },
18
- "./protocol": { "types": "./dist/protocol.d.ts", "import": "./dist/protocol.js", "default": "./dist/protocol.js" }
24
+ ".": {
25
+ "types": "./dist/index.d.ts",
26
+ "import": "./dist/index.js",
27
+ "default": "./dist/index.js"
28
+ },
29
+ "./protocol": {
30
+ "types": "./dist/protocol.d.ts",
31
+ "import": "./dist/protocol.js",
32
+ "default": "./dist/protocol.js"
33
+ }
19
34
  },
20
- "files": ["dist", "README.md"],
21
- "scripts": { "build": "tsc -p tsconfig.json", "prepack": "npm run build" },
22
- "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }
35
+ "files": [
36
+ "dist",
37
+ "README.md"
38
+ ],
39
+ "scripts": {
40
+ "build": "tsc -p tsconfig.json",
41
+ "prepack": "npm run build"
42
+ },
43
+ "publishConfig": {
44
+ "access": "public",
45
+ "registry": "https://registry.npmjs.org/"
46
+ }
23
47
  }