@wppconnect/wa-proto 1.1.49 → 2.3000.1022948279

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/index.js CHANGED
@@ -95,11 +95,10 @@ async function findAppModules() {
95
95
 
96
96
  // This one list of types is so long that it's split into two JavaScript declarations.
97
97
  // The module finder below can't handle it, so just patch it manually here.
98
- const patchedQrData = qrData.replace(
99
- 't.ActionLinkSpec=void 0,t.TemplateButtonSpec',
100
- 't.ActionLinkSpec=t.TemplateButtonSpec'
98
+ const patchedQrData = qrData.replaceAll(
99
+ 'LimitSharing$Trigger',
100
+ 'LimitSharing$TriggerType'
101
101
  );
102
- //const patchedQrData = qrData.replace("Spec=void 0,t.", "Spec=t.")
103
102
 
104
103
  const qrModules = acorn.parse(patchedQrData).body;
105
104
 
@@ -168,7 +167,8 @@ async function findAppModules() {
168
167
  if(
169
168
  left.property?.name &&
170
169
  left.property?.name !== 'internalSpec' &&
171
- left.property?.name !== 'internalDefaults'
170
+ left.property?.name !== 'internalDefaults' &&
171
+ left.property?.name !== 'name'
172
172
  ) {
173
173
  assignments.push(left);
174
174
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-proto",
3
- "version": "1.1.49",
3
+ "version": "2.3000.1022948279",
4
4
  "description": "Protobuf files from WhatsApp WEB",
5
5
  "license": "Apache-2.0",
6
6
  "author": {