@pagopa/io-react-native-wallet 3.7.4 → 3.8.2
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/README.md +15 -7
- package/lib/commonjs/IoWallet.js +5 -6
- package/lib/commonjs/IoWallet.js.map +1 -1
- package/lib/commonjs/api/index.js +12 -14
- package/lib/commonjs/api/index.js.map +1 -1
- package/lib/commonjs/client/generated/wallet-provider.js +35 -61
- package/lib/commonjs/client/generated/wallet-provider.js.map +1 -1
- package/lib/commonjs/client/index.js +7 -10
- package/lib/commonjs/client/index.js.map +1 -1
- package/lib/commonjs/credential/index.js +2 -3
- package/lib/commonjs/credential/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/api/01-evaluate-issuer-trust.js.map +1 -1
- package/lib/commonjs/credential/issuance/api/02-start-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/api/03-complete-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/api/04-authorize-access.js.map +1 -1
- package/lib/commonjs/credential/issuance/api/05-obtain-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/api/06-verify-and-parse-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/api/IssuerConfig.js +3 -4
- package/lib/commonjs/credential/issuance/api/IssuerConfig.js.map +1 -1
- package/lib/commonjs/credential/issuance/api/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/api/mrtd-pop/index.js +1 -1
- package/lib/commonjs/credential/issuance/api/mrtd-pop/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/api/mrtd-pop/types.js.map +1 -1
- package/lib/commonjs/credential/issuance/api/types.js +3 -6
- package/lib/commonjs/credential/issuance/api/types.js.map +1 -1
- package/lib/commonjs/credential/issuance/common/02-start-user-authorization.js +2 -2
- package/lib/commonjs/credential/issuance/common/02-start-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.mdoc.js +44 -88
- package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.mdoc.js.map +1 -1
- package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js +16 -20
- package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
- package/lib/commonjs/credential/issuance/common/errors.js +1 -1
- package/lib/commonjs/credential/issuance/common/errors.js.map +1 -1
- package/lib/commonjs/credential/issuance/index.js +6 -7
- package/lib/commonjs/credential/issuance/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js +5 -6
- package/lib/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js.map +1 -1
- package/lib/commonjs/credential/issuance/mrtd-pop/02-init-challenge.js +3 -3
- package/lib/commonjs/credential/issuance/mrtd-pop/02-init-challenge.js.map +1 -1
- package/lib/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.js +2 -2
- package/lib/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.js.map +1 -1
- package/lib/commonjs/credential/issuance/mrtd-pop/index.js +6 -8
- package/lib/commonjs/credential/issuance/mrtd-pop/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js +3 -4
- package/lib/commonjs/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.js +5 -5
- package/lib/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.js +28 -36
- package/lib/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.0.0/04-authorize-access.js +8 -9
- package/lib/commonjs/credential/issuance/v1.0.0/04-authorize-access.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.0.0/05-obtain-credential.js +7 -8
- package/lib/commonjs/credential/issuance/v1.0.0/05-obtain-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.0.0/06-verify-and-parse-credential.js +7 -8
- package/lib/commonjs/credential/issuance/v1.0.0/06-verify-and-parse-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.0.0/index.js +9 -10
- package/lib/commonjs/credential/issuance/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.0.0/mappers.js +3 -4
- package/lib/commonjs/credential/issuance/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.0.0/types.js +5 -9
- package/lib/commonjs/credential/issuance/v1.0.0/types.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.4.6/01-evaluate-issuer-trust.js +3 -4
- package/lib/commonjs/credential/issuance/v1.4.6/01-evaluate-issuer-trust.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.4.6/02-start-user-authorization.js +5 -5
- package/lib/commonjs/credential/issuance/v1.4.6/02-start-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.4.6/03-complete-user-authorization.js +31 -39
- package/lib/commonjs/credential/issuance/v1.4.6/03-complete-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.4.6/04-authorize-access.js +3 -3
- package/lib/commonjs/credential/issuance/v1.4.6/04-authorize-access.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.4.6/05-obtain-credential.js +37 -48
- package/lib/commonjs/credential/issuance/v1.4.6/05-obtain-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.4.6/06-verify-and-parse-credential.js +7 -8
- package/lib/commonjs/credential/issuance/v1.4.6/06-verify-and-parse-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.4.6/index.js +9 -10
- package/lib/commonjs/credential/issuance/v1.4.6/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.4.6/mappers.js +19 -27
- package/lib/commonjs/credential/issuance/v1.4.6/mappers.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.4.6/types.js +2 -4
- package/lib/commonjs/credential/issuance/v1.4.6/types.js.map +1 -1
- package/lib/commonjs/credential/offer/api/01-resolve-credential-offer.js.map +1 -1
- package/lib/commonjs/credential/offer/api/02-extract-grant-details.js.map +1 -1
- package/lib/commonjs/credential/offer/api/03-validate-credential-offer.js.map +1 -1
- package/lib/commonjs/credential/offer/api/index.js +1 -1
- package/lib/commonjs/credential/offer/api/index.js.map +1 -1
- package/lib/commonjs/credential/offer/api/types.js.map +1 -1
- package/lib/commonjs/credential/offer/common/errors.js +1 -1
- package/lib/commonjs/credential/offer/common/errors.js.map +1 -1
- package/lib/commonjs/credential/offer/index.js +6 -7
- package/lib/commonjs/credential/offer/index.js.map +1 -1
- package/lib/commonjs/credential/offer/v1.0.0/index.js +2 -3
- package/lib/commonjs/credential/offer/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/credential/offer/v1.4.6/01-resolve-credential-offer.js +3 -4
- package/lib/commonjs/credential/offer/v1.4.6/01-resolve-credential-offer.js.map +1 -1
- package/lib/commonjs/credential/offer/v1.4.6/02-extract-grant-details.js +3 -3
- package/lib/commonjs/credential/offer/v1.4.6/02-extract-grant-details.js.map +1 -1
- package/lib/commonjs/credential/offer/v1.4.6/03-validate-credential-offer.js +6 -7
- package/lib/commonjs/credential/offer/v1.4.6/03-validate-credential-offer.js.map +1 -1
- package/lib/commonjs/credential/offer/v1.4.6/index.js +4 -5
- package/lib/commonjs/credential/offer/v1.4.6/index.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/01-start-flow.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/02-evaluate-rp-trust.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/03-get-request-object.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/04-verify-certificate-chain.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/05-verify-request-object.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/06-evaluate-dcql-query.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/07-send-authorization-response.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js +3 -5
- package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/index.js +1 -1
- package/lib/commonjs/credential/presentation/api/index.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/types.js +7 -10
- package/lib/commonjs/credential/presentation/api/types.js.map +1 -1
- package/lib/commonjs/credential/presentation/common/errors.js +3 -6
- package/lib/commonjs/credential/presentation/common/errors.js.map +1 -1
- package/lib/commonjs/credential/presentation/common/utils/dcql.js +22 -41
- package/lib/commonjs/credential/presentation/common/utils/dcql.js.map +1 -1
- package/lib/commonjs/credential/presentation/common/utils/http.js +7 -11
- package/lib/commonjs/credential/presentation/common/utils/http.js.map +1 -1
- package/lib/commonjs/credential/presentation/common/utils/mdoc.js +17 -28
- package/lib/commonjs/credential/presentation/common/utils/mdoc.js.map +1 -1
- package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js +7 -12
- package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js.map +1 -1
- package/lib/commonjs/credential/presentation/index.js +6 -7
- package/lib/commonjs/credential/presentation/index.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/01-start-flow.js +2 -2
- package/lib/commonjs/credential/presentation/v1.0.0/01-start-flow.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/02-evaluate-rp-trust.js +5 -6
- package/lib/commonjs/credential/presentation/v1.0.0/02-evaluate-rp-trust.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/03-get-request-object.js +8 -9
- package/lib/commonjs/credential/presentation/v1.0.0/03-get-request-object.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/05-verify-request-object.js +12 -16
- package/lib/commonjs/credential/presentation/v1.0.0/05-verify-request-object.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/06-evaluate-dcql-query.js +14 -23
- package/lib/commonjs/credential/presentation/v1.0.0/06-evaluate-dcql-query.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/07-send-authorization-response.js +22 -28
- package/lib/commonjs/credential/presentation/v1.0.0/07-send-authorization-response.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/index.js +7 -8
- package/lib/commonjs/credential/presentation/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/mappers.js +18 -24
- package/lib/commonjs/credential/presentation/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/types.js +7 -10
- package/lib/commonjs/credential/presentation/v1.0.0/types.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/utils.js +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/utils.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/utils.jwks.js +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/utils.jwks.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.4.6/01-start-flow.js +3 -6
- package/lib/commonjs/credential/presentation/v1.4.6/01-start-flow.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.4.6/02-evaluate-rp-trust.js +5 -6
- package/lib/commonjs/credential/presentation/v1.4.6/02-evaluate-rp-trust.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.4.6/03-get-request-object.js +6 -7
- package/lib/commonjs/credential/presentation/v1.4.6/03-get-request-object.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.4.6/04-verify-certificate-chain.js +5 -6
- package/lib/commonjs/credential/presentation/v1.4.6/04-verify-certificate-chain.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.4.6/05-verify-request-object.js +11 -13
- package/lib/commonjs/credential/presentation/v1.4.6/05-verify-request-object.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.4.6/06-evaluate-dcql-query.js +15 -25
- package/lib/commonjs/credential/presentation/v1.4.6/06-evaluate-dcql-query.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.4.6/07-send-authorization-response.js +29 -38
- package/lib/commonjs/credential/presentation/v1.4.6/07-send-authorization-response.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.4.6/index.js +8 -9
- package/lib/commonjs/credential/presentation/v1.4.6/index.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.4.6/mappers.js +20 -26
- package/lib/commonjs/credential/presentation/v1.4.6/mappers.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.4.6/sdkErrorMapper.js +9 -13
- package/lib/commonjs/credential/presentation/v1.4.6/sdkErrorMapper.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.4.6/types.js +3 -6
- package/lib/commonjs/credential/presentation/v1.4.6/types.js.map +1 -1
- package/lib/commonjs/credential/status/api/index.js +1 -1
- package/lib/commonjs/credential/status/api/index.js.map +1 -1
- package/lib/commonjs/credential/status/api/status-assertion.js.map +1 -1
- package/lib/commonjs/credential/status/api/status-list.js.map +1 -1
- package/lib/commonjs/credential/status/api/types.js +3 -5
- package/lib/commonjs/credential/status/api/types.js.map +1 -1
- package/lib/commonjs/credential/status/index.js +8 -8
- package/lib/commonjs/credential/status/index.js.map +1 -1
- package/lib/commonjs/credential/status/v1.0.0/01-status-assertion.js +5 -5
- package/lib/commonjs/credential/status/v1.0.0/01-status-assertion.js.map +1 -1
- package/lib/commonjs/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js +9 -10
- package/lib/commonjs/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js.map +1 -1
- package/lib/commonjs/credential/status/v1.0.0/index.js +3 -4
- package/lib/commonjs/credential/status/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/credential/status/v1.0.0/mappers.js +2 -3
- package/lib/commonjs/credential/status/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/credential/status/v1.0.0/types.js +10 -14
- package/lib/commonjs/credential/status/v1.0.0/types.js.map +1 -1
- package/lib/commonjs/credential/status/v1.4.6/01-status-list.js +14 -19
- package/lib/commonjs/credential/status/v1.4.6/01-status-list.js.map +1 -1
- package/lib/commonjs/credential/status/v1.4.6/02-verify-and-parse-status-list.js +1 -1
- package/lib/commonjs/credential/status/v1.4.6/02-verify-and-parse-status-list.js.map +1 -1
- package/lib/commonjs/credential/status/v1.4.6/03-get-status.js +1 -1
- package/lib/commonjs/credential/status/v1.4.6/03-get-status.js.map +1 -1
- package/lib/commonjs/credential/status/v1.4.6/index.js +4 -5
- package/lib/commonjs/credential/status/v1.4.6/index.js.map +1 -1
- package/lib/commonjs/credential/trustmark/api/index.js.map +1 -1
- package/lib/commonjs/credential/trustmark/index.js +4 -4
- package/lib/commonjs/credential/trustmark/index.js.map +1 -1
- package/lib/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.js +12 -14
- package/lib/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.js.map +1 -1
- package/lib/commonjs/credential/trustmark/v1.0.0/index.js +2 -3
- package/lib/commonjs/credential/trustmark/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/credential/trustmark/v1.4.6/get-credential-trustmark.js +1 -1
- package/lib/commonjs/credential/trustmark/v1.4.6/get-credential-trustmark.js.map +1 -1
- package/lib/commonjs/credential/trustmark/v1.4.6/index.js +2 -3
- package/lib/commonjs/credential/trustmark/v1.4.6/index.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js +10 -17
- package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/api/index.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/common/get-status-l10n-ids.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/index.js +4 -4
- package/lib/commonjs/credentials-catalogue/index.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js +7 -8
- package/lib/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.0.0/index.js +3 -4
- package/lib/commonjs/credentials-catalogue/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js +19 -24
- package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.0.0/types.js +4 -7
- package/lib/commonjs/credentials-catalogue/v1.0.0/types.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.js +7 -8
- package/lib/commonjs/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.4.6/fetch-translations.js +9 -11
- package/lib/commonjs/credentials-catalogue/v1.4.6/fetch-translations.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.4.6/index.js +4 -5
- package/lib/commonjs/credentials-catalogue/v1.4.6/index.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.4.6/mappers.js +22 -28
- package/lib/commonjs/credentials-catalogue/v1.4.6/mappers.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.4.6/types.js +10 -19
- package/lib/commonjs/credentials-catalogue/v1.4.6/types.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.4.6/utils.js +7 -9
- package/lib/commonjs/credentials-catalogue/v1.4.6/utils.js.map +1 -1
- package/lib/commonjs/index.js +19 -20
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/key-attestation/api/index.js.map +1 -1
- package/lib/commonjs/key-attestation/api/types.js +4 -6
- package/lib/commonjs/key-attestation/api/types.js.map +1 -1
- package/lib/commonjs/key-attestation/index.js +4 -4
- package/lib/commonjs/key-attestation/index.js.map +1 -1
- package/lib/commonjs/key-attestation/v1.0.0/index.js +1 -2
- package/lib/commonjs/key-attestation/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/key-attestation/v1.4.6/index.js +5 -6
- package/lib/commonjs/key-attestation/v1.4.6/index.js.map +1 -1
- package/lib/commonjs/key-attestation/v1.4.6/issuing.js +15 -17
- package/lib/commonjs/key-attestation/v1.4.6/issuing.js.map +1 -1
- package/lib/commonjs/key-attestation/v1.4.6/mappers.js +3 -4
- package/lib/commonjs/key-attestation/v1.4.6/mappers.js.map +1 -1
- package/lib/commonjs/key-attestation/v1.4.6/types.js +5 -8
- package/lib/commonjs/key-attestation/v1.4.6/types.js.map +1 -1
- package/lib/commonjs/key-attestation/v1.4.6/utils.js +1 -1
- package/lib/commonjs/key-attestation/v1.4.6/utils.js.map +1 -1
- package/lib/commonjs/mdoc/const.js +2 -4
- package/lib/commonjs/mdoc/const.js.map +1 -1
- package/lib/commonjs/mdoc/converter.js +0 -1
- package/lib/commonjs/mdoc/converter.js.map +1 -1
- package/lib/commonjs/mdoc/index.js +7 -9
- package/lib/commonjs/mdoc/index.js.map +1 -1
- package/lib/commonjs/mdoc/utils.js +4 -6
- package/lib/commonjs/mdoc/utils.js.map +1 -1
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/sd-jwt/index.js +4 -5
- package/lib/commonjs/sd-jwt/index.js.map +1 -1
- package/lib/commonjs/sd-jwt/types.js +8 -10
- package/lib/commonjs/sd-jwt/types.js.map +1 -1
- package/lib/commonjs/sd-jwt/utils.js +5 -6
- package/lib/commonjs/sd-jwt/utils.js.map +1 -1
- package/lib/commonjs/trust/api/TrustAnchorConfig.js +4 -6
- package/lib/commonjs/trust/api/TrustAnchorConfig.js.map +1 -1
- package/lib/commonjs/trust/api/index.js.map +1 -1
- package/lib/commonjs/trust/common/build-chain.js +8 -11
- package/lib/commonjs/trust/common/build-chain.js.map +1 -1
- package/lib/commonjs/trust/common/errors.js +3 -5
- package/lib/commonjs/trust/common/errors.js.map +1 -1
- package/lib/commonjs/trust/common/types.js +10 -16
- package/lib/commonjs/trust/common/types.js.map +1 -1
- package/lib/commonjs/trust/common/utils.js +12 -15
- package/lib/commonjs/trust/common/utils.js.map +1 -1
- package/lib/commonjs/trust/common/verify-chain.js +20 -25
- package/lib/commonjs/trust/common/verify-chain.js.map +1 -1
- package/lib/commonjs/trust/index.js +4 -5
- package/lib/commonjs/trust/index.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/build-chain.js +4 -5
- package/lib/commonjs/trust/v1.0.0/build-chain.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/entities.js +5 -6
- package/lib/commonjs/trust/v1.0.0/entities.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/index.js +6 -7
- package/lib/commonjs/trust/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/mappers.js +2 -3
- package/lib/commonjs/trust/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/types.js +13 -15
- package/lib/commonjs/trust/v1.0.0/types.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/verify-chain.js +4 -5
- package/lib/commonjs/trust/v1.0.0/verify-chain.js.map +1 -1
- package/lib/commonjs/trust/v1.4.6/entities.js +5 -6
- package/lib/commonjs/trust/v1.4.6/entities.js.map +1 -1
- package/lib/commonjs/trust/v1.4.6/types.js +10 -12
- package/lib/commonjs/trust/v1.4.6/types.js.map +1 -1
- package/lib/commonjs/utils/auth.js +5 -8
- package/lib/commonjs/utils/auth.js.map +1 -1
- package/lib/commonjs/utils/callbacks.js +20 -25
- package/lib/commonjs/utils/callbacks.js.map +1 -1
- package/lib/commonjs/utils/config.js +2 -4
- package/lib/commonjs/utils/config.js.map +1 -1
- package/lib/commonjs/utils/credentials.js +3 -4
- package/lib/commonjs/utils/credentials.js.map +1 -1
- package/lib/commonjs/utils/crypto.js +2 -2
- package/lib/commonjs/utils/crypto.js.map +1 -1
- package/lib/commonjs/utils/decoder.js +2 -2
- package/lib/commonjs/utils/decoder.js.map +1 -1
- package/lib/commonjs/utils/dpop.js +2 -4
- package/lib/commonjs/utils/dpop.js.map +1 -1
- package/lib/commonjs/utils/error-codes.js +3 -6
- package/lib/commonjs/utils/error-codes.js.map +1 -1
- package/lib/commonjs/utils/errors.js +29 -41
- package/lib/commonjs/utils/errors.js.map +1 -1
- package/lib/commonjs/utils/integrity.js.map +1 -1
- package/lib/commonjs/utils/jwk.js +2 -4
- package/lib/commonjs/utils/jwk.js.map +1 -1
- package/lib/commonjs/utils/logging.js +1 -2
- package/lib/commonjs/utils/logging.js.map +1 -1
- package/lib/commonjs/utils/mappers.js +4 -4
- package/lib/commonjs/utils/mappers.js.map +1 -1
- package/lib/commonjs/utils/misc.js +4 -8
- package/lib/commonjs/utils/misc.js.map +1 -1
- package/lib/commonjs/utils/object.js.map +1 -1
- package/lib/commonjs/utils/par.js +73 -81
- package/lib/commonjs/utils/par.js.map +1 -1
- package/lib/commonjs/utils/parser.js.map +1 -1
- package/lib/commonjs/utils/pop.js +2 -4
- package/lib/commonjs/utils/pop.js.map +1 -1
- package/lib/commonjs/utils/string.js +3 -8
- package/lib/commonjs/utils/string.js.map +1 -1
- package/lib/commonjs/utils/x509.js +6 -7
- package/lib/commonjs/utils/x509.js.map +1 -1
- package/lib/commonjs/utils/zod.js +2 -4
- package/lib/commonjs/utils/zod.js.map +1 -1
- package/lib/commonjs/wallet-instance/api/index.js.map +1 -1
- package/lib/commonjs/wallet-instance/common/wallet-instance.js +7 -7
- package/lib/commonjs/wallet-instance/common/wallet-instance.js.map +1 -1
- package/lib/commonjs/wallet-instance/index.js +4 -4
- package/lib/commonjs/wallet-instance/index.js.map +1 -1
- package/lib/commonjs/wallet-instance/v1.0.0/index.js +2 -3
- package/lib/commonjs/wallet-instance/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/wallet-instance/v1.4.6/index.js +2 -3
- package/lib/commonjs/wallet-instance/v1.4.6/index.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/api/index.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/api/types.js +4 -6
- package/lib/commonjs/wallet-instance-attestation/api/types.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/common/types.js +4 -6
- package/lib/commonjs/wallet-instance-attestation/common/types.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/index.js +4 -4
- package/lib/commonjs/wallet-instance-attestation/index.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js +5 -6
- 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 +12 -13
- 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 -6
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/types.js +6 -9
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/types.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/utils.js +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/utils.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.4.6/index.js +5 -6
- package/lib/commonjs/wallet-instance-attestation/v1.4.6/index.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.4.6/issuing.js +15 -17
- package/lib/commonjs/wallet-instance-attestation/v1.4.6/issuing.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.4.6/mappers.js +3 -4
- package/lib/commonjs/wallet-instance-attestation/v1.4.6/mappers.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.4.6/types.js +4 -7
- package/lib/commonjs/wallet-instance-attestation/v1.4.6/types.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.4.6/utils.js +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.4.6/utils.js.map +1 -1
- package/lib/module/IoWallet.js +8 -6
- package/lib/module/IoWallet.js.map +1 -1
- package/lib/module/api/index.js +12 -10
- package/lib/module/api/index.js.map +1 -1
- package/lib/module/client/generated/wallet-provider.js +13 -7
- package/lib/module/client/generated/wallet-provider.js.map +1 -1
- package/lib/module/client/index.js +9 -10
- package/lib/module/client/index.js.map +1 -1
- package/lib/module/credential/index.js +3 -1
- package/lib/module/credential/index.js.map +1 -1
- package/lib/module/credential/issuance/api/01-evaluate-issuer-trust.js +2 -0
- package/lib/module/credential/issuance/api/01-evaluate-issuer-trust.js.map +1 -1
- package/lib/module/credential/issuance/api/02-start-user-authorization.js +2 -0
- package/lib/module/credential/issuance/api/02-start-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/api/03-complete-user-authorization.js +2 -0
- package/lib/module/credential/issuance/api/03-complete-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/api/04-authorize-access.js +2 -0
- package/lib/module/credential/issuance/api/04-authorize-access.js.map +1 -1
- package/lib/module/credential/issuance/api/05-obtain-credential.js +2 -0
- package/lib/module/credential/issuance/api/05-obtain-credential.js.map +1 -1
- package/lib/module/credential/issuance/api/06-verify-and-parse-credential.js +2 -0
- package/lib/module/credential/issuance/api/06-verify-and-parse-credential.js.map +1 -1
- package/lib/module/credential/issuance/api/IssuerConfig.js +4 -2
- package/lib/module/credential/issuance/api/IssuerConfig.js.map +1 -1
- package/lib/module/credential/issuance/api/index.js +2 -0
- package/lib/module/credential/issuance/api/index.js.map +1 -1
- package/lib/module/credential/issuance/api/mrtd-pop/index.js +3 -1
- package/lib/module/credential/issuance/api/mrtd-pop/index.js.map +1 -1
- package/lib/module/credential/issuance/api/mrtd-pop/types.js +1 -1
- package/lib/module/credential/issuance/api/mrtd-pop/types.js.map +1 -1
- package/lib/module/credential/issuance/api/types.js +2 -0
- package/lib/module/credential/issuance/api/types.js.map +1 -1
- package/lib/module/credential/issuance/common/02-start-user-authorization.js +4 -2
- package/lib/module/credential/issuance/common/02-start-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.js +45 -87
- package/lib/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.js.map +1 -1
- package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js +18 -20
- package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
- package/lib/module/credential/issuance/common/errors.js +3 -1
- package/lib/module/credential/issuance/common/errors.js.map +1 -1
- package/lib/module/credential/issuance/index.js +5 -3
- package/lib/module/credential/issuance/index.js.map +1 -1
- package/lib/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js +7 -6
- package/lib/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js.map +1 -1
- package/lib/module/credential/issuance/mrtd-pop/02-init-challenge.js +5 -3
- package/lib/module/credential/issuance/mrtd-pop/02-init-challenge.js.map +1 -1
- package/lib/module/credential/issuance/mrtd-pop/03-validate-challenge.js +4 -2
- package/lib/module/credential/issuance/mrtd-pop/03-validate-challenge.js.map +1 -1
- package/lib/module/credential/issuance/mrtd-pop/index.js +6 -4
- package/lib/module/credential/issuance/mrtd-pop/index.js.map +1 -1
- package/lib/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js +5 -4
- package/lib/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js.map +1 -1
- package/lib/module/credential/issuance/v1.0.0/02-start-user-authorization.js +7 -5
- package/lib/module/credential/issuance/v1.0.0/02-start-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/v1.0.0/03-complete-user-authorization.js +28 -34
- package/lib/module/credential/issuance/v1.0.0/03-complete-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/v1.0.0/04-authorize-access.js +9 -7
- package/lib/module/credential/issuance/v1.0.0/04-authorize-access.js.map +1 -1
- package/lib/module/credential/issuance/v1.0.0/05-obtain-credential.js +9 -8
- package/lib/module/credential/issuance/v1.0.0/05-obtain-credential.js.map +1 -1
- package/lib/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.js +7 -6
- package/lib/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.js.map +1 -1
- package/lib/module/credential/issuance/v1.0.0/index.js +9 -7
- package/lib/module/credential/issuance/v1.0.0/index.js.map +1 -1
- package/lib/module/credential/issuance/v1.0.0/mappers.js +4 -2
- package/lib/module/credential/issuance/v1.0.0/mappers.js.map +1 -1
- package/lib/module/credential/issuance/v1.0.0/types.js +3 -1
- package/lib/module/credential/issuance/v1.0.0/types.js.map +1 -1
- package/lib/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.js +5 -4
- package/lib/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.js.map +1 -1
- package/lib/module/credential/issuance/v1.4.6/02-start-user-authorization.js +7 -5
- package/lib/module/credential/issuance/v1.4.6/02-start-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/v1.4.6/03-complete-user-authorization.js +31 -37
- package/lib/module/credential/issuance/v1.4.6/03-complete-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/v1.4.6/04-authorize-access.js +5 -3
- package/lib/module/credential/issuance/v1.4.6/04-authorize-access.js.map +1 -1
- package/lib/module/credential/issuance/v1.4.6/05-obtain-credential.js +39 -48
- package/lib/module/credential/issuance/v1.4.6/05-obtain-credential.js.map +1 -1
- package/lib/module/credential/issuance/v1.4.6/06-verify-and-parse-credential.js +7 -6
- package/lib/module/credential/issuance/v1.4.6/06-verify-and-parse-credential.js.map +1 -1
- package/lib/module/credential/issuance/v1.4.6/index.js +9 -7
- package/lib/module/credential/issuance/v1.4.6/index.js.map +1 -1
- package/lib/module/credential/issuance/v1.4.6/mappers.js +20 -25
- package/lib/module/credential/issuance/v1.4.6/mappers.js.map +1 -1
- package/lib/module/credential/issuance/v1.4.6/types.js +2 -0
- package/lib/module/credential/issuance/v1.4.6/types.js.map +1 -1
- package/lib/module/credential/offer/api/01-resolve-credential-offer.js +2 -0
- package/lib/module/credential/offer/api/01-resolve-credential-offer.js.map +1 -1
- package/lib/module/credential/offer/api/02-extract-grant-details.js +2 -0
- package/lib/module/credential/offer/api/02-extract-grant-details.js.map +1 -1
- package/lib/module/credential/offer/api/03-validate-credential-offer.js +2 -0
- package/lib/module/credential/offer/api/03-validate-credential-offer.js.map +1 -1
- package/lib/module/credential/offer/api/index.js +3 -1
- package/lib/module/credential/offer/api/index.js.map +1 -1
- package/lib/module/credential/offer/api/types.js +2 -0
- package/lib/module/credential/offer/api/types.js.map +1 -1
- package/lib/module/credential/offer/common/errors.js +3 -1
- package/lib/module/credential/offer/common/errors.js.map +1 -1
- package/lib/module/credential/offer/index.js +5 -3
- package/lib/module/credential/offer/index.js.map +1 -1
- package/lib/module/credential/offer/v1.0.0/index.js +3 -1
- package/lib/module/credential/offer/v1.0.0/index.js.map +1 -1
- package/lib/module/credential/offer/v1.4.6/01-resolve-credential-offer.js +5 -4
- package/lib/module/credential/offer/v1.4.6/01-resolve-credential-offer.js.map +1 -1
- package/lib/module/credential/offer/v1.4.6/02-extract-grant-details.js +5 -3
- package/lib/module/credential/offer/v1.4.6/02-extract-grant-details.js.map +1 -1
- package/lib/module/credential/offer/v1.4.6/03-validate-credential-offer.js +8 -7
- package/lib/module/credential/offer/v1.4.6/03-validate-credential-offer.js.map +1 -1
- package/lib/module/credential/offer/v1.4.6/index.js +5 -3
- package/lib/module/credential/offer/v1.4.6/index.js.map +1 -1
- package/lib/module/credential/presentation/api/01-start-flow.js +2 -0
- package/lib/module/credential/presentation/api/01-start-flow.js.map +1 -1
- package/lib/module/credential/presentation/api/02-evaluate-rp-trust.js +2 -0
- package/lib/module/credential/presentation/api/02-evaluate-rp-trust.js.map +1 -1
- package/lib/module/credential/presentation/api/03-get-request-object.js +2 -0
- package/lib/module/credential/presentation/api/03-get-request-object.js.map +1 -1
- package/lib/module/credential/presentation/api/04-verify-certificate-chain.js +2 -0
- package/lib/module/credential/presentation/api/04-verify-certificate-chain.js.map +1 -1
- package/lib/module/credential/presentation/api/05-verify-request-object.js +2 -0
- package/lib/module/credential/presentation/api/05-verify-request-object.js.map +1 -1
- package/lib/module/credential/presentation/api/06-evaluate-dcql-query.js +2 -0
- package/lib/module/credential/presentation/api/06-evaluate-dcql-query.js.map +1 -1
- package/lib/module/credential/presentation/api/07-send-authorization-response.js +2 -0
- package/lib/module/credential/presentation/api/07-send-authorization-response.js.map +1 -1
- package/lib/module/credential/presentation/api/RelyingPartyConfig.js +3 -1
- package/lib/module/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
- package/lib/module/credential/presentation/api/index.js +3 -1
- package/lib/module/credential/presentation/api/index.js.map +1 -1
- package/lib/module/credential/presentation/api/types.js +2 -0
- package/lib/module/credential/presentation/api/types.js.map +1 -1
- package/lib/module/credential/presentation/common/errors.js +5 -6
- package/lib/module/credential/presentation/common/errors.js.map +1 -1
- package/lib/module/credential/presentation/common/utils/dcql.js +24 -41
- package/lib/module/credential/presentation/common/utils/dcql.js.map +1 -1
- package/lib/module/credential/presentation/common/utils/http.js +9 -11
- package/lib/module/credential/presentation/common/utils/http.js.map +1 -1
- package/lib/module/credential/presentation/common/utils/mdoc.js +19 -28
- package/lib/module/credential/presentation/common/utils/mdoc.js.map +1 -1
- package/lib/module/credential/presentation/common/utils/sd-jwt.js +9 -12
- package/lib/module/credential/presentation/common/utils/sd-jwt.js.map +1 -1
- package/lib/module/credential/presentation/index.js +5 -3
- package/lib/module/credential/presentation/index.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/01-start-flow.js +4 -2
- package/lib/module/credential/presentation/v1.0.0/01-start-flow.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.js +7 -6
- package/lib/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/03-get-request-object.js +10 -9
- package/lib/module/credential/presentation/v1.0.0/03-get-request-object.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/05-verify-request-object.js +13 -15
- package/lib/module/credential/presentation/v1.0.0/05-verify-request-object.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.js +15 -21
- package/lib/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/07-send-authorization-response.js +22 -26
- package/lib/module/credential/presentation/v1.0.0/07-send-authorization-response.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/index.js +8 -6
- package/lib/module/credential/presentation/v1.0.0/index.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/mappers.js +20 -22
- package/lib/module/credential/presentation/v1.0.0/mappers.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/types.js +4 -2
- package/lib/module/credential/presentation/v1.0.0/types.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/utils.js +3 -1
- package/lib/module/credential/presentation/v1.0.0/utils.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/utils.jwks.js +3 -1
- package/lib/module/credential/presentation/v1.0.0/utils.jwks.js.map +1 -1
- package/lib/module/credential/presentation/v1.4.6/01-start-flow.js +5 -6
- package/lib/module/credential/presentation/v1.4.6/01-start-flow.js.map +1 -1
- package/lib/module/credential/presentation/v1.4.6/02-evaluate-rp-trust.js +7 -6
- package/lib/module/credential/presentation/v1.4.6/02-evaluate-rp-trust.js.map +1 -1
- package/lib/module/credential/presentation/v1.4.6/03-get-request-object.js +8 -7
- package/lib/module/credential/presentation/v1.4.6/03-get-request-object.js.map +1 -1
- package/lib/module/credential/presentation/v1.4.6/04-verify-certificate-chain.js +7 -6
- package/lib/module/credential/presentation/v1.4.6/04-verify-certificate-chain.js.map +1 -1
- package/lib/module/credential/presentation/v1.4.6/05-verify-request-object.js +13 -13
- package/lib/module/credential/presentation/v1.4.6/05-verify-request-object.js.map +1 -1
- package/lib/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.js +16 -23
- package/lib/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.js.map +1 -1
- package/lib/module/credential/presentation/v1.4.6/07-send-authorization-response.js +29 -36
- package/lib/module/credential/presentation/v1.4.6/07-send-authorization-response.js.map +1 -1
- package/lib/module/credential/presentation/v1.4.6/index.js +9 -7
- package/lib/module/credential/presentation/v1.4.6/index.js.map +1 -1
- package/lib/module/credential/presentation/v1.4.6/mappers.js +22 -24
- package/lib/module/credential/presentation/v1.4.6/mappers.js.map +1 -1
- package/lib/module/credential/presentation/v1.4.6/sdkErrorMapper.js +11 -13
- package/lib/module/credential/presentation/v1.4.6/sdkErrorMapper.js.map +1 -1
- package/lib/module/credential/presentation/v1.4.6/types.js +2 -0
- package/lib/module/credential/presentation/v1.4.6/types.js.map +1 -1
- package/lib/module/credential/status/api/index.js +3 -1
- package/lib/module/credential/status/api/index.js.map +1 -1
- package/lib/module/credential/status/api/status-assertion.js +2 -0
- package/lib/module/credential/status/api/status-assertion.js.map +1 -1
- package/lib/module/credential/status/api/status-list.js +2 -0
- package/lib/module/credential/status/api/status-list.js.map +1 -1
- package/lib/module/credential/status/api/types.js +3 -1
- package/lib/module/credential/status/api/types.js.map +1 -1
- package/lib/module/credential/status/index.js +5 -3
- package/lib/module/credential/status/index.js.map +1 -1
- package/lib/module/credential/status/v1.0.0/01-status-assertion.js +7 -5
- package/lib/module/credential/status/v1.0.0/01-status-assertion.js.map +1 -1
- package/lib/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js +11 -10
- package/lib/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js.map +1 -1
- package/lib/module/credential/status/v1.0.0/index.js +4 -2
- package/lib/module/credential/status/v1.0.0/index.js.map +1 -1
- package/lib/module/credential/status/v1.0.0/mappers.js +3 -1
- package/lib/module/credential/status/v1.0.0/mappers.js.map +1 -1
- package/lib/module/credential/status/v1.0.0/types.js +4 -2
- package/lib/module/credential/status/v1.0.0/types.js.map +1 -1
- package/lib/module/credential/status/v1.4.6/01-status-list.js +16 -19
- package/lib/module/credential/status/v1.4.6/01-status-list.js.map +1 -1
- package/lib/module/credential/status/v1.4.6/02-verify-and-parse-status-list.js +3 -1
- package/lib/module/credential/status/v1.4.6/02-verify-and-parse-status-list.js.map +1 -1
- package/lib/module/credential/status/v1.4.6/03-get-status.js +3 -1
- package/lib/module/credential/status/v1.4.6/03-get-status.js.map +1 -1
- package/lib/module/credential/status/v1.4.6/index.js +5 -3
- package/lib/module/credential/status/v1.4.6/index.js.map +1 -1
- package/lib/module/credential/trustmark/api/index.js +2 -0
- package/lib/module/credential/trustmark/api/index.js.map +1 -1
- package/lib/module/credential/trustmark/index.js +4 -2
- package/lib/module/credential/trustmark/index.js.map +1 -1
- package/lib/module/credential/trustmark/v1.0.0/get-credential-trustmark.js +13 -12
- package/lib/module/credential/trustmark/v1.0.0/get-credential-trustmark.js.map +1 -1
- package/lib/module/credential/trustmark/v1.0.0/index.js +3 -1
- package/lib/module/credential/trustmark/v1.0.0/index.js.map +1 -1
- package/lib/module/credential/trustmark/v1.4.6/get-credential-trustmark.js +3 -1
- package/lib/module/credential/trustmark/v1.4.6/get-credential-trustmark.js.map +1 -1
- package/lib/module/credential/trustmark/v1.4.6/index.js +3 -1
- package/lib/module/credential/trustmark/v1.4.6/index.js.map +1 -1
- package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js +3 -1
- package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
- package/lib/module/credentials-catalogue/api/index.js +2 -0
- package/lib/module/credentials-catalogue/api/index.js.map +1 -1
- package/lib/module/credentials-catalogue/common/get-status-l10n-ids.js +2 -0
- package/lib/module/credentials-catalogue/common/get-status-l10n-ids.js.map +1 -1
- package/lib/module/credentials-catalogue/index.js +4 -2
- package/lib/module/credentials-catalogue/index.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js +9 -8
- package/lib/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.0.0/index.js +4 -2
- package/lib/module/credentials-catalogue/v1.0.0/index.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.0.0/mappers.js +21 -23
- package/lib/module/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.0.0/types.js +3 -1
- package/lib/module/credentials-catalogue/v1.0.0/types.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.js +9 -8
- package/lib/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.4.6/fetch-translations.js +11 -11
- package/lib/module/credentials-catalogue/v1.4.6/fetch-translations.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.4.6/index.js +5 -3
- package/lib/module/credentials-catalogue/v1.4.6/index.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.4.6/mappers.js +24 -27
- package/lib/module/credentials-catalogue/v1.4.6/mappers.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.4.6/types.js +3 -1
- package/lib/module/credentials-catalogue/v1.4.6/types.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.4.6/utils.js +8 -7
- package/lib/module/credentials-catalogue/v1.4.6/utils.js.map +1 -1
- package/lib/module/index.js +20 -18
- package/lib/module/index.js.map +1 -1
- package/lib/module/key-attestation/api/index.js +2 -0
- package/lib/module/key-attestation/api/index.js.map +1 -1
- package/lib/module/key-attestation/api/types.js +4 -2
- package/lib/module/key-attestation/api/types.js.map +1 -1
- package/lib/module/key-attestation/index.js +4 -2
- package/lib/module/key-attestation/index.js.map +1 -1
- package/lib/module/key-attestation/v1.0.0/index.js +2 -0
- package/lib/module/key-attestation/v1.0.0/index.js.map +1 -1
- package/lib/module/key-attestation/v1.4.6/index.js +6 -4
- package/lib/module/key-attestation/v1.4.6/index.js.map +1 -1
- package/lib/module/key-attestation/v1.4.6/issuing.js +16 -16
- package/lib/module/key-attestation/v1.4.6/issuing.js.map +1 -1
- package/lib/module/key-attestation/v1.4.6/mappers.js +4 -2
- package/lib/module/key-attestation/v1.4.6/mappers.js.map +1 -1
- package/lib/module/key-attestation/v1.4.6/types.js +4 -3
- package/lib/module/key-attestation/v1.4.6/types.js.map +1 -1
- package/lib/module/key-attestation/v1.4.6/utils.js +3 -1
- package/lib/module/key-attestation/v1.4.6/utils.js.map +1 -1
- package/lib/module/mdoc/const.js +2 -0
- package/lib/module/mdoc/const.js.map +1 -1
- package/lib/module/mdoc/converter.js +2 -1
- package/lib/module/mdoc/converter.js.map +1 -1
- package/lib/module/mdoc/index.js +9 -9
- package/lib/module/mdoc/index.js.map +1 -1
- package/lib/module/mdoc/utils.js +6 -6
- package/lib/module/mdoc/utils.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/module/sd-jwt/index.js +6 -5
- package/lib/module/sd-jwt/index.js.map +1 -1
- package/lib/module/sd-jwt/types.js +4 -2
- package/lib/module/sd-jwt/types.js.map +1 -1
- package/lib/module/sd-jwt/utils.js +7 -6
- package/lib/module/sd-jwt/utils.js.map +1 -1
- package/lib/module/trust/api/TrustAnchorConfig.js +4 -2
- package/lib/module/trust/api/TrustAnchorConfig.js.map +1 -1
- package/lib/module/trust/api/index.js +2 -0
- package/lib/module/trust/api/index.js.map +1 -1
- package/lib/module/trust/common/build-chain.js +10 -11
- package/lib/module/trust/common/build-chain.js.map +1 -1
- package/lib/module/trust/common/errors.js +5 -5
- package/lib/module/trust/common/errors.js.map +1 -1
- package/lib/module/trust/common/types.js +4 -2
- package/lib/module/trust/common/types.js.map +1 -1
- package/lib/module/trust/common/utils.js +14 -15
- package/lib/module/trust/common/utils.js.map +1 -1
- package/lib/module/trust/common/verify-chain.js +23 -26
- package/lib/module/trust/common/verify-chain.js.map +1 -1
- package/lib/module/trust/index.js +4 -2
- package/lib/module/trust/index.js.map +1 -1
- package/lib/module/trust/v1.0.0/build-chain.js +5 -3
- package/lib/module/trust/v1.0.0/build-chain.js.map +1 -1
- package/lib/module/trust/v1.0.0/entities.js +7 -6
- package/lib/module/trust/v1.0.0/entities.js.map +1 -1
- package/lib/module/trust/v1.0.0/index.js +7 -5
- package/lib/module/trust/v1.0.0/index.js.map +1 -1
- package/lib/module/trust/v1.0.0/mappers.js +3 -1
- package/lib/module/trust/v1.0.0/mappers.js.map +1 -1
- package/lib/module/trust/v1.0.0/types.js +5 -3
- package/lib/module/trust/v1.0.0/types.js.map +1 -1
- package/lib/module/trust/v1.0.0/verify-chain.js +5 -3
- package/lib/module/trust/v1.0.0/verify-chain.js.map +1 -1
- package/lib/module/trust/v1.4.6/entities.js +7 -6
- package/lib/module/trust/v1.4.6/entities.js.map +1 -1
- package/lib/module/trust/v1.4.6/types.js +4 -2
- package/lib/module/trust/v1.4.6/types.js.map +1 -1
- package/lib/module/utils/auth.js +2 -0
- package/lib/module/utils/auth.js.map +1 -1
- package/lib/module/utils/callbacks.js +21 -23
- package/lib/module/utils/callbacks.js.map +1 -1
- package/lib/module/utils/config.js +2 -0
- package/lib/module/utils/config.js.map +1 -1
- package/lib/module/utils/credentials.js +5 -4
- package/lib/module/utils/credentials.js.map +1 -1
- package/lib/module/utils/crypto.js +4 -2
- package/lib/module/utils/crypto.js.map +1 -1
- package/lib/module/utils/decoder.js +4 -2
- package/lib/module/utils/decoder.js.map +1 -1
- package/lib/module/utils/dpop.js +2 -0
- package/lib/module/utils/dpop.js.map +1 -1
- package/lib/module/utils/error-codes.js +2 -0
- package/lib/module/utils/error-codes.js.map +1 -1
- package/lib/module/utils/errors.js +27 -35
- package/lib/module/utils/errors.js.map +1 -1
- package/lib/module/utils/integrity.js +1 -1
- package/lib/module/utils/integrity.js.map +1 -1
- package/lib/module/utils/jwk.js +2 -0
- package/lib/module/utils/jwk.js.map +1 -1
- package/lib/module/utils/logging.js +2 -0
- package/lib/module/utils/logging.js.map +1 -1
- package/lib/module/utils/mappers.js +6 -4
- package/lib/module/utils/mappers.js.map +1 -1
- package/lib/module/utils/misc.js +7 -8
- package/lib/module/utils/misc.js.map +1 -1
- package/lib/module/utils/object.js +2 -0
- package/lib/module/utils/object.js.map +1 -1
- package/lib/module/utils/par.js +71 -73
- package/lib/module/utils/par.js.map +1 -1
- package/lib/module/utils/parser.js +2 -0
- package/lib/module/utils/parser.js.map +1 -1
- package/lib/module/utils/pop.js +2 -0
- package/lib/module/utils/pop.js.map +1 -1
- package/lib/module/utils/string.js +5 -8
- package/lib/module/utils/string.js.map +1 -1
- package/lib/module/utils/x509.js +8 -7
- package/lib/module/utils/x509.js.map +1 -1
- package/lib/module/utils/zod.js +2 -0
- package/lib/module/utils/zod.js.map +1 -1
- package/lib/module/wallet-instance/api/index.js +2 -0
- package/lib/module/wallet-instance/api/index.js.map +1 -1
- package/lib/module/wallet-instance/common/wallet-instance.js +5 -3
- package/lib/module/wallet-instance/common/wallet-instance.js.map +1 -1
- package/lib/module/wallet-instance/index.js +4 -2
- package/lib/module/wallet-instance/index.js.map +1 -1
- package/lib/module/wallet-instance/v1.0.0/index.js +3 -1
- package/lib/module/wallet-instance/v1.0.0/index.js.map +1 -1
- package/lib/module/wallet-instance/v1.4.6/index.js +3 -1
- package/lib/module/wallet-instance/v1.4.6/index.js.map +1 -1
- package/lib/module/wallet-instance-attestation/api/index.js +2 -0
- package/lib/module/wallet-instance-attestation/api/index.js.map +1 -1
- package/lib/module/wallet-instance-attestation/api/types.js +4 -2
- package/lib/module/wallet-instance-attestation/api/types.js.map +1 -1
- package/lib/module/wallet-instance-attestation/common/types.js +4 -2
- package/lib/module/wallet-instance-attestation/common/types.js.map +1 -1
- package/lib/module/wallet-instance-attestation/index.js +4 -2
- package/lib/module/wallet-instance-attestation/index.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.0.0/index.js +6 -4
- 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 +13 -12
- 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 +4 -2
- package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.0.0/types.js +4 -1
- package/lib/module/wallet-instance-attestation/v1.0.0/types.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.0.0/utils.js +3 -1
- package/lib/module/wallet-instance-attestation/v1.0.0/utils.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.4.6/index.js +6 -4
- package/lib/module/wallet-instance-attestation/v1.4.6/index.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.4.6/issuing.js +16 -16
- package/lib/module/wallet-instance-attestation/v1.4.6/issuing.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.4.6/mappers.js +4 -2
- package/lib/module/wallet-instance-attestation/v1.4.6/mappers.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.4.6/types.js +3 -1
- package/lib/module/wallet-instance-attestation/v1.4.6/types.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.4.6/utils.js +3 -1
- package/lib/module/wallet-instance-attestation/v1.4.6/utils.js.map +1 -1
- package/lib/typescript/commonjs/IoWallet.d.ts.map +1 -0
- package/lib/typescript/commonjs/api/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/client/generated/wallet-provider.d.ts.map +1 -0
- package/lib/typescript/commonjs/client/index.d.ts +13 -0
- package/lib/typescript/commonjs/client/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/api/01-evaluate-issuer-trust.d.ts +22 -0
- package/lib/typescript/commonjs/credential/issuance/api/01-evaluate-issuer-trust.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/api/02-start-user-authorization.d.ts +53 -0
- package/lib/typescript/commonjs/credential/issuance/api/02-start-user-authorization.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/api/03-complete-user-authorization.d.ts +97 -0
- package/lib/typescript/commonjs/credential/issuance/api/03-complete-user-authorization.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/api/04-authorize-access.d.ts +33 -0
- package/lib/typescript/commonjs/credential/issuance/api/04-authorize-access.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/api/05-obtain-credential.d.ts +58 -0
- package/lib/typescript/commonjs/credential/issuance/api/05-obtain-credential.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/api/06-verify-and-parse-credential.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/api/IssuerConfig.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/api/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/api/mrtd-pop/index.d.ts +74 -0
- package/lib/typescript/commonjs/credential/issuance/api/mrtd-pop/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/api/mrtd-pop/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/api/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/common/errors.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/mrtd-pop/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.0.0/mappers.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.0.0/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.4.6/02-start-user-authorization.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.4.6/04-authorize-access.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.4.6/05-obtain-credential.d.ts +26 -0
- package/lib/typescript/commonjs/credential/issuance/v1.4.6/05-obtain-credential.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.4.6/mappers.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/issuance/v1.4.6/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/offer/api/01-resolve-credential-offer.d.ts +22 -0
- package/lib/typescript/commonjs/credential/offer/api/01-resolve-credential-offer.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/offer/api/02-extract-grant-details.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/offer/api/03-validate-credential-offer.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/offer/api/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/offer/api/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/offer/common/errors.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/offer/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/offer/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/offer/v1.4.6/02-extract-grant-details.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/offer/v1.4.6/03-validate-credential-offer.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/offer/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/api/01-start-flow.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/api/02-evaluate-rp-trust.d.ts +18 -0
- package/lib/typescript/commonjs/credential/presentation/api/02-evaluate-rp-trust.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/api/03-get-request-object.d.ts +19 -0
- package/lib/typescript/commonjs/credential/presentation/api/03-get-request-object.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/api/04-verify-certificate-chain.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/api/05-verify-request-object.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/api/07-send-authorization-response.d.ts +54 -0
- package/lib/typescript/commonjs/credential/presentation/api/07-send-authorization-response.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/api/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/api/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/common/errors.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/common/utils/dcql.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/common/utils/http.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/common/utils/mdoc.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.0.0/01-start-flow.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.0.0/mappers.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.0.0/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.0.0/utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.4.6/01-start-flow.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.4.6/03-get-request-object.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.4.6/05-verify-request-object.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.4.6/07-send-authorization-response.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.4.6/mappers.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.4.6/sdkErrorMapper.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/presentation/v1.4.6/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/status/api/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/status/api/status-assertion.d.ts +49 -0
- package/lib/typescript/commonjs/credential/status/api/status-assertion.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/status/api/status-list.d.ts +75 -0
- package/lib/typescript/commonjs/credential/status/api/status-list.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/status/api/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/status/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/status/v1.0.0/01-status-assertion.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/status/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/status/v1.0.0/mappers.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/status/v1.0.0/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/status/v1.4.6/01-status-list.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/status/v1.4.6/03-get-status.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/status/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/trustmark/api/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/trustmark/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/trustmark/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts.map +1 -0
- package/lib/typescript/commonjs/credential/trustmark/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/api/index.d.ts +51 -0
- package/lib/typescript/commonjs/credentials-catalogue/api/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts.map +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/fetch-translations.d.ts.map +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/mappers.d.ts.map +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/utils.d.ts +37 -0
- package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/key-attestation/api/index.d.ts +39 -0
- package/lib/typescript/commonjs/key-attestation/api/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/key-attestation/api/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/key-attestation/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/key-attestation/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/key-attestation/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/key-attestation/v1.4.6/issuing.d.ts.map +1 -0
- package/lib/typescript/commonjs/key-attestation/v1.4.6/mappers.d.ts.map +1 -0
- package/lib/typescript/commonjs/key-attestation/v1.4.6/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/key-attestation/v1.4.6/utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/mdoc/const.d.ts.map +1 -0
- package/lib/typescript/commonjs/mdoc/converter.d.ts.map +1 -0
- package/lib/typescript/commonjs/mdoc/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/mdoc/utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/sd-jwt/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/sd-jwt/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/sd-jwt/utils.d.ts +19 -0
- package/lib/typescript/commonjs/sd-jwt/utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/api/TrustAnchorConfig.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/api/index.d.ts +43 -0
- package/lib/typescript/commonjs/trust/api/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/common/build-chain.d.ts +21 -0
- package/lib/typescript/commonjs/trust/common/build-chain.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/common/errors.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/common/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/common/utils.d.ts +53 -0
- package/lib/typescript/commonjs/trust/common/utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/common/verify-chain.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/v1.0.0/build-chain.d.ts +2 -0
- package/lib/typescript/commonjs/trust/v1.0.0/build-chain.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/v1.0.0/entities.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/v1.0.0/mappers.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/v1.0.0/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/v1.0.0/verify-chain.d.ts +5 -0
- package/lib/typescript/commonjs/trust/v1.0.0/verify-chain.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/v1.4.6/entities.d.ts.map +1 -0
- package/lib/typescript/commonjs/trust/v1.4.6/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/auth.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/callbacks.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/config.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/credentials.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/crypto.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/decoder.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/dpop.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/error-codes.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/errors.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/integrity.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/jwk.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/logging.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/mappers.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/misc.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/object.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/par.d.ts +50 -0
- package/lib/typescript/commonjs/utils/par.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/parser.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/pop.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/string.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/x509.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/zod.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance/api/index.d.ts +45 -0
- package/lib/typescript/commonjs/wallet-instance/api/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance/common/wallet-instance.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/api/index.d.ts +47 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/api/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/api/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/common/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/mappers.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/utils.d.ts.map +1 -0
- package/lib/typescript/module/IoWallet.d.ts +28 -0
- package/lib/typescript/module/IoWallet.d.ts.map +1 -0
- package/lib/typescript/module/api/index.d.ts +31 -0
- package/lib/typescript/module/api/index.d.ts.map +1 -0
- package/lib/typescript/module/client/generated/wallet-provider.d.ts +401 -0
- package/lib/typescript/module/client/generated/wallet-provider.d.ts.map +1 -0
- package/lib/typescript/module/client/index.d.ts +13 -0
- package/lib/typescript/module/client/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/index.d.ts +3 -0
- package/lib/typescript/module/credential/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/api/01-evaluate-issuer-trust.d.ts +22 -0
- package/lib/typescript/module/credential/issuance/api/01-evaluate-issuer-trust.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/api/02-start-user-authorization.d.ts +53 -0
- package/lib/typescript/module/credential/issuance/api/02-start-user-authorization.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/api/03-complete-user-authorization.d.ts +97 -0
- package/lib/typescript/module/credential/issuance/api/03-complete-user-authorization.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/api/04-authorize-access.d.ts +33 -0
- package/lib/typescript/module/credential/issuance/api/04-authorize-access.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/api/05-obtain-credential.d.ts +58 -0
- package/lib/typescript/module/credential/issuance/api/05-obtain-credential.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/api/06-verify-and-parse-credential.d.ts +40 -0
- package/lib/typescript/module/credential/issuance/api/06-verify-and-parse-credential.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/api/IssuerConfig.d.ts +90 -0
- package/lib/typescript/module/credential/issuance/api/IssuerConfig.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/api/index.d.ts +15 -0
- package/lib/typescript/module/credential/issuance/api/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/api/mrtd-pop/index.d.ts +74 -0
- package/lib/typescript/module/credential/issuance/api/mrtd-pop/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/api/mrtd-pop/types.d.ts +34 -0
- package/lib/typescript/module/credential/issuance/api/mrtd-pop/types.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/api/types.d.ts +25 -0
- package/lib/typescript/module/credential/issuance/api/types.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/common/02-start-user-authorization.d.ts +21 -0
- package/lib/typescript/module/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts +3 -0
- package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts +3 -0
- package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/common/errors.d.ts +18 -0
- package/lib/typescript/module/credential/issuance/common/errors.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/index.d.ts +6 -0
- package/lib/typescript/module/credential/issuance/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts +3 -0
- package/lib/typescript/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/mrtd-pop/02-init-challenge.d.ts +14 -0
- package/lib/typescript/module/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/mrtd-pop/03-validate-challenge.d.ts +15 -0
- package/lib/typescript/module/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/mrtd-pop/index.d.ts +4 -0
- package/lib/typescript/module/credential/issuance/mrtd-pop/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts +3 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/02-start-user-authorization.d.ts +3 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts +17 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/04-authorize-access.d.ts +3 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/05-obtain-credential.d.ts +6 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts +3 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/index.d.ts +3 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/mappers.d.ts +307 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/mappers.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/types.d.ts +21 -0
- package/lib/typescript/module/credential/issuance/v1.0.0/types.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts +3 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/02-start-user-authorization.d.ts +3 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/02-start-user-authorization.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts +17 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/04-authorize-access.d.ts +3 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/04-authorize-access.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/05-obtain-credential.d.ts +26 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/05-obtain-credential.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts +3 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/index.d.ts +3 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/mappers.d.ts +1824 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/mappers.d.ts.map +1 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/types.d.ts +6 -0
- package/lib/typescript/module/credential/issuance/v1.4.6/types.d.ts.map +1 -0
- package/lib/typescript/module/credential/offer/api/01-resolve-credential-offer.d.ts +22 -0
- package/lib/typescript/module/credential/offer/api/01-resolve-credential-offer.d.ts.map +1 -0
- package/lib/typescript/module/credential/offer/api/02-extract-grant-details.d.ts +13 -0
- package/lib/typescript/module/credential/offer/api/02-extract-grant-details.d.ts.map +1 -0
- package/lib/typescript/module/credential/offer/api/03-validate-credential-offer.d.ts +19 -0
- package/lib/typescript/module/credential/offer/api/03-validate-credential-offer.d.ts.map +1 -0
- package/lib/typescript/module/credential/offer/api/index.d.ts +7 -0
- package/lib/typescript/module/credential/offer/api/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/offer/api/types.d.ts +5 -0
- package/lib/typescript/module/credential/offer/api/types.d.ts.map +1 -0
- package/lib/typescript/module/credential/offer/common/errors.d.ts +8 -0
- package/lib/typescript/module/credential/offer/common/errors.d.ts.map +1 -0
- package/lib/typescript/module/credential/offer/index.d.ts +6 -0
- package/lib/typescript/module/credential/offer/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/offer/v1.0.0/index.d.ts +3 -0
- package/lib/typescript/module/credential/offer/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts +19 -0
- package/lib/typescript/module/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts.map +1 -0
- package/lib/typescript/module/credential/offer/v1.4.6/02-extract-grant-details.d.ts +16 -0
- package/lib/typescript/module/credential/offer/v1.4.6/02-extract-grant-details.d.ts.map +1 -0
- package/lib/typescript/module/credential/offer/v1.4.6/03-validate-credential-offer.d.ts +15 -0
- package/lib/typescript/module/credential/offer/v1.4.6/03-validate-credential-offer.d.ts.map +1 -0
- package/lib/typescript/module/credential/offer/v1.4.6/index.d.ts +3 -0
- package/lib/typescript/module/credential/offer/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/api/01-start-flow.d.ts +18 -0
- package/lib/typescript/module/credential/presentation/api/01-start-flow.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/api/02-evaluate-rp-trust.d.ts +18 -0
- package/lib/typescript/module/credential/presentation/api/02-evaluate-rp-trust.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/api/03-get-request-object.d.ts +19 -0
- package/lib/typescript/module/credential/presentation/api/03-get-request-object.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/api/04-verify-certificate-chain.d.ts +24 -0
- package/lib/typescript/module/credential/presentation/api/04-verify-certificate-chain.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/api/05-verify-request-object.d.ts +23 -0
- package/lib/typescript/module/credential/presentation/api/05-verify-request-object.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/api/06-evaluate-dcql-query.d.ts +40 -0
- package/lib/typescript/module/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/api/07-send-authorization-response.d.ts +54 -0
- package/lib/typescript/module/credential/presentation/api/07-send-authorization-response.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/api/RelyingPartyConfig.d.ts +40 -0
- package/lib/typescript/module/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/api/index.d.ts +13 -0
- package/lib/typescript/module/credential/presentation/api/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/api/types.d.ts +147 -0
- package/lib/typescript/module/credential/presentation/api/types.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/common/errors.d.ts +80 -0
- package/lib/typescript/module/credential/presentation/common/errors.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/common/utils/dcql.d.ts +78 -0
- package/lib/typescript/module/credential/presentation/common/utils/dcql.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/common/utils/http.d.ts +11 -0
- package/lib/typescript/module/credential/presentation/common/utils/http.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/common/utils/mdoc.d.ts +28 -0
- package/lib/typescript/module/credential/presentation/common/utils/mdoc.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/common/utils/sd-jwt.d.ts +14 -0
- package/lib/typescript/module/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/index.d.ts +6 -0
- package/lib/typescript/module/credential/presentation/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/01-start-flow.d.ts +3 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/01-start-flow.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts +3 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/03-get-request-object.d.ts +3 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/05-verify-request-object.d.ts +3 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts +3 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/07-send-authorization-response.d.ts +26 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/index.d.ts +3 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/mappers.d.ts +149 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/mappers.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/types.d.ts +49 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/types.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/utils.d.ts +11 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/utils.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/utils.jwks.d.ts +11 -0
- package/lib/typescript/module/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/01-start-flow.d.ts +3 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/01-start-flow.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts +3 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/03-get-request-object.d.ts +3 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/03-get-request-object.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts +3 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/05-verify-request-object.d.ts +3 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/05-verify-request-object.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts +3 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/07-send-authorization-response.d.ts +18 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/07-send-authorization-response.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/index.d.ts +3 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/mappers.d.ts +239 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/mappers.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/sdkErrorMapper.d.ts +13 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/sdkErrorMapper.d.ts.map +1 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/types.d.ts +106 -0
- package/lib/typescript/module/credential/presentation/v1.4.6/types.d.ts.map +1 -0
- package/lib/typescript/module/credential/status/api/index.d.ts +23 -0
- package/lib/typescript/module/credential/status/api/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/status/api/status-assertion.d.ts +49 -0
- package/lib/typescript/module/credential/status/api/status-assertion.d.ts.map +1 -0
- package/lib/typescript/module/credential/status/api/status-list.d.ts +75 -0
- package/lib/typescript/module/credential/status/api/status-list.d.ts.map +1 -0
- package/lib/typescript/module/credential/status/api/types.d.ts +36 -0
- package/lib/typescript/module/credential/status/api/types.d.ts.map +1 -0
- package/lib/typescript/module/credential/status/index.d.ts +4 -0
- package/lib/typescript/module/credential/status/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/status/v1.0.0/01-status-assertion.d.ts +3 -0
- package/lib/typescript/module/credential/status/v1.0.0/01-status-assertion.d.ts.map +1 -0
- package/lib/typescript/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts +3 -0
- package/lib/typescript/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +1 -0
- package/lib/typescript/module/credential/status/v1.0.0/index.d.ts +3 -0
- package/lib/typescript/module/credential/status/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/status/v1.0.0/mappers.d.ts +47 -0
- package/lib/typescript/module/credential/status/v1.0.0/mappers.d.ts.map +1 -0
- package/lib/typescript/module/credential/status/v1.0.0/types.d.ts +156 -0
- package/lib/typescript/module/credential/status/v1.0.0/types.d.ts.map +1 -0
- package/lib/typescript/module/credential/status/v1.4.6/01-status-list.d.ts +5 -0
- package/lib/typescript/module/credential/status/v1.4.6/01-status-list.d.ts.map +1 -0
- package/lib/typescript/module/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts +3 -0
- package/lib/typescript/module/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts.map +1 -0
- package/lib/typescript/module/credential/status/v1.4.6/03-get-status.d.ts +3 -0
- package/lib/typescript/module/credential/status/v1.4.6/03-get-status.d.ts.map +1 -0
- package/lib/typescript/module/credential/status/v1.4.6/index.d.ts +3 -0
- package/lib/typescript/module/credential/status/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/trustmark/api/index.d.ts +49 -0
- package/lib/typescript/module/credential/trustmark/api/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/trustmark/index.d.ts +4 -0
- package/lib/typescript/module/credential/trustmark/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts +3 -0
- package/lib/typescript/module/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +1 -0
- package/lib/typescript/module/credential/trustmark/v1.0.0/index.d.ts +3 -0
- package/lib/typescript/module/credential/trustmark/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/module/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts +3 -0
- package/lib/typescript/module/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts.map +1 -0
- package/lib/typescript/module/credential/trustmark/v1.4.6/index.d.ts +3 -0
- package/lib/typescript/module/credential/trustmark/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/module/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +319 -0
- package/lib/typescript/module/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -0
- package/lib/typescript/module/credentials-catalogue/api/index.d.ts +51 -0
- package/lib/typescript/module/credentials-catalogue/api/index.d.ts.map +1 -0
- package/lib/typescript/module/credentials-catalogue/common/get-status-l10n-ids.d.ts +9 -0
- package/lib/typescript/module/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +1 -0
- package/lib/typescript/module/credentials-catalogue/index.d.ts +4 -0
- package/lib/typescript/module/credentials-catalogue/index.d.ts.map +1 -0
- package/lib/typescript/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts +3 -0
- package/lib/typescript/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +1 -0
- package/lib/typescript/module/credentials-catalogue/v1.0.0/index.d.ts +3 -0
- package/lib/typescript/module/credentials-catalogue/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/module/credentials-catalogue/v1.0.0/mappers.d.ts +125 -0
- package/lib/typescript/module/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -0
- package/lib/typescript/module/credentials-catalogue/v1.0.0/types.d.ts +148 -0
- package/lib/typescript/module/credentials-catalogue/v1.0.0/types.d.ts.map +1 -0
- package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts +3 -0
- package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts.map +1 -0
- package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-translations.d.ts +3 -0
- package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-translations.d.ts.map +1 -0
- package/lib/typescript/module/credentials-catalogue/v1.4.6/index.d.ts +3 -0
- package/lib/typescript/module/credentials-catalogue/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/module/credentials-catalogue/v1.4.6/mappers.d.ts +326 -0
- package/lib/typescript/module/credentials-catalogue/v1.4.6/mappers.d.ts.map +1 -0
- package/lib/typescript/module/credentials-catalogue/v1.4.6/types.d.ts +354 -0
- package/lib/typescript/module/credentials-catalogue/v1.4.6/types.d.ts.map +1 -0
- package/lib/typescript/module/credentials-catalogue/v1.4.6/utils.d.ts +37 -0
- package/lib/typescript/module/credentials-catalogue/v1.4.6/utils.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +25 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/key-attestation/api/index.d.ts +39 -0
- package/lib/typescript/module/key-attestation/api/index.d.ts.map +1 -0
- package/lib/typescript/module/key-attestation/api/types.d.ts +56 -0
- package/lib/typescript/module/key-attestation/api/types.d.ts.map +1 -0
- package/lib/typescript/module/key-attestation/index.d.ts +4 -0
- package/lib/typescript/module/key-attestation/index.d.ts.map +1 -0
- package/lib/typescript/module/key-attestation/v1.0.0/index.d.ts +3 -0
- package/lib/typescript/module/key-attestation/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/module/key-attestation/v1.4.6/index.d.ts +3 -0
- package/lib/typescript/module/key-attestation/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/module/key-attestation/v1.4.6/issuing.d.ts +3 -0
- package/lib/typescript/module/key-attestation/v1.4.6/issuing.d.ts.map +1 -0
- package/lib/typescript/module/key-attestation/v1.4.6/mappers.d.ts +85 -0
- package/lib/typescript/module/key-attestation/v1.4.6/mappers.d.ts.map +1 -0
- package/lib/typescript/module/key-attestation/v1.4.6/types.d.ts +58 -0
- package/lib/typescript/module/key-attestation/v1.4.6/types.d.ts.map +1 -0
- package/lib/typescript/module/key-attestation/v1.4.6/utils.d.ts +7 -0
- package/lib/typescript/module/key-attestation/v1.4.6/utils.d.ts.map +1 -0
- package/lib/typescript/module/mdoc/const.d.ts +3 -0
- package/lib/typescript/module/mdoc/const.d.ts.map +1 -0
- package/lib/typescript/module/mdoc/converter.d.ts +8 -0
- package/lib/typescript/module/mdoc/converter.d.ts.map +1 -0
- package/lib/typescript/module/mdoc/index.d.ts +10 -0
- package/lib/typescript/module/mdoc/index.d.ts.map +1 -0
- package/lib/typescript/module/mdoc/utils.d.ts +33 -0
- package/lib/typescript/module/mdoc/utils.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/sd-jwt/index.d.ts +92 -0
- package/lib/typescript/module/sd-jwt/index.d.ts.map +1 -0
- package/lib/typescript/module/sd-jwt/types.d.ts +104 -0
- package/lib/typescript/module/sd-jwt/types.d.ts.map +1 -0
- package/lib/typescript/module/sd-jwt/utils.d.ts +19 -0
- package/lib/typescript/module/sd-jwt/utils.d.ts.map +1 -0
- package/lib/typescript/module/trust/api/TrustAnchorConfig.d.ts +58 -0
- package/lib/typescript/module/trust/api/TrustAnchorConfig.d.ts.map +1 -0
- package/lib/typescript/module/trust/api/index.d.ts +43 -0
- package/lib/typescript/module/trust/api/index.d.ts.map +1 -0
- package/lib/typescript/module/trust/common/build-chain.d.ts +21 -0
- package/lib/typescript/module/trust/common/build-chain.d.ts.map +1 -0
- package/lib/typescript/module/trust/common/errors.d.ts +103 -0
- package/lib/typescript/module/trust/common/errors.d.ts.map +1 -0
- package/lib/typescript/module/trust/common/types.d.ts +140 -0
- package/lib/typescript/module/trust/common/types.d.ts.map +1 -0
- package/lib/typescript/module/trust/common/utils.d.ts +53 -0
- package/lib/typescript/module/trust/common/utils.d.ts.map +1 -0
- package/lib/typescript/module/trust/common/verify-chain.d.ts +27 -0
- package/lib/typescript/module/trust/common/verify-chain.d.ts.map +1 -0
- package/lib/typescript/module/trust/index.d.ts +5 -0
- package/lib/typescript/module/trust/index.d.ts.map +1 -0
- package/lib/typescript/module/trust/v1.0.0/build-chain.d.ts +2 -0
- package/lib/typescript/module/trust/v1.0.0/build-chain.d.ts.map +1 -0
- package/lib/typescript/module/trust/v1.0.0/entities.d.ts +945 -0
- package/lib/typescript/module/trust/v1.0.0/entities.d.ts.map +1 -0
- package/lib/typescript/module/trust/v1.0.0/index.d.ts +3 -0
- package/lib/typescript/module/trust/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/module/trust/v1.0.0/mappers.d.ts +109 -0
- package/lib/typescript/module/trust/v1.0.0/mappers.d.ts.map +1 -0
- package/lib/typescript/module/trust/v1.0.0/types.d.ts +968 -0
- package/lib/typescript/module/trust/v1.0.0/types.d.ts.map +1 -0
- package/lib/typescript/module/trust/v1.0.0/verify-chain.d.ts +5 -0
- package/lib/typescript/module/trust/v1.0.0/verify-chain.d.ts.map +1 -0
- package/lib/typescript/module/trust/v1.4.6/entities.d.ts +100 -0
- package/lib/typescript/module/trust/v1.4.6/entities.d.ts.map +1 -0
- package/lib/typescript/module/trust/v1.4.6/types.d.ts +958 -0
- package/lib/typescript/module/trust/v1.4.6/types.d.ts.map +1 -0
- package/lib/typescript/module/utils/auth.d.ts +41 -0
- package/lib/typescript/module/utils/auth.d.ts.map +1 -0
- package/lib/typescript/module/utils/callbacks.d.ts +28 -0
- package/lib/typescript/module/utils/callbacks.d.ts.map +1 -0
- package/lib/typescript/module/utils/config.d.ts +10 -0
- package/lib/typescript/module/utils/config.d.ts.map +1 -0
- package/lib/typescript/module/utils/credentials.d.ts +16 -0
- package/lib/typescript/module/utils/credentials.d.ts.map +1 -0
- package/lib/typescript/module/utils/crypto.d.ts +70 -0
- package/lib/typescript/module/utils/crypto.d.ts.map +1 -0
- package/lib/typescript/module/utils/decoder.d.ts +6 -0
- package/lib/typescript/module/utils/decoder.d.ts.map +1 -0
- package/lib/typescript/module/utils/dpop.d.ts +22 -0
- package/lib/typescript/module/utils/dpop.d.ts.map +1 -0
- package/lib/typescript/module/utils/error-codes.d.ts +57 -0
- package/lib/typescript/module/utils/error-codes.d.ts.map +1 -0
- package/lib/typescript/module/utils/errors.d.ts +196 -0
- package/lib/typescript/module/utils/errors.d.ts.map +1 -0
- package/lib/typescript/module/utils/integrity.d.ts +21 -0
- package/lib/typescript/module/utils/integrity.d.ts.map +1 -0
- package/lib/typescript/module/utils/jwk.d.ts +78 -0
- package/lib/typescript/module/utils/jwk.d.ts.map +1 -0
- package/lib/typescript/module/utils/logging.d.ts +35 -0
- package/lib/typescript/module/utils/logging.d.ts.map +1 -0
- package/lib/typescript/module/utils/mappers.d.ts +47 -0
- package/lib/typescript/module/utils/mappers.d.ts.map +1 -0
- package/lib/typescript/module/utils/misc.d.ts +36 -0
- package/lib/typescript/module/utils/misc.d.ts.map +1 -0
- package/lib/typescript/module/utils/object.d.ts +4 -0
- package/lib/typescript/module/utils/object.d.ts.map +1 -0
- package/lib/typescript/module/utils/par.d.ts +50 -0
- package/lib/typescript/module/utils/par.d.ts.map +1 -0
- package/lib/typescript/module/utils/parser.d.ts +9 -0
- package/lib/typescript/module/utils/parser.d.ts.map +1 -0
- package/lib/typescript/module/utils/pop.d.ts +18 -0
- package/lib/typescript/module/utils/pop.d.ts.map +1 -0
- package/lib/typescript/module/utils/string.d.ts +31 -0
- package/lib/typescript/module/utils/string.d.ts.map +1 -0
- package/lib/typescript/module/utils/x509.d.ts +10 -0
- package/lib/typescript/module/utils/x509.d.ts.map +1 -0
- package/lib/typescript/module/utils/zod.d.ts +17 -0
- package/lib/typescript/module/utils/zod.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance/api/index.d.ts +45 -0
- package/lib/typescript/module/wallet-instance/api/index.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance/common/wallet-instance.d.ts +6 -0
- package/lib/typescript/module/wallet-instance/common/wallet-instance.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance/index.d.ts +4 -0
- package/lib/typescript/module/wallet-instance/index.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance/v1.0.0/index.d.ts +3 -0
- package/lib/typescript/module/wallet-instance/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance/v1.4.6/index.d.ts +3 -0
- package/lib/typescript/module/wallet-instance/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/api/index.d.ts +47 -0
- package/lib/typescript/module/wallet-instance-attestation/api/index.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/api/types.d.ts +54 -0
- package/lib/typescript/module/wallet-instance-attestation/api/types.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/common/types.d.ts +47 -0
- package/lib/typescript/module/wallet-instance-attestation/common/types.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/index.d.ts +4 -0
- package/lib/typescript/module/wallet-instance-attestation/index.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.0.0/index.d.ts +3 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.0.0/issuing.d.ts +3 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.0.0/mappers.d.ts +91 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.0.0/types.d.ts +120 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.0.0/utils.d.ts +15 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.0.0/utils.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.4.6/index.d.ts +3 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.4.6/issuing.d.ts +3 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.4.6/mappers.d.ts +84 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.4.6/mappers.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.4.6/types.d.ts +59 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.4.6/types.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.4.6/utils.d.ts +15 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.4.6/utils.d.ts.map +1 -0
- package/package.json +115 -114
- package/src/client/index.ts +1 -1
- package/src/credential/issuance/api/01-evaluate-issuer-trust.ts +1 -1
- package/src/credential/issuance/api/02-start-user-authorization.ts +1 -1
- package/src/credential/issuance/api/03-complete-user-authorization.ts +3 -3
- package/src/credential/issuance/api/04-authorize-access.ts +1 -1
- package/src/credential/issuance/api/05-obtain-credential.ts +2 -2
- package/src/credential/issuance/api/mrtd-pop/index.ts +2 -2
- package/src/credential/issuance/common/errors.ts +2 -2
- package/src/credential/issuance/v1.4.6/05-obtain-credential.ts +1 -1
- package/src/credential/offer/api/01-resolve-credential-offer.ts +1 -1
- package/src/credential/offer/common/errors.ts +2 -2
- package/src/credential/presentation/api/02-evaluate-rp-trust.ts +1 -1
- package/src/credential/presentation/api/03-get-request-object.ts +1 -1
- package/src/credential/presentation/api/07-send-authorization-response.ts +1 -1
- package/src/credential/presentation/common/errors.ts +6 -6
- package/src/credential/presentation/v1.4.6/sdkErrorMapper.ts +6 -4
- package/src/credential/status/api/status-assertion.ts +1 -1
- package/src/credential/status/api/status-list.ts +2 -2
- package/src/credential/status/v1.4.6/01-status-list.ts +1 -1
- package/src/credentials-catalogue/api/index.ts +1 -1
- package/src/credentials-catalogue/v1.4.6/utils.ts +2 -2
- package/src/key-attestation/api/index.ts +7 -1
- package/src/sd-jwt/utils.ts +1 -1
- package/src/trust/api/index.ts +3 -3
- package/src/trust/common/build-chain.ts +1 -1
- package/src/trust/common/errors.ts +10 -10
- package/src/trust/common/utils.ts +1 -1
- package/src/trust/common/verify-chain.ts +1 -1
- package/src/utils/errors.ts +7 -7
- package/src/utils/par.ts +1 -1
- package/src/wallet-instance/api/index.ts +4 -4
- package/src/wallet-instance-attestation/api/index.ts +7 -1
- package/lib/commonjs/sd-jwt/__test__/types.test.js +0 -32
- package/lib/commonjs/sd-jwt/__test__/types.test.js.map +0 -1
- package/lib/commonjs/sd-jwt/__test__/utils.test.js +0 -16
- package/lib/commonjs/sd-jwt/__test__/utils.test.js.map +0 -1
- package/lib/module/sd-jwt/__test__/types.test.js +0 -30
- package/lib/module/sd-jwt/__test__/types.test.js.map +0 -1
- package/lib/module/sd-jwt/__test__/utils.test.js +0 -14
- package/lib/module/sd-jwt/__test__/utils.test.js.map +0 -1
- package/lib/typescript/IoWallet.d.ts.map +0 -1
- package/lib/typescript/api/index.d.ts.map +0 -1
- package/lib/typescript/client/generated/wallet-provider.d.ts.map +0 -1
- package/lib/typescript/client/index.d.ts +0 -13
- package/lib/typescript/client/index.d.ts.map +0 -1
- package/lib/typescript/credential/index.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/api/01-evaluate-issuer-trust.d.ts +0 -22
- package/lib/typescript/credential/issuance/api/01-evaluate-issuer-trust.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/api/02-start-user-authorization.d.ts +0 -53
- package/lib/typescript/credential/issuance/api/02-start-user-authorization.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts +0 -97
- package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/api/04-authorize-access.d.ts +0 -33
- package/lib/typescript/credential/issuance/api/04-authorize-access.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts +0 -58
- package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/api/06-verify-and-parse-credential.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/api/index.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/api/mrtd-pop/index.d.ts +0 -74
- package/lib/typescript/credential/issuance/api/mrtd-pop/index.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/api/mrtd-pop/types.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/api/types.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/common/errors.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/index.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/mrtd-pop/index.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.0.0/index.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.0.0/types.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.4.6/02-start-user-authorization.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.4.6/04-authorize-access.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.4.6/05-obtain-credential.d.ts +0 -26
- package/lib/typescript/credential/issuance/v1.4.6/05-obtain-credential.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.4.6/index.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.4.6/mappers.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.4.6/types.d.ts.map +0 -1
- package/lib/typescript/credential/offer/api/01-resolve-credential-offer.d.ts +0 -22
- package/lib/typescript/credential/offer/api/01-resolve-credential-offer.d.ts.map +0 -1
- package/lib/typescript/credential/offer/api/02-extract-grant-details.d.ts.map +0 -1
- package/lib/typescript/credential/offer/api/03-validate-credential-offer.d.ts.map +0 -1
- package/lib/typescript/credential/offer/api/index.d.ts.map +0 -1
- package/lib/typescript/credential/offer/api/types.d.ts.map +0 -1
- package/lib/typescript/credential/offer/common/errors.d.ts.map +0 -1
- package/lib/typescript/credential/offer/index.d.ts.map +0 -1
- package/lib/typescript/credential/offer/v1.0.0/index.d.ts.map +0 -1
- package/lib/typescript/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts.map +0 -1
- package/lib/typescript/credential/offer/v1.4.6/02-extract-grant-details.d.ts.map +0 -1
- package/lib/typescript/credential/offer/v1.4.6/03-validate-credential-offer.d.ts.map +0 -1
- package/lib/typescript/credential/offer/v1.4.6/index.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/api/01-start-flow.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/api/02-evaluate-rp-trust.d.ts +0 -18
- package/lib/typescript/credential/presentation/api/02-evaluate-rp-trust.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/api/03-get-request-object.d.ts +0 -19
- package/lib/typescript/credential/presentation/api/03-get-request-object.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/api/04-verify-certificate-chain.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/api/05-verify-request-object.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/api/07-send-authorization-response.d.ts +0 -54
- package/lib/typescript/credential/presentation/api/07-send-authorization-response.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/api/index.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/api/types.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/common/errors.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/common/utils/dcql.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/common/utils/http.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/common/utils/mdoc.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/common/utils/sd-jwt.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/index.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.0.0/01-start-flow.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.0.0/index.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.0.0/types.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.4.6/01-start-flow.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.4.6/03-get-request-object.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.4.6/05-verify-request-object.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.4.6/07-send-authorization-response.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.4.6/index.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.4.6/mappers.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.4.6/sdkErrorMapper.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.4.6/types.d.ts.map +0 -1
- package/lib/typescript/credential/status/api/index.d.ts.map +0 -1
- package/lib/typescript/credential/status/api/status-assertion.d.ts +0 -49
- package/lib/typescript/credential/status/api/status-assertion.d.ts.map +0 -1
- package/lib/typescript/credential/status/api/status-list.d.ts +0 -75
- package/lib/typescript/credential/status/api/status-list.d.ts.map +0 -1
- package/lib/typescript/credential/status/api/types.d.ts.map +0 -1
- package/lib/typescript/credential/status/index.d.ts.map +0 -1
- package/lib/typescript/credential/status/v1.0.0/01-status-assertion.d.ts.map +0 -1
- package/lib/typescript/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +0 -1
- package/lib/typescript/credential/status/v1.0.0/index.d.ts.map +0 -1
- package/lib/typescript/credential/status/v1.0.0/mappers.d.ts.map +0 -1
- package/lib/typescript/credential/status/v1.0.0/types.d.ts.map +0 -1
- package/lib/typescript/credential/status/v1.4.6/01-status-list.d.ts.map +0 -1
- package/lib/typescript/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts.map +0 -1
- package/lib/typescript/credential/status/v1.4.6/03-get-status.d.ts.map +0 -1
- package/lib/typescript/credential/status/v1.4.6/index.d.ts.map +0 -1
- package/lib/typescript/credential/trustmark/api/index.d.ts.map +0 -1
- package/lib/typescript/credential/trustmark/index.d.ts.map +0 -1
- package/lib/typescript/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +0 -1
- package/lib/typescript/credential/trustmark/v1.0.0/index.d.ts.map +0 -1
- package/lib/typescript/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts.map +0 -1
- package/lib/typescript/credential/trustmark/v1.4.6/index.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/api/index.d.ts +0 -51
- package/lib/typescript/credentials-catalogue/api/index.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/index.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/v1.0.0/index.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/v1.4.6/fetch-translations.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/v1.4.6/index.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/v1.4.6/mappers.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/v1.4.6/types.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/v1.4.6/utils.d.ts +0 -37
- package/lib/typescript/credentials-catalogue/v1.4.6/utils.d.ts.map +0 -1
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/key-attestation/api/index.d.ts +0 -39
- package/lib/typescript/key-attestation/api/index.d.ts.map +0 -1
- package/lib/typescript/key-attestation/api/types.d.ts.map +0 -1
- package/lib/typescript/key-attestation/index.d.ts.map +0 -1
- package/lib/typescript/key-attestation/v1.0.0/index.d.ts.map +0 -1
- package/lib/typescript/key-attestation/v1.4.6/index.d.ts.map +0 -1
- package/lib/typescript/key-attestation/v1.4.6/issuing.d.ts.map +0 -1
- package/lib/typescript/key-attestation/v1.4.6/mappers.d.ts.map +0 -1
- package/lib/typescript/key-attestation/v1.4.6/types.d.ts.map +0 -1
- package/lib/typescript/key-attestation/v1.4.6/utils.d.ts.map +0 -1
- package/lib/typescript/mdoc/const.d.ts.map +0 -1
- package/lib/typescript/mdoc/converter.d.ts.map +0 -1
- package/lib/typescript/mdoc/index.d.ts.map +0 -1
- package/lib/typescript/mdoc/utils.d.ts.map +0 -1
- package/lib/typescript/sd-jwt/__test__/types.test.d.ts +0 -2
- package/lib/typescript/sd-jwt/__test__/types.test.d.ts.map +0 -1
- package/lib/typescript/sd-jwt/__test__/utils.test.d.ts +0 -2
- package/lib/typescript/sd-jwt/__test__/utils.test.d.ts.map +0 -1
- package/lib/typescript/sd-jwt/index.d.ts.map +0 -1
- package/lib/typescript/sd-jwt/types.d.ts.map +0 -1
- package/lib/typescript/sd-jwt/utils.d.ts +0 -19
- package/lib/typescript/sd-jwt/utils.d.ts.map +0 -1
- package/lib/typescript/trust/api/TrustAnchorConfig.d.ts.map +0 -1
- package/lib/typescript/trust/api/index.d.ts +0 -43
- package/lib/typescript/trust/api/index.d.ts.map +0 -1
- package/lib/typescript/trust/common/build-chain.d.ts +0 -21
- package/lib/typescript/trust/common/build-chain.d.ts.map +0 -1
- package/lib/typescript/trust/common/errors.d.ts.map +0 -1
- package/lib/typescript/trust/common/types.d.ts.map +0 -1
- package/lib/typescript/trust/common/utils.d.ts +0 -53
- package/lib/typescript/trust/common/utils.d.ts.map +0 -1
- package/lib/typescript/trust/common/verify-chain.d.ts.map +0 -1
- package/lib/typescript/trust/index.d.ts.map +0 -1
- package/lib/typescript/trust/v1.0.0/build-chain.d.ts +0 -2
- package/lib/typescript/trust/v1.0.0/build-chain.d.ts.map +0 -1
- package/lib/typescript/trust/v1.0.0/entities.d.ts.map +0 -1
- package/lib/typescript/trust/v1.0.0/index.d.ts.map +0 -1
- package/lib/typescript/trust/v1.0.0/mappers.d.ts.map +0 -1
- package/lib/typescript/trust/v1.0.0/types.d.ts.map +0 -1
- package/lib/typescript/trust/v1.0.0/verify-chain.d.ts +0 -5
- package/lib/typescript/trust/v1.0.0/verify-chain.d.ts.map +0 -1
- package/lib/typescript/trust/v1.4.6/entities.d.ts.map +0 -1
- package/lib/typescript/trust/v1.4.6/types.d.ts.map +0 -1
- package/lib/typescript/utils/auth.d.ts.map +0 -1
- package/lib/typescript/utils/callbacks.d.ts.map +0 -1
- package/lib/typescript/utils/config.d.ts.map +0 -1
- package/lib/typescript/utils/credentials.d.ts.map +0 -1
- package/lib/typescript/utils/crypto.d.ts.map +0 -1
- package/lib/typescript/utils/decoder.d.ts.map +0 -1
- package/lib/typescript/utils/dpop.d.ts.map +0 -1
- package/lib/typescript/utils/error-codes.d.ts.map +0 -1
- package/lib/typescript/utils/errors.d.ts.map +0 -1
- package/lib/typescript/utils/integrity.d.ts.map +0 -1
- package/lib/typescript/utils/jwk.d.ts.map +0 -1
- package/lib/typescript/utils/logging.d.ts.map +0 -1
- package/lib/typescript/utils/mappers.d.ts.map +0 -1
- package/lib/typescript/utils/misc.d.ts.map +0 -1
- package/lib/typescript/utils/object.d.ts.map +0 -1
- package/lib/typescript/utils/par.d.ts +0 -50
- package/lib/typescript/utils/par.d.ts.map +0 -1
- package/lib/typescript/utils/parser.d.ts.map +0 -1
- package/lib/typescript/utils/pop.d.ts.map +0 -1
- package/lib/typescript/utils/string.d.ts.map +0 -1
- package/lib/typescript/utils/x509.d.ts.map +0 -1
- package/lib/typescript/utils/zod.d.ts.map +0 -1
- package/lib/typescript/wallet-instance/api/index.d.ts +0 -45
- package/lib/typescript/wallet-instance/api/index.d.ts.map +0 -1
- package/lib/typescript/wallet-instance/common/wallet-instance.d.ts.map +0 -1
- package/lib/typescript/wallet-instance/index.d.ts.map +0 -1
- package/lib/typescript/wallet-instance/v1.0.0/index.d.ts.map +0 -1
- package/lib/typescript/wallet-instance/v1.4.6/index.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/api/index.d.ts +0 -46
- package/lib/typescript/wallet-instance-attestation/api/index.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/api/types.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/common/types.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/index.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/index.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/utils.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/v1.4.6/index.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/v1.4.6/mappers.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/v1.4.6/types.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/v1.4.6/utils.d.ts.map +0 -1
- package/src/sd-jwt/__test__/types.test.ts +0 -37
- package/src/sd-jwt/__test__/utils.test.ts +0 -15
- /package/lib/typescript/{IoWallet.d.ts → commonjs/IoWallet.d.ts} +0 -0
- /package/lib/typescript/{api → commonjs/api}/index.d.ts +0 -0
- /package/lib/typescript/{client → commonjs/client}/generated/wallet-provider.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/api/06-verify-and-parse-credential.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/api/IssuerConfig.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/api/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/api/mrtd-pop/types.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/api/types.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/common/02-start-user-authorization.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/common/06-verify-and-parse-credential.mdoc.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/common/errors.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/02-init-challenge.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/03-validate-challenge.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/02-start-user-authorization.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/03-complete-user-authorization.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/04-authorize-access.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/05-obtain-credential.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/06-verify-and-parse-credential.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/mappers.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/types.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/02-start-user-authorization.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/03-complete-user-authorization.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/04-authorize-access.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/06-verify-and-parse-credential.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/mappers.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/types.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/offer/api/02-extract-grant-details.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/offer/api/03-validate-credential-offer.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/offer/api/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/offer/api/types.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/offer/common/errors.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/offer/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/offer/v1.0.0/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/01-resolve-credential-offer.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/02-extract-grant-details.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/03-validate-credential-offer.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/api/01-start-flow.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/api/04-verify-certificate-chain.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/api/05-verify-request-object.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/api/06-evaluate-dcql-query.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/api/RelyingPartyConfig.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/api/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/api/types.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/common/errors.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/dcql.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/http.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/mdoc.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/sd-jwt.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/01-start-flow.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/02-evaluate-rp-trust.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/03-get-request-object.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/05-verify-request-object.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/06-evaluate-dcql-query.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/07-send-authorization-response.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/mappers.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/types.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/utils.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/utils.jwks.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/01-start-flow.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/02-evaluate-rp-trust.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/03-get-request-object.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/04-verify-certificate-chain.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/05-verify-request-object.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/06-evaluate-dcql-query.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/07-send-authorization-response.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/mappers.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/sdkErrorMapper.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/types.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/status/api/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/status/api/types.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/status/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/01-status-assertion.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/mappers.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/types.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/01-status-list.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/02-verify-and-parse-status-list.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/03-get-status.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/trustmark/api/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/trustmark/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.0.0/get-credential-trustmark.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.0.0/index.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.4.6/get-credential-trustmark.d.ts +0 -0
- /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.4.6/index.d.ts +0 -0
- /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/api/DigitalCredentialsCatalogue.d.ts +0 -0
- /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/common/get-status-l10n-ids.d.ts +0 -0
- /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/index.d.ts +0 -0
- /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/fetch-and-parse-catalogue.d.ts +0 -0
- /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/index.d.ts +0 -0
- /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/mappers.d.ts +0 -0
- /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/types.d.ts +0 -0
- /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/fetch-and-parse-catalogue.d.ts +0 -0
- /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/fetch-translations.d.ts +0 -0
- /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/index.d.ts +0 -0
- /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/mappers.d.ts +0 -0
- /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/types.d.ts +0 -0
- /package/lib/typescript/{index.d.ts → commonjs/index.d.ts} +0 -0
- /package/lib/typescript/{key-attestation → commonjs/key-attestation}/api/types.d.ts +0 -0
- /package/lib/typescript/{key-attestation → commonjs/key-attestation}/index.d.ts +0 -0
- /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.0.0/index.d.ts +0 -0
- /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/index.d.ts +0 -0
- /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/issuing.d.ts +0 -0
- /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/mappers.d.ts +0 -0
- /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/types.d.ts +0 -0
- /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/utils.d.ts +0 -0
- /package/lib/typescript/{mdoc → commonjs/mdoc}/const.d.ts +0 -0
- /package/lib/typescript/{mdoc → commonjs/mdoc}/converter.d.ts +0 -0
- /package/lib/typescript/{mdoc → commonjs/mdoc}/index.d.ts +0 -0
- /package/lib/typescript/{mdoc → commonjs/mdoc}/utils.d.ts +0 -0
- /package/lib/typescript/{sd-jwt → commonjs/sd-jwt}/index.d.ts +0 -0
- /package/lib/typescript/{sd-jwt → commonjs/sd-jwt}/types.d.ts +0 -0
- /package/lib/typescript/{trust → commonjs/trust}/api/TrustAnchorConfig.d.ts +0 -0
- /package/lib/typescript/{trust → commonjs/trust}/common/errors.d.ts +0 -0
- /package/lib/typescript/{trust → commonjs/trust}/common/types.d.ts +0 -0
- /package/lib/typescript/{trust → commonjs/trust}/common/verify-chain.d.ts +0 -0
- /package/lib/typescript/{trust → commonjs/trust}/index.d.ts +0 -0
- /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/entities.d.ts +0 -0
- /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/index.d.ts +0 -0
- /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/mappers.d.ts +0 -0
- /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/types.d.ts +0 -0
- /package/lib/typescript/{trust → commonjs/trust}/v1.4.6/entities.d.ts +0 -0
- /package/lib/typescript/{trust → commonjs/trust}/v1.4.6/types.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/auth.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/callbacks.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/config.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/credentials.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/crypto.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/decoder.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/dpop.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/error-codes.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/errors.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/integrity.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/jwk.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/logging.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/mappers.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/misc.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/object.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/parser.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/pop.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/string.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/x509.d.ts +0 -0
- /package/lib/typescript/{utils → commonjs/utils}/zod.d.ts +0 -0
- /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/common/wallet-instance.d.ts +0 -0
- /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/index.d.ts +0 -0
- /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/v1.0.0/index.d.ts +0 -0
- /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/v1.4.6/index.d.ts +0 -0
- /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/api/types.d.ts +0 -0
- /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/common/types.d.ts +0 -0
- /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/index.d.ts +0 -0
- /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/index.d.ts +0 -0
- /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/issuing.d.ts +0 -0
- /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/mappers.d.ts +0 -0
- /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/types.d.ts +0 -0
- /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/utils.d.ts +0 -0
- /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/index.d.ts +0 -0
- /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/issuing.d.ts +0 -0
- /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/mappers.d.ts +0 -0
- /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/types.d.ts +0 -0
- /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/utils.d.ts +0 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import {
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { getStatusL10nIds } from "../common/get-status-l10n-ids.js";
|
|
4
|
+
import { fetchAndParseCatalogue } from "./fetch-and-parse-catalogue.js";
|
|
5
|
+
import { fetchTranslations } from "./fetch-translations.js";
|
|
4
6
|
export const CredentialsCatalogue = {
|
|
5
7
|
fetchAndParseCatalogue,
|
|
6
8
|
fetchTranslations,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getStatusL10nIds","fetchAndParseCatalogue","fetchTranslations","CredentialsCatalogue"],"sourceRoot":"../../../../src","sources":["credentials-catalogue/v1.4.6/index.ts"],"mappings":"AAEA,SAASA,gBAAgB,QAAQ
|
|
1
|
+
{"version":3,"names":["getStatusL10nIds","fetchAndParseCatalogue","fetchTranslations","CredentialsCatalogue"],"sourceRoot":"../../../../src","sources":["credentials-catalogue/v1.4.6/index.ts"],"mappings":";;AAEA,SAASA,gBAAgB,QAAQ,kCAA+B;AAChE,SAASC,sBAAsB,QAAQ,gCAA6B;AACpE,SAASC,iBAAiB,QAAQ,yBAAsB;AAExD,OAAO,MAAMC,oBAA6C,GAAG;EAC3DF,sBAAsB;EACtBC,iBAAiB;EACjBF;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { createMapper } from "../../utils/mappers.js";
|
|
4
|
+
import { assert } from "../../utils/misc.js";
|
|
5
|
+
import { groupBy, keyBy } from "../../utils/object.js";
|
|
6
|
+
import { DigitalCredentialsCatalogue } from "../api/DigitalCredentialsCatalogue.js";
|
|
7
|
+
export const mapToCredentialsCatalogue = createMapper(([discoveryJwt, catalogueJwt, authSourceRegistry, schemaRegistry, taxonomyRegistry]) => {
|
|
7
8
|
const authSourcesById = keyBy(authSourceRegistry.authentic_sources, "entity_id");
|
|
8
9
|
const schemasByCredentialType = groupBy(schemaRegistry.schemas, "credential_type");
|
|
9
|
-
const resolveAuthSource =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} = _ref2;
|
|
10
|
+
const resolveAuthSource = ({
|
|
11
|
+
dataset_id,
|
|
12
|
+
id
|
|
13
|
+
}) => {
|
|
14
14
|
const as = authSourcesById.get(id);
|
|
15
15
|
assert(as, `AS ${id} must be present in the Authentic Source Registry`);
|
|
16
16
|
const {
|
|
@@ -21,12 +21,12 @@ export const mapToCredentialsCatalogue = createMapper(_ref => {
|
|
|
21
21
|
} = as.organization_info;
|
|
22
22
|
const dataCapability = as.data_capabilities.find(dc => dc.dataset_id === dataset_id);
|
|
23
23
|
return {
|
|
24
|
-
contacts: dataCapability
|
|
25
|
-
data_origin_l10n_id: dataCapability
|
|
24
|
+
contacts: dataCapability?.contacts,
|
|
25
|
+
data_origin_l10n_id: dataCapability?.data_origin_l10n_id,
|
|
26
26
|
id,
|
|
27
27
|
organization_code: ipa_code,
|
|
28
28
|
organization_name_l10n_id,
|
|
29
|
-
user_information_l10n_id: dataCapability
|
|
29
|
+
user_information_l10n_id: dataCapability?.user_information_l10n_id,
|
|
30
30
|
...rest
|
|
31
31
|
};
|
|
32
32
|
};
|
|
@@ -47,19 +47,16 @@ export const mapToCredentialsCatalogue = createMapper(_ref => {
|
|
|
47
47
|
return {
|
|
48
48
|
...catalogueJwt.payload,
|
|
49
49
|
as_localization: authSourceRegistry.localization,
|
|
50
|
-
credentials: catalogueJwt.payload.credentials.map(
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
...credential
|
|
61
|
-
};
|
|
62
|
-
}),
|
|
50
|
+
credentials: catalogueJwt.payload.credentials.map(({
|
|
51
|
+
authentic_sources,
|
|
52
|
+
credential_name_l10n_id,
|
|
53
|
+
...credential
|
|
54
|
+
}) => ({
|
|
55
|
+
authentic_sources: authentic_sources ? authentic_sources.map(resolveAuthSource) : [],
|
|
56
|
+
formats: resolveFormats(credential.credential_type),
|
|
57
|
+
name_l10n_id: credential_name_l10n_id,
|
|
58
|
+
...credential
|
|
59
|
+
})),
|
|
63
60
|
localization: catalogueJwt.payload.localization,
|
|
64
61
|
taxonomy: {
|
|
65
62
|
description_l10n_id: taxonomyRegistry.description_l10n_id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createMapper","assert","groupBy","keyBy","DigitalCredentialsCatalogue","mapToCredentialsCatalogue","
|
|
1
|
+
{"version":3,"names":["createMapper","assert","groupBy","keyBy","DigitalCredentialsCatalogue","mapToCredentialsCatalogue","discoveryJwt","catalogueJwt","authSourceRegistry","schemaRegistry","taxonomyRegistry","authSourcesById","authentic_sources","schemasByCredentialType","schemas","resolveAuthSource","dataset_id","id","as","get","contacts","ipa_code","organization_name_l10n_id","rest","organization_info","dataCapability","data_capabilities","find","dc","data_origin_l10n_id","organization_code","user_information_l10n_id","resolveFormats","credentialType","map","schema","configuration_id","format","replace","credential_type","docType","schema_uri","vct","payload","as_localization","localization","credentials","credential_name_l10n_id","credential","formats","name_l10n_id","taxonomy","description_l10n_id","domains","purposes","taxonomy_uri","endpoints","outputSchema"],"sourceRoot":"../../../../src","sources":["credentials-catalogue/v1.4.6/mappers.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,wBAAqB;AAClD,SAASC,MAAM,QAAQ,qBAAkB;AACzC,SAASC,OAAO,EAAEC,KAAK,QAAQ,uBAAoB;AACnD,SAGEC,2BAA2B,QACtB,uCAAoC;AAS3C,OAAO,MAAMC,yBAAyB,GAAGL,YAAY,CAUnD,CAAC,CACCM,YAAY,EACZC,YAAY,EACZC,kBAAkB,EAClBC,cAAc,EACdC,gBAAgB,CACjB,KAAK;EACJ,MAAMC,eAAe,GAAGR,KAAK,CAC3BK,kBAAkB,CAACI,iBAAiB,EACpC,WACF,CAAC;EACD,MAAMC,uBAAuB,GAAGX,OAAO,CACrCO,cAAc,CAACK,OAAO,EACtB,iBACF,CAAC;EAED,MAAMC,iBAAiB,GAAGA,CAAC;IACzBC,UAAU;IACVC;EAIF,CAAC,KAAyB;IACxB,MAAMC,EAAE,GAAG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Y;IAChDC,WAAW,EAAEvC,YAAY,CAACoC,OAAO,CAACG,WAAW,CAACZ,GAAG,CAC/C,CAAC;MAAEtB,iBAAiB;MAAEmC,uBAAuB;MAAE,GAAGC;IAAW,CAAC,MAAM;MAClEpC,iBAAiB,EAAEA,iBAAiB,GAChCA,iBAAiB,CAACsB,GAAG,CAACnB,iBAAiB,CAAC,GACxC,EAAE;MACNkC,OAAO,EAAEjB,cAAc,CAACgB,UAAU,CAACT,eAAe,CAAC;MACnDW,YAAY,EAAEH,uBAAuB;MACrC,GAAGC;IACL,CAAC,CACH,CAAC;IACDH,YAAY,EAAEtC,YAAY,CAACoC,OAAO,CAACE,YAAY;IAC/CM,QAAQ,EAAE;MACRC,mBAAmB,EAAE1C,gBAAgB,CAAC0C,mBAAmB;MACzDC,OAAO,EAAE3C,gBAAgB,CAAC2C,OAAO;MACjCpC,EAAE,EAAEP,gBAAgB,CAACO,EAAE;MACvB4B,YAAY,EAAEnC,gBAAgB,CAACmC,YAAY;MAC3CK,YAAY,EAAExC,gBAAgB,CAACwC,YAAY;MAC3CI,QAAQ,EAAE5C,gBAAgB,CAAC4C;IAC7B,CAAC;IACDC,YAAY,EAAEjD,YAAY,CAACqC,OAAO,CAACa,SAAS,CAACL;EAC/C,CAAC;AACH,CAAC,EACD;EACEM,YAAY,EAAErD;AAChB,CACF,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import * as z from "zod";
|
|
2
|
-
import { UnixTime } from "../../utils/zod";
|
|
4
|
+
import { UnixTime } from "../../utils/zod.js";
|
|
3
5
|
const ASDataCapability = z.object({
|
|
4
6
|
// optional per spec (api_specification required in spec but absent in actual responses)
|
|
5
7
|
api_specification: z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["z","UnixTime","ASDataCapability","object","api_specification","string","optional","available_claims","array","claim_name","mandatory","boolean","order","number","background_color","contacts","type","value","data_origin_l10n_id","data_provision","deferred_flow","immediate_flow","dataset_id","domains","integration_endpoint","integration_method","intended_purposes","logo_uri","service_documentation","update_frequency","user_information_l10n_id","AuthenticSource","data_capabilities","entity_id","organization_info","dpa_contact","homepage_uri","ipa_code","legal_identifier","logo_extended_uri","organization_country","organization_name_l10n_id","organization_type","policy_uri","tos_uri","Schema","credential_type","description","docType","format","enum","id","schema_uri","vct","version","AdministrativeExpirationUserInfo","description_l10n_id","title_l10n_id","AllowedState","catchall","CredentialIssuer","issuance_flows","legal_type","organization_code","DigitalCredential","administrative_expiration_user_info","authentic_sources","authentication","min_loa","supported_schemes","user_auth_required","classes","credential_name_l10n_id","issuers","parent_credentials","purposes","restriction_policy","allowed_issuer_ids","allowed_wallet_ids","presentation_flows","proximity","remote","validity_info","allowed_states","max_validity_days","status_methods","JwtHeader","alg","kid","typ","x5c","SchemaRegistry","last_modified","last_updated","schemas","AuthenticSourceRegistry","localization","available_locales","base_uri","default_locale","DigitalCredentialsCatalogueJwt","header","payload","credentials","exp","iat","iss","RegistryDiscoveryEndpoints","claims_registry","credential_catalog","federation_fetch_endpoint","federation_list_endpoint","federation_resolve_endpoint","federation_trust_mark_status_endpoint","schema_registry","taxonomy","RegistryDiscoveryJwt","endpoints","registry_version","TaxonomyPurpose","name_l10n_id","TaxonomyClass","supported_purposes","TaxonomyDomain","TaxonomyRegistry"],"sourceRoot":"../../../../src","sources":["credentials-catalogue/v1.4.6/types.ts"],"mappings":"AAAA,OAAO,KAAKA,CAAC,MAAM,KAAK;AAExB,SAASC,QAAQ,QAAQ,iBAAiB;AAE1C,MAAMC,gBAAgB,GAAGF,CAAC,CAACG,MAAM,CAAC;EAChC;EACAC,iBAAiB,EAAEJ,CAAC,CAACK,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACxCC,gBAAgB,EAAEP,CAAC,CAACQ,KAAK,CACvBR,CAAC,CAACG,MAAM,CAAC;IACPM,UAAU,EAAET,CAAC,CAACK,MAAM,CAAC,CA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AC,CAACQ,KAAK,CAACR,CAAC,CAACK,MAAM,CAAC,CAAC,CAAC;IACtC6F,QAAQ,EAAElG,CAAC,CAACK,MAAM,CAAC,CAAC;IACpB8F,cAAc,EAAEnG,CAAC,CAACK,MAAM,CAAC,CAAC;IAC1BiD,OAAO,EAAEtD,CAAC,CAACK,MAAM,CAAC;EACpB,CAAC,CAAC,CACDC,QAAQ,CAAC,CAAC;EACbkH,YAAY,EAAExH,CAAC,CAACK,MAAM,CAAC,CAAC;EACxBsE,QAAQ,EAAE3E,CAAC,CAACQ,KAAK,CAAC+G,eAAe,CAAC;EAClCjE,OAAO,EAAEtD,CAAC,CAACK,MAAM,CAAC;AACpB,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"names":["z","UnixTime","ASDataCapability","object","api_specification","string","optional","available_claims","array","claim_name","mandatory","boolean","order","number","background_color","contacts","type","value","data_origin_l10n_id","data_provision","deferred_flow","immediate_flow","dataset_id","domains","integration_endpoint","integration_method","intended_purposes","logo_uri","service_documentation","update_frequency","user_information_l10n_id","AuthenticSource","data_capabilities","entity_id","organization_info","dpa_contact","homepage_uri","ipa_code","legal_identifier","logo_extended_uri","organization_country","organization_name_l10n_id","organization_type","policy_uri","tos_uri","Schema","credential_type","description","docType","format","enum","id","schema_uri","vct","version","AdministrativeExpirationUserInfo","description_l10n_id","title_l10n_id","AllowedState","catchall","CredentialIssuer","issuance_flows","legal_type","organization_code","DigitalCredential","administrative_expiration_user_info","authentic_sources","authentication","min_loa","supported_schemes","user_auth_required","classes","credential_name_l10n_id","issuers","parent_credentials","purposes","restriction_policy","allowed_issuer_ids","allowed_wallet_ids","presentation_flows","proximity","remote","validity_info","allowed_states","max_validity_days","status_methods","JwtHeader","alg","kid","typ","x5c","SchemaRegistry","last_modified","last_updated","schemas","AuthenticSourceRegistry","localization","available_locales","base_uri","default_locale","DigitalCredentialsCatalogueJwt","header","payload","credentials","exp","iat","iss","RegistryDiscoveryEndpoints","claims_registry","credential_catalog","federation_fetch_endpoint","federation_list_endpoint","federation_resolve_endpoint","federation_trust_mark_status_endpoint","schema_registry","taxonomy","RegistryDiscoveryJwt","endpoints","registry_version","TaxonomyPurpose","name_l10n_id","TaxonomyClass","supported_purposes","TaxonomyDomain","TaxonomyRegistry"],"sourceRoot":"../../../../src","sources":["credentials-catalogue/v1.4.6/types.ts"],"mappings":";;AAAA,OAAO,KAAKA,CAAC,MAAM,KAAK;AAExB,SAASC,QAAQ,QAAQ,oBAAiB;AAE1C,MAAMC,gBAAgB,GAAGF,CAAC,CAACG,MAAM,CAAC;EAChC;EACAC,iBAAiB,EAAEJ,CAAC,CAACK,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACxCC,gBAAgB,EAAEP,CAAC,CAACQ,KAAK,CACvBR,CAAC,CAACG,MAAM,CAAC;IACPM,UAAU,EAAET,CAAC,CAACK,MAAM,CAAC,CAAC;IACtBK,SAAS,EAAEV,CAAC,CAACW,OAAO,CAAC,CAAC;IACtBC,KAAK,EAAEZ,CAAC,CAACa,MAAM,CAAC;EAClB,CAAC,CACH,CAAC;EACDC,gBAAgB,EAAEd,CAAC,CAACK,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACvCS,QAAQ,EAAEf,CAAC,CACRQ,KAAK,CACJR,CAAC,CAACG,MAAM,CAAC;IACPa,IAAI,EAAEhB,CAAC,CAACK,MAAM,CAAC,CAAC;IAChBY,KAAK,EAAEjB,CAAC,CAACK,MAAM,CAAC;EAClB,CAAC,CACH,CAAC,CACAC,QAAQ,CAAC,CAAC;EACbY,mBAAmB,EAAElB,CAAC,CAACK,MAAM,CAAC,CAAC;EAC/Bc,cAAc,EAAEnB,CAAC,CACdG,MAAM,CAAC;IACNiB,aAAa,EAAEpB,CAAC,CAACW,OAAO,CAAC,CAAC;IAC1BU,cAAc,EAAErB,CAAC,CAACW,OAAO,CAAC;EAC5B,CAAC,CAAC,CACDL,QAAQ,CAAC,CAAC;EACb;EACAgB,UAAU,EAAEtB,CA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jE,mBAAmB,EAAExD,CAAC,CAACK,MAAM,CAAC,CAAC;EAC/B8C,EAAE,EAAEnD,CAAC,CAACK,MAAM,CAAC,CAAC;EACdmH,YAAY,EAAExH,CAAC,CAACK,MAAM,CAAC;AACzB,CAAC,CAAC;;AAEF;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMuH,gBAAgB,GAAG5H,CAAC,CAACG,MAAM,CAAC;EACvCqD,mBAAmB,EAAExD,CAAC,CAACK,MAAM,CAAC,CAAC;EAC/BkB,OAAO,EAAEvB,CAAC,CAACQ,KAAK,CAACmH,cAAc,CAAC;EAChCxE,EAAE,EAAEnD,CAAC,CAACK,MAAM,CAAC,CAAC;EACduF,aAAa,EAAE5F,CAAC,CAACK,MAAM,CAAC,CAAC;EACzB2F,YAAY,EAAEhG,CAAC,CACZG,MAAM,CAAC;IACN8F,iBAAiB,EAAEjG,CAAC,CAACQ,KAAK,CAACR,CAAC,CAACK,MAAM,CAAC,CAAC,CAAC;IACtC6F,QAAQ,EAAElG,CAAC,CAACK,MAAM,CAAC,CAAC;IACpB8F,cAAc,EAAEnG,CAAC,CAACK,MAAM,CAAC,CAAC;IAC1BiD,OAAO,EAAEtD,CAAC,CAACK,MAAM,CAAC;EACpB,CAAC,CAAC,CACDC,QAAQ,CAAC,CAAC;EACbkH,YAAY,EAAExH,CAAC,CAACK,MAAM,CAAC,CAAC;EACxBsE,QAAQ,EAAE3E,CAAC,CAACQ,KAAK,CAAC+G,eAAe,CAAC;EAClCjE,OAAO,EAAEtD,CAAC,CAACK,MAAM,CAAC;AACpB,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import { decode as decodeJwt, verify } from "@pagopa/io-react-native-jwt";
|
|
2
4
|
import * as z from "zod";
|
|
3
|
-
import { IoWalletError } from "../../utils/errors";
|
|
4
|
-
import { assert, hasStatusOrThrow } from "../../utils/misc";
|
|
5
|
+
import { IoWalletError } from "../../utils/errors.js";
|
|
6
|
+
import { assert, hasStatusOrThrow } from "../../utils/misc.js";
|
|
5
7
|
/**
|
|
6
8
|
* Utility to fetch an entity from the Registry Infrastructure.
|
|
7
9
|
* The function supports `application/json` and signed JOSE/JWT responses.
|
|
@@ -27,11 +29,11 @@ export const fetchRegistry = async (url, params) => {
|
|
|
27
29
|
method: "GET"
|
|
28
30
|
}).then(hasStatusOrThrow(200));
|
|
29
31
|
const contentType = response.headers.get("Content-Type");
|
|
30
|
-
if (contentType
|
|
32
|
+
if (contentType?.includes("application/json")) {
|
|
31
33
|
const responseJson = await response.json();
|
|
32
34
|
return schema.parse(responseJson);
|
|
33
35
|
}
|
|
34
|
-
if (contentType
|
|
36
|
+
if (contentType?.includes("application/jwt") || contentType?.includes("application/jose")) {
|
|
35
37
|
assert("jwks" in params, "params.jwks required when response is JWT");
|
|
36
38
|
const responseText = await response.text();
|
|
37
39
|
const responseJwt = decodeJwt(responseText);
|
|
@@ -59,8 +61,7 @@ export const fetchRegistry = async (url, params) => {
|
|
|
59
61
|
* @param appFetch Custom fetch implementation
|
|
60
62
|
* @returns Flat key→value translation map
|
|
61
63
|
*/
|
|
62
|
-
export const fetchLocaleBundle = async
|
|
63
|
-
let appFetch = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : fetch;
|
|
64
|
+
export const fetchLocaleBundle = async (baseUri, locale, appFetch = fetch) => {
|
|
64
65
|
const url = `${baseUri.replace(/\/$/, "")}/${locale}.json`;
|
|
65
66
|
const response = await appFetch(url, {
|
|
66
67
|
headers: {
|
|
@@ -69,7 +70,7 @@ export const fetchLocaleBundle = async function (baseUri, locale) {
|
|
|
69
70
|
method: "GET"
|
|
70
71
|
}).then(hasStatusOrThrow(200));
|
|
71
72
|
const contentType = response.headers.get("Content-Type");
|
|
72
|
-
if (!
|
|
73
|
+
if (!contentType?.includes("application/json")) {
|
|
73
74
|
throw new IoWalletError(`Locale bundle at ${url} returned unexpected Content-Type: ${contentType}`);
|
|
74
75
|
}
|
|
75
76
|
const responseJson = await response.json();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["decode","decodeJwt","verify","z","IoWalletError","assert","hasStatusOrThrow","fetchRegistry","url","params","appFetch","fetch","asJson","schema","response","headers","Accept","method","then","contentType","get","includes","responseJson","json","parse","responseText","text","responseJwt","headerKid","protectedHeader","kid","signatureJwk","jwks","find","jwk","header","payload","fetchLocaleBundle","baseUri","locale","
|
|
1
|
+
{"version":3,"names":["decode","decodeJwt","verify","z","IoWalletError","assert","hasStatusOrThrow","fetchRegistry","url","params","appFetch","fetch","asJson","schema","response","headers","Accept","method","then","contentType","get","includes","responseJson","json","parse","responseText","text","responseJwt","headerKid","protectedHeader","kid","signatureJwk","jwks","find","jwk","header","payload","fetchLocaleBundle","baseUri","locale","replace","record","string"],"sourceRoot":"../../../../src","sources":["credentials-catalogue/v1.4.6/utils.ts"],"mappings":";;AAAA,SAASA,MAAM,IAAIC,SAAS,EAAEC,MAAM,QAAQ,6BAA6B;AACzE,OAAO,KAAKC,CAAC,MAAM,KAAK;AAIxB,SAASC,aAAa,QAAQ,uBAAoB;AAClD,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,qBAAkB;AAO3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,aAAa,GAAG,MAAAA,CAC3BC,GAAW,EACXC,MAA8B,KACf;EACf,MAAM;IAAEC,QAAQ,GAAGC,KAAK;IAAEC,MAAM,GAAG,KAAK;IAAEC;EAAO,CAAC,GAAGJ,MAAM;EAE3D,MAAMK,QAAQ,GAAG,MAAMJ,QAAQ,CAACF,GAAG,EAAE;IACnCO,OAAO,EAAE;MACPC,MAAM,EAAEJ,MAAM,GAAG,kBAAkB,GAAG;IACxC,CAAC;IACDK,MAAM,EAAE;EACV,CAAC,CAAC,CAACC,IAAI,CAACZ,gBAAgB,CAAC,GAAG,CAAC,CAAC;EAE9B,MAAMa,WAAW,GAAGL,QAA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B,OAAO,CAACE,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,IAAID,MAAM,OAAO;EAE1D,MAAMzB,QAAQ,GAAG,MAAMJ,QAAQ,CAACF,GAAG,EAAE;IACnCO,OAAO,EAAE;MAAEC,MAAM,EAAE;IAAmB,CAAC;IACvCC,MAAM,EAAE;EACV,CAAC,CAAC,CAACC,IAAI,CAACZ,gBAAgB,CAAC,GAAG,CAAC,CAAC;EAE9B,MAAMa,WAAW,GAAGL,QAAQ,CAACC,OAAO,CAACK,GAAG,CAAC,cAAc,CAAC;EACxD,IAAI,CAACD,WAAW,EAAEE,QAAQ,CAAC,kBAAkB,CAAC,EAAE;IAC9C,MAAM,IAAIjB,aAAa,CACrB,oBAAoBI,GAAG,sCAAsCW,WAAW,EAC1E,CAAC;EACH;EAEA,MAAMG,YAAY,GAAG,MAAMR,QAAQ,CAACS,IAAI,CAAC,CAAC;EAC1C,OAAOpB,CAAC,CAACsC,MAAM,CAACtC,CAAC,CAACuC,MAAM,CAAC,CAAC,EAAEvC,CAAC,CAACuC,MAAM,CAAC,CAAC,CAAC,CAAClB,KAAK,CAACF,YAAY,CAAC;AAC7D,CAAC","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
// polyfill due to known bugs on URL implementation for react native
|
|
2
4
|
// https://github.com/facebook/react-native/issues/24428
|
|
3
5
|
import "react-native-url-polyfill/auto";
|
|
4
|
-
import * as CredentialIssuance from "./credential/issuance";
|
|
5
|
-
import * as CredentialOffer from "./credential/offer";
|
|
6
|
-
import * as RemotePresentation from "./credential/presentation";
|
|
7
|
-
import * as CredentialStatus from "./credential/status";
|
|
8
|
-
import * as Trustmark from "./credential/trustmark";
|
|
9
|
-
import * as CredentialsCatalogue from "./credentials-catalogue";
|
|
10
|
-
import * as KeyAttestation from "./key-attestation";
|
|
11
|
-
import * as Mdoc from "./mdoc";
|
|
12
|
-
import * as SdJwt from "./sd-jwt";
|
|
13
|
-
import * as Trust from "./trust";
|
|
14
|
-
import { createCryptoContextFor, getJwkFromCertificateChain } from "./utils/crypto";
|
|
15
|
-
import * as Errors from "./utils/errors";
|
|
16
|
-
import { fixBase64EncodingOnKey } from "./utils/jwk";
|
|
17
|
-
import * as Logging from "./utils/logging";
|
|
18
|
-
import { AuthorizationDetail, AuthorizationDetails } from "./utils/par";
|
|
19
|
-
import * as WalletInstance from "./wallet-instance";
|
|
20
|
-
import * as WalletInstanceAttestation from "./wallet-instance-attestation";
|
|
6
|
+
import * as CredentialIssuance from "./credential/issuance/index.js";
|
|
7
|
+
import * as CredentialOffer from "./credential/offer/index.js";
|
|
8
|
+
import * as RemotePresentation from "./credential/presentation/index.js";
|
|
9
|
+
import * as CredentialStatus from "./credential/status/index.js";
|
|
10
|
+
import * as Trustmark from "./credential/trustmark/index.js";
|
|
11
|
+
import * as CredentialsCatalogue from "./credentials-catalogue/index.js";
|
|
12
|
+
import * as KeyAttestation from "./key-attestation/index.js";
|
|
13
|
+
import * as Mdoc from "./mdoc/index.js";
|
|
14
|
+
import * as SdJwt from "./sd-jwt/index.js";
|
|
15
|
+
import * as Trust from "./trust/index.js";
|
|
16
|
+
import { createCryptoContextFor, getJwkFromCertificateChain } from "./utils/crypto.js";
|
|
17
|
+
import * as Errors from "./utils/errors.js";
|
|
18
|
+
import { fixBase64EncodingOnKey } from "./utils/jwk.js";
|
|
19
|
+
import * as Logging from "./utils/logging.js";
|
|
20
|
+
import { AuthorizationDetail, AuthorizationDetails } from "./utils/par.js";
|
|
21
|
+
import * as WalletInstance from "./wallet-instance/index.js";
|
|
22
|
+
import * as WalletInstanceAttestation from "./wallet-instance-attestation/index.js";
|
|
21
23
|
export { AuthorizationDetail, AuthorizationDetails, createCryptoContextFor, CredentialIssuance, CredentialOffer, CredentialsCatalogue, CredentialStatus, Errors, fixBase64EncodingOnKey, getJwkFromCertificateChain, KeyAttestation, Logging, Mdoc, RemotePresentation, SdJwt, Trust, Trustmark, WalletInstance, WalletInstanceAttestation };
|
|
22
24
|
// Export SDK entrypoint
|
|
23
|
-
export { IoWallet } from "./IoWallet";
|
|
25
|
+
export { IoWallet } from "./IoWallet.js";
|
|
24
26
|
//# sourceMappingURL=index.js.map
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["CredentialIssuance","CredentialOffer","RemotePresentation","CredentialStatus","Trustmark","CredentialsCatalogue","KeyAttestation","Mdoc","SdJwt","Trust","createCryptoContextFor","getJwkFromCertificateChain","Errors","fixBase64EncodingOnKey","Logging","AuthorizationDetail","AuthorizationDetails","WalletInstance","WalletInstanceAttestation","IoWallet"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAEA;AACA;AACA,OAAO,gCAAgC;AAEvC,OAAO,KAAKA,kBAAkB,MAAM,
|
|
1
|
+
{"version":3,"names":["CredentialIssuance","CredentialOffer","RemotePresentation","CredentialStatus","Trustmark","CredentialsCatalogue","KeyAttestation","Mdoc","SdJwt","Trust","createCryptoContextFor","getJwkFromCertificateChain","Errors","fixBase64EncodingOnKey","Logging","AuthorizationDetail","AuthorizationDetails","WalletInstance","WalletInstanceAttestation","IoWallet"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAEA;AACA;AACA,OAAO,gCAAgC;AAEvC,OAAO,KAAKA,kBAAkB,MAAM,gCAAuB;AAC3D,OAAO,KAAKC,eAAe,MAAM,6BAAoB;AACrD,OAAO,KAAKC,kBAAkB,MAAM,oCAA2B;AAC/D,OAAO,KAAKC,gBAAgB,MAAM,8BAAqB;AACvD,OAAO,KAAKC,SAAS,MAAM,iCAAwB;AACnD,OAAO,KAAKC,oBAAoB,MAAM,kCAAyB;AAC/D,OAAO,KAAKC,cAAc,MAAM,4BAAmB;AACnD,OAAO,KAAKC,IAAI,MAAM,iBAAQ;AAC9B,OAAO,KAAKC,KAAK,MAAM,mBAAU;AACjC,OAAO,KAAKC,KAAK,MAAM,kBAAS;AAChC,SACEC,sBAAsB,EACtBC,0BAA0B,QAErB,mBAAgB;AACvB,OAAO,KAAKC,MAAM,MAAM,mBAAgB;AACxC,SAASC,sBAAsB,QAAQ,gBAAa;AACpD,OAAO,KAAKC,OAAO,MAAM,oBAAiB;AAC1C,SAASC,mBAAmB,EAAEC,oBAAoB,QAAQ,gBAAa;AACvE,OAAO,KAAKC,cAAc,MAAM,4BAAmB;AACnD,OAAO,KAAKC,yBAAyB,MAAM,wCAA+B;AAE1E,SACEH,mBAAmB,EACnBC,oBAAoB,EACpBN,sBAAsB,EACtBV,kBAAkB,EAClBC,eAAe,EACfI,oBAAoB,EACpBF,gBAAgB,EAChBS,MAAM,EACNC,sBAAsB,EACtBF,0BAA0B,EAC1BL,cAAc,EACdQ,OAAO,EACPP,IAAI,EACJL,kBAAkB,EAClBM,KAAK,EACLC,KAAK,EACLL,SAAS,EACTa,cAAc,EACdC,yBAAyB;AAW3B;AACA,SAASC,QAAQ,QAAQ,eAAY","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["key-attestation/api/index.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["key-attestation/api/index.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import * as z from "zod";
|
|
2
|
-
import { JWK } from "../../utils/jwk";
|
|
3
|
-
import { UnixTime } from "../../utils/zod";
|
|
4
|
+
import { JWK } from "../../utils/jwk.js";
|
|
5
|
+
import { UnixTime } from "../../utils/zod.js";
|
|
4
6
|
const Status = z.object({
|
|
5
7
|
status_list: z.object({
|
|
6
8
|
idx: z.number(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["z","JWK","UnixTime","Status","object","status_list","idx","number","uri","string","DecodedKeyAttestation","attested_keys","array","exp","iat","iss","key_storage","status","user_authentication"],"sourceRoot":"../../../../src","sources":["key-attestation/api/types.ts"],"mappings":"AAAA,OAAO,KAAKA,CAAC,MAAM,KAAK;AAExB,SAASC,GAAG,QAAQ,
|
|
1
|
+
{"version":3,"names":["z","JWK","UnixTime","Status","object","status_list","idx","number","uri","string","DecodedKeyAttestation","attested_keys","array","exp","iat","iss","key_storage","status","user_authentication"],"sourceRoot":"../../../../src","sources":["key-attestation/api/types.ts"],"mappings":";;AAAA,OAAO,KAAKA,CAAC,MAAM,KAAK;AAExB,SAASC,GAAG,QAAQ,oBAAiB;AACrC,SAASC,QAAQ,QAAQ,oBAAiB;AAE1C,MAAMC,MAAM,GAAGH,CAAC,CAACI,MAAM,CAAC;EACtBC,WAAW,EAAEL,CAAC,CAACI,MAAM,CAAC;IACpBE,GAAG,EAAEN,CAAC,CAACO,MAAM,CAAC,CAAC;IACfC,GAAG,EAAER,CAAC,CAACS,MAAM,CAAC;EAChB,CAAC;AACH,CAAC,CAAC;;AAEF;AACA;AACA;AACA;;AAEA,OAAO,MAAMC,qBAAqB,GAAGV,CAAC,CAACI,MAAM,CAAC;EAC5CO,aAAa,EAAEX,CAAC,CAACY,KAAK,CAACX,GAAG,CAAC;EAC3BY,GAAG,EAAEX,QAAQ;EACbY,GAAG,EAAEZ,QAAQ;EACba,GAAG,EAAEf,CAAC,CAACS,MAAM,CAAC,CAAC;EACfO,WAAW,EAAEhB,CAAC,CAACY,KAAK,CAACZ,CAAC,CAACS,MAAM,CAAC,CAAC,CAAC;EAChCQ,MAAM,EAAEd,MAAM;EACde,mBAAmB,EAAElB,CAAC,CAACY,KAAK,CAACZ,CAAC,CAACS,MAAM,CAAC,CAAC;AACzC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export { KeyAttestation as V1_0_0 } from "./v1.0.0/index.js";
|
|
4
|
+
export { KeyAttestation as V1_4_6 } from "./v1.4.6/index.js";
|
|
3
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["KeyAttestation","V1_0_0","V1_4_6"],"sourceRoot":"../../../src","sources":["key-attestation/index.ts"],"mappings":"AACA,SAASA,cAAc,IAAIC,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"names":["KeyAttestation","V1_0_0","V1_4_6"],"sourceRoot":"../../../src","sources":["key-attestation/index.ts"],"mappings":";;AACA,SAASA,cAAc,IAAIC,MAAM,QAAQ,mBAAU;AACnD,SAASD,cAAc,IAAIE,MAAM,QAAQ,mBAAU","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["KeyAttestation","isSupported"],"sourceRoot":"../../../../src","sources":["key-attestation/v1.0.0/index.ts"],"mappings":"AAEA,OAAO,MAAMA,cAAiC,GAAG;EAC/CC,WAAW,EAAE;AACf,CAAC"}
|
|
1
|
+
{"version":3,"names":["KeyAttestation","isSupported"],"sourceRoot":"../../../../src","sources":["key-attestation/v1.0.0/index.ts"],"mappings":";;AAEA,OAAO,MAAMA,cAAiC,GAAG;EAC/CC,WAAW,EAAE;AACf,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { withMapper } from "../../utils/mappers.js";
|
|
4
|
+
import { getAttestation } from "./issuing.js";
|
|
5
|
+
import { mapToDecodedKeyAttestation } from "./mappers.js";
|
|
6
|
+
import { decode } from "./utils.js";
|
|
5
7
|
export const KeyAttestation = {
|
|
6
8
|
decode: withMapper(mapToDecodedKeyAttestation, decode),
|
|
7
9
|
getAttestation,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["withMapper","getAttestation","mapToDecodedKeyAttestation","decode","KeyAttestation","isSupported"],"sourceRoot":"../../../../src","sources":["key-attestation/v1.4.6/index.ts"],"mappings":"AAEA,SAASA,UAAU,QAAQ,
|
|
1
|
+
{"version":3,"names":["withMapper","getAttestation","mapToDecodedKeyAttestation","decode","KeyAttestation","isSupported"],"sourceRoot":"../../../../src","sources":["key-attestation/v1.4.6/index.ts"],"mappings":";;AAEA,SAASA,UAAU,QAAQ,wBAAqB;AAChD,SAASC,cAAc,QAAQ,cAAW;AAC1C,SAASC,0BAA0B,QAAQ,cAAW;AACtD,SAASC,MAAM,QAAQ,YAAS;AAEhC,OAAO,MAAMC,cAAiC,GAAG;EAC/CD,MAAM,EAAEH,UAAU,CAACE,0BAA0B,EAAEC,MAAM,CAAC;EACtDF,cAAc;EACdI,WAAW,EAAE;AACf,CAAC","ignoreList":[]}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import { SignJWT, thumbprint } from "@pagopa/io-react-native-jwt";
|
|
2
4
|
import { Platform } from "react-native";
|
|
3
|
-
import { getWalletProviderClient } from "../../client";
|
|
4
|
-
import { IoWalletError } from "../../utils/errors";
|
|
5
|
-
import { fixBase64EncodingOnKey, JWK } from "../../utils/jwk";
|
|
6
|
-
import { Logger, LogLevel } from "../../utils/logging";
|
|
7
|
-
import { KeyAttestationResponse } from "./types";
|
|
5
|
+
import { getWalletProviderClient } from "../../client/index.js";
|
|
6
|
+
import { IoWalletError } from "../../utils/errors.js";
|
|
7
|
+
import { fixBase64EncodingOnKey, JWK } from "../../utils/jwk.js";
|
|
8
|
+
import { Logger, LogLevel } from "../../utils/logging.js";
|
|
9
|
+
import { KeyAttestationResponse } from "./types.js";
|
|
8
10
|
|
|
9
11
|
/**
|
|
10
12
|
* Create a Key Attestation Request in JWT format for the provided key.
|
|
@@ -44,17 +46,15 @@ const createKeyAttestationRequest = async (challenge, cryptoContext) => {
|
|
|
44
46
|
publicKey
|
|
45
47
|
};
|
|
46
48
|
};
|
|
47
|
-
export const getAttestation = async (
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
keysToAttest: keysToAttestContexts
|
|
57
|
-
} = _ref2;
|
|
49
|
+
export const getAttestation = async ({
|
|
50
|
+
walletProviderBaseUrl,
|
|
51
|
+
walletSolutionId,
|
|
52
|
+
walletSolutionVersion
|
|
53
|
+
}, {
|
|
54
|
+
appFetch = fetch,
|
|
55
|
+
integrityContext,
|
|
56
|
+
keysToAttest: keysToAttestContexts
|
|
57
|
+
}) => {
|
|
58
58
|
if (keysToAttestContexts.length === 0) {
|
|
59
59
|
throw new IoWalletError("At least one key to attest must be provided");
|
|
60
60
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SignJWT","thumbprint","Platform","getWalletProviderClient","IoWalletError","fixBase64EncodingOnKey","JWK","Logger","LogLevel","KeyAttestationResponse","createKeyAttestationRequest","challenge","cryptoContext","attestation","success","generateKeyWithAttestation","OS","publicKey","parse","getPublicKey","requestJwt","setPayload","cnf","jwk","wscd_key_attestation","storage_type","setProtectedHeader","kid","typ","setIssuedAt","setExpirationTime","sign","keyAttestationRequestJwt","getAttestation","
|
|
1
|
+
{"version":3,"names":["SignJWT","thumbprint","Platform","getWalletProviderClient","IoWalletError","fixBase64EncodingOnKey","JWK","Logger","LogLevel","KeyAttestationResponse","createKeyAttestationRequest","challenge","cryptoContext","attestation","success","generateKeyWithAttestation","OS","publicKey","parse","getPublicKey","requestJwt","setPayload","cnf","jwk","wscd_key_attestation","storage_type","setProtectedHeader","kid","typ","setIssuedAt","setExpirationTime","sign","keyAttestationRequestJwt","getAttestation","walletProviderBaseUrl","walletSolutionId","walletSolutionVersion","appFetch","fetch","integrityContext","keysToAttest","keysToAttestContexts","length","api","nonce","get","log","DEBUG","Promise","all","map","signatureKey","at","hardwareKeyTag","getHardwareKeyTag","clientData","jwk_thumbprints","k","authenticatorData","signature","getHardwareSignatureWithAuthData","JSON","stringify","signedAttestationRequest","hardware_key_tag","hardware_signature","integrity_assertion","iss","keys_to_attest","platform","wallet_solution_id","wallet_solution_version","response","post","body","header","then","key_attestation","format"],"sourceRoot":"../../../../src","sources":["key-attestation/v1.4.6/issuing.ts"],"mappings":";;AAAA,SAASA,OAAO,EAAEC,UAAU,QAAQ,6BAA6B;AACjE,SAASC,QAAQ,QAAQ,cAAc;AAKvC,SAASC,uBAAuB,QAAQ,uBAAc;AACtD,SAASC,aAAa,QAAQ,uBAAoB;AAClD,SAASC,sBAAsB,EAAEC,GAAG,QAAQ,oBAAiB;AAC7D,SAASC,MAAM,EAAEC,QAAQ,QAAQ,wBAAqB;AACtD,SAASC,sBAAsB,QAAQ,YAAS;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,2BAA2B,GAAG,MAAAA,CAClCC,SAAiB,EACjBC,aAA0C,KACvC;EACH,MAAM;IAAEC,WAAW;IAAEC;EAAQ,CAAC,GAC5B,MAAMF,aAAa,CAACG,0BAA0B,CAACJ,SAAS,CAAC;EAE3D,IAAI,CAACG,OAAO,EAAE;IACZ,MAAM,IAAIV,aAAa,CACrB,mGACF,CAAC;EACH;EAEA,IAAIF,QAAQ,CAACc,EAAE,KAAK,SAAS,IAAI,CAACH,WAAW,EAAE;IAC7C,MAAM,IAAIT,aAAa,CACrB,iFACF,CAAC;EACH;EAEA,MAAMa,SAAS,GAAGX,GAAG,CAACY,KAAK,CAAC,MAAMN,aAAa,CAACO,YAAY,CAAC,CAAC,CAAC;EAE/D,MAAMC,UAAU,GAAG,MAAM,IAAIpB,OAAO,CAACY,aAAa,CAAC,CAChDS,UAAU,CAAC;IACVC,GAAG,EAAE;MACHC,GAAG,EAAElB,sBAAsB,CAACY,SAAS;IACvC,CAAC;IACDO,oBAAoB,EAAE;MACpBC,YAAY,EAAE,cAAc;MAC5B,IAAIZ,WAAW,IAAI;QAAEA;MAAY,CAAC;IACpC;EACF,CAAC,CAAC,CACDa,kBAAkB,CAAC;IAClBC,GAAG,EAAEV,SAAS,CAAC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E,sBAAsB,CAACS,KAAK,CAAC;EAErCX,MAAM,CAACuC,GAAG,CACRtC,QAAQ,CAACuC,KAAK,EACd,6BAA6ByB,QAAQ,CAACK,eAAe,EACvD,CAAC;EAED,OAAO;IACLhE,WAAW,EAAE2D,QAAQ,CAACK,eAAe;IACrCC,MAAM,EAAE;EACV,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { createMapper } from "../../utils/mappers.js";
|
|
4
|
+
import { DecodedKeyAttestation } from "../api/types.js";
|
|
3
5
|
export const mapToDecodedKeyAttestation = createMapper(x => x.payload, {
|
|
4
6
|
outputSchema: DecodedKeyAttestation
|
|
5
7
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createMapper","DecodedKeyAttestation","mapToDecodedKeyAttestation","x","payload","outputSchema"],"sourceRoot":"../../../../src","sources":["key-attestation/v1.4.6/mappers.ts"],"mappings":"AAAA,SAASA,YAAY,QAAQ,
|
|
1
|
+
{"version":3,"names":["createMapper","DecodedKeyAttestation","mapToDecodedKeyAttestation","x","payload","outputSchema"],"sourceRoot":"../../../../src","sources":["key-attestation/v1.4.6/mappers.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,wBAAqB;AAClD,SAASC,qBAAqB,QAAQ,iBAAc;AAGpD,OAAO,MAAMC,0BAA0B,GAAGF,YAAY,CAGnDG,CAAC,IAAKA,CAAC,CAACC,OAAO,EAAE;EAClBC,YAAY,EAAEJ;AAChB,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import * as z from "zod";
|
|
2
|
-
import { Jwt } from "../../wallet-instance-attestation/common/types";
|
|
3
|
-
import { DecodedKeyAttestation } from "../api/types";
|
|
4
|
+
import { Jwt } from "../../wallet-instance-attestation/common/types.js";
|
|
5
|
+
import { DecodedKeyAttestation } from "../api/types.js";
|
|
4
6
|
export const KeyAttestationJwt = z.object({
|
|
5
7
|
header: z.intersection(Jwt.shape.header, z.object({
|
|
6
8
|
typ: z.literal("key-attestation+jwt")
|
|
7
9
|
})),
|
|
8
10
|
payload: DecodedKeyAttestation // The payload type matches the public API
|
|
9
11
|
});
|
|
10
|
-
|
|
11
12
|
export const KeyAttestationResponse = z.object({
|
|
12
13
|
key_attestation: z.string()
|
|
13
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["z","Jwt","DecodedKeyAttestation","KeyAttestationJwt","object","header","intersection","shape","typ","literal","payload","KeyAttestationResponse","key_attestation","string"],"sourceRoot":"../../../../src","sources":["key-attestation/v1.4.6/types.ts"],"mappings":"AAAA,OAAO,KAAKA,CAAC,MAAM,KAAK;AAExB,SAASC,GAAG,QAAQ,
|
|
1
|
+
{"version":3,"names":["z","Jwt","DecodedKeyAttestation","KeyAttestationJwt","object","header","intersection","shape","typ","literal","payload","KeyAttestationResponse","key_attestation","string"],"sourceRoot":"../../../../src","sources":["key-attestation/v1.4.6/types.ts"],"mappings":";;AAAA,OAAO,KAAKA,CAAC,MAAM,KAAK;AAExB,SAASC,GAAG,QAAQ,mDAAgD;AACpE,SAASC,qBAAqB,QAAQ,iBAAc;AAGpD,OAAO,MAAMC,iBAAiB,GAAGH,CAAC,CAACI,MAAM,CAAC;EACxCC,MAAM,EAAEL,CAAC,CAACM,YAAY,CACpBL,GAAG,CAACM,KAAK,CAACF,MAAM,EAChBL,CAAC,CAACI,MAAM,CAAC;IACPI,GAAG,EAAER,CAAC,CAACS,OAAO,CAAC,qBAAqB;EACtC,CAAC,CACH,CAAC;EACDC,OAAO,EAAER,qBAAqB,CAAE;AAClC,CAAC,CAAC;AAGF,OAAO,MAAMS,sBAAsB,GAAGX,CAAC,CAACI,MAAM,CAAC;EAC7CQ,eAAe,EAAEZ,CAAC,CAACa,MAAM,CAAC;AAC5B,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import { decode as decodeJwt } from "@pagopa/io-react-native-jwt";
|
|
2
|
-
import { KeyAttestationJwt } from "./types";
|
|
4
|
+
import { KeyAttestationJwt } from "./types.js";
|
|
3
5
|
|
|
4
6
|
/**
|
|
5
7
|
* Decode a given JWT to get the parsed Key Attestation object they define.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["decode","decodeJwt","KeyAttestationJwt","token","decodedJwt","parse","header","protectedHeader","payload"],"sourceRoot":"../../../../src","sources":["key-attestation/v1.4.6/utils.ts"],"mappings":"AAAA,SAASA,MAAM,IAAIC,SAAS,QAAQ,6BAA6B;AAEjE,SAASC,iBAAiB,QAAQ,
|
|
1
|
+
{"version":3,"names":["decode","decodeJwt","KeyAttestationJwt","token","decodedJwt","parse","header","protectedHeader","payload"],"sourceRoot":"../../../../src","sources":["key-attestation/v1.4.6/utils.ts"],"mappings":";;AAAA,SAASA,MAAM,IAAIC,SAAS,QAAQ,6BAA6B;AAEjE,SAASC,iBAAiB,QAAQ,YAAS;;AAE3C;AACA;AACA;AACA;AACA,OAAO,SAASF,MAAMA,CAACG,KAAa,EAAqB;EACvD,MAAMC,UAAU,GAAGH,SAAS,CAACE,KAAK,CAAC;EACnC,OAAOD,iBAAiB,CAACG,KAAK,CAAC;IAC7BC,MAAM,EAAEF,UAAU,CAACG,eAAe;IAClCC,OAAO,EAAEJ,UAAU,CAACI;EACtB,CAAC,CAAC;AACJ","ignoreList":[]}
|
package/lib/module/mdoc/const.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MDOC_DEFAULT_NAMESPACE","MDOC_VERIFICATION_IDENTIFIER"],"sourceRoot":"../../../src","sources":["mdoc/const.ts"],"mappings":"AAAA,OAAO,MAAMA,sBAAsB,GAAG,mBAAmB;AACzD,OAAO,MAAMC,4BAA4B,GAAG,cAAc"}
|
|
1
|
+
{"version":3,"names":["MDOC_DEFAULT_NAMESPACE","MDOC_VERIFICATION_IDENTIFIER"],"sourceRoot":"../../../src","sources":["mdoc/const.ts"],"mappings":";;AAAA,OAAO,MAAMA,sBAAsB,GAAG,mBAAmB;AACzD,OAAO,MAAMC,4BAA4B,GAAG,cAAc","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Extracts the date value of a given elementIdentifier from an MDOC object.
|
|
3
5
|
* Searches through the issuerSigned namespaces and attempts to parse the value as a Date.
|
|
@@ -14,7 +16,6 @@ export function extractElementValueAsDate(elementValue) {
|
|
|
14
16
|
}
|
|
15
17
|
}
|
|
16
18
|
}
|
|
17
|
-
|
|
18
19
|
return null; // Return null if no matching element is found or it's not a valid date
|
|
19
20
|
}
|
|
20
21
|
//# sourceMappingURL=converter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["extractElementValueAsDate","elementValue","dateParts","split","length","year","month","day","map","Number","undefined","isNaN","Date"],"sourceRoot":"../../../src","sources":["mdoc/converter.ts"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASA,yBAAyBA,CAACC,YAAoB,EAAe;EAC3E,IAAI,OAAOA,YAAY,KAAK,QAAQ,EAAE;IACpC,MAAMC,SAAS,GAAGD,YAAY,CAACE,KAAK,CAAC,GAAG,CAAC;IACzC,IAAID,SAAS,CAACE,MAAM,KAAK,CAAC,EAAE;MAC1B,MAAM,CAACC,IAAI,EAAEC,KAAK,EAAEC,GAAG,CAAC,GAAGL,SAAS,CAACM,GAAG,CAACC,MAAM,CAAC;MAChD,IACEF,GAAG,KAAKG,SAAS,IACjBJ,KAAK,KAAKI,SAAS,IACnBL,IAAI,KAAKK,SAAS,IAClB,CAACC,KAAK,CAACJ,GAAG,CAAC,IACX,CAACI,KAAK,CAACL,KAAK,CAAC,IACb,CAACK,KAAK,CAACN,IAAI,CAAC,EACZ;QACA,OAAO,IAAIO,IAAI,CAACP,IAAI,EAAEC,KAAK,GAAG,CAAC,EAAEC,GAAG,CAAC,CAAC,CAAC;MACzC;IACF;EACF
|
|
1
|
+
{"version":3,"names":["extractElementValueAsDate","elementValue","dateParts","split","length","year","month","day","map","Number","undefined","isNaN","Date"],"sourceRoot":"../../../src","sources":["mdoc/converter.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASA,yBAAyBA,CAACC,YAAoB,EAAe;EAC3E,IAAI,OAAOA,YAAY,KAAK,QAAQ,EAAE;IACpC,MAAMC,SAAS,GAAGD,YAAY,CAACE,KAAK,CAAC,GAAG,CAAC;IACzC,IAAID,SAAS,CAACE,MAAM,KAAK,CAAC,EAAE;MAC1B,MAAM,CAACC,IAAI,EAAEC,KAAK,EAAEC,GAAG,CAAC,GAAGL,SAAS,CAACM,GAAG,CAACC,MAAM,CAAC;MAChD,IACEF,GAAG,KAAKG,SAAS,IACjBJ,KAAK,KAAKI,SAAS,IACnBL,IAAI,KAAKK,SAAS,IAClB,CAACC,KAAK,CAACJ,GAAG,CAAC,IACX,CAACI,KAAK,CAACL,KAAK,CAAC,IACb,CAACK,KAAK,CAACN,IAAI,CAAC,EACZ;QACA,OAAO,IAAIO,IAAI,CAACP,IAAI,EAAEC,KAAK,GAAG,CAAC,EAAEC,GAAG,CAAC,CAAC,CAAC;MACzC;IACF;EACF;EAEA,OAAO,IAAI,CAAC,CAAC;AACf","ignoreList":[]}
|