@browserless.io/browserless 2.24.0-beta-4 → 2.24.0-beta-5

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.
@@ -256,7 +256,7 @@
256
256
  ]
257
257
  },
258
258
  "CookieParam": {
259
- "description": "Cookie parameter object",
259
+ "description": "Cookie parameter object used to set cookies in the page-level cookies\nAPI.",
260
260
  "type": "object",
261
261
  "properties": {
262
262
  "name": {
@@ -324,7 +324,14 @@
324
324
  },
325
325
  "partitionKey": {
326
326
  "description": "Cookie partition key. In Chrome, it matches the top-level site the\npartitioned cookie is available in. In Firefox, it matches the\nsource origin\n(https://w3c.github.io/webdriver-bidi/#type-storage-PartitionKey).",
327
- "type": "string"
327
+ "anyOf": [
328
+ {
329
+ "$ref": "#/definitions/CookiePartitionKey"
330
+ },
331
+ {
332
+ "type": "string"
333
+ }
334
+ ]
328
335
  }
329
336
  },
330
337
  "additionalProperties": false,
@@ -333,6 +340,24 @@
333
340
  "value"
334
341
  ]
335
342
  },
343
+ "CookiePartitionKey": {
344
+ "description": "Represents a cookie partition key in Chrome.",
345
+ "type": "object",
346
+ "properties": {
347
+ "sourceOrigin": {
348
+ "description": "The site of the top-level URL the browser was visiting at the start of the request\nto the endpoint that set the cookie.\n\nIn Chrome, maps to the CDP's `topLevelSite` partition key.",
349
+ "type": "string"
350
+ },
351
+ "hasCrossSiteAncestor": {
352
+ "description": "Indicates if the cookie has any ancestors that are cross-site to\nthe topLevelSite.\n\nSupported only in Chrome.",
353
+ "type": "boolean"
354
+ }
355
+ },
356
+ "additionalProperties": false,
357
+ "required": [
358
+ "sourceOrigin"
359
+ ]
360
+ },
336
361
  "ScrapeDebugOptions": {
337
362
  "type": "object",
338
363
  "properties": {
@@ -485,14 +510,14 @@
485
510
  "length": {
486
511
  "type": "number"
487
512
  },
488
- "__@toStringTag@289525": {
513
+ "__@toStringTag@303968": {
489
514
  "type": "string",
490
515
  "const": "Uint8Array"
491
516
  }
492
517
  },
493
518
  "required": [
494
519
  "BYTES_PER_ELEMENT",
495
- "__@toStringTag@289525",
520
+ "__@toStringTag@303968",
496
521
  "buffer",
497
522
  "byteLength",
498
523
  "byteOffset",
@@ -527,13 +552,13 @@
527
552
  "byteLength": {
528
553
  "type": "number"
529
554
  },
530
- "__@toStringTag@289525": {
555
+ "__@toStringTag@303968": {
531
556
  "type": "string"
532
557
  }
533
558
  },
534
559
  "additionalProperties": false,
535
560
  "required": [
536
- "__@toStringTag@289525",
561
+ "__@toStringTag@303968",
537
562
  "byteLength"
538
563
  ]
539
564
  },
@@ -543,18 +568,18 @@
543
568
  "byteLength": {
544
569
  "type": "number"
545
570
  },
546
- "__@species@289563": {
571
+ "__@species@304006": {
547
572
  "$ref": "#/definitions/SharedArrayBuffer"
548
573
  },
549
- "__@toStringTag@289525": {
574
+ "__@toStringTag@303968": {
550
575
  "type": "string",
551
576
  "const": "SharedArrayBuffer"
552
577
  }
553
578
  },
554
579
  "additionalProperties": false,
555
580
  "required": [
556
- "__@species@289563",
557
- "__@toStringTag@289525",
581
+ "__@species@304006",
582
+ "__@toStringTag@303968",
558
583
  "byteLength"
559
584
  ]
560
585
  },
@@ -248,7 +248,14 @@
248
248
  },
249
249
  "partitionKey": {
250
250
  "description": "Cookie partition key. In Chrome, it is the top-level site the\npartitioned cookie is available in. In Firefox, it matches the\nsource origin\n(https://w3c.github.io/webdriver-bidi/#type-storage-PartitionKey).",
251
- "type": "string"
251
+ "anyOf": [
252
+ {
253
+ "$ref": "#/definitions/CookiePartitionKey"
254
+ },
255
+ {
256
+ "type": "string"
257
+ }
258
+ ]
252
259
  },
253
260
  "partitionKeyOpaque": {
254
261
  "description": "True if cookie partition key is opaque. Supported only in Chrome.",
@@ -268,6 +275,24 @@
268
275
  "value"
269
276
  ]
270
277
  },
278
+ "CookiePartitionKey": {
279
+ "description": "Represents a cookie partition key in Chrome.",
280
+ "type": "object",
281
+ "properties": {
282
+ "sourceOrigin": {
283
+ "description": "The site of the top-level URL the browser was visiting at the start of the request\nto the endpoint that set the cookie.\n\nIn Chrome, maps to the CDP's `topLevelSite` partition key.",
284
+ "type": "string"
285
+ },
286
+ "hasCrossSiteAncestor": {
287
+ "description": "Indicates if the cookie has any ancestors that are cross-site to\nthe topLevelSite.\n\nSupported only in Chrome.",
288
+ "type": "boolean"
289
+ }
290
+ },
291
+ "additionalProperties": false,
292
+ "required": [
293
+ "sourceOrigin"
294
+ ]
295
+ },
271
296
  "InBoundRequest": {
272
297
  "type": "object",
273
298
  "properties": {
@@ -253,7 +253,7 @@
253
253
  ]
254
254
  },
255
255
  "CookieParam": {
256
- "description": "Cookie parameter object",
256
+ "description": "Cookie parameter object used to set cookies in the page-level cookies\nAPI.",
257
257
  "type": "object",
258
258
  "properties": {
259
259
  "name": {
@@ -321,7 +321,14 @@
321
321
  },
322
322
  "partitionKey": {
323
323
  "description": "Cookie partition key. In Chrome, it matches the top-level site the\npartitioned cookie is available in. In Firefox, it matches the\nsource origin\n(https://w3c.github.io/webdriver-bidi/#type-storage-PartitionKey).",
324
- "type": "string"
324
+ "anyOf": [
325
+ {
326
+ "$ref": "#/definitions/CookiePartitionKey"
327
+ },
328
+ {
329
+ "type": "string"
330
+ }
331
+ ]
325
332
  }
326
333
  },
327
334
  "additionalProperties": false,
@@ -330,6 +337,24 @@
330
337
  "value"
331
338
  ]
332
339
  },
340
+ "CookiePartitionKey": {
341
+ "description": "Represents a cookie partition key in Chrome.",
342
+ "type": "object",
343
+ "properties": {
344
+ "sourceOrigin": {
345
+ "description": "The site of the top-level URL the browser was visiting at the start of the request\nto the endpoint that set the cookie.\n\nIn Chrome, maps to the CDP's `topLevelSite` partition key.",
346
+ "type": "string"
347
+ },
348
+ "hasCrossSiteAncestor": {
349
+ "description": "Indicates if the cookie has any ancestors that are cross-site to\nthe topLevelSite.\n\nSupported only in Chrome.",
350
+ "type": "boolean"
351
+ }
352
+ },
353
+ "additionalProperties": false,
354
+ "required": [
355
+ "sourceOrigin"
356
+ ]
357
+ },
333
358
  "GoToOptions": {
334
359
  "type": "object",
335
360
  "properties": {
@@ -528,14 +553,14 @@
528
553
  "length": {
529
554
  "type": "number"
530
555
  },
531
- "__@toStringTag@304210": {
556
+ "__@toStringTag@318656": {
532
557
  "type": "string",
533
558
  "const": "Uint8Array"
534
559
  }
535
560
  },
536
561
  "required": [
537
562
  "BYTES_PER_ELEMENT",
538
- "__@toStringTag@304210",
563
+ "__@toStringTag@318656",
539
564
  "buffer",
540
565
  "byteLength",
541
566
  "byteOffset",
@@ -570,13 +595,13 @@
570
595
  "byteLength": {
571
596
  "type": "number"
572
597
  },
573
- "__@toStringTag@304210": {
598
+ "__@toStringTag@318656": {
574
599
  "type": "string"
575
600
  }
576
601
  },
577
602
  "additionalProperties": false,
578
603
  "required": [
579
- "__@toStringTag@304210",
604
+ "__@toStringTag@318656",
580
605
  "byteLength"
581
606
  ]
582
607
  },
@@ -586,18 +611,18 @@
586
611
  "byteLength": {
587
612
  "type": "number"
588
613
  },
589
- "__@species@304248": {
614
+ "__@species@318694": {
590
615
  "$ref": "#/definitions/SharedArrayBuffer"
591
616
  },
592
- "__@toStringTag@304210": {
617
+ "__@toStringTag@318656": {
593
618
  "type": "string",
594
619
  "const": "SharedArrayBuffer"
595
620
  }
596
621
  },
597
622
  "additionalProperties": false,
598
623
  "required": [
599
- "__@species@304248",
600
- "__@toStringTag@304210",
624
+ "__@species@318694",
625
+ "__@toStringTag@318656",
601
626
  "byteLength"
602
627
  ]
603
628
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@browserless.io/browserless",
3
- "version": "2.24.0-beta-4",
3
+ "version": "2.24.0-beta-5",
4
4
  "license": "SSPL",
5
5
  "description": "The browserless platform",
6
6
  "author": "browserless.io",
@@ -62,7 +62,7 @@
62
62
  "playwright-1.47": "npm:playwright-core@1.47.2",
63
63
  "playwright-1.48": "npm:playwright-core@1.48.2",
64
64
  "playwright-core": "^1.49.0",
65
- "puppeteer-core": "^23.9.0",
65
+ "puppeteer-core": "^23.10.0",
66
66
  "puppeteer-extra": "^3.3.6",
67
67
  "puppeteer-extra-plugin-stealth": "^2.11.2",
68
68
  "queue": "^7.0.0",
@@ -62,7 +62,7 @@
62
62
  ]
63
63
  },
64
64
  "CookieParam": {
65
- "description": "Cookie parameter object",
65
+ "description": "Cookie parameter object used to set cookies in the page-level cookies\nAPI.",
66
66
  "type": "object",
67
67
  "properties": {
68
68
  "name": {
@@ -130,7 +130,14 @@
130
130
  },
131
131
  "partitionKey": {
132
132
  "description": "Cookie partition key. In Chrome, it matches the top-level site the\npartitioned cookie is available in. In Firefox, it matches the\nsource origin\n(https://w3c.github.io/webdriver-bidi/#type-storage-PartitionKey).",
133
- "type": "string"
133
+ "anyOf": [
134
+ {
135
+ "$ref": "#/definitions/CookiePartitionKey"
136
+ },
137
+ {
138
+ "type": "string"
139
+ }
140
+ ]
134
141
  }
135
142
  },
136
143
  "additionalProperties": false,
@@ -139,6 +146,24 @@
139
146
  "value"
140
147
  ]
141
148
  },
149
+ "CookiePartitionKey": {
150
+ "description": "Represents a cookie partition key in Chrome.",
151
+ "type": "object",
152
+ "properties": {
153
+ "sourceOrigin": {
154
+ "description": "The site of the top-level URL the browser was visiting at the start of the request\nto the endpoint that set the cookie.\n\nIn Chrome, maps to the CDP's `topLevelSite` partition key.",
155
+ "type": "string"
156
+ },
157
+ "hasCrossSiteAncestor": {
158
+ "description": "Indicates if the cookie has any ancestors that are cross-site to\nthe topLevelSite.\n\nSupported only in Chrome.",
159
+ "type": "boolean"
160
+ }
161
+ },
162
+ "additionalProperties": false,
163
+ "required": [
164
+ "sourceOrigin"
165
+ ]
166
+ },
142
167
  "GoToOptions": {
143
168
  "type": "object",
144
169
  "properties": {
@@ -255,14 +280,14 @@
255
280
  "length": {
256
281
  "type": "number"
257
282
  },
258
- "__@toStringTag@14520": {
283
+ "__@toStringTag@43326": {
259
284
  "type": "string",
260
285
  "const": "Uint8Array"
261
286
  }
262
287
  },
263
288
  "required": [
264
289
  "BYTES_PER_ELEMENT",
265
- "__@toStringTag@14520",
290
+ "__@toStringTag@43326",
266
291
  "buffer",
267
292
  "byteLength",
268
293
  "byteOffset",
@@ -297,13 +322,13 @@
297
322
  "byteLength": {
298
323
  "type": "number"
299
324
  },
300
- "__@toStringTag@14520": {
325
+ "__@toStringTag@43326": {
301
326
  "type": "string"
302
327
  }
303
328
  },
304
329
  "additionalProperties": false,
305
330
  "required": [
306
- "__@toStringTag@14520",
331
+ "__@toStringTag@43326",
307
332
  "byteLength"
308
333
  ]
309
334
  },
@@ -313,18 +338,18 @@
313
338
  "byteLength": {
314
339
  "type": "number"
315
340
  },
316
- "__@species@14558": {
341
+ "__@species@43364": {
317
342
  "$ref": "#/definitions/SharedArrayBuffer"
318
343
  },
319
- "__@toStringTag@14520": {
344
+ "__@toStringTag@43326": {
320
345
  "type": "string",
321
346
  "const": "SharedArrayBuffer"
322
347
  }
323
348
  },
324
349
  "additionalProperties": false,
325
350
  "required": [
326
- "__@species@14558",
327
- "__@toStringTag@14520",
351
+ "__@species@43364",
352
+ "__@toStringTag@43326",
328
353
  "byteLength"
329
354
  ]
330
355
  },
@@ -828,7 +853,14 @@
828
853
  },
829
854
  "partitionKey": {
830
855
  "description": "Cookie partition key. In Chrome, it is the top-level site the\npartitioned cookie is available in. In Firefox, it matches the\nsource origin\n(https://w3c.github.io/webdriver-bidi/#type-storage-PartitionKey).",
831
- "type": "string"
856
+ "anyOf": [
857
+ {
858
+ "$ref": "#/definitions/CookiePartitionKey"
859
+ },
860
+ {
861
+ "type": "string"
862
+ }
863
+ ]
832
864
  },
833
865
  "partitionKeyOpaque": {
834
866
  "description": "True if cookie partition key is opaque. Supported only in Chrome.",
@@ -969,7 +1001,7 @@
969
1001
  },
970
1002
  "info": {
971
1003
  "title": "Browserless",
972
- "version": "2.24.0-beta-4",
1004
+ "version": "2.24.0-beta-5",
973
1005
  "x-logo": {
974
1006
  "altText": "browserless logo",
975
1007
  "url": "./docs/browserless-logo-inline.svg"
@@ -2742,7 +2774,14 @@
2742
2774
  },
2743
2775
  "partitionKey": {
2744
2776
  "description": "Cookie partition key. In Chrome, it is the top-level site the\npartitioned cookie is available in. In Firefox, it matches the\nsource origin\n(https://w3c.github.io/webdriver-bidi/#type-storage-PartitionKey).",
2745
- "type": "string"
2777
+ "anyOf": [
2778
+ {
2779
+ "$ref": "#/definitions/CookiePartitionKey"
2780
+ },
2781
+ {
2782
+ "type": "string"
2783
+ }
2784
+ ]
2746
2785
  },
2747
2786
  "partitionKeyOpaque": {
2748
2787
  "description": "True if cookie partition key is opaque. Supported only in Chrome.",
@@ -2762,6 +2801,24 @@
2762
2801
  "value"
2763
2802
  ]
2764
2803
  },
2804
+ "CookiePartitionKey": {
2805
+ "description": "Represents a cookie partition key in Chrome.",
2806
+ "type": "object",
2807
+ "properties": {
2808
+ "sourceOrigin": {
2809
+ "description": "The site of the top-level URL the browser was visiting at the start of the request\nto the endpoint that set the cookie.\n\nIn Chrome, maps to the CDP's `topLevelSite` partition key.",
2810
+ "type": "string"
2811
+ },
2812
+ "hasCrossSiteAncestor": {
2813
+ "description": "Indicates if the cookie has any ancestors that are cross-site to\nthe topLevelSite.\n\nSupported only in Chrome.",
2814
+ "type": "boolean"
2815
+ }
2816
+ },
2817
+ "additionalProperties": false,
2818
+ "required": [
2819
+ "sourceOrigin"
2820
+ ]
2821
+ },
2765
2822
  "InBoundRequest": {
2766
2823
  "type": "object",
2767
2824
  "properties": {
@@ -4910,7 +4967,14 @@
4910
4967
  },
4911
4968
  "partitionKey": {
4912
4969
  "description": "Cookie partition key. In Chrome, it is the top-level site the\npartitioned cookie is available in. In Firefox, it matches the\nsource origin\n(https://w3c.github.io/webdriver-bidi/#type-storage-PartitionKey).",
4913
- "type": "string"
4970
+ "anyOf": [
4971
+ {
4972
+ "$ref": "#/definitions/CookiePartitionKey"
4973
+ },
4974
+ {
4975
+ "type": "string"
4976
+ }
4977
+ ]
4914
4978
  },
4915
4979
  "partitionKeyOpaque": {
4916
4980
  "description": "True if cookie partition key is opaque. Supported only in Chrome.",
@@ -4930,6 +4994,24 @@
4930
4994
  "value"
4931
4995
  ]
4932
4996
  },
4997
+ "CookiePartitionKey": {
4998
+ "description": "Represents a cookie partition key in Chrome.",
4999
+ "type": "object",
5000
+ "properties": {
5001
+ "sourceOrigin": {
5002
+ "description": "The site of the top-level URL the browser was visiting at the start of the request\nto the endpoint that set the cookie.\n\nIn Chrome, maps to the CDP's `topLevelSite` partition key.",
5003
+ "type": "string"
5004
+ },
5005
+ "hasCrossSiteAncestor": {
5006
+ "description": "Indicates if the cookie has any ancestors that are cross-site to\nthe topLevelSite.\n\nSupported only in Chrome.",
5007
+ "type": "boolean"
5008
+ }
5009
+ },
5010
+ "additionalProperties": false,
5011
+ "required": [
5012
+ "sourceOrigin"
5013
+ ]
5014
+ },
4933
5015
  "InBoundRequest": {
4934
5016
  "type": "object",
4935
5017
  "properties": {