@blocklet/did-space-js 1.0.17 → 1.0.19

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.
@@ -10,7 +10,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
10
10
  * @description 预览模板的数据
11
11
  */
12
12
  data: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
13
- template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">]>;
13
+ template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
14
14
  did: z.ZodEffects<z.ZodString, string, string>;
15
15
  }, {
16
16
  template: z.ZodLiteral<"app">;
@@ -27,7 +27,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
27
27
  name: string;
28
28
  logo: string;
29
29
  }>, z.ZodObject<z.objectUtil.extendShape<{
30
- template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">]>;
30
+ template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
31
31
  did: z.ZodEffects<z.ZodString, string, string>;
32
32
  }, {
33
33
  template: z.ZodLiteral<"nft">;
@@ -47,7 +47,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
47
47
  image: string;
48
48
  chainHost: string;
49
49
  }>, z.ZodObject<z.objectUtil.extendShape<{
50
- template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">]>;
50
+ template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
51
51
  did: z.ZodEffects<z.ZodString, string, string>;
52
52
  }, {
53
53
  template: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"profile">>>;
@@ -67,7 +67,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
67
67
  email: string;
68
68
  template?: "profile" | undefined;
69
69
  }>, z.ZodObject<z.objectUtil.extendShape<{
70
- template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">]>;
70
+ template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
71
71
  did: z.ZodEffects<z.ZodString, string, string>;
72
72
  }, {
73
73
  template: z.ZodLiteral<"passport">;
@@ -79,8 +79,8 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
79
79
  issuedTo: z.ZodString;
80
80
  verified: z.ZodBoolean;
81
81
  }>, "strip", z.ZodTypeAny, {
82
- template: "passport";
83
82
  type: string[];
83
+ template: "passport";
84
84
  did: string;
85
85
  image: string;
86
86
  issuerDid: string;
@@ -89,8 +89,8 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
89
89
  issuedTo: string;
90
90
  verified: boolean;
91
91
  }, {
92
- template: "passport";
93
92
  type: string[];
93
+ template: "passport";
94
94
  did: string;
95
95
  image: string;
96
96
  issuerDid: string;
@@ -99,7 +99,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
99
99
  issuedTo: string;
100
100
  verified: boolean;
101
101
  }>, z.ZodObject<z.objectUtil.extendShape<{
102
- template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">]>;
102
+ template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
103
103
  did: z.ZodEffects<z.ZodString, string, string>;
104
104
  }, {
105
105
  template: z.ZodLiteral<"discuss">;
@@ -122,7 +122,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
122
122
  url: string;
123
123
  createdAt: string;
124
124
  }>, z.ZodObject<z.objectUtil.extendShape<{
125
- template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">]>;
125
+ template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
126
126
  did: z.ZodEffects<z.ZodString, string, string>;
127
127
  }, {
128
128
  template: z.ZodLiteral<"blog">;
@@ -148,7 +148,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
148
148
  url: string;
149
149
  createdAt: string;
150
150
  }>, z.ZodObject<z.objectUtil.extendShape<{
151
- template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">]>;
151
+ template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
152
152
  did: z.ZodEffects<z.ZodString, string, string>;
153
153
  }, {
154
154
  template: z.ZodLiteral<"bookmark">;
@@ -174,7 +174,7 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
174
174
  url: string;
175
175
  createdAt: string;
176
176
  }>, z.ZodObject<z.objectUtil.extendShape<{
177
- template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">]>;
177
+ template: z.ZodUnion<[z.ZodLiteral<"nft">, z.ZodLiteral<"profile">, z.ZodLiteral<"passport">, z.ZodLiteral<"discuss">, z.ZodLiteral<"blog">, z.ZodLiteral<"bookmark">, z.ZodLiteral<"project">, z.ZodLiteral<"app">]>;
178
178
  did: z.ZodEffects<z.ZodString, string, string>;
179
179
  }, {
180
180
  template: z.ZodLiteral<"project">;
@@ -248,8 +248,8 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
248
248
  fullname: string;
249
249
  email: string;
250
250
  } | {
251
- template: "passport";
252
251
  type: string[];
252
+ template: "passport";
253
253
  did: string;
254
254
  image: string;
255
255
  issuerDid: string;
@@ -316,8 +316,8 @@ export declare const PutPreviewObjectCommandInputSchema: z.ZodObject<{
316
316
  email: string;
317
317
  template?: "profile" | undefined;
318
318
  } | {
319
- template: "passport";
320
319
  type: string[];
320
+ template: "passport";
321
321
  did: string;
322
322
  image: string;
323
323
  issuerDid: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/did-space-js",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -29,14 +29,14 @@
29
29
  "link": "yarn link"
30
30
  },
31
31
  "dependencies": {
32
- "@arcblock/did": "^1.19.9",
33
- "@arcblock/jwt": "^1.19.9",
34
- "@arcblock/validator": "^1.19.9",
32
+ "@arcblock/did": "^1.19.10",
33
+ "@arcblock/jwt": "^1.19.10",
34
+ "@arcblock/validator": "^1.19.10",
35
35
  "@blocklet/env": "^1.16.38",
36
- "@did-space/core": "^1.0.17",
37
- "@ocap/mcrypto": "^1.19.9",
38
- "@ocap/util": "^1.19.9",
39
- "@ocap/wallet": "^1.19.9",
36
+ "@did-space/core": "^1.0.19",
37
+ "@ocap/mcrypto": "^1.19.10",
38
+ "@ocap/util": "^1.19.10",
39
+ "@ocap/wallet": "^1.19.10",
40
40
  "agentkeepalive": "^4.6.0",
41
41
  "axios": "^1.7.9",
42
42
  "base64-url": "^2.3.3",
@@ -76,5 +76,5 @@
76
76
  "ts-jest": "^28.0.8",
77
77
  "typescript": "^4.9.5"
78
78
  },
79
- "gitHead": "704646f1b9b235f3dd901658ec7152ec7916358a"
79
+ "gitHead": "7095b964ee70b16ff170a94fb11da1bdd40d8d86"
80
80
  }