@granular-software/sdk 0.4.57 → 0.4.59

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/spend.d.mts CHANGED
@@ -1 +1 @@
1
- export { G as GranularSpendContext, l as OpenAIUsageSpendEvent, m as RecordOpenAIUsageSpendOptions, o as RecordOpenAIUsageSpendResult, p as buildOpenAISpendEventId, r as recordOpenAIUsageSpend, t as toGranularHttpBase } from './spend-DpRRCrAr.mjs';
1
+ export { at as GranularSpendContext, au as OpenAIUsageSpendEvent, av as RecordOpenAIUsageSpendOptions, aw as RecordOpenAIUsageSpendResult, ay as buildOpenAISpendEventId, az as recordOpenAIUsageSpend, ax as toGranularHttpBase } from './spend-3DNM1u9N.mjs';
package/dist/spend.d.ts CHANGED
@@ -1 +1 @@
1
- export { G as GranularSpendContext, l as OpenAIUsageSpendEvent, m as RecordOpenAIUsageSpendOptions, o as RecordOpenAIUsageSpendResult, p as buildOpenAISpendEventId, r as recordOpenAIUsageSpend, t as toGranularHttpBase } from './spend-DpRRCrAr.js';
1
+ export { at as GranularSpendContext, au as OpenAIUsageSpendEvent, av as RecordOpenAIUsageSpendOptions, aw as RecordOpenAIUsageSpendResult, ay as buildOpenAISpendEventId, az as recordOpenAIUsageSpend, ax as toGranularHttpBase } from './spend-3DNM1u9N.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@granular-software/sdk",
3
- "version": "0.4.57",
3
+ "version": "0.4.59",
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",
@@ -40,7 +40,10 @@
40
40
  "scripts": {
41
41
  "build": "tsup",
42
42
  "dev": "tsup --watch",
43
- "test": "npm run build && node --test test/**/*.test.mjs",
43
+ "test": "npm run test:source && npm run test:runtime",
44
+ "test:source": "bun test src",
45
+ "test:runtime": "npm run build && node --test test/**/*.test.mjs",
46
+ "test:feed-contract": "bun test src/feed-chronology.contract.test.ts",
44
47
  "typecheck": "tsc --noEmit",
45
48
  "clean": "rm -rf dist",
46
49
  "prepublishOnly": "npm run build",