@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.
@@ -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"
@@ -2741,7 +2773,14 @@
2741
2773
  },
2742
2774
  "partitionKey": {
2743
2775
  "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).",
2744
- "type": "string"
2776
+ "anyOf": [
2777
+ {
2778
+ "$ref": "#/definitions/CookiePartitionKey"
2779
+ },
2780
+ {
2781
+ "type": "string"
2782
+ }
2783
+ ]
2745
2784
  },
2746
2785
  "partitionKeyOpaque": {
2747
2786
  "description": "True if cookie partition key is opaque. Supported only in Chrome.",
@@ -2761,6 +2800,24 @@
2761
2800
  "value"
2762
2801
  ]
2763
2802
  },
2803
+ "CookiePartitionKey": {
2804
+ "description": "Represents a cookie partition key in Chrome.",
2805
+ "type": "object",
2806
+ "properties": {
2807
+ "sourceOrigin": {
2808
+ "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.",
2809
+ "type": "string"
2810
+ },
2811
+ "hasCrossSiteAncestor": {
2812
+ "description": "Indicates if the cookie has any ancestors that are cross-site to\nthe topLevelSite.\n\nSupported only in Chrome.",
2813
+ "type": "boolean"
2814
+ }
2815
+ },
2816
+ "additionalProperties": false,
2817
+ "required": [
2818
+ "sourceOrigin"
2819
+ ]
2820
+ },
2764
2821
  "InBoundRequest": {
2765
2822
  "type": "object",
2766
2823
  "properties": {
@@ -4909,7 +4966,14 @@
4909
4966
  },
4910
4967
  "partitionKey": {
4911
4968
  "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).",
4912
- "type": "string"
4969
+ "anyOf": [
4970
+ {
4971
+ "$ref": "#/definitions/CookiePartitionKey"
4972
+ },
4973
+ {
4974
+ "type": "string"
4975
+ }
4976
+ ]
4913
4977
  },
4914
4978
  "partitionKeyOpaque": {
4915
4979
  "description": "True if cookie partition key is opaque. Supported only in Chrome.",
@@ -4929,6 +4993,24 @@
4929
4993
  "value"
4930
4994
  ]
4931
4995
  },
4996
+ "CookiePartitionKey": {
4997
+ "description": "Represents a cookie partition key in Chrome.",
4998
+ "type": "object",
4999
+ "properties": {
5000
+ "sourceOrigin": {
5001
+ "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.",
5002
+ "type": "string"
5003
+ },
5004
+ "hasCrossSiteAncestor": {
5005
+ "description": "Indicates if the cookie has any ancestors that are cross-site to\nthe topLevelSite.\n\nSupported only in Chrome.",
5006
+ "type": "boolean"
5007
+ }
5008
+ },
5009
+ "additionalProperties": false,
5010
+ "required": [
5011
+ "sourceOrigin"
5012
+ ]
5013
+ },
4932
5014
  "InBoundRequest": {
4933
5015
  "type": "object",
4934
5016
  "properties": {