diff --git a/package-lock.json b/package-lock.json index 2f632d2..0517db8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@identity.com/uca", - "version": "1.0.29", + "version": "1.0.30", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 03d7ddf..7f5d73c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@identity.com/uca", - "version": "1.0.29", + "version": "1.0.30", "description": "Provides functionality around User Collectable Attributes (UCA)", "main": "src/index.js", "module": "dist/es/index.js", diff --git a/src/definitions.js b/src/definitions.js index 54c747f..b422c37 100644 --- a/src/definitions.js +++ b/src/definitions.js @@ -1191,6 +1191,33 @@ const definitions = [ attestable: false, credentialItem: false, }, + { + identifier: 'cvc:Type:appIdType', + description: 'Application Identifier Type', + version: '1', + type: 'String', + attestable: false, + credentialItem: false, + }, + { + identifier: 'cvc:Document:appId', + version: '1', + type: { + properties: [ + { + name: 'appId', + type: 'cvc:Type:appId', + }, + { + name: 'appIdType', + type: 'cvc:Type:appIdType', + }, + ], + required: ['appId'], + }, + attestable: false, + credentialItem: false, + }, ]; module.exports = definitions;