Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions sdks/typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to `@nightmoose/contractgate-sdk`.

## Unreleased
## 0.4.2 — 2026-11-26

- `Contract.fromYaml` accepts ODCS v3.x documents (no `ontology`): fields are
read from `schema[0].properties[]` (`logicalType`, or `physicalType` when it
Expand All @@ -12,8 +12,7 @@ All notable changes to `@nightmoose/contractgate-sdk`.
- `ontology` is optional in native contracts.
- ODCS `date` and `timestamp` read as strings, and `unique` / quality rules are
not checked locally (this SDK has no date type or quality rules).
- Needs a version bump (0.4.2, to line up with DataContractGate 0.4.2) before
the next npm publish.
- Version aligned with DataContractGate 0.4.2.

## 0.4.1 — 2026-10-28

Expand Down
4 changes: 2 additions & 2 deletions sdks/typescript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdks/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nightmoose/contractgate-sdk",
"version": "0.4.1",
"version": "0.4.2",
"description": "Official TypeScript SDK for DataContractGate — HTTP client + local validator",
"license": "MIT",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion sdks/typescript/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import type {
} from './types.js';

const DEFAULT_TIMEOUT_MS = 30_000;
const SDK_VERSION = '0.4.1';
const SDK_VERSION = '0.4.2';
const USER_AGENT = `contractgate-typescript/${SDK_VERSION}`;

// ---------------------------------------------------------------------------
Expand Down
Loading