@my-swu/simulator-client / schemaVersion
Variable: schemaVersion
constschemaVersion:1
Defined in: packages/ts-sdk/src/generated/schemas.ts:16
Numeric schema 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}`)