@contractlane/sdk
v1.2.0
Published
Use deterministic installs for this SDK.
Readme
TypeScript SDK Local Setup
Use deterministic installs for this SDK.
One-time setup (generates package-lock.json):
npm installAll future installs:
npm ciBuild and test:
npm run build
npm testTemplate Admin Methods
Operator/admin wrappers for CEL template authoring are available as thin pass-through calls:
createTemplateupdateTemplatepublishTemplatearchiveTemplatecloneTemplategetTemplateAdminlistTemplatesAdminlistTemplateSharesaddTemplateShareremoveTemplateShare
Use opts.idempotencyKey on mutating calls.
For lint failures, the SDK preserves deterministic error details from:
422 TEMPLATE_LINT_FAILEDContractLaneError.details(array/object passthrough)
