@yui-bails/yui-bails 1.4.2 → 1.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.
@@ -2,7 +2,7 @@ import { proto } from '../../WAProto/index.js';
2
2
  import { makeLibSignalRepository } from '../Signal/libsignal.js';
3
3
  import { Browsers } from '../Utils/browser-utils.js';
4
4
  import logger from '../Utils/logger.js';
5
- const version = [2, 3000, 1044006379];
5
+ const version = [2, 3000, 1057536656];
6
6
  export const UNAUTHORIZED_CODES = [401, 403, 419];
7
7
  export const DEFAULT_ORIGIN = 'https://web.whatsapp.com';
8
8
  export const CALL_VIDEO_PREFIX = 'https://call.whatsapp.com/video/';
@@ -3,7 +3,7 @@
3
3
  * Set YUI_BAILS_NO_BANNER=1 to disable it (0 or false keep it on).
4
4
  */
5
5
  /** version of Yui-Bails, shown in the banner */
6
- export declare const YUI_BAILS_VERSION = "1.4.2";
6
+ export declare const YUI_BAILS_VERSION = "1.4.3";
7
7
  /** `YUI_BAILS_NO_BANNER=1` turns the banner off; `0`, `false` or empty keep it on */
8
8
  export declare const bannerDisabled: (value?: string | undefined) => boolean;
9
9
  /** the banner as text (colors included). Separate from `printBanner` so it can be tested. */
@@ -20,7 +20,7 @@ const gradientLine = (text, offset = 0) => {
20
20
  .join('') + RESET);
21
21
  };
22
22
  /** version of Yui-Bails, shown in the banner */
23
- export const YUI_BAILS_VERSION = '1.4.2';
23
+ export const YUI_BAILS_VERSION = '1.4.3';
24
24
  let printed = false;
25
25
  /** `YUI_BAILS_NO_BANNER=1` turns the banner off; `0`, `false` or empty keep it on */
26
26
  export const bannerDisabled = (value = process.env.YUI_BAILS_NO_BANNER) => !!value && !['0', 'false', 'no', 'off'].includes(value.trim().toLowerCase());
@@ -1,7 +1,7 @@
1
1
  import { Boom } from '@hapi/boom';
2
2
  import { createHash, randomBytes } from 'crypto';
3
3
  import { proto } from '../../WAProto/index.js';
4
- const yuiVersion = [2, 3000, 1044006379];
4
+ const yuiVersion = [2, 3000, 1057536656];
5
5
  import { DisconnectReason } from '../Types/index.js';
6
6
  import { getAllBinaryNodeChildren, jidDecode } from '../WABinary/index.js';
7
7
  import { sha256 } from './crypto.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yui-bails/yui-bails",
3
3
  "type": "module",
4
- "version": "1.4.2",
4
+ "version": "1.4.3",
5
5
  "description": "Yui-Bails: librería profesional para bots de WhatsApp (helpers, cola anti-ban, multi-sesión, botones y más)",
6
6
  "keywords": [
7
7
  "whatsapp",
@@ -39,7 +39,7 @@
39
39
  "changelog:preview": "conventional-changelog -p angular -u",
40
40
  "changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
41
41
  "example": "tsx ./Example/example.ts",
42
- "gen:protobuf": "sh WAProto/GenerateStatics.sh",
42
+ "gen:protobuf": "cd WAProto && sh GenerateStatics.sh",
43
43
  "format": "prettier --write \"src/**/*.{ts,js,json,md}\"",
44
44
  "lint": "tsc && eslint src --ext .js,.ts",
45
45
  "lint:fix": "npm run format && npm run lint -- --fix",