@ezychat/wa 0.1.60 → 0.1.62
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.
|
@@ -61,7 +61,8 @@ export declare class FakeWaAdapter extends EventEmitter implements WaAdapter {
|
|
|
61
61
|
/** Number of listTemplates calls, for tests that check caching. */
|
|
62
62
|
templateListCalls: number;
|
|
63
63
|
/**
|
|
64
|
-
* `me`: the linked account (default the fake number 60000000000
|
|
64
|
+
* `me`: the linked account (default the fake number 60000000000; `lid` its WhatsApp LID, as groups
|
|
65
|
+
* and mentions show it); `idPrefix`: start of every
|
|
65
66
|
* message id (default `FAKE`), so adapters of different inboxes never share an id.
|
|
66
67
|
* `awaitScan`: a phone that was never linked — `connect()` shows a QR code and stays there
|
|
67
68
|
* until `setConnected(true)` (the dev stand-in for the scan).
|
|
@@ -73,6 +74,7 @@ export declare class FakeWaAdapter extends EventEmitter implements WaAdapter {
|
|
|
73
74
|
me?: {
|
|
74
75
|
jid: string;
|
|
75
76
|
name: string;
|
|
77
|
+
lid?: string;
|
|
76
78
|
};
|
|
77
79
|
idPrefix?: string;
|
|
78
80
|
awaitScan?: boolean;
|
|
@@ -39,7 +39,8 @@ export class FakeWaAdapter extends EventEmitter {
|
|
|
39
39
|
/** Number of listTemplates calls, for tests that check caching. */
|
|
40
40
|
templateListCalls = 0;
|
|
41
41
|
/**
|
|
42
|
-
* `me`: the linked account (default the fake number 60000000000
|
|
42
|
+
* `me`: the linked account (default the fake number 60000000000; `lid` its WhatsApp LID, as groups
|
|
43
|
+
* and mentions show it); `idPrefix`: start of every
|
|
43
44
|
* message id (default `FAKE`), so adapters of different inboxes never share an id.
|
|
44
45
|
* `awaitScan`: a phone that was never linked — `connect()` shows a QR code and stays there
|
|
45
46
|
* until `setConnected(true)` (the dev stand-in for the scan).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ezychat/wa",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.62",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "EzyChat core: WhatsApp adapter interface, Baileys adapter and fake adapter.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"typecheck": "tsc --noEmit"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@ezychat/shared": "0.1.
|
|
40
|
+
"@ezychat/shared": "0.1.62",
|
|
41
41
|
"baileys": "^7.0.0-rc14",
|
|
42
42
|
"pino": "^10.4.0",
|
|
43
43
|
"qrcode": "^1.5.4"
|