astrabail 1.0.8 → 1.0.10
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/WAProto/GenerateStatics.sh +3 -0
- package/WAProto/WAProto.proto +3 -0
- package/WAProto/fix-imports.js +3 -0
- package/WAProto/index.d.ts +3 -0
- package/WAProto/index.js +3 -0
- package/WAProto/p.html +3 -0
- package/lib/Defaults/astrabail-version.json +3 -0
- package/lib/Defaults/index.d.ts +3 -1
- package/lib/Defaults/index.js +10 -3
- package/lib/Defaults/phonenumber-mcc.json +3 -0
- package/lib/Defaults/update-wa-version.js +3 -1
- package/lib/Signal/Group/ciphertext-message.d.ts +3 -1
- package/lib/Signal/Group/ciphertext-message.js +3 -0
- package/lib/Signal/Group/group-session-builder.d.ts +3 -1
- package/lib/Signal/Group/group-session-builder.js +3 -0
- package/lib/Signal/Group/group_cipher.d.ts +3 -1
- package/lib/Signal/Group/group_cipher.js +3 -0
- package/lib/Signal/Group/index.d.ts +3 -1
- package/lib/Signal/Group/index.js +3 -0
- package/lib/Signal/Group/keyhelper.d.ts +3 -1
- package/lib/Signal/Group/keyhelper.js +3 -0
- package/lib/Signal/Group/queue-job.js +3 -0
- package/lib/Signal/Group/sender-chain-key.d.ts +3 -1
- package/lib/Signal/Group/sender-chain-key.js +3 -0
- package/lib/Signal/Group/sender-key-distribution-message.d.ts +3 -1
- package/lib/Signal/Group/sender-key-distribution-message.js +3 -0
- package/lib/Signal/Group/sender-key-message.d.ts +3 -1
- package/lib/Signal/Group/sender-key-message.js +3 -0
- package/lib/Signal/Group/sender-key-name.d.ts +3 -1
- package/lib/Signal/Group/sender-key-name.js +3 -0
- package/lib/Signal/Group/sender-key-record.d.ts +3 -1
- package/lib/Signal/Group/sender-key-record.js +3 -0
- package/lib/Signal/Group/sender-key-state.d.ts +3 -1
- package/lib/Signal/Group/sender-key-state.js +3 -0
- package/lib/Signal/Group/sender-message-key.d.ts +3 -1
- package/lib/Signal/Group/sender-message-key.js +3 -0
- package/lib/Signal/libsignal.d.ts +3 -1
- package/lib/Signal/libsignal.js +3 -0
- package/lib/Signal/lid-mapping.d.ts +3 -1
- package/lib/Signal/lid-mapping.js +3 -0
- package/lib/Socket/Client/index.d.ts +3 -1
- package/lib/Socket/Client/index.js +3 -0
- package/lib/Socket/Client/types.d.ts +3 -1
- package/lib/Socket/Client/types.js +3 -0
- package/lib/Socket/Client/websocket.d.ts +3 -1
- package/lib/Socket/Client/websocket.js +3 -0
- package/lib/Socket/business.d.ts +5 -3
- package/lib/Socket/business.js +3 -0
- package/lib/Socket/chats.d.ts +5 -3
- package/lib/Socket/chats.js +4 -1
- package/lib/Socket/communities.d.ts +5 -3
- package/lib/Socket/communities.js +3 -0
- package/lib/Socket/community.js +3 -0
- package/lib/Socket/groups.d.ts +5 -3
- package/lib/Socket/groups.js +3 -0
- package/lib/Socket/index.d.ts +5 -3
- package/lib/Socket/index.js +3 -0
- package/lib/Socket/messages-recv.d.ts +5 -3
- package/lib/Socket/messages-recv.js +3 -0
- package/lib/Socket/messages-send.d.ts +5 -3
- package/lib/Socket/messages-send.js +111 -1
- package/lib/Socket/mex.d.ts +3 -1
- package/lib/Socket/mex.js +3 -0
- package/lib/Socket/newsletter.d.ts +5 -3
- package/lib/Socket/newsletter.js +3 -0
- package/lib/Socket/socket.d.ts +5 -3
- package/lib/Socket/socket.js +4 -1
- package/lib/Socket/usync.js +3 -0
- package/lib/Store/index.js +3 -0
- package/lib/Store/make-cache-manager-store.js +3 -0
- package/lib/Store/make-in-memory-store.js +4 -1
- package/lib/Store/make-ordered-dictionary.js +3 -0
- package/lib/Store/object-repository.js +3 -0
- package/lib/Types/Auth.d.ts +3 -1
- package/lib/Types/Auth.js +3 -0
- package/lib/Types/Bussines.d.ts +3 -1
- package/lib/Types/Bussines.js +3 -0
- package/lib/Types/Call.d.ts +3 -1
- package/lib/Types/Call.js +3 -0
- package/lib/Types/Chat.d.ts +3 -1
- package/lib/Types/Chat.js +3 -0
- package/lib/Types/Contact.d.ts +3 -1
- package/lib/Types/Contact.js +3 -0
- package/lib/Types/Events.d.ts +10 -8
- package/lib/Types/Events.js +3 -0
- package/lib/Types/GroupMetadata.d.ts +3 -1
- package/lib/Types/GroupMetadata.js +3 -0
- package/lib/Types/Label.d.ts +3 -1
- package/lib/Types/Label.js +3 -0
- package/lib/Types/LabelAssociation.d.ts +3 -1
- package/lib/Types/LabelAssociation.js +3 -0
- package/lib/Types/Message.d.ts +3 -1
- package/lib/Types/Message.js +3 -0
- package/lib/Types/MexUpdates.js +3 -0
- package/lib/Types/Newsletter.d.ts +3 -1
- package/lib/Types/Newsletter.js +3 -0
- package/lib/Types/Product.d.ts +3 -1
- package/lib/Types/Product.js +3 -0
- package/lib/Types/Signal.d.ts +3 -1
- package/lib/Types/Signal.js +3 -0
- package/lib/Types/Socket.d.ts +6 -4
- package/lib/Types/Socket.js +3 -0
- package/lib/Types/State.d.ts +3 -1
- package/lib/Types/State.js +3 -0
- package/lib/Types/USync.d.ts +3 -1
- package/lib/Types/USync.js +3 -0
- package/lib/Types/index.d.ts +4 -2
- package/lib/Types/index.js +3 -0
- package/lib/Utils/astrabail-event-stream.js +61 -1
- package/lib/Utils/audioToBuffer.js +3 -0
- package/lib/Utils/auth-utils.d.ts +3 -1
- package/lib/Utils/auth-utils.js +3 -0
- package/lib/Utils/bridge-runtime.d.ts +3 -0
- package/lib/Utils/bridge-runtime.js +3 -0
- package/lib/Utils/browser-utils.d.ts +3 -1
- package/lib/Utils/browser-utils.js +6 -3
- package/lib/Utils/business.d.ts +3 -1
- package/lib/Utils/business.js +3 -0
- package/lib/Utils/chat-utils.d.ts +5 -3
- package/lib/Utils/chat-utils.js +3 -0
- package/lib/Utils/crypto.d.ts +3 -1
- package/lib/Utils/crypto.js +3 -0
- package/lib/Utils/decode-wa-message.d.ts +3 -1
- package/lib/Utils/decode-wa-message.js +3 -0
- package/lib/Utils/event-buffer.d.ts +8 -6
- package/lib/Utils/event-buffer.js +4 -1
- package/lib/Utils/generics.d.ts +10 -7
- package/lib/Utils/generics.js +15 -12
- package/lib/Utils/history.d.ts +3 -1
- package/lib/Utils/history.js +3 -0
- package/lib/Utils/identity-change-handler.d.ts +3 -1
- package/lib/Utils/identity-change-handler.js +3 -0
- package/lib/Utils/index.d.ts +3 -1
- package/lib/Utils/index.js +3 -1
- package/lib/Utils/link-preview.d.ts +3 -1
- package/lib/Utils/link-preview.js +3 -0
- package/lib/Utils/logger.d.ts +3 -1
- package/lib/Utils/logger.js +3 -0
- package/lib/Utils/lt-hash.d.ts +3 -1
- package/lib/Utils/lt-hash.js +3 -0
- package/lib/Utils/make-mutex.d.ts +3 -1
- package/lib/Utils/make-mutex.js +3 -0
- package/lib/Utils/message-retry-manager.d.ts +3 -1
- package/lib/Utils/message-retry-manager.js +3 -0
- package/lib/Utils/messages-media.d.ts +3 -1
- package/lib/Utils/messages-media.js +4 -1
- package/lib/Utils/messages-newsletter.d.ts +3 -0
- package/lib/Utils/messages-newsletter.js +3 -0
- package/lib/Utils/messages.d.ts +3 -1
- package/lib/Utils/messages.js +4 -1
- package/lib/Utils/noise-handler.d.ts +3 -1
- package/lib/Utils/noise-handler.js +3 -0
- package/lib/Utils/pre-key-manager.d.ts +3 -1
- package/lib/Utils/pre-key-manager.js +3 -0
- package/lib/Utils/process-message.d.ts +5 -3
- package/lib/Utils/process-message.js +3 -0
- package/lib/Utils/reporting-utils.d.ts +3 -1
- package/lib/Utils/reporting-utils.js +3 -0
- package/lib/Utils/resolve-jid.d.ts +3 -0
- package/lib/Utils/resolve-jid.js +3 -0
- package/lib/Utils/rust-bridge-shim.d.ts +3 -0
- package/lib/Utils/rust-bridge-shim.js +3 -0
- package/lib/Utils/serial-task-queue.js +3 -0
- package/lib/Utils/signal.d.ts +3 -1
- package/lib/Utils/signal.js +3 -0
- package/lib/Utils/streamToBuffer.js +3 -0
- package/lib/Utils/sync-action-utils.d.ts +6 -4
- package/lib/Utils/sync-action-utils.js +3 -0
- package/lib/Utils/tc-token-utils.d.ts +3 -1
- package/lib/Utils/tc-token-utils.js +3 -0
- package/lib/Utils/use-mongo-file-auth-state.js +3 -0
- package/lib/Utils/use-multi-file-auth-state.d.ts +3 -1
- package/lib/Utils/use-multi-file-auth-state.js +4 -1
- package/lib/Utils/use-single-file-auth-state.js +3 -0
- package/lib/Utils/validate-connection.d.ts +3 -1
- package/lib/Utils/validate-connection.js +3 -0
- package/lib/WABinary/constants.d.ts +3 -1
- package/lib/WABinary/constants.js +3 -0
- package/lib/WABinary/decode.d.ts +3 -1
- package/lib/WABinary/decode.js +3 -0
- package/lib/WABinary/encode.d.ts +3 -1
- package/lib/WABinary/encode.js +3 -0
- package/lib/WABinary/generic-utils.d.ts +3 -1
- package/lib/WABinary/generic-utils.js +3 -0
- package/lib/WABinary/index.d.ts +3 -1
- package/lib/WABinary/index.js +3 -0
- package/lib/WABinary/jid-utils.d.ts +3 -1
- package/lib/WABinary/jid-utils.js +3 -0
- package/lib/WABinary/types.d.ts +3 -1
- package/lib/WABinary/types.js +3 -0
- package/lib/WAM/BinaryInfo.d.ts +3 -1
- package/lib/WAM/BinaryInfo.js +3 -0
- package/lib/WAM/constants.d.ts +3 -1
- package/lib/WAM/constants.js +3 -0
- package/lib/WAM/encode.d.ts +3 -1
- package/lib/WAM/encode.js +3 -0
- package/lib/WAM/index.d.ts +3 -1
- package/lib/WAM/index.js +3 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +3 -1
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +3 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +3 -1
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +3 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +3 -1
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +3 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +3 -1
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +3 -0
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.d.ts +3 -1
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +3 -0
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.d.ts +3 -1
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.js +3 -0
- package/lib/WAUSync/Protocols/index.d.ts +3 -1
- package/lib/WAUSync/Protocols/index.js +3 -0
- package/lib/WAUSync/USyncQuery.d.ts +3 -1
- package/lib/WAUSync/USyncQuery.js +3 -0
- package/lib/WAUSync/USyncUser.d.ts +3 -1
- package/lib/WAUSync/USyncUser.js +3 -0
- package/lib/WAUSync/index.d.ts +3 -1
- package/lib/WAUSync/index.js +3 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +3 -0
- package/package.json +3 -3
- package/readme.md +1956 -1956
- package/lib/Utils/baileys-event-stream.js +0 -60
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { proto } from '../../WAProto/index.js';
|
|
2
|
-
import type { AuthenticationCreds,
|
|
2
|
+
import type { AuthenticationCreds, AstraBailEventEmitter, CacheStore, SignalKeyStoreWithTransaction, SignalRepositoryWithLIDStore, SocketConfig, WAMessage, WAMessageKey } from '../Types/index.js';
|
|
3
3
|
import type { ILogger } from './logger.js';
|
|
4
4
|
type ProcessMessageContext = {
|
|
5
5
|
shouldProcessHistoryMsg: boolean;
|
|
6
6
|
placeholderResendCache?: CacheStore;
|
|
7
7
|
creds: AuthenticationCreds;
|
|
8
8
|
keyStore: SignalKeyStoreWithTransaction;
|
|
9
|
-
ev:
|
|
9
|
+
ev: AstraBailEventEmitter;
|
|
10
10
|
logger?: ILogger;
|
|
11
11
|
options: RequestInit;
|
|
12
12
|
signalRepository: SignalRepositoryWithLIDStore;
|
|
@@ -57,4 +57,6 @@ export declare function decryptPollVote({ encPayload, encIv }: proto.Message.IPo
|
|
|
57
57
|
export declare function decryptEventResponse({ encPayload, encIv }: proto.Message.IPollEncValue, { eventCreatorJid, eventMsgId, eventEncKey, responderJid }: EventContext): proto.Message.EventResponseMessage;
|
|
58
58
|
declare const processMessage: (message: WAMessage, { shouldProcessHistoryMsg, placeholderResendCache, ev, creds, signalRepository, keyStore, logger, options, getMessage }: ProcessMessageContext) => Promise<void>;
|
|
59
59
|
export default processMessage;
|
|
60
|
-
//# sourceMappingURL=process-message.d.ts.map
|
|
60
|
+
//# sourceMappingURL=process-message.d.ts.map
|
|
61
|
+
|
|
62
|
+
|
|
@@ -8,4 +8,6 @@ export type ReportingField = {
|
|
|
8
8
|
};
|
|
9
9
|
export declare const shouldIncludeReportingToken: (message: proto.IMessage) => boolean;
|
|
10
10
|
export declare const getMessageReportingToken: (msgProtobuf: Buffer, message: WAMessageContent, key: WAMessageKey) => Promise<BinaryNode | null>;
|
|
11
|
-
//# sourceMappingURL=reporting-utils.d.ts.map
|
|
11
|
+
//# sourceMappingURL=reporting-utils.d.ts.map
|
|
12
|
+
|
|
13
|
+
|
package/lib/Utils/resolve-jid.js
CHANGED
package/lib/Utils/signal.d.ts
CHANGED
package/lib/Utils/signal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proto } from '../../WAProto/index.js';
|
|
2
|
-
import type {
|
|
2
|
+
import type { AstraBailEventEmitter, AstraBailEventMap, Contact } from '../Types/index.js';
|
|
3
3
|
import type { ILogger } from './logger.js';
|
|
4
4
|
export type ContactsUpsertResult = {
|
|
5
5
|
event: 'contacts.upsert';
|
|
@@ -7,7 +7,7 @@ export type ContactsUpsertResult = {
|
|
|
7
7
|
};
|
|
8
8
|
export type LidMappingUpdateResult = {
|
|
9
9
|
event: 'lid-mapping.update';
|
|
10
|
-
data:
|
|
10
|
+
data: AstraBailEventMap['lid-mapping.update'];
|
|
11
11
|
};
|
|
12
12
|
export type SyncActionResult = ContactsUpsertResult | LidMappingUpdateResult;
|
|
13
13
|
/**
|
|
@@ -15,5 +15,7 @@ export type SyncActionResult = ContactsUpsertResult | LidMappingUpdateResult;
|
|
|
15
15
|
* Pure function - no side effects.
|
|
16
16
|
*/
|
|
17
17
|
export declare const processContactAction: (action: proto.SyncActionValue.IContactAction, id: string | undefined, logger?: ILogger) => SyncActionResult[];
|
|
18
|
-
export declare const emitSyncActionResults: (ev:
|
|
19
|
-
//# sourceMappingURL=sync-action-utils.d.ts.map
|
|
18
|
+
export declare const emitSyncActionResults: (ev: AstraBailEventEmitter, results: SyncActionResult[]) => void;
|
|
19
|
+
//# sourceMappingURL=sync-action-utils.d.ts.map
|
|
20
|
+
|
|
21
|
+
|
|
@@ -9,4 +9,6 @@ type TcTokenParams = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare function buildTcTokenFromJid({ authState, jid, baseContent }: TcTokenParams): Promise<BinaryNode[] | undefined>;
|
|
11
11
|
export {};
|
|
12
|
-
//# sourceMappingURL=tc-token-utils.d.ts.map
|
|
12
|
+
//# sourceMappingURL=tc-token-utils.d.ts.map
|
|
13
|
+
|
|
14
|
+
|
|
@@ -10,4 +10,6 @@ export declare const useMultiFileAuthState: (folder: string) => Promise<{
|
|
|
10
10
|
state: AuthenticationState;
|
|
11
11
|
saveCreds: () => Promise<void>;
|
|
12
12
|
}>;
|
|
13
|
-
//# sourceMappingURL=use-multi-file-auth-state.d.ts.map
|
|
13
|
+
//# sourceMappingURL=use-multi-file-auth-state.d.ts.map
|
|
14
|
+
|
|
15
|
+
|
|
@@ -8,7 +8,7 @@ const index_js_1 = require("../../WAProto/index.js");
|
|
|
8
8
|
const auth_utils_js_1 = require("./auth-utils.js");
|
|
9
9
|
const generics_js_1 = require("./generics.js");
|
|
10
10
|
// We need to lock files due to the fact that we are using async functions to read and write files
|
|
11
|
-
//
|
|
11
|
+
// AstraBail: Fix for multi-device auth state issues (ref: Baileys #794)
|
|
12
12
|
// https://github.com/nodejs/node/issues/26338
|
|
13
13
|
// Use a Map to store mutexes for each file path
|
|
14
14
|
const fileLocks = new Map();
|
|
@@ -122,3 +122,6 @@ const useMultiFileAuthState = async (folder) => {
|
|
|
122
122
|
};
|
|
123
123
|
};
|
|
124
124
|
exports.useMultiFileAuthState = useMultiFileAuthState;
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
@@ -8,4 +8,6 @@ export declare const configureSuccessfulPairing: (stanza: BinaryNode, { advSecre
|
|
|
8
8
|
reply: BinaryNode;
|
|
9
9
|
};
|
|
10
10
|
export declare const encodeSignedDeviceIdentity: (account: proto.IADVSignedDeviceIdentity, includeSignatureKey: boolean) => Uint8Array<ArrayBufferLike>;
|
|
11
|
-
//# sourceMappingURL=validate-connection.d.ts.map
|
|
11
|
+
//# sourceMappingURL=validate-connection.d.ts.map
|
|
12
|
+
|
|
13
|
+
|
package/lib/WABinary/decode.d.ts
CHANGED
|
@@ -4,4 +4,6 @@ export declare const decodeDecompressedBinaryNode: (buffer: Buffer, opts: Pick<B
|
|
|
4
4
|
index: number;
|
|
5
5
|
}) => BinaryNode;
|
|
6
6
|
export declare const decodeBinaryNode: (buff: Buffer) => Promise<BinaryNode>;
|
|
7
|
-
//# sourceMappingURL=decode.d.ts.map
|
|
7
|
+
//# sourceMappingURL=decode.d.ts.map
|
|
8
|
+
|
|
9
|
+
|
package/lib/WABinary/decode.js
CHANGED
package/lib/WABinary/encode.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import type { BinaryNode, BinaryNodeCodingOptions } from './types.js';
|
|
2
2
|
export declare const encodeBinaryNode: (node: BinaryNode, opts?: Pick<BinaryNodeCodingOptions, "TAGS" | "TOKEN_MAP">, buffer?: number[]) => Buffer;
|
|
3
|
-
//# sourceMappingURL=encode.d.ts.map
|
|
3
|
+
//# sourceMappingURL=encode.d.ts.map
|
|
4
|
+
|
|
5
|
+
|
package/lib/WABinary/encode.js
CHANGED
|
@@ -12,4 +12,6 @@ export declare const reduceBinaryNodeToDictionary: (node: BinaryNode, tag: strin
|
|
|
12
12
|
};
|
|
13
13
|
export declare const getBinaryNodeMessages: ({ content }: BinaryNode) => proto.WebMessageInfo[];
|
|
14
14
|
export declare function binaryNodeToString(node: BinaryNode | BinaryNode['content'], i?: number): string;
|
|
15
|
-
//# sourceMappingURL=generic-utils.d.ts.map
|
|
15
|
+
//# sourceMappingURL=generic-utils.d.ts.map
|
|
16
|
+
|
|
17
|
+
|
package/lib/WABinary/index.d.ts
CHANGED
package/lib/WABinary/index.js
CHANGED
|
@@ -23,3 +23,6 @@ Object.defineProperty(exports, "getBinaryFilteredButtons", { enumerable: true, g
|
|
|
23
23
|
Object.defineProperty(exports, "getBinaryFilteredBizBot", { enumerable: true, get: function () { return generic_utils_js_1.getBinaryFilteredBizBot; } });
|
|
24
24
|
__exportStar(require("./jid-utils.js"), exports);
|
|
25
25
|
__exportStar(require("./types.js"), exports);
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
@@ -45,4 +45,6 @@ export declare const isHostedLidUser: (jid: string | undefined) => boolean | und
|
|
|
45
45
|
export declare const isJidBot: (jid: string | undefined) => boolean | "" | undefined;
|
|
46
46
|
export declare const jidNormalizedUser: (jid: string | undefined) => string;
|
|
47
47
|
export declare const transferDevice: (fromJid: string, toJid: string) => string;
|
|
48
|
-
//# sourceMappingURL=jid-utils.d.ts.map
|
|
48
|
+
//# sourceMappingURL=jid-utils.d.ts.map
|
|
49
|
+
|
|
50
|
+
|
package/lib/WABinary/types.d.ts
CHANGED
|
@@ -16,4 +16,6 @@ export type BinaryNode = {
|
|
|
16
16
|
export type BinaryNodeAttributes = BinaryNode['attrs'];
|
|
17
17
|
export type BinaryNodeData = BinaryNode['content'];
|
|
18
18
|
export type BinaryNodeCodingOptions = typeof constants;
|
|
19
|
-
//# sourceMappingURL=types.d.ts.map
|
|
19
|
+
//# sourceMappingURL=types.d.ts.map
|
|
20
|
+
|
|
21
|
+
|
package/lib/WABinary/types.js
CHANGED
package/lib/WAM/BinaryInfo.d.ts
CHANGED
package/lib/WAM/BinaryInfo.js
CHANGED
package/lib/WAM/constants.d.ts
CHANGED
package/lib/WAM/constants.js
CHANGED
|
@@ -22853,3 +22853,6 @@ exports.WEB_GLOBALS = [
|
|
|
22853
22853
|
}
|
|
22854
22854
|
];
|
|
22855
22855
|
exports.FLAG_BYTE = 8, exports.FLAG_GLOBAL = 0, exports.FLAG_EVENT = 1, exports.FLAG_FIELD = 2, exports.FLAG_EXTENDED = 4;
|
|
22856
|
+
|
|
22857
|
+
|
|
22858
|
+
|
package/lib/WAM/encode.d.ts
CHANGED
package/lib/WAM/encode.js
CHANGED
package/lib/WAM/index.d.ts
CHANGED
package/lib/WAM/index.js
CHANGED
|
@@ -7,4 +7,6 @@ export declare class USyncContactProtocol implements USyncQueryProtocol {
|
|
|
7
7
|
getUserElement(user: USyncUser): BinaryNode;
|
|
8
8
|
parser(node: BinaryNode): boolean;
|
|
9
9
|
}
|
|
10
|
-
//# sourceMappingURL=USyncContactProtocol.d.ts.map
|
|
10
|
+
//# sourceMappingURL=USyncContactProtocol.d.ts.map
|
|
11
|
+
|
|
12
|
+
|
|
@@ -20,4 +20,6 @@ export declare class USyncDeviceProtocol implements USyncQueryProtocol {
|
|
|
20
20
|
getUserElement(): BinaryNode | null;
|
|
21
21
|
parser(node: BinaryNode): ParsedDeviceInfo;
|
|
22
22
|
}
|
|
23
|
-
//# sourceMappingURL=USyncDeviceProtocol.d.ts.map
|
|
23
|
+
//# sourceMappingURL=USyncDeviceProtocol.d.ts.map
|
|
24
|
+
|
|
25
|
+
|
|
@@ -10,4 +10,6 @@ export declare class USyncDisappearingModeProtocol implements USyncQueryProtocol
|
|
|
10
10
|
getUserElement(): null;
|
|
11
11
|
parser(node: BinaryNode): DisappearingModeData | undefined;
|
|
12
12
|
}
|
|
13
|
-
//# sourceMappingURL=USyncDisappearingModeProtocol.d.ts.map
|
|
13
|
+
//# sourceMappingURL=USyncDisappearingModeProtocol.d.ts.map
|
|
14
|
+
|
|
15
|
+
|
|
@@ -10,4 +10,6 @@ export declare class USyncStatusProtocol implements USyncQueryProtocol {
|
|
|
10
10
|
getUserElement(): null;
|
|
11
11
|
parser(node: BinaryNode): StatusData | undefined;
|
|
12
12
|
}
|
|
13
|
-
//# sourceMappingURL=USyncStatusProtocol.d.ts.map
|
|
13
|
+
//# sourceMappingURL=USyncStatusProtocol.d.ts.map
|
|
14
|
+
|
|
15
|
+
|
|
@@ -23,4 +23,6 @@ export declare class USyncBotProfileProtocol implements USyncQueryProtocol {
|
|
|
23
23
|
getUserElement(user: USyncUser): BinaryNode;
|
|
24
24
|
parser(node: BinaryNode): BotProfileInfo;
|
|
25
25
|
}
|
|
26
|
-
//# sourceMappingURL=UsyncBotProfileProtocol.d.ts.map
|
|
26
|
+
//# sourceMappingURL=UsyncBotProfileProtocol.d.ts.map
|
|
27
|
+
|
|
28
|
+
|
|
@@ -7,4 +7,6 @@ export declare class USyncLIDProtocol implements USyncQueryProtocol {
|
|
|
7
7
|
getUserElement(user: USyncUser): BinaryNode | null;
|
|
8
8
|
parser(node: BinaryNode): string | null;
|
|
9
9
|
}
|
|
10
|
-
//# sourceMappingURL=UsyncLIDProtocol.d.ts.map
|
|
10
|
+
//# sourceMappingURL=UsyncLIDProtocol.d.ts.map
|
|
11
|
+
|
|
12
|
+
|
|
@@ -20,3 +20,6 @@ __exportStar(require("./USyncStatusProtocol.js"), exports);
|
|
|
20
20
|
__exportStar(require("./USyncDisappearingModeProtocol.js"), exports);
|
|
21
21
|
__exportStar(require("./UsyncBotProfileProtocol.js"), exports);
|
|
22
22
|
__exportStar(require("./UsyncLIDProtocol.js"), exports);
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
package/lib/WAUSync/USyncUser.js
CHANGED
package/lib/WAUSync/index.d.ts
CHANGED
package/lib/WAUSync/index.js
CHANGED
package/lib/index.d.ts
CHANGED