Skip to content

Commit

Permalink
fix versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsantosbh committed Feb 2, 2021
1 parent 5974151 commit b0a7fa4
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 41 deletions.
77 changes: 41 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@identity.com/credential-commons",
"version": "1.1.4",
"version": "1.1.5",
"author": "Identity.com Community",
"license": "MIT",
"description": "Verifiable Credential and Attestation Library",
Expand Down Expand Up @@ -63,7 +63,7 @@
"ajv": "^7.0.3"
},
"dependencies": {
"@identity.com/uca": "^1.0.21",
"@identity.com/uca": "^1.0.22",
"babel-runtime": "^6.26.0",
"bitcoinjs-lib": "git+https://github.com/dabura667/bitcoinjs-lib.git#bcash330",
"bluebird": "^3.7.2",
Expand All @@ -74,7 +74,7 @@
"cross-env": "^7.0.3",
"dotenv": "^8.2.0",
"figlet": "^1.5.0",
"flat": "^5.0.2",
"flat": "^4.1.0",
"inquirer": "^7.3.3",
"json-format": "^1.0.1",
"lodash": "^4.17.20",
Expand All @@ -88,7 +88,7 @@
"request-promise-native": "^1.0.9",
"shelljs": "^0.8.4",
"sift": "^13.5.0",
"sjcl": "^1.0.7",
"sjcl": "github:civicteam/sjcl#v1.0.8-ecc",
"type-of-is": "^3.5.1",
"unix-timestamp": "^0.2.0",
"uuid": "^8.3.2",
Expand Down
2 changes: 1 addition & 1 deletion src/creds/VerifiableCredential.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ function VerifiableCredentialBaseConstructor(identifier, issuer, expiryIn, ucas,
* @return true or false for the validation
*/
this.verifySignature = (pinnedPubKey) => {
if (this.proof.type === 'transient') {
if (this.proof.anchor.type === 'transient') {
return true;
}
return services.container.AnchorService.verifySignature(this.proof, pinnedPubKey);
Expand Down

0 comments on commit b0a7fa4

Please sign in to comment.