@ontemper/sdk 0.3.5 → 0.3.6
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/dist/Manifest.d.ts +1 -1
- package/dist/Manifest.js +1 -1
- package/dist/cli.js +1 -1
- package/package.json +2 -2
package/dist/Manifest.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpApi, type HttpApiGroup } from 'effect/unstable/httpapi';
|
|
2
2
|
import { type WorkflowManifest } from './Contract/Manifest.js';
|
|
3
|
-
export declare const SDK_VERSION = "0.3.
|
|
3
|
+
export declare const SDK_VERSION = "0.3.6";
|
|
4
4
|
export declare const RUNTIME_API_VERSION = 1;
|
|
5
5
|
/** The route the SDK serves for platform probes; an API declaring `GET` on it collides with it on every request. */
|
|
6
6
|
export declare const HEALTHCHECK_PATH = "/healthcheck";
|
package/dist/Manifest.js
CHANGED
|
@@ -5,7 +5,7 @@ import { declarationOf } from './Resource.js';
|
|
|
5
5
|
import { Trigger } from './Trigger.js';
|
|
6
6
|
const decodeTrigger = Schema.decodeUnknownSync(TriggerMetadata, { onExcessProperty: 'error' });
|
|
7
7
|
const identityOf = (resource) => `${resource.kind}:${resource.kind === 'resourceType' ? resource.type : resource.key}`;
|
|
8
|
-
export const SDK_VERSION = '0.3.
|
|
8
|
+
export const SDK_VERSION = '0.3.6';
|
|
9
9
|
export const RUNTIME_API_VERSION = 1;
|
|
10
10
|
/** The route the SDK serves for platform probes; an API declaring `GET` on it collides with it on every request. */
|
|
11
11
|
export const HEALTHCHECK_PATH = '/healthcheck';
|
package/dist/cli.js
CHANGED
|
@@ -121,7 +121,7 @@ const LOCAL_DEADLINE_MS = 115_000;
|
|
|
121
121
|
/** The gateway's per-Run handler budget in milliseconds (ADR-0047); the Firecracker guest reads the same header. */
|
|
122
122
|
const RUN_BUDGET_HEADER = 'x-temper-run-budget-ms';
|
|
123
123
|
/** The platform's hard cap on one Run attempt. */
|
|
124
|
-
const MAX_RUN_BUDGET_MS =
|
|
124
|
+
const MAX_RUN_BUDGET_MS = 3_600_000;
|
|
125
125
|
/** The budget a platform request carries, else the 115 s synchronous budget. */
|
|
126
126
|
const runBudgetMilliseconds = (value) => {
|
|
127
127
|
if (value === null || !/^\d+$/.test(value))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ontemper/sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"description": "Effect workflow SDK for Temper.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"license": "MIT",
|
|
53
53
|
"sideEffects": false,
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "7970c576c3e757f3ddd641f1da51aaec1ac8ab53",
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "tsc -p tsconfig.json",
|
|
57
57
|
"test": "vitest run",
|