- Add TypeScript type definitions.
- BREAKING: Rename
blobpayload param tobodyto match upstream PR digitalbazaar/http-signature-zcap-invoke#30 - BREAKING: By default, set the
actionto be the same as the httpmethod.
- Add support for binary
blobobjects torequest().
- BREAKING: Fork from
@digitalbazaar/ezcap@4.1.0 - Update to use DCC versions of
http-clientand jsigs.
- Updated dependencies:
@digitalbazaar/http-client@4.uuid@9.
- Set node.js engines recommendation to 18+.
- Fix bug that prevented some invocation targets from being attenuated using query params.
- BREAKING: Use
@digitalbazaar/zcap@9andjsonld-signatures@11.
- Mark ZcapClient as a class in the docs.
- BREAKING: Convert to module (ESM).
- BREAKING: Require Node.js >=14.
- BREAKING: Require Web Crypto API. Older browsers and Node.js 14 users need to install an appropriate polyfill.
- Update dependencies.
- Lint module.
- Get default
allowedActionsfromcapabilityto be delegated.
- Fix
allowedActionsdefault indelegate. NowallowedActionswill properly use the parent zcap's allowed actions if it is not provided.
- Add check for
controllerinZcapClient.delegateAPI.
- Ensure zcap delegation time is after parent.
- Add missing helper function to get delegation proofs.
- Updated dependencies.
- Allow
expiresto be aDateinstance.
- BREAKING: Use zcap@7.
- BREAKING: Use
urn:uuid:by default for delegated zcaps. - BREAKING: Rename
targetDelegateparam tocontrollerto match the property name that the value will be assigned to in the delegated zcap.
- BREAKING: Remove
urlparameter fromdelegate()to reduce confusion over usage. Nowcapabilityand / orinvocationTargetmust be specified. - BREAKING: Remove support for capability invocation targets that are objects and not strings. This reduces optionality to simplify.
- Initial release, see individual commits for history.