@arcblock/vc 1.15.7 → 1.16.2

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.
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.7",
3
+ "version": "1.16.2",
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.7",
49
- "@ocap/mcrypto": "1.15.7",
50
- "@ocap/util": "1.15.7",
51
- "@ocap/wallet": "1.15.7",
48
+ "@arcblock/did": "1.16.2",
49
+ "@ocap/mcrypto": "1.16.2",
50
+ "@ocap/util": "1.16.2",
51
+ "@ocap/wallet": "1.16.2",
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": "bff98fcfd9b6e1fb9343594affc49016426dc8ce"
57
+ "gitHead": "ec7e05b1d99df54044dff2ec5f43888da30fbbf5"
58
58
  }