@wppconnect/wa-proto 2.3000.1044865073 → 2.3000.1044901375
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/WAProto.proto +1 -1
- package/index-2x.js +2 -2
- package/index.js +2 -2
- package/package.json +1 -1
package/WAProto.proto
CHANGED
package/index-2x.js
CHANGED
|
@@ -160,7 +160,7 @@ async function findAppModules() {
|
|
|
160
160
|
// find all identifiers and, for enums, their array of values
|
|
161
161
|
for (const mod of modules) {
|
|
162
162
|
const modInfo = modulesInfo[mod.key.value];
|
|
163
|
-
const rename = makeRenameFunc(
|
|
163
|
+
const rename = makeRenameFunc();
|
|
164
164
|
|
|
165
165
|
// all identifiers will be initialized to "void 0" (i.e. "undefined") at the start, so capture them here
|
|
166
166
|
walk.ancestor(mod, {
|
|
@@ -234,7 +234,7 @@ async function findAppModules() {
|
|
|
234
234
|
// find the contents for all protobuf messages
|
|
235
235
|
for (const mod of modules) {
|
|
236
236
|
const modInfo = modulesInfo[mod.key.value];
|
|
237
|
-
const rename = makeRenameFunc(
|
|
237
|
+
const rename = makeRenameFunc();
|
|
238
238
|
|
|
239
239
|
// message specifications are stored in a "internalSpec" attribute of the respective identifier alias
|
|
240
240
|
walk.simple(mod, {
|
package/index.js
CHANGED
|
@@ -318,7 +318,7 @@ async function main() {
|
|
|
318
318
|
// find all identifiers and, for enums, their array of values
|
|
319
319
|
for (const mod of modules) {
|
|
320
320
|
const modInfo = modulesInfo[mod.expression.arguments[0].value];
|
|
321
|
-
const rename = makeRenameFunc(
|
|
321
|
+
const rename = makeRenameFunc();
|
|
322
322
|
|
|
323
323
|
const assignments = []
|
|
324
324
|
walk.simple(mod, {
|
|
@@ -417,7 +417,7 @@ async function main() {
|
|
|
417
417
|
// find the contents for all protobuf messages
|
|
418
418
|
for (const mod of modules) {
|
|
419
419
|
const modInfo = modulesInfo[mod.expression.arguments[0].value];
|
|
420
|
-
const rename = makeRenameFunc(
|
|
420
|
+
const rename = makeRenameFunc();
|
|
421
421
|
const findByAliasInIdentifier = (obj, alias) => {
|
|
422
422
|
return Object.values(obj).find(item => item.alias === alias);
|
|
423
423
|
};
|