@browserless.io/browserless 2.5.0-beta-2 → 2.5.0-beta-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.
@@ -535,14 +535,14 @@
535
535
  "length": {
536
536
  "type": "number"
537
537
  },
538
- "__@toStringTag@75984": {
538
+ "__@toStringTag@65215": {
539
539
  "type": "string",
540
540
  "const": "Uint8Array"
541
541
  }
542
542
  },
543
543
  "required": [
544
544
  "BYTES_PER_ELEMENT",
545
- "__@toStringTag@75984",
545
+ "__@toStringTag@65215",
546
546
  "buffer",
547
547
  "byteLength",
548
548
  "byteOffset",
@@ -577,13 +577,13 @@
577
577
  "byteLength": {
578
578
  "type": "number"
579
579
  },
580
- "__@toStringTag@75984": {
580
+ "__@toStringTag@65215": {
581
581
  "type": "string"
582
582
  }
583
583
  },
584
584
  "additionalProperties": false,
585
585
  "required": [
586
- "__@toStringTag@75984",
586
+ "__@toStringTag@65215",
587
587
  "byteLength"
588
588
  ]
589
589
  },
@@ -593,18 +593,18 @@
593
593
  "byteLength": {
594
594
  "type": "number"
595
595
  },
596
- "__@species@76085": {
596
+ "__@species@65316": {
597
597
  "$ref": "#/definitions/SharedArrayBuffer"
598
598
  },
599
- "__@toStringTag@75984": {
599
+ "__@toStringTag@65215": {
600
600
  "type": "string",
601
601
  "const": "SharedArrayBuffer"
602
602
  }
603
603
  },
604
604
  "additionalProperties": false,
605
605
  "required": [
606
- "__@species@76085",
607
- "__@toStringTag@75984",
606
+ "__@species@65316",
607
+ "__@toStringTag@65215",
608
608
  "byteLength"
609
609
  ]
610
610
  },
@@ -535,14 +535,14 @@
535
535
  "length": {
536
536
  "type": "number"
537
537
  },
538
- "__@toStringTag@217585": {
538
+ "__@toStringTag@195956": {
539
539
  "type": "string",
540
540
  "const": "Uint8Array"
541
541
  }
542
542
  },
543
543
  "required": [
544
544
  "BYTES_PER_ELEMENT",
545
- "__@toStringTag@217585",
545
+ "__@toStringTag@195956",
546
546
  "buffer",
547
547
  "byteLength",
548
548
  "byteOffset",
@@ -577,13 +577,13 @@
577
577
  "byteLength": {
578
578
  "type": "number"
579
579
  },
580
- "__@toStringTag@217585": {
580
+ "__@toStringTag@195956": {
581
581
  "type": "string"
582
582
  }
583
583
  },
584
584
  "additionalProperties": false,
585
585
  "required": [
586
- "__@toStringTag@217585",
586
+ "__@toStringTag@195956",
587
587
  "byteLength"
588
588
  ]
589
589
  },
@@ -593,18 +593,18 @@
593
593
  "byteLength": {
594
594
  "type": "number"
595
595
  },
596
- "__@species@217686": {
596
+ "__@species@196057": {
597
597
  "$ref": "#/definitions/SharedArrayBuffer"
598
598
  },
599
- "__@toStringTag@217585": {
599
+ "__@toStringTag@195956": {
600
600
  "type": "string",
601
601
  "const": "SharedArrayBuffer"
602
602
  }
603
603
  },
604
604
  "additionalProperties": false,
605
605
  "required": [
606
- "__@species@217686",
607
- "__@toStringTag@217585",
606
+ "__@species@196057",
607
+ "__@toStringTag@195956",
608
608
  "byteLength"
609
609
  ]
610
610
  },
@@ -484,14 +484,14 @@
484
484
  "length": {
485
485
  "type": "number"
486
486
  },
487
- "__@toStringTag@239806": {
487
+ "__@toStringTag@250601": {
488
488
  "type": "string",
489
489
  "const": "Uint8Array"
490
490
  }
491
491
  },
492
492
  "required": [
493
493
  "BYTES_PER_ELEMENT",
494
- "__@toStringTag@239806",
494
+ "__@toStringTag@250601",
495
495
  "buffer",
496
496
  "byteLength",
497
497
  "byteOffset",
@@ -526,13 +526,13 @@
526
526
  "byteLength": {
527
527
  "type": "number"
528
528
  },
529
- "__@toStringTag@239806": {
529
+ "__@toStringTag@250601": {
530
530
  "type": "string"
531
531
  }
532
532
  },
533
533
  "additionalProperties": false,
534
534
  "required": [
535
- "__@toStringTag@239806",
535
+ "__@toStringTag@250601",
536
536
  "byteLength"
537
537
  ]
538
538
  },
@@ -542,18 +542,18 @@
542
542
  "byteLength": {
543
543
  "type": "number"
544
544
  },
545
- "__@species@239907": {
545
+ "__@species@250702": {
546
546
  "$ref": "#/definitions/SharedArrayBuffer"
547
547
  },
548
- "__@toStringTag@239806": {
548
+ "__@toStringTag@250601": {
549
549
  "type": "string",
550
550
  "const": "SharedArrayBuffer"
551
551
  }
552
552
  },
553
553
  "additionalProperties": false,
554
554
  "required": [
555
- "__@species@239907",
556
- "__@toStringTag@239806",
555
+ "__@species@250702",
556
+ "__@toStringTag@250601",
557
557
  "byteLength"
558
558
  ]
559
559
  },
package/build/utils.js CHANGED
@@ -532,7 +532,6 @@ export const encrypt = (text, secret) => {
532
532
  };
533
533
  export const decrypt = (encryptedText, secret) => {
534
534
  const [encrypted, iv] = encryptedText.toString().split(encryptionSep);
535
- console.log('>>', encryptedText.toString());
536
535
  if (!iv)
537
536
  throw new ServerError('Bad or invalid encrypted format');
538
537
  const decipher = crypto.createDecipheriv(encryptionAlgo, secret, Buffer.from(iv, 'hex'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@browserless.io/browserless",
3
- "version": "2.5.0-beta-2",
3
+ "version": "2.5.0-beta-3",
4
4
  "license": "SSPL",
5
5
  "description": "The browserless platform",
6
6
  "author": "browserless.io",
package/src/utils.ts CHANGED
@@ -744,7 +744,6 @@ export const encrypt = (text: string, secret: Buffer) => {
744
744
 
745
745
  export const decrypt = (encryptedText: string, secret: Buffer) => {
746
746
  const [encrypted, iv] = encryptedText.toString().split(encryptionSep);
747
- console.log('>>', encryptedText.toString());
748
747
  if (!iv) throw new ServerError('Bad or invalid encrypted format');
749
748
  const decipher = crypto.createDecipheriv(
750
749
  encryptionAlgo,
@@ -1098,7 +1098,7 @@
1098
1098
  },
1099
1099
  "info": {
1100
1100
  "title": "Browserless",
1101
- "version": "2.5.0-beta-2",
1101
+ "version": "2.5.0-beta-3",
1102
1102
  "x-logo": {
1103
1103
  "altText": "browserless logo",
1104
1104
  "url": "./docs/browserless-logo-inline.svg"
@@ -1098,7 +1098,7 @@
1098
1098
  },
1099
1099
  "info": {
1100
1100
  "title": "Browserless",
1101
- "version": "2.5.0-beta-2",
1101
+ "version": "2.5.0-beta-3",
1102
1102
  "x-logo": {
1103
1103
  "altText": "browserless logo",
1104
1104
  "url": "./docs/browserless-logo-inline.svg"