@awangxcode/qiro-baileys 7.0.0-rc26.2 → 7.0.0
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/lib/Defaults/index.d.ts +1 -1
- package/lib/Defaults/index.js +3 -3
- package/lib/Extensions/advanced.d.ts +1 -1
- package/lib/Extensions/experimental.d.ts +1 -1
- package/lib/MessageBuilder/index.d.ts +5 -5
- package/lib/MessageBuilder/index.js +2 -2
- package/lib/Signal/Group/group-session-builder.d.ts +3 -3
- package/lib/Signal/Group/group-session-builder.js +4 -4
- package/lib/Signal/Group/group_cipher.d.ts +2 -2
- package/lib/Signal/Group/group_cipher.js +4 -4
- package/lib/Signal/Group/index.d.ts +11 -11
- package/lib/Signal/Group/index.js +11 -11
- package/lib/Signal/Group/sender-chain-key.d.ts +1 -1
- package/lib/Signal/Group/sender-chain-key.js +1 -1
- package/lib/Signal/Group/sender-key-distribution-message.d.ts +1 -1
- package/lib/Signal/Group/sender-key-distribution-message.js +1 -1
- package/lib/Signal/Group/sender-key-message.d.ts +1 -1
- package/lib/Signal/Group/sender-key-message.js +1 -1
- package/lib/Signal/Group/sender-key-record.d.ts +1 -1
- package/lib/Signal/Group/sender-key-record.js +2 -2
- package/lib/Signal/Group/sender-key-state.d.ts +2 -2
- package/lib/Signal/Group/sender-key-state.js +2 -2
- package/lib/Signal/libsignal.d.ts +3 -3
- package/lib/Signal/libsignal.js +6 -6
- package/lib/Signal/lid-mapping.d.ts +2 -2
- package/lib/Signal/lid-mapping.js +1 -1
- package/lib/Socket/Client/index.d.ts +2 -2
- package/lib/Socket/Client/index.js +2 -2
- package/lib/Socket/Client/types.d.ts +1 -1
- package/lib/Socket/Client/websocket.d.ts +1 -1
- package/lib/Socket/Client/websocket.js +2 -2
- package/lib/Socket/business.d.ts +77 -77
- package/lib/Socket/business.js +5 -5
- package/lib/Socket/chats.d.ts +16 -16
- package/lib/Socket/chats.js +9 -9
- package/lib/Socket/communities.d.ts +56 -56
- package/lib/Socket/communities.js +5 -5
- package/lib/Socket/groups.d.ts +28 -28
- package/lib/Socket/groups.js +4 -4
- package/lib/Socket/index.d.ts +97 -97
- package/lib/Socket/index.js +4 -4
- package/lib/Socket/messages-recv.d.ts +42 -42
- package/lib/Socket/messages-recv.js +10 -10
- package/lib/Socket/messages-send.d.ts +45 -45
- package/lib/Socket/messages-send.js +9 -9
- package/lib/Socket/mex.d.ts +1 -1
- package/lib/Socket/mex.js +1 -1
- package/lib/Socket/newsletter.d.ts +34 -34
- package/lib/Socket/newsletter.js +5 -5
- package/lib/Socket/socket.d.ts +11 -11
- package/lib/Socket/socket.js +7 -7
- package/lib/Types/Auth.d.ts +2 -2
- package/lib/Types/Chat.d.ts +6 -6
- package/lib/Types/Events.d.ts +9 -9
- package/lib/Types/GroupMetadata.d.ts +2 -2
- package/lib/Types/Message.d.ts +5 -5
- package/lib/Types/Product.d.ts +1 -1
- package/lib/Types/Signal.d.ts +1 -1
- package/lib/Types/Socket.d.ts +5 -5
- package/lib/Types/Socket.js +1 -1
- package/lib/Types/State.d.ts +1 -1
- package/lib/Types/USync.d.ts +2 -2
- package/lib/Types/USync.js +1 -1
- package/lib/Types/index.d.ts +14 -14
- package/lib/Types/index.js +12 -12
- package/lib/Utils/auth-utils.d.ts +2 -2
- package/lib/Utils/auth-utils.js +4 -4
- package/lib/Utils/browser-utils.d.ts +1 -1
- package/lib/Utils/business.d.ts +2 -2
- package/lib/Utils/business.js +3 -3
- package/lib/Utils/chat-utils.d.ts +3 -3
- package/lib/Utils/chat-utils.js +7 -7
- package/lib/Utils/companion-reg-client-utils.d.ts +3 -3
- package/lib/Utils/companion-reg-client-utils.js +1 -1
- package/lib/Utils/crypto.d.ts +1 -1
- package/lib/Utils/crypto.js +1 -1
- package/lib/Utils/decode-wa-message.d.ts +4 -4
- package/lib/Utils/decode-wa-message.js +2 -2
- package/lib/Utils/event-buffer.d.ts +2 -2
- package/lib/Utils/event-buffer.js +4 -4
- package/lib/Utils/generics.d.ts +2 -2
- package/lib/Utils/generics.js +3 -3
- package/lib/Utils/history.d.ts +1 -1
- package/lib/Utils/history.js +5 -5
- package/lib/Utils/identity-change-handler.d.ts +2 -2
- package/lib/Utils/identity-change-handler.js +2 -2
- package/lib/Utils/index.d.ts +21 -21
- package/lib/Utils/index.js +21 -21
- package/lib/Utils/link-preview.d.ts +2 -2
- package/lib/Utils/link-preview.js +2 -2
- package/lib/Utils/message-retry-manager.d.ts +1 -1
- package/lib/Utils/messages-media.d.ts +4 -4
- package/lib/Utils/messages-media.js +4 -4
- package/lib/Utils/messages.d.ts +4 -4
- package/lib/Utils/messages.js +7 -7
- package/lib/Utils/noise-handler.d.ts +3 -3
- package/lib/Utils/noise-handler.js +3 -3
- package/lib/Utils/offline-node-processor.d.ts +1 -1
- package/lib/Utils/pre-key-manager.d.ts +2 -2
- package/lib/Utils/process-message.d.ts +2 -2
- package/lib/Utils/process-message.js +7 -7
- package/lib/Utils/reporting-utils.d.ts +2 -2
- package/lib/Utils/reporting-utils.js +1 -1
- package/lib/Utils/signal.d.ts +4 -4
- package/lib/Utils/signal.js +4 -4
- package/lib/Utils/stanza-ack.d.ts +1 -1
- package/lib/Utils/sync-action-utils.d.ts +2 -2
- package/lib/Utils/sync-action-utils.js +1 -1
- package/lib/Utils/tc-token-utils.d.ts +2 -2
- package/lib/Utils/tc-token-utils.js +1 -1
- package/lib/Utils/use-multi-file-auth-state.d.ts +1 -1
- package/lib/Utils/use-multi-file-auth-state.js +2 -2
- package/lib/Utils/validate-connection.d.ts +2 -2
- package/lib/Utils/validate-connection.js +5 -5
- package/lib/WABinary/decode.d.ts +1 -1
- package/lib/WABinary/decode.js +2 -2
- package/lib/WABinary/encode.d.ts +1 -1
- package/lib/WABinary/encode.js +2 -2
- package/lib/WABinary/generic-utils.d.ts +1 -1
- package/lib/WABinary/generic-utils.js +1 -1
- package/lib/WABinary/index.d.ts +5 -5
- package/lib/WABinary/index.js +5 -5
- package/lib/WABinary/types.d.ts +1 -1
- package/lib/WABinary/types.js +1 -1
- package/lib/WAM/BinaryInfo.d.ts +1 -1
- package/lib/WAM/encode.d.ts +1 -1
- package/lib/WAM/encode.js +2 -2
- package/lib/WAM/index.d.ts +3 -3
- package/lib/WAM/index.js +3 -3
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +3 -3
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +2 -2
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +2 -2
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +1 -1
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +2 -2
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +1 -1
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +2 -2
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +1 -1
- package/lib/WAUSync/Protocols/USyncUsernameProtocol.d.ts +3 -3
- package/lib/WAUSync/Protocols/USyncUsernameProtocol.js +2 -2
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.d.ts +3 -3
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +2 -2
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.d.ts +3 -3
- package/lib/WAUSync/Protocols/index.d.ts +5 -5
- package/lib/WAUSync/Protocols/index.js +5 -5
- package/lib/WAUSync/USyncQuery.d.ts +3 -3
- package/lib/WAUSync/USyncQuery.js +5 -5
- package/lib/WAUSync/index.d.ts +3 -3
- package/lib/WAUSync/index.js +3 -3
- package/lib/index.d.ts +10 -10
- package/lib/index.js +11 -11
- package/package.json +2 -2
package/lib/WAM/BinaryInfo.d.ts
CHANGED
package/lib/WAM/encode.d.ts
CHANGED
package/lib/WAM/encode.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BinaryInfo } from './BinaryInfo';
|
|
2
|
-
import { FLAG_BYTE, FLAG_EVENT, FLAG_EXTENDED, FLAG_FIELD, FLAG_GLOBAL, WEB_EVENTS, WEB_GLOBALS } from './constants';
|
|
1
|
+
import { BinaryInfo } from './BinaryInfo.js';
|
|
2
|
+
import { FLAG_BYTE, FLAG_EVENT, FLAG_EXTENDED, FLAG_FIELD, FLAG_GLOBAL, WEB_EVENTS, WEB_GLOBALS } from './constants.js';
|
|
3
3
|
const getHeaderBitLength = (key) => (key < 256 ? 2 : 3);
|
|
4
4
|
export const encodeWAM = (binaryInfo) => {
|
|
5
5
|
binaryInfo.buffer = [];
|
package/lib/WAM/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './constants';
|
|
2
|
-
export * from './encode';
|
|
3
|
-
export * from './BinaryInfo';
|
|
1
|
+
export * from './constants.js';
|
|
2
|
+
export * from './encode.js';
|
|
3
|
+
export * from './BinaryInfo.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/WAM/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './constants';
|
|
2
|
-
export * from './encode';
|
|
3
|
-
export * from './BinaryInfo';
|
|
1
|
+
export * from './constants.js';
|
|
2
|
+
export * from './encode.js';
|
|
3
|
+
export * from './BinaryInfo.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { USyncQueryProtocol } from '../../Types/USync';
|
|
2
|
-
import { type BinaryNode } from '../../WABinary';
|
|
3
|
-
import { USyncUser } from '../USyncUser';
|
|
1
|
+
import type { USyncQueryProtocol } from '../../Types/USync.js';
|
|
2
|
+
import { type BinaryNode } from '../../WABinary/index.js';
|
|
3
|
+
import { USyncUser } from '../USyncUser.js';
|
|
4
4
|
export declare class USyncContactProtocol implements USyncQueryProtocol {
|
|
5
5
|
name: string;
|
|
6
6
|
getQueryElement(): BinaryNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { assertNodeErrorFree } from '../../WABinary';
|
|
2
|
-
import { USyncUser } from '../USyncUser';
|
|
1
|
+
import { assertNodeErrorFree } from '../../WABinary/index.js';
|
|
2
|
+
import { USyncUser } from '../USyncUser.js';
|
|
3
3
|
export class USyncContactProtocol {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.name = 'contact';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { USyncQueryProtocol } from '../../Types/USync';
|
|
2
|
-
import { type BinaryNode } from '../../WABinary';
|
|
1
|
+
import type { USyncQueryProtocol } from '../../Types/USync.js';
|
|
2
|
+
import { type BinaryNode } from '../../WABinary/index.js';
|
|
3
3
|
export type KeyIndexData = {
|
|
4
4
|
timestamp: number;
|
|
5
5
|
signedKeyIndex?: Uint8Array;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { USyncQueryProtocol } from '../../Types/USync';
|
|
2
|
-
import { type BinaryNode } from '../../WABinary';
|
|
1
|
+
import type { USyncQueryProtocol } from '../../Types/USync.js';
|
|
2
|
+
import { type BinaryNode } from '../../WABinary/index.js';
|
|
3
3
|
export type DisappearingModeData = {
|
|
4
4
|
duration: number;
|
|
5
5
|
setAt?: Date;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { USyncQueryProtocol } from '../../Types/USync';
|
|
2
|
-
import { type BinaryNode } from '../../WABinary';
|
|
1
|
+
import type { USyncQueryProtocol } from '../../Types/USync.js';
|
|
2
|
+
import { type BinaryNode } from '../../WABinary/index.js';
|
|
3
3
|
export type StatusData = {
|
|
4
4
|
status?: string | null;
|
|
5
5
|
setAt?: Date;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { USyncQueryProtocol } from '../../Types/USync';
|
|
2
|
-
import { type BinaryNode } from '../../WABinary';
|
|
3
|
-
import { USyncUser } from '../USyncUser';
|
|
1
|
+
import type { USyncQueryProtocol } from '../../Types/USync.js';
|
|
2
|
+
import { type BinaryNode } from '../../WABinary/index.js';
|
|
3
|
+
import { USyncUser } from '../USyncUser.js';
|
|
4
4
|
export declare class USyncUsernameProtocol implements USyncQueryProtocol {
|
|
5
5
|
name: string;
|
|
6
6
|
getQueryElement(): BinaryNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { assertNodeErrorFree } from '../../WABinary';
|
|
2
|
-
import { USyncUser } from '../USyncUser';
|
|
1
|
+
import { assertNodeErrorFree } from '../../WABinary/index.js';
|
|
2
|
+
import { USyncUser } from '../USyncUser.js';
|
|
3
3
|
export class USyncUsernameProtocol {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.name = 'username';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { USyncQueryProtocol } from '../../Types/USync';
|
|
2
|
-
import { type BinaryNode } from '../../WABinary';
|
|
3
|
-
import { USyncUser } from '../USyncUser';
|
|
1
|
+
import type { USyncQueryProtocol } from '../../Types/USync.js';
|
|
2
|
+
import { type BinaryNode } from '../../WABinary/index.js';
|
|
3
|
+
import { USyncUser } from '../USyncUser.js';
|
|
4
4
|
export type BotProfileCommand = {
|
|
5
5
|
name: string;
|
|
6
6
|
description: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getBinaryNodeChild, getBinaryNodeChildren, getBinaryNodeChildString } from '../../WABinary';
|
|
2
|
-
import { USyncUser } from '../USyncUser';
|
|
1
|
+
import { getBinaryNodeChild, getBinaryNodeChildren, getBinaryNodeChildString } from '../../WABinary/index.js';
|
|
2
|
+
import { USyncUser } from '../USyncUser.js';
|
|
3
3
|
export class USyncBotProfileProtocol {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.name = 'bot';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { USyncQueryProtocol } from '../../Types/USync';
|
|
2
|
-
import type { BinaryNode } from '../../WABinary';
|
|
3
|
-
import type { USyncUser } from '../USyncUser';
|
|
1
|
+
import type { USyncQueryProtocol } from '../../Types/USync.js';
|
|
2
|
+
import type { BinaryNode } from '../../WABinary/index.js';
|
|
3
|
+
import type { USyncUser } from '../USyncUser.js';
|
|
4
4
|
export declare class USyncLIDProtocol implements USyncQueryProtocol {
|
|
5
5
|
name: string;
|
|
6
6
|
getQueryElement(): BinaryNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './USyncDeviceProtocol';
|
|
2
|
-
export * from './USyncContactProtocol';
|
|
3
|
-
export * from './USyncStatusProtocol';
|
|
4
|
-
export * from './USyncDisappearingModeProtocol';
|
|
5
|
-
export * from './USyncUsernameProtocol';
|
|
1
|
+
export * from './USyncDeviceProtocol.js';
|
|
2
|
+
export * from './USyncContactProtocol.js';
|
|
3
|
+
export * from './USyncStatusProtocol.js';
|
|
4
|
+
export * from './USyncDisappearingModeProtocol.js';
|
|
5
|
+
export * from './USyncUsernameProtocol.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './USyncDeviceProtocol';
|
|
2
|
-
export * from './USyncContactProtocol';
|
|
3
|
-
export * from './USyncStatusProtocol';
|
|
4
|
-
export * from './USyncDisappearingModeProtocol';
|
|
5
|
-
export * from './USyncUsernameProtocol';
|
|
1
|
+
export * from './USyncDeviceProtocol.js';
|
|
2
|
+
export * from './USyncContactProtocol.js';
|
|
3
|
+
export * from './USyncStatusProtocol.js';
|
|
4
|
+
export * from './USyncDisappearingModeProtocol.js';
|
|
5
|
+
export * from './USyncUsernameProtocol.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { USyncQueryProtocol } from '../Types/USync';
|
|
2
|
-
import { type BinaryNode } from '../WABinary';
|
|
3
|
-
import { USyncUser } from './USyncUser';
|
|
1
|
+
import type { USyncQueryProtocol } from '../Types/USync.js';
|
|
2
|
+
import { type BinaryNode } from '../WABinary/index.js';
|
|
3
|
+
import { USyncUser } from './USyncUser.js';
|
|
4
4
|
export type USyncQueryResultList = {
|
|
5
5
|
[protocol: string]: unknown;
|
|
6
6
|
id: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { getBinaryNodeChild } from '../WABinary';
|
|
2
|
-
import { USyncBotProfileProtocol } from './Protocols/UsyncBotProfileProtocol';
|
|
3
|
-
import { USyncLIDProtocol } from './Protocols/UsyncLIDProtocol';
|
|
4
|
-
import { USyncContactProtocol, USyncDeviceProtocol, USyncDisappearingModeProtocol, USyncStatusProtocol, USyncUsernameProtocol } from './Protocols';
|
|
5
|
-
import { USyncUser } from './USyncUser';
|
|
1
|
+
import { getBinaryNodeChild } from '../WABinary/index.js';
|
|
2
|
+
import { USyncBotProfileProtocol } from './Protocols/UsyncBotProfileProtocol.js';
|
|
3
|
+
import { USyncLIDProtocol } from './Protocols/UsyncLIDProtocol.js';
|
|
4
|
+
import { USyncContactProtocol, USyncDeviceProtocol, USyncDisappearingModeProtocol, USyncStatusProtocol, USyncUsernameProtocol } from './Protocols/index.js';
|
|
5
|
+
import { USyncUser } from './USyncUser.js';
|
|
6
6
|
export class USyncQuery {
|
|
7
7
|
constructor() {
|
|
8
8
|
this.protocols = [];
|
package/lib/WAUSync/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './Protocols/index';
|
|
2
|
-
export * from './USyncQuery';
|
|
3
|
-
export * from './USyncUser';
|
|
1
|
+
export * from './Protocols/index.js';
|
|
2
|
+
export * from './USyncQuery.js';
|
|
3
|
+
export * from './USyncUser.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/WAUSync/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './Protocols/index';
|
|
2
|
-
export * from './USyncQuery';
|
|
3
|
-
export * from './USyncUser';
|
|
1
|
+
export * from './Protocols/index.js';
|
|
2
|
+
export * from './USyncQuery.js';
|
|
3
|
+
export * from './USyncUser.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/lib/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import makeWASocket from './Socket/index';
|
|
1
|
+
import makeWASocket from './Socket/index.js';
|
|
2
2
|
export * from '../WAProto/index.js';
|
|
3
|
-
export * from './Utils/index';
|
|
4
|
-
export * from './Types/index';
|
|
3
|
+
export * from './Utils/index.js';
|
|
4
|
+
export * from './Types/index.js';
|
|
5
5
|
export * as Store from './Store/index.js';
|
|
6
|
-
export * from './Defaults/index';
|
|
7
|
-
export * from './WABinary/index';
|
|
8
|
-
export * from './WAM/index';
|
|
9
|
-
export * from './WAUSync/index';
|
|
10
|
-
export * from './MessageBuilder/index';
|
|
11
|
-
export * from './Extensions/advanced';
|
|
12
|
-
export * from './Extensions/experimental';
|
|
6
|
+
export * from './Defaults/index.js';
|
|
7
|
+
export * from './WABinary/index.js';
|
|
8
|
+
export * from './WAM/index.js';
|
|
9
|
+
export * from './WAUSync/index.js';
|
|
10
|
+
export * from './MessageBuilder/index.js';
|
|
11
|
+
export * from './Extensions/advanced.js';
|
|
12
|
+
export * from './Extensions/experimental.js';
|
|
13
13
|
export * as VoIP from './VoIP/index.js';
|
|
14
14
|
export { toNewsletterServerIds, toNewsletterUserSettingInput } from './Socket/newsletter.js';
|
|
15
15
|
export { buildMemberLabelMessage } from './Socket/messages-send.js';
|
package/lib/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import makeWASocket from './Socket/index';
|
|
2
|
-
import { printQiroBaileysWelcome } from './Utils/terminal-welcome';
|
|
1
|
+
import makeWASocket from './Socket/index.js';
|
|
2
|
+
import { printQiroBaileysWelcome } from './Utils/terminal-welcome.js';
|
|
3
3
|
export * from '../WAProto/index.js';
|
|
4
|
-
export * from './Utils/index';
|
|
5
|
-
export * from './Types/index';
|
|
4
|
+
export * from './Utils/index.js';
|
|
5
|
+
export * from './Types/index.js';
|
|
6
6
|
export * as Store from './Store/index.js';
|
|
7
|
-
export * from './Defaults/index';
|
|
8
|
-
export * from './WABinary/index';
|
|
9
|
-
export * from './WAM/index';
|
|
10
|
-
export * from './WAUSync/index';
|
|
11
|
-
export * from './MessageBuilder/index';
|
|
12
|
-
export * from './Extensions/advanced';
|
|
13
|
-
export * from './Extensions/experimental';
|
|
7
|
+
export * from './Defaults/index.js';
|
|
8
|
+
export * from './WABinary/index.js';
|
|
9
|
+
export * from './WAM/index.js';
|
|
10
|
+
export * from './WAUSync/index.js';
|
|
11
|
+
export * from './MessageBuilder/index.js';
|
|
12
|
+
export * from './Extensions/advanced.js';
|
|
13
|
+
export * from './Extensions/experimental.js';
|
|
14
14
|
export * as VoIP from './VoIP/index.js';
|
|
15
15
|
export { toNewsletterServerIds, toNewsletterUserSettingInput } from './Socket/newsletter.js';
|
|
16
16
|
export { buildMemberLabelMessage } from './Socket/messages-send.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awangxcode/qiro-baileys",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.0
|
|
4
|
+
"version": "7.0.0",
|
|
5
5
|
"description": "QIRO WhatsApp Web protocol toolkit by AXCODE iD / AwangXcode",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"qiro",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build:all": "yarn build && yarn build:docs",
|
|
34
34
|
"build:docs": "typedoc --options config/typedoc.json --tsconfig config/tsconfig.json --entryPoints src/index.ts --out docs/api",
|
|
35
|
-
"build": "tsc -P config/tsconfig.build.json &&
|
|
35
|
+
"build": "tsc -P config/tsconfig.build.json && node ./scripts/check-proto-static.mjs && node ./scripts/stage-extension-modules.mjs && node ./scripts/stage-call-framework.mjs && tsc-esm-fix --tsconfig=config/tsconfig.build.json --target=lib --ext=.js --sourceMap --dirnameVar=false --filenameVar=false",
|
|
36
36
|
"example": "tsx ./examples/example.ts",
|
|
37
37
|
"gen:protobuf": "node ./scripts/proto-regeneration-guard.mjs",
|
|
38
38
|
"format": "prettier --write \"src/**/*.{ts,js,json,md}\" \"examples/**/*.{ts,js,json,md}\"",
|