@did-connect/types
Advanced tools
Comparing version 2.1.14 to 2.1.15
@@ -189,4 +189,4 @@ "use strict"; | ||
optional: validator_1.Joi.boolean().default(false), | ||
assetDid: validator_1.Joi.DID().optional(), | ||
presentation: validator_1.Joi.string().optional(), | ||
assetDid: validator_1.Joi.DID().optional().allow('').default(''), | ||
presentation: validator_1.Joi.string().required(), | ||
}, | ||
@@ -193,0 +193,0 @@ }, |
@@ -219,3 +219,3 @@ export interface TAgreementRequest { | ||
optional?: boolean; | ||
presentation?: string; | ||
presentation: string; | ||
type: 'verifiableCredential'; | ||
@@ -222,0 +222,0 @@ } |
{ | ||
"name": "@did-connect/types", | ||
"description": "Type definition and validator for did-connect protocol", | ||
"version": "2.1.14", | ||
"version": "2.1.15", | ||
"author": { | ||
@@ -28,3 +28,3 @@ "name": "wangshijun", | ||
"@arcblock/eslint-config-ts": "0.2.3", | ||
"eslint": "^8.23.0", | ||
"eslint": "^8.23.1", | ||
"jest": "^28.1.3", | ||
@@ -64,3 +64,3 @@ "joi-to-typescript": "^4.0.5", | ||
}, | ||
"gitHead": "f3a0d859ead96fd3917f9081b0e3013642f23fbf" | ||
"gitHead": "98ae064467cdb440cdb7ffc8888a3d3bb28e902a" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
35055
1488
0