Versions in this module Expand all Collapse all v0 v0.2.0 Oct 28, 2024 Changes in this version + type AnyReceipt Receipt[ipld.Node, ipld.Node] + func Issue[O, X ipld.Builder](issuer ucan.Signer, out result.Result[O, X], ran ran.Ran, opts ...Option) (AnyReceipt, error) + type Option func(cfg *receiptConfig) error + func WithFork(forks ...fx.Effect) Option + func WithJoin(join fx.Effect) Option + func WithMeta(meta map[string]any) Option + func WithProofs(prf delegation.Proofs) Option + type Receipt interface + Fx func() fx.Effects + Issuer func() ucan.Principal + Meta func() map[string]any + Out func() result.Result[O, X] + Proofs func() delegation.Proofs + Ran func() invocation.Invocation + Signature func() signature.SignatureView + func NewReceipt[O, X any](root ipld.Link, blocks blockstore.BlockReader, typ schema.Type) (Receipt[O, X], error) + type ReceiptReader interface + Read func(rcpt ipld.Link, blks iter.Seq2[block.Block, error]) (Receipt[O, X], error) + func NewReceiptReaderFromTypes[O, X any](successType schema.Type, errType schema.Type) (ReceiptReader[O, X], error) + func NewReceiptReader[O, X any](resultschema []byte) (ReceiptReader[O, X], error)