@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/CHANGELOG.md +8 -0
- package/WAProto.proto +209 -27
- package/dist/index.d.ts +2243 -224
- package/dist/index.js +6854 -554
- package/index.js +5 -5
- package/package.json +1 -1
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.
|
|
99
|
-
'
|
|
100
|
-
'
|
|
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
|
}
|