@onkernel/sdk 0.157.0 → 0.159.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 +22 -0
- package/README.md +2 -3
- 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 +8 -15
- package/client.js.map +1 -1
- package/client.mjs +9 -16
- package/client.mjs.map +1 -1
- package/core/streaming.d.mts.map +1 -1
- package/core/streaming.d.ts.map +1 -1
- package/core/streaming.js +1 -2
- package/core/streaming.js.map +1 -1
- package/core/streaming.mjs +1 -2
- package/core/streaming.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +0 -3
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +0 -3
- package/internal/parse.mjs.map +1 -1
- package/internal/utils/log.d.mts +9 -14
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts +9 -14
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +13 -25
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +10 -23
- package/internal/utils/log.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/browser-pools.d.mts +23 -0
- package/resources/browser-pools.d.mts.map +1 -1
- package/resources/browser-pools.d.ts +23 -0
- package/resources/browser-pools.d.ts.map +1 -1
- package/resources/browsers/browsers.d.mts +78 -11
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +78 -11
- 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 +5 -0
- package/resources/invocations.d.mts.map +1 -1
- package/resources/invocations.d.ts +5 -0
- package/resources/invocations.d.ts.map +1 -1
- package/resources/proxies.d.mts +11 -10
- package/resources/proxies.d.mts.map +1 -1
- package/resources/proxies.d.ts +11 -10
- package/resources/proxies.d.ts.map +1 -1
- package/src/client.ts +11 -15
- package/src/core/streaming.ts +1 -2
- package/src/internal/parse.ts +0 -4
- package/src/internal/utils/log.ts +13 -38
- package/src/resources/browser-pools.ts +27 -0
- package/src/resources/browsers/browsers.ts +88 -10
- package/src/resources/browsers/index.ts +1 -0
- package/src/resources/index.ts +1 -0
- package/src/resources/invocations.ts +6 -0
- package/src/resources/proxies.ts +11 -10
- 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
package/src/resources/index.ts
CHANGED
|
@@ -609,6 +609,12 @@ export namespace InvocationListBrowsersResponse {
|
|
|
609
609
|
*/
|
|
610
610
|
replay?: Browser.Replay;
|
|
611
611
|
|
|
612
|
+
/**
|
|
613
|
+
* Seconds the browser waits after its last connection closes before entering
|
|
614
|
+
* standby. Omitted when the browser uses the platform default.
|
|
615
|
+
*/
|
|
616
|
+
standby_idle_timeout_seconds?: number;
|
|
617
|
+
|
|
612
618
|
/**
|
|
613
619
|
* URL the session was most recently asked to navigate to, if any. Recorded for
|
|
614
620
|
* debugging. Navigation is fire-and-forget — the URL is dispatched to the browser
|
package/src/resources/proxies.ts
CHANGED
|
@@ -1123,16 +1123,17 @@ export interface ProxyCheckParams {
|
|
|
1123
1123
|
/**
|
|
1124
1124
|
* An optional URL to test reachability against. If provided, the proxy check will
|
|
1125
1125
|
* test connectivity to this URL instead of the default test URLs. Only HTTP and
|
|
1126
|
-
* HTTPS schemes are allowed
|
|
1127
|
-
*
|
|
1128
|
-
*
|
|
1129
|
-
*
|
|
1130
|
-
*
|
|
1131
|
-
*
|
|
1132
|
-
*
|
|
1133
|
-
*
|
|
1134
|
-
*
|
|
1135
|
-
*
|
|
1126
|
+
* HTTPS schemes are allowed. The hostname is resolved by the proxy, not by Kernel;
|
|
1127
|
+
* a URL that names an IP address directly must use a public one. For ISP proxies,
|
|
1128
|
+
* the exit IP is stable, so a successful check reliably indicates that subsequent
|
|
1129
|
+
* browser sessions will reach the target site with the same IP. For residential
|
|
1130
|
+
* and mobile proxies, the exit node changes between requests, so a successful
|
|
1131
|
+
* check validates proxy configuration but does not guarantee that a subsequent
|
|
1132
|
+
* browser session will use the same exit IP or reach the same site — it is useful
|
|
1133
|
+
* for verifying credentials and connectivity, not for predicting site-specific
|
|
1134
|
+
* behavior. When provided, the check result does not update the proxy's health
|
|
1135
|
+
* status, since a failure may indicate a problem with the target site rather than
|
|
1136
|
+
* the proxy itself.
|
|
1136
1137
|
*/
|
|
1137
1138
|
url?: string;
|
|
1138
1139
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.159.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.159.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.159.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.159.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|