@pagopa/io-react-native-wallet 0.6.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/commonjs/pid/issuing.js +58 -12
- package/lib/commonjs/pid/issuing.js.map +1 -1
- package/lib/commonjs/rp/__test__/index.test.js +20 -18
- package/lib/commonjs/rp/__test__/index.test.js.map +1 -1
- package/lib/commonjs/rp/index.js +2 -2
- package/lib/commonjs/rp/index.js.map +1 -1
- package/lib/commonjs/trust/types.js +3 -1
- package/lib/commonjs/trust/types.js.map +1 -1
- package/lib/commonjs/utils/decoder.js +46 -0
- package/lib/commonjs/utils/decoder.js.map +1 -0
- package/lib/commonjs/wallet-instance-attestation/issuing.js +35 -3
- package/lib/commonjs/wallet-instance-attestation/issuing.js.map +1 -1
- package/lib/module/pid/issuing.js +59 -12
- package/lib/module/pid/issuing.js.map +1 -1
- package/lib/module/rp/__test__/index.test.js +20 -18
- package/lib/module/rp/__test__/index.test.js.map +1 -1
- package/lib/module/rp/index.js +2 -2
- package/lib/module/rp/index.js.map +1 -1
- package/lib/module/trust/types.js +3 -1
- package/lib/module/trust/types.js.map +1 -1
- package/lib/module/utils/decoder.js +40 -0
- package/lib/module/utils/decoder.js.map +1 -0
- package/lib/module/wallet-instance-attestation/issuing.js +35 -3
- package/lib/module/wallet-instance-attestation/issuing.js.map +1 -1
- package/lib/typescript/pid/issuing.d.ts +4 -4
- package/lib/typescript/pid/issuing.d.ts.map +1 -1
- package/lib/typescript/rp/types.d.ts +4 -4
- package/lib/typescript/trust/index.d.ts +50 -46
- package/lib/typescript/trust/index.d.ts.map +1 -1
- package/lib/typescript/trust/types.d.ts +1020 -684
- package/lib/typescript/trust/types.d.ts.map +1 -1
- package/lib/typescript/utils/decoder.d.ts +6 -0
- package/lib/typescript/utils/decoder.d.ts.map +1 -0
- package/lib/typescript/wallet-instance-attestation/issuing.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/pid/issuing.ts +75 -8
- package/src/rp/__test__/index.test.ts +23 -21
- package/src/rp/index.ts +2 -2
- package/src/trust/types.ts +1 -1
- package/src/utils/decoder.ts +44 -0
- package/src/wallet-instance-attestation/issuing.ts +46 -5
@@ -393,29 +393,31 @@ export declare const getRelyingPartyEntityConfiguration: (entityBaseUrl: Paramet
|
|
393
393
|
metadata: {
|
394
394
|
wallet_relying_party: {
|
395
395
|
jwks: {
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
396
|
+
keys: {
|
397
|
+
kty: "RSA" | "EC";
|
398
|
+
alg?: string | undefined;
|
399
|
+
crv?: string | undefined;
|
400
|
+
d?: string | undefined;
|
401
|
+
dp?: string | undefined;
|
402
|
+
dq?: string | undefined;
|
403
|
+
e?: string | undefined;
|
404
|
+
ext?: boolean | undefined;
|
405
|
+
k?: string | undefined;
|
406
|
+
key_ops?: string[] | undefined;
|
407
|
+
kid?: string | undefined;
|
408
|
+
n?: string | undefined;
|
409
|
+
p?: string | undefined;
|
410
|
+
q?: string | undefined;
|
411
|
+
qi?: string | undefined;
|
412
|
+
use?: string | undefined;
|
413
|
+
x?: string | undefined;
|
414
|
+
y?: string | undefined;
|
415
|
+
x5c?: string[] | undefined;
|
416
|
+
x5t?: string | undefined;
|
417
|
+
"x5t#S256"?: string | undefined;
|
418
|
+
x5u?: string | undefined;
|
419
|
+
}[];
|
420
|
+
};
|
419
421
|
application_type?: string | undefined;
|
420
422
|
client_id?: string | undefined;
|
421
423
|
client_name?: string | undefined;
|
@@ -783,29 +785,31 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
|
|
783
785
|
metadata: {
|
784
786
|
wallet_relying_party: {
|
785
787
|
jwks: {
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
788
|
+
keys: {
|
789
|
+
kty: "RSA" | "EC";
|
790
|
+
alg?: string | undefined;
|
791
|
+
crv?: string | undefined;
|
792
|
+
d?: string | undefined;
|
793
|
+
dp?: string | undefined;
|
794
|
+
dq?: string | undefined;
|
795
|
+
e?: string | undefined;
|
796
|
+
ext?: boolean | undefined;
|
797
|
+
k?: string | undefined;
|
798
|
+
key_ops?: string[] | undefined;
|
799
|
+
kid?: string | undefined;
|
800
|
+
n?: string | undefined;
|
801
|
+
p?: string | undefined;
|
802
|
+
q?: string | undefined;
|
803
|
+
qi?: string | undefined;
|
804
|
+
use?: string | undefined;
|
805
|
+
x?: string | undefined;
|
806
|
+
y?: string | undefined;
|
807
|
+
x5c?: string[] | undefined;
|
808
|
+
x5t?: string | undefined;
|
809
|
+
"x5t#S256"?: string | undefined;
|
810
|
+
x5u?: string | undefined;
|
811
|
+
}[];
|
812
|
+
};
|
809
813
|
application_type?: string | undefined;
|
810
814
|
client_id?: string | undefined;
|
811
815
|
client_name?: string | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/trust/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iCAAiC,EACjC,8BAA8B,EAC9B,mCAAmC,EACnC,+BAA+B,EAC/B,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAE5B;;;;;;;;;;;;;;;;GAgBG;AACH,iBAAe,gCAAgC,CAC7C,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,OAAO,iCAAiC,EAChD,OAAO,CAAC,EAAE;IACR,Q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