Socket
Socket
Sign inDemoInstall

@did-connect/types

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@did-connect/types - npm Package Compare versions

Comparing version 2.0.15 to 2.0.16

6

lib/schemas/index.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc