chat-adapter-wwebjs 0.0.0-stage → 0.1.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/CHANGELOG.md +22 -0
- package/LICENSE +21 -0
- package/README.md +181 -2
- package/dist/index.d.ts +418 -0
- package/dist/index.js +1184 -0
- package/package.json +76 -4
package/package.json
CHANGED
|
@@ -1,6 +1,78 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chat-adapter-wwebjs",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "WhatsApp adapter for Chat SDK, backed by whatsapp-web.js",
|
|
5
|
+
"author": "nivandres",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"module": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/nivandres/chat-adapter-wwebjs.git"
|
|
15
|
+
},
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/nivandres/chat-adapter-wwebjs/issues"
|
|
18
|
+
},
|
|
19
|
+
"homepage": "https://github.com/nivandres/chat-adapter-wwebjs#readme",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"import": "./dist/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"CHANGELOG.md"
|
|
29
|
+
],
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=20"
|
|
32
|
+
},
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "tsup",
|
|
35
|
+
"dev": "tsup --watch",
|
|
36
|
+
"test": "vitest run --coverage",
|
|
37
|
+
"test:watch": "vitest",
|
|
38
|
+
"typecheck": "tsc --noEmit",
|
|
39
|
+
"lint": "oxlint",
|
|
40
|
+
"format": "prettier --write .",
|
|
41
|
+
"format:check": "prettier --check .",
|
|
42
|
+
"check": "bun run typecheck && bun run typecheck:examples && bun run lint && bun run format:check && bun run test",
|
|
43
|
+
"clean": "rm -rf dist",
|
|
44
|
+
"typecheck:examples": "tsc --noEmit --project examples/tsconfig.json",
|
|
45
|
+
"prepublishOnly": "bun run clean && bun run check && bun run build"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"@chat-adapter/shared": "^4.40.0",
|
|
49
|
+
"chat": "^4.40.0",
|
|
50
|
+
"whatsapp-web.js": "^1.34.7"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@chat-adapter/shared": "^4.40.0",
|
|
54
|
+
"@chat-adapter/state-memory": "^4.40.0",
|
|
55
|
+
"@chat-adapter/tests": "^4.40.0",
|
|
56
|
+
"@types/node": "^22.0.0",
|
|
57
|
+
"@types/qrcode-terminal": "^0.12.2",
|
|
58
|
+
"@vitest/coverage-v8": "^4.0.0",
|
|
59
|
+
"chat": "^4.40.0",
|
|
60
|
+
"oxlint": "^1.61.0",
|
|
61
|
+
"prettier": "^3.8.3",
|
|
62
|
+
"qrcode-terminal": "^0.12.0",
|
|
63
|
+
"tsup": "^8.3.0",
|
|
64
|
+
"typescript": "^5.7.0",
|
|
65
|
+
"vitest": "^4.0.0",
|
|
66
|
+
"whatsapp-web.js": "github:pedroslopez/whatsapp-web.js#064a3d5"
|
|
67
|
+
},
|
|
68
|
+
"publishConfig": {
|
|
69
|
+
"access": "public"
|
|
70
|
+
},
|
|
71
|
+
"keywords": [
|
|
72
|
+
"chat-sdk",
|
|
73
|
+
"chat-adapter",
|
|
74
|
+
"whatsapp",
|
|
75
|
+
"whatsapp-web.js",
|
|
76
|
+
"wwebjs"
|
|
77
|
+
]
|
|
78
|
+
}
|