baileys-redis-auth 1.0.1 → 1.0.2
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/lib/package.json +4 -4
- package/lib/src/Example/example.js +1 -1
- package/package.json +1 -1
package/lib/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "baileys-redis-auth",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Redis Auth for Baileys",
|
|
5
5
|
"author": "heriyanto binduni <hbinduni@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"main": "lib/index.
|
|
7
|
+
"main": "lib/src/index.js",
|
|
8
8
|
"types": "lib/index.d.ts",
|
|
9
|
-
"homepage": "https://github.com/
|
|
9
|
+
"homepage": "https://github.com/hbinduni/baileys-redis-auth",
|
|
10
10
|
"repository": {
|
|
11
|
-
"url": "
|
|
11
|
+
"url": "https://github.com/hbinduni/baileys-redis-auth.git"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
@@ -135,7 +135,7 @@ const startSock = async () => {
|
|
|
135
135
|
}
|
|
136
136
|
if (((_c = msg.message) === null || _c === void 0 ? void 0 : _c.conversation) === 'ping') {
|
|
137
137
|
await sock.readMessages([msg.key]);
|
|
138
|
-
await sendMessageWTyping({ text: '
|
|
138
|
+
await sendMessageWTyping({ text: 'Pong!' }, msg.key.remoteJid);
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
}
|