@queenanya/baileys 7.1.1 → 7.1.3
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/Socket/business.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { GetCatalogOptions, ProductCreate, ProductUpdate, SocketConfig } from '../Types';
|
|
3
3
|
import { BinaryNode } from '../WABinary';
|
|
4
4
|
export declare const makeBusinessSocket: (config: SocketConfig) => {
|
|
5
|
-
logger: import("pino").Logger<
|
|
5
|
+
logger: import("pino").Logger<never>;
|
|
6
6
|
getOrderDetails: (orderId: string, tokenBase64: string) => Promise<import("../Types").OrderDetails>;
|
|
7
7
|
getCatalog: ({ jid, limit, cursor }: GetCatalogOptions) => Promise<{
|
|
8
8
|
products: import("../Types").Product[];
|
package/lib/Socket/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { UserFacingSocketConfig } from '../Types';
|
|
|
3
3
|
declare const makeWASocket: (config: UserFacingSocketConfig) => {
|
|
4
4
|
register: (code: string) => Promise<import("./registration").ExistsResponse>;
|
|
5
5
|
requestRegistrationCode: (registrationOptions?: import("./registration").RegistrationOptions | undefined) => Promise<import("./registration").ExistsResponse>;
|
|
6
|
-
logger: import("pino").Logger<
|
|
6
|
+
logger: import("pino").Logger<never>;
|
|
7
7
|
getOrderDetails: (orderId: string, tokenBase64: string) => Promise<import("../Types").OrderDetails>;
|
|
8
8
|
getCatalog: ({ jid, limit, cursor }: import("../Types").GetCatalogOptions) => Promise<{
|
|
9
9
|
products: import("../Types").Product[];
|
|
@@ -4,7 +4,7 @@ import { KeyPair, SignedKeyPair, SocketConfig } from '../Types';
|
|
|
4
4
|
export declare const makeRegistrationSocket: (config: SocketConfig) => {
|
|
5
5
|
register: (code: string) => Promise<ExistsResponse>;
|
|
6
6
|
requestRegistrationCode: (registrationOptions?: RegistrationOptions) => Promise<ExistsResponse>;
|
|
7
|
-
logger: import("pino").Logger<
|
|
7
|
+
logger: import("pino").Logger<never>;
|
|
8
8
|
getOrderDetails: (orderId: string, tokenBase64: string) => Promise<import("../Types").OrderDetails>;
|
|
9
9
|
getCatalog: ({ jid, limit, cursor }: import("../Types").GetCatalogOptions) => Promise<{
|
|
10
10
|
products: import("../Types").Product[];
|
package/lib/Utils/logger.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@queenanya/baileys",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.3",
|
|
4
4
|
"description": "WhatsApp API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"whatsapp",
|
|
@@ -44,49 +44,49 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@adiwajshing/keyed-db": "^0.2.4",
|
|
47
|
-
"@hapi/boom": "^
|
|
47
|
+
"@hapi/boom": "^10.0.1",
|
|
48
48
|
"async-lock": "^1.4.1",
|
|
49
|
-
"audio-decode": "^2.
|
|
50
|
-
"axios": "^1.
|
|
49
|
+
"audio-decode": "^2.2.0",
|
|
50
|
+
"axios": "^1.7.2",
|
|
51
51
|
"cache-manager": "4.0.1",
|
|
52
|
-
"futoin-hkdf": "^1.5.
|
|
53
|
-
"libphonenumber-js": "^1.
|
|
52
|
+
"futoin-hkdf": "^1.5.3",
|
|
53
|
+
"libphonenumber-js": "^1.11.4",
|
|
54
54
|
"libsignal": "github:WhiskeySockets/libsignal-node",
|
|
55
55
|
"lodash": "^4.17.21",
|
|
56
56
|
"music-metadata": "^7.12.3",
|
|
57
57
|
"node-cache": "^5.1.2",
|
|
58
|
-
"pino": "^
|
|
59
|
-
"protobufjs": "^7.2
|
|
58
|
+
"pino": "^9.3.0",
|
|
59
|
+
"protobufjs": "^7.3.2",
|
|
60
60
|
"uuid": "^10.0.0",
|
|
61
|
-
"ws": "^8.
|
|
61
|
+
"ws": "^8.18.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@adiwajshing/eslint-config": "github:adiwajshing/eslint-config",
|
|
65
|
-
"@types/got": "^9.6.
|
|
66
|
-
"@types/jest": "^
|
|
67
|
-
"@types/node": "^
|
|
68
|
-
"@types/sharp": "^0.
|
|
69
|
-
"@types/ws": "^8.
|
|
70
|
-
"conventional-changelog-cli": "^
|
|
71
|
-
"eslint": "^
|
|
72
|
-
"jest": "^
|
|
73
|
-
"jimp": "^0.
|
|
65
|
+
"@types/got": "^9.6.12",
|
|
66
|
+
"@types/jest": "^29.5.12",
|
|
67
|
+
"@types/node": "^20.14.10",
|
|
68
|
+
"@types/sharp": "^0.31.1",
|
|
69
|
+
"@types/ws": "^8.5.11",
|
|
70
|
+
"conventional-changelog-cli": "^5.0.0",
|
|
71
|
+
"eslint": "^9.7.0",
|
|
72
|
+
"jest": "^29.7.0",
|
|
73
|
+
"jimp": "^0.22.x",
|
|
74
74
|
"json": "^11.0.0",
|
|
75
|
-
"link-preview-js": "^3.0.
|
|
76
|
-
"open": "^
|
|
75
|
+
"link-preview-js": "^3.0.5",
|
|
76
|
+
"open": "^10.1.0",
|
|
77
77
|
"qrcode-terminal": "^0.12.0",
|
|
78
|
-
"release-it": "^
|
|
79
|
-
"sharp": "^0.
|
|
80
|
-
"ts-jest": "^
|
|
81
|
-
"ts-node": "^10.
|
|
78
|
+
"release-it": "^17.6.0",
|
|
79
|
+
"sharp": "^0.33.4",
|
|
80
|
+
"ts-jest": "^29.2.2",
|
|
81
|
+
"ts-node": "^10.9.2",
|
|
82
82
|
"typedoc": "^0.24.7",
|
|
83
83
|
"typescript": "^4.6.4"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"jimp": "^0.
|
|
86
|
+
"jimp": "^0.22.x",
|
|
87
87
|
"link-preview-js": "^3.0.0",
|
|
88
88
|
"qrcode-terminal": "^0.12.0",
|
|
89
|
-
"sharp": "^0.
|
|
89
|
+
"sharp": "^0.33.4"
|
|
90
90
|
},
|
|
91
91
|
"peerDependenciesMeta": {
|
|
92
92
|
"jimp": {
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"optional": true
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
|
-
"packageManager": "yarn@1.22.
|
|
105
|
+
"packageManager": "yarn@1.22.22"
|
|
106
106
|
}
|