Skip to content

Commit

Permalink
fix: Fixed functions for whatsapp >= 2.3000.1013251637 (#1894)
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed May 3, 2024
1 parent 6f8dcad commit 3f7488a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -51,7 +51,7 @@
"@types/shelljs": "^0.8.15",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@wppconnect/wa-version": "^1.4.118",
"@wppconnect/wa-version": "^1.4.121",
"buffer": "^6.0.3",
"compare-versions": "^6.1.0",
"compressorjs": "^1.2.1",
Expand Down
Expand Up @@ -28,7 +28,6 @@ export declare class MsgLoadState extends Model {
isLoadingAroundMsgs: any;
contextLoaded: any;
}

/** @whatsapp 51612
* @whatsapp 951612 >= 2.2222.8
*/
Expand All @@ -42,8 +41,7 @@ export declare class MsgLoad extends BaseCollection<MsgModel> {
exportModule(
exports,
{
MsgLoadState: 'MsgLoadState',
MsgLoad: 'ChatMsgsCollection',
},
(m) => m.MsgLoadState
(m) => m.ChatMsgsCollection
);
2 changes: 1 addition & 1 deletion src/whatsapp/misc/index.ts
Expand Up @@ -30,7 +30,7 @@ export * from './MediaObjectUtil';
export * from './MediaPrep';
export * from './MediaUtils';
export * from './MsgKey';
export * from './MsgLoadState';
export * from './MsgLoad';
export * from './NetworkStatus';
export * from './OpaqueData';
export * from './ProductCatalogSession';
Expand Down

0 comments on commit 3f7488a

Please sign in to comment.