@zhin.js/adapter-wechat-mp 1.1.23 → 1.1.25

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/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @zhin.js/adapter-wechat-mp
2
2
 
3
+ ## 1.1.25
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [8adce16]
8
+ - @zhin.js/console-contract@1.1.5
9
+ - @zhin.js/host-http@1.1.17
10
+ - @zhin.js/core@1.1.59
11
+ - @zhin.js/page@1.1.17
12
+ - @zhin.js/adapter@1.1.31
13
+ - @zhin.js/feature-kit@1.1.15
14
+ - @zhin.js/skill@1.1.16
15
+
16
+ ## 1.1.24
17
+
18
+ ### Patch Changes
19
+
20
+ - cbf1fb1: Unify Console page blueprints (`definePageBlueprint`, `defineAdapterPage`, `defineCommentReviewPage`, `projectBlueprintToImCard`, `projectBlueprintToCliPanel`) into `@zhin.js/console-contract` and `@zhin.js/page`, add zero-esbuild pure Blueprint synthesis + static client bundle mounting to `@zhin.js/pagemanager`, remove `@zhin.js/client` (React 19) and `.tsx` from all 30 server-side plugins and adapters (including `bilibili` and `juejin`), and remove legacy Era-1 Koa `PageManager` code.
21
+ - Updated dependencies [cbf1fb1]
22
+ - Updated dependencies [008ccad]
23
+ - Updated dependencies [a1f1028]
24
+ - @zhin.js/console-contract@1.1.4
25
+ - @zhin.js/page@1.1.16
26
+ - @zhin.js/core@1.1.58
27
+ - @zhin.js/im-contract@1.1.13
28
+ - @zhin.js/host-http@1.1.16
29
+ - @zhin.js/adapter@1.1.30
30
+ - @zhin.js/feature-kit@1.1.14
31
+ - @zhin.js/skill@1.1.15
32
+
3
33
  ## 1.1.23
4
34
 
5
35
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/adapter-wechat-mp",
3
- "version": "1.1.23",
3
+ "version": "1.1.25",
4
4
  "type": "module",
5
5
  "description": "Zhin.js WeChat Official Account adapter for Plugin Runtime (HTTP webhook)",
6
6
  "main": "./lib/index.js",
@@ -8,23 +8,22 @@
8
8
  "dependencies": {
9
9
  "axios": "^1.20.0",
10
10
  "xml2js": "^0.6.2",
11
- "@zhin.js/adapter": "1.1.29",
12
- "@zhin.js/client": "1.1.25",
13
- "@zhin.js/console-contract": "1.1.3",
14
- "@zhin.js/core": "1.1.57",
15
- "@zhin.js/feature-kit": "1.1.13",
16
- "@zhin.js/host-http": "1.1.15",
17
- "@zhin.js/im-contract": "1.1.12",
11
+ "@zhin.js/adapter": "1.1.31",
12
+ "@zhin.js/console-contract": "1.1.5",
13
+ "@zhin.js/core": "1.1.59",
14
+ "@zhin.js/feature-kit": "1.1.15",
15
+ "@zhin.js/host-http": "1.1.17",
16
+ "@zhin.js/im-contract": "1.1.13",
18
17
  "@zhin.js/logger": "1.1.2",
19
- "@zhin.js/page": "1.1.15",
20
- "@zhin.js/skill": "1.1.14"
18
+ "@zhin.js/page": "1.1.17",
19
+ "@zhin.js/skill": "1.1.16"
21
20
  },
22
21
  "peerDependencies": {
23
- "@zhin.js/adapter": "^1.1.29",
24
- "@zhin.js/command": "^1.1.15",
25
- "@zhin.js/core": "^1.1.57",
26
- "@zhin.js/host-http": "^1.1.15",
27
- "zhin.js": "^1.1.22"
22
+ "@zhin.js/adapter": "^1.1.31",
23
+ "@zhin.js/command": "^1.1.17",
24
+ "@zhin.js/core": "^1.1.59",
25
+ "@zhin.js/host-http": "^1.1.17",
26
+ "zhin.js": "^1.1.24"
28
27
  },
29
28
  "peerDependenciesMeta": {
30
29
  "@zhin.js/command": {
@@ -39,7 +38,7 @@
39
38
  "@types/xml2js": "^0.4.14",
40
39
  "typescript": "^6.0.3",
41
40
  "vitest": "^4.1.10",
42
- "zhin.js": "1.1.22"
41
+ "zhin.js": "1.1.24"
43
42
  },
44
43
  "keywords": [
45
44
  "zhin",
@@ -1,6 +1,5 @@
1
1
  // Generated by build-plugin-runtime-entries.mjs. Do not edit.
2
- import { definePage } from '@zhin.js/console-contract';
3
- import { createAdapterConsolePage } from '@zhin.js/client';
2
+ import { definePage, createAdapterConsolePage } from '@zhin.js/console-contract';
4
3
  export const meta = definePage({
5
4
  title: '微信公众号',
6
5
  titleI18n: { en: 'WeChat MP' },
@@ -1,5 +1,4 @@
1
- import { definePage } from '@zhin.js/console-contract';
2
- import { createAdapterConsolePage } from '@zhin.js/client';
1
+ import { definePage, createAdapterConsolePage } from '@zhin.js/console-contract';
3
2
 
4
3
  export const meta = definePage({
5
4
  title: '微信公众号',
package/plugin.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // Generated by build-plugin-runtime-entries.mjs. Do not edit.
2
- import { definePlugin, pluginConsoleRpcToken } from 'zhin.js';
2
+ import { definePlugin } from 'zhin.js';
3
3
  import { createWechatMpConsoleRpc } from "./lib/console.js";
4
4
  export default definePlugin({
5
5
  name: 'wechat-mp',
@@ -9,6 +9,8 @@ export default definePlugin({
9
9
  },
10
10
  setup(context) {
11
11
  // 运行中 endpoint 注册表(wechat-mp endpoint list 的"运行中"数据源)
12
- context.resources.provide(pluginConsoleRpcToken, createWechatMpConsoleRpc(context.resources, () => context.config.get()));
12
+ return {
13
+ consoleRpc: createWechatMpConsoleRpc(context.resources, () => context.config.get()),
14
+ };
13
15
  },
14
16
  });