Skip to content

Commit

Permalink
update dependencies, fix function signature of verifyCredential
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuck LeDuc Díaz committed May 13, 2020
1 parent 1d7f57d commit 4bc3998
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "@lorena-ssi/lorena-sdk",
"version": "1.4.0",
"version": "1.4.1",
"description": "Lorena SDK",
"author": "Alex Puig <alex@caelumlabs.com>",
"license": "MIT",
Expand All @@ -24,7 +24,7 @@
"homepage": "https://github.com/lorena-ssi/lorena-sdk#readme",
"dependencies": {
"@lorena-ssi/credential-lib": "^1.1.2",
"@lorena-ssi/did-resolver": "^0.4.2",
"@lorena-ssi/did-resolver": "^0.4.3",
"@lorena-ssi/matrix-lib": "^1.0.13",
"@lorena-ssi/wallet-lib": "1.1.5",
"@lorena-ssi/zenroom-lib": "1.5.3",
Expand All @@ -42,7 +42,7 @@
"eslint-config-standard": "^14.1.1",
"eslint-plugin-chai-friendly": "^0.6.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsdoc": "^25.2.0",
"eslint-plugin-jsdoc": "^25.4.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Expand Up @@ -587,7 +587,7 @@ export default class Lorena extends EventEmitter {
* @returns {Promise} of success (JSON) or failure (false)
*/
/* istanbul ignore next */
validateCertificate (json) {
async validateCertificate (json) {
debug('validateCertificate() deprecated: use verifyCredential()')
return this.verifyCredential(json)
}
Expand All @@ -598,7 +598,7 @@ export default class Lorena extends EventEmitter {
* @param {*} json of credential to verify
* @returns {Promise} of success (JSON) or failure (false)
*/
verifyCredential (json) {
async verifyCredential (json) {
return new Promise((resolve) => {
try {
const credential = JSON.parse(json)
Expand Down

0 comments on commit 4bc3998

Please sign in to comment.