@granular-software/sdk 0.4.66 → 0.4.67

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.
@@ -608,7 +608,7 @@ interface GranularOptions {
608
608
  apiKey?: string;
609
609
  /** Application/session JWT (for user-context auth; use from simulator or getAccessToken) */
610
610
  token?: string;
611
- /** Optional provider used to refresh JWT before WebSocket (re)connect attempts */
611
+ /** Optional provider used to refresh JWT before authenticated requests and WebSocket (re)connect attempts */
612
612
  tokenProvider?: AccessTokenProvider;
613
613
  /** Optional API URL (for on-prem or testing) */
614
614
  apiUrl?: string;
@@ -2745,6 +2745,8 @@ interface ManifestPropertySpec {
2745
2745
  create?: string;
2746
2746
  has?: Record<string, ManifestPropertySpec>;
2747
2747
  type?: string;
2748
+ /** Temporal representation for date fields: civil date or instant. */
2749
+ format?: "date" | "date-time";
2748
2750
  description?: string;
2749
2751
  required?: boolean;
2750
2752
  note?: string | string[];
@@ -608,7 +608,7 @@ interface GranularOptions {
608
608
  apiKey?: string;
609
609
  /** Application/session JWT (for user-context auth; use from simulator or getAccessToken) */
610
610
  token?: string;
611
- /** Optional provider used to refresh JWT before WebSocket (re)connect attempts */
611
+ /** Optional provider used to refresh JWT before authenticated requests and WebSocket (re)connect attempts */
612
612
  tokenProvider?: AccessTokenProvider;
613
613
  /** Optional API URL (for on-prem or testing) */
614
614
  apiUrl?: string;
@@ -2745,6 +2745,8 @@ interface ManifestPropertySpec {
2745
2745
  create?: string;
2746
2746
  has?: Record<string, ManifestPropertySpec>;
2747
2747
  type?: string;
2748
+ /** Temporal representation for date fields: civil date or instant. */
2749
+ format?: "date" | "date-time";
2748
2750
  description?: string;
2749
2751
  required?: boolean;
2750
2752
  note?: string | string[];
package/dist/spend.d.mts CHANGED
@@ -1 +1 @@
1
- export { aC as GranularSpendContext, aD as OpenAIUsageSpendEvent, aE as RecordOpenAIUsageSpendOptions, aF as RecordOpenAIUsageSpendResult, aH as buildOpenAISpendEventId, aI as recordOpenAIUsageSpend, aG as toGranularHttpBase } from './spend-x-lpt8n1.mjs';
1
+ export { aC as GranularSpendContext, aD as OpenAIUsageSpendEvent, aE as RecordOpenAIUsageSpendOptions, aF as RecordOpenAIUsageSpendResult, aH as buildOpenAISpendEventId, aI as recordOpenAIUsageSpend, aG as toGranularHttpBase } from './spend-D4r0SA-H.mjs';
package/dist/spend.d.ts CHANGED
@@ -1 +1 @@
1
- export { aC as GranularSpendContext, aD as OpenAIUsageSpendEvent, aE as RecordOpenAIUsageSpendOptions, aF as RecordOpenAIUsageSpendResult, aH as buildOpenAISpendEventId, aI as recordOpenAIUsageSpend, aG as toGranularHttpBase } from './spend-x-lpt8n1.js';
1
+ export { aC as GranularSpendContext, aD as OpenAIUsageSpendEvent, aE as RecordOpenAIUsageSpendOptions, aF as RecordOpenAIUsageSpendResult, aH as buildOpenAISpendEventId, aI as recordOpenAIUsageSpend, aG as toGranularHttpBase } from './spend-D4r0SA-H.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@granular-software/sdk",
3
- "version": "0.4.66",
3
+ "version": "0.4.67",
4
4
  "description": "TypeScript SDK and CLI for Granular - define, build, and deploy AI sandboxes",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",