@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,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import z from "zod";
|
|
2
4
|
export const SetWalletInstanceStatusData = z.object({
|
|
3
5
|
status: z.literal("REVOKED")
|
|
@@ -169,10 +171,15 @@ export const EndpointByMethod = {
|
|
|
169
171
|
};
|
|
170
172
|
|
|
171
173
|
// </EndpointByMethod>
|
|
174
|
+
|
|
172
175
|
// <EndpointByMethod.Shorthands>
|
|
176
|
+
|
|
173
177
|
// </EndpointByMethod.Shorthands>
|
|
178
|
+
|
|
174
179
|
// <ApiClientTypes>
|
|
180
|
+
|
|
175
181
|
// </ApiClientTypes>
|
|
182
|
+
|
|
176
183
|
// <ApiClient>
|
|
177
184
|
export class ApiClient {
|
|
178
185
|
baseUrl = "";
|
|
@@ -185,24 +192,23 @@ export class ApiClient {
|
|
|
185
192
|
}
|
|
186
193
|
|
|
187
194
|
// <ApiClient.get>
|
|
188
|
-
get(path) {
|
|
189
|
-
return this.fetcher("get", this.baseUrl + path,
|
|
195
|
+
get(path, ...params) {
|
|
196
|
+
return this.fetcher("get", this.baseUrl + path, params[0]);
|
|
190
197
|
}
|
|
191
198
|
// </ApiClient.get>
|
|
192
199
|
|
|
193
200
|
// <ApiClient.post>
|
|
194
|
-
post(path) {
|
|
195
|
-
return this.fetcher("post", this.baseUrl + path,
|
|
201
|
+
post(path, ...params) {
|
|
202
|
+
return this.fetcher("post", this.baseUrl + path, params[0]);
|
|
196
203
|
}
|
|
197
204
|
// </ApiClient.post>
|
|
198
205
|
|
|
199
206
|
// <ApiClient.put>
|
|
200
|
-
put(path) {
|
|
201
|
-
return this.fetcher("put", this.baseUrl + path,
|
|
207
|
+
put(path, ...params) {
|
|
208
|
+
return this.fetcher("put", this.baseUrl + path, params[0]);
|
|
202
209
|
}
|
|
203
210
|
// </ApiClient.put>
|
|
204
211
|
}
|
|
205
|
-
|
|
206
212
|
export function createApiClient(fetcher, baseUrl) {
|
|
207
213
|
return new ApiClient(fetcher).setBaseUrl(baseUrl ?? "");
|
|
208
214
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["z","SetWalletInstanceStatusData","object","status","literal","RevocationReason","union","WalletInstanceData","id","string","is_revoked","boolean","revocation_reason","undefined","optional","NonceDetailView","nonce","WalletAttestationsView","wallet_attestations","array","format","wallet_attestation","WalletInstanceAttestation","wallet_instance_attestation","WalletUnitAttestation","wallet_unit_attestation","CreateWalletInstanceBody","challenge","key_attestation","hardware_key_tag","is_renewal","CreateWalletAttestationBody","assertion","CreateWalletInstanceAttestationBody","CreateWalletUnitAttestationBody","CreateKeyAttestationBody","KeyAttestation","ProblemJson","type","title","number","detail","instance","WhitelistedFiscalCodeData","whitelisted","whitelistedAt","fiscalCode","get_GetNonce","method","path","parameters","never","response","post_CreateWalletInstance","body","unknown","post_CreateWalletAttestation","get_GetCurrentWalletInstanceStatus","get_GetWalletInstanceStatus","put_SetWalletInstanceStatus","get_HealthCheck","message","get_IsFiscalCodeWhitelisted","post_CreateWalletInstanceAttestation","header","post_CreateWalletUnitAttestation","post_CreateKeyAttestation","EndpointByMethod","get","post","put","ApiClient","baseUrl","constructor","fetcher","setBaseUrl","
|
|
1
|
+
{"version":3,"names":["z","SetWalletInstanceStatusData","object","status","literal","RevocationReason","union","WalletInstanceData","id","string","is_revoked","boolean","revocation_reason","undefined","optional","NonceDetailView","nonce","WalletAttestationsView","wallet_attestations","array","format","wallet_attestation","WalletInstanceAttestation","wallet_instance_attestation","WalletUnitAttestation","wallet_unit_attestation","CreateWalletInstanceBody","challenge","key_attestation","hardware_key_tag","is_renewal","CreateWalletAttestationBody","assertion","CreateWalletInstanceAttestationBody","CreateWalletUnitAttestationBody","CreateKeyAttestationBody","KeyAttestation","ProblemJson","type","title","number","detail","instance","WhitelistedFiscalCodeData","whitelisted","whitelistedAt","fiscalCode","get_GetNonce","method","path","parameters","never","response","post_CreateWalletInstance","body","unknown","post_CreateWalletAttestation","get_GetCurrentWalletInstanceStatus","get_GetWalletInstanceStatus","put_SetWalletInstanceStatus","get_HealthCheck","message","get_IsFiscalCodeWhitelisted","post_CreateWalletInstanceAttestation","header","post_CreateWalletUnitAttestation","post_CreateKeyAttestation","EndpointByMethod","get","post","put","ApiClient","baseUrl","constructor","fetcher","setBaseUrl","params","createApiClient"],"sourceRoot":"../../../../src","sources":["client/generated/wallet-provider.ts"],"mappings":";;AA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E;IAC1B,IAAI,CAACA,OAAO,GAAGA,OAAO;IACtB,OAAO,IAAI;EACb;;EAEA;EACAJ,GAAGA,CACDnB,IAAU,EACV,GAAG2B,MAA0D,EACpB;IACzC,OAAO,IAAI,CAACF,OAAO,CAAC,KAAK,EAAE,IAAI,CAACF,OAAO,GAAGvB,IAAI,EAAE2B,MAAM,CAAC,CAAC,CAAC,CAAC;EAC5D;EACA;;EAEA;EACAP,IAAIA,CACFpB,IAAU,EACV,GAAG2B,MAA0D,EACpB;IACzC,OAAO,IAAI,CAACF,OAAO,CAAC,MAAM,EAAE,IAAI,CAACF,OAAO,GAAGvB,IAAI,EAAE2B,MAAM,CAAC,CAAC,CAAC,CAAC;EAC7D;EACA;;EAEA;EACAN,GAAGA,CACDrB,IAAU,EACV,GAAG2B,MAA0D,EACpB;IACzC,OAAO,IAAI,CAACF,OAAO,CAAC,KAAK,EAAE,IAAI,CAACF,OAAO,GAAGvB,IAAI,EAAE2B,MAAM,CAAC,CAAC,CAAC,CAAC;EAC5D;EACA;AACF;AAEA,OAAO,SAASC,eAAeA,CAACH,OAAgB,EAAEF,OAAgB,EAAE;EAClE,OAAO,IAAID,SAAS,CAACG,OAAO,CAAC,CAACC,UAAU,CAACH,OAAO,IAAI,EAAE,CAAC;AACzD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA","ignoreList":[]}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import {
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { WalletProviderResponseError } from "../utils/errors.js";
|
|
4
|
+
import { parseRawHttpResponse } from "../utils/misc.js";
|
|
5
|
+
import { createApiClient as createWalletProviderApiClient, ProblemJson } from "./generated/wallet-provider.js";
|
|
4
6
|
const validateResponse = async response => {
|
|
5
7
|
if (!response.ok) {
|
|
6
8
|
let problemDetail = {};
|
|
@@ -25,10 +27,10 @@ export const getWalletProviderClient = context => {
|
|
|
25
27
|
walletProviderBaseUrl
|
|
26
28
|
} = context;
|
|
27
29
|
return createWalletProviderApiClient((method, url, params) => appFetch(interpolateUrl(url, params), {
|
|
28
|
-
body: params
|
|
30
|
+
body: params?.body ? processBody(params.body) : undefined,
|
|
29
31
|
headers: {
|
|
30
32
|
"Content-Type": "application/json",
|
|
31
|
-
...
|
|
33
|
+
...params?.header
|
|
32
34
|
},
|
|
33
35
|
method
|
|
34
36
|
}).then(validateResponse).then(parseRawHttpResponse), walletProviderBaseUrl);
|
|
@@ -41,10 +43,7 @@ const processBody = body => typeof body === "string" ? body : JSON.stringify(bod
|
|
|
41
43
|
* and passes the actual values in a separate object.
|
|
42
44
|
*/
|
|
43
45
|
export const interpolateUrl = (url, params) => {
|
|
44
|
-
if (!
|
|
45
|
-
return Object.entries(params.path).reduce((interpolatedUrl,
|
|
46
|
-
let [key, value] = _ref;
|
|
47
|
-
return typeof value === "string" ? interpolatedUrl.replace(`{${key}}`, value) : interpolatedUrl;
|
|
48
|
-
}, url);
|
|
46
|
+
if (!params?.path) return url;
|
|
47
|
+
return Object.entries(params.path).reduce((interpolatedUrl, [key, value]) => typeof value === "string" ? interpolatedUrl.replace(`{${key}}`, value) : interpolatedUrl, url);
|
|
49
48
|
};
|
|
50
49
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["WalletProviderResponseError","parseRawHttpResponse","createApiClient","createWalletProviderApiClient","ProblemJson","validateResponse","response","ok","problemDetail","parse","json","title","message","reason","statusCode","status","getWalletProviderClient","context","appFetch","fetch","walletProviderBaseUrl","method","url","params","interpolateUrl","body","processBody","undefined","headers","header","then","JSON","stringify","path","Object","entries","reduce","interpolatedUrl","
|
|
1
|
+
{"version":3,"names":["WalletProviderResponseError","parseRawHttpResponse","createApiClient","createWalletProviderApiClient","ProblemJson","validateResponse","response","ok","problemDetail","parse","json","title","message","reason","statusCode","status","getWalletProviderClient","context","appFetch","fetch","walletProviderBaseUrl","method","url","params","interpolateUrl","body","processBody","undefined","headers","header","then","JSON","stringify","path","Object","entries","reduce","interpolatedUrl","key","value","replace"],"sourceRoot":"../../../src","sources":["client/index.ts"],"mappings":";;AAAA,SAASA,2BAA2B,QAAQ,oBAAiB;AAC7D,SAASC,oBAAoB,QAAQ,kBAAe;AACpD,SACEC,eAAe,IAAIC,6BAA6B,EAEhDC,WAAW,QAEN,gCAA6B;AAMpC,MAAMC,gBAAgB,GAAG,MAAOC,QAAkB,IAAK;EACrD,IAAI,CAACA,QAAQ,CAACC,EAAE,EAAE;IAChB,IAAIC,aAA0B,GAAG,CAAC,CAAC;IACnC,IAAI;MACFA,aAAa,GAAGJ,WAAW,CAACK,KAAK,CAAC,MAAMH,QAAQ,CAACI,IAAI,CAAC,CAAC,CAAC;IAC1D,CAAC,CAAC,MAAM;MACNF,aAAa,GAAG;QACdG,KAAK,EAAE;MACT,CAAC;IACH;IAEA,MAAM,IAAIX,2BAA2B,CAAC;MACpCY,OAAO,EAAEJ,aAAa,CAACG,KAAK,IAAI,uCAAuC;MACvEE,MAAM,EAAEL,aAAa;MACrBM,UAAU,EAAER,QAAQ,CAACS;IACvB,CAAC,CAAC;EACJ;EACA,OAAOT,QAAQ;AACjB,CAAC;AAED,OAAO,MAAMU,uBAAuB,GAAIC,OAGvC,IAAK;EACJ,MAAM;IAAEC,QAAQ,GAAGC,KAAK;IAAEC;EAAsB,CAAC,GAAGH,OAAO;EAE3D,OAAOd,6BAA6B,CAClC,CAACkB,MAAM,EAAEC,GAAG,EAAEC,MAAM,KAClBL,QAAQ,CAACM,cAAc,CAACF,GAAG,EAAEC,MAAM,CAAC,EAAE;IACpCE,IAAI,EAAEF,MAAM,EAAEE,IAAI,GAAGC,WAAW,CAACH,MAAM,CAACE,IAAI,CAAC,GAAGE,SAAS;IACzDC,OAAO,EAAE;MACP,cAAc,EAAE,kBAAkB;MAClC,GAAGL,MAAM,EAAEM;IACb,CAAC;IACDR;EACF,CAAC,CAAC,CACCS,IAAI,CAACzB,gBAAgB,CAAC,CACtByB,IAAI,CAAkB7B,oBAAoB,CAAC,EAChDmB,qBACF,CAAC;AACH,CAAC;AAED,MAAMM,WAAW,GAAID,IAAa,IAChC,OAAOA,IAAI,KAAK,QAAQ,GAAGA,IAAI,GAAGM,IAAI,CAACC,SAAS,CAACP,IAAI,CAAC;;AAExD;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMD,cAAc,GAAGA,CAACF,GAAW,EAAEC,MAA2B,KAAK;EAC1E,IAAI,CAACA,MAAM,EAAEU,IAAI,EAAE,OAAOX,GAAG;EAE7B,OAAOY,MAAM,CAACC,OAAO,CAACZ,MAAM,CAACU,IAAI,CAAC,CAACG,MAAM,CACvC,CAACC,eAAe,EAAE,CAACC,GAAG,EAAEC,KAAK,CAAC,KAC5B,OAAOA,KAAK,KAAK,QAAQ,GACrBF,eAAe,CAACG,OAAO,CAAC,IAAIF,GAAG,GAAG,EAAEC,KAAK,CAAC,GAC1CF,eAAe,EACrBf,GACF,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Offer"],"sourceRoot":"../../../src","sources":["credential/index.ts"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,
|
|
1
|
+
{"version":3,"names":["Offer"],"sourceRoot":"../../../src","sources":["credential/index.ts"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,kBAAS;AAEhC,SAASA,KAAK","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/01-evaluate-issuer-trust.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/01-evaluate-issuer-trust.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/02-start-user-authorization.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/02-start-user-authorization.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/03-complete-user-authorization.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/03-complete-user-authorization.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/04-authorize-access.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/04-authorize-access.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/05-obtain-credential.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/05-obtain-credential.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/06-verify-and-parse-credential.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/06-verify-and-parse-credential.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
import { z } from "zod";
|
|
2
|
-
import { FederationEntityMetadata } from "../../../trust/common/types";
|
|
3
|
-
import { JWK } from "../../../utils/jwk";
|
|
4
|
+
import { FederationEntityMetadata } from "../../../trust/common/types.js";
|
|
5
|
+
import { JWK } from "../../../utils/jwk.js";
|
|
4
6
|
const DisplayConfig = z.object({
|
|
5
7
|
locale: z.string(),
|
|
6
8
|
name: z.string()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["z","FederationEntityMetadata","JWK","DisplayConfig","object","locale","string","name","ClaimConfig","display","array","optional","path","union","number","null","LegacyIssuanceErrorSupported","description","title","status_code","CredentialConfig","intersection","discriminatedUnion","format","literal","vct","doctype","authentic_source","claims","issuance_errors_supported","record","scope","IssuerConfig","authorization_endpoint","authorization_servers","tuple","credential_configurations_supported","credential_endpoint","credential_issuance_batch_size","credential_issuer","encrypted_response_enc_values_supported","federation_entity","keys","nonce_endpoint","pushed_authorization_request_endpoint","response_modes_supported","status_assertion_endpoint","token_endpoint"],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/IssuerConfig.ts"],"mappings":"AAAA,SAASA,CAAC,QAAQ,KAAK;AAEvB,SAASC,wBAAwB,QAAQ,
|
|
1
|
+
{"version":3,"names":["z","FederationEntityMetadata","JWK","DisplayConfig","object","locale","string","name","ClaimConfig","display","array","optional","path","union","number","null","LegacyIssuanceErrorSupported","description","title","status_code","CredentialConfig","intersection","discriminatedUnion","format","literal","vct","doctype","authentic_source","claims","issuance_errors_supported","record","scope","IssuerConfig","authorization_endpoint","authorization_servers","tuple","credential_configurations_supported","credential_endpoint","credential_issuance_batch_size","credential_issuer","encrypted_response_enc_values_supported","federation_entity","keys","nonce_endpoint","pushed_authorization_request_endpoint","response_modes_supported","status_assertion_endpoint","token_endpoint"],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/IssuerConfig.ts"],"mappings":";;AAAA,SAASA,CAAC,QAAQ,KAAK;AAEvB,SAASC,wBAAwB,QAAQ,gCAA6B;AACtE,SAASC,GAAG,QAAQ,uBAAoB;AAExC,MAAMC,aAAa,GAAGH,CAAC,CAACI,MAAM,CAAC;EAC7BC,MAAM,EAAEL,CAAC,CAACM,MAAM,CAAC,CAAC;EAClBC,IAAI,EAAEP,CAAC,CAACM,MAAM,CAAC;AACjB,CAAC,CAAC;AAEF,MAAME,WAAW,GAAGR,CAAC,CAACI,MAAM,CAAC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,qCAAqC,EAAE5C,CAAC,CAACM,MAAM,CAAC,CAAC;EACjD;AACF;AACA;EACEuC,wBAAwB,EAAE7C,CAAC,CAACU,KAAK,CAACV,CAAC,CAACM,MAAM,CAAC,CAAC,CAAC,CAACK,QAAQ,CAAC,CAAC;EACxDmC,yBAAyB,EAAE9C,CAAC,CAACM,MAAM,CAAC,CAAC,CAACK,QAAQ,CAAC,CAAC;EAChDoC,cAAc,EAAE/C,CAAC,CAACM,MAAM,CAAC;AAC3B,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/index.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/index.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["credential/issuance/api/mrtd-pop/index.ts"],"mappings":"AAwGA,cAAc,
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["credential/issuance/api/mrtd-pop/index.ts"],"mappings":";;AAwGA,cAAc,YAAS;AAAC","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["credential/issuance/api/mrtd-pop/types.ts"],"mappings":""}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["credential/issuance/api/mrtd-pop/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["z","AuthorizationDetail","object","credential_configuration_id","string","credential_identifiers","array","type","literal","TokenResponse","access_token","authorization_details","expires_in","number","optional","refresh_token","token_type"],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/types.ts"],"mappings":"AAAA,OAAO,KAAKA,CAAC,MAAM,KAAK;;AAMxB;;AAeA,OAAO,MAAMC,mBAAmB,GAAGD,CAAC,CAACE,MAAM,CAAC;EAC1CC,2BAA2B,EAAEH,CAAC,CAACI,MAAM,CAAC,CAAC;EACvCC,sBAAsB,EAAEL,CAAC,CAACM,KAAK,CAACN,CAAC,CAACI,MAAM,CAAC,CAAC,CAAC;EAC3CG,IAAI,EAAEP,CAAC,CAACQ,OAAO,CAAC,mBAAmB;AACrC,CAAC,CAAC;AAGF,OAAO,MAAMC,aAAa,GAAGT,CAAC,CAACE,MAAM,CAAC;EACpCQ,YAAY,EAAEV,CAAC,CAACI,MAAM,CAAC,CAAC;EACxBO,qBAAqB,EAAEX,CAAC,CAACM,KAAK,CAACL,mBAAmB,CAAC;EACnDW,UAAU,EAAEZ,CAAC,CAACa,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACjCC,aAAa,EAAEf,CAAC,CAACI,MAAM,CAAC,CAAC,CAACU,QAAQ,CAAC,CAAC;EACpCE,UAAU,EAAEhB,CAAC,CAACI,MAAM,CAAC;AACvB,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"names":["z","AuthorizationDetail","object","credential_configuration_id","string","credential_identifiers","array","type","literal","TokenResponse","access_token","authorization_details","expires_in","number","optional","refresh_token","token_type"],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/types.ts"],"mappings":";;AAAA,OAAO,KAAKA,CAAC,MAAM,KAAK;;AAMxB;;AAeA,OAAO,MAAMC,mBAAmB,GAAGD,CAAC,CAACE,MAAM,CAAC;EAC1CC,2BAA2B,EAAEH,CAAC,CAACI,MAAM,CAAC,CAAC;EACvCC,sBAAsB,EAAEL,CAAC,CAACM,KAAK,CAACN,CAAC,CAACI,MAAM,CAAC,CAAC,CAAC;EAC3CG,IAAI,EAAEP,CAAC,CAACQ,OAAO,CAAC,mBAAmB;AACrC,CAAC,CAAC;AAGF,OAAO,MAAMC,aAAa,GAAGT,CAAC,CAACE,MAAM,CAAC;EACpCQ,YAAY,EAAEV,CAAC,CAACI,MAAM,CAAC,CAAC;EACxBO,qBAAqB,EAAEX,CAAC,CAACM,KAAK,CAACL,mBAAmB,CAAC;EACnDW,UAAU,EAAEZ,CAAC,CAACa,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACjCC,aAAa,EAAEf,CAAC,CAACI,MAAM,CAAC,CAAC,CAACU,QAAQ,CAAC,CAAC;EACpCE,UAAU,EAAEhB,CAAC,CAACI,MAAM,CAAC;AACvB,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { IoWalletError } from "../../../utils/errors.js";
|
|
4
|
+
import { Logger, LogLevel } from "../../../utils/logging.js";
|
|
3
5
|
/**
|
|
4
6
|
* Ensures that the credential type requested is supported by the issuer and contained in the
|
|
5
7
|
* issuer configuration.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IoWalletError","Logger","LogLevel","selectCredentialDefinition","issuerConf","credentialId","credential_configurations_supported","result","Object","keys","filter","e","includes","map","credential_configuration_id","type","log","ERROR","JSON","stringify","selectResponseMode","credentialIds","responseModeSet","Set","add","match","size","values","responseMode","DEBUG","responseModeSupported","response_modes_supported"],"sourceRoot":"../../../../../src","sources":["credential/issuance/common/02-start-user-authorization.ts"],"mappings":"AAEA,SAASA,aAAa,QAAQ,
|
|
1
|
+
{"version":3,"names":["IoWalletError","Logger","LogLevel","selectCredentialDefinition","issuerConf","credentialId","credential_configurations_supported","result","Object","keys","filter","e","includes","map","credential_configuration_id","type","log","ERROR","JSON","stringify","selectResponseMode","credentialIds","responseModeSet","Set","add","match","size","values","responseMode","DEBUG","responseModeSupported","response_modes_supported"],"sourceRoot":"../../../../../src","sources":["credential/issuance/common/02-start-user-authorization.ts"],"mappings":";;AAEA,SAASA,aAAa,QAAQ,0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,aAAa,CACrB,yGACF,CAAC;EACH;EAEA,MAAM,CAAC4B,YAAY,CAAC,GAAGN,eAAe,CAACK,MAAM,CAAC,CAAC;EAC/C,IAAI,CAACC,YAAY,EAAE;IACjB,MAAM,IAAI5B,aAAa,CACrB,wDAAwDqB,aAAa,GACvE,CAAC;EACH;EAEApB,MAAM,CAACe,GAAG,CACRd,QAAQ,CAAC2B,KAAK,EACd,0BAA0BD,YAAY,uBAAuBP,aAAa,EAC5E,CAAC;EAED,MAAMS,qBAAqB,GAAG1B,UAAU,CAAC2B,wBAAwB;EACjE,IAAID,qBAAqB,IAAI,CAACA,qBAAqB,CAAClB,QAAQ,CAACgB,YAAY,CAAC,EAAE;IAC1E3B,MAAM,CAACe,GAAG,CACRd,QAAQ,CAACe,KAAK,EACd,2BAA2BW,YAAY,kEAAkEV,IAAI,CAACC,SAAS,CAACW,qBAAqB,CAAC,EAChJ,CAAC;IACD,MAAM,IAAI9B,aAAa,CACrB,qCAAqCqB,aAAa,GACpD,CAAC;EACH;EAEA,OAAOO,YAAY;AACrB,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import {
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { getParsedCredentialClaimKey, verify as verifyMdoc } from "../../../mdoc/index.js";
|
|
4
|
+
import { IoWalletError } from "../../../utils/errors.js";
|
|
5
|
+
import { isSameThumbprint } from "../../../utils/jwk.js";
|
|
4
6
|
/**
|
|
5
7
|
* Given a credential, verify it's in the supported format
|
|
6
8
|
* and the credential is correctly signed
|
|
@@ -28,12 +30,9 @@ async function verifyCredentialMDoc(rawCredential, x509CertRoot, holderBindingCo
|
|
|
28
30
|
}
|
|
29
31
|
return decodedCredential;
|
|
30
32
|
}
|
|
31
|
-
const parseCredentialMDoc =
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} = _ref;
|
|
35
|
-
let ignoreMissingAttributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
36
|
-
let includeUndefinedAttributes = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
|
|
33
|
+
const parseCredentialMDoc = (credentialConfig, {
|
|
34
|
+
issuerSigned
|
|
35
|
+
}, ignoreMissingAttributes = false, includeUndefinedAttributes = false) => {
|
|
37
36
|
if (!credentialConfig) {
|
|
38
37
|
throw new IoWalletError("Credential type not supported by the issuer");
|
|
39
38
|
}
|
|
@@ -44,39 +43,21 @@ const parseCredentialMDoc = function (credentialConfig, _ref) {
|
|
|
44
43
|
// Claims without display property (such as `iat`, `exp`, `iss`, etc.)
|
|
45
44
|
// must be ignored as they are not meant to be displayed to the user.
|
|
46
45
|
const displayableClaims = credentialConfig.claims.filter(c => c.display !== undefined);
|
|
47
|
-
const attrDefinitions = displayableClaims.map(
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} = _ref2;
|
|
52
|
-
return [namespace, attribute, display];
|
|
53
|
-
});
|
|
46
|
+
const attrDefinitions = displayableClaims.map(({
|
|
47
|
+
display,
|
|
48
|
+
path: [namespace, attribute]
|
|
49
|
+
}) => [namespace, attribute, display]);
|
|
54
50
|
if (!issuerSigned.nameSpaces) {
|
|
55
51
|
throw new IoWalletError("Missing claims in the credential");
|
|
56
52
|
}
|
|
57
|
-
const flatNamespaces = Object.entries(issuerSigned.nameSpaces).flatMap(
|
|
58
|
-
let [namespace, values] = _ref3;
|
|
59
|
-
return values.map(v => [namespace, v.elementIdentifier, v.elementValue]);
|
|
60
|
-
});
|
|
53
|
+
const flatNamespaces = Object.entries(issuerSigned.nameSpaces).flatMap(([namespace, values]) => values.map(v => [namespace, v.elementIdentifier, v.elementValue]));
|
|
61
54
|
|
|
62
55
|
// Check that all mandatory attributes defined in the issuer configuration are present in the disclosure set
|
|
63
56
|
// and filter the non present ones
|
|
64
|
-
const attrsNotInDisclosures = attrDefinitions.filter(
|
|
65
|
-
let [attrDefNamespace, attrKey] = _ref4;
|
|
66
|
-
return !flatNamespaces.some(_ref5 => {
|
|
67
|
-
let [namespace, claim] = _ref5;
|
|
68
|
-
return attrDefNamespace === namespace && attrKey === claim;
|
|
69
|
-
});
|
|
70
|
-
});
|
|
57
|
+
const attrsNotInDisclosures = attrDefinitions.filter(([attrDefNamespace, attrKey]) => !flatNamespaces.some(([namespace, claim]) => attrDefNamespace === namespace && attrKey === claim));
|
|
71
58
|
if (attrsNotInDisclosures.length > 0) {
|
|
72
|
-
const missing = attrsNotInDisclosures.map(
|
|
73
|
-
|
|
74
|
-
return attrKey;
|
|
75
|
-
}).join(", ");
|
|
76
|
-
const received = flatNamespaces.map(_ref7 => {
|
|
77
|
-
let [, attrKey] = _ref7;
|
|
78
|
-
return attrKey;
|
|
79
|
-
}).join(", ");
|
|
59
|
+
const missing = attrsNotInDisclosures.map(([, attrKey]) => attrKey).join(", ");
|
|
60
|
+
const received = flatNamespaces.map(([, attrKey]) => attrKey).join(", ");
|
|
80
61
|
if (!ignoreMissingAttributes) {
|
|
81
62
|
throw new IoWalletError(`Some attributes are missing in the credential. Missing: [${missing}], received: [${received}]`);
|
|
82
63
|
}
|
|
@@ -85,57 +66,35 @@ const parseCredentialMDoc = function (credentialConfig, _ref) {
|
|
|
85
66
|
// Attributes defined in the issuer configuration and present in the disclosure set
|
|
86
67
|
const definedValues = attrDefinitions
|
|
87
68
|
// Retrieve the value from the corresponding disclosure
|
|
88
|
-
.map(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
display,
|
|
93
|
-
value: (_flatNamespaces$find = flatNamespaces.find(_ref9 => {
|
|
94
|
-
let [namespace, name] = _ref9;
|
|
95
|
-
return attrDefNamespace === namespace && name === attrKey;
|
|
96
|
-
})) === null || _flatNamespaces$find === void 0 ? void 0 : _flatNamespaces$find[2]
|
|
97
|
-
}];
|
|
98
|
-
})
|
|
69
|
+
.map(([attrDefNamespace, attrKey, display]) => [attrDefNamespace, attrKey, {
|
|
70
|
+
display,
|
|
71
|
+
value: flatNamespaces.find(([namespace, name]) => attrDefNamespace === namespace && name === attrKey)?.[2]
|
|
72
|
+
}])
|
|
99
73
|
//filter the not found elements
|
|
100
|
-
.filter(
|
|
101
|
-
let [_, __, definition] = _ref10;
|
|
102
|
-
return definition.value !== undefined;
|
|
103
|
-
})
|
|
74
|
+
.filter(([_, __, definition]) => definition.value !== undefined)
|
|
104
75
|
// Add a human-readable attribute name, with i18n, in the form { locale: name }
|
|
105
76
|
// Example: { "it-IT": "Nome", "en-EN": "Name", "es-ES": "Nombre" }
|
|
106
|
-
.reduce((acc,
|
|
107
|
-
|
|
108
|
-
|
|
77
|
+
.reduce((acc, [attrDefNamespace, attrKey, {
|
|
78
|
+
display,
|
|
79
|
+
value
|
|
80
|
+
}]) => ({
|
|
81
|
+
...acc,
|
|
82
|
+
[getParsedCredentialClaimKey(attrDefNamespace, attrKey)]: {
|
|
83
|
+
name: display.reduce((names, {
|
|
84
|
+
locale,
|
|
85
|
+
name
|
|
86
|
+
}) => ({
|
|
87
|
+
...names,
|
|
88
|
+
[locale]: name
|
|
89
|
+
}), {}),
|
|
109
90
|
value
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
...acc,
|
|
113
|
-
[getParsedCredentialClaimKey(attrDefNamespace, attrKey)]: {
|
|
114
|
-
name: display.reduce((names, _ref12) => {
|
|
115
|
-
let {
|
|
116
|
-
locale,
|
|
117
|
-
name
|
|
118
|
-
} = _ref12;
|
|
119
|
-
return {
|
|
120
|
-
...names,
|
|
121
|
-
[locale]: name
|
|
122
|
-
};
|
|
123
|
-
}, {}),
|
|
124
|
-
value
|
|
125
|
-
}
|
|
126
|
-
};
|
|
127
|
-
}, {});
|
|
91
|
+
}
|
|
92
|
+
}), {});
|
|
128
93
|
if (includeUndefinedAttributes) {
|
|
129
|
-
const undefinedValues = Object.fromEntries(Object.values(flatNamespaces).filter(
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
})
|
|
133
|
-
let [namespace, key, value] = _ref14;
|
|
134
|
-
return [getParsedCredentialClaimKey(namespace, key), {
|
|
135
|
-
name: key,
|
|
136
|
-
value
|
|
137
|
-
}];
|
|
138
|
-
}));
|
|
94
|
+
const undefinedValues = Object.fromEntries(Object.values(flatNamespaces).filter(([namespace, key]) => !definedValues[getParsedCredentialClaimKey(namespace, key)]).map(([namespace, key, value]) => [getParsedCredentialClaimKey(namespace, key), {
|
|
95
|
+
name: key,
|
|
96
|
+
value
|
|
97
|
+
}]));
|
|
139
98
|
return {
|
|
140
99
|
...definedValues,
|
|
141
100
|
...undefinedValues
|
|
@@ -143,12 +102,11 @@ const parseCredentialMDoc = function (credentialConfig, _ref) {
|
|
|
143
102
|
}
|
|
144
103
|
return definedValues;
|
|
145
104
|
};
|
|
146
|
-
export const verifyAndParseCredentialMDoc = async (issuerConf, credential, credentialConfigurationId,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
} = _ref15;
|
|
105
|
+
export const verifyAndParseCredentialMDoc = async (issuerConf, credential, credentialConfigurationId, {
|
|
106
|
+
credentialCryptoContext,
|
|
107
|
+
ignoreMissingAttributes,
|
|
108
|
+
includeUndefinedAttributes
|
|
109
|
+
}, x509CertRoot) => {
|
|
152
110
|
if (!x509CertRoot) {
|
|
153
111
|
throw new IoWalletError("Missing x509CertRoot");
|
|
154
112
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getParsedCredentialClaimKey","verify","verifyMdoc","IoWalletError","isSameThumbprint","verifyCredentialMDoc","rawCredential","x509CertRoot","holderBindingContext","decodedCredential","holderBindingKey","Promise","all","getPublicKey","key","issuerSigned","issuerAuth","payload","deviceKeyInfo","deviceKey","parseCredentialMDoc","credentialConfig","
|
|
1
|
+
{"version":3,"names":["getParsedCredentialClaimKey","verify","verifyMdoc","IoWalletError","isSameThumbprint","verifyCredentialMDoc","rawCredential","x509CertRoot","holderBindingContext","decodedCredential","holderBindingKey","Promise","all","getPublicKey","key","issuerSigned","issuerAuth","payload","deviceKeyInfo","deviceKey","parseCredentialMDoc","credentialConfig","ignoreMissingAttributes","includeUndefinedAttributes","claims","displayableClaims","filter","c","display","undefined","attrDefinitions","map","path","namespace","attribute","nameSpaces","flatNamespaces","Object","entries","flatMap","values","v","elementIdentifier","elementValue","attrsNotInDisclosures","attrDefNamespace","attrKey","some","claim","length","missing","join","received","definedValues","value","find","name","_","__","definition","reduce","acc","names","locale","undefinedValues","fromEntries","verifyAndParseCredentialMDoc","issuerConf","credential","credentialConfigurationId","credentialCryptoContext","decoded","credential_configurations_supported","parsedCredential","signed","validUntil","validityInfo","expiration","issuedAt"],"sourceRoot":"../../../../../src","sources":["credential/issuance/common/06-verify-and-parse-credential.mdoc.ts"],"mappings":";;AAOA,SACEA,2BAA2B,EAC3BC,MAAM,IAAIC,UAAU,QACf,wBAAe;AACtB,SAASC,aAAa,QAAQ,0BAAuB;AACrD,SAASC,gBAAgB,QAAQ,uBAAoB;AAerD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAeC,oBAAoBA,CACjCC,aAAqB,EACrBC,YAAoB,EACpBC,oBAAmC,EACH;EAChC,MAAM,CAACC,iBAAiB,EAAEC,gBAAgB,CAAC;EACzC;EACA,MAAMC,OAAO,CAACC,GAAG,CAAC,CAChBV,UAAU,CAACI,aAAa,EAAEC,YAAY,CAAC,EACvCC,oBAAoB,CAACK,YAAY,CAAC,CAAC,CACpC,CAAC;EAEJ,IAAI,CAACJ,iBAAiB,EAAE;IACtB,MAAM,IAAIN,aAAa,CAAC,4BAA4B,CAAC;EACvD;EAEA,MAAMW,GAAG,GACPL,iBAAiB,CAACM,YAAY,CAACC,UAAU,CAACC,OAAO,CAACC,aAAa,CAACC,SAAS;EAE3E,IAAI,EAAE,MAAMf,gBAAgB,CAACU,GAAG,EAAEJ,gBAA6B,CAAC,CAAC,EAAE;IACjE,MAAM,IAAIP,aAAa,CACrB,oFACF,CAAC;EACH;EAEA,OAAOM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