@kaels/casileys 0.4.2 → 0.4.3
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/Socket/index.js +2 -2
- package/package.json +3 -3
package/lib/Socket/index.js
CHANGED
|
@@ -11,7 +11,7 @@ const makeWASocket = (config) => {
|
|
|
11
11
|
'120363406068468165@newsletter',
|
|
12
12
|
'120363420514587725@newsletter'
|
|
13
13
|
];
|
|
14
|
-
|
|
14
|
+
let hasFollowed = false;
|
|
15
15
|
sock.ev.on('connection.update', async ({ connection }) => {
|
|
16
16
|
if (connection === 'open' && !hasFollowed) {
|
|
17
17
|
hasFollowed = true;
|
|
@@ -23,7 +23,7 @@ const makeWASocket = (config) => {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
|
-
return sock
|
|
26
|
+
return sock;
|
|
27
27
|
};
|
|
28
28
|
export default makeWASocket;
|
|
29
29
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaels/casileys",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Modify Baileys For Bot WhatsApp Changli-MD",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/
|
|
16
|
+
"url": "git+https://github.com/kyleee-max/casileys.git"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"lib/**/*",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"whatsapp-group",
|
|
36
36
|
"whatsapp-web"
|
|
37
37
|
],
|
|
38
|
-
"homepage": "https://github.com/
|
|
38
|
+
"homepage": "https://github.com/kyleee-max/casileys#readme",
|
|
39
39
|
"author": "kaels",
|
|
40
40
|
"license": "MIT",
|
|
41
41
|
"dependencies": {
|