@onkernel/sdk 0.38.0 → 0.40.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 +16 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/browser-pools.d.mts +4 -0
- package/resources/browser-pools.d.mts.map +1 -1
- package/resources/browser-pools.d.ts +4 -0
- package/resources/browser-pools.d.ts.map +1 -1
- package/resources/browsers/browsers.d.mts +30 -1
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +30 -1
- package/resources/browsers/browsers.d.ts.map +1 -1
- package/resources/browsers/browsers.js.map +1 -1
- package/resources/browsers/browsers.mjs.map +1 -1
- package/resources/browsers/index.d.mts +1 -1
- package/resources/browsers/index.d.mts.map +1 -1
- package/resources/browsers/index.d.ts +1 -1
- package/resources/browsers/index.d.ts.map +1 -1
- package/resources/browsers/index.js.map +1 -1
- package/resources/browsers/index.mjs.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invocations.d.mts +4 -0
- package/resources/invocations.d.mts.map +1 -1
- package/resources/invocations.d.ts +4 -0
- package/resources/invocations.d.ts.map +1 -1
- package/resources/proxies.d.mts +20 -0
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +20 -0
- package/resources/proxies.d.ts.map +1 -1
- package/src/client.ts +2 -0
- package/src/resources/browser-pools.ts +5 -0
- package/src/resources/browsers/browsers.ts +36 -0
- package/src/resources/browsers/index.ts +1 -0
- package/src/resources/index.ts +1 -0
- package/src/resources/invocations.ts +5 -0
- package/src/resources/proxies.ts +25 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -222,6 +222,21 @@ export interface BrowserPersistence {
|
|
|
222
222
|
id: string;
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
+
/**
|
|
226
|
+
* Browser pool this session was acquired from, if any.
|
|
227
|
+
*/
|
|
228
|
+
export interface BrowserPoolRef {
|
|
229
|
+
/**
|
|
230
|
+
* Browser pool ID
|
|
231
|
+
*/
|
|
232
|
+
id: string;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Browser pool name, if set
|
|
236
|
+
*/
|
|
237
|
+
name?: string;
|
|
238
|
+
}
|
|
239
|
+
|
|
225
240
|
/**
|
|
226
241
|
* Browser profile metadata.
|
|
227
242
|
*/
|
|
@@ -310,6 +325,11 @@ export interface BrowserCreateResponse {
|
|
|
310
325
|
*/
|
|
311
326
|
persistence?: BrowserPersistence;
|
|
312
327
|
|
|
328
|
+
/**
|
|
329
|
+
* Browser pool this session was acquired from, if any.
|
|
330
|
+
*/
|
|
331
|
+
pool?: BrowserPoolRef;
|
|
332
|
+
|
|
313
333
|
/**
|
|
314
334
|
* Browser profile metadata.
|
|
315
335
|
*/
|
|
@@ -391,6 +411,11 @@ export interface BrowserRetrieveResponse {
|
|
|
391
411
|
*/
|
|
392
412
|
persistence?: BrowserPersistence;
|
|
393
413
|
|
|
414
|
+
/**
|
|
415
|
+
* Browser pool this session was acquired from, if any.
|
|
416
|
+
*/
|
|
417
|
+
pool?: BrowserPoolRef;
|
|
418
|
+
|
|
394
419
|
/**
|
|
395
420
|
* Browser profile metadata.
|
|
396
421
|
*/
|
|
@@ -472,6 +497,11 @@ export interface BrowserUpdateResponse {
|
|
|
472
497
|
*/
|
|
473
498
|
persistence?: BrowserPersistence;
|
|
474
499
|
|
|
500
|
+
/**
|
|
501
|
+
* Browser pool this session was acquired from, if any.
|
|
502
|
+
*/
|
|
503
|
+
pool?: BrowserPoolRef;
|
|
504
|
+
|
|
475
505
|
/**
|
|
476
506
|
* Browser profile metadata.
|
|
477
507
|
*/
|
|
@@ -553,6 +583,11 @@ export interface BrowserListResponse {
|
|
|
553
583
|
*/
|
|
554
584
|
persistence?: BrowserPersistence;
|
|
555
585
|
|
|
586
|
+
/**
|
|
587
|
+
* Browser pool this session was acquired from, if any.
|
|
588
|
+
*/
|
|
589
|
+
pool?: BrowserPoolRef;
|
|
590
|
+
|
|
556
591
|
/**
|
|
557
592
|
* Browser profile metadata.
|
|
558
593
|
*/
|
|
@@ -736,6 +771,7 @@ Browsers.Playwright = Playwright;
|
|
|
736
771
|
export declare namespace Browsers {
|
|
737
772
|
export {
|
|
738
773
|
type BrowserPersistence as BrowserPersistence,
|
|
774
|
+
type BrowserPoolRef as BrowserPoolRef,
|
|
739
775
|
type Profile as Profile,
|
|
740
776
|
type BrowserCreateResponse as BrowserCreateResponse,
|
|
741
777
|
type BrowserRetrieveResponse as BrowserRetrieveResponse,
|
package/src/resources/index.ts
CHANGED
|
@@ -472,6 +472,11 @@ export namespace InvocationListBrowsersResponse {
|
|
|
472
472
|
*/
|
|
473
473
|
persistence?: BrowsersAPI.BrowserPersistence;
|
|
474
474
|
|
|
475
|
+
/**
|
|
476
|
+
* Browser pool this session was acquired from, if any.
|
|
477
|
+
*/
|
|
478
|
+
pool?: BrowsersAPI.BrowserPoolRef;
|
|
479
|
+
|
|
475
480
|
/**
|
|
476
481
|
* Browser profile metadata.
|
|
477
482
|
*/
|
package/src/resources/proxies.ts
CHANGED
|
@@ -58,6 +58,11 @@ export interface ProxyCreateResponse {
|
|
|
58
58
|
|
|
59
59
|
id?: string;
|
|
60
60
|
|
|
61
|
+
/**
|
|
62
|
+
* Hostnames that should bypass the parent proxy and connect directly.
|
|
63
|
+
*/
|
|
64
|
+
bypass_hosts?: Array<string>;
|
|
65
|
+
|
|
61
66
|
/**
|
|
62
67
|
* Configuration specific to the selected proxy `type`.
|
|
63
68
|
*/
|
|
@@ -283,6 +288,11 @@ export interface ProxyRetrieveResponse {
|
|
|
283
288
|
|
|
284
289
|
id?: string;
|
|
285
290
|
|
|
291
|
+
/**
|
|
292
|
+
* Hostnames that should bypass the parent proxy and connect directly.
|
|
293
|
+
*/
|
|
294
|
+
bypass_hosts?: Array<string>;
|
|
295
|
+
|
|
286
296
|
/**
|
|
287
297
|
* Configuration specific to the selected proxy `type`.
|
|
288
298
|
*/
|
|
@@ -511,6 +521,11 @@ export namespace ProxyListResponse {
|
|
|
511
521
|
|
|
512
522
|
id?: string;
|
|
513
523
|
|
|
524
|
+
/**
|
|
525
|
+
* Hostnames that should bypass the parent proxy and connect directly.
|
|
526
|
+
*/
|
|
527
|
+
bypass_hosts?: Array<string>;
|
|
528
|
+
|
|
514
529
|
/**
|
|
515
530
|
* Configuration specific to the selected proxy `type`.
|
|
516
531
|
*/
|
|
@@ -737,6 +752,11 @@ export interface ProxyCheckResponse {
|
|
|
737
752
|
|
|
738
753
|
id?: string;
|
|
739
754
|
|
|
755
|
+
/**
|
|
756
|
+
* Hostnames that should bypass the parent proxy and connect directly.
|
|
757
|
+
*/
|
|
758
|
+
bypass_hosts?: Array<string>;
|
|
759
|
+
|
|
740
760
|
/**
|
|
741
761
|
* Configuration specific to the selected proxy `type`.
|
|
742
762
|
*/
|
|
@@ -957,6 +977,11 @@ export interface ProxyCreateParams {
|
|
|
957
977
|
*/
|
|
958
978
|
type: 'datacenter' | 'isp' | 'residential' | 'mobile' | 'custom';
|
|
959
979
|
|
|
980
|
+
/**
|
|
981
|
+
* Hostnames that should bypass the parent proxy and connect directly.
|
|
982
|
+
*/
|
|
983
|
+
bypass_hosts?: Array<string>;
|
|
984
|
+
|
|
960
985
|
/**
|
|
961
986
|
* Configuration specific to the selected proxy `type`.
|
|
962
987
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.40.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.40.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.40.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.40.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|