Skip to content

@odatano/nightgate 0.36.0

Choose a tag to compare

@maxalexweber1 maxalexweber1 released this 24 Oct 11:19
· 39 commits to main since this release
6cb43f1

@odatano/nightgate 0.36.0

Proof inputs as typed OData parameters. BREAKING for callers of the proof actions: the *Json string parameters are gone, the same values go as arrays and objects. No schema change, no circuit change.

  • issueFieldPredicateAttestation, issueFieldEqualityAttestation, issueFieldMembershipAttestation: siblings: array of Hex64, dirs: array of Boolean; membership takes allowedValues: array of String or setRoot + setSiblings + setDirs.
  • issueFieldPredicateAttestationBatch: claims: array of BatchClaim; the response claims is an array of IssuedClaim.
  • issueDocumentIntegrityAttestation, issueDocumentDiffAttestation: schema: array of SchemaSlot, openingA / openingB: DocumentOpening.
  • prepareDocumentProof(document: Map, proofFields: array of ProofField); fields, emptyFields, schema, leaves, opening come back as arrays and an object.
  • prepareMembershipSet(allowedValues: array of String); the path comes back as setSiblings / setDirs, empty without value / valueDigest.
  • Types ProofField, PreparedField, SchemaSlot, SlotOpening, DocumentOpening, BatchClaim, IssuedClaim in $metadata; CAP answers 400 before the handler for a wrong shape, a value outside an enum or range, a malformed hash inside a structured type and an unknown parameter name.
  • deployContract, submitContractCall, submitContractCallBatch: initialPrivateState: Map; postSwapOffer: tags: array of String.
  • predicate on issueFieldPredicateAttestation and verifyPredicateState, kind on purgeExpired: enums in $metadata, values unchanged.
  • submitContractCallBatch.calls, args, anchorDocument.metadata and attestAgentOutput.envelopeJson stay JSON text.
  • @odatano/nightgate-mcp 0.16.0 sends the new shapes. The CHANGELOG carries the before/after table.

Full Changelog: v0.35.2...v0.36.0