@pagopa/io-react-native-wallet 0.4.0 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/commonjs/index.js +26 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/pid/issuing.js +1 -1
- package/lib/commonjs/pid/issuing.js.map +1 -1
- package/lib/commonjs/pid/metadata.js +6 -8
- package/lib/commonjs/pid/metadata.js.map +1 -1
- package/lib/commonjs/rp/types.js +5 -5
- package/lib/commonjs/rp/types.js.map +1 -1
- package/lib/commonjs/trust/types.js +12 -8
- package/lib/commonjs/trust/types.js.map +1 -1
- package/lib/module/index.js +3 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/pid/issuing.js +1 -1
- package/lib/module/pid/issuing.js.map +1 -1
- package/lib/module/pid/metadata.js +6 -8
- package/lib/module/pid/metadata.js.map +1 -1
- package/lib/module/rp/types.js +5 -5
- package/lib/module/rp/types.js.map +1 -1
- package/lib/module/trust/types.js +12 -8
- package/lib/module/trust/types.js.map +1 -1
- package/lib/typescript/index.d.ts +3 -1
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/pid/metadata.d.ts +145 -191
- package/lib/typescript/pid/metadata.d.ts.map +1 -1
- package/lib/typescript/rp/types.d.ts +299 -103
- package/lib/typescript/rp/types.d.ts.map +1 -1
- package/lib/typescript/trust/types.d.ts +304 -120
- package/lib/typescript/trust/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +10 -0
- package/src/pid/issuing.ts +1 -1
- package/src/pid/metadata.ts +4 -4
- package/src/rp/types.ts +9 -7
- package/src/trust/types.ts +18 -10
@@ -166,107 +166,73 @@ export declare const PidIssuerEntityConfiguration: z.ZodObject<{
|
|
166
166
|
pushed_authorization_request_endpoint: z.ZodString;
|
167
167
|
dpop_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
|
168
168
|
credential_endpoint: z.ZodString;
|
169
|
-
credentials_supported: z.ZodObject<{
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
alt_text: z.ZodString;
|
180
|
-
}, "strip", z.ZodTypeAny, {
|
181
|
-
url: string;
|
182
|
-
alt_text: string;
|
183
|
-
}, {
|
184
|
-
url: string;
|
185
|
-
alt_text: string;
|
186
|
-
}>;
|
187
|
-
background_color: z.ZodString;
|
188
|
-
text_color: z.ZodString;
|
169
|
+
credentials_supported: z.ZodArray<z.ZodObject<{
|
170
|
+
format: z.ZodLiteral<"vc+sd-jwt">;
|
171
|
+
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString, "many">;
|
172
|
+
cryptographic_suites_supported: z.ZodArray<z.ZodString, "many">;
|
173
|
+
display: z.ZodArray<z.ZodObject<{
|
174
|
+
name: z.ZodString;
|
175
|
+
locale: z.ZodString;
|
176
|
+
logo: z.ZodObject<{
|
177
|
+
url: z.ZodString;
|
178
|
+
alt_text: z.ZodString;
|
189
179
|
}, "strip", z.ZodTypeAny, {
|
190
|
-
|
191
|
-
|
192
|
-
logo: {
|
193
|
-
url: string;
|
194
|
-
alt_text: string;
|
195
|
-
};
|
196
|
-
background_color: string;
|
197
|
-
text_color: string;
|
180
|
+
url: string;
|
181
|
+
alt_text: string;
|
198
182
|
}, {
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
};
|
205
|
-
background_color: string;
|
206
|
-
text_color: string;
|
207
|
-
}>, "many">;
|
183
|
+
url: string;
|
184
|
+
alt_text: string;
|
185
|
+
}>;
|
186
|
+
background_color: z.ZodString;
|
187
|
+
text_color: z.ZodString;
|
208
188
|
}, "strip", z.ZodTypeAny, {
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
alt_text: string;
|
218
|
-
};
|
219
|
-
background_color: string;
|
220
|
-
text_color: string;
|
221
|
-
}[];
|
189
|
+
name: string;
|
190
|
+
locale: string;
|
191
|
+
logo: {
|
192
|
+
url: string;
|
193
|
+
alt_text: string;
|
194
|
+
};
|
195
|
+
background_color: string;
|
196
|
+
text_color: string;
|
222
197
|
}, {
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
};
|
233
|
-
background_color: string;
|
234
|
-
text_color: string;
|
235
|
-
}[];
|
236
|
-
}>;
|
198
|
+
name: string;
|
199
|
+
locale: string;
|
200
|
+
logo: {
|
201
|
+
url: string;
|
202
|
+
alt_text: string;
|
203
|
+
};
|
204
|
+
background_color: string;
|
205
|
+
text_color: string;
|
206
|
+
}>, "many">;
|
237
207
|
}, "strip", z.ZodTypeAny, {
|
238
|
-
"
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
}[];
|
252
|
-
};
|
208
|
+
format: "vc+sd-jwt";
|
209
|
+
cryptographic_binding_methods_supported: string[];
|
210
|
+
cryptographic_suites_supported: string[];
|
211
|
+
display: {
|
212
|
+
name: string;
|
213
|
+
locale: string;
|
214
|
+
logo: {
|
215
|
+
url: string;
|
216
|
+
alt_text: string;
|
217
|
+
};
|
218
|
+
background_color: string;
|
219
|
+
text_color: string;
|
220
|
+
}[];
|
253
221
|
}, {
|
254
|
-
"
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
};
|
269
|
-
}>;
|
222
|
+
format: "vc+sd-jwt";
|
223
|
+
cryptographic_binding_methods_supported: string[];
|
224
|
+
cryptographic_suites_supported: string[];
|
225
|
+
display: {
|
226
|
+
name: string;
|
227
|
+
locale: string;
|
228
|
+
logo: {
|
229
|
+
url: string;
|
230
|
+
alt_text: string;
|
231
|
+
};
|
232
|
+
background_color: string;
|
233
|
+
text_color: string;
|
234
|
+
}[];
|
235
|
+
}>, "many">;
|
270
236
|
}, "strip", z.ZodTypeAny, {
|
271
237
|
credential_issuer: string;
|
272
238
|
authorization_endpoint: string;
|
@@ -275,22 +241,20 @@ export declare const PidIssuerEntityConfiguration: z.ZodObject<{
|
|
275
241
|
dpop_signing_alg_values_supported: string[];
|
276
242
|
credential_endpoint: string;
|
277
243
|
credentials_supported: {
|
278
|
-
"
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
};
|
293
|
-
};
|
244
|
+
format: "vc+sd-jwt";
|
245
|
+
cryptographic_binding_methods_supported: string[];
|
246
|
+
cryptographic_suites_supported: string[];
|
247
|
+
display: {
|
248
|
+
name: string;
|
249
|
+
locale: string;
|
250
|
+
logo: {
|
251
|
+
url: string;
|
252
|
+
alt_text: string;
|
253
|
+
};
|
254
|
+
background_color: string;
|
255
|
+
text_color: string;
|
256
|
+
}[];
|
257
|
+
}[];
|
294
258
|
}, {
|
295
259
|
credential_issuer: string;
|
296
260
|
authorization_endpoint: string;
|
@@ -299,22 +263,20 @@ export declare const PidIssuerEntityConfiguration: z.ZodObject<{
|
|
299
263
|
dpop_signing_alg_values_supported: string[];
|
300
264
|
credential_endpoint: string;
|
301
265
|
credentials_supported: {
|
302
|
-
"
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
};
|
317
|
-
};
|
266
|
+
format: "vc+sd-jwt";
|
267
|
+
cryptographic_binding_methods_supported: string[];
|
268
|
+
cryptographic_suites_supported: string[];
|
269
|
+
display: {
|
270
|
+
name: string;
|
271
|
+
locale: string;
|
272
|
+
logo: {
|
273
|
+
url: string;
|
274
|
+
alt_text: string;
|
275
|
+
};
|
276
|
+
background_color: string;
|
277
|
+
text_color: string;
|
278
|
+
}[];
|
279
|
+
}[];
|
318
280
|
}>;
|
319
281
|
federation_entity: z.ZodObject<{
|
320
282
|
organization_name: z.ZodString;
|
@@ -344,22 +306,20 @@ export declare const PidIssuerEntityConfiguration: z.ZodObject<{
|
|
344
306
|
dpop_signing_alg_values_supported: string[];
|
345
307
|
credential_endpoint: string;
|
346
308
|
credentials_supported: {
|
347
|
-
"
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
};
|
362
|
-
};
|
309
|
+
format: "vc+sd-jwt";
|
310
|
+
cryptographic_binding_methods_supported: string[];
|
311
|
+
cryptographic_suites_supported: string[];
|
312
|
+
display: {
|
313
|
+
name: string;
|
314
|
+
locale: string;
|
315
|
+
logo: {
|
316
|
+
url: string;
|
317
|
+
alt_text: string;
|
318
|
+
};
|
319
|
+
background_color: string;
|
320
|
+
text_color: string;
|
321
|
+
}[];
|
322
|
+
}[];
|
363
323
|
};
|
364
324
|
federation_entity: {
|
365
325
|
organization_name: string;
|
@@ -377,22 +337,20 @@ export declare const PidIssuerEntityConfiguration: z.ZodObject<{
|
|
377
337
|
dpop_signing_alg_values_supported: string[];
|
378
338
|
credential_endpoint: string;
|
379
339
|
credentials_supported: {
|
380
|
-
"
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
};
|
395
|
-
};
|
340
|
+
format: "vc+sd-jwt";
|
341
|
+
cryptographic_binding_methods_supported: string[];
|
342
|
+
cryptographic_suites_supported: string[];
|
343
|
+
display: {
|
344
|
+
name: string;
|
345
|
+
locale: string;
|
346
|
+
logo: {
|
347
|
+
url: string;
|
348
|
+
alt_text: string;
|
349
|
+
};
|
350
|
+
background_color: string;
|
351
|
+
text_color: string;
|
352
|
+
}[];
|
353
|
+
}[];
|
396
354
|
};
|
397
355
|
federation_entity: {
|
398
356
|
organization_name: string;
|
@@ -438,22 +396,20 @@ export declare const PidIssuerEntityConfiguration: z.ZodObject<{
|
|
438
396
|
dpop_signing_alg_values_supported: string[];
|
439
397
|
credential_endpoint: string;
|
440
398
|
credentials_supported: {
|
441
|
-
"
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
};
|
456
|
-
};
|
399
|
+
format: "vc+sd-jwt";
|
400
|
+
cryptographic_binding_methods_supported: string[];
|
401
|
+
cryptographic_suites_supported: string[];
|
402
|
+
display: {
|
403
|
+
name: string;
|
404
|
+
locale: string;
|
405
|
+
logo: {
|
406
|
+
url: string;
|
407
|
+
alt_text: string;
|
408
|
+
};
|
409
|
+
background_color: string;
|
410
|
+
text_color: string;
|
411
|
+
}[];
|
412
|
+
}[];
|
457
413
|
};
|
458
414
|
federation_entity: {
|
459
415
|
organization_name: string;
|
@@ -499,22 +455,20 @@ export declare const PidIssuerEntityConfiguration: z.ZodObject<{
|
|
499
455
|
dpop_signing_alg_values_supported: string[];
|
500
456
|
credential_endpoint: string;
|
501
457
|
credentials_supported: {
|
502
|
-
"
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
};
|
517
|
-
};
|
458
|
+
format: "vc+sd-jwt";
|
459
|
+
cryptographic_binding_methods_supported: string[];
|
460
|
+
cryptographic_suites_supported: string[];
|
461
|
+
display: {
|
462
|
+
name: string;
|
463
|
+
locale: string;
|
464
|
+
logo: {
|
465
|
+
url: string;
|
466
|
+
alt_text: string;
|
467
|
+
};
|
468
|
+
background_color: string;
|
469
|
+
text_color: string;
|
470
|
+
}[];
|
471
|
+
}[];
|
518
472
|
};
|
519
473
|
federation_entity: {
|
520
474
|
organization_name: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../../src/pid/metadata.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACpE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS7B,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,4BAA4B,CACpC,CAAC;AACF,eAAO,MAAM,4BAA4B
|
1
|
+
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../../src/pid/metadata.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACpE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS7B,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,4BAA4B,CACpC,CAAC;AACF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BvC,CAAC"}
|