@gloablehive/ipad-wechat-plugin 1.0.19 → 1.0.20

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/index.js CHANGED
@@ -18,10 +18,10 @@ export default defineChannelPluginEntry({
18
18
  registerFull(api) {
19
19
  console.log("[iPad WeChat] registerFull called, registering webhook route");
20
20
  // Register webhook endpoint for receiving messages
21
- // Using /api/channels/ prefix like nostr plugin
21
+ // Using plugin auth - gateway allows requests through and lets plugin handle auth
22
22
  api.registerHttpRoute({
23
23
  path: "/api/channels/ipad-wechat",
24
- auth: "gateway",
24
+ auth: "plugin",
25
25
  match: "prefix",
26
26
  handler: async (req, res) => {
27
27
  console.log("[iPad WeChat] Handler called, url:", req.url);
package/index.ts CHANGED
@@ -22,10 +22,10 @@ export default defineChannelPluginEntry({
22
22
  console.log("[iPad WeChat] registerFull called, registering webhook route");
23
23
 
24
24
  // Register webhook endpoint for receiving messages
25
- // Using /api/channels/ prefix like nostr plugin
25
+ // Using plugin auth - gateway allows requests through and lets plugin handle auth
26
26
  api.registerHttpRoute({
27
27
  path: "/api/channels/ipad-wechat",
28
- auth: "gateway",
28
+ auth: "plugin",
29
29
  match: "prefix",
30
30
  handler: async (req, res) => {
31
31
  console.log("[iPad WeChat] Handler called, url:", (req as any).url);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gloablehive/ipad-wechat-plugin",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "type": "module",
5
5
  "description": "OpenClaw channel plugin for iPad WeChat protocol - enables sending/receiving WeChat messages through iPad protocol",
6
6
  "main": "index.ts",