@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 CHANGED
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package waproto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1044865073
4
+ /// WhatsApp Version: 2.3000.1044901375
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
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(mod.key.value);
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(mod.key.value);
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(mod.expression.arguments[0].value);
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(mod.expression.arguments[0].value);
420
+ const rename = makeRenameFunc();
421
421
  const findByAliasInIdentifier = (obj, alias) => {
422
422
  return Object.values(obj).find(item => item.alias === alias);
423
423
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "2.3000.1044865073",
3
+ "version": "2.3000.1044901375",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {