@trayai/helix-sdk 0.85.0 → 0.86.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.
@@ -1,4 +1,4 @@
1
- import { a as Environment } from '../env-schema-CMAM3FrY.js';
1
+ import { E as Environment } from '../env-schema-DkgTG5b0.js';
2
2
  import 'zod';
3
3
 
4
4
  type BrokerEnvironment = Environment;
@@ -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 { ENVIRONMENT_VALUES as E, type Environment as a, environmentSchema as e };
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 { d as FunctionHandler, b as DefineFunctionOptions, c as DefineScheduleConfig, e as ScheduleDefinition, T as TrayContext } from './types-BKsomkJf.js';
4
- export { D as DbCallParameters, a as DbClient, F as FileSystemClient, H as HttpClient, K as KeyValueStore, L as Logger, S as ScheduleContext, f as ScheduleHandler, g as ScheduleTrigger, h as SqlBuilder, U as UnvalidatedInput } from './types-BKsomkJf.js';
5
- import { T as TrayConfig, L as LoadedTrayConfig, b as WatchErrorPhase } from './sdk-config-DrgARqBz.js';
6
- export { P as ProvisionedTrayConfig, a as SdkRuntimeConfig, U as UnprovisionedTrayConfig, W as WORKSPACE_ID_REQUIRED_CODE, c as WorkspaceIdRequiredError, g as getSdkConfig, l as loadConfig, d as loadedTrayConfigSchema, p as projectIdSchema, r as requireWorkspaceId, e as resolveConfigFile, w as workspaceIdSchema } from './sdk-config-DrgARqBz.js';
7
- export { E as ENVIRONMENT_VALUES, a as Environment, e as environmentSchema } from './env-schema-CMAM3FrY.js';
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
 
@@ -1,5 +1,5 @@
1
- import { L as LoadedTrayConfig } from '../sdk-config-DrgARqBz.js';
2
- export { S as SdkConfigInput, s as setSdkConfig } from '../sdk-config-DrgARqBz.js';
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 SdkConfigInput as S, type TrayConfig as T, type UnprovisionedTrayConfig as U, WORKSPACE_ID_REQUIRED_CODE as W, type SdkRuntimeConfig as a, type WatchErrorPhase as b, type WorkspaceIdRequiredError as c, loadedTrayConfigSchema as d, resolveConfigFile as e, getSdkConfig as g, loadConfig as l, projectIdSchema as p, requireWorkspaceId as r, setSdkConfig as s, workspaceIdSchema as w };
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 };
@@ -1,4 +1,4 @@
1
- import { T as TrayContext } from '../types-BKsomkJf.js';
1
+ import { T as TrayContext } from '../types-D-yJbYWp.js';
2
2
  import 'h3';
3
3
  import 'ky';
4
4
  import 'zod';
@@ -220,4 +220,4 @@ interface ScheduleDefinition {
220
220
  handler: ScheduleHandler;
221
221
  }
222
222
 
223
- export type { DbCallParameters as D, FileSystemClient as F, HttpClient as H, KeyValueStore as K, Logger as L, ScheduleContext as S, TrayContext as T, UnvalidatedInput as U, DbClient as a, DefineFunctionOptions as b, DefineScheduleConfig as c, FunctionHandler as d, ScheduleDefinition as e, ScheduleHandler as f, ScheduleTrigger as g, SqlBuilder as h };
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.85.0",
3
+ "version": "0.86.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.7.1",
49
+ "@opentelemetry/resources": "^2.10.0",
50
50
  "@opentelemetry/sdk-logs": "0.220.0",
51
- "@opentelemetry/sdk-trace-base": "^2.7.1",
52
- "@opentelemetry/sdk-trace-node": "^2.7.1",
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.8.1",
56
+ "ky": "^1.14.3",
57
57
  "unstorage": "^1.17.5",
58
- "zod": "^3.24.4"
58
+ "zod": "^3.25.76"
59
59
  },
60
60
  "devDependencies": {
61
- "@types/node": "^18.0.0",
62
- "eslint": "^9.39.4",
63
- "tsup": "^8.4.0",
64
- "typescript": "^5.7.0",
65
- "typescript-eslint": "^8.60.0",
66
- "vitest": "^4.1.4"
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",