Skip to content

Commit

Permalink
fix: Fixed Version 2.3000.1015281091
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelo386 committed Jul 31, 2024
1 parent d7edc1c commit 4eac1a3
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
9 changes: 7 additions & 2 deletions src/whatsapp/collections/ChatstateCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ export declare class ChatstateCollection extends Collection<ChatstateModel> {
exportModule(
exports,
{
ChatstateCollection: ['ChatstateCollectionImpl', 'ChatstateCollection'],
ChatstateCollection: [
'ChatCollectionImpl',
'ChatstateCollectionImpl',
'ChatstateCollection',
],
},
(m) => m.ChatstateCollectionImpl || m.ChatstateCollection
(m) =>
m.ChatCollectionImpl || m.ChatstateCollectionImpl || m.ChatstateCollection
);
4 changes: 2 additions & 2 deletions src/whatsapp/collections/LabelCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ export declare class LabelCollection extends BaseCollection<LabelModel> {
}
exportModule(
exports,
{ LabelCollection: 'LabelCollectionImpl' },
(m) => m.LabelCollectionImpl
{ LabelCollection: ['LabelCollection', 'LabelCollectionImpl'] },
(m) => m.LabelCollection || m.LabelCollectionImpl
);
4 changes: 2 additions & 2 deletions src/whatsapp/collections/MsgInfoCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ export declare class MsgInfoCollection extends BaseCollection<MsgInfoModel> {
}
exportModule(
exports,
{ MsgInfoCollection: 'MsgInfoCollectionImpl' },
(m) => m.MsgInfoCollectionImpl
{ MsgInfoCollection: ['MsgInfoCollection', 'MsgInfoCollectionImpl'] },
(m) => m.MsgInfoCollection || m.MsgInfoCollectionImpl
);
4 changes: 2 additions & 2 deletions src/whatsapp/collections/StatusCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export declare class StatusCollection extends BaseCollection<StatusModel> {
exportModule(
exports,
{
StatusCollection: 'TextStatusCollectionImpl',
StatusCollection: ['TextStatusCollection', 'TextStatusCollectionImpl'],
},
(m) => m.TextStatusCollectionImpl
(m) => m.TextStatusCollection || m.TextStatusCollectionImpl
);
2 changes: 1 addition & 1 deletion src/whatsapp/misc/Conn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ import { ConnModel } from '../models';
*/
export declare const Conn: ConnModel;

exportModule(exports, { Conn: 'Conn' }, (m) => m.Conn && m.ConnImpl);
exportModule(exports, { Conn: 'Conn' }, (m) => m.Conn && m.ConnImpl1);
4 changes: 2 additions & 2 deletions src/whatsapp/models/ConnModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export declare class ConnModel extends Model {
exportModule(
exports,
{
ConnModel: 'ConnImpl',
ConnModel: 'ConnImpl1',
},
(m) => m.ConnImpl
(m) => m.ConnImpl1
);

0 comments on commit 4eac1a3

Please sign in to comment.