@learncard/types 5.6.3 → 5.6.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/crypto.d.ts +30 -5
- package/dist/crypto.d.ts.map +1 -1
- package/dist/did.d.ts +54 -54
- package/dist/lcn.d.ts +1040 -12
- package/dist/lcn.d.ts.map +1 -1
- package/dist/learncloud.d.ts +4 -4
- package/dist/types.cjs.development.js +46 -1
- package/dist/types.cjs.development.js.map +2 -2
- package/dist/types.cjs.production.min.js +1 -1
- package/dist/types.cjs.production.min.js.map +3 -3
- package/dist/types.esm.js +46 -1
- package/dist/types.esm.js.map +2 -2
- package/package.json +1 -1
package/dist/crypto.d.ts
CHANGED
@@ -5,8 +5,33 @@ export declare const JWKValidator: z.ZodObject<{
|
|
5
5
|
x: z.ZodString;
|
6
6
|
y: z.ZodOptional<z.ZodString>;
|
7
7
|
n: z.ZodOptional<z.ZodString>;
|
8
|
-
d: z.ZodString
|
8
|
+
d: z.ZodOptional<z.ZodString>;
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
10
|
+
y?: string | undefined;
|
11
|
+
n?: string | undefined;
|
12
|
+
d?: string | undefined;
|
13
|
+
kty: string;
|
14
|
+
crv: string;
|
15
|
+
x: string;
|
16
|
+
}, {
|
17
|
+
y?: string | undefined;
|
18
|
+
n?: string | undefined;
|
19
|
+
d?: string | undefined;
|
20
|
+
kty: string;
|
21
|
+
crv: string;
|
22
|
+
x: string;
|
23
|
+
}>;
|
24
|
+
export type JWK = z.infer<typeof JWKValidator>;
|
25
|
+
export declare const JWKWithPrivateKeyValidator: z.ZodObject<z.extendShape<Omit<{
|
26
|
+
kty: z.ZodString;
|
27
|
+
crv: z.ZodString;
|
28
|
+
x: z.ZodString;
|
29
|
+
y: z.ZodOptional<z.ZodString>;
|
30
|
+
n: z.ZodOptional<z.ZodString>;
|
31
|
+
d: z.ZodOptional<z.ZodString>;
|
32
|
+
}, "d">, {
|
33
|
+
d: z.ZodString;
|
34
|
+
}>, "strip", z.ZodTypeAny, {
|
10
35
|
y?: string | undefined;
|
11
36
|
n?: string | undefined;
|
12
37
|
kty: string;
|
@@ -21,7 +46,7 @@ export declare const JWKValidator: z.ZodObject<{
|
|
21
46
|
x: string;
|
22
47
|
d: string;
|
23
48
|
}>;
|
24
|
-
export type
|
49
|
+
export type JWKWithPrivateKey = z.infer<typeof JWKWithPrivateKeyValidator>;
|
25
50
|
export declare const JWERecipientHeaderValidator: z.ZodObject<{
|
26
51
|
alg: z.ZodString;
|
27
52
|
iv: z.ZodString;
|
@@ -32,7 +57,7 @@ export declare const JWERecipientHeaderValidator: z.ZodObject<{
|
|
32
57
|
x: z.ZodOptional<z.ZodString>;
|
33
58
|
y: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
34
59
|
n: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
35
|
-
d: z.ZodOptional<z.ZodString
|
60
|
+
d: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
36
61
|
}, "strip", z.ZodTypeAny, {
|
37
62
|
kty?: string | undefined;
|
38
63
|
crv?: string | undefined;
|
@@ -94,7 +119,7 @@ export declare const JWERecipientValidator: z.ZodObject<{
|
|
94
119
|
x: z.ZodOptional<z.ZodString>;
|
95
120
|
y: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
96
121
|
n: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
97
|
-
d: z.ZodOptional<z.ZodString
|
122
|
+
d: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
98
123
|
}, "strip", z.ZodTypeAny, {
|
99
124
|
kty?: string | undefined;
|
100
125
|
crv?: string | undefined;
|
@@ -200,7 +225,7 @@ export declare const JWEValidator: z.ZodObject<{
|
|
200
225
|
x: z.ZodOptional<z.ZodString>;
|
201
226
|
y: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
202
227
|
n: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
203
|
-
d: z.ZodOptional<z.ZodString
|
228
|
+
d: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
204
229
|
}, "strip", z.ZodTypeAny, {
|
205
230
|
kty?: string | undefined;
|
206
231
|
crv?: string | undefined;
|
package/dist/crypto.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../src/crypto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AACH,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAE/C,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQtC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE7E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGhC,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEjE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AACH,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../src/crypto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AACH,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAE/C,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;EAA2D,CAAC;AACnG,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE3E,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQtC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE7E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGhC,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEjE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AACH,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
package/dist/did.d.ts
CHANGED
@@ -10,21 +10,21 @@ export declare const VerificationMethodValidator: z.ZodUnion<[z.ZodString, z.Zod
|
|
10
10
|
x: z.ZodString;
|
11
11
|
y: z.ZodOptional<z.ZodString>;
|
12
12
|
n: z.ZodOptional<z.ZodString>;
|
13
|
-
d: z.ZodString
|
13
|
+
d: z.ZodOptional<z.ZodString>;
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
15
15
|
y?: string | undefined;
|
16
16
|
n?: string | undefined;
|
17
|
+
d?: string | undefined;
|
17
18
|
kty: string;
|
18
19
|
crv: string;
|
19
20
|
x: string;
|
20
|
-
d: string;
|
21
21
|
}, {
|
22
22
|
y?: string | undefined;
|
23
23
|
n?: string | undefined;
|
24
|
+
d?: string | undefined;
|
24
25
|
kty: string;
|
25
26
|
crv: string;
|
26
27
|
x: string;
|
27
|
-
d: string;
|
28
28
|
}>>;
|
29
29
|
publicKeyBase58: z.ZodOptional<z.ZodString>;
|
30
30
|
blockChainAccountId: z.ZodOptional<z.ZodString>;
|
@@ -34,10 +34,10 @@ export declare const VerificationMethodValidator: z.ZodUnion<[z.ZodString, z.Zod
|
|
34
34
|
publicKeyJwk?: {
|
35
35
|
y?: string | undefined;
|
36
36
|
n?: string | undefined;
|
37
|
+
d?: string | undefined;
|
37
38
|
kty: string;
|
38
39
|
crv: string;
|
39
40
|
x: string;
|
40
|
-
d: string;
|
41
41
|
} | undefined;
|
42
42
|
publicKeyBase58?: string | undefined;
|
43
43
|
blockChainAccountId?: string | undefined;
|
@@ -50,10 +50,10 @@ export declare const VerificationMethodValidator: z.ZodUnion<[z.ZodString, z.Zod
|
|
50
50
|
publicKeyJwk?: {
|
51
51
|
y?: string | undefined;
|
52
52
|
n?: string | undefined;
|
53
|
+
d?: string | undefined;
|
53
54
|
kty: string;
|
54
55
|
crv: string;
|
55
56
|
x: string;
|
56
|
-
d: string;
|
57
57
|
} | undefined;
|
58
58
|
publicKeyBase58?: string | undefined;
|
59
59
|
blockChainAccountId?: string | undefined;
|
@@ -94,21 +94,21 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
94
94
|
x: z.ZodString;
|
95
95
|
y: z.ZodOptional<z.ZodString>;
|
96
96
|
n: z.ZodOptional<z.ZodString>;
|
97
|
-
d: z.ZodString
|
97
|
+
d: z.ZodOptional<z.ZodString>;
|
98
98
|
}, "strip", z.ZodTypeAny, {
|
99
99
|
y?: string | undefined;
|
100
100
|
n?: string | undefined;
|
101
|
+
d?: string | undefined;
|
101
102
|
kty: string;
|
102
103
|
crv: string;
|
103
104
|
x: string;
|
104
|
-
d: string;
|
105
105
|
}, {
|
106
106
|
y?: string | undefined;
|
107
107
|
n?: string | undefined;
|
108
|
+
d?: string | undefined;
|
108
109
|
kty: string;
|
109
110
|
crv: string;
|
110
111
|
x: string;
|
111
|
-
d: string;
|
112
112
|
}>>;
|
113
113
|
publicKeyBase58: z.ZodOptional<z.ZodString>;
|
114
114
|
blockChainAccountId: z.ZodOptional<z.ZodString>;
|
@@ -118,10 +118,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
118
118
|
publicKeyJwk?: {
|
119
119
|
y?: string | undefined;
|
120
120
|
n?: string | undefined;
|
121
|
+
d?: string | undefined;
|
121
122
|
kty: string;
|
122
123
|
crv: string;
|
123
124
|
x: string;
|
124
|
-
d: string;
|
125
125
|
} | undefined;
|
126
126
|
publicKeyBase58?: string | undefined;
|
127
127
|
blockChainAccountId?: string | undefined;
|
@@ -134,10 +134,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
134
134
|
publicKeyJwk?: {
|
135
135
|
y?: string | undefined;
|
136
136
|
n?: string | undefined;
|
137
|
+
d?: string | undefined;
|
137
138
|
kty: string;
|
138
139
|
crv: string;
|
139
140
|
x: string;
|
140
|
-
d: string;
|
141
141
|
} | undefined;
|
142
142
|
publicKeyBase58?: string | undefined;
|
143
143
|
blockChainAccountId?: string | undefined;
|
@@ -156,21 +156,21 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
156
156
|
x: z.ZodString;
|
157
157
|
y: z.ZodOptional<z.ZodString>;
|
158
158
|
n: z.ZodOptional<z.ZodString>;
|
159
|
-
d: z.ZodString
|
159
|
+
d: z.ZodOptional<z.ZodString>;
|
160
160
|
}, "strip", z.ZodTypeAny, {
|
161
161
|
y?: string | undefined;
|
162
162
|
n?: string | undefined;
|
163
|
+
d?: string | undefined;
|
163
164
|
kty: string;
|
164
165
|
crv: string;
|
165
166
|
x: string;
|
166
|
-
d: string;
|
167
167
|
}, {
|
168
168
|
y?: string | undefined;
|
169
169
|
n?: string | undefined;
|
170
|
+
d?: string | undefined;
|
170
171
|
kty: string;
|
171
172
|
crv: string;
|
172
173
|
x: string;
|
173
|
-
d: string;
|
174
174
|
}>>;
|
175
175
|
publicKeyBase58: z.ZodOptional<z.ZodString>;
|
176
176
|
blockChainAccountId: z.ZodOptional<z.ZodString>;
|
@@ -180,10 +180,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
180
180
|
publicKeyJwk?: {
|
181
181
|
y?: string | undefined;
|
182
182
|
n?: string | undefined;
|
183
|
+
d?: string | undefined;
|
183
184
|
kty: string;
|
184
185
|
crv: string;
|
185
186
|
x: string;
|
186
|
-
d: string;
|
187
187
|
} | undefined;
|
188
188
|
publicKeyBase58?: string | undefined;
|
189
189
|
blockChainAccountId?: string | undefined;
|
@@ -196,10 +196,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
196
196
|
publicKeyJwk?: {
|
197
197
|
y?: string | undefined;
|
198
198
|
n?: string | undefined;
|
199
|
+
d?: string | undefined;
|
199
200
|
kty: string;
|
200
201
|
crv: string;
|
201
202
|
x: string;
|
202
|
-
d: string;
|
203
203
|
} | undefined;
|
204
204
|
publicKeyBase58?: string | undefined;
|
205
205
|
blockChainAccountId?: string | undefined;
|
@@ -218,21 +218,21 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
218
218
|
x: z.ZodString;
|
219
219
|
y: z.ZodOptional<z.ZodString>;
|
220
220
|
n: z.ZodOptional<z.ZodString>;
|
221
|
-
d: z.ZodString
|
221
|
+
d: z.ZodOptional<z.ZodString>;
|
222
222
|
}, "strip", z.ZodTypeAny, {
|
223
223
|
y?: string | undefined;
|
224
224
|
n?: string | undefined;
|
225
|
+
d?: string | undefined;
|
225
226
|
kty: string;
|
226
227
|
crv: string;
|
227
228
|
x: string;
|
228
|
-
d: string;
|
229
229
|
}, {
|
230
230
|
y?: string | undefined;
|
231
231
|
n?: string | undefined;
|
232
|
+
d?: string | undefined;
|
232
233
|
kty: string;
|
233
234
|
crv: string;
|
234
235
|
x: string;
|
235
|
-
d: string;
|
236
236
|
}>>;
|
237
237
|
publicKeyBase58: z.ZodOptional<z.ZodString>;
|
238
238
|
blockChainAccountId: z.ZodOptional<z.ZodString>;
|
@@ -242,10 +242,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
242
242
|
publicKeyJwk?: {
|
243
243
|
y?: string | undefined;
|
244
244
|
n?: string | undefined;
|
245
|
+
d?: string | undefined;
|
245
246
|
kty: string;
|
246
247
|
crv: string;
|
247
248
|
x: string;
|
248
|
-
d: string;
|
249
249
|
} | undefined;
|
250
250
|
publicKeyBase58?: string | undefined;
|
251
251
|
blockChainAccountId?: string | undefined;
|
@@ -258,10 +258,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
258
258
|
publicKeyJwk?: {
|
259
259
|
y?: string | undefined;
|
260
260
|
n?: string | undefined;
|
261
|
+
d?: string | undefined;
|
261
262
|
kty: string;
|
262
263
|
crv: string;
|
263
264
|
x: string;
|
264
|
-
d: string;
|
265
265
|
} | undefined;
|
266
266
|
publicKeyBase58?: string | undefined;
|
267
267
|
blockChainAccountId?: string | undefined;
|
@@ -280,21 +280,21 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
280
280
|
x: z.ZodString;
|
281
281
|
y: z.ZodOptional<z.ZodString>;
|
282
282
|
n: z.ZodOptional<z.ZodString>;
|
283
|
-
d: z.ZodString
|
283
|
+
d: z.ZodOptional<z.ZodString>;
|
284
284
|
}, "strip", z.ZodTypeAny, {
|
285
285
|
y?: string | undefined;
|
286
286
|
n?: string | undefined;
|
287
|
+
d?: string | undefined;
|
287
288
|
kty: string;
|
288
289
|
crv: string;
|
289
290
|
x: string;
|
290
|
-
d: string;
|
291
291
|
}, {
|
292
292
|
y?: string | undefined;
|
293
293
|
n?: string | undefined;
|
294
|
+
d?: string | undefined;
|
294
295
|
kty: string;
|
295
296
|
crv: string;
|
296
297
|
x: string;
|
297
|
-
d: string;
|
298
298
|
}>>;
|
299
299
|
publicKeyBase58: z.ZodOptional<z.ZodString>;
|
300
300
|
blockChainAccountId: z.ZodOptional<z.ZodString>;
|
@@ -304,10 +304,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
304
304
|
publicKeyJwk?: {
|
305
305
|
y?: string | undefined;
|
306
306
|
n?: string | undefined;
|
307
|
+
d?: string | undefined;
|
307
308
|
kty: string;
|
308
309
|
crv: string;
|
309
310
|
x: string;
|
310
|
-
d: string;
|
311
311
|
} | undefined;
|
312
312
|
publicKeyBase58?: string | undefined;
|
313
313
|
blockChainAccountId?: string | undefined;
|
@@ -320,10 +320,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
320
320
|
publicKeyJwk?: {
|
321
321
|
y?: string | undefined;
|
322
322
|
n?: string | undefined;
|
323
|
+
d?: string | undefined;
|
323
324
|
kty: string;
|
324
325
|
crv: string;
|
325
326
|
x: string;
|
326
|
-
d: string;
|
327
327
|
} | undefined;
|
328
328
|
publicKeyBase58?: string | undefined;
|
329
329
|
blockChainAccountId?: string | undefined;
|
@@ -342,21 +342,21 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
342
342
|
x: z.ZodString;
|
343
343
|
y: z.ZodOptional<z.ZodString>;
|
344
344
|
n: z.ZodOptional<z.ZodString>;
|
345
|
-
d: z.ZodString
|
345
|
+
d: z.ZodOptional<z.ZodString>;
|
346
346
|
}, "strip", z.ZodTypeAny, {
|
347
347
|
y?: string | undefined;
|
348
348
|
n?: string | undefined;
|
349
|
+
d?: string | undefined;
|
349
350
|
kty: string;
|
350
351
|
crv: string;
|
351
352
|
x: string;
|
352
|
-
d: string;
|
353
353
|
}, {
|
354
354
|
y?: string | undefined;
|
355
355
|
n?: string | undefined;
|
356
|
+
d?: string | undefined;
|
356
357
|
kty: string;
|
357
358
|
crv: string;
|
358
359
|
x: string;
|
359
|
-
d: string;
|
360
360
|
}>>;
|
361
361
|
publicKeyBase58: z.ZodOptional<z.ZodString>;
|
362
362
|
blockChainAccountId: z.ZodOptional<z.ZodString>;
|
@@ -366,10 +366,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
366
366
|
publicKeyJwk?: {
|
367
367
|
y?: string | undefined;
|
368
368
|
n?: string | undefined;
|
369
|
+
d?: string | undefined;
|
369
370
|
kty: string;
|
370
371
|
crv: string;
|
371
372
|
x: string;
|
372
|
-
d: string;
|
373
373
|
} | undefined;
|
374
374
|
publicKeyBase58?: string | undefined;
|
375
375
|
blockChainAccountId?: string | undefined;
|
@@ -382,10 +382,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
382
382
|
publicKeyJwk?: {
|
383
383
|
y?: string | undefined;
|
384
384
|
n?: string | undefined;
|
385
|
+
d?: string | undefined;
|
385
386
|
kty: string;
|
386
387
|
crv: string;
|
387
388
|
x: string;
|
388
|
-
d: string;
|
389
389
|
} | undefined;
|
390
390
|
publicKeyBase58?: string | undefined;
|
391
391
|
blockChainAccountId?: string | undefined;
|
@@ -404,21 +404,21 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
404
404
|
x: z.ZodString;
|
405
405
|
y: z.ZodOptional<z.ZodString>;
|
406
406
|
n: z.ZodOptional<z.ZodString>;
|
407
|
-
d: z.ZodString
|
407
|
+
d: z.ZodOptional<z.ZodString>;
|
408
408
|
}, "strip", z.ZodTypeAny, {
|
409
409
|
y?: string | undefined;
|
410
410
|
n?: string | undefined;
|
411
|
+
d?: string | undefined;
|
411
412
|
kty: string;
|
412
413
|
crv: string;
|
413
414
|
x: string;
|
414
|
-
d: string;
|
415
415
|
}, {
|
416
416
|
y?: string | undefined;
|
417
417
|
n?: string | undefined;
|
418
|
+
d?: string | undefined;
|
418
419
|
kty: string;
|
419
420
|
crv: string;
|
420
421
|
x: string;
|
421
|
-
d: string;
|
422
422
|
}>>;
|
423
423
|
publicKeyBase58: z.ZodOptional<z.ZodString>;
|
424
424
|
blockChainAccountId: z.ZodOptional<z.ZodString>;
|
@@ -428,10 +428,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
428
428
|
publicKeyJwk?: {
|
429
429
|
y?: string | undefined;
|
430
430
|
n?: string | undefined;
|
431
|
+
d?: string | undefined;
|
431
432
|
kty: string;
|
432
433
|
crv: string;
|
433
434
|
x: string;
|
434
|
-
d: string;
|
435
435
|
} | undefined;
|
436
436
|
publicKeyBase58?: string | undefined;
|
437
437
|
blockChainAccountId?: string | undefined;
|
@@ -444,10 +444,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
444
444
|
publicKeyJwk?: {
|
445
445
|
y?: string | undefined;
|
446
446
|
n?: string | undefined;
|
447
|
+
d?: string | undefined;
|
447
448
|
kty: string;
|
448
449
|
crv: string;
|
449
450
|
x: string;
|
450
|
-
d: string;
|
451
451
|
} | undefined;
|
452
452
|
publicKeyBase58?: string | undefined;
|
453
453
|
blockChainAccountId?: string | undefined;
|
@@ -466,21 +466,21 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
466
466
|
x: z.ZodString;
|
467
467
|
y: z.ZodOptional<z.ZodString>;
|
468
468
|
n: z.ZodOptional<z.ZodString>;
|
469
|
-
d: z.ZodString
|
469
|
+
d: z.ZodOptional<z.ZodString>;
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
471
471
|
y?: string | undefined;
|
472
472
|
n?: string | undefined;
|
473
|
+
d?: string | undefined;
|
473
474
|
kty: string;
|
474
475
|
crv: string;
|
475
476
|
x: string;
|
476
|
-
d: string;
|
477
477
|
}, {
|
478
478
|
y?: string | undefined;
|
479
479
|
n?: string | undefined;
|
480
|
+
d?: string | undefined;
|
480
481
|
kty: string;
|
481
482
|
crv: string;
|
482
483
|
x: string;
|
483
|
-
d: string;
|
484
484
|
}>>;
|
485
485
|
publicKeyBase58: z.ZodOptional<z.ZodString>;
|
486
486
|
blockChainAccountId: z.ZodOptional<z.ZodString>;
|
@@ -490,10 +490,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
490
490
|
publicKeyJwk?: {
|
491
491
|
y?: string | undefined;
|
492
492
|
n?: string | undefined;
|
493
|
+
d?: string | undefined;
|
493
494
|
kty: string;
|
494
495
|
crv: string;
|
495
496
|
x: string;
|
496
|
-
d: string;
|
497
497
|
} | undefined;
|
498
498
|
publicKeyBase58?: string | undefined;
|
499
499
|
blockChainAccountId?: string | undefined;
|
@@ -506,10 +506,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
506
506
|
publicKeyJwk?: {
|
507
507
|
y?: string | undefined;
|
508
508
|
n?: string | undefined;
|
509
|
+
d?: string | undefined;
|
509
510
|
kty: string;
|
510
511
|
crv: string;
|
511
512
|
x: string;
|
512
|
-
d: string;
|
513
513
|
} | undefined;
|
514
514
|
publicKeyBase58?: string | undefined;
|
515
515
|
blockChainAccountId?: string | undefined;
|
@@ -599,10 +599,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
599
599
|
publicKeyJwk?: {
|
600
600
|
y?: string | undefined;
|
601
601
|
n?: string | undefined;
|
602
|
+
d?: string | undefined;
|
602
603
|
kty: string;
|
603
604
|
crv: string;
|
604
605
|
x: string;
|
605
|
-
d: string;
|
606
606
|
} | undefined;
|
607
607
|
publicKeyBase58?: string | undefined;
|
608
608
|
blockChainAccountId?: string | undefined;
|
@@ -639,10 +639,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
639
639
|
publicKeyJwk?: {
|
640
640
|
y?: string | undefined;
|
641
641
|
n?: string | undefined;
|
642
|
+
d?: string | undefined;
|
642
643
|
kty: string;
|
643
644
|
crv: string;
|
644
645
|
x: string;
|
645
|
-
d: string;
|
646
646
|
} | undefined;
|
647
647
|
publicKeyBase58?: string | undefined;
|
648
648
|
blockChainAccountId?: string | undefined;
|
@@ -656,10 +656,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
656
656
|
publicKeyJwk?: {
|
657
657
|
y?: string | undefined;
|
658
658
|
n?: string | undefined;
|
659
|
+
d?: string | undefined;
|
659
660
|
kty: string;
|
660
661
|
crv: string;
|
661
662
|
x: string;
|
662
|
-
d: string;
|
663
663
|
} | undefined;
|
664
664
|
publicKeyBase58?: string | undefined;
|
665
665
|
blockChainAccountId?: string | undefined;
|
@@ -673,10 +673,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
673
673
|
publicKeyJwk?: {
|
674
674
|
y?: string | undefined;
|
675
675
|
n?: string | undefined;
|
676
|
+
d?: string | undefined;
|
676
677
|
kty: string;
|
677
678
|
crv: string;
|
678
679
|
x: string;
|
679
|
-
d: string;
|
680
680
|
} | undefined;
|
681
681
|
publicKeyBase58?: string | undefined;
|
682
682
|
blockChainAccountId?: string | undefined;
|
@@ -690,10 +690,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
690
690
|
publicKeyJwk?: {
|
691
691
|
y?: string | undefined;
|
692
692
|
n?: string | undefined;
|
693
|
+
d?: string | undefined;
|
693
694
|
kty: string;
|
694
695
|
crv: string;
|
695
696
|
x: string;
|
696
|
-
d: string;
|
697
697
|
} | undefined;
|
698
698
|
publicKeyBase58?: string | undefined;
|
699
699
|
blockChainAccountId?: string | undefined;
|
@@ -707,10 +707,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
707
707
|
publicKeyJwk?: {
|
708
708
|
y?: string | undefined;
|
709
709
|
n?: string | undefined;
|
710
|
+
d?: string | undefined;
|
710
711
|
kty: string;
|
711
712
|
crv: string;
|
712
713
|
x: string;
|
713
|
-
d: string;
|
714
714
|
} | undefined;
|
715
715
|
publicKeyBase58?: string | undefined;
|
716
716
|
blockChainAccountId?: string | undefined;
|
@@ -724,10 +724,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
724
724
|
publicKeyJwk?: {
|
725
725
|
y?: string | undefined;
|
726
726
|
n?: string | undefined;
|
727
|
+
d?: string | undefined;
|
727
728
|
kty: string;
|
728
729
|
crv: string;
|
729
730
|
x: string;
|
730
|
-
d: string;
|
731
731
|
} | undefined;
|
732
732
|
publicKeyBase58?: string | undefined;
|
733
733
|
blockChainAccountId?: string | undefined;
|
@@ -751,10 +751,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
751
751
|
publicKeyJwk?: {
|
752
752
|
y?: string | undefined;
|
753
753
|
n?: string | undefined;
|
754
|
+
d?: string | undefined;
|
754
755
|
kty: string;
|
755
756
|
crv: string;
|
756
757
|
x: string;
|
757
|
-
d: string;
|
758
758
|
} | undefined;
|
759
759
|
publicKeyBase58?: string | undefined;
|
760
760
|
blockChainAccountId?: string | undefined;
|
@@ -791,10 +791,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
791
791
|
publicKeyJwk?: {
|
792
792
|
y?: string | undefined;
|
793
793
|
n?: string | undefined;
|
794
|
+
d?: string | undefined;
|
794
795
|
kty: string;
|
795
796
|
crv: string;
|
796
797
|
x: string;
|
797
|
-
d: string;
|
798
798
|
} | undefined;
|
799
799
|
publicKeyBase58?: string | undefined;
|
800
800
|
blockChainAccountId?: string | undefined;
|
@@ -808,10 +808,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
808
808
|
publicKeyJwk?: {
|
809
809
|
y?: string | undefined;
|
810
810
|
n?: string | undefined;
|
811
|
+
d?: string | undefined;
|
811
812
|
kty: string;
|
812
813
|
crv: string;
|
813
814
|
x: string;
|
814
|
-
d: string;
|
815
815
|
} | undefined;
|
816
816
|
publicKeyBase58?: string | undefined;
|
817
817
|
blockChainAccountId?: string | undefined;
|
@@ -825,10 +825,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
825
825
|
publicKeyJwk?: {
|
826
826
|
y?: string | undefined;
|
827
827
|
n?: string | undefined;
|
828
|
+
d?: string | undefined;
|
828
829
|
kty: string;
|
829
830
|
crv: string;
|
830
831
|
x: string;
|
831
|
-
d: string;
|
832
832
|
} | undefined;
|
833
833
|
publicKeyBase58?: string | undefined;
|
834
834
|
blockChainAccountId?: string | undefined;
|
@@ -842,10 +842,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
842
842
|
publicKeyJwk?: {
|
843
843
|
y?: string | undefined;
|
844
844
|
n?: string | undefined;
|
845
|
+
d?: string | undefined;
|
845
846
|
kty: string;
|
846
847
|
crv: string;
|
847
848
|
x: string;
|
848
|
-
d: string;
|
849
849
|
} | undefined;
|
850
850
|
publicKeyBase58?: string | undefined;
|
851
851
|
blockChainAccountId?: string | undefined;
|
@@ -859,10 +859,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
859
859
|
publicKeyJwk?: {
|
860
860
|
y?: string | undefined;
|
861
861
|
n?: string | undefined;
|
862
|
+
d?: string | undefined;
|
862
863
|
kty: string;
|
863
864
|
crv: string;
|
864
865
|
x: string;
|
865
|
-
d: string;
|
866
866
|
} | undefined;
|
867
867
|
publicKeyBase58?: string | undefined;
|
868
868
|
blockChainAccountId?: string | undefined;
|
@@ -876,10 +876,10 @@ export declare const DidDocumentValidator: z.ZodObject<{
|
|
876
876
|
publicKeyJwk?: {
|
877
877
|
y?: string | undefined;
|
878
878
|
n?: string | undefined;
|
879
|
+
d?: string | undefined;
|
879
880
|
kty: string;
|
880
881
|
crv: string;
|
881
882
|
x: string;
|
882
|
-
d: string;
|
883
883
|
} | undefined;
|
884
884
|
publicKeyBase58?: string | undefined;
|
885
885
|
blockChainAccountId?: string | undefined;
|