@arcblock/validator 1.17.23 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/extension/did.d.ts +1 -1
- package/lib/index.d.ts +12 -12
- package/package.json +10 -10
package/lib/extension/did.d.ts
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -9,36 +9,36 @@ export declare const Joi: ExtendedRoot;
|
|
|
9
9
|
export declare const schemas: {
|
|
10
10
|
context: BaseJoi.ObjectSchema<any>;
|
|
11
11
|
tokenInput: BaseJoi.ObjectSchema<any>;
|
|
12
|
-
multiSig: BaseJoi.ArraySchema
|
|
12
|
+
multiSig: BaseJoi.ArraySchema<any[]>;
|
|
13
13
|
foreignToken: BaseJoi.ObjectSchema<any>;
|
|
14
14
|
nftDisplay: BaseJoi.ObjectSchema<any>;
|
|
15
15
|
nftEndpoint: BaseJoi.ObjectSchema<any>;
|
|
16
16
|
assetProps: {
|
|
17
17
|
address: DIDSchema;
|
|
18
|
-
moniker: BaseJoi.StringSchema
|
|
18
|
+
moniker: BaseJoi.StringSchema<string>;
|
|
19
19
|
data: BaseJoi.AnySchema<any>;
|
|
20
|
-
readonly: BaseJoi.BooleanSchema
|
|
21
|
-
transferrable: BaseJoi.BooleanSchema
|
|
22
|
-
ttl: BaseJoi.NumberSchema
|
|
20
|
+
readonly: BaseJoi.BooleanSchema<boolean>;
|
|
21
|
+
transferrable: BaseJoi.BooleanSchema<boolean>;
|
|
22
|
+
ttl: BaseJoi.NumberSchema<number>;
|
|
23
23
|
parent: DIDSchema;
|
|
24
24
|
issuer: DIDSchema;
|
|
25
25
|
endpoint: BaseJoi.ObjectSchema<any>;
|
|
26
26
|
display: BaseJoi.ObjectSchema<any>;
|
|
27
|
-
tags: BaseJoi.ArraySchema
|
|
27
|
+
tags: BaseJoi.ArraySchema<any[]>;
|
|
28
28
|
};
|
|
29
29
|
assetSchema: BaseJoi.ObjectSchema<any>;
|
|
30
30
|
factoryProps: {
|
|
31
31
|
address: DIDSchema;
|
|
32
|
-
name: BaseJoi.StringSchema
|
|
33
|
-
description: BaseJoi.StringSchema
|
|
34
|
-
settlement: BaseJoi.StringSchema
|
|
35
|
-
limit: BaseJoi.NumberSchema
|
|
36
|
-
trustedIssuers: BaseJoi.ArraySchema
|
|
32
|
+
name: BaseJoi.StringSchema<string>;
|
|
33
|
+
description: BaseJoi.StringSchema<string>;
|
|
34
|
+
settlement: BaseJoi.StringSchema<string>;
|
|
35
|
+
limit: BaseJoi.NumberSchema<number>;
|
|
36
|
+
trustedIssuers: BaseJoi.ArraySchema<any[]>;
|
|
37
37
|
data: BaseJoi.AnySchema<any>;
|
|
38
38
|
display: BaseJoi.ObjectSchema<any>;
|
|
39
39
|
input: BaseJoi.ObjectSchema<any>;
|
|
40
40
|
output: BaseJoi.ObjectSchema<any>;
|
|
41
|
-
hooks: BaseJoi.ArraySchema
|
|
41
|
+
hooks: BaseJoi.ArraySchema<any[]>;
|
|
42
42
|
};
|
|
43
43
|
factorySchema: BaseJoi.ObjectSchema<any>;
|
|
44
44
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.18.0",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"typings": "lib/index.d.ts",
|
|
@@ -21,26 +21,26 @@
|
|
|
21
21
|
"build": "tsc"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@arcblock/did": "1.
|
|
25
|
-
"@ocap/mcrypto": "1.
|
|
26
|
-
"@ocap/util": "1.
|
|
24
|
+
"@arcblock/did": "1.18.0",
|
|
25
|
+
"@ocap/mcrypto": "1.18.0",
|
|
26
|
+
"@ocap/util": "1.18.0",
|
|
27
27
|
"bn.js": "5.2.1",
|
|
28
|
-
"joi": "^17.6.
|
|
28
|
+
"joi": "^17.6.3",
|
|
29
29
|
"lodash": "^4.17.21",
|
|
30
|
-
"type-fest": "^2.
|
|
30
|
+
"type-fest": "^2.19.0"
|
|
31
31
|
},
|
|
32
32
|
"resolutions": {
|
|
33
33
|
"bn.js": "5.2.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@arcblock/eslint-config-ts": "0.2.3",
|
|
37
|
-
"eslint": "^8.
|
|
37
|
+
"eslint": "^8.25.0",
|
|
38
38
|
"jest": "^28.1.3",
|
|
39
|
-
"ts-jest": "^28.0.
|
|
40
|
-
"typescript": "^4.
|
|
39
|
+
"ts-jest": "^28.0.8",
|
|
40
|
+
"typescript": "^4.8.4"
|
|
41
41
|
},
|
|
42
42
|
"keywords": [],
|
|
43
43
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
44
44
|
"license": "MIT",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "c48f928ee4f0deddf0f5e4bcb82fd6ffd7f2bc99"
|
|
46
46
|
}
|