@wecom/wecom-openclaw-plugin 1.0.0 → 1.0.3

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.
@@ -4,7 +4,7 @@
4
4
  * 负责通过 WSClient 发送回复消息,包含超时保护
5
5
  */
6
6
  import type { RuntimeEnv } from "openclaw/plugin-sdk";
7
- import type { WSClient, WsFrame } from "@wecom/aibot-node-sdk";
7
+ import { type WSClient, type WsFrame } from "@wecom/aibot-node-sdk";
8
8
  /**
9
9
  * 发送企业微信回复消息
10
10
  * 供 monitor 内部和 channel outbound 使用
@@ -2,9 +2,6 @@
2
2
  * 企业微信公共工具函数
3
3
  */
4
4
  import type { OpenClawConfig } from "openclaw/plugin-sdk";
5
- /**
6
- * 企业微信配置类型
7
- */
8
5
  /**
9
6
  * 企业微信群组配置
10
7
  */
@@ -52,22 +49,3 @@ export declare function resolveWeComAccount(cfg: OpenClawConfig): ResolvedWeComA
52
49
  * 设置企业微信账户配置
53
50
  */
54
51
  export declare function setWeComAccount(cfg: OpenClawConfig, account: Partial<WeComConfig>): OpenClawConfig;
55
- /**
56
- * 生成企业微信请求 ID
57
- * @param prefix - 请求类型前缀(subscribe, ping, response 等)
58
- * @returns 格式化的请求 ID
59
- */
60
- export declare function generateReqId(prefix: string): string;
61
- /**
62
- * 判断 req_id 的类型
63
- * @param reqId - 请求 ID
64
- * @returns 请求类型(subscribe, ping, response 等)
65
- */
66
- export declare function getReqIdType(reqId: string): string | null;
67
- /**
68
- * 检查 req_id 是否为指定类型
69
- * @param reqId - 请求 ID
70
- * @param type - 请求类型
71
- * @returns 是否匹配
72
- */
73
- export declare function isReqIdType(reqId: string, type: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wecom/wecom-openclaw-plugin",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",