@arcblock/vc 1.15.6 → 1.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/lib/index.d.ts +4 -0
  2. package/package.json +6 -6
package/lib/index.d.ts CHANGED
@@ -9,6 +9,8 @@
9
9
  * @param {object} params.issuer - The issuer name and wallet
10
10
  * @param {Date} params.issuanceDate
11
11
  * @param {Date} params.expirationDate
12
+ * @param {String} params.endpoint - Status endpoint url
13
+ * @param {String} params.endpointScope - Endpoint scope, either be public or private
12
14
  * @returns {object}
13
15
  */
14
16
  declare function create(T100: _Lib.T101): any;
@@ -50,6 +52,8 @@ declare namespace _Lib {
50
52
  issuer: any;
51
53
  issuanceDate: Date;
52
54
  expirationDate: Date;
55
+ endpoint: string;
56
+ endpointScope: string;
53
57
  }
54
58
  export interface T104 {
55
59
  [key: string]: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/vc",
3
- "version": "1.15.6",
3
+ "version": "1.16.1",
4
4
  "description": "Javascript lib to work with ArcBlock Verifiable Credentials",
5
5
  "keywords": [
6
6
  "forge",
@@ -45,14 +45,14 @@
45
45
  "url": "https://github.com/ArcBlock/asset-chain/issues"
46
46
  },
47
47
  "dependencies": {
48
- "@arcblock/did": "1.15.6",
49
- "@ocap/mcrypto": "1.15.6",
50
- "@ocap/util": "1.15.6",
51
- "@ocap/wallet": "1.15.6",
48
+ "@arcblock/did": "1.16.1",
49
+ "@ocap/mcrypto": "1.16.1",
50
+ "@ocap/util": "1.16.1",
51
+ "@ocap/wallet": "1.16.1",
52
52
  "debug": "^4.3.3",
53
53
  "is-absolute-url": "^3.0.3",
54
54
  "json-stable-stringify": "^1.0.1",
55
55
  "lodash": "^4.17.21"
56
56
  },
57
- "gitHead": "866970f65d02e32255f909a3e3a5d1d3a87ec89a"
57
+ "gitHead": "9d396112e1a0bdabea753d6104117ca9e1fede26"
58
58
  }