@trayai/helix-sdk 0.85.0 → 0.87.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/dist/broker/index.d.ts +1 -1
- package/dist/{env-schema-CMAM3FrY.d.ts → env-schema-DkgTG5b0.d.ts} +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/internal/index.d.ts +2 -2
- package/dist/{sdk-config-DrgARqBz.d.ts → sdk-config-_xIe9XvP.d.ts} +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/{types-BKsomkJf.d.ts → types-D-yJbYWp.d.ts} +1 -1
- package/package.json +12 -12
package/dist/broker/index.d.ts
CHANGED
|
@@ -6,4 +6,4 @@ declare const ENVIRONMENT_VALUES: readonly ["production"];
|
|
|
6
6
|
type Environment = string;
|
|
7
7
|
declare const environmentSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { type Environment as E, ENVIRONMENT_VALUES as a, environmentSchema as e };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as h3 from 'h3';
|
|
2
2
|
import { ZodType } from 'zod';
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import { T as TrayConfig, L as LoadedTrayConfig,
|
|
6
|
-
export { P as ProvisionedTrayConfig,
|
|
7
|
-
export {
|
|
3
|
+
import { F as FunctionHandler, D as DefineFunctionOptions, a as DefineScheduleConfig, S as ScheduleDefinition, T as TrayContext } from './types-D-yJbYWp.js';
|
|
4
|
+
export { b as DbCallParameters, c as DbClient, d as FileSystemClient, H as HttpClient, K as KeyValueStore, L as Logger, e as ScheduleContext, f as ScheduleHandler, g as ScheduleTrigger, h as SqlBuilder, U as UnvalidatedInput } from './types-D-yJbYWp.js';
|
|
5
|
+
import { T as TrayConfig, L as LoadedTrayConfig, W as WatchErrorPhase } from './sdk-config-_xIe9XvP.js';
|
|
6
|
+
export { P as ProvisionedTrayConfig, S as SdkRuntimeConfig, U as UnprovisionedTrayConfig, a as WORKSPACE_ID_REQUIRED_CODE, b as WorkspaceIdRequiredError, g as getSdkConfig, l as loadConfig, c as loadedTrayConfigSchema, p as projectIdSchema, r as requireWorkspaceId, d as resolveConfigFile, w as workspaceIdSchema } from './sdk-config-_xIe9XvP.js';
|
|
7
|
+
export { a as ENVIRONMENT_VALUES, E as Environment, e as environmentSchema } from './env-schema-DkgTG5b0.js';
|
|
8
8
|
import 'ky';
|
|
9
9
|
import 'unstorage';
|
|
10
10
|
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LoadedTrayConfig } from '../sdk-config-
|
|
2
|
-
export {
|
|
1
|
+
import { L as LoadedTrayConfig } from '../sdk-config-_xIe9XvP.js';
|
|
2
|
+
export { e as SdkConfigInput, s as setSdkConfig } from '../sdk-config-_xIe9XvP.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
|
|
5
5
|
/** BroadcastChannel name for parent→worker config updates. */
|
|
@@ -181,4 +181,4 @@ interface SdkConfigInput extends Partial<SdkRuntimeConfig>, BrokerSecrets {
|
|
|
181
181
|
declare function setSdkConfig(options: SdkConfigInput): void;
|
|
182
182
|
declare function getSdkConfig(): Readonly<SdkRuntimeConfig>;
|
|
183
183
|
|
|
184
|
-
export { type LoadedTrayConfig as L, type ProvisionedTrayConfig as P, type
|
|
184
|
+
export { type LoadedTrayConfig as L, type ProvisionedTrayConfig as P, type SdkRuntimeConfig as S, type TrayConfig as T, type UnprovisionedTrayConfig as U, type WatchErrorPhase as W, WORKSPACE_ID_REQUIRED_CODE as a, type WorkspaceIdRequiredError as b, loadedTrayConfigSchema as c, resolveConfigFile as d, type SdkConfigInput as e, getSdkConfig as g, loadConfig as l, projectIdSchema as p, requireWorkspaceId as r, setSdkConfig as s, workspaceIdSchema as w };
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -220,4 +220,4 @@ interface ScheduleDefinition {
|
|
|
220
220
|
handler: ScheduleHandler;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
export type {
|
|
223
|
+
export type { DefineFunctionOptions as D, FunctionHandler as F, HttpClient as H, KeyValueStore as K, Logger as L, ScheduleDefinition as S, TrayContext as T, UnvalidatedInput as U, DefineScheduleConfig as a, DbCallParameters as b, DbClient as c, FileSystemClient as d, ScheduleContext as e, ScheduleHandler as f, ScheduleTrigger as g, SqlBuilder as h };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trayai/helix-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.87.0",
|
|
4
4
|
"description": "Helix SDK runtime — defineFunction, ctx, defineConfig, authed HTTP",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "trayio",
|
|
@@ -46,24 +46,24 @@
|
|
|
46
46
|
"@opentelemetry/core": ">=2.8.0 <3",
|
|
47
47
|
"@opentelemetry/exporter-logs-otlp-proto": "0.220.0",
|
|
48
48
|
"@opentelemetry/exporter-trace-otlp-proto": "0.220.0",
|
|
49
|
-
"@opentelemetry/resources": "^2.
|
|
49
|
+
"@opentelemetry/resources": "^2.10.0",
|
|
50
50
|
"@opentelemetry/sdk-logs": "0.220.0",
|
|
51
|
-
"@opentelemetry/sdk-trace-base": "^2.
|
|
52
|
-
"@opentelemetry/sdk-trace-node": "^2.
|
|
51
|
+
"@opentelemetry/sdk-trace-base": "^2.10.0",
|
|
52
|
+
"@opentelemetry/sdk-trace-node": "^2.10.0",
|
|
53
53
|
"c12": "^3.3.4",
|
|
54
54
|
"chokidar": "^5.0.0",
|
|
55
55
|
"h3": "^1.15.11",
|
|
56
|
-
"ky": "^1.
|
|
56
|
+
"ky": "^1.14.3",
|
|
57
57
|
"unstorage": "^1.17.5",
|
|
58
|
-
"zod": "^3.
|
|
58
|
+
"zod": "^3.25.76"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@types/node": "^18.
|
|
62
|
-
"eslint": "^9.39.
|
|
63
|
-
"tsup": "^8.
|
|
64
|
-
"typescript": "^5.
|
|
65
|
-
"typescript-eslint": "^8.
|
|
66
|
-
"vitest": "^4.1.
|
|
61
|
+
"@types/node": "^18.19.130",
|
|
62
|
+
"eslint": "^9.39.5",
|
|
63
|
+
"tsup": "^8.5.1",
|
|
64
|
+
"typescript": "^5.9.3",
|
|
65
|
+
"typescript-eslint": "^8.65.0",
|
|
66
|
+
"vitest": "^4.1.10"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build": "tsup",
|