@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 +1 @@
|
|
|
1
|
-
{"version":3,"names":["z","PresentationParams","object","client_id","string","nonempty","request","optional","request_uri","url","request_uri_method","enum","state","WalletMetadata","authorization_endpoint","client_id_prefixes_supported","array","client_id_schemes_supported","request_object_signing_alg_values_supported","response_modes_supported","response_types_supported","vp_formats_supported","record","RequestObjectWalletCapabilities","wallet_metadata","wallet_nonce","ErrorResponse"],"sourceRoot":"../../../../../src","sources":["credential/presentation/api/types.ts"],"mappings":"AAIA,OAAO,KAAKA,CAAC,MAAM,KAAK;AAKxB,OAAO,MAAMC,kBAAkB,GAAGD,CAAC,CAACE,MAAM,CAAC;EACzCC,SAAS,EAAEH,CAAC,CAACI,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EAChCC,OAAO,EAAEN,CAAC,CAACI,MAAM,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC;EAC9BC,WAAW,EAAER,CAAC,CAACS,GAAG,CAAC,CAAC,CAACF,QAAQ,CAAC,CAAC;EAC/BG,kBAAkB,EAAEV,CAAC,CAACW,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAACJ,QAAQ,CAAC,CAAC;EACtDK,KAAK,EAAEZ,CAAC,CAACI,MAAM,CAAC,CAAC,CAACG,QAAQ,CAAC;AAC7B,CAAC,CAAC;AAGF,OAAO,MAAMM,cAAc,GAAGb,CAAC,CAACE,MAAM,CAAC;EACrCY,sBAAsB,EAAEd,CAAC,CAACS,GAAG,CAAC,CAAC;EAC/BM,4BAA4B,EAAEf,CAAC,CAACgB,KAAK,CAAChB,CAAC,CAACI,MAAM,CAAC,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC;EAC5DU,2BAA2B,EAAEjB,CAAC,CAACgB,KAAK,CAAChB,CAAC,CAACI,MAAM,CAAC,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC;EAC3DW,2CAA2C,EAAElB,CAAC,CAACgB,KAAK,CAAChB,CAAC,CAACI,MAAM,CAAC,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC;EAC3EY,wBAAwB,EAAEnB,CAAC,CAACgB,KAAK,CAAChB,CAAC,CAACI,MAAM,CAAC,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC;EACxDa,wBAAwB,EAAEpB,CAAC,CAACgB,KAAK,CAAChB,CAAC,CAACI,MAAM,CAAC,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC;EACxDc,oBAAoB,EAAErB,CAAC,CAACsB,MAAM,CAC5BtB,CAAC,CAACI,MAAM,CAAC,CAAC,EACVJ,CAAC,CAACE,MAAM,CAAC;IACP,mBAAmB,EAAEF,CAAC,CAACgB,KAAK,CAAChB,CAAC,CAACI,MAAM,CAAC,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC,CAAE;EACvD,CAAC,CACH;AACF,CAAC,CAAC;;AAEF;AACA;AACA;AACA;;AAIA,OAAO,MAAMgB,+BAA+B,GAAGvB,CAAC,CAACE,MAAM,CAAC;EACtDsB,eAAe,EAAEX,cAAc;EAC/BY,YAAY,EAAEzB,CAAC,CAACI,MAAM,CAAC,CAAC,CAACG,QAAQ,CAAC;AACpC,CAAC,CAAC;;AAEF;AACA;AACA;AACA;AACA;;AAEA,OAAO,MAAMmB,aAAa,GAAG1B,CAAC,CAACW,IAAI,CAAC,CAClC,wBAAwB,EACxB,qBAAqB,EACrB,0BAA0B,EAC1B,iBAAiB,EACjB,eAAe,EACf,gBAAgB,CACjB,CAAC;;AAMF;AACA;AACA;;AAgBA;AACA;AACA;;AAOA;AACA;AACA;AACA;;AAKA;AACA;AACA;;AAWA;AACA;AACA;AACA;;AAOA;AACA;AACA"}
|
|
1
|
+
{"version":3,"names":["z","PresentationParams","object","client_id","string","nonempty","request","optional","request_uri","url","request_uri_method","enum","state","WalletMetadata","authorization_endpoint","client_id_prefixes_supported","array","client_id_schemes_supported","request_object_signing_alg_values_supported","response_modes_supported","response_types_supported","vp_formats_supported","record","RequestObjectWalletCapabilities","wallet_metadata","wallet_nonce","ErrorResponse"],"sourceRoot":"../../../../../src","sources":["credential/presentation/api/types.ts"],"mappings":";;AAIA,OAAO,KAAKA,CAAC,MAAM,KAAK;AAKxB,OAAO,MAAMC,kBAAkB,GAAGD,CAAC,CAACE,MAAM,CAAC;EACzCC,SAAS,EAAEH,CAAC,CAACI,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EAChCC,OAAO,EAAEN,CAAC,CAACI,MAAM,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC;EAC9BC,WAAW,EAAER,CAAC,CAACS,GAAG,CAAC,CAAC,CAACF,QAAQ,CAAC,CAAC;EAC/BG,kBAAkB,EAAEV,CAAC,CAACW,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAACJ,QAAQ,CAAC,CAAC;EACtDK,KAAK,EAAEZ,CAAC,CAACI,MAAM,CAAC,CAAC,CAACG,QAAQ,CAAC;AAC7B,CAAC,CAAC;AAGF,OAAO,MAAMM,cAAc,GAAGb,CAAC,CAACE,MAAM,CAAC;EACrCY,sBAAsB,EAAEd,CAAC,CAACS,GAAG,CAAC,CAAC;EAC/BM,4BAA4B,EAAEf,CAAC,CAACgB,KAAK,CAAChB,CAAC,CAACI,MAAM,CAAC,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC;EAC5DU,2BAA2B,EAAEjB,CAAC,CAACgB,KAAK,CAAChB,CAAC,CAACI,MAAM,CAAC,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC;EAC3DW,2CAA2C,EAAElB,CAAC,CAACgB,KAAK,CAAChB,CAAC,CAACI,MAAM,CAAC,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC;EAC3EY,wBAAwB,EAAEnB,CAAC,CAACgB,KAAK,CAAChB,CAAC,CAACI,MAAM,CAAC,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC;EACxDa,wBAAwB,EAAEpB,CAAC,CAACgB,KAAK,CAAChB,CAAC,CAACI,MAAM,CAAC,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC;EACxDc,oBAAoB,EAAErB,CAAC,CAACsB,MAAM,CAC5BtB,CAAC,CAACI,MAAM,CAAC,CAAC,EACVJ,CAAC,CAACE,MAAM,CAAC;IACP,mBAAmB,EAAEF,CAAC,CAACgB,KAAK,CAAChB,CAAC,CAACI,MAAM,CAAC,CAAC,CAAC,CAACG,QAAQ,CAAC,CAAC,CAAE;EACvD,CAAC,CACH;AACF,CAAC,CAAC;;AAEF;AACA;AACA;AACA;;AAIA,OAAO,MAAMgB,+BAA+B,GAAGvB,CAAC,CAACE,MAAM,CAAC;EACtDsB,eAAe,EAAEX,cAAc;EAC/BY,YAAY,EAAEzB,CAAC,CAACI,MAAM,CAAC,CAAC,CAACG,QAAQ,CAAC;AACpC,CAAC,CAAC;;AAEF;AACA;AACA;AACA;AACA;;AAEA,OAAO,MAAMmB,aAAa,GAAG1B,CAAC,CAACW,IAAI,CAAC,CAClC,wBAAwB,EACxB,qBAAqB,EACrB,0BAA0B,EAC1B,iBAAiB,EACjB,eAAe,EACf,gBAAgB,CACjB,CAAC;;AAMF;AACA;AACA;;AAgBA;AACA;AACA;;AAOA;AACA;AACA;AACA;;AAKA;AACA;AACA;;AAWA;AACA;AACA;AACA;;AAOA;AACA;AACA","ignoreList":[]}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { IoWalletError, serializeAttrs } from "../../../utils/errors.js";
|
|
2
4
|
export { DcqlError } from "dcql";
|
|
3
5
|
/**
|
|
4
6
|
* An error subclass thrown when auth request decode fail
|
|
@@ -11,9 +13,7 @@ export class AuthRequestDecodeError extends IoWalletError {
|
|
|
11
13
|
|
|
12
14
|
/** Reason code for the validation failure. */
|
|
13
15
|
|
|
14
|
-
constructor(message) {
|
|
15
|
-
let claim = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "unspecified";
|
|
16
|
-
let reason = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "unspecified";
|
|
16
|
+
constructor(message, claim = "unspecified", reason = "unspecified") {
|
|
17
17
|
super(serializeAttrs({
|
|
18
18
|
claim,
|
|
19
19
|
message,
|
|
@@ -62,8 +62,7 @@ export class InvalidRequestObjectError extends IoWalletError {
|
|
|
62
62
|
|
|
63
63
|
/** Detailed reason for the Request Object validation failure. */
|
|
64
64
|
|
|
65
|
-
constructor(message) {
|
|
66
|
-
let reason = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "unspecified";
|
|
65
|
+
constructor(message, reason = "unspecified") {
|
|
67
66
|
super(message);
|
|
68
67
|
this.reason = reason;
|
|
69
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IoWalletError","serializeAttrs","DcqlError","AuthRequestDecodeError","code","constructor","message","claim","
|
|
1
|
+
{"version":3,"names":["IoWalletError","serializeAttrs","DcqlError","AuthRequestDecodeError","code","constructor","message","claim","reason","CredentialsNotFoundError","details","InvalidQRCodeError","InvalidRequestObjectError","MissingDataError","missingAttributes","NoSuitableKeysFoundInEntityConfiguration","scenario"],"sourceRoot":"../../../../../src","sources":["credential/presentation/common/errors.ts"],"mappings":";;AAEA,SAASA,aAAa,EAAEC,cAAc,QAAQ,0BAAuB;AACrE,SAASC,SAAS,QAAQ,MAAM;AAWhC;AACA;AACA;AACA;AACA,OAAO,MAAMC,sBAAsB,SAASH,aAAa,CAAC;EACxD;;EAGSI,IAAI,GAAG,oDAAoD;;EAEpE;;EAGAC,WAAWA,CAACC,OAAe,EAAEC,KAAK,GAAG,aAAa,EAAEC,MAAM,GAAG,aAAa,EAAE;IAC1E,KAAK,CAACP,cAAc,CAAC;MAAEM,KAAK;MAAED,OAAO;MAAEE;IAAO,CAAC,CAAC,CAAC;IACjD,IAAI,CAACD,KAAK,GAAGA,KAAK;IAClB,IAAI,CAACC,MAAM,GAAGA,MAAM;EACtB;AACF;;AAEA;AACA;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,SAAST,aAAa,CAAC;EACjDI,IAAI,GAAG,2BAA2B;EAG3C;AACF;AACA;EACEC,WAAWA,CAACK,OAAyB,EAAE;IACrC,KAAK,CAAC,uDAAuD,CAAC;IAC9D,IAAI,CAACA,OAAO,GAAGA,OAAO;EACxB;AACF;;AAEA;AACA;AACA;AACA;AACA,OAAO,MAAMC,kBAAkB,SAASX,aAAa,CAAC;EAC3CI,IAAI,GAAG,qBAAqB;;EAErC;;EAGAC,WAAWA,CAACG,MAAc,EAAE;IAC1B,KAAK,CAAC,iBAAiB,CAAC;IACxB,IAAI,CAACA,MAAM,GAAGA,MAAM;EACtB;AACF;;AAEA;AACA;AACA;AACA,OAAO,MAAMI,yBAAyB,SAASZ,aAAa,CAAC;EAClDI,IAAI,GAAG,4BAA4B;;EAE5C;;EAGAC,WAAWA,CAACC,OAAe,EAAEE,MAAM,GAAG,aAAa,EAAE;IACnD,KAAK,CAACF,OAAO,CAAC;IACd,IAAI,CAACE,MAAM,GAAGA,MAAM;EACtB;AACF;;AAEA;AACA;AACA;AACA;AACA,OAAO,MAAMK,gBAAgB,SAASb,aAAa,CAAC;EACzCI,IAAI,GAAG,kBAAkB;;EAElC;AACF;AACA;EACEC,WAAWA,CAACS,iBAAyB,EAAE;IACrC,MAAMR,OAAO,GAAG,kCAAkCQ,iBAAiB,GAAG;IACtE,KAAK,CAACR,OAAO,CAAC;EAChB;AACF;;AAEA;AACA;AACA;AACA;AACA,OAAO,MAAMS,wCAAwC,SAASf,aAAa,CAAC;EACjEI,IAAI,GAAG,gCAAgC;;EAEhD;AACF;AACA;EACEC,WAAWA,CAACW,QAAgB,EAAE;IAC5B,MAAMV,OAAO,GAAG,0DAA0DU,QAAQ,IAAI;IACtF,KAAK,CAACV,OAAO,CAAC;EAChB;AACF","ignoreList":[]}
|
|
@@ -1,30 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import {
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { LEGACY_SD_JWT } from "../../../../sd-jwt/types.js";
|
|
4
|
+
import { IoWalletError } from "../../../../utils/errors.js";
|
|
5
|
+
import { isObject } from "../../../../utils/object.js";
|
|
4
6
|
/**
|
|
5
7
|
* Extract only successful matches from the DCQL query result.
|
|
6
8
|
*/
|
|
7
|
-
export const getDcqlQueryMatches = result => Object.entries(result.credential_matches).filter(
|
|
8
|
-
let [, match] = _ref;
|
|
9
|
-
return match.success === true;
|
|
10
|
-
});
|
|
9
|
+
export const getDcqlQueryMatches = result => Object.entries(result.credential_matches).filter(([, match]) => match.success === true);
|
|
11
10
|
|
|
12
11
|
/**
|
|
13
12
|
* Extract only failed matches from the DCQL query result.
|
|
14
13
|
*/
|
|
15
|
-
const getDcqlQueryFailedMatches = result => Object.entries(result.credential_matches).filter(
|
|
16
|
-
let [, match] = _ref2;
|
|
17
|
-
return match.success === false;
|
|
18
|
-
});
|
|
14
|
+
const getDcqlQueryFailedMatches = result => Object.entries(result.credential_matches).filter(([, match]) => match.success === false);
|
|
19
15
|
|
|
20
16
|
/**
|
|
21
17
|
* Extract details related to failed credentials
|
|
22
18
|
*/
|
|
23
|
-
export const extractFailedCredentialsDetails = queryResult => getDcqlQueryFailedMatches(queryResult).map(
|
|
24
|
-
var _match$failed_credent;
|
|
25
|
-
let [id, match] = _ref3;
|
|
19
|
+
export const extractFailedCredentialsDetails = queryResult => getDcqlQueryFailedMatches(queryResult).map(([id, match]) => {
|
|
26
20
|
const credential = queryResult.credentials.find(c => c.id === id);
|
|
27
|
-
const issues =
|
|
21
|
+
const issues = match.failed_credentials?.flatMap(c => {
|
|
28
22
|
if ("issues" in c.meta) {
|
|
29
23
|
return Object.values(c.meta.issues).flat();
|
|
30
24
|
}
|
|
@@ -33,16 +27,15 @@ export const extractFailedCredentialsDetails = queryResult => getDcqlQueryFailed
|
|
|
33
27
|
}
|
|
34
28
|
return [];
|
|
35
29
|
});
|
|
36
|
-
if (
|
|
37
|
-
var _credential$meta;
|
|
30
|
+
if (credential?.format === "mso_mdoc") {
|
|
38
31
|
return {
|
|
39
|
-
doctypeValue:
|
|
32
|
+
doctypeValue: credential.meta?.doctype_value,
|
|
40
33
|
format: credential.format,
|
|
41
34
|
id,
|
|
42
35
|
issues
|
|
43
36
|
};
|
|
44
37
|
}
|
|
45
|
-
if (
|
|
38
|
+
if (credential?.format === "dc+sd-jwt" || credential?.format === LEGACY_SD_JWT) {
|
|
46
39
|
return {
|
|
47
40
|
format: credential.format,
|
|
48
41
|
id,
|
|
@@ -50,7 +43,7 @@ export const extractFailedCredentialsDetails = queryResult => getDcqlQueryFailed
|
|
|
50
43
|
vctValues: credential.meta && "vct_values" in credential.meta ? credential.meta.vct_values : []
|
|
51
44
|
};
|
|
52
45
|
}
|
|
53
|
-
throw new IoWalletError(`Unsupported format: ${credential
|
|
46
|
+
throw new IoWalletError(`Unsupported format: ${credential?.format}`);
|
|
54
47
|
});
|
|
55
48
|
|
|
56
49
|
/**
|
|
@@ -58,13 +51,10 @@ export const extractFailedCredentialsDetails = queryResult => getDcqlQueryFailed
|
|
|
58
51
|
* @param match The DCQL query match
|
|
59
52
|
* @returns The list of claims in {@link EvaluatedDisclosure} format
|
|
60
53
|
*/
|
|
61
|
-
export const getClaimsFromDcqlMatch = match => getValidDcqlClaims(match).flatMap(c => Object.entries(c.output).map(
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
value
|
|
66
|
-
};
|
|
67
|
-
}));
|
|
54
|
+
export const getClaimsFromDcqlMatch = match => getValidDcqlClaims(match).flatMap(c => Object.entries(c.output).map(([name, value]) => ({
|
|
55
|
+
name,
|
|
56
|
+
value
|
|
57
|
+
})));
|
|
68
58
|
|
|
69
59
|
/**
|
|
70
60
|
* Recursively convert a claim path to a {@link PresentationFrame} for `@sd-jwt/present`
|
|
@@ -105,21 +95,16 @@ export const pathToPresentationFrame = (path, claim) => {
|
|
|
105
95
|
* @returns A presentation frame compatible with `@sd-jwt/present`
|
|
106
96
|
*/
|
|
107
97
|
export const getPresentationFrameFromDcqlMatch = (match, originalQuery) => {
|
|
108
|
-
var _originalQuery$creden;
|
|
109
98
|
// The original DCQL query claims are needed to get their path
|
|
110
|
-
const queryClaims =
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
} = _ref5;
|
|
114
|
-
return id === match.credential_query_id;
|
|
115
|
-
})) === null || _originalQuery$creden === void 0 ? void 0 : _originalQuery$creden.claims) ?? [];
|
|
99
|
+
const queryClaims = originalQuery.credentials.find(({
|
|
100
|
+
id
|
|
101
|
+
}) => id === match.credential_query_id)?.claims ?? [];
|
|
116
102
|
if (queryClaims.length === 0) return {};
|
|
117
103
|
const typedQueryClaims = queryClaims;
|
|
118
104
|
|
|
119
105
|
// Build a presentation frame from each claim's path
|
|
120
106
|
return getValidDcqlClaims(match).reduce((acc, c) => {
|
|
121
|
-
|
|
122
|
-
const path = (_typedQueryClaims$c$c = typedQueryClaims[c.claim_index]) === null || _typedQueryClaims$c$c === void 0 ? void 0 : _typedQueryClaims$c$c.path;
|
|
107
|
+
const path = typedQueryClaims[c.claim_index]?.path;
|
|
123
108
|
if (!path) {
|
|
124
109
|
throw new Error(`Claim at index ${c.claim_index} does not have a path in the original query.`);
|
|
125
110
|
}
|
|
@@ -139,16 +124,14 @@ export const getPresentationFrameFromDcqlMatch = (match, originalQuery) => {
|
|
|
139
124
|
* @returns A list of raw `dcql` claims
|
|
140
125
|
*/
|
|
141
126
|
export const getValidDcqlClaims = match => {
|
|
142
|
-
|
|
143
|
-
const validClaims = (_match$valid_credenti = match.valid_credentials) === null || _match$valid_credenti === void 0 || (_match$valid_credenti = _match$valid_credenti[0]) === null || _match$valid_credenti === void 0 || (_match$valid_credenti = _match$valid_credenti.claims) === null || _match$valid_credenti === void 0 ? void 0 : _match$valid_credenti.valid_claims;
|
|
127
|
+
const validClaims = match.valid_credentials?.[0]?.claims?.valid_claims;
|
|
144
128
|
if (!validClaims) return [];
|
|
145
|
-
const [validClaimSet] =
|
|
129
|
+
const [validClaimSet] = match.valid_credentials?.[0]?.claims?.valid_claim_sets ?? [];
|
|
146
130
|
|
|
147
131
|
// If there is a valid claim set, only claims from that set must be disclosed
|
|
148
132
|
// We select claims in the order they are defined in the set
|
|
149
133
|
if (validClaimSet) {
|
|
150
|
-
|
|
151
|
-
return ((_validClaimSet$valid_ = validClaimSet.valid_claim_indexes) === null || _validClaimSet$valid_ === void 0 ? void 0 : _validClaimSet$valid_.map(i => validClaims.find(c => c.claim_index === i)).filter(c => c != null)) ?? [];
|
|
134
|
+
return validClaimSet.valid_claim_indexes?.map(i => validClaims.find(c => c.claim_index === i)).filter(c => c != null) ?? [];
|
|
152
135
|
}
|
|
153
136
|
return validClaims;
|
|
154
137
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["LEGACY_SD_JWT","IoWalletError","isObject","getDcqlQueryMatches","result","Object","entries","credential_matches","filter","
|
|
1
|
+
{"version":3,"names":["LEGACY_SD_JWT","IoWalletError","isObject","getDcqlQueryMatches","result","Object","entries","credential_matches","filter","match","success","getDcqlQueryFailedMatches","extractFailedCredentialsDetails","queryResult","map","id","credential","credentials","find","c","issues","failed_credentials","flatMap","meta","values","flat","claims","failed_claim_sets","cs","format","doctypeValue","doctype_value","vctValues","vct_values","getClaimsFromDcqlMatch","getValidDcqlClaims","output","name","value","pathToPresentationFrame","path","claim","segment","rest","undefined","maybeArrayClaim","Array","isArray","reduce","acc","i","getPresentationFrameFromDcqlMatch","originalQuery","queryClaims","credential_query_id","length","typedQueryClaims","claim_index","Error","pf","key","assign","validClaims","valid_credentials","valid_claims","validClaimSet","valid_claim_sets","valid_claim_indexes"],"sourceRoot":"../../../../../../src","sources":["credential/presentation/common/utils/dcql.ts"],"mappings":";;AAKA,SAASA,aAAa,QAAQ,6BAA0B;AACxD,SAASC,aAAa,QAAQ,6BAA0B;AACxD,SAASC,QAAQ,QAAQ,6BAA0B;AAYnD;AACA;AACA;AACA,OAAO,MAAMC,mBAAmB,GAAIC,MAAuB,IACzDC,MAAM,CAACC,OAAO,CAACF,MAAM,CAACG,kBAAkB,CAAC,CAACC,MAAM,CAC9C,CAAC,GAAGC,KAAK,CAAC,KAAKA,KAAK,CAACC,OAAO,KAAK,IACnC,CAAiC;;AAEnC;AACA;AACA;AACA,MAAMC,yBAAyB,GAAIP,MAAuB,IACxDC,MAAM,CAACC,OAAO,CAACF,MAAM,CAACG,kBAAkB,CAAC,CAACC,MAAM,CAC9C,CAAC,GAAGC,KAAK,CAAC,KAAKA,KAAK,CAACC,OAAO,KAAK,KACnC,CAAiC;;AAEnC;AACA;AACA;AACA,OAAO,MAAME,+BAA+B,GAC1CC,WAA4B,IAE5BF,yBAAyB,CAACE,WAAW,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,EAAE,EAAEN,KAAK,CAAC,KAAK;EAC1D,MAAMO,UAAU,GAAGH,WAAW,CAACI,WAAW,CAACC,IAAI,CAAEC,CAAC,IAAKA,CAAC,CAACJ,EAAE,KAAKA,EAAE,CAAC;EAEnE,MAAMK,MAAM,GAAGX,KAAK,CAACY,kBAAkB,EAAEC,OAAO,CAAEH,CAAC,IAAK;IACtD,IAAI,QAAQ,IAAIA,CAAC,CAACI,IAAI,EAAE;MACtB,OAAOlB,MAAM,CAACmB,MAAM,CAACL,CAAC,CAACI,IAAI,CAACH,MAAM,CAAC,CAACK,IAAI,CAAC,CAAC;IAC5C;IACA,IAAIN,CAAC,CAACO,MAAM,CAACC,iBAAiB,EAAE;MAC9B,OAAOR,CAAC,CAACO,MAAM,CAACC,iBAAiB,CAACL,OAAO,CACtCM,EAAE,IAAKvB,MAAM,CAACmB,MAAM,CAACI,EAAE,CAACR,MAAM,CAAC,CAACK,IAAI,CAAC,CACxC,CAAC;IACH;IACA,OAAO,EAAE;EACX,CAAC,CAAC;EAEF,IAAIT,UAAU,EAAEa,MAAM,KAAK,UAAU,EAAE;IACrC,OAAO;MACLC,YAAY,EAAEd,UAAU,CAACO,IAAI,EAAEQ,aAAa;MAC5CF,MAAM,EAAEb,UAAU,CAACa,MAAM;MACzBd,EAAE;MACFK;IACF,CAAC;EACH;EAEA,IACEJ,UAAU,EAAEa,MAAM,KAAK,WAAW,IAClCb,UAAU,EAAEa,MAAM,KAAK7B,aAAa,EACpC;IACA,OAAO;MACL6B,MAAM,EAAEb,UAAU,CAACa,MAAM;MACzBd,EAAE;MACFK,MAAM;MACNY,SAAS,EACPhB,UAAU,CAACO,IAAI,IAAI,YAAY,IAAIP,UAAU,CAACO,IAAI,GAC9CP,UAAU,CAACO,IAAI,CAACU,UAAU,GAC1B;IACR,CAAC;EACH;EACA,MAAM,IAAIhC,aAAa,CAAC,uBAAuBe,UAAU,EAAEa,MAAM,EAAE,CAAC;AACtE,CAAC,CAAC;;AAEJ;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMK,sBAAsB,GACjCzB,KAAsC,IAEtC0B,kBAAkB,CAAC1B,KAAK,CAAC,CAACa,OAAO,CAAEH,CAAC,IAClCd,MAAM,CAACC,OAAO,CAACa,CAAC,CAACiB,MAAM,CAAC,CAACtB,GAAG,CAAC,CAAC,CAACuB,IAAI,EAAEC,KAAK,CAAC,MAAM;EAAED,IAAI;EAAEC;AAAM,CAAC,CAAC,CACnE,CAAC;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAAGA,CACrCC,IAAgC,EAChCC,KAA8B,KACR;EACtB,MAAM,CAACC,OAAO,EAAE,GAAGC,IAAI,CAAC,GAAGH,IAAI;;EAE/B;EACA,IAAIE,OAAO,KAAKE,SAAS,EAAE;IACzB;IACA,OAAO,IAAI;EACb;;EAEA;EACA,IAAIF,OAAO,KAAK,IAAI,EAAE;IACpB,MAAM,CAACG,eAAe,CAAC,GAAGxC,MAAM,CAACmB,MAAM,CAACiB,KAAK,CAAC;IAC9C,IAAIK,KAAK,CAACC,OAAO,CAACF,eAAe,CAAC,EAAE;MAClC,OAAOA,eAAe,CAACG,MAAM,CAC3B,CAACC,GAAG,EAAE9B,CAAC,EAAE+B,CAAC,MAAM;QAAE,GAAGD,GAAG;QAAE,CAACC,CAAC,GAAGX,uBAAuB,CAACI,IAAI,EAAExB,CAAC;MAAE,CAAC,CAAC,EAClE,CAAC,CACH,CAAC;IACH;IACA;IACA,OAAO,IAAI;EACb;EAEA,OAAO;IACL,CAACuB,OAAO,GAAGH,uBAAuB,CAACI,IAAI,EAAEF,KAAK;EAChD,CAAC;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMU,iCAAiC,GAAGA,CAC/C1C,KAAsC,EACtC2C,aAAwB,KACF;EACtB;EACA,MAAMC,WAAW,GACfD,aAAa,CAACnC,WAAW,CAACC,IAAI,CAAC,CAAC;IAAEH;EAAG,CAAC,KAAKA,EAAE,KAAKN,KAAK,CAAC6C,mBAAmB,CAAC,EACxE5B,MAAM,IAAI,EAAE;EAElB,IAAI2B,WAAW,CAACE,MAAM,KAAK,CAAC,EAAE,OAAO,CAAC,CAAC;EAEvC,MAAMC,gBAAgB,GAAGH,WAA8C;;EAEvE;EACA,OAAOlB,kBAAkB,CAAC1B,KAAK,CAAC,CAACuC,MAAM,CAAC,CAACC,GAAG,EAAE9B,CAAC,KAAK;IAClD,MAAMqB,IAAI,GAAGgB,gBAAgB,CAACrC,CAAC,CAACsC,WAAW,CAAC,EAAEjB,IAAI;IAClD,IAAI,CAACA,IAAI,EAAE;MACT,MAAM,IAAIkB,KAAK,CACb,kBAAkBvC,CAAC,CAACsC,WAAW,8CACjC,CAAC;IACH;IACA,MAAME,EAAE,GAAGpB,uBAAuB,CAACC,IAAI,EAAErB,CAAC,CAACiB,MAAM,CAAC;IAClD;IACA,KAAK,MAAM,CAACwB,GAAG,EAAEtB,KAAK,CAAC,IAAIjC,MAAM,CAACC,OAAO,CAACqD,EAAE,CAAC,EAAE;MAC7CV,GAAG,CAACW,GAAG,CAAC,GAAG1D,QAAQ,CAACoC,KAAK,CAAC,GAAGjC,MAAM,CAACwD,MAAM,CAACvB,KAAK,EAAEW,GAAG,CAACW,GAAG,CAAC,CAAC,GAAGtB,KAAK;IACrE;IACA,OAAOW,GAAG;EACZ,CAAC,EAAE,CAAC,CAAsB,CAAC;AAC7B,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMd,kBAAkB,GAAI1B,KAAsC,IAAK;EAC5E,MAAMqD,WAAW,GAAGrD,KAAK,CAACsD,iBAAiB,GAAG,CAAC,CAAC,EAAErC,MAAM,EAAEsC,YAAY;EAEtE,IAAI,CAACF,WAAW,EAAE,OAAO,EAAE;EAE3B,MAAM,CAACG,aAAa,CAAC,GACnBxD,KAAK,CAACsD,iBAAiB,GAAG,CAAC,CAAC,EAAErC,MAAM,EAAEwC,gBAAgB,IAAI,EAAE;;EAE9D;EACA;EACA,IAAID,aAAa,EAAE;IACjB,OACEA,aAAa,CAACE,mBAAmB,EAC7BrD,GAAG,CAAEoC,CAAC,IAAKY,WAAW,CAAC5C,IAAI,CAAEC,CAAC,IAAKA,CAAC,CAACsC,WAAW,KAAKP,CAAC,CAAC,CAAC,CACzD1C,MAAM,CAAEW,CAAC,IAAiCA,CAAC,IAAI,IAAI,CAAC,IAAI,EAAE;EAEjE;EAEA,OAAO2C,WAAW;AACpB,CAAC","ignoreList":[]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Builds a URL-encoded form body for a direct POST response without encryption.
|
|
3
5
|
*
|
|
@@ -5,21 +7,17 @@
|
|
|
5
7
|
* @param payload - Object that contains either the VP token to encrypt and the stringified mapping of the credential disclosures or the error code
|
|
6
8
|
* @returns A URL-encoded string suitable for an `application/x-www-form-urlencoded` POST body.
|
|
7
9
|
*/
|
|
8
|
-
export const buildDirectPostBody = async (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} = _ref;
|
|
10
|
+
export const buildDirectPostBody = async ({
|
|
11
|
+
state
|
|
12
|
+
}, payload) => {
|
|
12
13
|
const formUrlEncodedBody = new URLSearchParams({
|
|
13
14
|
...(state && {
|
|
14
15
|
state
|
|
15
16
|
}),
|
|
16
|
-
...Object.entries(payload).reduce((acc,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
[key]: Array.isArray(value) || typeof value === "object" ? JSON.stringify(value) : value
|
|
21
|
-
};
|
|
22
|
-
}, {})
|
|
17
|
+
...Object.entries(payload).reduce((acc, [key, value]) => ({
|
|
18
|
+
...acc,
|
|
19
|
+
[key]: Array.isArray(value) || typeof value === "object" ? JSON.stringify(value) : value
|
|
20
|
+
}), {})
|
|
23
21
|
});
|
|
24
22
|
return formUrlEncodedBody.toString();
|
|
25
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["buildDirectPostBody","
|
|
1
|
+
{"version":3,"names":["buildDirectPostBody","state","payload","formUrlEncodedBody","URLSearchParams","Object","entries","reduce","acc","key","value","Array","isArray","JSON","stringify","toString"],"sourceRoot":"../../../../../../src","sources":["credential/presentation/common/utils/http.ts"],"mappings":";;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,mBAAmB,GAAG,MAAAA,CACjC;EAAEC;AAAqB,CAAC,EACxBC,OAAuC,KACnB;EACpB,MAAMC,kBAAkB,GAAG,IAAIC,eAAe,CAAC;IAC7C,IAAIH,KAAK,IAAI;MAAEA;IAAM,CAAC,CAAC;IACvB,GAAGI,MAAM,CAACC,OAAO,CAACJ,OAAO,CAAC,CAACK,MAAM,CAC/B,CAACC,GAAG,EAAE,CAACC,GAAG,EAAEC,KAAK,CAAC,MAAM;MACtB,GAAGF,GAAG;MACN,CAACC,GAAG,GACFE,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,IAAI,OAAOA,KAAK,KAAK,QAAQ,GAC7CG,IAAI,CAACC,SAAS,CAACJ,KAAK,CAAC,GACrBA;IACR,CAAC,CAAC,EACF,CAAC,CACH;EACF,CAAC,CAAC;EAEF,OAAOP,kBAAkB,CAACY,QAAQ,CAAC,CAAC;AACtC,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import { CBOR } from "@pagopa/io-react-native-iso18013";
|
|
2
4
|
import { b64utob64 } from "jsrsasign";
|
|
3
|
-
import { getValidDcqlClaims } from "./dcql";
|
|
5
|
+
import { getValidDcqlClaims } from "./dcql.js";
|
|
4
6
|
/**
|
|
5
7
|
* Convert a list of credential in mdoc format to a list of objects
|
|
6
8
|
* with namespaces for correct parsing by the `dcql` library.
|
|
@@ -9,15 +11,11 @@ import { getValidDcqlClaims } from "./dcql";
|
|
|
9
11
|
*/
|
|
10
12
|
export const mapCredentialsToObj = async credentialsMdoc => await Promise.all(credentialsMdoc.map(async credential => {
|
|
11
13
|
const issuerSigned = await CBOR.decodeIssuerSigned(b64utob64(credential[1]));
|
|
12
|
-
const namespaces = Object.entries(issuerSigned.nameSpaces).reduce((acc,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
...ac,
|
|
18
|
-
[el.elementIdentifier]: el.elementValue
|
|
19
|
-
};
|
|
20
|
-
}, {});
|
|
14
|
+
const namespaces = Object.entries(issuerSigned.nameSpaces).reduce((acc, [ns, nsClaims]) => {
|
|
15
|
+
const flattenNsClaims = Object.entries(nsClaims).reduce((ac, [, el]) => ({
|
|
16
|
+
...ac,
|
|
17
|
+
[el.elementIdentifier]: el.elementValue
|
|
18
|
+
}), {});
|
|
21
19
|
return {
|
|
22
20
|
...acc,
|
|
23
21
|
[ns]: flattenNsClaims
|
|
@@ -37,19 +35,13 @@ export const mapCredentialsToObj = async credentialsMdoc => await Promise.all(cr
|
|
|
37
35
|
* @param match The DCQL query match
|
|
38
36
|
* @returns The list of claims in {@link EvaluatedDisclosure} format
|
|
39
37
|
*/
|
|
40
|
-
export const getClaimsFromDcqlMatch = match => getValidDcqlClaims(match).flatMap(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
name: claimName,
|
|
48
|
-
namespace: ns,
|
|
49
|
-
value: nsClaims[claimName]
|
|
50
|
-
}));
|
|
51
|
-
});
|
|
52
|
-
});
|
|
38
|
+
export const getClaimsFromDcqlMatch = match => getValidDcqlClaims(match).flatMap(({
|
|
39
|
+
output
|
|
40
|
+
}) => Object.entries(output).flatMap(([ns, nsClaims]) => Object.keys(nsClaims).map(claimName => ({
|
|
41
|
+
name: claimName,
|
|
42
|
+
namespace: ns,
|
|
43
|
+
value: nsClaims[claimName]
|
|
44
|
+
}))));
|
|
53
45
|
|
|
54
46
|
/**
|
|
55
47
|
* Build a presentation frame from the requested claims for selective disclosure.
|
|
@@ -59,11 +51,10 @@ export const getClaimsFromDcqlMatch = match => getValidDcqlClaims(match).flatMap
|
|
|
59
51
|
* @example { "org.iso.18013.5.1.mDL": { "org.iso.18013.5.1": { first_name: true } } }
|
|
60
52
|
*/
|
|
61
53
|
export const getPresentationFrameFromClaims = (requestedClaims, docType) => ({
|
|
62
|
-
[docType]: requestedClaims.reduce((acc,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
} = _ref5;
|
|
54
|
+
[docType]: requestedClaims.reduce((acc, {
|
|
55
|
+
name,
|
|
56
|
+
namespace
|
|
57
|
+
}) => {
|
|
67
58
|
if (namespace) {
|
|
68
59
|
acc[namespace] ??= {};
|
|
69
60
|
const existingNamespace = acc[namespace];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["CBOR","b64utob64","getValidDcqlClaims","mapCredentialsToObj","credentialsMdoc","Promise","all","map","credential","issuerSigned","decodeIssuerSigned","namespaces","Object","entries","nameSpaces","reduce","acc","
|
|
1
|
+
{"version":3,"names":["CBOR","b64utob64","getValidDcqlClaims","mapCredentialsToObj","credentialsMdoc","Promise","all","map","credential","issuerSigned","decodeIssuerSigned","namespaces","Object","entries","nameSpaces","reduce","acc","ns","nsClaims","flattenNsClaims","ac","el","elementIdentifier","elementValue","credential_format","cryptographic_holder_binding","doctype","issuerAuth","payload","docType","original_credential","getClaimsFromDcqlMatch","match","flatMap","output","keys","claimName","name","namespace","value","getPresentationFrameFromClaims","requestedClaims","existingNamespace"],"sourceRoot":"../../../../../../src","sources":["credential/presentation/common/utils/mdoc.ts"],"mappings":";;AAEA,SAASA,IAAI,QAAQ,kCAAkC;AACvD,SAASC,SAAS,QAAQ,WAAW;AAQrC,SAASC,kBAAkB,QAAQ,WAAQ;AAM3C;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,mBAAmB,GAAG,MACjCC,eAAkC,IAElC,MAAMC,OAAO,CAACC,GAAG,CACfF,eAAe,CAACG,GAAG,CAAC,MAAOC,UAAU,IAAK;EACxC,MAAMC,YAAY,GAAG,MAAMT,IAAI,CAACU,kBAAkB,CAChDT,SAAS,CAACO,UAAU,CAAC,CAAC,CAAC,CACzB,CAAC;EAED,MAAMG,UAAU,GAAGC,MAAM,CAACC,OAAO,CAACJ,YAAY,CAACK,UAAU,CAAC,CAACC,MAAM,CAC/D,CAACC,GAAG,EAAE,CAACC,EAAE,EAAEC,QAAQ,CAAC,KAAK;IACvB,MAAMC,eAAe,GAAGP,MAAM,CAACC,OAAO,CAACK,QAAQ,CAAC,CAACH,MAAM,CACrD,CAACK,EAAE,EAAE,GAAGC,EAAE,CAAC,MAAM;MACf,GAAGD,EAAE;MACL,CAACC,EAAE,CAACC,iBAAiB,GAAGD,EAAE,CAACE;IAC7B,CAAC,CAAC,EACF,CAAC,CACH,CAAC;IAED,OAAO;MACL,GAAGP,GAAG;MACN,CAACC,EAAE,GAAGE;IACR,CAAC;EACH,CAAC,EACD,CAAC,CACH,CAAC;EAED,OAAO;IACLK,iBAAiB,EAAE,UAAU;IAC7BC,4BAA4B,EAAE,IAAI;IAClCC,OAAO,EAAEjB,YAAY,CAACkB,UAAU,CAACC,OAAO,CAACC,OAAO,IAAI,iBAAiB;IACrElB,UAAU;IACVmB,mBAAmB,EAAEtB;EACvB,CAAC;AACH,CAAC,CACH,CAAC;;AAEH;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMuB,sBAAsB,GACjCC,KAAsC,IAEtC9B,kBAAkB,CAAC8B,KAAK,CAAC,CAACC,OAAO,CAAC,CAAC;EAAEC;AAAO,CAAC,KAC3CtB,MAAM,CAACC,OAAO,CAACqB,MAAM,CAAC,CAACD,OAAO,CAAC,CAAC,CAAChB,EAAE,EAAEC,QAAQ,CAAC,KAC5CN,MAAM,CAACuB,IAAI,CAACjB,QAAQ,CAAC,CAACX,GAAG,CAAE6B,SAAS,KAAM;EACxCC,IAAI,EAAED,SAAS;EACfE,SAAS,EAAErB,EAAE;EACbsB,KAAK,EAAErB,QAAQ,CAACkB,SAAS;AAC3B,CAAC,CAAC,CACJ,CACF,CAAC;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMI,8BAA8B,GAAGA,CAC5CC,eAAsC,EACtCZ,OAAe,MACQ;EACvB,CAACA,OAAO,GAAGY,eAAe,CAAC1B,MAAM,CAAC,CAACC,GAAG,EAAE;IAAEqB,IAAI;IAAEC;EAAU,CAAC,KAAK;IAC9D,IAAIA,SAAS,EAAE;MACbtB,GAAG,CAACsB,SAAS,CAAC,KAAK,CAAC,CAAC;MACrB,MAAMI,iBAAiB,GAAG1B,GAAG,CAACsB,SAAS,CAA4B;MACnEI,iBAAiB,CAACL,IAAI,CAAC,GAAG,IAAI;IAChC,CAAC,MAAM;MACLrB,GAAG,CAACqB,IAAI,CAAC,GAAG,IAAI;IAClB;IACA,OAAOrB,GAAG;EACZ,CAAC,EAAE,CAAC,CAAsB;AAC5B,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import { SDJwtInstance } from "@sd-jwt/core";
|
|
2
4
|
import { digest } from "@sd-jwt/crypto-nodejs";
|
|
3
5
|
import { getClaims } from "@sd-jwt/decode";
|
|
4
|
-
import { LEGACY_SD_JWT } from "../../../../sd-jwt/types";
|
|
5
|
-
import { fixLegacyCredentialSdJwt } from "../../../../utils/credentials";
|
|
6
|
-
import { IoWalletError } from "../../../../utils/errors";
|
|
6
|
+
import { LEGACY_SD_JWT } from "../../../../sd-jwt/types.js";
|
|
7
|
+
import { fixLegacyCredentialSdJwt } from "../../../../utils/credentials.js";
|
|
8
|
+
import { IoWalletError } from "../../../../utils/errors.js";
|
|
7
9
|
/**
|
|
8
10
|
* List of claims to remove from the SD-JWT before evaluating the DCQL query.
|
|
9
11
|
*/
|
|
@@ -13,15 +15,11 @@ const NON_DISCLOSABLE_CLAIMS = ["status", "cnf", "exp"];
|
|
|
13
15
|
* Extract claims from disclosures for use in `dcql` library.
|
|
14
16
|
*/
|
|
15
17
|
const getClaimsFromDecodedSdJwt = async decodedRawSdJwt => {
|
|
16
|
-
|
|
17
|
-
if (!((_decodedRawSdJwt$jwt = decodedRawSdJwt.jwt) !== null && _decodedRawSdJwt$jwt !== void 0 && _decodedRawSdJwt$jwt.payload)) {
|
|
18
|
+
if (!decodedRawSdJwt.jwt?.payload) {
|
|
18
19
|
throw new IoWalletError("Can't decode SD-JWT");
|
|
19
20
|
}
|
|
20
21
|
const claims = await getClaims(decodedRawSdJwt.jwt.payload, decodedRawSdJwt.disclosures ?? [], digest);
|
|
21
|
-
return Object.fromEntries(Object.entries(claims).filter(
|
|
22
|
-
let [key] = _ref;
|
|
23
|
-
return !NON_DISCLOSABLE_CLAIMS.includes(key);
|
|
24
|
-
}));
|
|
22
|
+
return Object.fromEntries(Object.entries(claims).filter(([key]) => !NON_DISCLOSABLE_CLAIMS.includes(key)));
|
|
25
23
|
};
|
|
26
24
|
|
|
27
25
|
/**
|
|
@@ -35,15 +33,14 @@ export const mapCredentialsToObj = async credentials => {
|
|
|
35
33
|
hasher: digest
|
|
36
34
|
});
|
|
37
35
|
return Promise.all(credentials.map(async credential => {
|
|
38
|
-
var _decodedRawSdJwt$jwt2, _decodedRawSdJwt$jwt3;
|
|
39
36
|
const decodedRawSdJwt = await sdJwt.decode(fixLegacyCredentialSdJwt(credential[1]));
|
|
40
37
|
const claims = await getClaimsFromDecodedSdJwt(decodedRawSdJwt);
|
|
41
38
|
return {
|
|
42
39
|
claims,
|
|
43
|
-
credential_format:
|
|
40
|
+
credential_format: decodedRawSdJwt.jwt?.header?.typ === LEGACY_SD_JWT ? LEGACY_SD_JWT : "dc+sd-jwt",
|
|
44
41
|
cryptographic_holder_binding: true,
|
|
45
42
|
original_credential: credential,
|
|
46
|
-
vct:
|
|
43
|
+
vct: decodedRawSdJwt.jwt?.payload?.vct
|
|
47
44
|
};
|
|
48
45
|
}));
|
|
49
46
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SDJwtInstance","digest","getClaims","LEGACY_SD_JWT","fixLegacyCredentialSdJwt","IoWalletError","NON_DISCLOSABLE_CLAIMS","getClaimsFromDecodedSdJwt","decodedRawSdJwt","
|
|
1
|
+
{"version":3,"names":["SDJwtInstance","digest","getClaims","LEGACY_SD_JWT","fixLegacyCredentialSdJwt","IoWalletError","NON_DISCLOSABLE_CLAIMS","getClaimsFromDecodedSdJwt","decodedRawSdJwt","jwt","payload","claims","disclosures","Object","fromEntries","entries","filter","key","includes","mapCredentialsToObj","credentials","sdJwt","hasher","Promise","all","map","credential","decode","credential_format","header","typ","cryptographic_holder_binding","original_credential","vct"],"sourceRoot":"../../../../../../src","sources":["credential/presentation/common/utils/sd-jwt.ts"],"mappings":";;AAEA,SAAqBA,aAAa,QAAQ,cAAc;AACxD,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,SAAS,QAAQ,gBAAgB;AAI1C,SAASC,aAAa,QAAQ,6BAA0B;AACxD,SAASC,wBAAwB,QAAQ,kCAA+B;AACxE,SAASC,aAAa,QAAQ,6BAA0B;AAMxD;AACA;AACA;AACA,MAAMC,sBAAsB,GAAG,CAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,CAAC;;AAEvD;AACA;AACA;AACA,MAAMC,yBAAyB,GAAG,MAAOC,eAAsB,IAAK;EAClE,IAAI,CAACA,eAAe,CAACC,GAAG,EAAEC,OAAO,EAAE;IACjC,MAAM,IAAIL,aAAa,CAAC,qBAAqB,CAAC;EAChD;EAEA,MAAMM,MAAM,GAAG,MAAMT,SAAS,CAC5BM,eAAe,CAACC,GAAG,CAACC,OAAO,EAC3BF,eAAe,CAACI,WAAW,IAAI,EAAE,EACjCX,MACF,CAAC;EAED,OAAOY,MAAM,CAACC,WAAW,CACvBD,MAAM,CAACE,OAAO,CAACJ,MAAM,CAAC,CAACK,MAAM,CAC3B,CAAC,CAACC,GAAG,CAAC,KAAK,CAACX,sBAAsB,CAACY,QAAQ,CAACD,GAAG,CACjD,CACF,CAAC;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAME,mBAAmB,GAAG,MACjCC,WAA8B,IACa;EAC3C,MAAMC,KAAK,GAAG,IAAIrB,aAAa,CAAC;IAC9BsB,MAAM,EAAErB;EACV,CAAC,CAAC;EAEF,OAAOsB,OAAO,CAACC,GAAG,CAChBJ,WAAW,CAACK,GAAG,CAAC,MAAOC,UAAU,IAAK;IACpC,MAAMlB,eAAe,GAAG,MAAMa,KAAK,CAACM,MAAM,CACxCvB,wBAAwB,CAACsB,UAAU,CAAC,CAAC,CAAC,CACxC,CAAC;IACD,MAAMf,MAAM,GAAG,MAAMJ,yBAAyB,CAACC,eAAe,CAAC;IAC/D,OAAO;MACLG,MAAM;MACNiB,iBAAiB,EACfpB,eAAe,CAACC,GAAG,EAAEoB,MAAM,EAAEC,GAAG,KAAK3B,aAAa,GAC9CA,aAAa,GACb,WAAW;MACjB4B,4BAA4B,EAAE,IAAI;MAClCC,mBAAmB,EAAEN,UAAU;MAC/BO,GAAG,EAAEzB,eAAe,CAACC,GAAG,EAAEC,OAAO,EAAEuB;IACrC,CAAC;EACH,CAAC,CACH,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import * as Errors from "./common/errors.js";
|
|
2
4
|
export { Errors };
|
|
3
|
-
export { RemotePresentation as V1_0_0 } from "./v1.0.0";
|
|
4
|
-
export { RemotePresentation as V1_4_6 } from "./v1.4.6";
|
|
5
|
+
export { RemotePresentation as V1_0_0 } from "./v1.0.0/index.js";
|
|
6
|
+
export { RemotePresentation as V1_4_6 } from "./v1.4.6/index.js";
|
|
5
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Errors","RemotePresentation","V1_0_0","V1_4_6"],"sourceRoot":"../../../../src","sources":["credential/presentation/index.ts"],"mappings":"AAAA,OAAO,KAAKA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"names":["Errors","RemotePresentation","V1_0_0","V1_4_6"],"sourceRoot":"../../../../src","sources":["credential/presentation/index.ts"],"mappings":";;AAAA,OAAO,KAAKA,MAAM,MAAM,oBAAiB;AACzC,SAASA,MAAM;AAEf,SAASC,kBAAkB,IAAIC,MAAM,QAAQ,mBAAU;AACvD,SAASD,kBAAkB,IAAIE,MAAM,QAAQ,mBAAU","ignoreList":[]}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { PresentationParams } from "../api/types.js";
|
|
4
|
+
import { InvalidQRCodeError } from "../common/errors.js";
|
|
3
5
|
export const startFlowFromQR = params => {
|
|
4
6
|
const result = PresentationParams.safeParse({
|
|
5
7
|
...params,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["PresentationParams","InvalidQRCodeError","startFlowFromQR","params","result","safeParse","request_uri_method","success","error","message","data","request_uri"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.0.0/01-start-flow.ts"],"mappings":"AAEA,SAASA,kBAAkB,QAAQ,
|
|
1
|
+
{"version":3,"names":["PresentationParams","InvalidQRCodeError","startFlowFromQR","params","result","safeParse","request_uri_method","success","error","message","data","request_uri"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.0.0/01-start-flow.ts"],"mappings":";;AAEA,SAASA,kBAAkB,QAAQ,iBAAc;AACjD,SAASC,kBAAkB,QAAQ,qBAAkB;AAErD,OAAO,MAAMC,eAAyD,GACpEC,MAAM,IACH;EACH,MAAMC,MAAM,GAAGJ,kBAAkB,CAACK,SAAS,CAAC;IAC1C,GAAGF,MAAM;IACTG,kBAAkB,EAAEH,MAAM,CAACG,kBAAkB,IAAI;EACnD,CAAC,CAAC;EAEF,IAAI,CAACF,MAAM,CAACG,OAAO,EAAE,MAAM,IAAIN,kBAAkB,CAACG,MAAM,CAACI,KAAK,CAACC,OAAO,CAAC;EAEvE,IAAI,CAACL,MAAM,CAACM,IAAI,CAACC,WAAW,EAAE;IAC5B,MAAM,IAAIV,kBAAkB,CAC1B,+DACF,CAAC;EACH;EAEA,OAAOG,MAAM,CAACM,IAAI;AACpB,CAAC","ignoreList":[]}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { getRelyingPartyEntityConfiguration } from "../../../trust/v1.0.0/entities.js";
|
|
4
|
+
import { mapToRelyingPartyConfig } from "./mappers.js";
|
|
5
|
+
export const evaluateRelyingPartyTrust = async (rpUrl, {
|
|
6
|
+
appFetch = fetch
|
|
7
|
+
} = {}) => {
|
|
7
8
|
const rpEntityConfiguration = await getRelyingPartyEntityConfiguration(rpUrl, {
|
|
8
9
|
appFetch
|
|
9
10
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getRelyingPartyEntityConfiguration","mapToRelyingPartyConfig","evaluateRelyingPartyTrust","rpUrl","appFetch","fetch","
|
|
1
|
+
{"version":3,"names":["getRelyingPartyEntityConfiguration","mapToRelyingPartyConfig","evaluateRelyingPartyTrust","rpUrl","appFetch","fetch","rpEntityConfiguration","rpConf"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.0.0/02-evaluate-rp-trust.ts"],"mappings":";;AAEA,SAASA,kCAAkC,QAAQ,mCAAgC;AACnF,SAASC,uBAAuB,QAAQ,cAAW;AAEnD,OAAO,MAAMC,yBAA6E,GACxF,MAAAA,CAAOC,KAAK,EAAE;EAAEC,QAAQ,GAAGC;AAAM,CAAC,GAAG,CAAC,CAAC,KAAK;EAC1C,MAAMC,qBAAqB,GAAG,MAAMN,kCAAkC,CACpEG,KAAK,EACL;IAAEC;EAAS,CACb,CAAC;EACD,OAAO;IACLG,MAAM,EAAEN,uBAAuB,CAACK,qBAAqB;EACvD,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { RelyingPartyResponseError } from "../../../utils/errors.js";
|
|
4
|
+
import { hasStatusOrThrow } from "../../../utils/misc.js";
|
|
5
|
+
import { RequestObjectWalletCapabilities } from "../api/types.js";
|
|
6
|
+
import { InvalidQRCodeError } from "../common/errors.js";
|
|
7
|
+
export const getRequestObject = async (authorizationRequestUrl, {
|
|
8
|
+
appFetch = fetch,
|
|
9
|
+
walletCapabilities
|
|
10
|
+
} = {}) => {
|
|
10
11
|
const authorizationUrl = new URL(authorizationRequestUrl);
|
|
11
12
|
|
|
12
13
|
/*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["RelyingPartyResponseError","hasStatusOrThrow","RequestObjectWalletCapabilities","InvalidQRCodeError","getRequestObject","authorizationRequestUrl","appFetch","fetch","walletCapabilities","
|
|
1
|
+
{"version":3,"names":["RelyingPartyResponseError","hasStatusOrThrow","RequestObjectWalletCapabilities","InvalidQRCodeError","getRequestObject","authorizationRequestUrl","appFetch","fetch","walletCapabilities","authorizationUrl","URL","requestUri","searchParams","get","undefined","wallet_metadata","wallet_nonce","parse","formUrlEncodedBody","URLSearchParams","JSON","stringify","requestObjectEncodedJwt","body","toString","headers","method","then","res","text"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.0.0/03-get-request-object.ts"],"mappings":";;AAEA,SAASA,yBAAyB,QAAQ,0BAAuB;AACjE,SAASC,gBAAgB,QAAQ,wBAAqB;AACtD,SAASC,+BAA+B,QAAQ,iBAAc;AAC9D,SAASC,kBAAkB,QAAQ,qBAAkB;AAErD,OAAO,MAAMC,gBAA2D,GACtE,MAAAA,CACEC,uBAAuB,EACvB;EAAEC,QAAQ,GAAGC,KAAK;EAAEC;AAAmB,CAAC,GAAG,CAAC,CAAC,KAC1C;EACH,MAAMC,gBAAgB,GAAG,IAAIC,GAAG,CAACL,uBAAuB,CAAC;;EAEzD;AACJ;AACA;AACA;AACA;EACI,MAAMM,UAAU,GACdF,gBAAgB,CAACG,YAAY,CAACC,GAAG,CAAC,aAAa,CAAC,IAAIC,SAAS;EAC/D,IAAI,CAACH,UAAU,EAAE;IACf,MAAM,IAAIR,kBAAkB,CAC1B,8DACF,CAAC;EACH;EAEA,IAAIK,kBAAkB,EAAE;IACtB;IACA,MAAM;MAAEO,eAAe;MAAEC;IAAa,CAAC,GACrCd,+BAA+B,CAACe,KAAK,CAACT,kBAAkB,CAAC;IAE3D,MAAMU,kBAAkB,GAAG,IAAIC,eAAe,CAAC;MAC7CJ,eAAe,EAAEK,IAAI,CAACC,SAAS,CAACN,eAAe,CAAC;MAChD,IAAIC,YAAY,IAAI;QAAEA;MAAa,CAAC;IACtC,CAAC,CAAC;IAEF,MAAMM,uBAAuB,GAAG,MAAMhB,QAAQ,CAACK,UAAU,EAAE;MACzDY,IAAI,EAAEL,kBAAkB,CAACM,QAAQ,CAAC,CAAC;MACnCC,OAAO,EAAE;QACP,cAAc,EAAE;MAClB,CAAC;MACDC,MAAM,EAAE;IACV,CAAC,CAAC,CACCC,IAAI,CAAC1B,gBAAgB,CAAC,GAAG,EAAED,yBAAyB,CAAC,CAAC,CACtD2B,IAAI,CAAEC,GAAG,IAAKA,GAAG,CAACC,IAAI,CAAC,CAAC,CAAC;IAE5B,OAAO;MACLP;IACF,CAAC;EACH;EAEA,MAAMA,uBAAuB,GAAG,MAAMhB,QAAQ,CAACK,UAAU,EAAE;IACzDe,MAAM,EAAE;EACV,CAAC,CAAC,CACCC,IAAI,CAAC1B,gBAAgB,CAAC,GAAG,EAAED,yBAAyB,CAAC,CAAC,CACtD2B,IAAI,CAAEC,GAAG,IAAKA,GAAG,CAACC,IAAI,CAAC,CAAC,CAAC;EAE5B,OAAO;IACLP;EACF,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import { decode as decodeJwt, verify } from "@pagopa/io-react-native-jwt";
|
|
2
|
-
import { IoWalletError } from "../../../utils/errors";
|
|
3
|
-
import { InvalidRequestObjectError } from "../common/errors";
|
|
4
|
-
import { mapToRequestObject } from "./mappers";
|
|
5
|
-
import { RawRequestObject } from "./types";
|
|
6
|
-
import { getJwksFromRpConfig } from "./utils.jwks";
|
|
7
|
-
export const verifyRequestObject = async (requestObjectEncodedJwt,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} = _ref;
|
|
4
|
+
import { IoWalletError } from "../../../utils/errors.js";
|
|
5
|
+
import { InvalidRequestObjectError } from "../common/errors.js";
|
|
6
|
+
import { mapToRequestObject } from "./mappers.js";
|
|
7
|
+
import { RawRequestObject } from "./types.js";
|
|
8
|
+
import { getJwksFromRpConfig } from "./utils.jwks.js";
|
|
9
|
+
export const verifyRequestObject = async (requestObjectEncodedJwt, {
|
|
10
|
+
clientId,
|
|
11
|
+
rpConf,
|
|
12
|
+
state
|
|
13
|
+
}) => {
|
|
13
14
|
if (!rpConf) {
|
|
14
15
|
throw new IoWalletError("Relying Party Configuration is required for OpenID Federation clients");
|
|
15
16
|
}
|
|
@@ -78,8 +79,5 @@ const getSigPublicKey = (rpConf, kid) => {
|
|
|
78
79
|
/**
|
|
79
80
|
* Utility to format flattened Zod errors into a simplified string `key1: key1_error, key2: key2_error`
|
|
80
81
|
*/
|
|
81
|
-
const formatFlattenedZodErrors = errors => Object.entries(errors.fieldErrors).map(
|
|
82
|
-
let [key, error] = _ref2;
|
|
83
|
-
return `${key}: ${error[0]}`;
|
|
84
|
-
}).join(", ");
|
|
82
|
+
const formatFlattenedZodErrors = errors => Object.entries(errors.fieldErrors).map(([key, error]) => `${key}: ${error[0]}`).join(", ");
|
|
85
83
|
//# sourceMappingURL=05-verify-request-object.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["decode","decodeJwt","verify","IoWalletError","InvalidRequestObjectError","mapToRequestObject","RawRequestObject","getJwksFromRpConfig","verifyRequestObject","requestObjectEncodedJwt","
|
|
1
|
+
{"version":3,"names":["decode","decodeJwt","verify","IoWalletError","InvalidRequestObjectError","mapToRequestObject","RawRequestObject","getJwksFromRpConfig","verifyRequestObject","requestObjectEncodedJwt","clientId","rpConf","state","requestObjectJwt","pubKey","getSigPublicKey","protectedHeader","kid","issuer","rawRequestObject","validateRequestObjectShape","header","payload","isClientIdMatch","client_id","subject","requestObject","requestObjectParse","safeParse","success","data","formatFlattenedZodErrors","error","flatten","keys","find","k","Error","errors","Object","entries","fieldErrors","map","key","join"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.0.0/05-verify-request-object.ts"],"mappings":";;AAAA,SAASA,MAAM,IAAIC,SAAS,EAAEC,MAAM,QAAQ,6BAA6B;AAKzE,SAASC,aAAa,QAAQ,0BAAuB;AACrD,SAASC,yBAAyB,QAAQ,qBAAkB;AAC5D,SAASC,kBAAkB,QAAQ,cAAW;AAC9C,SAASC,gBAAgB,QAAQ,YAAS;AAC1C,SAASC,mBAAmB,QAAQ,iBAAc;AAElD,OAAO,MAAMC,mBAAiE,GAC5E,MAAAA,CAAOC,uBAAuB,EAAE;EAAEC,QAAQ;EAAEC,MAAM;EAAEC;AAAM,CAAC,KAAK;EAC9D,IAAI,CAACD,MAAM,EAAE;IACX,MAAM,IAAIR,aAAa,CACrB,uEACF,CAAC;EACH;EAEA,MAAMU,gBAAgB,GAAGZ,SAAS,CAACQ,uBAAuB,CAAC;EAE3D,MAAMK,MAAM,GAAGC,eAAe,CAC5BJ,MAAM,EACNE,gBAAgB,CAACG,eAAe,CAACC,GACnC,CAAC;EAED,IAAI;IACF;IACA,MAAMf,MAAM,CAACO,uBAAuB,EAAEK,MAAM,EAAE;MAAEI,MAAM,EAAER;IAAS,CAAC,CAAC;EACrE,CAAC,CAAC,MAAM;IACN,MAAM,IAAIN,yBAAyB,CACjC,kDACF,CAAC;EACH;EAEA,MAAMe,gBAAgB,GAAGC,0BAA0B,CAAC;IAClDC,MAAM,EAAER,gBAAgB,CAACG,eAAe;IACxCM,OAAO,EAAET,gBAAgB,CAACS;EAC5B,CAAC,CAAC;EAEF,MAAMC,eAAe,GACnBb,QAAQ,KAAKS,gBAAgB,CAACG,OAAO,CAACE,SAAS,IAC/Cd,QAAQ,KAAKC,MAAM,CAACc,OAAO;EAE7B,IAAI,CAACF,eAAe,EAAE;IACpB,MAAM,IAAInB,yBAAyB,CACjC,iEACF,CAAC;EACH;EAEA,IAAIQ,KAAK,IAAIA,KAAK,KAAKO,gBAAgB,CAACG,OAAO,CAACV,KAAK,EAAE;IACrD,MAAM,IAAIR,yBAAyB,CACjC,wDACF,CAAC;EACH;EAEA,OAAO;IACLsB,aAAa,EAAErB,kBAAkB,CAACc,gBAAgB;EACpD,CAAC;AACH,CAAC;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,0BAA0B,GAAIE,OAAgB,IAAuB;EACzE,MAAMK,kBAAkB,GAAGrB,gBAAgB,CAACsB,SAAS,CAACN,OAAO,CAAC;EAE9D,IAAIK,kBAAkB,CAACE,OAAO,EAAE;IAC9B,OAAOF,kBAAkB,CAACG,IAAI;EAChC;EAEA,MAAM,IAAI1B,yBAAyB,CACjC,kDAAkD,EAClD2B,wBAAwB,CAACJ,kBAAkB,CAACK,KAAK,CAACC,OAAO,CAAC,CAAC,CAC7D,CAAC;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMlB,eAAe,GAAGA,CACtBJ,MAA0B,EAC1BM,GAAuB,KACpB;EACH,IAAI;IACF,MAAM;MAAEiB;IAAK,CAAC,GAAG3B,mBAAmB,CAACI,MAAM,CAAC;IAE5C,MAAMG,MAAM,GAAGoB,IAAI,CAACC,IAAI,CAAEC,CAAC,IAAKA,CAAC,CAACnB,GAAG,KAAKA,GAAG,CAAC;IAE9C,IAAI,CAACH,MAAM,EAAE,MAAM,IAAIuB,KAAK,CAAC,CAAC;IAE9B,OAAOvB,MAAM;EACf,CAAC,CAAC,MAAM;IACN,MAAM,IAAIV,yBAAyB,CACjC,8CAA8Ca,GAAG,+CACnD,CAAC;EACH;AACF,CAAC;;AAED;AACA;AACA;AACA,MAAMc,wBAAwB,GAC5BO,MAAmD,IAEnDC,MAAM,CAACC,OAAO,CAACF,MAAM,CAACG,WAAW,CAAC,CAC/BC,GAAG,CAAC,CAAC,CAACC,GAAG,EAAEX,KAAK,CAAC,KAAK,GAAGW,GAAG,KAAKX,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAC5CY,IAAI,CAAC,IAAI,CAAC","ignoreList":[]}
|