@trustvc/trustvc 1.5.2 → 1.5.3

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.
@@ -19,7 +19,7 @@ const w3cSignatureIntegrity = {
19
19
  }, "skip"),
20
20
  test: /* @__PURE__ */ __name((document) => {
21
21
  const doc = document;
22
- return doc.proof?.type === "BbsBlsSignature2020";
22
+ return doc.proof?.type === "BbsBlsSignature2020" || doc.proof?.type === "BbsBlsSignatureProof2020";
23
23
  }, "test"),
24
24
  verify: /* @__PURE__ */ __name(async (document, verifierOptions) => {
25
25
  const doc = document;
@@ -17,7 +17,7 @@ const w3cSignatureIntegrity = {
17
17
  }, "skip"),
18
18
  test: /* @__PURE__ */ __name((document) => {
19
19
  const doc = document;
20
- return doc.proof?.type === "BbsBlsSignature2020";
20
+ return doc.proof?.type === "BbsBlsSignature2020" || doc.proof?.type === "BbsBlsSignatureProof2020";
21
21
  }, "test"),
22
22
  verify: /* @__PURE__ */ __name(async (document, verifierOptions) => {
23
23
  const doc = document;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustvc/trustvc",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "TrustVC library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -117,10 +117,10 @@
117
117
  "@tradetrust-tt/tradetrust": "^6.10.1",
118
118
  "@tradetrust-tt/tradetrust-utils": "^2.3.1",
119
119
  "@tradetrust-tt/tt-verify": "^9.4.0",
120
- "@trustvc/w3c-context": "^1.2.12",
120
+ "@trustvc/w3c-context": "^1.2.13",
121
121
  "@trustvc/w3c-credential-status": "^1.2.12",
122
122
  "@trustvc/w3c-issuer": "^1.2.3",
123
- "@trustvc/w3c-vc": "^1.2.16",
123
+ "@trustvc/w3c-vc": "^1.2.17",
124
124
  "ethers": "^5.8.0",
125
125
  "ethersV6": "npm:ethers@^6.14.3",
126
126
  "js-sha3": "^0.9.3",