github codama-idl/codama @codama/node-types@2.0.0-rc.1

latest releases: codama@2.0.0-rc.1, @codama/nodes-from-anchor@2.0.0-rc.1, @codama/visitors@2.0.0-rc.1...
pre-releaseone hour ago

Patch Changes

  • #1273 141998e Thanks @lorisleiva! - Emit node attributes in the declaration order of the spec, followed by base attributes, instead of regrouping them into data and child attributes. Encoded IDLs change order only, e.g. the docs of a pdaNode now come before its programId, and readers must not depend on attribute order. Following @codama/spec@2.0.0-rc.4, link nodes now put their identifier before their parent link, and the type parameters of ValueLabelDisplayNode follow its new attribute order (TLabel before TValue).

    // Before
    { "kind": "pdaNode", "identifier": "vault", "programId": "…", "docs": "The vault.", "seeds": […] }
    
    // After
    { "kind": "pdaNode", "identifier": "vault", "docs": "The vault.", "programId": "…", "seeds": […] }

Don't miss a new codama release

NewReleases is sending notifications on new releases.