@did-connect/types
Advanced tools
Comparing version 2.0.15 to 2.0.16
@@ -188,3 +188,5 @@ "use strict"; | ||
response: { | ||
presentation: validator_1.Joi.string().required(), | ||
optional: validator_1.Joi.boolean().default(false), | ||
assetDid: validator_1.Joi.DID().optional(), | ||
presentation: validator_1.Joi.string().optional(), | ||
}, | ||
@@ -274,3 +276,3 @@ }, | ||
updaterPk: validator_1.Joi.string().required(), | ||
strategy: validator_1.Joi.alternatives().try(validator_1.Joi.DID(), validator_1.Joi.string().valid('default')).required(), | ||
strategy: validator_1.Joi.alternatives().try(validator_1.Joi.DID(), validator_1.Joi.string().valid('default', 'smart')).required(), | ||
authUrl: validator_1.Joi.string() | ||
@@ -277,0 +279,0 @@ .uri({ scheme: ['http', 'https'] }) |
@@ -168,3 +168,3 @@ export interface TAgreementRequest { | ||
status: 'created' | 'walletScanned' | 'walletConnected' | 'appConnected' | 'walletApproved' | 'appApproved' | 'error' | 'timeout' | 'rejected' | 'canceled' | 'completed'; | ||
strategy: string | 'default'; | ||
strategy: string | 'default' | 'smart'; | ||
timeout: { | ||
@@ -217,4 +217,6 @@ app: number; | ||
export interface TVerifiableCredentialResponse { | ||
assetDid?: string; | ||
meta?: any; | ||
presentation: string; | ||
optional?: boolean; | ||
presentation?: string; | ||
type: 'verifiableCredential'; | ||
@@ -221,0 +223,0 @@ } |
{ | ||
"name": "@did-connect/types", | ||
"description": "Type definition and validator for did-connect protocol", | ||
"version": "2.0.15", | ||
"version": "2.0.16", | ||
"author": { | ||
@@ -63,3 +63,3 @@ "name": "wangshijun", | ||
}, | ||
"gitHead": "d3ffabd337e3e0b41f642b3243da99c20f2dd75e" | ||
"gitHead": "2cba02ab1605e1404795f1f8d0879919cd57f72a" | ||
} |
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
40774
735