@onkernel/sdk 0.72.0 → 0.74.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 +17 -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/audit-logs.d.mts +54 -1
- package/resources/audit-logs.d.mts.map +1 -1
- package/resources/audit-logs.d.ts +54 -1
- package/resources/audit-logs.d.ts.map +1 -1
- package/resources/audit-logs.js +14 -0
- package/resources/audit-logs.js.map +1 -1
- package/resources/audit-logs.mjs +14 -0
- package/resources/audit-logs.mjs.map +1 -1
- package/resources/browser-pools.d.mts +32 -32
- package/resources/browser-pools.d.ts +32 -32
- package/resources/browsers/browsers.d.mts +40 -40
- package/resources/browsers/browsers.d.ts +40 -40
- package/resources/browsers/telemetry.d.mts +13 -4
- package/resources/browsers/telemetry.d.mts.map +1 -1
- package/resources/browsers/telemetry.d.ts +13 -4
- package/resources/browsers/telemetry.d.ts.map +1 -1
- package/resources/browsers/telemetry.js +4 -4
- package/resources/browsers/telemetry.mjs +4 -4
- 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 +8 -8
- package/resources/invocations.d.ts +8 -8
- package/resources/shared.d.mts +8 -8
- package/resources/shared.d.ts +8 -8
- package/src/client.ts +2 -0
- package/src/resources/audit-logs.ts +74 -0
- package/src/resources/browser-pools.ts +32 -32
- package/src/resources/browsers/browsers.ts +40 -40
- package/src/resources/browsers/telemetry.ts +14 -4
- package/src/resources/index.ts +1 -0
- package/src/resources/invocations.ts +8 -8
- package/src/resources/shared.ts +8 -8
- 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
|
@@ -14,10 +14,10 @@ import { path } from '../../internal/utils/path';
|
|
|
14
14
|
*/
|
|
15
15
|
export class Telemetry extends APIResource {
|
|
16
16
|
/**
|
|
17
|
-
* Reads a page of telemetry events for the browser session
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
17
|
+
* Reads a page of telemetry events for the browser session. To page through
|
|
18
|
+
* results, pass the X-Next-Offset value from the previous response as offset and
|
|
19
|
+
* repeat while X-Has-More is true. Returns an empty list when telemetry data is
|
|
20
|
+
* unavailable.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* ```ts
|
|
@@ -2076,6 +2076,16 @@ export interface TelemetryEventsParams extends OffsetPaginationParams {
|
|
|
2076
2076
|
| 'monitor'
|
|
2077
2077
|
>;
|
|
2078
2078
|
|
|
2079
|
+
/**
|
|
2080
|
+
* Read direction. asc (default) reads oldest first, starting from since or the
|
|
2081
|
+
* offset cursor. desc reads newest first: each request returns one page of up to
|
|
2082
|
+
* limit records ending at the offset cursor (or until, or the newest archived
|
|
2083
|
+
* event); combining desc with since is rejected with a 400. In either direction
|
|
2084
|
+
* the category filter applies within the page, so a filtered page may be empty
|
|
2085
|
+
* while X-Has-More is true.
|
|
2086
|
+
*/
|
|
2087
|
+
order?: string;
|
|
2088
|
+
|
|
2079
2089
|
/**
|
|
2080
2090
|
* Start of the window: an RFC-3339 timestamp, or a duration like 5m meaning that
|
|
2081
2091
|
* long ago. Defaults to 5m. Ignored when offset is set.
|
package/src/resources/index.ts
CHANGED
|
@@ -538,14 +538,14 @@ export namespace InvocationListBrowsersResponse {
|
|
|
538
538
|
* image defaults apply (1920x1080@25). For GPU images, the default is
|
|
539
539
|
* 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
|
|
540
540
|
* Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
|
|
541
|
-
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For
|
|
542
|
-
* presets use one of these resolutions with refresh rates
|
|
543
|
-
* 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
|
|
544
|
-
* 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
|
|
545
|
-
* Viewports outside this list may exhibit unstable live view
|
|
546
|
-
* behavior. If refresh_rate is not provided, it will be automatically
|
|
547
|
-
* based on the resolution (higher resolutions use lower refresh rates
|
|
548
|
-
* bandwidth reasonable).
|
|
541
|
+
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
|
|
542
|
+
* GPU images, recommended presets use one of these resolutions with refresh rates
|
|
543
|
+
* 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
|
|
544
|
+
* 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
|
|
545
|
+
* 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
|
|
546
|
+
* or recording behavior. If refresh_rate is not provided, it will be automatically
|
|
547
|
+
* determined based on the resolution (higher resolutions use lower refresh rates
|
|
548
|
+
* to keep bandwidth reasonable).
|
|
549
549
|
*/
|
|
550
550
|
viewport?: Shared.BrowserViewport;
|
|
551
551
|
}
|
package/src/resources/shared.ts
CHANGED
|
@@ -68,14 +68,14 @@ export interface BrowserProfile {
|
|
|
68
68
|
* image defaults apply (1920x1080@25). For GPU images, the default is
|
|
69
69
|
* 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
|
|
70
70
|
* Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
|
|
71
|
-
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For
|
|
72
|
-
* presets use one of these resolutions with refresh rates
|
|
73
|
-
* 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
|
|
74
|
-
* 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
|
|
75
|
-
* Viewports outside this list may exhibit unstable live view
|
|
76
|
-
* behavior. If refresh_rate is not provided, it will be automatically
|
|
77
|
-
* based on the resolution (higher resolutions use lower refresh rates
|
|
78
|
-
* bandwidth reasonable).
|
|
71
|
+
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
|
|
72
|
+
* GPU images, recommended presets use one of these resolutions with refresh rates
|
|
73
|
+
* 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
|
|
74
|
+
* 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
|
|
75
|
+
* 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
|
|
76
|
+
* or recording behavior. If refresh_rate is not provided, it will be automatically
|
|
77
|
+
* determined based on the resolution (higher resolutions use lower refresh rates
|
|
78
|
+
* to keep bandwidth reasonable).
|
|
79
79
|
*/
|
|
80
80
|
export interface BrowserViewport {
|
|
81
81
|
/**
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.74.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.74.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.74.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.74.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|