Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

http-signature-zcap-invoke

digitalbazaar47BSD-3-Clausedeprecated4.0.2

This package has been renamed to @digitalbazaar/http-signature-zcap-invoke. Install using @digitalbazaar/http-signature-zcap-invoke instead.

A library for invoking Authorization Capabilities via HTTP signatures

authorization, capability, authorization capability, object capability, ocap-ld, http signature, http signatures, zcap, zcaps

readme

http-signature-zcap-invoke

A library for invoking Authorization Capabilities via HTTP signatures

changelog

http-signature-zcap-invoke ChangeLog

4.0.2 - 2022-01-11

Fixed

  • Fix usage of http-signature-header dep.

4.0.1 - 2022-01-11

Changed

  • Updated http-signature-header dep.

4.0.0 - 2022-01-11

Changed

  • BREAKING: Change default capability to use zcap root URN prefix instead of the url itself. Root zcaps must now be independent entities, an object cannot be its own root zcap.
  • BREAKING: Require capabilityAction to be passed when signing an invocation.

Removed

  • BREAKING: Remove built-in URL and Web crypto polyfills. If support is not available on a platform supported by your application, add appropriate polyfills to your application.

3.1.0 - 2021-11-26

Added

  • Add details to the error message (url, method, action).

3.0.0 - 2021-03-02

Changed

  • BREAKING: Use http-signature-header ^2.0.0.
  • BREAKING: created and expires headers are now seconds since the epoch instead of ms since the epoch.

Added

  • New optional parameters created & expires added to signCapabilityInvocation.
  • BREAKING: created defaults to a unix time stamp representing time of call.
  • BREAKING: expires defaults to a unix time stamp 10 minutes after created.

2.0.0 - 2020-12-07

Changed

  • BREAKING: Drop support for node 10.
  • Use @digitalbazaar/http-digest-header.

1.1.1 - 2020-02-10

Fixed

  • Use gzip to compress the capability in the Capability-Invocation header.

1.1.0 - 2020-02-07

Added

  • Implement embedded capabilities.

Changed

1.0.0 - 2019-08-02

0.1.0 - 2019-08-02

Added

  • Add core files.

  • See git history for changes previous to this release.