@arcblock/validator
Advanced tools
Comparing version 1.17.2 to 1.17.3
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" | ||
} |
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
18478
455
7
+ Addedtype-fest@^2.13.1
+ Added@arcblock/did@1.17.3(transitive)
+ Added@ocap/mcrypto@1.17.3(transitive)
+ Added@ocap/util@1.17.3(transitive)
+ Addedtype-fest@2.19.0(transitive)
- Removed@arcblock/did@1.17.2(transitive)
- Removed@ocap/mcrypto@1.17.2(transitive)
- Removed@ocap/util@1.17.2(transitive)
Updated@arcblock/did@1.17.3
Updated@ocap/mcrypto@1.17.3
Updated@ocap/util@1.17.3