Socket
Socket
Sign inDemoInstall

@arcblock/validator

Package Overview
Dependencies
Maintainers
4
Versions
201
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcblock/validator - npm Package Compare versions

Comparing version 1.17.2 to 1.17.3

11

lib/extension/did.d.ts
import { Root, StringSchema } from 'joi';
import { KeyType, HashType, RoleType } from '@ocap/mcrypto';
import { DIDTypeShortcut } from '@arcblock/did';
export interface DIDSchema extends StringSchema {
wallet(type: string): this;
pk(type: string): this;
hash(type: string): this;
role(type: string): this;
wallet(type: DIDTypeShortcut): this;
pk(type: KeyType): this;
hash(type: HashType): this;
role(type: RoleType): this;
}

@@ -43,3 +44,3 @@ export declare function DIDExtension(root: Root): {

wallet: {
method(type: string): DIDSchema;
method(type: DIDTypeShortcut): DIDSchema;
};

@@ -46,0 +47,0 @@ pk: {

@@ -6,3 +6,3 @@ {

},
"version": "1.17.2",
"version": "1.17.3",
"description": "",

@@ -25,8 +25,9 @@ "main": "lib/index.js",

"dependencies": {
"@arcblock/did": "1.17.2",
"@ocap/mcrypto": "1.17.2",
"@ocap/util": "1.17.2",
"@arcblock/did": "1.17.3",
"@ocap/mcrypto": "1.17.3",
"@ocap/util": "1.17.3",
"bn.js": "5.2.1",
"joi": "^17.6.0",
"lodash": "^4.17.21"
"lodash": "^4.17.21",
"type-fest": "^2.13.1"
},

@@ -46,3 +47,3 @@ "resolutions": {

"license": "MIT",
"gitHead": "ddb64b9727c9d07bd3df4665444545e43b24a071"
"gitHead": "7a74e4e2b362a6e6ea8d14617f0480966c3363d5"
}
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