@pagopa/io-react-native-wallet 3.0.0 → 3.1.0
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.
- package/lib/commonjs/api/index.js +3 -0
- package/lib/commonjs/api/index.js.map +1 -1
- package/lib/commonjs/client/generated/wallet-provider.js +42 -4
- package/lib/commonjs/client/generated/wallet-provider.js.map +1 -1
- package/lib/commonjs/client/index.js +5 -3
- package/lib/commonjs/client/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/README.md +2 -0
- package/lib/commonjs/credential/issuance/api/IssuerConfig.js +2 -2
- package/lib/commonjs/credential/issuance/api/IssuerConfig.js.map +1 -1
- package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js +2 -1
- package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +2 -0
- package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js +2 -0
- package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js +15 -8
- package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.3.3/mappers.js +0 -1
- package/lib/commonjs/credential/issuance/v1.3.3/mappers.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js +2 -2
- package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
- package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js +2 -1
- package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/04-verify-request-object.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.3.3/04-verify-request-object.js +4 -2
- package/lib/commonjs/credential/presentation/v1.3.3/04-verify-request-object.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js +37 -11
- package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js +16 -5
- package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js +4 -2
- package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.3.3/types.js +91 -30
- package/lib/commonjs/credentials-catalogue/v1.3.3/types.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js +4 -4
- package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js.map +1 -1
- package/lib/commonjs/index.js +3 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/sd-jwt/index.js +3 -2
- package/lib/commonjs/sd-jwt/index.js.map +1 -1
- package/lib/commonjs/sd-jwt/utils.js +2 -1
- package/lib/commonjs/sd-jwt/utils.js.map +1 -1
- package/lib/commonjs/trust/common/types.js +3 -3
- package/lib/commonjs/trust/common/types.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/types.js +6 -8
- package/lib/commonjs/trust/v1.0.0/types.js.map +1 -1
- package/lib/commonjs/trust/v1.3.3/types.js +1 -3
- package/lib/commonjs/trust/v1.3.3/types.js.map +1 -1
- package/lib/commonjs/utils/callbacks.js +2 -0
- package/lib/commonjs/utils/callbacks.js.map +1 -1
- package/lib/commonjs/utils/credentials.js +17 -2
- package/lib/commonjs/utils/credentials.js.map +1 -1
- package/lib/commonjs/utils/crypto.js +8 -0
- package/lib/commonjs/utils/crypto.js.map +1 -1
- package/lib/commonjs/utils/dpop.js +1 -1
- package/lib/commonjs/utils/dpop.js.map +1 -1
- package/lib/commonjs/utils/jwk.js +1 -1
- package/lib/commonjs/utils/jwk.js.map +1 -1
- package/lib/commonjs/utils/zod.js +1 -1
- package/lib/commonjs/utils/zod.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/README.md +13 -10
- package/lib/commonjs/wallet-instance-attestation/api/types.js +9 -4
- package/lib/commonjs/wallet-instance-attestation/api/types.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js +2 -2
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js +4 -5
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js +4 -5
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js +5 -7
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js +73 -3
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/mappers.js +26 -0
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/mappers.js.map +1 -0
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js +13 -24
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js +35 -0
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/README.md +73 -0
- package/lib/commonjs/wallet-unit-attestation/api/index.js +6 -0
- package/lib/commonjs/wallet-unit-attestation/api/index.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/api/types.js +45 -0
- package/lib/commonjs/wallet-unit-attestation/api/types.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/index.js +20 -0
- package/lib/commonjs/wallet-unit-attestation/index.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js +11 -0
- package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js +17 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js +118 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js +13 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js +23 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js +20 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js.map +1 -0
- package/lib/module/api/index.js +3 -0
- package/lib/module/api/index.js.map +1 -1
- package/lib/module/client/generated/wallet-provider.js +33 -1
- package/lib/module/client/generated/wallet-provider.js.map +1 -1
- package/lib/module/client/index.js +4 -2
- package/lib/module/client/index.js.map +1 -1
- package/lib/module/credential/issuance/README.md +2 -0
- package/lib/module/credential/issuance/api/IssuerConfig.js +2 -2
- package/lib/module/credential/issuance/api/IssuerConfig.js.map +1 -1
- package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js +2 -1
- package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
- package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +2 -0
- package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
- package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js +2 -0
- package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js +16 -9
- package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
- package/lib/module/credential/issuance/v1.3.3/mappers.js +0 -1
- package/lib/module/credential/issuance/v1.3.3/mappers.js.map +1 -1
- package/lib/module/credential/presentation/api/RelyingPartyConfig.js +1 -1
- package/lib/module/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
- package/lib/module/credential/presentation/common/utils/sd-jwt.js +2 -1
- package/lib/module/credential/presentation/common/utils/sd-jwt.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/04-verify-request-object.js.map +1 -1
- package/lib/module/credential/presentation/v1.3.3/04-verify-request-object.js +4 -2
- package/lib/module/credential/presentation/v1.3.3/04-verify-request-object.js.map +1 -1
- package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js +37 -11
- package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.0.0/mappers.js +16 -5
- package/lib/module/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.3.3/mappers.js +4 -2
- package/lib/module/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.3.3/types.js +91 -30
- package/lib/module/credentials-catalogue/v1.3.3/types.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.3.3/utils.js +4 -4
- package/lib/module/credentials-catalogue/v1.3.3/utils.js.map +1 -1
- package/lib/module/index.js +2 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/sd-jwt/index.js +3 -2
- package/lib/module/sd-jwt/index.js.map +1 -1
- package/lib/module/sd-jwt/utils.js +2 -1
- package/lib/module/sd-jwt/utils.js.map +1 -1
- package/lib/module/trust/common/types.js +3 -3
- package/lib/module/trust/common/types.js.map +1 -1
- package/lib/module/trust/v1.0.0/types.js +5 -7
- package/lib/module/trust/v1.0.0/types.js.map +1 -1
- package/lib/module/trust/v1.3.3/types.js +1 -3
- package/lib/module/trust/v1.3.3/types.js.map +1 -1
- package/lib/module/utils/callbacks.js +3 -0
- package/lib/module/utils/callbacks.js.map +1 -1
- package/lib/module/utils/credentials.js +15 -1
- package/lib/module/utils/credentials.js.map +1 -1
- package/lib/module/utils/crypto.js +8 -0
- package/lib/module/utils/crypto.js.map +1 -1
- package/lib/module/utils/dpop.js +1 -1
- package/lib/module/utils/dpop.js.map +1 -1
- package/lib/module/utils/jwk.js +1 -1
- package/lib/module/utils/jwk.js.map +1 -1
- package/lib/module/utils/zod.js +1 -1
- package/lib/module/utils/zod.js.map +1 -1
- package/lib/module/wallet-instance-attestation/README.md +13 -10
- package/lib/module/wallet-instance-attestation/api/types.js +7 -2
- package/lib/module/wallet-instance-attestation/api/types.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.0.0/index.js +3 -3
- package/lib/module/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js +4 -5
- package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js +3 -4
- package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/index.js +5 -7
- package/lib/module/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js +73 -3
- package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/mappers.js +19 -0
- package/lib/module/wallet-instance-attestation/v1.3.3/mappers.js.map +1 -0
- package/lib/module/wallet-instance-attestation/v1.3.3/types.js +10 -21
- package/lib/module/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/utils.js +29 -0
- package/lib/module/wallet-instance-attestation/v1.3.3/utils.js.map +1 -0
- package/lib/module/wallet-unit-attestation/README.md +73 -0
- package/lib/module/wallet-unit-attestation/api/index.js +2 -0
- package/lib/module/wallet-unit-attestation/api/index.js.map +1 -0
- package/lib/module/wallet-unit-attestation/api/types.js +36 -0
- package/lib/module/wallet-unit-attestation/api/types.js.map +1 -0
- package/lib/module/wallet-unit-attestation/index.js +3 -0
- package/lib/module/wallet-unit-attestation/index.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.0.0/index.js +4 -0
- package/lib/module/wallet-unit-attestation/v1.0.0/index.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/index.js +10 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/index.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js +112 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js +6 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/types.js +14 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/types.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/utils.js +15 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/utils.js.map +1 -0
- package/lib/typescript/api/index.d.ts +2 -0
- package/lib/typescript/api/index.d.ts.map +1 -1
- package/lib/typescript/client/generated/wallet-provider.d.ts +122 -358
- package/lib/typescript/client/generated/wallet-provider.d.ts.map +1 -1
- package/lib/typescript/client/index.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts +2 -0
- package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts +21 -357
- package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/types.d.ts +5 -41
- package/lib/typescript/credential/issuance/api/types.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/common/authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts +103 -106
- package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/types.d.ts +4 -26
- package/lib/typescript/credential/issuance/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/01-evaluate-issuer-trust.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/03-complete-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/05-obtain-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts +594 -2095
- package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/types.d.ts +1 -5
- package/lib/typescript/credential/issuance/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts +9 -154
- package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/api/types.d.ts +30 -106
- package/lib/typescript/credential/presentation/api/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils/dcql.d.ts +29 -244
- package/lib/typescript/credential/presentation/common/utils/dcql.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils/http.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/06-send-authorization-response.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts +56 -58
- package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/types.d.ts +13 -52
- package/lib/typescript/credential/presentation/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/04-verify-request-object.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts +133 -525
- package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/sdkErrorMapper.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/types.d.ts +39 -3672
- package/lib/typescript/credential/presentation/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/utils.mdoc.d.ts.map +1 -1
- package/lib/typescript/credential/status/v1.0.0/mappers.d.ts +6 -6
- package/lib/typescript/credential/status/v1.0.0/types.d.ts +33 -659
- package/lib/typescript/credential/status/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +111 -525
- package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts +48 -20
- package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts +41 -737
- package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts +147 -62
- package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts +180 -941
- package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts +1 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +4 -3
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/mdoc/index.d.ts.map +1 -1
- package/lib/typescript/mdoc/utils.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/index.d.ts +16 -16
- package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/types.d.ts +33 -492
- package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/utils.d.ts.map +1 -1
- package/lib/typescript/trust/api/TrustAnchorConfig.d.ts +12 -201
- package/lib/typescript/trust/api/TrustAnchorConfig.d.ts.map +1 -1
- package/lib/typescript/trust/common/build-chain.d.ts.map +1 -1
- package/lib/typescript/trust/common/types.d.ts +32 -1198
- package/lib/typescript/trust/common/types.d.ts.map +1 -1
- package/lib/typescript/trust/common/utils.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/build-chain.d.ts +1 -53
- package/lib/typescript/trust/v1.0.0/build-chain.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/entities.d.ts +324 -347
- package/lib/typescript/trust/v1.0.0/entities.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/mappers.d.ts +31 -35
- package/lib/typescript/trust/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/types.d.ts +678 -12454
- package/lib/typescript/trust/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/verify-chain.d.ts +4 -56
- package/lib/typescript/trust/v1.0.0/verify-chain.d.ts.map +1 -1
- package/lib/typescript/trust/v1.3.3/entities.d.ts +43 -47
- package/lib/typescript/trust/v1.3.3/entities.d.ts.map +1 -1
- package/lib/typescript/trust/v1.3.3/types.d.ts +655 -14339
- package/lib/typescript/trust/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/utils/auth.d.ts +3 -25
- package/lib/typescript/utils/auth.d.ts.map +1 -1
- package/lib/typescript/utils/callbacks.d.ts.map +1 -1
- package/lib/typescript/utils/config.d.ts +3 -3
- package/lib/typescript/utils/config.d.ts.map +1 -1
- package/lib/typescript/utils/credentials.d.ts +5 -0
- package/lib/typescript/utils/credentials.d.ts.map +1 -1
- package/lib/typescript/utils/crypto.d.ts +18 -0
- package/lib/typescript/utils/crypto.d.ts.map +1 -1
- package/lib/typescript/utils/decoder.d.ts.map +1 -1
- package/lib/typescript/utils/dpop.d.ts +5 -12
- package/lib/typescript/utils/dpop.d.ts.map +1 -1
- package/lib/typescript/utils/errors.d.ts.map +1 -1
- package/lib/typescript/utils/jwk.d.ts +15 -175
- package/lib/typescript/utils/jwk.d.ts.map +1 -1
- package/lib/typescript/utils/mappers.d.ts.map +1 -1
- package/lib/typescript/utils/misc.d.ts +2 -2
- package/lib/typescript/utils/misc.d.ts.map +1 -1
- package/lib/typescript/utils/object.d.ts.map +1 -1
- package/lib/typescript/utils/par.d.ts +7 -45
- package/lib/typescript/utils/par.d.ts.map +1 -1
- package/lib/typescript/utils/parser.d.ts.map +1 -1
- package/lib/typescript/utils/pop.d.ts +1 -9
- package/lib/typescript/utils/pop.d.ts.map +1 -1
- package/lib/typescript/utils/string.d.ts.map +1 -1
- package/lib/typescript/utils/zod.d.ts +4 -4
- package/lib/typescript/utils/zod.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/api/index.d.ts +9 -9
- package/lib/typescript/wallet-instance-attestation/api/index.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/api/types.d.ts +19 -174
- package/lib/typescript/wallet-instance-attestation/api/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/common/types.d.ts +14 -273
- package/lib/typescript/wallet-instance-attestation/common/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts +5 -3
- package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts +39 -629
- package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/index.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/issuing.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts +90 -0
- package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts.map +1 -0
- package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts +29 -891
- package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/utils.d.ts +15 -0
- package/lib/typescript/wallet-instance-attestation/v1.3.3/utils.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/api/index.d.ts +39 -0
- package/lib/typescript/wallet-unit-attestation/api/index.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/api/types.d.ts +67 -0
- package/lib/typescript/wallet-unit-attestation/api/types.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/index.d.ts +4 -0
- package/lib/typescript/wallet-unit-attestation/index.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts +3 -0
- package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts +3 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts +3 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts +107 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts +69 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts +7 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts.map +1 -0
- package/package.json +8 -8
- package/src/api/index.ts +4 -0
- package/src/client/generated/wallet-provider.ts +44 -0
- package/src/client/index.ts +5 -1
- package/src/credential/issuance/README.md +2 -0
- package/src/credential/issuance/api/05-obtain-credential.ts +2 -0
- package/src/credential/issuance/api/IssuerConfig.ts +4 -2
- package/src/credential/issuance/common/06-verify-and-parse-credential.sdjwt.ts +2 -1
- package/src/credential/issuance/v1.3.3/01-evaluate-issuer-trust.ts +8 -3
- package/src/credential/issuance/v1.3.3/03-complete-user-authorization.ts +2 -0
- package/src/credential/issuance/v1.3.3/05-obtain-credential.ts +25 -11
- package/src/credential/issuance/v1.3.3/mappers.ts +10 -9
- package/src/credential/presentation/api/RelyingPartyConfig.ts +1 -1
- package/src/credential/presentation/common/utils/sd-jwt.ts +4 -1
- package/src/credential/presentation/v1.0.0/04-verify-request-object.ts +2 -2
- package/src/credential/presentation/v1.3.3/04-verify-request-object.ts +4 -2
- package/src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts +42 -10
- package/src/credentials-catalogue/v1.0.0/mappers.ts +27 -12
- package/src/credentials-catalogue/v1.3.3/mappers.ts +10 -4
- package/src/credentials-catalogue/v1.3.3/types.ts +102 -29
- package/src/credentials-catalogue/v1.3.3/utils.ts +9 -4
- package/src/index.ts +11 -2
- package/src/sd-jwt/index.ts +8 -3
- package/src/sd-jwt/utils.ts +5 -1
- package/src/trust/common/types.ts +3 -3
- package/src/trust/v1.0.0/types.ts +10 -10
- package/src/trust/v1.3.3/types.ts +4 -7
- package/src/utils/callbacks.ts +7 -1
- package/src/utils/credentials.ts +17 -1
- package/src/utils/crypto.ts +18 -0
- package/src/utils/dpop.ts +1 -1
- package/src/utils/jwk.ts +1 -1
- package/src/utils/mappers.ts +2 -2
- package/src/utils/zod.ts +5 -1
- package/src/wallet-instance-attestation/README.md +13 -10
- package/src/wallet-instance-attestation/api/index.ts +20 -13
- package/src/wallet-instance-attestation/api/types.ts +16 -4
- package/src/wallet-instance-attestation/v1.0.0/index.ts +3 -3
- package/src/wallet-instance-attestation/v1.0.0/issuing.ts +7 -9
- package/src/wallet-instance-attestation/v1.0.0/mappers.ts +7 -5
- package/src/wallet-instance-attestation/v1.3.3/index.ts +5 -7
- package/src/wallet-instance-attestation/v1.3.3/issuing.ts +107 -3
- package/src/wallet-instance-attestation/v1.3.3/mappers.ts +18 -0
- package/src/wallet-instance-attestation/v1.3.3/types.ts +16 -30
- package/src/wallet-instance-attestation/v1.3.3/utils.ts +35 -0
- package/src/wallet-unit-attestation/README.md +73 -0
- package/src/wallet-unit-attestation/api/index.ts +51 -0
- package/src/wallet-unit-attestation/api/types.ts +49 -0
- package/src/wallet-unit-attestation/index.ts +3 -0
- package/src/wallet-unit-attestation/v1.0.0/index.ts +5 -0
- package/src/wallet-unit-attestation/v1.3.3/index.ts +11 -0
- package/src/wallet-unit-attestation/v1.3.3/issuing.ts +147 -0
- package/src/wallet-unit-attestation/v1.3.3/mappers.ts +10 -0
- package/src/wallet-unit-attestation/v1.3.3/types.ts +21 -0
- package/src/wallet-unit-attestation/v1.3.3/utils.ts +14 -0
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
* @see https://github.com/JacobWeisenburger/zod_utilz/blob/main/src/stringToJSON.ts
|
|
3
3
|
*/
|
|
4
4
|
import { z } from "zod";
|
|
5
|
-
declare const literalSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
5
|
+
declare const literalSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
6
6
|
type Literal = z.infer<typeof literalSchema>;
|
|
7
7
|
type Json = Literal | {
|
|
8
8
|
[key: string]: Json;
|
|
9
9
|
} | Json[];
|
|
10
|
-
export declare const json: () => z.ZodType<Json, z.
|
|
11
|
-
export declare const stringToJSONSchema: z.
|
|
10
|
+
export declare const json: () => z.ZodType<Json, unknown, z.core.$ZodTypeInternals<Json, unknown>>;
|
|
11
|
+
export declare const stringToJSONSchema: z.ZodPipe<z.ZodString, z.ZodTransform<string | number | boolean | {
|
|
12
12
|
[key: string]: Json;
|
|
13
|
-
} | Json[] | null, string
|
|
13
|
+
} | Json[] | null, string>>;
|
|
14
14
|
export declare const UnixTime: z.ZodNumber;
|
|
15
15
|
export type UnixTime = z.infer<typeof UnixTime>;
|
|
16
16
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../src/utils/zod.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../src/utils/zod.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,aAAa,0EAA2D,CAAC;AAE/E,KAAK,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE7C,KAAK,IAAI,GAAG,OAAO,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAAG,IAAI,EAAE,CAAC;AAUvD,eAAO,MAAM,IAAI,yEAAmB,CAAC;AAErC,eAAO,MAAM,kBAAkB;;2BAS3B,CAAC;AAEL,eAAO,MAAM,QAAQ,aAAuC,CAAC;AAC7D,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import type { CryptoContext } from "@pagopa/io-react-native-jwt";
|
|
2
2
|
import type { IntegrityContext } from "../../utils/integrity";
|
|
3
|
-
import type {
|
|
3
|
+
import type { DecodedWalletInstanceAttestation, WalletAttestation, WalletAttestationRequestParams } from "./types";
|
|
4
4
|
export interface WalletInstanceAttestationApi {
|
|
5
5
|
/**
|
|
6
6
|
* Request a Wallet Instance Attestation (WIA) to the Wallet provider.
|
|
7
|
-
* The Wallet Attestation may be issued in different formats
|
|
7
|
+
* The Wallet Instance Attestation may be issued in different formats.
|
|
8
8
|
*
|
|
9
|
-
* @param
|
|
10
|
-
* @param
|
|
11
|
-
* @param
|
|
9
|
+
* @param requestParams Wallet Provider data for the Wallet Attestation request
|
|
10
|
+
* @param ctx.wiaCryptoContext The key pair associated with the WIA. Will be use to prove the ownership of the attestation.
|
|
11
|
+
* @param ctx.integrityContext The hardware key pair associated with the Wallet Instance
|
|
12
|
+
* @param ctx.appFetch (optional) Http client
|
|
12
13
|
* @returns The retrieved Wallet Instance Attestation tokens
|
|
13
14
|
* @throws {WalletProviderResponseError} with a specific code for more context
|
|
14
15
|
*/
|
|
15
|
-
getAttestation(ctx: {
|
|
16
|
+
getAttestation(requestParams: WalletAttestationRequestParams, ctx: {
|
|
16
17
|
wiaCryptoContext: CryptoContext;
|
|
17
18
|
integrityContext: IntegrityContext;
|
|
18
|
-
walletProviderBaseUrl: string;
|
|
19
19
|
appFetch?: GlobalFetch["fetch"];
|
|
20
20
|
}): Promise<WalletAttestation[]>;
|
|
21
21
|
/**
|
|
@@ -30,7 +30,7 @@ export interface WalletInstanceAttestationApi {
|
|
|
30
30
|
* @throws A decoding error if the token doesn't resolve in a valid JWT
|
|
31
31
|
* @throws A validation error if the provided data doesn't result in a valid Wallet Instance Attestation
|
|
32
32
|
*/
|
|
33
|
-
decode(token: string):
|
|
33
|
+
decode(token: string): DecodedWalletInstanceAttestation;
|
|
34
34
|
/**
|
|
35
35
|
* Verify a given JWT to get the parsed Wallet Instance Attestation object they define.
|
|
36
36
|
* Same as {@link decode} plus token signature verification
|
|
@@ -41,6 +41,6 @@ export interface WalletInstanceAttestationApi {
|
|
|
41
41
|
* @throws A validation error if the provided data doesn't result in a valid Wallet Instance Attestation
|
|
42
42
|
* @throws Invalid signature error if the token signature is not valid
|
|
43
43
|
*/
|
|
44
|
-
verify(token: string): Promise<
|
|
44
|
+
verify(token: string): Promise<DecodedWalletInstanceAttestation>;
|
|
45
45
|
}
|
|
46
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EACV,gCAAgC,EAChC,iBAAiB,EACjB,8BAA8B,EAC/B,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,4BAA4B;IAC3C;;;;;;;;;;OAUG;IACH,cAAc,CACZ,aAAa,EAAE,8BAA8B,EAC7C,GAAG,EAAE;QACH,gBAAgB,EAAE,aAAa,CAAC;QAChC,gBAAgB,EAAE,gBAAgB,CAAC;QACnC,QAAQ,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;KACjC,GACA,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAEhC;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,gCAAgC,CAAC;IAExD;;;;;;;;;OASG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAAC;CAClE"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
/**
|
|
3
|
-
* Common Wallet Attestation shape. This object is
|
|
3
|
+
* Common Wallet Instance Attestation shape. This object is
|
|
4
4
|
* an abstraction over the version-specific JWTs.
|
|
5
5
|
*/
|
|
6
|
-
export type
|
|
7
|
-
export declare const
|
|
6
|
+
export type DecodedWalletInstanceAttestation = z.infer<typeof DecodedWalletInstanceAttestation>;
|
|
7
|
+
export declare const DecodedWalletInstanceAttestation: z.ZodObject<{
|
|
8
8
|
iss: z.ZodString;
|
|
9
9
|
iat: z.ZodNumber;
|
|
10
10
|
exp: z.ZodNumber;
|
|
@@ -18,9 +18,12 @@ export declare const DecodedAttestationJwt: z.ZodObject<{
|
|
|
18
18
|
e: z.ZodOptional<z.ZodString>;
|
|
19
19
|
ext: z.ZodOptional<z.ZodBoolean>;
|
|
20
20
|
k: z.ZodOptional<z.ZodString>;
|
|
21
|
-
key_ops: z.ZodOptional<z.ZodArray<z.ZodString
|
|
21
|
+
key_ops: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
22
|
kid: z.ZodOptional<z.ZodString>;
|
|
23
|
-
kty: z.
|
|
23
|
+
kty: z.ZodEnum<{
|
|
24
|
+
RSA: "RSA";
|
|
25
|
+
EC: "EC";
|
|
26
|
+
}>;
|
|
24
27
|
n: z.ZodOptional<z.ZodString>;
|
|
25
28
|
p: z.ZodOptional<z.ZodString>;
|
|
26
29
|
q: z.ZodOptional<z.ZodString>;
|
|
@@ -28,184 +31,26 @@ export declare const DecodedAttestationJwt: z.ZodObject<{
|
|
|
28
31
|
use: z.ZodOptional<z.ZodString>;
|
|
29
32
|
x: z.ZodOptional<z.ZodString>;
|
|
30
33
|
y: z.ZodOptional<z.ZodString>;
|
|
31
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString
|
|
34
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
35
|
x5t: z.ZodOptional<z.ZodString>;
|
|
33
36
|
"x5t#S256": z.ZodOptional<z.ZodString>;
|
|
34
37
|
x5u: z.ZodOptional<z.ZodString>;
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
alg?: string | undefined;
|
|
38
|
-
crv?: string | undefined;
|
|
39
|
-
d?: string | undefined;
|
|
40
|
-
dp?: string | undefined;
|
|
41
|
-
dq?: string | undefined;
|
|
42
|
-
e?: string | undefined;
|
|
43
|
-
ext?: boolean | undefined;
|
|
44
|
-
k?: string | undefined;
|
|
45
|
-
key_ops?: string[] | undefined;
|
|
46
|
-
kid?: string | undefined;
|
|
47
|
-
n?: string | undefined;
|
|
48
|
-
p?: string | undefined;
|
|
49
|
-
q?: string | undefined;
|
|
50
|
-
qi?: string | undefined;
|
|
51
|
-
use?: string | undefined;
|
|
52
|
-
x?: string | undefined;
|
|
53
|
-
y?: string | undefined;
|
|
54
|
-
x5c?: string[] | undefined;
|
|
55
|
-
x5t?: string | undefined;
|
|
56
|
-
"x5t#S256"?: string | undefined;
|
|
57
|
-
x5u?: string | undefined;
|
|
58
|
-
}, {
|
|
59
|
-
kty: "RSA" | "EC";
|
|
60
|
-
alg?: string | undefined;
|
|
61
|
-
crv?: string | undefined;
|
|
62
|
-
d?: string | undefined;
|
|
63
|
-
dp?: string | undefined;
|
|
64
|
-
dq?: string | undefined;
|
|
65
|
-
e?: string | undefined;
|
|
66
|
-
ext?: boolean | undefined;
|
|
67
|
-
k?: string | undefined;
|
|
68
|
-
key_ops?: string[] | undefined;
|
|
69
|
-
kid?: string | undefined;
|
|
70
|
-
n?: string | undefined;
|
|
71
|
-
p?: string | undefined;
|
|
72
|
-
q?: string | undefined;
|
|
73
|
-
qi?: string | undefined;
|
|
74
|
-
use?: string | undefined;
|
|
75
|
-
x?: string | undefined;
|
|
76
|
-
y?: string | undefined;
|
|
77
|
-
x5c?: string[] | undefined;
|
|
78
|
-
x5t?: string | undefined;
|
|
79
|
-
"x5t#S256"?: string | undefined;
|
|
80
|
-
x5u?: string | undefined;
|
|
81
|
-
}>;
|
|
82
|
-
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
jwk: {
|
|
84
|
-
kty: "RSA" | "EC";
|
|
85
|
-
alg?: string | undefined;
|
|
86
|
-
crv?: string | undefined;
|
|
87
|
-
d?: string | undefined;
|
|
88
|
-
dp?: string | undefined;
|
|
89
|
-
dq?: string | undefined;
|
|
90
|
-
e?: string | undefined;
|
|
91
|
-
ext?: boolean | undefined;
|
|
92
|
-
k?: string | undefined;
|
|
93
|
-
key_ops?: string[] | undefined;
|
|
94
|
-
kid?: string | undefined;
|
|
95
|
-
n?: string | undefined;
|
|
96
|
-
p?: string | undefined;
|
|
97
|
-
q?: string | undefined;
|
|
98
|
-
qi?: string | undefined;
|
|
99
|
-
use?: string | undefined;
|
|
100
|
-
x?: string | undefined;
|
|
101
|
-
y?: string | undefined;
|
|
102
|
-
x5c?: string[] | undefined;
|
|
103
|
-
x5t?: string | undefined;
|
|
104
|
-
"x5t#S256"?: string | undefined;
|
|
105
|
-
x5u?: string | undefined;
|
|
106
|
-
};
|
|
107
|
-
}, {
|
|
108
|
-
jwk: {
|
|
109
|
-
kty: "RSA" | "EC";
|
|
110
|
-
alg?: string | undefined;
|
|
111
|
-
crv?: string | undefined;
|
|
112
|
-
d?: string | undefined;
|
|
113
|
-
dp?: string | undefined;
|
|
114
|
-
dq?: string | undefined;
|
|
115
|
-
e?: string | undefined;
|
|
116
|
-
ext?: boolean | undefined;
|
|
117
|
-
k?: string | undefined;
|
|
118
|
-
key_ops?: string[] | undefined;
|
|
119
|
-
kid?: string | undefined;
|
|
120
|
-
n?: string | undefined;
|
|
121
|
-
p?: string | undefined;
|
|
122
|
-
q?: string | undefined;
|
|
123
|
-
qi?: string | undefined;
|
|
124
|
-
use?: string | undefined;
|
|
125
|
-
x?: string | undefined;
|
|
126
|
-
y?: string | undefined;
|
|
127
|
-
x5c?: string[] | undefined;
|
|
128
|
-
x5t?: string | undefined;
|
|
129
|
-
"x5t#S256"?: string | undefined;
|
|
130
|
-
x5u?: string | undefined;
|
|
131
|
-
};
|
|
132
|
-
}>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
}, z.core.$strip>;
|
|
133
40
|
sub: z.ZodString;
|
|
41
|
+
wallet_provider_name: z.ZodOptional<z.ZodString>;
|
|
42
|
+
wallet_solution_id: z.ZodOptional<z.ZodString>;
|
|
134
43
|
wallet_link: z.ZodOptional<z.ZodString>;
|
|
135
44
|
wallet_name: z.ZodOptional<z.ZodString>;
|
|
136
45
|
aal: z.ZodOptional<z.ZodString>;
|
|
137
|
-
},
|
|
138
|
-
iss: string;
|
|
139
|
-
sub: string;
|
|
140
|
-
iat: number;
|
|
141
|
-
exp: number;
|
|
142
|
-
cnf: {
|
|
143
|
-
jwk: {
|
|
144
|
-
kty: "RSA" | "EC";
|
|
145
|
-
alg?: string | undefined;
|
|
146
|
-
crv?: string | undefined;
|
|
147
|
-
d?: string | undefined;
|
|
148
|
-
dp?: string | undefined;
|
|
149
|
-
dq?: string | undefined;
|
|
150
|
-
e?: string | undefined;
|
|
151
|
-
ext?: boolean | undefined;
|
|
152
|
-
k?: string | undefined;
|
|
153
|
-
key_ops?: string[] | undefined;
|
|
154
|
-
kid?: string | undefined;
|
|
155
|
-
n?: string | undefined;
|
|
156
|
-
p?: string | undefined;
|
|
157
|
-
q?: string | undefined;
|
|
158
|
-
qi?: string | undefined;
|
|
159
|
-
use?: string | undefined;
|
|
160
|
-
x?: string | undefined;
|
|
161
|
-
y?: string | undefined;
|
|
162
|
-
x5c?: string[] | undefined;
|
|
163
|
-
x5t?: string | undefined;
|
|
164
|
-
"x5t#S256"?: string | undefined;
|
|
165
|
-
x5u?: string | undefined;
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
wallet_link?: string | undefined;
|
|
169
|
-
wallet_name?: string | undefined;
|
|
170
|
-
aal?: string | undefined;
|
|
171
|
-
}, {
|
|
172
|
-
iss: string;
|
|
173
|
-
sub: string;
|
|
174
|
-
iat: number;
|
|
175
|
-
exp: number;
|
|
176
|
-
cnf: {
|
|
177
|
-
jwk: {
|
|
178
|
-
kty: "RSA" | "EC";
|
|
179
|
-
alg?: string | undefined;
|
|
180
|
-
crv?: string | undefined;
|
|
181
|
-
d?: string | undefined;
|
|
182
|
-
dp?: string | undefined;
|
|
183
|
-
dq?: string | undefined;
|
|
184
|
-
e?: string | undefined;
|
|
185
|
-
ext?: boolean | undefined;
|
|
186
|
-
k?: string | undefined;
|
|
187
|
-
key_ops?: string[] | undefined;
|
|
188
|
-
kid?: string | undefined;
|
|
189
|
-
n?: string | undefined;
|
|
190
|
-
p?: string | undefined;
|
|
191
|
-
q?: string | undefined;
|
|
192
|
-
qi?: string | undefined;
|
|
193
|
-
use?: string | undefined;
|
|
194
|
-
x?: string | undefined;
|
|
195
|
-
y?: string | undefined;
|
|
196
|
-
x5c?: string[] | undefined;
|
|
197
|
-
x5t?: string | undefined;
|
|
198
|
-
"x5t#S256"?: string | undefined;
|
|
199
|
-
x5u?: string | undefined;
|
|
200
|
-
};
|
|
201
|
-
};
|
|
202
|
-
wallet_link?: string | undefined;
|
|
203
|
-
wallet_name?: string | undefined;
|
|
204
|
-
aal?: string | undefined;
|
|
205
|
-
}>;
|
|
46
|
+
}, z.core.$strip>;
|
|
206
47
|
export type WalletAttestation = {
|
|
207
|
-
type: "wallet_instance_attestation" | "wallet_unit_attestation";
|
|
208
48
|
format: string;
|
|
209
49
|
attestation: string;
|
|
210
50
|
};
|
|
51
|
+
export type WalletAttestationRequestParams = {
|
|
52
|
+
walletProviderBaseUrl: string;
|
|
53
|
+
walletSolutionId: string;
|
|
54
|
+
walletSolutionVersion: string;
|
|
55
|
+
};
|
|
211
56
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/api/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB;;;GAGG;AACH,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/api/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB;;;GAGG;AACH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,gCAAgC,CACxC,CAAC;AACF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAc3C,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,qBAAqB,EAAE,MAAM,CAAC;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,MAAM,CAAC;CAC/B,CAAC"}
|
|
@@ -4,21 +4,9 @@ export declare const Jwt: z.ZodObject<{
|
|
|
4
4
|
alg: z.ZodString;
|
|
5
5
|
kid: z.ZodString;
|
|
6
6
|
typ: z.ZodString;
|
|
7
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString
|
|
8
|
-
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString
|
|
9
|
-
},
|
|
10
|
-
alg: string;
|
|
11
|
-
kid: string;
|
|
12
|
-
typ: string;
|
|
13
|
-
x5c?: string[] | undefined;
|
|
14
|
-
trust_chain?: string[] | undefined;
|
|
15
|
-
}, {
|
|
16
|
-
alg: string;
|
|
17
|
-
kid: string;
|
|
18
|
-
typ: string;
|
|
19
|
-
x5c?: string[] | undefined;
|
|
20
|
-
trust_chain?: string[] | undefined;
|
|
21
|
-
}>;
|
|
7
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
22
10
|
payload: z.ZodObject<{
|
|
23
11
|
iss: z.ZodString;
|
|
24
12
|
iat: z.ZodNumber;
|
|
@@ -33,9 +21,12 @@ export declare const Jwt: z.ZodObject<{
|
|
|
33
21
|
e: z.ZodOptional<z.ZodString>;
|
|
34
22
|
ext: z.ZodOptional<z.ZodBoolean>;
|
|
35
23
|
k: z.ZodOptional<z.ZodString>;
|
|
36
|
-
key_ops: z.ZodOptional<z.ZodArray<z.ZodString
|
|
24
|
+
key_ops: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
25
|
kid: z.ZodOptional<z.ZodString>;
|
|
38
|
-
kty: z.
|
|
26
|
+
kty: z.ZodEnum<{
|
|
27
|
+
RSA: "RSA";
|
|
28
|
+
EC: "EC";
|
|
29
|
+
}>;
|
|
39
30
|
n: z.ZodOptional<z.ZodString>;
|
|
40
31
|
p: z.ZodOptional<z.ZodString>;
|
|
41
32
|
q: z.ZodOptional<z.ZodString>;
|
|
@@ -43,264 +34,14 @@ export declare const Jwt: z.ZodObject<{
|
|
|
43
34
|
use: z.ZodOptional<z.ZodString>;
|
|
44
35
|
x: z.ZodOptional<z.ZodString>;
|
|
45
36
|
y: z.ZodOptional<z.ZodString>;
|
|
46
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString
|
|
37
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
47
38
|
x5t: z.ZodOptional<z.ZodString>;
|
|
48
39
|
"x5t#S256": z.ZodOptional<z.ZodString>;
|
|
49
40
|
x5u: z.ZodOptional<z.ZodString>;
|
|
50
|
-
},
|
|
51
|
-
kty: "RSA" | "EC";
|
|
52
|
-
alg?: string | undefined;
|
|
53
|
-
crv?: string | undefined;
|
|
54
|
-
d?: string | undefined;
|
|
55
|
-
dp?: string | undefined;
|
|
56
|
-
dq?: string | undefined;
|
|
57
|
-
e?: string | undefined;
|
|
58
|
-
ext?: boolean | undefined;
|
|
59
|
-
k?: string | undefined;
|
|
60
|
-
key_ops?: string[] | undefined;
|
|
61
|
-
kid?: string | undefined;
|
|
62
|
-
n?: string | undefined;
|
|
63
|
-
p?: string | undefined;
|
|
64
|
-
q?: string | undefined;
|
|
65
|
-
qi?: string | undefined;
|
|
66
|
-
use?: string | undefined;
|
|
67
|
-
x?: string | undefined;
|
|
68
|
-
y?: string | undefined;
|
|
69
|
-
x5c?: string[] | undefined;
|
|
70
|
-
x5t?: string | undefined;
|
|
71
|
-
"x5t#S256"?: string | undefined;
|
|
72
|
-
x5u?: string | undefined;
|
|
73
|
-
}, {
|
|
74
|
-
kty: "RSA" | "EC";
|
|
75
|
-
alg?: string | undefined;
|
|
76
|
-
crv?: string | undefined;
|
|
77
|
-
d?: string | undefined;
|
|
78
|
-
dp?: string | undefined;
|
|
79
|
-
dq?: string | undefined;
|
|
80
|
-
e?: string | undefined;
|
|
81
|
-
ext?: boolean | undefined;
|
|
82
|
-
k?: string | undefined;
|
|
83
|
-
key_ops?: string[] | undefined;
|
|
84
|
-
kid?: string | undefined;
|
|
85
|
-
n?: string | undefined;
|
|
86
|
-
p?: string | undefined;
|
|
87
|
-
q?: string | undefined;
|
|
88
|
-
qi?: string | undefined;
|
|
89
|
-
use?: string | undefined;
|
|
90
|
-
x?: string | undefined;
|
|
91
|
-
y?: string | undefined;
|
|
92
|
-
x5c?: string[] | undefined;
|
|
93
|
-
x5t?: string | undefined;
|
|
94
|
-
"x5t#S256"?: string | undefined;
|
|
95
|
-
x5u?: string | undefined;
|
|
96
|
-
}>, z.ZodObject<{
|
|
41
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
42
|
kid: z.ZodString;
|
|
98
|
-
},
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}>>;
|
|
103
|
-
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
jwk: {
|
|
105
|
-
kty: "RSA" | "EC";
|
|
106
|
-
alg?: string | undefined;
|
|
107
|
-
crv?: string | undefined;
|
|
108
|
-
d?: string | undefined;
|
|
109
|
-
dp?: string | undefined;
|
|
110
|
-
dq?: string | undefined;
|
|
111
|
-
e?: string | undefined;
|
|
112
|
-
ext?: boolean | undefined;
|
|
113
|
-
k?: string | undefined;
|
|
114
|
-
key_ops?: string[] | undefined;
|
|
115
|
-
kid?: string | undefined;
|
|
116
|
-
n?: string | undefined;
|
|
117
|
-
p?: string | undefined;
|
|
118
|
-
q?: string | undefined;
|
|
119
|
-
qi?: string | undefined;
|
|
120
|
-
use?: string | undefined;
|
|
121
|
-
x?: string | undefined;
|
|
122
|
-
y?: string | undefined;
|
|
123
|
-
x5c?: string[] | undefined;
|
|
124
|
-
x5t?: string | undefined;
|
|
125
|
-
"x5t#S256"?: string | undefined;
|
|
126
|
-
x5u?: string | undefined;
|
|
127
|
-
} & {
|
|
128
|
-
kid: string;
|
|
129
|
-
};
|
|
130
|
-
}, {
|
|
131
|
-
jwk: {
|
|
132
|
-
kty: "RSA" | "EC";
|
|
133
|
-
alg?: string | undefined;
|
|
134
|
-
crv?: string | undefined;
|
|
135
|
-
d?: string | undefined;
|
|
136
|
-
dp?: string | undefined;
|
|
137
|
-
dq?: string | undefined;
|
|
138
|
-
e?: string | undefined;
|
|
139
|
-
ext?: boolean | undefined;
|
|
140
|
-
k?: string | undefined;
|
|
141
|
-
key_ops?: string[] | undefined;
|
|
142
|
-
kid?: string | undefined;
|
|
143
|
-
n?: string | undefined;
|
|
144
|
-
p?: string | undefined;
|
|
145
|
-
q?: string | undefined;
|
|
146
|
-
qi?: string | undefined;
|
|
147
|
-
use?: string | undefined;
|
|
148
|
-
x?: string | undefined;
|
|
149
|
-
y?: string | undefined;
|
|
150
|
-
x5c?: string[] | undefined;
|
|
151
|
-
x5t?: string | undefined;
|
|
152
|
-
"x5t#S256"?: string | undefined;
|
|
153
|
-
x5u?: string | undefined;
|
|
154
|
-
} & {
|
|
155
|
-
kid: string;
|
|
156
|
-
};
|
|
157
|
-
}>;
|
|
158
|
-
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
iss: string;
|
|
160
|
-
iat: number;
|
|
161
|
-
exp: number;
|
|
162
|
-
cnf: {
|
|
163
|
-
jwk: {
|
|
164
|
-
kty: "RSA" | "EC";
|
|
165
|
-
alg?: string | undefined;
|
|
166
|
-
crv?: string | undefined;
|
|
167
|
-
d?: string | undefined;
|
|
168
|
-
dp?: string | undefined;
|
|
169
|
-
dq?: string | undefined;
|
|
170
|
-
e?: string | undefined;
|
|
171
|
-
ext?: boolean | undefined;
|
|
172
|
-
k?: string | undefined;
|
|
173
|
-
key_ops?: string[] | undefined;
|
|
174
|
-
kid?: string | undefined;
|
|
175
|
-
n?: string | undefined;
|
|
176
|
-
p?: string | undefined;
|
|
177
|
-
q?: string | undefined;
|
|
178
|
-
qi?: string | undefined;
|
|
179
|
-
use?: string | undefined;
|
|
180
|
-
x?: string | undefined;
|
|
181
|
-
y?: string | undefined;
|
|
182
|
-
x5c?: string[] | undefined;
|
|
183
|
-
x5t?: string | undefined;
|
|
184
|
-
"x5t#S256"?: string | undefined;
|
|
185
|
-
x5u?: string | undefined;
|
|
186
|
-
} & {
|
|
187
|
-
kid: string;
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
}, {
|
|
191
|
-
iss: string;
|
|
192
|
-
iat: number;
|
|
193
|
-
exp: number;
|
|
194
|
-
cnf: {
|
|
195
|
-
jwk: {
|
|
196
|
-
kty: "RSA" | "EC";
|
|
197
|
-
alg?: string | undefined;
|
|
198
|
-
crv?: string | undefined;
|
|
199
|
-
d?: string | undefined;
|
|
200
|
-
dp?: string | undefined;
|
|
201
|
-
dq?: string | undefined;
|
|
202
|
-
e?: string | undefined;
|
|
203
|
-
ext?: boolean | undefined;
|
|
204
|
-
k?: string | undefined;
|
|
205
|
-
key_ops?: string[] | undefined;
|
|
206
|
-
kid?: string | undefined;
|
|
207
|
-
n?: string | undefined;
|
|
208
|
-
p?: string | undefined;
|
|
209
|
-
q?: string | undefined;
|
|
210
|
-
qi?: string | undefined;
|
|
211
|
-
use?: string | undefined;
|
|
212
|
-
x?: string | undefined;
|
|
213
|
-
y?: string | undefined;
|
|
214
|
-
x5c?: string[] | undefined;
|
|
215
|
-
x5t?: string | undefined;
|
|
216
|
-
"x5t#S256"?: string | undefined;
|
|
217
|
-
x5u?: string | undefined;
|
|
218
|
-
} & {
|
|
219
|
-
kid: string;
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
}>;
|
|
223
|
-
}, "strip", z.ZodTypeAny, {
|
|
224
|
-
header: {
|
|
225
|
-
alg: string;
|
|
226
|
-
kid: string;
|
|
227
|
-
typ: string;
|
|
228
|
-
x5c?: string[] | undefined;
|
|
229
|
-
trust_chain?: string[] | undefined;
|
|
230
|
-
};
|
|
231
|
-
payload: {
|
|
232
|
-
iss: string;
|
|
233
|
-
iat: number;
|
|
234
|
-
exp: number;
|
|
235
|
-
cnf: {
|
|
236
|
-
jwk: {
|
|
237
|
-
kty: "RSA" | "EC";
|
|
238
|
-
alg?: string | undefined;
|
|
239
|
-
crv?: string | undefined;
|
|
240
|
-
d?: string | undefined;
|
|
241
|
-
dp?: string | undefined;
|
|
242
|
-
dq?: string | undefined;
|
|
243
|
-
e?: string | undefined;
|
|
244
|
-
ext?: boolean | undefined;
|
|
245
|
-
k?: string | undefined;
|
|
246
|
-
key_ops?: string[] | undefined;
|
|
247
|
-
kid?: string | undefined;
|
|
248
|
-
n?: string | undefined;
|
|
249
|
-
p?: string | undefined;
|
|
250
|
-
q?: string | undefined;
|
|
251
|
-
qi?: string | undefined;
|
|
252
|
-
use?: string | undefined;
|
|
253
|
-
x?: string | undefined;
|
|
254
|
-
y?: string | undefined;
|
|
255
|
-
x5c?: string[] | undefined;
|
|
256
|
-
x5t?: string | undefined;
|
|
257
|
-
"x5t#S256"?: string | undefined;
|
|
258
|
-
x5u?: string | undefined;
|
|
259
|
-
} & {
|
|
260
|
-
kid: string;
|
|
261
|
-
};
|
|
262
|
-
};
|
|
263
|
-
};
|
|
264
|
-
}, {
|
|
265
|
-
header: {
|
|
266
|
-
alg: string;
|
|
267
|
-
kid: string;
|
|
268
|
-
typ: string;
|
|
269
|
-
x5c?: string[] | undefined;
|
|
270
|
-
trust_chain?: string[] | undefined;
|
|
271
|
-
};
|
|
272
|
-
payload: {
|
|
273
|
-
iss: string;
|
|
274
|
-
iat: number;
|
|
275
|
-
exp: number;
|
|
276
|
-
cnf: {
|
|
277
|
-
jwk: {
|
|
278
|
-
kty: "RSA" | "EC";
|
|
279
|
-
alg?: string | undefined;
|
|
280
|
-
crv?: string | undefined;
|
|
281
|
-
d?: string | undefined;
|
|
282
|
-
dp?: string | undefined;
|
|
283
|
-
dq?: string | undefined;
|
|
284
|
-
e?: string | undefined;
|
|
285
|
-
ext?: boolean | undefined;
|
|
286
|
-
k?: string | undefined;
|
|
287
|
-
key_ops?: string[] | undefined;
|
|
288
|
-
kid?: string | undefined;
|
|
289
|
-
n?: string | undefined;
|
|
290
|
-
p?: string | undefined;
|
|
291
|
-
q?: string | undefined;
|
|
292
|
-
qi?: string | undefined;
|
|
293
|
-
use?: string | undefined;
|
|
294
|
-
x?: string | undefined;
|
|
295
|
-
y?: string | undefined;
|
|
296
|
-
x5c?: string[] | undefined;
|
|
297
|
-
x5t?: string | undefined;
|
|
298
|
-
"x5t#S256"?: string | undefined;
|
|
299
|
-
x5u?: string | undefined;
|
|
300
|
-
} & {
|
|
301
|
-
kid: string;
|
|
302
|
-
};
|
|
303
|
-
};
|
|
304
|
-
};
|
|
305
|
-
}>;
|
|
43
|
+
}, z.core.$strip>>;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
}, z.core.$strip>;
|
|
306
47
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/common/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/common/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoBd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issuing.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/v1.0.0/issuing.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,QAAQ,CAAC;AAuD3D,eAAO,MAAM,cAAc,EAAE,4BAA4B,CAAC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"issuing.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/v1.0.0/issuing.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,QAAQ,CAAC;AAuD3D,eAAO,MAAM,cAAc,EAAE,4BAA4B,CAAC,gBAAgB,CAiDvE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type WalletAttestation } from "../api/types";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const mapToDecodedWalletInstanceAttestation: (input: {
|
|
3
3
|
header: {
|
|
4
4
|
alg: string;
|
|
5
5
|
kid: string;
|
|
@@ -49,7 +49,6 @@ export declare const mapToDecodedAttestationJwt: (input: {
|
|
|
49
49
|
};
|
|
50
50
|
}) => {
|
|
51
51
|
iss: string;
|
|
52
|
-
sub: string;
|
|
53
52
|
iat: number;
|
|
54
53
|
exp: number;
|
|
55
54
|
cnf: {
|
|
@@ -78,14 +77,17 @@ export declare const mapToDecodedAttestationJwt: (input: {
|
|
|
78
77
|
x5u?: string | undefined;
|
|
79
78
|
};
|
|
80
79
|
};
|
|
80
|
+
sub: string;
|
|
81
|
+
wallet_provider_name?: string | undefined;
|
|
82
|
+
wallet_solution_id?: string | undefined;
|
|
81
83
|
wallet_link?: string | undefined;
|
|
82
84
|
wallet_name?: string | undefined;
|
|
83
85
|
aal?: string | undefined;
|
|
84
86
|
};
|
|
85
87
|
export declare const mapToWalletAttestations: (input: {
|
|
86
88
|
wallet_attestations: {
|
|
87
|
-
format: "jwt" | "dc+sd-jwt" | "mso_mdoc";
|
|
88
89
|
wallet_attestation: string;
|
|
90
|
+
format: "jwt" | "dc+sd-jwt" | "mso_mdoc";
|
|
89
91
|
}[];
|
|
90
92
|
}) => WalletAttestation[];
|
|
91
93
|
//# sourceMappingURL=mappers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/v1.0.0/mappers.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/v1.0.0/mappers.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AAMtB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKhD,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;yBAQnC,CAAC"}
|