zaileys 4.1.0 → 4.1.1
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/dist/index.cjs +13 -13
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +13 -13
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -180,6 +180,7 @@ interface BuilderSocketLike {
|
|
|
180
180
|
messageId: string;
|
|
181
181
|
additionalNodes?: unknown[];
|
|
182
182
|
}): Promise<string>;
|
|
183
|
+
chatModify?(mod: unknown, jid: string): Promise<void>;
|
|
183
184
|
user?: {
|
|
184
185
|
id?: string | null;
|
|
185
186
|
} | null;
|
|
@@ -1240,6 +1241,7 @@ declare class Client extends TypedEventEmitter<ClientEventMap> {
|
|
|
1240
1241
|
private handleQrUpdate;
|
|
1241
1242
|
private handleAuthExhausted;
|
|
1242
1243
|
private handleOpen;
|
|
1244
|
+
private resolveMessageForResend;
|
|
1243
1245
|
private lookupQuoted;
|
|
1244
1246
|
private handleClose;
|
|
1245
1247
|
private rejectPendingConnect;
|
|
@@ -1360,8 +1362,6 @@ interface CacheableAuthStoreOptions {
|
|
|
1360
1362
|
warn?: (msg: unknown) => void;
|
|
1361
1363
|
error?: (msg: unknown) => void;
|
|
1362
1364
|
};
|
|
1363
|
-
cacheSize?: number;
|
|
1364
|
-
cacheTtlSeconds?: number;
|
|
1365
1365
|
}
|
|
1366
1366
|
declare function makeCacheableAuthStore(bundle: AuthStoreBundle, options?: CacheableAuthStoreOptions): AuthStoreBundle;
|
|
1367
1367
|
|
package/dist/index.d.ts
CHANGED
|
@@ -180,6 +180,7 @@ interface BuilderSocketLike {
|
|
|
180
180
|
messageId: string;
|
|
181
181
|
additionalNodes?: unknown[];
|
|
182
182
|
}): Promise<string>;
|
|
183
|
+
chatModify?(mod: unknown, jid: string): Promise<void>;
|
|
183
184
|
user?: {
|
|
184
185
|
id?: string | null;
|
|
185
186
|
} | null;
|
|
@@ -1240,6 +1241,7 @@ declare class Client extends TypedEventEmitter<ClientEventMap> {
|
|
|
1240
1241
|
private handleQrUpdate;
|
|
1241
1242
|
private handleAuthExhausted;
|
|
1242
1243
|
private handleOpen;
|
|
1244
|
+
private resolveMessageForResend;
|
|
1243
1245
|
private lookupQuoted;
|
|
1244
1246
|
private handleClose;
|
|
1245
1247
|
private rejectPendingConnect;
|
|
@@ -1360,8 +1362,6 @@ interface CacheableAuthStoreOptions {
|
|
|
1360
1362
|
warn?: (msg: unknown) => void;
|
|
1361
1363
|
error?: (msg: unknown) => void;
|
|
1362
1364
|
};
|
|
1363
|
-
cacheSize?: number;
|
|
1364
|
-
cacheTtlSeconds?: number;
|
|
1365
1365
|
}
|
|
1366
1366
|
declare function makeCacheableAuthStore(bundle: AuthStoreBundle, options?: CacheableAuthStoreOptions): AuthStoreBundle;
|
|
1367
1367
|
|