@arcblock/validator 1.30.24 → 1.30.26

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.
@@ -13,7 +13,7 @@ declare const schemas: {
13
13
  readonly value: any;
14
14
  }, undefined>;
15
15
  multiInput: v.ArraySchema<v.ObjectSchema<{
16
- readonly owner: v.UnionSchema<[any, any, any, any, any], undefined>;
16
+ readonly owner: v.UnionSchema<[any, any, any, any, any, any], undefined>;
17
17
  readonly tokensList: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
18
18
  readonly address: any;
19
19
  readonly value: any;
@@ -59,7 +59,7 @@ declare const schemas: {
59
59
  readonly pk: v.StringSchema<undefined>;
60
60
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 256, undefined>]>;
61
61
  }, undefined>;
62
- tokenHolder: v.UnionSchema<[any, any, any, any, any], undefined>;
62
+ tokenHolder: v.UnionSchema<[any, any, any, any, any, any], undefined>;
63
63
  assetProps: {
64
64
  address: any;
65
65
  moniker: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 2, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
package/esm/v/schemas.mjs CHANGED
@@ -40,6 +40,10 @@ const tokenHolder = v.union([
40
40
  prefix: true,
41
41
  role: "ROLE_BLOCKLET"
42
42
  }),
43
+ vDID({
44
+ prefix: true,
45
+ role: "ROLE_ASSET"
46
+ }),
43
47
  vDID({
44
48
  prefix: true,
45
49
  wallet: "ethereum"
package/lib/v/schemas.cjs CHANGED
@@ -42,6 +42,10 @@ const tokenHolder = valibot.union([
42
42
  prefix: true,
43
43
  role: "ROLE_BLOCKLET"
44
44
  }),
45
+ require_v_did.vDID({
46
+ prefix: true,
47
+ role: "ROLE_ASSET"
48
+ }),
45
49
  require_v_did.vDID({
46
50
  prefix: true,
47
51
  wallet: "ethereum"
@@ -13,7 +13,7 @@ declare const schemas: {
13
13
  readonly value: any;
14
14
  }, undefined>;
15
15
  multiInput: v.ArraySchema<v.ObjectSchema<{
16
- readonly owner: v.UnionSchema<[any, any, any, any, any], undefined>;
16
+ readonly owner: v.UnionSchema<[any, any, any, any, any, any], undefined>;
17
17
  readonly tokensList: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
18
18
  readonly address: any;
19
19
  readonly value: any;
@@ -59,7 +59,7 @@ declare const schemas: {
59
59
  readonly pk: v.StringSchema<undefined>;
60
60
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 256, undefined>]>;
61
61
  }, undefined>;
62
- tokenHolder: v.UnionSchema<[any, any, any, any, any], undefined>;
62
+ tokenHolder: v.UnionSchema<[any, any, any, any, any, any], undefined>;
63
63
  assetProps: {
64
64
  address: any;
65
65
  moniker: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 2, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "type": "module",
7
- "version": "1.30.24",
7
+ "version": "1.30.26",
8
8
  "description": "",
9
9
  "sideEffects": false,
10
10
  "main": "./lib/index.cjs",
@@ -41,9 +41,9 @@
41
41
  "clean": "rm -rf lib esm"
42
42
  },
43
43
  "dependencies": {
44
- "@arcblock/did": "1.30.24",
45
- "@ocap/mcrypto": "1.30.24",
46
- "@ocap/util": "1.30.24",
44
+ "@arcblock/did": "1.30.26",
45
+ "@ocap/mcrypto": "1.30.26",
46
+ "@ocap/util": "1.30.26",
47
47
  "valibot": "^1.3.1"
48
48
  },
49
49
  "resolutions": {},