Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

v4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Dec 19:08
3ba5b7f

4.0.0 (2022-12-14)

⚠ BREAKING CHANGES

  • The client has been re-written as a wrapper around access-client and upload-client and the API has changed. Migration notes:
    • client.account() has been removed, use client.currentSpace()
    • client.exportDelegation() has been removed, use client.createDelegation() and then call export() on the returned value and encode the returned blocks as a CAR file using the @ipld/car library.
    • client.identity() has been removed, use client.agent() + client.currentSpace() + client.delegations()
    • client.importDelegation() has been removed, use client.addProof() (for general delegations to your agent) or client.addSpace() (to add a proof and also add the space to your list of spaces).
    • client.insights() has been removed - this was never working
    • client.invoke() has been removed
    • client.list() has been removed, use client.capability.upload.list()
    • client.makeDelegation() has been renamed and signature has changed, use client.createDelegation()
    • client.register() has been removed, use client.registerSpace()
    • client.remove() has been removed, use client.capability.store.remove()
    • client.removeUpload() has been removed, use client.capability.upload.remove()
    • client.stat() has been removed, use client.capability.store.list()
    • client.upload() has been removed, use client.capability.store.add()
    • client.uploadAdd() has been removed, use client.capability.upload.add()
    • client.whoami() has been removed, use client.capability.space.info()

Features

  • consume upload and access client (#58) (7bd91d5)

Bug Fixes

  • release please package name (3d00586)
  • remove pnpm reference from deploy-docs workflow (6807f5d)