@onkernel/sdk 0.6.1 → 0.6.3
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 +31 -0
- package/README.md +2 -3
- package/client.d.mts +3 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -2
- package/client.d.ts.map +1 -1
- package/client.js +1 -0
- package/client.js.map +1 -1
- package/client.mjs +1 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps/apps.d.mts +7 -1
- package/resources/apps/apps.d.mts.map +1 -1
- package/resources/apps/apps.d.ts +7 -1
- package/resources/apps/apps.d.ts.map +1 -1
- package/resources/apps/apps.js.map +1 -1
- package/resources/apps/apps.mjs.map +1 -1
- package/resources/apps/deployments.d.mts +4 -2
- package/resources/apps/deployments.d.mts.map +1 -1
- package/resources/apps/deployments.d.ts +4 -2
- package/resources/apps/deployments.d.ts.map +1 -1
- package/resources/browsers.d.mts +3 -5
- package/resources/browsers.d.mts.map +1 -1
- package/resources/browsers.d.ts +3 -5
- package/resources/browsers.d.ts.map +1 -1
- package/resources/browsers.js +2 -4
- package/resources/browsers.js.map +1 -1
- package/resources/browsers.mjs +2 -4
- package/resources/browsers.mjs.map +1 -1
- package/resources/deployments.d.mts +24 -8
- package/resources/deployments.d.mts.map +1 -1
- package/resources/deployments.d.ts +24 -8
- package/resources/deployments.d.ts.map +1 -1
- package/resources/deployments.js +2 -1
- package/resources/deployments.js.map +1 -1
- package/resources/deployments.mjs +2 -1
- package/resources/deployments.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 +1 -1
- package/resources/invocations.d.mts.map +1 -1
- package/resources/invocations.d.ts +1 -1
- package/resources/invocations.d.ts.map +1 -1
- package/resources/shared.d.mts +13 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +13 -0
- package/resources/shared.d.ts.map +1 -1
- package/src/client.ts +4 -0
- package/src/resources/apps/apps.ts +6 -1
- package/src/resources/apps/deployments.ts +3 -2
- package/src/resources/browsers.ts +6 -5
- package/src/resources/deployments.ts +21 -7
- package/src/resources/index.ts +1 -0
- package/src/resources/invocations.ts +5 -1
- package/src/resources/shared.ts +15 -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
|
@@ -283,7 +283,11 @@ export interface InvocationUpdateResponse {
|
|
|
283
283
|
/**
|
|
284
284
|
* Union type representing any invocation event.
|
|
285
285
|
*/
|
|
286
|
-
export type InvocationFollowResponse =
|
|
286
|
+
export type InvocationFollowResponse =
|
|
287
|
+
| Shared.LogEvent
|
|
288
|
+
| InvocationStateEvent
|
|
289
|
+
| Shared.ErrorEvent
|
|
290
|
+
| Shared.HeartbeatEvent;
|
|
287
291
|
|
|
288
292
|
export interface InvocationCreateParams {
|
|
289
293
|
/**
|
package/src/resources/shared.ts
CHANGED
|
@@ -48,6 +48,21 @@ export interface ErrorModel {
|
|
|
48
48
|
inner_error?: ErrorDetail;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
+
/**
|
|
52
|
+
* Heartbeat event sent periodically to keep SSE connection alive.
|
|
53
|
+
*/
|
|
54
|
+
export interface HeartbeatEvent {
|
|
55
|
+
/**
|
|
56
|
+
* Event type identifier (always "sse_heartbeat").
|
|
57
|
+
*/
|
|
58
|
+
event: 'sse_heartbeat';
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Time the heartbeat was sent.
|
|
62
|
+
*/
|
|
63
|
+
timestamp: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
51
66
|
/**
|
|
52
67
|
* A log entry from the application.
|
|
53
68
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.6.
|
|
1
|
+
export const VERSION = '0.6.3'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.6.
|
|
1
|
+
export declare const VERSION = "0.6.3";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.6.
|
|
1
|
+
export declare const VERSION = "0.6.3";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.6.
|
|
1
|
+
export const VERSION = '0.6.3'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|