@statelyai/sdk 0.20.1 → 0.20.3

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/sync.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { r as createStatelyClient } from "./studio-DHGspwII.mjs";
2
- import { f as normalizeMachineProfile, h as xstateSourceToConfig, i as INLINE_EXPRESSION_DIRECTIVE_FIELDS, m as serializeJS, n as getStatelyPragma, r as upsertStatelyPragma, s as detectXStateSourceProfile, t as findStatelyPragmaAttachments, u as graphToXStateTS } from "./statelyPragma-CIzsR_Sx.mjs";
2
+ import { f as normalizeMachineProfile, h as xstateSourceToConfig, i as INLINE_EXPRESSION_DIRECTIVE_FIELDS, m as serializeJS, n as getStatelyPragma, r as upsertStatelyPragma, s as detectXStateSourceProfile, t as findStatelyPragmaAttachments, u as graphToXStateTS } from "./statelyPragma-Cesya0Pk.mjs";
3
3
  import { fromStudioMachine, toStudioMachine } from "./graph.mjs";
4
4
  import * as ts$1 from "typescript";
5
5
  import ts from "typescript";
@@ -328,7 +328,7 @@ function createWebSocketTransport(options) {
328
328
 
329
329
  //#endregion
330
330
  //#region src/version.ts
331
- const SDK_VERSION = "0.20.1";
331
+ const SDK_VERSION = "0.20.3";
332
332
  function inspectionRuntime() {
333
333
  if (typeof window !== "undefined") return "browser";
334
334
  if (typeof process !== "undefined" && process.versions?.node) return "node";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statelyai/sdk",
3
- "version": "0.20.1",
3
+ "version": "0.20.3",
4
4
  "license": "MIT",
5
5
  "bin": {
6
6
  "stately-sdk": "./dist/bin.mjs"
@@ -81,7 +81,7 @@
81
81
  "./schemas/xstate-json.schema.json": "./schemas/xstate.schema.json"
82
82
  },
83
83
  "dependencies": {
84
- "@statelyai/graph": "^1.0.0",
84
+ "@statelyai/graph": "^2.1.0",
85
85
  "esbuild": "^0.27.0",
86
86
  "typescript": "^5.9.3",
87
87
  "ws": "^8.19.0",
@@ -93,8 +93,8 @@
93
93
  "jsdom": "^27.4.0",
94
94
  "tsdown": "0.21.0-beta.2",
95
95
  "vitest": "^3.2.4",
96
- "@statelyai/api-contract": "0.1.1",
97
- "@statelyai/graph-tools": "0.0.9"
96
+ "@statelyai/api-contract": "0.3.4",
97
+ "@statelyai/graph-tools": "0.1.1"
98
98
  },
99
99
  "engines": {
100
100
  "node": ">=22.4"