@zerodot/whatsapp 0.0.0-stage → 1.0.0

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 CHANGED
@@ -1,6 +1,49 @@
1
1
  {
2
2
  "name": "@zerodot/whatsapp",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.0.0",
4
+ "description": "Send WhatsApp messages and templates, upload and manage media with the WhatsApp Business Cloud API, wait for a reply, and start a workflow on WhatsApp webhook events.",
5
+ "license": "AGPL-3.0-only",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/zerodot-io/nodes.git",
9
+ "directory": "packages/whatsapp"
10
+ },
11
+ "keywords": [
12
+ "zerodot-node-package"
13
+ ],
14
+ "type": "module",
15
+ "main": "./dist/index.cjs",
16
+ "exports": {
17
+ ".": "./dist/index.cjs"
18
+ },
19
+ "files": [
20
+ "dist",
21
+ "whatsapp.svg"
22
+ ],
23
+ "zerodot": {
24
+ "sdk": "^1.2",
25
+ "label": "WhatsApp",
26
+ "summary": "Send WhatsApp messages and react to webhook events"
27
+ },
28
+ "publishConfig": {
29
+ "access": "public"
30
+ },
31
+ "dependencies": {},
32
+ "peerDependencies": {
33
+ "@zerodot/node-sdk": "^1.2.0",
34
+ "zod": "^4.0.0"
35
+ },
36
+ "devDependencies": {
37
+ "@types/node": "26.6.5",
38
+ "@zerodot/node-sdk": "^1.2.1",
39
+ "tsdown": "0.23.2",
40
+ "tsx": "4.23.15",
41
+ "typescript": "7.0.2",
42
+ "zod": "4.6.7"
43
+ },
44
+ "scripts": {
45
+ "build": "tsdown",
46
+ "check-types": "tsc -p tsconfig.json",
47
+ "test": "tsx --test src/*.test.ts"
48
+ }
6
49
  }
package/whatsapp.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 512 512"><path d="m143.8 431.2 7.7 4.5c32.2 19.1 69.2 29.2 106.8 29.2h.1c115.7 0 209.8-94.1 209.9-209.8 0-56.1-21.8-108.8-61.4-148.4-39.3-39.5-92.7-61.7-148.4-61.5-115.8 0-209.9 94.1-210 209.8-.1 39.5 11.1 78.2 32.1 111.7l5 7.9L64.4 452zM3.7 512l35.8-130.8C17.5 342.9 5.8 299.5 5.9 255 5.9 115.8 119.2 2.6 258.4 2.6c67.5 0 130.9 26.3 178.6 74s73.9 111.1 73.9 178.6c-.1 139.2-113.3 252.4-252.5 252.4h-.1c-42.3 0-83.8-10.6-120.7-30.7z" style="fill:#b3b3b3"/><path d="M1.1 509.4 37 378.6C14.8 340.2 3.2 296.7 3.3 252.4 3.3 113.2 116.6 0 255.8 0c67.5 0 130.9 26.3 178.6 74s73.9 111.1 73.9 178.6C508.2 391.8 394.9 505 255.8 505h-.1c-42.3 0-83.8-10.6-120.7-30.7z" style="fill:#fff"/><path d="M255.8 42.6c-115.8 0-209.9 94.1-210 209.8 0 39.5 11.2 78.2 32.2 111.7l5 7.9-21.2 77.4 79.4-20.8 7.7 4.5c32.2 19.1 69.2 29.2 106.8 29.3h.1c115.7 0 209.8-94.1 209.9-209.8.2-55.7-21.9-109.1-61.4-148.4-39.3-39.5-92.8-61.7-148.5-61.6" style="fill:none"/><linearGradient id="a" x1="254.666" x2="256.793" y1="446.637" y2="87.926" gradientTransform="matrix(1 0 0 -1 0 514.448)" gradientUnits="userSpaceOnUse"><stop offset="0" style="stop-color:#57d163"/><stop offset="1" style="stop-color:#23b33a"/></linearGradient><path d="M255.8 42.6c-115.8 0-209.9 94.1-210 209.8 0 39.5 11.2 78.2 32.2 111.7l5 7.9-21.2 77.4 79.4-20.8 7.7 4.5c32.2 19.1 69.2 29.2 106.8 29.2h.1c115.7 0 209.8-94.1 209.9-209.8.2-55.7-21.9-109.1-61.4-148.4-39.3-39.4-92.8-61.6-148.5-61.5" style="fill:url(#a)"/><path d="M192.7 146.9c-4.7-10.5-9.7-10.7-14.2-10.9l-12.1-.1c-4.2 0-11 1.6-16.8 7.9s-22.1 21.6-22.1 52.6 22.6 61 25.8 65.2 43.6 69.9 107.8 95.2c53.3 21 64.1 16.8 75.7 15.8 11.6-1.1 37.3-15.3 42.6-30s5.3-27.4 3.7-30-5.8-4.2-12.1-7.4-37.3-18.4-43.1-20.5-10-3.2-14.2 3.2c-4.2 6.3-16.3 20.5-20 24.7s-7.4 4.7-13.7 1.6c-6.3-3.2-26.6-9.8-50.7-31.3-18.8-16.7-31.4-37.4-35.1-43.7s-.4-9.7 2.8-12.9c2.8-2.8 6.3-7.4 9.5-11.1s4.2-6.3 6.3-10.5 1.1-7.9-.5-11.1c-1.8-3-14-34.2-19.6-46.7" style="fill-rule:evenodd;clip-rule:evenodd;fill:#fff"/></svg>