@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.
Files changed (50) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/browser-pools.d.mts +4 -0
  10. package/resources/browser-pools.d.mts.map +1 -1
  11. package/resources/browser-pools.d.ts +4 -0
  12. package/resources/browser-pools.d.ts.map +1 -1
  13. package/resources/browsers/browsers.d.mts +30 -1
  14. package/resources/browsers/browsers.d.mts.map +1 -1
  15. package/resources/browsers/browsers.d.ts +30 -1
  16. package/resources/browsers/browsers.d.ts.map +1 -1
  17. package/resources/browsers/browsers.js.map +1 -1
  18. package/resources/browsers/browsers.mjs.map +1 -1
  19. package/resources/browsers/index.d.mts +1 -1
  20. package/resources/browsers/index.d.mts.map +1 -1
  21. package/resources/browsers/index.d.ts +1 -1
  22. package/resources/browsers/index.d.ts.map +1 -1
  23. package/resources/browsers/index.js.map +1 -1
  24. package/resources/browsers/index.mjs.map +1 -1
  25. package/resources/index.d.mts +1 -1
  26. package/resources/index.d.mts.map +1 -1
  27. package/resources/index.d.ts +1 -1
  28. package/resources/index.d.ts.map +1 -1
  29. package/resources/index.js.map +1 -1
  30. package/resources/index.mjs.map +1 -1
  31. package/resources/invocations.d.mts +4 -0
  32. package/resources/invocations.d.mts.map +1 -1
  33. package/resources/invocations.d.ts +4 -0
  34. package/resources/invocations.d.ts.map +1 -1
  35. package/resources/proxies.d.mts +20 -0
  36. package/resources/proxies.d.mts.map +1 -1
  37. package/resources/proxies.d.ts +20 -0
  38. package/resources/proxies.d.ts.map +1 -1
  39. package/src/client.ts +2 -0
  40. package/src/resources/browser-pools.ts +5 -0
  41. package/src/resources/browsers/browsers.ts +36 -0
  42. package/src/resources/browsers/index.ts +1 -0
  43. package/src/resources/index.ts +1 -0
  44. package/src/resources/invocations.ts +5 -0
  45. package/src/resources/proxies.ts +25 -0
  46. package/src/version.ts +1 -1
  47. package/version.d.mts +1 -1
  48. package/version.d.ts +1 -1
  49. package/version.js +1 -1
  50. 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,
@@ -3,6 +3,7 @@
3
3
  export {
4
4
  Browsers,
5
5
  type BrowserPersistence,
6
+ type BrowserPoolRef,
6
7
  type Profile,
7
8
  type BrowserCreateResponse,
8
9
  type BrowserRetrieveResponse,
@@ -22,6 +22,7 @@ export {
22
22
  export {
23
23
  Browsers,
24
24
  type BrowserPersistence,
25
+ type BrowserPoolRef,
25
26
  type Profile,
26
27
  type BrowserCreateResponse,
27
28
  type BrowserRetrieveResponse,
@@ -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
  */
@@ -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.38.0'; // x-release-please-version
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.38.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.38.0";
1
+ export declare const VERSION = "0.40.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.38.0'; // x-release-please-version
4
+ exports.VERSION = '0.40.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.38.0'; // x-release-please-version
1
+ export const VERSION = '0.40.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map