@browserless.io/browserless 2.14.0 → 2.15.0
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.
- package/CHANGELOG.md +5 -2
- package/build/browserless.d.ts +0 -2
- package/build/browsers/browsers.cdp.d.ts +0 -5
- package/build/browsers/browsers.playwright.d.ts +33 -37
- package/build/browsers/index.d.ts +1 -2
- package/build/config.d.ts +0 -2
- package/build/file-system.d.ts +0 -2
- package/build/hooks.d.ts +0 -1
- package/build/http.d.ts +0 -1
- package/build/limiter.d.ts +5 -0
- package/build/limiter.js +3 -0
- package/build/limiter.spec.js +1 -1
- package/build/metrics.d.ts +0 -1
- package/build/monitoring.d.ts +0 -1
- package/build/router.d.ts +0 -3
- package/build/routes/chrome/http/content.post.body.json +16 -9
- package/build/routes/chrome/http/pdf.post.body.json +16 -9
- package/build/routes/chrome/http/scrape.post.body.json +16 -9
- package/build/routes/chrome/http/screenshot.post.body.json +16 -9
- package/build/routes/chromium/http/content.post.body.json +16 -9
- package/build/routes/chromium/http/pdf.post.body.json +16 -9
- package/build/routes/chromium/http/scrape.post.body.json +16 -9
- package/build/routes/chromium/http/screenshot.post.body.json +16 -9
- package/build/routes/firefox/ws/playwright.d.ts +0 -2
- package/build/routes/management/http/active.get.d.ts +0 -1
- package/build/routes/management/http/config.get.d.ts +0 -1
- package/build/routes/management/http/metrics-total.get.d.ts +0 -1
- package/build/routes/management/http/metrics.get.d.ts +0 -1
- package/build/routes/management/http/pressure.get.d.ts +0 -1
- package/build/routes/management/http/sessions.get.d.ts +0 -1
- package/build/routes/management/http/static.get.d.ts +0 -1
- package/build/routes/webkit/ws/playwright.d.ts +0 -2
- package/build/server.d.ts +0 -4
- package/build/shared/browser.ws.d.ts +0 -2
- package/build/shared/chromium.playwright.ws.d.ts +0 -2
- package/build/shared/chromium.ws.d.ts +0 -2
- package/build/shared/content.http.d.ts +0 -1
- package/build/shared/download.http.d.ts +0 -1
- package/build/shared/function.http.d.ts +0 -1
- package/build/shared/page.ws.d.ts +0 -2
- package/build/shared/pdf.http.d.ts +0 -1
- package/build/shared/performance.http.d.ts +0 -1
- package/build/shared/scrape.http.d.ts +0 -1
- package/build/shared/screenshot.http.d.ts +0 -1
- package/build/token.d.ts +0 -1
- package/build/types.d.ts +0 -3
- package/build/utils.d.ts +0 -3
- package/build/webhooks.d.ts +0 -1
- package/package.json +16 -16
- package/src/limiter.spec.ts +1 -1
- package/src/limiter.ts +8 -0
- package/static/docs/swagger.json +74 -18
- package/static/docs/swagger.min.json +73 -17
- package/static/function/client.js +229 -94
- package/static/function/index.html +229 -94
|
@@ -225,14 +225,14 @@
|
|
|
225
225
|
"length": {
|
|
226
226
|
"type": "number"
|
|
227
227
|
},
|
|
228
|
-
"__@toStringTag@
|
|
228
|
+
"__@toStringTag@32994": {
|
|
229
229
|
"type": "string",
|
|
230
230
|
"const": "Uint8Array"
|
|
231
231
|
}
|
|
232
232
|
},
|
|
233
233
|
"required": [
|
|
234
234
|
"BYTES_PER_ELEMENT",
|
|
235
|
-
"__@toStringTag@
|
|
235
|
+
"__@toStringTag@32994",
|
|
236
236
|
"buffer",
|
|
237
237
|
"byteLength",
|
|
238
238
|
"byteOffset",
|
|
@@ -267,13 +267,13 @@
|
|
|
267
267
|
"byteLength": {
|
|
268
268
|
"type": "number"
|
|
269
269
|
},
|
|
270
|
-
"__@toStringTag@
|
|
270
|
+
"__@toStringTag@32994": {
|
|
271
271
|
"type": "string"
|
|
272
272
|
}
|
|
273
273
|
},
|
|
274
274
|
"additionalProperties": false,
|
|
275
275
|
"required": [
|
|
276
|
-
"__@toStringTag@
|
|
276
|
+
"__@toStringTag@32994",
|
|
277
277
|
"byteLength"
|
|
278
278
|
]
|
|
279
279
|
},
|
|
@@ -283,18 +283,18 @@
|
|
|
283
283
|
"byteLength": {
|
|
284
284
|
"type": "number"
|
|
285
285
|
},
|
|
286
|
-
"__@species@
|
|
286
|
+
"__@species@33095": {
|
|
287
287
|
"$ref": "#/definitions/SharedArrayBuffer"
|
|
288
288
|
},
|
|
289
|
-
"__@toStringTag@
|
|
289
|
+
"__@toStringTag@32994": {
|
|
290
290
|
"type": "string",
|
|
291
291
|
"const": "SharedArrayBuffer"
|
|
292
292
|
}
|
|
293
293
|
},
|
|
294
294
|
"additionalProperties": false,
|
|
295
295
|
"required": [
|
|
296
|
-
"__@species@
|
|
297
|
-
"__@toStringTag@
|
|
296
|
+
"__@species@33095",
|
|
297
|
+
"__@toStringTag@32994",
|
|
298
298
|
"byteLength"
|
|
299
299
|
]
|
|
300
300
|
},
|
|
@@ -935,7 +935,7 @@
|
|
|
935
935
|
},
|
|
936
936
|
"info": {
|
|
937
937
|
"title": "Browserless",
|
|
938
|
-
"version": "2.
|
|
938
|
+
"version": "2.15.0",
|
|
939
939
|
"x-logo": {
|
|
940
940
|
"altText": "browserless logo",
|
|
941
941
|
"url": "./docs/browserless-logo-inline.svg"
|
|
@@ -1100,7 +1100,14 @@
|
|
|
1100
1100
|
"type": "string"
|
|
1101
1101
|
},
|
|
1102
1102
|
"viewport": {
|
|
1103
|
-
"
|
|
1103
|
+
"anyOf": [
|
|
1104
|
+
{
|
|
1105
|
+
"$ref": "#/definitions/Viewport"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"type": "null"
|
|
1109
|
+
}
|
|
1110
|
+
]
|
|
1104
1111
|
},
|
|
1105
1112
|
"waitForEvent": {
|
|
1106
1113
|
"type": "object",
|
|
@@ -1951,7 +1958,14 @@
|
|
|
1951
1958
|
"type": "string"
|
|
1952
1959
|
},
|
|
1953
1960
|
"viewport": {
|
|
1954
|
-
"
|
|
1961
|
+
"anyOf": [
|
|
1962
|
+
{
|
|
1963
|
+
"$ref": "#/definitions/Viewport"
|
|
1964
|
+
},
|
|
1965
|
+
{
|
|
1966
|
+
"type": "null"
|
|
1967
|
+
}
|
|
1968
|
+
]
|
|
1955
1969
|
},
|
|
1956
1970
|
"waitForEvent": {
|
|
1957
1971
|
"type": "object",
|
|
@@ -2361,7 +2375,14 @@
|
|
|
2361
2375
|
"type": "string"
|
|
2362
2376
|
},
|
|
2363
2377
|
"viewport": {
|
|
2364
|
-
"
|
|
2378
|
+
"anyOf": [
|
|
2379
|
+
{
|
|
2380
|
+
"$ref": "#/definitions/Viewport"
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
"type": "null"
|
|
2384
|
+
}
|
|
2385
|
+
]
|
|
2365
2386
|
},
|
|
2366
2387
|
"waitForEvent": {
|
|
2367
2388
|
"type": "object",
|
|
@@ -2952,7 +2973,14 @@
|
|
|
2952
2973
|
"type": "string"
|
|
2953
2974
|
},
|
|
2954
2975
|
"viewport": {
|
|
2955
|
-
"
|
|
2976
|
+
"anyOf": [
|
|
2977
|
+
{
|
|
2978
|
+
"$ref": "#/definitions/Viewport"
|
|
2979
|
+
},
|
|
2980
|
+
{
|
|
2981
|
+
"type": "null"
|
|
2982
|
+
}
|
|
2983
|
+
]
|
|
2956
2984
|
},
|
|
2957
2985
|
"waitForEvent": {
|
|
2958
2986
|
"type": "object",
|
|
@@ -3594,7 +3622,14 @@
|
|
|
3594
3622
|
"type": "string"
|
|
3595
3623
|
},
|
|
3596
3624
|
"viewport": {
|
|
3597
|
-
"
|
|
3625
|
+
"anyOf": [
|
|
3626
|
+
{
|
|
3627
|
+
"$ref": "#/definitions/Viewport"
|
|
3628
|
+
},
|
|
3629
|
+
{
|
|
3630
|
+
"type": "null"
|
|
3631
|
+
}
|
|
3632
|
+
]
|
|
3598
3633
|
},
|
|
3599
3634
|
"waitForEvent": {
|
|
3600
3635
|
"type": "object",
|
|
@@ -4091,7 +4126,14 @@
|
|
|
4091
4126
|
"type": "string"
|
|
4092
4127
|
},
|
|
4093
4128
|
"viewport": {
|
|
4094
|
-
"
|
|
4129
|
+
"anyOf": [
|
|
4130
|
+
{
|
|
4131
|
+
"$ref": "#/definitions/Viewport"
|
|
4132
|
+
},
|
|
4133
|
+
{
|
|
4134
|
+
"type": "null"
|
|
4135
|
+
}
|
|
4136
|
+
]
|
|
4095
4137
|
},
|
|
4096
4138
|
"waitForEvent": {
|
|
4097
4139
|
"type": "object",
|
|
@@ -4501,7 +4543,14 @@
|
|
|
4501
4543
|
"type": "string"
|
|
4502
4544
|
},
|
|
4503
4545
|
"viewport": {
|
|
4504
|
-
"
|
|
4546
|
+
"anyOf": [
|
|
4547
|
+
{
|
|
4548
|
+
"$ref": "#/definitions/Viewport"
|
|
4549
|
+
},
|
|
4550
|
+
{
|
|
4551
|
+
"type": "null"
|
|
4552
|
+
}
|
|
4553
|
+
]
|
|
4505
4554
|
},
|
|
4506
4555
|
"waitForEvent": {
|
|
4507
4556
|
"type": "object",
|
|
@@ -5092,7 +5141,14 @@
|
|
|
5092
5141
|
"type": "string"
|
|
5093
5142
|
},
|
|
5094
5143
|
"viewport": {
|
|
5095
|
-
"
|
|
5144
|
+
"anyOf": [
|
|
5145
|
+
{
|
|
5146
|
+
"$ref": "#/definitions/Viewport"
|
|
5147
|
+
},
|
|
5148
|
+
{
|
|
5149
|
+
"type": "null"
|
|
5150
|
+
}
|
|
5151
|
+
]
|
|
5096
5152
|
},
|
|
5097
5153
|
"waitForEvent": {
|
|
5098
5154
|
"type": "object",
|