@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/trust/v1.4.6/types.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAMzB,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAC;AACF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAY/C,CAAC;AAGF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,+BAA+B,CACvC,CAAC;AACF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQ3C,CAAC;AAGF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAC;AACF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQ7C,CAAC;AAGF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAMwC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Context for authorization during the {@link 03-start-user-authorization.ts} phase.
|
|
4
|
+
* It consists of a single method to identify the user which takes a URL and a redirect schema as input.
|
|
5
|
+
* Once the authorization is completed and the URL calls the redirect schema, the method should return the redirect URL.
|
|
6
|
+
*/
|
|
7
|
+
export interface AuthorizationContext {
|
|
8
|
+
authorize: (url: string, redirectSchema: string) => Promise<string>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The result of the identification process.
|
|
12
|
+
*/
|
|
13
|
+
export declare const AuthorizationResultShape: z.ZodObject<{
|
|
14
|
+
code: z.ZodString;
|
|
15
|
+
iss: z.ZodOptional<z.ZodString>;
|
|
16
|
+
state: z.ZodString;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
/**
|
|
19
|
+
* The error of the identification process.
|
|
20
|
+
* It follows the OAuth/OIDC error response format.
|
|
21
|
+
* @see https://openid.net/specs/openid-connect-core-1_0.html#AuthError
|
|
22
|
+
* @see https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.2.1
|
|
23
|
+
*/
|
|
24
|
+
export declare const AuthorizationErrorShape: z.ZodObject<{
|
|
25
|
+
error: z.ZodString;
|
|
26
|
+
error_description: z.ZodOptional<z.ZodString>;
|
|
27
|
+
error_uri: z.ZodOptional<z.ZodString>;
|
|
28
|
+
state: z.ZodOptional<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
/**
|
|
31
|
+
* Type of the identification result.
|
|
32
|
+
*/
|
|
33
|
+
export type AuthorizationResult = z.infer<typeof AuthorizationResultShape>;
|
|
34
|
+
/**
|
|
35
|
+
* MRTD PoP Challenge Info response structure
|
|
36
|
+
*/
|
|
37
|
+
export declare const AuthorizationChallengeResultShape: z.ZodObject<{
|
|
38
|
+
challenge_info: z.ZodString;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
export type AuthorizationChallengeResult = z.infer<typeof AuthorizationChallengeResultShape>;
|
|
41
|
+
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../src/utils/auth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CACrE;AAED;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;iBAInC,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;iBAKlC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE3E;;GAEG;AAEH,eAAO,MAAM,iCAAiC;;iBAE5C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,iCAAiC,CACzC,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type CryptoContext } from "@pagopa/io-react-native-jwt";
|
|
2
|
+
import { type CallbackContext } from "@pagopa/io-wallet-oauth2";
|
|
3
|
+
import type { JWK } from "./jwk.js";
|
|
4
|
+
type PartialCallbackContext = Omit<CallbackContext, "clientAuthentication" | "signJwt">;
|
|
5
|
+
/**
|
|
6
|
+
* Shared callbacks with React Native implementations for use
|
|
7
|
+
* in IO Wallet SDK. Callbacks not found here must be provided by the caller,
|
|
8
|
+
* as they require parameters that depends on the use case.
|
|
9
|
+
*/
|
|
10
|
+
export declare const partialCallbacks: PartialCallbackContext;
|
|
11
|
+
/**
|
|
12
|
+
* Create a verifyJwt implementation that extracts the JWK for signature verification
|
|
13
|
+
* from a list of keys, matching the `kid` in the JWT header.
|
|
14
|
+
*
|
|
15
|
+
* This function does not support other `JwtSigner` methods.
|
|
16
|
+
*
|
|
17
|
+
* @param jwks The list of available keys
|
|
18
|
+
* @returns Function that implements `verifyJwt` callback
|
|
19
|
+
*/
|
|
20
|
+
export declare const createVerifyJwtFromJwks: (jwks: JWK[]) => CallbackContext["verifyJwt"];
|
|
21
|
+
/**
|
|
22
|
+
* Create a signJwt implementation that signs a JWT using the provided CryptoContext.
|
|
23
|
+
* @param cryptoContext The CryptoContext to use for signing the JWT
|
|
24
|
+
* @returns Function that implements `signJwt` callback
|
|
25
|
+
*/
|
|
26
|
+
export declare const createSignJwtFromCryptoContext: (cryptoContext: CryptoContext) => CallbackContext["signJwt"];
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=callbacks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callbacks.d.ts","sourceRoot":"","sources":["../../../../src/utils/callbacks.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAInB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,0BAA0B,CAAC;AAIhF,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAO,CAAC;AAYjC,KAAK,sBAAsB,GAAG,IAAI,CAChC,eAAe,EACf,sBAAsB,GAAG,SAAS,CACnC,CAAC;AAyBF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,sBAoC9B,CAAC;AAIF;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,GAClC,MAAM,GAAG,EAAE,KACV,eAAe,CAAC,WAAW,CAS3B,CAAC;AAEJ;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,GACzC,eAAe,aAAa,KAC3B,eAAe,CAAC,SAAS,CAYzB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IoWalletSdkConfig, ItWalletSpecsVersion } from "@pagopa/io-wallet-utils";
|
|
2
|
+
/**
|
|
3
|
+
* IO Wallet SDK configuration object for v1.0 specs.
|
|
4
|
+
*/
|
|
5
|
+
export declare const sdkConfigV1_0: IoWalletSdkConfig<ItWalletSpecsVersion.V1_0>;
|
|
6
|
+
/**
|
|
7
|
+
* IO Wallet SDK configuration object for v1.4 specs.
|
|
8
|
+
*/
|
|
9
|
+
export declare const sdkConfigV1_4: IoWalletSdkConfig<ItWalletSpecsVersion.V1_4>;
|
|
10
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/utils/config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAEjC;;GAEG;AACH,eAAO,MAAM,aAAa,8CAExB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa,8CAExB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { CredentialFormat } from "../credential/issuance/index.js";
|
|
2
|
+
import type { JWK } from "./jwk.js";
|
|
3
|
+
import { type SupportedSdJwtLegacyFormat } from "../sd-jwt/types.js";
|
|
4
|
+
/**
|
|
5
|
+
* Extracts a JWK from a credential.
|
|
6
|
+
* @param credential - The credential string, which can be in SD-JWT or CBOR format.
|
|
7
|
+
* @param format - The format of the credential
|
|
8
|
+
* @return A Promise that resolves to a JWK object if the credential is in SD-JWT format and contains a JWK, or undefined otherwise.
|
|
9
|
+
*/
|
|
10
|
+
export declare const extractJwkFromCredential: (credential: string, format: CredentialFormat | SupportedSdJwtLegacyFormat) => Promise<JWK>;
|
|
11
|
+
/**
|
|
12
|
+
* Legacy credentials do not end with `~`. This function adds `~` when needed
|
|
13
|
+
* to avoid decoding errors in the @sd-jwt libraries.
|
|
14
|
+
*/
|
|
15
|
+
export declare const fixLegacyCredentialSdJwt: (token: string) => string;
|
|
16
|
+
//# sourceMappingURL=credentials.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../../src/utils/credentials.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAO,CAAC;AAEjC,OAAO,EAGL,KAAK,0BAA0B,EAChC,MAAM,oBAAiB,CAAC;AAKzB;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,GACnC,YAAY,MAAM,EAClB,QAAQ,gBAAgB,GAAG,0BAA0B,KACpD,OAAO,CAAC,GAAG,CAab,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB,GAAI,OAAO,MAAM,WAOrD,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { type CryptoContext } from "@pagopa/io-react-native-jwt";
|
|
2
|
+
import { JWK } from "./jwk.js";
|
|
3
|
+
/**
|
|
4
|
+
* Extension of the {@link CryptoContext} that adds key generation with optional key attestation.
|
|
5
|
+
*
|
|
6
|
+
* This context requires the consumer to provide an additional method for **key generation**;
|
|
7
|
+
* on Android this method should also generate a key attestation as a certificate chain
|
|
8
|
+
* to ensure the key pair is hardware-backed.
|
|
9
|
+
*/
|
|
10
|
+
export type KeyAttestationCryptoContext = CryptoContext & {
|
|
11
|
+
/**
|
|
12
|
+
* Generate a key pair with an **optional key attestation** (Android).
|
|
13
|
+
* @param challenge The challenge for the key attestation.
|
|
14
|
+
* @returns An object with a success flag and a key attestation, if it was generated.
|
|
15
|
+
*/
|
|
16
|
+
generateKeyWithAttestation(challenge: string): Promise<{
|
|
17
|
+
attestation?: string;
|
|
18
|
+
success: boolean;
|
|
19
|
+
}>;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Create a CryptoContext bound to a key pair.
|
|
23
|
+
* Key pair is supposed to exist already in the device's keychain.
|
|
24
|
+
* It's identified by its unique keytag.
|
|
25
|
+
*
|
|
26
|
+
* @returns the crypto context
|
|
27
|
+
*/
|
|
28
|
+
export declare const createCryptoContextFor: (keytag: string) => CryptoContext;
|
|
29
|
+
/**
|
|
30
|
+
* Executes the input function injecting an ephemeral crypto context.
|
|
31
|
+
* An ephemeral crypto context is a context which is bound to a key
|
|
32
|
+
* that is just created and is deleted after use.
|
|
33
|
+
*
|
|
34
|
+
* @param fn The procedure to be executed
|
|
35
|
+
* @returns The returned value of the input procedure.
|
|
36
|
+
*/
|
|
37
|
+
export declare const withEphemeralKey: <R>(fn: (ephemeralContext: CryptoContext) => Promise<R>) => Promise<R>;
|
|
38
|
+
/**
|
|
39
|
+
* Converts a base64-encoded DER certificate to PEM format.
|
|
40
|
+
*
|
|
41
|
+
* @param certificate - The base64-encoded DER certificate.
|
|
42
|
+
* @returns The PEM-formatted certificate.
|
|
43
|
+
*/
|
|
44
|
+
export declare const convertBase64DerToPem: (certificate: string) => string;
|
|
45
|
+
/**
|
|
46
|
+
* Retrieves the signing JWK from a PEM-formatted certificate.
|
|
47
|
+
*
|
|
48
|
+
* @param pemCert - The PEM-formatted certificate.
|
|
49
|
+
* @returns The signing JWK.
|
|
50
|
+
* @throws Will throw an error if the public key is unsupported.
|
|
51
|
+
*/
|
|
52
|
+
export declare const getSigninJwkFromCert: (pemCert: string) => JWK;
|
|
53
|
+
/**
|
|
54
|
+
* Retrieves the signing JWK from a x509 certificate chain.
|
|
55
|
+
*
|
|
56
|
+
* @param certChain - The x509 certificate chain.
|
|
57
|
+
* @returns The signing JWK.
|
|
58
|
+
* @throws Will throw an error if no suitable keys are found.
|
|
59
|
+
*/
|
|
60
|
+
export declare const getJwkFromCertificateChain: (certChain: string[]) => Promise<JWK>;
|
|
61
|
+
/**
|
|
62
|
+
* Retrieves the signing JWK from a trust chain of entity configuration JWTs, matching the provided signer KID.
|
|
63
|
+
*
|
|
64
|
+
* @param trustChain - The trust chain of entity configuration JWTs.
|
|
65
|
+
* @param signerKid - The KID of the signer to look for in the trust chain.
|
|
66
|
+
* @returns The signing JWK.
|
|
67
|
+
* @throws Will throw an error if no suitable keys are found.
|
|
68
|
+
*/
|
|
69
|
+
export declare const getJwkFromTrustChain: (trustChain: string[], signerKid: string) => JWK;
|
|
70
|
+
//# sourceMappingURL=crypto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../../../../src/utils/crypto.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,KAAK,aAAa,EAGnB,MAAM,6BAA6B,CAAC;AAOrC,OAAO,EAAE,GAAG,EAAQ,MAAM,UAAO,CAAC;AAElC;;;;;;GAMG;AACH,MAAM,MAAM,2BAA2B,GAAG,aAAa,GAAG;IACxD;;;;OAIG;IACH,0BAA0B,CACxB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CACxD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,GAAI,QAAQ,MAAM,KAAG,aAoBtD,CAAC;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAAU,CAAC,EACtC,IAAI,CAAC,gBAAgB,EAAE,aAAa,KAAK,OAAO,CAAC,CAAC,CAAC,KAClD,OAAO,CAAC,CAAC,CAMX,CAAC;AACF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,GAAI,aAAa,MAAM,KAAG,MACc,CAAC;AAE3E;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,GAAI,SAAS,MAAM,KAAG,GAetD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,GACrC,WAAW,MAAM,EAAE,KAClB,OAAO,CAAC,GAAG,CASb,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,GAC/B,YAAY,MAAM,EAAE,EACpB,WAAW,MAAM,KAChB,GAiCF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decoder.d.ts","sourceRoot":"","sources":["../../../../src/utils/decoder.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAO,CAAC;AAiC7C,eAAO,MAAM,kBAAkB,GAC7B,UAAU,MAAM,KACf,OAAO,CAAC;IAAE,UAAU,EAAE,eAAe,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAsBtD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type CryptoContext } from "@pagopa/io-react-native-jwt";
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
/**
|
|
4
|
+
* Create a signed DPoP token
|
|
5
|
+
*
|
|
6
|
+
* @param payload The payload to be included in the token.
|
|
7
|
+
* @param crypto The crypto context that handles the key bound to the DPoP.
|
|
8
|
+
*
|
|
9
|
+
* @returns The signed crypto token.
|
|
10
|
+
*/
|
|
11
|
+
export declare const createDPopToken: (payload: DPoPPayload, crypto: CryptoContext) => Promise<string>;
|
|
12
|
+
export type DPoPPayload = z.infer<typeof DPoPPayload>;
|
|
13
|
+
export declare const DPoPPayload: z.ZodObject<{
|
|
14
|
+
ath: z.ZodOptional<z.ZodString>;
|
|
15
|
+
htm: z.ZodEnum<{
|
|
16
|
+
GET: "GET";
|
|
17
|
+
POST: "POST";
|
|
18
|
+
}>;
|
|
19
|
+
htu: z.ZodString;
|
|
20
|
+
jti: z.ZodString;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
//# sourceMappingURL=dpop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dpop.d.ts","sourceRoot":"","sources":["../../../../src/utils/dpop.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAW,MAAM,6BAA6B,CAAC;AAC1E,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,GAC1B,SAAS,WAAW,EACpB,QAAQ,aAAa,KACpB,OAAO,CAAC,MAAM,CAWhB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AACtD,eAAO,MAAM,WAAW;;;;;;;;iBAKtB,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export declare const IssuerResponseErrorCodes: {
|
|
2
|
+
/**
|
|
3
|
+
* Error code thrown when a credential status is invalid, either during issuance or when requesting a status attestation.
|
|
4
|
+
*/
|
|
5
|
+
readonly CredentialInvalidStatus: "ERR_CREDENTIAL_INVALID_STATUS";
|
|
6
|
+
/**
|
|
7
|
+
* Error code thrown when a credential cannot be issued immediately because it follows the async flow.
|
|
8
|
+
*/
|
|
9
|
+
readonly CredentialIssuingNotSynchronous: "ERR_CREDENTIAL_ISSUING_NOT_SYNCHRONOUS";
|
|
10
|
+
/**
|
|
11
|
+
* Error code thrown when an error occurs while requesting a credential.
|
|
12
|
+
*/
|
|
13
|
+
readonly CredentialRequestFailed: "ERR_CREDENTIAL_REQUEST_FAILED";
|
|
14
|
+
readonly IssuerGenericError: "ERR_ISSUER_GENERIC_ERROR";
|
|
15
|
+
/**
|
|
16
|
+
* Error code thrown when an error occurs while initializing the MRTD challenge.
|
|
17
|
+
*/
|
|
18
|
+
readonly MrtdChallengeInitRequestFailed: "ERR_MRTD_CHALLENGE_INIT_REQUEST_FAILED";
|
|
19
|
+
/**
|
|
20
|
+
* Error code thrown when an error occurs while obtaining a status attestation for a credential.
|
|
21
|
+
*/
|
|
22
|
+
readonly StatusAttestationRequestFailed: "ERR_STATUS_ATTESTATION_REQUEST_FAILED";
|
|
23
|
+
};
|
|
24
|
+
export declare const WalletProviderResponseErrorCodes: {
|
|
25
|
+
/**
|
|
26
|
+
* An error code thrown when validation fail
|
|
27
|
+
*/
|
|
28
|
+
readonly WalletInstanceAttestationIssuingFailed: "ERR_IO_WALLET_INSTANCE_ATTESTATION_ISSUING_FAILED";
|
|
29
|
+
/**
|
|
30
|
+
* An error code thrown when an error occurs during the wallet instance creation process.
|
|
31
|
+
*/
|
|
32
|
+
readonly WalletInstanceCreationFailed: "ERR_IO_WALLET_INSTANCE_CREATION_FAILED";
|
|
33
|
+
/**
|
|
34
|
+
* An error code thrown when the requester does not pass the integrity checks when interacting with the Wallet Provider.
|
|
35
|
+
*/
|
|
36
|
+
readonly WalletInstanceIntegrityFailed: "ERR_IO_WALLET_INSTANCE_INTEGRITY_FAILED";
|
|
37
|
+
/**
|
|
38
|
+
* An error code thrown when obtaining a wallet instance attestation but the wallet instance is not found.
|
|
39
|
+
*/
|
|
40
|
+
readonly WalletInstanceNotFound: "ERR_IO_WALLET_INSTANCE_NOT_FOUND";
|
|
41
|
+
/**
|
|
42
|
+
* An error code thrown when obtaining a wallet instance attestation but the wallet instance is revoked.
|
|
43
|
+
*/
|
|
44
|
+
readonly WalletInstanceRevoked: "ERR_IO_WALLET_INSTANCE_REVOKED";
|
|
45
|
+
readonly WalletProviderGenericError: "ERR_IO_WALLET_PROVIDER_GENERIC_ERROR";
|
|
46
|
+
};
|
|
47
|
+
export declare const RelyingPartyResponseErrorCodes: {
|
|
48
|
+
/**
|
|
49
|
+
* An error code thrown then the Relying Party rejects the Wallet's Authorization Response.
|
|
50
|
+
*/
|
|
51
|
+
readonly InvalidAuthorizationResponse: "ERR_RP_INVALID_AUTHORIZATION_RESPONSE";
|
|
52
|
+
readonly RelyingPartyGenericError: "ERR_RP_GENERIC_ERROR";
|
|
53
|
+
};
|
|
54
|
+
export type IssuerResponseErrorCode = (typeof IssuerResponseErrorCodes)[keyof typeof IssuerResponseErrorCodes];
|
|
55
|
+
export type RelyingPartyResponseErrorCode = (typeof RelyingPartyResponseErrorCodes)[keyof typeof RelyingPartyResponseErrorCodes];
|
|
56
|
+
export type WalletProviderResponseErrorCode = (typeof WalletProviderResponseErrorCodes)[keyof typeof WalletProviderResponseErrorCodes];
|
|
57
|
+
//# sourceMappingURL=error-codes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-codes.d.ts","sourceRoot":"","sources":["../../../../src/utils/error-codes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;IACnC;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;IAGH;;OAEG;;IAEH;;OAEG;;CAEK,CAAC;AAEX,eAAO,MAAM,gCAAgC;IAC3C;;OAEG;;IAGH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;CAGK,CAAC;AAEX,eAAO,MAAM,8BAA8B;IACzC;;OAEG;;;CAGK,CAAC;AAEX,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAE3E,MAAM,MAAM,6BAA6B,GACvC,CAAC,OAAO,8BAA8B,CAAC,CAAC,MAAM,OAAO,8BAA8B,CAAC,CAAC;AAEvF,MAAM,MAAM,+BAA+B,GACzC,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import type { ProblemJson } from "../client/generated/wallet-provider.js";
|
|
2
|
+
import type { IssuerConfig } from "../credential/issuance/api/index.js";
|
|
3
|
+
import { type IssuerResponseErrorCode, IssuerResponseErrorCodes, type RelyingPartyResponseErrorCode, RelyingPartyResponseErrorCodes, type WalletProviderResponseErrorCode, WalletProviderResponseErrorCodes } from "./error-codes.js";
|
|
4
|
+
export { IssuerResponseErrorCodes, RelyingPartyResponseErrorCodes, WalletProviderResponseErrorCodes, };
|
|
5
|
+
type GenericErrorReason = Record<string, unknown> | string;
|
|
6
|
+
/**
|
|
7
|
+
* utility to format a set of attributes into an error message string
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* // returns "foo=value bar=(list, item)"
|
|
11
|
+
* serializeAttrs({ foo: "value", bar: ["list", "item"] })
|
|
12
|
+
*
|
|
13
|
+
* @param attrs A key value record set
|
|
14
|
+
* @returns a human-readable serialization of the set
|
|
15
|
+
*/
|
|
16
|
+
export declare const serializeAttrs: (attrs: Record<string, GenericErrorReason | number | string[] | undefined>) => string;
|
|
17
|
+
/**
|
|
18
|
+
* Wraps a synchronous function and maps a specific error type to a library error.
|
|
19
|
+
*
|
|
20
|
+
* @param fn - The function to execute
|
|
21
|
+
* @param sourceError - The error class constructor to catch
|
|
22
|
+
* @param mapError - Function to map the caught error to a library error
|
|
23
|
+
* @returns The result of the function if it succeeds
|
|
24
|
+
* @throws The mapped error if sourceError is caught, or the original error otherwise
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* const result = withMappedErrors(
|
|
28
|
+
* () => sdkExtractGrantDetails(offer),
|
|
29
|
+
* CredentialOfferError,
|
|
30
|
+
* (e) => new InvalidCredentialOfferError(e.message)
|
|
31
|
+
* );
|
|
32
|
+
*/
|
|
33
|
+
export declare const withMappedErrors: <T, E extends Error, Args extends unknown[]>(fn: () => T, sourceError: new (...args: Args) => E, mapError: (error: E) => Error) => T;
|
|
34
|
+
type LocalizedIssuanceError = Record<string, {
|
|
35
|
+
description: string;
|
|
36
|
+
title: string;
|
|
37
|
+
}>;
|
|
38
|
+
/**
|
|
39
|
+
* A generic Error that all other io-wallet specific Error subclasses extend.
|
|
40
|
+
*
|
|
41
|
+
* @example Checking thrown error is a io-wallet one
|
|
42
|
+
*
|
|
43
|
+
* ```js
|
|
44
|
+
* if (err instanceof errors.IoWalletError) {
|
|
45
|
+
* // ...
|
|
46
|
+
* }
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export declare class IoWalletError extends Error {
|
|
50
|
+
/** A unique error code for the particular error subclass. */
|
|
51
|
+
code: string;
|
|
52
|
+
constructor(message?: string);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* An error subclass thrown when an HTTP request has a status code different from the one expected.
|
|
56
|
+
*/
|
|
57
|
+
export declare class UnexpectedStatusCodeError extends IoWalletError {
|
|
58
|
+
code: string;
|
|
59
|
+
reason: GenericErrorReason;
|
|
60
|
+
statusCode: number;
|
|
61
|
+
constructor({ message, reason, statusCode, }: {
|
|
62
|
+
message: string;
|
|
63
|
+
reason: GenericErrorReason;
|
|
64
|
+
statusCode: number;
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* An error subclass thrown when an Issuer HTTP request fails.
|
|
69
|
+
* The specific error can be found in the `code` property.
|
|
70
|
+
* `reason` values are returned with Italian fiscal codes anonymized.
|
|
71
|
+
*/
|
|
72
|
+
export declare class IssuerResponseError extends UnexpectedStatusCodeError {
|
|
73
|
+
code: IssuerResponseErrorCode;
|
|
74
|
+
constructor(params: {
|
|
75
|
+
code?: IssuerResponseErrorCode;
|
|
76
|
+
message: string;
|
|
77
|
+
reason: GenericErrorReason;
|
|
78
|
+
statusCode: number;
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* An error subclass thrown when a Relying Party HTTP request fails.
|
|
83
|
+
* The specific error can be found in the `code` property.
|
|
84
|
+
*/
|
|
85
|
+
export declare class RelyingPartyResponseError extends UnexpectedStatusCodeError {
|
|
86
|
+
code: RelyingPartyResponseErrorCode;
|
|
87
|
+
constructor(params: {
|
|
88
|
+
code?: RelyingPartyResponseErrorCode;
|
|
89
|
+
message: string;
|
|
90
|
+
reason: GenericErrorReason;
|
|
91
|
+
statusCode: number;
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* An error subclass thrown when validation fail
|
|
96
|
+
*
|
|
97
|
+
*/
|
|
98
|
+
export declare class ValidationFailed extends IoWalletError {
|
|
99
|
+
/** The Claim for which the validation failed. */
|
|
100
|
+
claim: string;
|
|
101
|
+
code: string;
|
|
102
|
+
/** Reason code for the validation failure. */
|
|
103
|
+
reason: string;
|
|
104
|
+
constructor({ claim, message, reason, }: {
|
|
105
|
+
claim?: string;
|
|
106
|
+
message: string;
|
|
107
|
+
reason?: string;
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* An error subclass thrown when a Wallet Provider HTTP request fails.
|
|
112
|
+
* The specific error can be found in the `code` property.
|
|
113
|
+
*/
|
|
114
|
+
export declare class WalletProviderResponseError extends UnexpectedStatusCodeError {
|
|
115
|
+
code: WalletProviderResponseErrorCode;
|
|
116
|
+
reason: ProblemJson;
|
|
117
|
+
constructor(params: {
|
|
118
|
+
code?: WalletProviderResponseErrorCode;
|
|
119
|
+
message: string;
|
|
120
|
+
reason: ProblemJson;
|
|
121
|
+
statusCode: number;
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Function to extract the error message from the Entity Configuration's supported error codes.
|
|
126
|
+
* @param errorCode The error code to map to a meaningful message
|
|
127
|
+
* @param issuerConf The entity configuration for credentials
|
|
128
|
+
* @param credentialType The type of credential the error belongs to
|
|
129
|
+
* @returns A localized error {@link LocalizedIssuanceError} or undefined
|
|
130
|
+
* @throws {IoWalletError} When no credential config is found
|
|
131
|
+
*/
|
|
132
|
+
export declare function extractErrorMessageFromIssuerConf(errorCode: string, { credentialType, issuerConf, }: {
|
|
133
|
+
credentialType: string;
|
|
134
|
+
issuerConf: IssuerConfig;
|
|
135
|
+
}): LocalizedIssuanceError | undefined;
|
|
136
|
+
export declare const isIssuerResponseError: (error: unknown, code?: IssuerResponseErrorCode | undefined) => error is IssuerResponseError;
|
|
137
|
+
export declare const isWalletProviderResponseError: (error: unknown, code?: WalletProviderResponseErrorCode | undefined) => error is WalletProviderResponseError;
|
|
138
|
+
export declare const isRelyingPartyResponseError: (error: unknown, code?: RelyingPartyResponseErrorCode | undefined) => error is RelyingPartyResponseError;
|
|
139
|
+
interface ErrorCase<T> {
|
|
140
|
+
code: ExtractErrorCode<T>;
|
|
141
|
+
message: string;
|
|
142
|
+
reason?: GenericErrorReason;
|
|
143
|
+
}
|
|
144
|
+
type ErrorCodeMap = {
|
|
145
|
+
code: IssuerResponseErrorCode;
|
|
146
|
+
type: typeof IssuerResponseError;
|
|
147
|
+
} | {
|
|
148
|
+
code: RelyingPartyResponseErrorCode;
|
|
149
|
+
type: typeof RelyingPartyResponseError;
|
|
150
|
+
} | {
|
|
151
|
+
code: WalletProviderResponseErrorCode;
|
|
152
|
+
type: typeof WalletProviderResponseError;
|
|
153
|
+
};
|
|
154
|
+
type ExtractErrorCode<T> = Extract<ErrorCodeMap, {
|
|
155
|
+
type: T;
|
|
156
|
+
}>["code"];
|
|
157
|
+
/**
|
|
158
|
+
* Builder class used to create specialized errors from type {@link UnexpectedStatusCodeError} that handles multiple status codes.
|
|
159
|
+
*
|
|
160
|
+
* Chain multiple `handle` to add cases that depend on the status code, then call `buildFrom` when done.
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* ```
|
|
164
|
+
* new ResponseErrorBuilder(IssuerResponseError)
|
|
165
|
+
* .handle(403, { code: "ERROR_CODE_1", message: "Forbidden" })
|
|
166
|
+
* .handle(500, { code: "ERROR_CODE_2", message: "Unexpected error" })
|
|
167
|
+
* .handle("*", { code: "ERROR_CODE_3", message: "Fallback" })
|
|
168
|
+
* .buildFrom(baseError)
|
|
169
|
+
* ```
|
|
170
|
+
*/
|
|
171
|
+
export declare class ResponseErrorBuilder<T extends typeof UnexpectedStatusCodeError> {
|
|
172
|
+
private ErrorClass;
|
|
173
|
+
private errorCases;
|
|
174
|
+
constructor(ErrorClass: T);
|
|
175
|
+
buildFrom(originalError: UnexpectedStatusCodeError): UnexpectedStatusCodeError;
|
|
176
|
+
handle(status: "*" | number, params: ErrorCase<T>): this;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Error thrown when the library does not implement
|
|
180
|
+
* a feature aligned with the specified version.
|
|
181
|
+
*/
|
|
182
|
+
export declare class UnimplementedFeatureError extends IoWalletError {
|
|
183
|
+
code: string;
|
|
184
|
+
constructor(feature: string, version: string);
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Map `UnexpectedStatusCodeError` thrown from IO Wallet SDK to `IssuerResponseError`.
|
|
188
|
+
* Use this function in catch blocks.
|
|
189
|
+
* @param err The original error
|
|
190
|
+
* @throws Generic {@link IssuerResponseError}
|
|
191
|
+
* @throws The original error if it doesn't match
|
|
192
|
+
* @example
|
|
193
|
+
* await fetchAuthorizationRequest().catch(sdkUnexpectedStatusCodeToIssuerError)
|
|
194
|
+
*/
|
|
195
|
+
export declare const sdkUnexpectedStatusCodeToIssuerError: (err: unknown) => never;
|
|
196
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/utils/errors.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAqC,CAAC;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAA4B,CAAC;AAE/D,OAAO,EACL,KAAK,uBAAuB,EAC5B,wBAAwB,EACxB,KAAK,6BAA6B,EAClC,8BAA8B,EAC9B,KAAK,+BAA+B,EACpC,gCAAgC,EACjC,MAAM,kBAAe,CAAC;AAGvB,OAAO,EACL,wBAAwB,EACxB,8BAA8B,EAC9B,gCAAgC,GACjC,CAAC;AAGF,KAAK,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC;AAE3D;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,GACzB,OAAO,MAAM,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAAC,KACxE,MASW,CAAC;AAEf;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,gBAAgB,GAAI,CAAC,EAAE,CAAC,SAAS,KAAK,EAAE,IAAI,SAAS,OAAO,EAAE,EACzE,IAAI,MAAM,CAAC,EACX,aAAa,KAAK,GAAG,IAAI,EAAE,IAAI,KAAK,CAAC,EACrC,UAAU,CAAC,KAAK,EAAE,CAAC,KAAK,KAAK,KAC5B,CASF,CAAC;AAEF,KAAK,sBAAsB,GAAG,MAAM,CAClC,MAAM,EACN;IACE,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf,CACF,CAAC;AAEF;;;;;;;;;;GAUG;AACH,qBAAa,aAAc,SAAQ,KAAK;IACtC,6DAA6D;IAC7D,IAAI,SAA2B;gBAEnB,OAAO,CAAC,EAAE,MAAM;CAI7B;AAED;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,aAAa;IACjD,IAAI,SAAgC;IAC7C,MAAM,EAAE,kBAAkB,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;gBAEP,EACV,OAAO,EACP,MAAM,EACN,UAAU,GACX,EAAE;QACD,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,kBAAkB,CAAC;QAC3B,UAAU,EAAE,MAAM,CAAC;KACpB;CAKF;AAED;;;;GAIG;AACH,qBAAa,mBAAoB,SAAQ,yBAAyB;IACvD,IAAI,EAAE,uBAAuB,CAAC;gBAE3B,MAAM,EAAE;QAClB,IAAI,CAAC,EAAE,uBAAuB,CAAC;QAC/B,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,kBAAkB,CAAC;QAC3B,UAAU,EAAE,MAAM,CAAC;KACpB;CAIF;AAED;;;GAGG;AACH,qBAAa,yBAA0B,SAAQ,yBAAyB;IAC7D,IAAI,EAAE,6BAA6B,CAAC;gBAEjC,MAAM,EAAE;QAClB,IAAI,CAAC,EAAE,6BAA6B,CAAC;QACrC,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,kBAAkB,CAAC;QAC3B,UAAU,EAAE,MAAM,CAAC;KACpB;CAKF;AAED;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,aAAa;IACjD,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IAEL,IAAI,SAAqC;IAElD,8CAA8C;IAC9C,MAAM,EAAE,MAAM,CAAC;gBAEH,EACV,KAAqB,EACrB,OAAO,EACP,MAAsB,GACvB,EAAE;QACD,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB;CAKF;AAED;;;GAGG;AACH,qBAAa,2BAA4B,SAAQ,yBAAyB;IAC/D,IAAI,EAAE,+BAA+B,CAAC;IACtC,MAAM,EAAE,WAAW,CAAC;gBAEjB,MAAM,EAAE;QAClB,IAAI,CAAC,EAAE,+BAA+B,CAAC;QACvC,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,WAAW,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC;KACpB;CAOF;AAED;;;;;;;GAOG;AACH,wBAAgB,iCAAiC,CAC/C,SAAS,EAAE,MAAM,EACjB,EACE,cAAc,EACd,UAAU,GACX,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,YAAY,CAAC;CAC1B,GACA,sBAAsB,GAAG,SAAS,CAuBpC;AAaD,eAAO,MAAM,qBAAqB,UAHxB,OAAO,iDAA+B,KAAK,uBAGuB,CAAC;AAC7E,eAAO,MAAM,6BAA6B,UAJhC,OAAO,yDAA+B,KAAK,+BAMpD,CAAC;AACF,eAAO,MAAM,2BAA2B,UAP9B,OAAO,uDAA+B,KAAK,6BASpD,CAAC;AAEF,UAAU,SAAS,CAAC,CAAC;IACnB,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,kBAAkB,CAAC;CAC7B;AAGD,KAAK,YAAY,GACb;IACE,IAAI,EAAE,uBAAuB,CAAC;IAC9B,IAAI,EAAE,OAAO,mBAAmB,CAAC;CAClC,GACD;IACE,IAAI,EAAE,6BAA6B,CAAC;IACpC,IAAI,EAAE,OAAO,yBAAyB,CAAC;CACxC,GACD;IACE,IAAI,EAAE,+BAA+B,CAAC;IACtC,IAAI,EAAE,OAAO,2BAA2B,CAAC;CAC1C,CAAC;AAEN,KAAK,gBAAgB,CAAC,CAAC,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE;;;;;;;;;;;;;GAaG;AACH,qBAAa,oBAAoB,CAAC,CAAC,SAAS,OAAO,yBAAyB;IAG9D,OAAO,CAAC,UAAU;IAF9B,OAAO,CAAC,UAAU,CAAmD;gBAEjD,UAAU,EAAE,CAAC;IAEjC,SAAS,CAAC,aAAa,EAAE,yBAAyB;IAelD,MAAM,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;CAIlD;AAED;;;GAGG;AACH,qBAAa,yBAA0B,SAAQ,aAAa;IACjD,IAAI,SAAyC;gBAE1C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;CAG7C;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,oCAAoC,GAAI,KAAK,OAAO,UAUhE,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type returned by the getHardwareSignatureWithAuthData function of {@link IntegrityContext}.
|
|
3
|
+
* It contains the signature and the authenticator data.
|
|
4
|
+
*/
|
|
5
|
+
export interface HardwareSignatureWithAuthData {
|
|
6
|
+
authenticatorData: string;
|
|
7
|
+
signature: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Interface for the integrity context which provides the necessary functions to interact with the integrity service.
|
|
11
|
+
* The functions are platform specific and must be implemented in the platform specific code.
|
|
12
|
+
* getHardwareKeyTag: returns the hardware key tag in a url safe format (e.g. base64url).
|
|
13
|
+
* getAttestation: requests the attestation from the integrity service.
|
|
14
|
+
* getHardwareSignatureWithAuthData: signs the clientData and returns the signature with the authenticator data.
|
|
15
|
+
*/
|
|
16
|
+
export interface IntegrityContext {
|
|
17
|
+
getAttestation: (nonce: string) => Promise<string>;
|
|
18
|
+
getHardwareKeyTag: () => string;
|
|
19
|
+
getHardwareSignatureWithAuthData: (clientData: string) => Promise<HardwareSignatureWithAuthData>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=integrity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrity.d.ts","sourceRoot":"","sources":["../../../../src/utils/integrity.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,6BAA6B;IAC5C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,gBAAgB;IAC/B,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACnD,iBAAiB,EAAE,MAAM,MAAM,CAAC;IAChC,gCAAgC,EAAE,CAChC,UAAU,EAAE,MAAM,KACf,OAAO,CAAC,6BAA6B,CAAC,CAAC;CAC7C"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { decode } from "@pagopa/io-react-native-jwt";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export type JWK = z.infer<typeof JWK>;
|
|
4
|
+
export declare const JWK: z.ZodObject<{
|
|
5
|
+
alg: z.ZodOptional<z.ZodString>;
|
|
6
|
+
crv: z.ZodOptional<z.ZodString>;
|
|
7
|
+
d: z.ZodOptional<z.ZodString>;
|
|
8
|
+
dp: z.ZodOptional<z.ZodString>;
|
|
9
|
+
dq: z.ZodOptional<z.ZodString>;
|
|
10
|
+
e: z.ZodOptional<z.ZodString>;
|
|
11
|
+
ext: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
k: z.ZodOptional<z.ZodString>;
|
|
13
|
+
key_ops: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
+
kid: z.ZodOptional<z.ZodString>;
|
|
15
|
+
kty: z.ZodEnum<{
|
|
16
|
+
RSA: "RSA";
|
|
17
|
+
EC: "EC";
|
|
18
|
+
}>;
|
|
19
|
+
n: z.ZodOptional<z.ZodString>;
|
|
20
|
+
p: z.ZodOptional<z.ZodString>;
|
|
21
|
+
q: z.ZodOptional<z.ZodString>;
|
|
22
|
+
qi: z.ZodOptional<z.ZodString>;
|
|
23
|
+
use: z.ZodOptional<z.ZodString>;
|
|
24
|
+
x: z.ZodOptional<z.ZodString>;
|
|
25
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
+
x5t: z.ZodOptional<z.ZodString>;
|
|
27
|
+
"x5t#S256": z.ZodOptional<z.ZodString>;
|
|
28
|
+
x5u: z.ZodOptional<z.ZodString>;
|
|
29
|
+
y: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
export type JWKS = z.infer<typeof JWKS>;
|
|
32
|
+
/**
|
|
33
|
+
* Ensure key values are encoded using base64url and not just base64, as defined in https://datatracker.ietf.org/doc/html/rfc7517
|
|
34
|
+
*
|
|
35
|
+
* @see https://datatracker.ietf.org/doc/html/rfc7517
|
|
36
|
+
*
|
|
37
|
+
* @param key The key to fix
|
|
38
|
+
* @returns THe same input key with fixed values
|
|
39
|
+
*/
|
|
40
|
+
export declare function fixBase64EncodingOnKey(key: JWK): JWK;
|
|
41
|
+
export declare const JWKS: z.ZodObject<{
|
|
42
|
+
keys: z.ZodArray<z.ZodObject<{
|
|
43
|
+
alg: z.ZodOptional<z.ZodString>;
|
|
44
|
+
crv: z.ZodOptional<z.ZodString>;
|
|
45
|
+
d: z.ZodOptional<z.ZodString>;
|
|
46
|
+
dp: z.ZodOptional<z.ZodString>;
|
|
47
|
+
dq: z.ZodOptional<z.ZodString>;
|
|
48
|
+
e: z.ZodOptional<z.ZodString>;
|
|
49
|
+
ext: z.ZodOptional<z.ZodBoolean>;
|
|
50
|
+
k: z.ZodOptional<z.ZodString>;
|
|
51
|
+
key_ops: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52
|
+
kid: z.ZodOptional<z.ZodString>;
|
|
53
|
+
kty: z.ZodEnum<{
|
|
54
|
+
RSA: "RSA";
|
|
55
|
+
EC: "EC";
|
|
56
|
+
}>;
|
|
57
|
+
n: z.ZodOptional<z.ZodString>;
|
|
58
|
+
p: z.ZodOptional<z.ZodString>;
|
|
59
|
+
q: z.ZodOptional<z.ZodString>;
|
|
60
|
+
qi: z.ZodOptional<z.ZodString>;
|
|
61
|
+
use: z.ZodOptional<z.ZodString>;
|
|
62
|
+
x: z.ZodOptional<z.ZodString>;
|
|
63
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
|
+
x5t: z.ZodOptional<z.ZodString>;
|
|
65
|
+
"x5t#S256": z.ZodOptional<z.ZodString>;
|
|
66
|
+
x5u: z.ZodOptional<z.ZodString>;
|
|
67
|
+
y: z.ZodOptional<z.ZodString>;
|
|
68
|
+
}, z.core.$strip>>;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
export type JWTDecodeResult = ReturnType<typeof decode>;
|
|
71
|
+
/**
|
|
72
|
+
* Utility function that checks if two JWKs have the same thumbprint.
|
|
73
|
+
* @param jwkA The first JWK
|
|
74
|
+
* @param jwkB The second JWK
|
|
75
|
+
* @returns Whether the thumbprints match
|
|
76
|
+
*/
|
|
77
|
+
export declare const isSameThumbprint: (jwkA: JWK, jwkB: JWK) => Promise<boolean>;
|
|
78
|
+
//# sourceMappingURL=jwk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jwk.d.ts","sourceRoot":"","sources":["../../../../src/utils/jwk.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA6B,MAAM,6BAA6B,CAAC;AAChF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,CAAC,CAAC;AACtC,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmCd,CAAC;AAEH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;AAExC;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,CAUpD;AACD,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEf,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAExD;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAU,MAAM,GAAG,EAAE,MAAM,GAAG,qBAM1D,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supported debug levels.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum LogLevel {
|
|
5
|
+
DEBUG = 0,
|
|
6
|
+
INFO = 1,
|
|
7
|
+
WARN = 2,
|
|
8
|
+
ERROR = 3
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Logger interface which can be provided to the Logger class as a custom implementation.
|
|
12
|
+
*/
|
|
13
|
+
export interface LoggingContext {
|
|
14
|
+
logDebug: (msg: string) => void;
|
|
15
|
+
logError: (msg: string) => void;
|
|
16
|
+
logInfo: (msg: string) => void;
|
|
17
|
+
logWarn: (msg: string) => void;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Logger singleton class which provides a simple logging interface with an init function to set the logging context and
|
|
21
|
+
* a static log function to log messages based on the debug level.
|
|
22
|
+
* This can be used as follows:
|
|
23
|
+
* const logger = Logger.getInstance();
|
|
24
|
+
* logger.initLogging(yourLoggingContext);
|
|
25
|
+
* logger.log(LogLevel.DEBUG, "Debug message");
|
|
26
|
+
*/
|
|
27
|
+
export declare class Logger {
|
|
28
|
+
private static instance;
|
|
29
|
+
private static loggingContext?;
|
|
30
|
+
private constructor();
|
|
31
|
+
static getInstance(): Logger;
|
|
32
|
+
static log(level: LogLevel, msg: string): void;
|
|
33
|
+
initLogging(loggingCtx: LoggingContext): void;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=logging.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logging.d.ts","sourceRoot":"","sources":["../../../../src/utils/logging.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,QAAQ;IAClB,KAAK,IAAA;IACL,IAAI,IAAA;IACJ,IAAI,IAAA;IACJ,KAAK,IAAA;CACN;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC;AAED;;;;;;;GAOG;AACH,qBAAa,MAAM;IACjB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAuB;IAC9C,OAAO,CAAC,MAAM,CAAC,cAAc,CAAC,CAAiB;IAE/C,OAAO;WAKO,WAAW,IAAI,MAAM;WAQrB,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI;IAoB9C,WAAW,CAAC,UAAU,EAAE,cAAc,GAAG,IAAI;CAGrD"}
|