@invago/mixin 1.0.12 → 1.0.13

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.
@@ -2,7 +2,7 @@
2
2
  "id": "mixin",
3
3
  "name": "Mixin Messenger Channel",
4
4
  "description": "Mixin Messenger channel via Blaze WebSocket",
5
- "version": "1.0.10",
5
+ "version": "1.0.13",
6
6
  "channels": [
7
7
  "mixin"
8
8
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@invago/mixin",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Mixin Messenger channel plugin for OpenClaw",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -1,6 +1,18 @@
1
- import { DmPolicySchema, GroupPolicySchema } from "openclaw/plugin-sdk";
2
1
  import { z } from "zod";
3
2
 
3
+ const DmPolicySchema = z.enum([
4
+ "pairing",
5
+ "allowlist",
6
+ "open",
7
+ "disabled",
8
+ ]);
9
+
10
+ const GroupPolicySchema = z.enum([
11
+ "open",
12
+ "disabled",
13
+ "allowlist",
14
+ ]);
15
+
4
16
  export const MixinProxyConfigSchema = z.object({
5
17
  enabled: z.boolean().optional().default(false),
6
18
  url: z.string().optional(),