@elizaos/plugin-whatsapp 2.0.0-alpha.3 → 2.0.0-alpha.5
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/package.json +50 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-whatsapp",
|
|
3
3
|
"description": "WhatsApp Cloud API plugin for ElizaOS",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -51,9 +51,57 @@
|
|
|
51
51
|
"clean": "rm -rf dist .turbo",
|
|
52
52
|
"lint:check": "bunx @biomejs/biome check .",
|
|
53
53
|
"build": "bun run build.ts",
|
|
54
|
-
"build:ts": "bun run build.ts"
|
|
54
|
+
"build:ts": "bun run build.ts",
|
|
55
|
+
"format": "bunx @biomejs/biome format --write .",
|
|
56
|
+
"format:check": "bunx @biomejs/biome format ."
|
|
55
57
|
},
|
|
56
58
|
"publishConfig": {
|
|
57
59
|
"access": "public"
|
|
60
|
+
},
|
|
61
|
+
"agentConfig": {
|
|
62
|
+
"pluginParameters": {
|
|
63
|
+
"WHATSAPP_ACCESS_TOKEN": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"description": "Access token for Whatsapp",
|
|
66
|
+
"required": true,
|
|
67
|
+
"sensitive": true
|
|
68
|
+
},
|
|
69
|
+
"WHATSAPP_PHONE_NUMBER_ID": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"description": "Phone number ID",
|
|
72
|
+
"required": false,
|
|
73
|
+
"sensitive": false
|
|
74
|
+
},
|
|
75
|
+
"WHATSAPP_WEBHOOK_VERIFY_TOKEN": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"description": "Webhook verification token",
|
|
78
|
+
"required": false,
|
|
79
|
+
"sensitive": true
|
|
80
|
+
},
|
|
81
|
+
"WHATSAPP_BUSINESS_ACCOUNT_ID": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"description": "Business account ID",
|
|
84
|
+
"required": false,
|
|
85
|
+
"sensitive": false
|
|
86
|
+
},
|
|
87
|
+
"WHATSAPP_API_VERSION": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "API version string",
|
|
90
|
+
"required": false,
|
|
91
|
+
"sensitive": false
|
|
92
|
+
},
|
|
93
|
+
"WHATSAPP_DM_POLICY": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"description": "DM policy (e.g. allow, deny, allowlist)",
|
|
96
|
+
"required": false,
|
|
97
|
+
"sensitive": false
|
|
98
|
+
},
|
|
99
|
+
"WHATSAPP_GROUP_POLICY": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"description": "Group message policy",
|
|
102
|
+
"required": false,
|
|
103
|
+
"sensitive": false
|
|
104
|
+
}
|
|
105
|
+
}
|
|
58
106
|
}
|
|
59
107
|
}
|