Hosted onhyper.mediavia theHypermedia Protocol

The Seed TypeScript SDK can create documents without asking the daemon to sign them.

Flow:

  1. Build document operations from markdown/blocks.

  2. Create an unsigned Change blob with createChangeOps.

  3. Sign that change with createChange.

  4. Create and sign the document Ref with createVersionRef.

  5. Publish the blobs with PublishBlobs.

For cross-account publishing, the publish payload should include:

Capability blob + Change blob + Ref blob

This is important because the destination write permission is proven by the capability embedded in the signed Ref. The daemon only stores/indexes the blobs; it does not need to pre-authorize the write with CreateDocumentChange.

This is the same model used by the CLI for document creation.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime