Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
jajbshjahavahh
GitHub Repository: jajbshjahavahh/Gojo-Satoru
Path: blob/master/node_modules/@adiwajshing/baileys/lib/Defaults/index.d_1.ts
2593 views
1
import type { LegacySocketConfig, MediaType, SocketConfig } from '../Types';
2
export declare const UNAUTHORIZED_CODES: number[];
3
export declare const DEFAULT_ORIGIN = "https://web.whatsapp.com";
4
export declare const DEF_CALLBACK_PREFIX = "CB:";
5
export declare const DEF_TAG_PREFIX = "TAG:";
6
export declare const PHONE_CONNECTION_CB = "CB:Pong";
7
export declare const WA_DEFAULT_EPHEMERAL: number;
8
export declare const NOISE_MODE = "Noise_XX_25519_AESGCM_SHA256\0\0\0\0";
9
export declare const NOISE_WA_HEADER: Uint8Array;
10
/** from: https://stackoverflow.com/questions/3809401/what-is-a-good-regular-expression-to-match-a-url */
11
export declare const URL_REGEX: RegExp;
12
export declare const DEFAULT_CONNECTION_CONFIG: SocketConfig;
13
export declare const DEFAULT_LEGACY_CONNECTION_CONFIG: LegacySocketConfig;
14
export declare const MEDIA_PATH_MAP: {
15
[T in MediaType]: string;
16
};
17
export declare const MEDIA_KEYS: MediaType[];
18
export declare const KEY_BUNDLE_TYPE = "\u0005";
19
20