Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / schemaVersion

Variable: schemaVersion ​

const schemaVersion: "0cede2cde5b96d839e982cc3c69fa3beed5490fc8515fac917430f40feb3c22e"

Defined in: packages/ts-sdk/src/generated/version.ts:16

SHA-256 marker for generated SDK wire contracts.

Compare this value with the simulator server when you need deployment checks that prevent mismatched SDK and server artifacts.

Example:

ts
import { schemaVersion } from '@my-swu/simulator-client'

// Compare this with the server schema marker in deployment checks.
console.log(`SDK schema version: ${schemaVersion}`)

Example ​

ts
import { schemaVersion } from '@my-swu/simulator-client'

console.log(`SDK schema ${schemaVersion}`)

See ​

https://simulator-sdk.my-swu.com/guide/versioning

Released under the MIT License.