@digitalbazaar/ezcap-express 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # @digitalbazaar/ezcap-express Changelog
2
2
 
3
+ ## 5.0.1 - 2022-01-11
4
+
5
+ ### Changed
6
+ - Update dependencies.
7
+
3
8
  ## 5.0.0 - 2022-01-11
4
9
 
5
10
  ### Added
package/lib/authorize.js CHANGED
@@ -4,7 +4,8 @@
4
4
  import assert from 'assert-plus';
5
5
  import asyncHandler from 'express-async-handler';
6
6
  import * as helpers from './helpers.js';
7
- import {verifyCapabilityInvocation} from 'http-signature-zcap-verify';
7
+ import {verifyCapabilityInvocation} from
8
+ '@digitalbazaar/http-signature-zcap-verify';
8
9
 
9
10
  /**
10
11
  * Authorizes an incoming request.
package/lib/helpers.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  createRootCapability,
9
9
  constants as zcapConstants
10
10
  } from '@digitalbazaar/zcap';
11
- import {parseSignatureHeader} from 'http-signature-header';
11
+ import {parseSignatureHeader} from '@digitalbazaar/http-signature-header';
12
12
  import {verifyHeaderValue} from '@digitalbazaar/http-digest-header';
13
13
 
14
14
  export const {ZCAP_ROOT_PREFIX} = zcapConstants;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitalbazaar/ezcap-express",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "main": "lib",
5
5
  "module": "main.js",
6
6
  "repository": {
@@ -23,20 +23,21 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@digitalbazaar/http-digest-header": "^1.0.1",
26
+ "@digitalbazaar/http-signature-header": "^4.0.1",
27
+ "@digitalbazaar/http-signature-zcap-verify": "^10.0.0",
26
28
  "@digitalbazaar/zcap": "^7.0.0",
27
29
  "assert-plus": "^1.0.0",
28
30
  "esm": "^3.2.25",
29
31
  "express-async-handler": "^1.1.4",
30
- "http-signature-header": "^2.0.2",
31
- "http-signature-zcap-verify": "^9.0.0",
32
32
  "jsonld-signatures": "^9.3.0"
33
33
  },
34
34
  "devDependencies": {
35
+ "@digitalbazaar/did-method-key": "^2.0.0",
35
36
  "@digitalbazaar/ed25519-signature-2020": "^3.0.0",
36
37
  "@digitalbazaar/ed25519-verification-key-2020": "^3.2.0",
37
- "@digitalbazaar/did-method-key": "^2.0.0",
38
38
  "@digitalbazaar/ezcap": "^2.0.0",
39
39
  "@digitalbazaar/http-client": "^2.0.1",
40
+ "@digitalbazaar/http-signature-zcap-invoke": "^5.0.1",
40
41
  "@digitalbazaar/security-document-loader": "^1.1.1",
41
42
  "bnid": "^2.1.0",
42
43
  "chai": "^4.2.0",
@@ -45,13 +46,11 @@
45
46
  "crypto-ld": "^6.0.0",
46
47
  "eslint": "^7.30.0",
47
48
  "eslint-config-digitalbazaar": "^2.6.1",
48
- "eslint-plugin-jsdoc": "^32.2.0",
49
+ "eslint-plugin-jsdoc": "^37.6.1",
49
50
  "express": "^4.17.1",
50
- "http-signature-zcap-invoke": "^4.0.0",
51
- "jsdoc-to-markdown": "^6.0.1",
51
+ "jsdoc-to-markdown": "^7.1.0",
52
52
  "mocha": "^8.1.3",
53
- "nyc": "^15.1.0",
54
- "zcap-context": "^1.2.1"
53
+ "nyc": "^15.1.0"
55
54
  },
56
55
  "engines": {
57
56
  "node": ">=14.0.0"