@queenanya/baileys 7.4.1 → 7.4.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.
@@ -14,7 +14,8 @@ exports.DEFAULT_ORIGIN = 'https://web.whatsapp.com';
14
14
  exports.DEF_CALLBACK_PREFIX = 'CB:';
15
15
  exports.DEF_TAG_PREFIX = 'TAG:';
16
16
  exports.PHONE_CONNECTION_CB = 'CB:Pong';
17
- exports.WA_DEFAULT_EPHEMERAL = 7 * 24 * 60 * 60;
17
+ // export const WA_DEFAULT_EPHEMERAL = 7 * 24 * 60 * 60
18
+ exports.WA_DEFAULT_EPHEMERAL = 24 * 60 * 60;
18
19
  exports.NOISE_MODE = 'Noise_XX_25519_AESGCM_SHA256\0\0\0\0';
19
20
  exports.DICT_VERSION = 2;
20
21
  exports.KEY_BUNDLE_TYPE = Buffer.from([5]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@queenanya/baileys",
3
- "version": "7.4.1",
3
+ "version": "7.4.3",
4
4
  "description": "WhatsApp API",
5
5
  "keywords": [
6
6
  "whatsapp",
@@ -14,7 +14,7 @@
14
14
  ],
15
15
  "homepage": "https://github.com/QueenAnya/Baileys",
16
16
  "repository": {
17
- "url": "git@github.com:QueenAnya/Baileys.git"
17
+ "url": "git@github.com:QueenAnya/Bail.git"
18
18
  },
19
19
  "license": "MIT",
20
20
  "author": "Adhiraj Singh",
@@ -25,22 +25,6 @@
25
25
  "WAProto/*",
26
26
  "WASignalGroup/*.js"
27
27
  ],
28
- "scripts": {
29
- "build:all": "tsc && typedoc",
30
- "build:docs": "typedoc",
31
- "build:tsc": "tsc",
32
- "changelog:last": "conventional-changelog -p angular -r 2",
33
- "changelog:preview": "conventional-changelog -p angular -u",
34
- "changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
35
- "example": "node --inspect -r ts-node/register Example/example.ts",
36
- "gen:protobuf": "sh WAProto/GenerateStatics.sh",
37
- "lint": "eslint src --ext .js,.ts",
38
- "lint:fix": "yarn lint --fix",
39
- "prepack": "tsc",
40
- "prepare": "tsc",
41
- "release": "release-it",
42
- "test": "jest"
43
- },
44
28
  "dependencies": {
45
29
  "@adiwajshing/keyed-db": "^0.2.4",
46
30
  "@queenanya/eslint-config": "github:whiskeysockets/eslint-config",
@@ -102,5 +86,19 @@
102
86
  "sharp": {
103
87
  "optional": true
104
88
  }
89
+ },
90
+ "scripts": {
91
+ "build:all": "tsc && typedoc",
92
+ "build:docs": "typedoc",
93
+ "build:tsc": "tsc",
94
+ "changelog:last": "conventional-changelog -p angular -r 2",
95
+ "changelog:preview": "conventional-changelog -p angular -u",
96
+ "changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
97
+ "example": "node --inspect -r ts-node/register Example/example.ts",
98
+ "gen:protobuf": "sh WAProto/GenerateStatics.sh",
99
+ "lint": "eslint src --ext .js,.ts",
100
+ "lint:fix": "yarn lint --fix",
101
+ "release": "release-it",
102
+ "test": "jest"
105
103
  }
106
- }
104
+ }