@pagopa/io-react-native-wallet 3.6.3 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/commonjs/IoWallet.js +5 -3
- package/lib/commonjs/IoWallet.js.map +1 -1
- package/lib/commonjs/api/index.js +23 -24
- package/lib/commonjs/api/index.js.map +1 -1
- package/lib/commonjs/client/index.js +9 -11
- package/lib/commonjs/client/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/README.md +9 -9
- package/lib/commonjs/credential/issuance/api/IssuerConfig.js +23 -23
- package/lib/commonjs/credential/issuance/api/IssuerConfig.js.map +1 -1
- package/lib/commonjs/credential/issuance/api/mrtd-pop/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/api/types.js +3 -3
- package/lib/commonjs/credential/issuance/api/types.js.map +1 -1
- package/lib/commonjs/credential/issuance/common/02-start-user-authorization.js +3 -0
- 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 +11 -8
- 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 +13 -13
- package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
- package/lib/commonjs/credential/issuance/common/errors.js +0 -3
- package/lib/commonjs/credential/issuance/common/errors.js.map +1 -1
- package/lib/commonjs/credential/issuance/index.js +2 -2
- package/lib/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js +4 -4
- 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 +14 -14
- 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 +20 -20
- package/lib/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.js.map +1 -1
- package/lib/commonjs/credential/issuance/mrtd-pop/index.js +6 -6
- 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.map +1 -1
- package/lib/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.js +13 -13
- 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 +18 -18
- 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 +10 -10
- 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 +24 -15
- 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.map +1 -1
- package/lib/commonjs/credential/issuance/v1.0.0/index.js +8 -8
- package/lib/commonjs/credential/issuance/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.0.0/mappers.js +7 -7
- package/lib/commonjs/credential/issuance/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.0.0/types.js.map +1 -1
- package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/01-evaluate-issuer-trust.js +3 -3
- package/lib/commonjs/credential/issuance/v1.4.6/01-evaluate-issuer-trust.js.map +1 -0
- package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/02-start-user-authorization.js +30 -30
- package/lib/commonjs/credential/issuance/v1.4.6/02-start-user-authorization.js.map +1 -0
- package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/03-complete-user-authorization.js +37 -39
- package/lib/commonjs/credential/issuance/v1.4.6/03-complete-user-authorization.js.map +1 -0
- package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/04-authorize-access.js +16 -16
- package/lib/commonjs/credential/issuance/v1.4.6/04-authorize-access.js.map +1 -0
- package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/05-obtain-credential.js +36 -32
- package/lib/commonjs/credential/issuance/v1.4.6/05-obtain-credential.js.map +1 -0
- package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/06-verify-and-parse-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/index.js +8 -8
- package/lib/commonjs/credential/issuance/v1.4.6/index.js.map +1 -0
- package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/mappers.js +18 -17
- package/lib/commonjs/credential/issuance/v1.4.6/mappers.js.map +1 -0
- package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/types.js.map +1 -1
- package/lib/commonjs/credential/offer/README.md +10 -6
- package/lib/commonjs/credential/offer/common/errors.js +0 -6
- package/lib/commonjs/credential/offer/common/errors.js.map +1 -1
- package/lib/commonjs/credential/offer/index.js +2 -2
- package/lib/commonjs/credential/offer/v1.0.0/index.js +3 -3
- package/lib/commonjs/credential/offer/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/credential/offer/{v1.3.3 → v1.4.6}/01-resolve-credential-offer.js +5 -5
- package/lib/commonjs/credential/offer/{v1.3.3 → v1.4.6}/01-resolve-credential-offer.js.map +1 -1
- package/lib/commonjs/credential/offer/{v1.3.3 → v1.4.6}/02-extract-grant-details.js +6 -6
- package/lib/commonjs/credential/offer/v1.4.6/02-extract-grant-details.js.map +1 -0
- package/lib/commonjs/credential/offer/{v1.3.3 → v1.4.6}/03-validate-credential-offer.js +7 -7
- package/lib/commonjs/credential/offer/v1.4.6/03-validate-credential-offer.js.map +1 -0
- package/lib/commonjs/credential/offer/{v1.3.3 → v1.4.6}/index.js +1 -1
- package/lib/commonjs/credential/offer/v1.4.6/index.js.map +1 -0
- package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js +8 -8
- package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/types.js +13 -13
- package/lib/commonjs/credential/presentation/api/types.js.map +1 -1
- package/lib/commonjs/credential/presentation/common/errors.js +24 -23
- package/lib/commonjs/credential/presentation/common/errors.js.map +1 -1
- package/lib/commonjs/credential/presentation/common/utils/dcql.js +38 -35
- package/lib/commonjs/credential/presentation/common/utils/dcql.js.map +1 -1
- package/lib/commonjs/credential/presentation/common/utils/mdoc.js +20 -22
- package/lib/commonjs/credential/presentation/common/utils/mdoc.js.map +1 -1
- package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js +10 -10
- package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js.map +1 -1
- package/lib/commonjs/credential/presentation/index.js +2 -2
- package/lib/commonjs/credential/presentation/v1.0.0/01-start-flow.js +1 -1
- 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.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/03-get-request-object.js +2 -2
- 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 +3 -3
- 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 +17 -12
- 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 +20 -20
- 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 +4 -4
- package/lib/commonjs/credential/presentation/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/mappers.js +6 -6
- package/lib/commonjs/credential/presentation/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/types.js +12 -12
- package/lib/commonjs/credential/presentation/v1.0.0/types.js.map +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.map +1 -1
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/01-start-flow.js +11 -5
- package/lib/commonjs/credential/presentation/v1.4.6/01-start-flow.js.map +1 -0
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/02-evaluate-rp-trust.js +1 -1
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/02-evaluate-rp-trust.js.map +1 -1
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/03-get-request-object.js +1 -1
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/03-get-request-object.js.map +1 -1
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/04-verify-certificate-chain.js +3 -3
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/04-verify-certificate-chain.js.map +1 -1
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/05-verify-request-object.js +14 -12
- package/lib/commonjs/credential/presentation/v1.4.6/05-verify-request-object.js.map +1 -0
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/06-evaluate-dcql-query.js +24 -16
- package/lib/commonjs/credential/presentation/v1.4.6/06-evaluate-dcql-query.js.map +1 -0
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/07-send-authorization-response.js +31 -26
- package/lib/commonjs/credential/presentation/v1.4.6/07-send-authorization-response.js.map +1 -0
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/index.js +5 -5
- package/lib/commonjs/credential/presentation/v1.4.6/index.js.map +1 -0
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/mappers.js +11 -11
- package/lib/commonjs/credential/presentation/v1.4.6/mappers.js.map +1 -0
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/sdkErrorMapper.js +2 -2
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/sdkErrorMapper.js.map +1 -1
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/types.js +3 -3
- package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/types.js.map +1 -1
- package/lib/commonjs/credential/status/README.md +2 -2
- package/lib/commonjs/credential/status/api/types.js +6 -6
- package/lib/commonjs/credential/status/api/types.js.map +1 -1
- package/lib/commonjs/credential/status/index.js +3 -3
- package/lib/commonjs/credential/status/v1.0.0/01-status-assertion.js +15 -12
- 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 +17 -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 +1 -1
- package/lib/commonjs/credential/status/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/credential/status/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/credential/status/v1.0.0/types.js +18 -18
- package/lib/commonjs/credential/status/v1.0.0/types.js.map +1 -1
- package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/01-status-list.js +4 -4
- package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/01-status-list.js.map +1 -1
- package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/02-verify-and-parse-status-list.js.map +1 -1
- package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/03-get-status.js +4 -4
- package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/03-get-status.js.map +1 -1
- package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/index.js +3 -3
- package/lib/commonjs/credential/status/v1.4.6/index.js.map +1 -0
- package/lib/commonjs/credential/trustmark/index.js +2 -2
- package/lib/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.js +7 -7
- 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.map +1 -1
- package/lib/commonjs/credential/trustmark/{v1.3.3 → v1.4.6}/get-credential-trustmark.js +1 -1
- package/lib/commonjs/credential/trustmark/{v1.3.3 → v1.4.6}/get-credential-trustmark.js.map +1 -1
- package/lib/commonjs/credential/trustmark/{v1.3.3 → v1.4.6}/index.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js +55 -55
- package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/common/get-status-l10n-ids.js +2 -2
- package/lib/commonjs/credentials-catalogue/common/get-status-l10n-ids.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/index.js +2 -2
- package/lib/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js +2 -2
- 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 +1 -1
- package/lib/commonjs/credentials-catalogue/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js +0 -1
- package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.0.0/types.js +36 -36
- package/lib/commonjs/credentials-catalogue/v1.0.0/types.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-and-parse-catalogue.js +12 -12
- package/lib/commonjs/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.js.map +1 -0
- package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-translations.js +1 -1
- package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-translations.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/index.js +1 -1
- package/lib/commonjs/credentials-catalogue/v1.4.6/index.js.map +1 -0
- package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/mappers.js +21 -20
- package/lib/commonjs/credentials-catalogue/v1.4.6/mappers.js.map +1 -0
- package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/types.js +98 -98
- package/lib/commonjs/credentials-catalogue/v1.4.6/types.js.map +1 -0
- package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/utils.js +10 -10
- package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/utils.js.map +1 -1
- package/lib/commonjs/index.js +23 -17
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/{wallet-unit-attestation → key-attestation}/README.md +9 -9
- package/lib/commonjs/{wallet-unit-attestation → key-attestation}/api/index.js.map +1 -1
- package/lib/commonjs/{wallet-unit-attestation → key-attestation}/api/types.js +9 -9
- package/lib/commonjs/key-attestation/api/types.js.map +1 -0
- package/lib/commonjs/{wallet-unit-attestation → key-attestation}/index.js +4 -4
- package/lib/commonjs/key-attestation/index.js.map +1 -0
- package/lib/commonjs/key-attestation/v1.0.0/index.js +11 -0
- package/lib/commonjs/key-attestation/v1.0.0/index.js.map +1 -0
- package/lib/commonjs/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/index.js +7 -7
- package/lib/commonjs/key-attestation/v1.4.6/index.js.map +1 -0
- package/lib/commonjs/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/issuing.js +34 -31
- package/lib/commonjs/key-attestation/v1.4.6/issuing.js.map +1 -0
- package/lib/commonjs/key-attestation/v1.4.6/mappers.js +13 -0
- package/lib/commonjs/key-attestation/v1.4.6/mappers.js.map +1 -0
- package/lib/commonjs/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/types.js +6 -6
- package/lib/commonjs/key-attestation/v1.4.6/types.js.map +1 -0
- package/lib/commonjs/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/utils.js +2 -2
- package/lib/commonjs/key-attestation/v1.4.6/utils.js.map +1 -0
- package/lib/commonjs/mdoc/index.js +13 -5
- package/lib/commonjs/mdoc/index.js.map +1 -1
- package/lib/commonjs/mdoc/utils.js.map +1 -1
- package/lib/commonjs/sd-jwt/__test__/types.test.js +9 -9
- package/lib/commonjs/sd-jwt/__test__/types.test.js.map +1 -1
- package/lib/commonjs/sd-jwt/__test__/utils.test.js +3 -3
- package/lib/commonjs/sd-jwt/__test__/utils.test.js.map +1 -1
- package/lib/commonjs/sd-jwt/index.js +9 -9
- package/lib/commonjs/sd-jwt/index.js.map +1 -1
- package/lib/commonjs/sd-jwt/types.js +19 -19
- package/lib/commonjs/sd-jwt/types.js.map +1 -1
- package/lib/commonjs/sd-jwt/utils.js +10 -11
- package/lib/commonjs/sd-jwt/utils.js.map +1 -1
- package/lib/commonjs/trust/api/TrustAnchorConfig.js +4 -4
- package/lib/commonjs/trust/api/TrustAnchorConfig.js.map +1 -1
- package/lib/commonjs/trust/common/build-chain.js +5 -2
- package/lib/commonjs/trust/common/build-chain.js.map +1 -1
- package/lib/commonjs/trust/common/errors.js +51 -44
- package/lib/commonjs/trust/common/errors.js.map +1 -1
- package/lib/commonjs/trust/common/types.js +22 -22
- package/lib/commonjs/trust/common/types.js.map +1 -1
- package/lib/commonjs/trust/common/utils.js +45 -45
- package/lib/commonjs/trust/common/utils.js.map +1 -1
- package/lib/commonjs/trust/common/verify-chain.js +96 -96
- package/lib/commonjs/trust/common/verify-chain.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/build-chain.js +2 -2
- package/lib/commonjs/trust/v1.0.0/build-chain.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/entities.js +1 -1
- package/lib/commonjs/trust/v1.0.0/entities.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/index.js +3 -3
- package/lib/commonjs/trust/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/mappers.js +2 -2
- package/lib/commonjs/trust/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/types.js +46 -46
- package/lib/commonjs/trust/v1.0.0/types.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/verify-chain.js +3 -3
- package/lib/commonjs/trust/v1.0.0/verify-chain.js.map +1 -1
- package/lib/commonjs/trust/{v1.3.3 → v1.4.6}/entities.js +2 -2
- package/lib/commonjs/trust/{v1.3.3 → v1.4.6}/entities.js.map +1 -1
- package/lib/commonjs/trust/{v1.3.3 → v1.4.6}/types.js +2 -2
- package/lib/commonjs/trust/{v1.3.3 → v1.4.6}/types.js.map +1 -1
- package/lib/commonjs/utils/auth.js +2 -2
- package/lib/commonjs/utils/auth.js.map +1 -1
- package/lib/commonjs/utils/callbacks.js +47 -51
- package/lib/commonjs/utils/callbacks.js.map +1 -1
- package/lib/commonjs/utils/config.js +2 -10
- package/lib/commonjs/utils/config.js.map +1 -1
- package/lib/commonjs/utils/credentials.js +3 -3
- package/lib/commonjs/utils/credentials.js.map +1 -1
- package/lib/commonjs/utils/crypto.js +23 -25
- 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 +5 -5
- package/lib/commonjs/utils/dpop.js.map +1 -1
- package/lib/commonjs/utils/error-codes.js +19 -19
- package/lib/commonjs/utils/error-codes.js.map +1 -1
- package/lib/commonjs/utils/errors.js +51 -50
- package/lib/commonjs/utils/errors.js.map +1 -1
- package/lib/commonjs/utils/jwk.js +5 -6
- package/lib/commonjs/utils/jwk.js.map +1 -1
- package/lib/commonjs/utils/logging.js +15 -14
- package/lib/commonjs/utils/logging.js.map +1 -1
- package/lib/commonjs/utils/mappers.js +6 -8
- package/lib/commonjs/utils/mappers.js.map +1 -1
- package/lib/commonjs/utils/misc.js +6 -5
- package/lib/commonjs/utils/misc.js.map +1 -1
- package/lib/commonjs/utils/par.js +28 -28
- package/lib/commonjs/utils/par.js.map +1 -1
- package/lib/commonjs/utils/pop.js +5 -5
- package/lib/commonjs/utils/pop.js.map +1 -1
- package/lib/commonjs/utils/string.js.map +1 -1
- package/lib/commonjs/utils/x509.js +2 -2
- package/lib/commonjs/utils/x509.js.map +1 -1
- package/lib/commonjs/utils/zod.js +1 -1
- package/lib/commonjs/utils/zod.js.map +1 -1
- package/lib/commonjs/wallet-instance/common/wallet-instance.js +5 -5
- package/lib/commonjs/wallet-instance/common/wallet-instance.js.map +1 -1
- package/lib/commonjs/wallet-instance/index.js +2 -2
- package/lib/commonjs/wallet-instance/v1.0.0/index.js +2 -2
- package/lib/commonjs/wallet-instance/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/wallet-instance/{v1.3.3 → v1.4.6}/index.js +2 -2
- package/lib/commonjs/wallet-instance/v1.4.6/index.js.map +1 -0
- package/lib/commonjs/wallet-instance-attestation/api/types.js +7 -7
- package/lib/commonjs/wallet-instance-attestation/api/types.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/common/types.js +7 -7
- package/lib/commonjs/wallet-instance-attestation/common/types.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/index.js +2 -2
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js +2 -2
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js +15 -15
- 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 +2 -2
- 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 +5 -5
- 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.3.3 → v1.4.6}/index.js +2 -2
- package/lib/commonjs/wallet-instance-attestation/v1.4.6/index.js.map +1 -0
- package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/issuing.js +20 -20
- package/lib/commonjs/wallet-instance-attestation/v1.4.6/issuing.js.map +1 -0
- package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/mappers.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/types.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/utils.js +1 -1
- package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/utils.js.map +1 -1
- package/lib/module/IoWallet.js +6 -4
- package/lib/module/IoWallet.js.map +1 -1
- package/lib/module/api/index.js +23 -24
- package/lib/module/api/index.js.map +1 -1
- package/lib/module/client/index.js +10 -12
- package/lib/module/client/index.js.map +1 -1
- package/lib/module/credential/issuance/README.md +9 -9
- package/lib/module/credential/issuance/api/IssuerConfig.js +23 -23
- package/lib/module/credential/issuance/api/IssuerConfig.js.map +1 -1
- package/lib/module/credential/issuance/api/mrtd-pop/index.js.map +1 -1
- package/lib/module/credential/issuance/api/types.js +3 -3
- package/lib/module/credential/issuance/api/types.js.map +1 -1
- package/lib/module/credential/issuance/common/02-start-user-authorization.js +4 -1
- 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 +11 -8
- 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 +6 -6
- package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
- package/lib/module/credential/issuance/common/errors.js +0 -3
- package/lib/module/credential/issuance/common/errors.js.map +1 -1
- package/lib/module/credential/issuance/index.js +1 -1
- package/lib/module/credential/issuance/index.js.map +1 -1
- package/lib/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js +4 -4
- 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 +14 -14
- 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 +20 -20
- package/lib/module/credential/issuance/mrtd-pop/03-validate-challenge.js.map +1 -1
- package/lib/module/credential/issuance/mrtd-pop/index.js +8 -8
- 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.map +1 -1
- package/lib/module/credential/issuance/v1.0.0/02-start-user-authorization.js +13 -13
- 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 +17 -17
- 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 +11 -11
- 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 +25 -16
- 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.map +1 -1
- package/lib/module/credential/issuance/v1.0.0/index.js +9 -9
- package/lib/module/credential/issuance/v1.0.0/index.js.map +1 -1
- package/lib/module/credential/issuance/v1.0.0/mappers.js +7 -7
- package/lib/module/credential/issuance/v1.0.0/mappers.js.map +1 -1
- package/lib/module/credential/issuance/v1.0.0/types.js.map +1 -1
- package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/01-evaluate-issuer-trust.js +3 -3
- package/lib/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.js.map +1 -0
- package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/02-start-user-authorization.js +31 -31
- package/lib/module/credential/issuance/v1.4.6/02-start-user-authorization.js.map +1 -0
- package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/03-complete-user-authorization.js +29 -31
- package/lib/module/credential/issuance/v1.4.6/03-complete-user-authorization.js.map +1 -0
- package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/04-authorize-access.js +16 -16
- package/lib/module/credential/issuance/v1.4.6/04-authorize-access.js.map +1 -0
- package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/05-obtain-credential.js +38 -34
- package/lib/module/credential/issuance/v1.4.6/05-obtain-credential.js.map +1 -0
- package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/06-verify-and-parse-credential.js.map +1 -1
- package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/index.js +9 -9
- package/lib/module/credential/issuance/v1.4.6/index.js.map +1 -0
- package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/mappers.js +18 -17
- package/lib/module/credential/issuance/v1.4.6/mappers.js.map +1 -0
- package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/types.js.map +1 -1
- package/lib/module/credential/offer/README.md +10 -6
- package/lib/module/credential/offer/common/errors.js +0 -6
- package/lib/module/credential/offer/common/errors.js.map +1 -1
- package/lib/module/credential/offer/index.js +1 -1
- package/lib/module/credential/offer/index.js.map +1 -1
- package/lib/module/credential/offer/v1.0.0/index.js +3 -3
- package/lib/module/credential/offer/v1.0.0/index.js.map +1 -1
- package/lib/module/credential/offer/{v1.3.3 → v1.4.6}/01-resolve-credential-offer.js +6 -6
- package/lib/module/credential/offer/v1.4.6/01-resolve-credential-offer.js.map +1 -0
- package/lib/module/credential/offer/{v1.3.3 → v1.4.6}/02-extract-grant-details.js +5 -5
- package/lib/module/credential/offer/v1.4.6/02-extract-grant-details.js.map +1 -0
- package/lib/module/credential/offer/{v1.3.3 → v1.4.6}/03-validate-credential-offer.js +8 -8
- package/lib/module/credential/offer/v1.4.6/03-validate-credential-offer.js.map +1 -0
- package/lib/module/credential/offer/{v1.3.3 → v1.4.6}/index.js +1 -1
- package/lib/module/credential/offer/{v1.3.3 → v1.4.6}/index.js.map +1 -1
- package/lib/module/credential/presentation/api/RelyingPartyConfig.js +8 -8
- package/lib/module/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
- package/lib/module/credential/presentation/api/types.js +13 -13
- package/lib/module/credential/presentation/api/types.js.map +1 -1
- package/lib/module/credential/presentation/common/errors.js +21 -21
- package/lib/module/credential/presentation/common/errors.js.map +1 -1
- package/lib/module/credential/presentation/common/utils/dcql.js +38 -35
- package/lib/module/credential/presentation/common/utils/dcql.js.map +1 -1
- package/lib/module/credential/presentation/common/utils/mdoc.js +20 -22
- package/lib/module/credential/presentation/common/utils/mdoc.js.map +1 -1
- package/lib/module/credential/presentation/common/utils/sd-jwt.js +10 -10
- package/lib/module/credential/presentation/common/utils/sd-jwt.js.map +1 -1
- package/lib/module/credential/presentation/index.js +1 -1
- package/lib/module/credential/presentation/index.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/01-start-flow.js +1 -1
- 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.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/03-get-request-object.js +2 -2
- 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 +3 -3
- 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 +16 -11
- 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 +12 -12
- 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 +5 -5
- package/lib/module/credential/presentation/v1.0.0/index.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/mappers.js +6 -6
- package/lib/module/credential/presentation/v1.0.0/mappers.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/types.js +12 -12
- package/lib/module/credential/presentation/v1.0.0/types.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/utils.js +1 -0
- package/lib/module/credential/presentation/v1.0.0/utils.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/utils.jwks.js +1 -0
- package/lib/module/credential/presentation/v1.0.0/utils.jwks.js.map +1 -1
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/01-start-flow.js +11 -5
- package/lib/module/credential/presentation/v1.4.6/01-start-flow.js.map +1 -0
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/02-evaluate-rp-trust.js +1 -1
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/02-evaluate-rp-trust.js.map +1 -1
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/03-get-request-object.js +1 -1
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/03-get-request-object.js.map +1 -1
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/04-verify-certificate-chain.js +3 -3
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/04-verify-certificate-chain.js.map +1 -1
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/05-verify-request-object.js +16 -13
- package/lib/module/credential/presentation/v1.4.6/05-verify-request-object.js.map +1 -0
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/06-evaluate-dcql-query.js +25 -17
- package/lib/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.js.map +1 -0
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/07-send-authorization-response.js +31 -26
- package/lib/module/credential/presentation/v1.4.6/07-send-authorization-response.js.map +1 -0
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/index.js +6 -6
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/index.js.map +1 -1
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/mappers.js +11 -11
- package/lib/module/credential/presentation/v1.4.6/mappers.js.map +1 -0
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/sdkErrorMapper.js +4 -3
- package/lib/module/credential/presentation/v1.4.6/sdkErrorMapper.js.map +1 -0
- package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/types.js +3 -3
- package/lib/module/credential/presentation/v1.4.6/types.js.map +1 -0
- package/lib/module/credential/status/README.md +2 -2
- package/lib/module/credential/status/api/index.js.map +1 -1
- package/lib/module/credential/status/api/types.js +6 -6
- package/lib/module/credential/status/api/types.js.map +1 -1
- package/lib/module/credential/status/index.js +1 -1
- package/lib/module/credential/status/index.js.map +1 -1
- package/lib/module/credential/status/v1.0.0/01-status-assertion.js +15 -12
- 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 +17 -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 +1 -1
- package/lib/module/credential/status/v1.0.0/index.js.map +1 -1
- package/lib/module/credential/status/v1.0.0/mappers.js.map +1 -1
- package/lib/module/credential/status/v1.0.0/types.js +17 -17
- package/lib/module/credential/status/v1.0.0/types.js.map +1 -1
- package/lib/module/credential/status/{v1.3.3 → v1.4.6}/01-status-list.js +4 -4
- package/lib/module/credential/status/{v1.3.3 → v1.4.6}/01-status-list.js.map +1 -1
- package/lib/module/credential/status/{v1.3.3 → v1.4.6}/02-verify-and-parse-status-list.js.map +1 -1
- package/lib/module/credential/status/{v1.3.3 → v1.4.6}/03-get-status.js +5 -4
- package/lib/module/credential/status/v1.4.6/03-get-status.js.map +1 -0
- package/lib/module/credential/status/{v1.3.3 → v1.4.6}/index.js +3 -3
- package/lib/module/credential/status/{v1.3.3 → v1.4.6}/index.js.map +1 -1
- package/lib/module/credential/trustmark/index.js +1 -1
- package/lib/module/credential/trustmark/index.js.map +1 -1
- package/lib/module/credential/trustmark/v1.0.0/get-credential-trustmark.js +8 -8
- 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.map +1 -1
- package/lib/module/credential/trustmark/{v1.3.3 → v1.4.6}/get-credential-trustmark.js +1 -1
- package/lib/module/credential/trustmark/{v1.3.3 → v1.4.6}/get-credential-trustmark.js.map +1 -1
- package/lib/module/credential/trustmark/{v1.3.3 → v1.4.6}/index.js.map +1 -1
- package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js +55 -55
- package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
- package/lib/module/credentials-catalogue/common/get-status-l10n-ids.js +2 -2
- package/lib/module/credentials-catalogue/common/get-status-l10n-ids.js.map +1 -1
- package/lib/module/credentials-catalogue/index.js +1 -1
- package/lib/module/credentials-catalogue/index.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js +2 -2
- 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 +1 -1
- package/lib/module/credentials-catalogue/v1.0.0/index.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.0.0/mappers.js +0 -1
- package/lib/module/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.0.0/types.js +36 -36
- package/lib/module/credentials-catalogue/v1.0.0/types.js.map +1 -1
- package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-and-parse-catalogue.js +12 -12
- package/lib/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.js.map +1 -0
- package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-translations.js +1 -1
- package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-translations.js.map +1 -1
- package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/index.js +1 -1
- package/lib/module/credentials-catalogue/v1.4.6/index.js.map +1 -0
- package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/mappers.js +22 -21
- package/lib/module/credentials-catalogue/v1.4.6/mappers.js.map +1 -0
- package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/types.js +98 -98
- package/lib/module/credentials-catalogue/v1.4.6/types.js.map +1 -0
- package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/utils.js +10 -10
- package/lib/module/credentials-catalogue/v1.4.6/utils.js.map +1 -0
- package/lib/module/index.js +10 -10
- package/lib/module/index.js.map +1 -1
- package/{src/wallet-unit-attestation → lib/module/key-attestation}/README.md +9 -9
- package/lib/module/{wallet-unit-attestation → key-attestation}/api/index.js.map +1 -1
- package/lib/module/{wallet-unit-attestation → key-attestation}/api/types.js +7 -7
- package/lib/module/key-attestation/api/types.js.map +1 -0
- package/lib/module/key-attestation/index.js +3 -0
- package/lib/module/key-attestation/index.js.map +1 -0
- package/lib/module/key-attestation/v1.0.0/index.js +4 -0
- package/lib/module/key-attestation/v1.0.0/index.js.map +1 -0
- package/lib/module/key-attestation/v1.4.6/index.js +10 -0
- package/lib/module/key-attestation/v1.4.6/index.js.map +1 -0
- package/lib/module/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/issuing.js +35 -32
- package/lib/module/key-attestation/v1.4.6/issuing.js.map +1 -0
- package/lib/module/key-attestation/v1.4.6/mappers.js +6 -0
- package/lib/module/key-attestation/v1.4.6/mappers.js.map +1 -0
- package/lib/module/key-attestation/v1.4.6/types.js +14 -0
- package/lib/module/key-attestation/v1.4.6/types.js.map +1 -0
- package/lib/module/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/utils.js +3 -3
- package/lib/module/key-attestation/v1.4.6/utils.js.map +1 -0
- package/lib/module/mdoc/index.js +13 -5
- package/lib/module/mdoc/index.js.map +1 -1
- package/lib/module/mdoc/utils.js.map +1 -1
- package/lib/module/sd-jwt/__test__/types.test.js +9 -9
- package/lib/module/sd-jwt/__test__/types.test.js.map +1 -1
- package/lib/module/sd-jwt/__test__/utils.test.js +3 -3
- package/lib/module/sd-jwt/__test__/utils.test.js.map +1 -1
- package/lib/module/sd-jwt/index.js +9 -9
- package/lib/module/sd-jwt/index.js.map +1 -1
- package/lib/module/sd-jwt/types.js +19 -19
- package/lib/module/sd-jwt/types.js.map +1 -1
- package/lib/module/sd-jwt/utils.js +10 -11
- package/lib/module/sd-jwt/utils.js.map +1 -1
- package/lib/module/trust/api/TrustAnchorConfig.js +4 -4
- package/lib/module/trust/api/TrustAnchorConfig.js.map +1 -1
- package/lib/module/trust/common/build-chain.js +5 -2
- package/lib/module/trust/common/build-chain.js.map +1 -1
- package/lib/module/trust/common/errors.js +46 -37
- package/lib/module/trust/common/errors.js.map +1 -1
- package/lib/module/trust/common/types.js +22 -22
- package/lib/module/trust/common/types.js.map +1 -1
- package/lib/module/trust/common/utils.js +45 -45
- package/lib/module/trust/common/utils.js.map +1 -1
- package/lib/module/trust/common/verify-chain.js +96 -96
- package/lib/module/trust/common/verify-chain.js.map +1 -1
- package/lib/module/trust/v1.0.0/build-chain.js +2 -2
- package/lib/module/trust/v1.0.0/build-chain.js.map +1 -1
- package/lib/module/trust/v1.0.0/entities.js +1 -1
- package/lib/module/trust/v1.0.0/entities.js.map +1 -1
- package/lib/module/trust/v1.0.0/index.js +3 -3
- package/lib/module/trust/v1.0.0/index.js.map +1 -1
- package/lib/module/trust/v1.0.0/mappers.js +2 -2
- package/lib/module/trust/v1.0.0/mappers.js.map +1 -1
- package/lib/module/trust/v1.0.0/types.js +46 -46
- package/lib/module/trust/v1.0.0/types.js.map +1 -1
- package/lib/module/trust/v1.0.0/verify-chain.js +3 -3
- package/lib/module/trust/v1.0.0/verify-chain.js.map +1 -1
- package/lib/module/trust/{v1.3.3 → v1.4.6}/entities.js +2 -2
- package/lib/module/trust/{v1.3.3 → v1.4.6}/entities.js.map +1 -1
- package/lib/module/trust/{v1.3.3 → v1.4.6}/types.js +2 -2
- package/lib/module/trust/v1.4.6/types.js.map +1 -0
- package/lib/module/utils/auth.js +2 -2
- package/lib/module/utils/auth.js.map +1 -1
- package/lib/module/utils/callbacks.js +47 -51
- package/lib/module/utils/callbacks.js.map +1 -1
- package/lib/module/utils/config.js +0 -7
- package/lib/module/utils/config.js.map +1 -1
- package/lib/module/utils/credentials.js +3 -3
- package/lib/module/utils/credentials.js.map +1 -1
- package/lib/module/utils/crypto.js +23 -25
- package/lib/module/utils/crypto.js.map +1 -1
- package/lib/module/utils/decoder.js +3 -3
- package/lib/module/utils/decoder.js.map +1 -1
- package/lib/module/utils/dpop.js +5 -5
- package/lib/module/utils/dpop.js.map +1 -1
- package/lib/module/utils/error-codes.js +19 -19
- package/lib/module/utils/error-codes.js.map +1 -1
- package/lib/module/utils/errors.js +47 -46
- package/lib/module/utils/errors.js.map +1 -1
- package/lib/module/utils/jwk.js +4 -5
- package/lib/module/utils/jwk.js.map +1 -1
- package/lib/module/utils/logging.js +15 -14
- package/lib/module/utils/logging.js.map +1 -1
- package/lib/module/utils/mappers.js +6 -8
- package/lib/module/utils/mappers.js.map +1 -1
- package/lib/module/utils/misc.js +7 -6
- package/lib/module/utils/misc.js.map +1 -1
- package/lib/module/utils/par.js +28 -28
- package/lib/module/utils/par.js.map +1 -1
- package/lib/module/utils/pop.js +5 -5
- package/lib/module/utils/pop.js.map +1 -1
- package/lib/module/utils/string.js.map +1 -1
- package/lib/module/utils/x509.js +2 -2
- package/lib/module/utils/x509.js.map +1 -1
- package/lib/module/utils/zod.js +1 -1
- package/lib/module/utils/zod.js.map +1 -1
- package/lib/module/wallet-instance/common/wallet-instance.js +6 -6
- package/lib/module/wallet-instance/common/wallet-instance.js.map +1 -1
- package/lib/module/wallet-instance/index.js +1 -1
- package/lib/module/wallet-instance/index.js.map +1 -1
- package/lib/module/wallet-instance/v1.0.0/index.js +3 -3
- package/lib/module/wallet-instance/v1.0.0/index.js.map +1 -1
- package/lib/module/wallet-instance/v1.4.6/index.js +8 -0
- package/lib/module/wallet-instance/v1.4.6/index.js.map +1 -0
- package/lib/module/wallet-instance-attestation/api/types.js +7 -7
- package/lib/module/wallet-instance-attestation/api/types.js.map +1 -1
- package/lib/module/wallet-instance-attestation/common/types.js +7 -7
- package/lib/module/wallet-instance-attestation/common/types.js.map +1 -1
- package/lib/module/wallet-instance-attestation/index.js +1 -1
- package/lib/module/wallet-instance-attestation/index.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.0.0/index.js +2 -2
- 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 +15 -15
- 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 +2 -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 +5 -5
- 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 +1 -1
- package/lib/module/wallet-instance-attestation/v1.0.0/utils.js.map +1 -1
- package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/index.js +2 -2
- package/lib/module/wallet-instance-attestation/v1.4.6/index.js.map +1 -0
- package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/issuing.js +20 -20
- package/lib/module/wallet-instance-attestation/v1.4.6/issuing.js.map +1 -0
- package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/mappers.js.map +1 -1
- package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/types.js.map +1 -1
- package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/utils.js +1 -1
- package/lib/module/wallet-instance-attestation/v1.4.6/utils.js.map +1 -0
- package/lib/typescript/IoWallet.d.ts +4 -4
- package/lib/typescript/IoWallet.d.ts.map +1 -1
- package/lib/typescript/api/index.d.ts +14 -14
- package/lib/typescript/api/index.d.ts.map +1 -1
- package/lib/typescript/client/index.d.ts +2 -2
- package/lib/typescript/client/index.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/02-start-user-authorization.d.ts +8 -8
- package/lib/typescript/credential/issuance/api/02-start-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts +30 -30
- package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/04-authorize-access.d.ts +2 -2
- package/lib/typescript/credential/issuance/api/04-authorize-access.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts +8 -8
- package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/06-verify-and-parse-credential.d.ts +1 -1
- package/lib/typescript/credential/issuance/api/06-verify-and-parse-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts +52 -52
- package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/index.d.ts +2 -2
- package/lib/typescript/credential/issuance/api/index.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/mrtd-pop/index.d.ts +30 -30
- package/lib/typescript/credential/issuance/api/mrtd-pop/index.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/mrtd-pop/types.d.ts +25 -25
- package/lib/typescript/credential/issuance/api/mrtd-pop/types.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/types.d.ts +8 -11
- package/lib/typescript/credential/issuance/api/types.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts +2 -2
- package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/common/errors.d.ts +0 -1
- package/lib/typescript/credential/issuance/common/errors.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/index.d.ts +1 -1
- package/lib/typescript/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/mrtd-pop/02-init-challenge.d.ts +2 -2
- package/lib/typescript/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/mrtd-pop/03-validate-challenge.d.ts +2 -2
- package/lib/typescript/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/mrtd-pop/index.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/index.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts +130 -130
- package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts.map +1 -0
- package/lib/typescript/credential/issuance/v1.4.6/02-start-user-authorization.d.ts.map +1 -0
- package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/03-complete-user-authorization.d.ts +1 -1
- package/lib/typescript/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts.map +1 -0
- package/lib/typescript/credential/issuance/v1.4.6/04-authorize-access.d.ts.map +1 -0
- package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/05-obtain-credential.d.ts +8 -8
- package/lib/typescript/credential/issuance/v1.4.6/05-obtain-credential.d.ts.map +1 -0
- package/lib/typescript/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts.map +1 -0
- package/lib/typescript/credential/issuance/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/mappers.d.ts +52 -45
- package/lib/typescript/credential/issuance/v1.4.6/mappers.d.ts.map +1 -0
- package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/types.d.ts.map +1 -1
- package/lib/typescript/credential/offer/api/03-validate-credential-offer.d.ts +1 -1
- package/lib/typescript/credential/offer/api/03-validate-credential-offer.d.ts.map +1 -1
- package/lib/typescript/credential/offer/api/index.d.ts +1 -1
- package/lib/typescript/credential/offer/api/index.d.ts.map +1 -1
- package/lib/typescript/credential/offer/common/errors.d.ts +0 -2
- package/lib/typescript/credential/offer/common/errors.d.ts.map +1 -1
- package/lib/typescript/credential/offer/index.d.ts +1 -1
- package/lib/typescript/credential/offer/v1.0.0/index.d.ts.map +1 -1
- package/lib/typescript/credential/offer/{v1.3.3 → v1.4.6}/01-resolve-credential-offer.d.ts +1 -1
- package/lib/typescript/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts.map +1 -0
- package/lib/typescript/credential/offer/{v1.3.3 → v1.4.6}/02-extract-grant-details.d.ts +1 -1
- package/lib/typescript/credential/offer/v1.4.6/02-extract-grant-details.d.ts.map +1 -0
- package/lib/typescript/credential/offer/{v1.3.3 → v1.4.6}/03-validate-credential-offer.d.ts +1 -1
- package/lib/typescript/credential/offer/v1.4.6/03-validate-credential-offer.d.ts.map +1 -0
- package/lib/typescript/credential/offer/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/api/01-start-flow.d.ts +3 -3
- package/lib/typescript/credential/presentation/api/01-start-flow.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/api/06-evaluate-dcql-query.d.ts +12 -12
- package/lib/typescript/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/api/07-send-authorization-response.d.ts +17 -17
- package/lib/typescript/credential/presentation/api/07-send-authorization-response.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts +19 -19
- package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/api/index.d.ts +1 -1
- package/lib/typescript/credential/presentation/api/index.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/api/types.d.ts +75 -75
- package/lib/typescript/credential/presentation/api/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/errors.d.ts +24 -24
- package/lib/typescript/credential/presentation/common/errors.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils/dcql.d.ts +5 -5
- package/lib/typescript/credential/presentation/common/utils/dcql.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils/mdoc.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/index.d.ts +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/01-start-flow.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/07-send-authorization-response.d.ts +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/index.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts +51 -51
- package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/types.d.ts +10 -10
- package/lib/typescript/credential/presentation/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.4.6/01-start-flow.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/v1.4.6/03-get-request-object.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/v1.4.6/05-verify-request-object.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/v1.4.6/07-send-authorization-response.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/index.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/mappers.d.ts +44 -42
- package/lib/typescript/credential/presentation/v1.4.6/mappers.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/sdkErrorMapper.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/types.d.ts +4 -3
- package/lib/typescript/credential/presentation/v1.4.6/types.d.ts.map +1 -0
- package/lib/typescript/credential/status/api/index.d.ts +3 -3
- package/lib/typescript/credential/status/api/index.d.ts.map +1 -1
- package/lib/typescript/credential/status/api/status-assertion.d.ts +3 -3
- package/lib/typescript/credential/status/api/status-assertion.d.ts.map +1 -1
- package/lib/typescript/credential/status/api/status-list.d.ts +11 -11
- package/lib/typescript/credential/status/api/status-list.d.ts.map +1 -1
- package/lib/typescript/credential/status/api/types.d.ts +12 -12
- package/lib/typescript/credential/status/api/types.d.ts.map +1 -1
- package/lib/typescript/credential/status/index.d.ts +1 -1
- package/lib/typescript/credential/status/v1.0.0/01-status-assertion.d.ts.map +1 -1
- package/lib/typescript/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +1 -1
- package/lib/typescript/credential/status/v1.0.0/index.d.ts.map +1 -1
- package/lib/typescript/credential/status/v1.0.0/mappers.d.ts +7 -7
- package/lib/typescript/credential/status/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/credential/status/v1.0.0/types.d.ts +27 -27
- package/lib/typescript/credential/status/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credential/status/v1.4.6/01-status-list.d.ts.map +1 -0
- package/lib/typescript/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts.map +1 -0
- package/lib/typescript/credential/status/v1.4.6/03-get-status.d.ts.map +1 -0
- package/lib/typescript/credential/status/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/credential/trustmark/api/index.d.ts +11 -11
- package/lib/typescript/credential/trustmark/api/index.d.ts.map +1 -1
- package/lib/typescript/credential/trustmark/index.d.ts +1 -1
- package/lib/typescript/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +1 -1
- package/lib/typescript/credential/trustmark/v1.0.0/index.d.ts.map +1 -1
- package/lib/typescript/credential/trustmark/{v1.3.3 → v1.4.6}/get-credential-trustmark.d.ts.map +1 -1
- package/lib/typescript/credential/trustmark/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +171 -168
- package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/api/index.d.ts +11 -11
- package/lib/typescript/credentials-catalogue/api/index.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/index.d.ts +1 -1
- package/lib/typescript/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.0.0/index.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts +72 -71
- package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts +91 -91
- package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-and-parse-catalogue.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.4.6/fetch-translations.d.ts.map +1 -0
- package/lib/typescript/credentials-catalogue/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/mappers.d.ts +158 -157
- package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/mappers.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/types.d.ts +190 -190
- package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/types.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/utils.d.ts +3 -3
- package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/utils.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +12 -12
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/{wallet-unit-attestation → key-attestation}/api/index.d.ts +24 -24
- package/lib/typescript/key-attestation/api/index.d.ts.map +1 -0
- package/lib/typescript/{wallet-unit-attestation → key-attestation}/api/types.d.ts +13 -13
- package/lib/typescript/key-attestation/api/types.d.ts.map +1 -0
- package/lib/typescript/key-attestation/index.d.ts +4 -0
- package/lib/typescript/key-attestation/index.d.ts.map +1 -0
- package/lib/typescript/key-attestation/v1.0.0/index.d.ts +3 -0
- package/lib/typescript/key-attestation/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/key-attestation/v1.4.6/index.d.ts +3 -0
- package/lib/typescript/key-attestation/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/key-attestation/v1.4.6/issuing.d.ts +3 -0
- package/lib/typescript/key-attestation/v1.4.6/issuing.d.ts.map +1 -0
- package/lib/typescript/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/mappers.d.ts +12 -12
- package/lib/typescript/key-attestation/v1.4.6/mappers.d.ts.map +1 -0
- package/lib/typescript/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/types.d.ts +10 -10
- package/lib/typescript/key-attestation/v1.4.6/types.d.ts.map +1 -0
- package/lib/typescript/key-attestation/v1.4.6/utils.d.ts +7 -0
- package/lib/typescript/key-attestation/v1.4.6/utils.d.ts.map +1 -0
- package/lib/typescript/mdoc/index.d.ts.map +1 -1
- package/lib/typescript/mdoc/utils.d.ts +2 -2
- package/lib/typescript/mdoc/utils.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/index.d.ts +10 -10
- package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/types.d.ts +17 -17
- package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/utils.d.ts +4 -3
- package/lib/typescript/sd-jwt/utils.d.ts.map +1 -1
- package/lib/typescript/trust/api/TrustAnchorConfig.d.ts +17 -17
- package/lib/typescript/trust/api/TrustAnchorConfig.d.ts.map +1 -1
- package/lib/typescript/trust/api/index.d.ts +11 -11
- package/lib/typescript/trust/api/index.d.ts.map +1 -1
- package/lib/typescript/trust/common/build-chain.d.ts +3 -3
- package/lib/typescript/trust/common/build-chain.d.ts.map +1 -1
- package/lib/typescript/trust/common/errors.d.ts +43 -43
- package/lib/typescript/trust/common/errors.d.ts.map +1 -1
- package/lib/typescript/trust/common/types.d.ts +37 -37
- package/lib/typescript/trust/common/types.d.ts.map +1 -1
- package/lib/typescript/trust/common/utils.d.ts +17 -17
- package/lib/typescript/trust/common/utils.d.ts.map +1 -1
- package/lib/typescript/trust/common/verify-chain.d.ts +9 -9
- package/lib/typescript/trust/common/verify-chain.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/entities.d.ts +325 -325
- package/lib/typescript/trust/v1.0.0/entities.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/index.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/mappers.d.ts +42 -42
- package/lib/typescript/trust/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/types.d.ts +331 -331
- package/lib/typescript/trust/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/verify-chain.d.ts.map +1 -1
- package/lib/typescript/trust/{v1.3.3 → v1.4.6}/entities.d.ts +25 -24
- package/lib/typescript/trust/{v1.3.3 → v1.4.6}/entities.d.ts.map +1 -1
- package/lib/typescript/trust/{v1.3.3 → v1.4.6}/types.d.ts +210 -206
- package/lib/typescript/trust/{v1.3.3 → v1.4.6}/types.d.ts.map +1 -1
- package/lib/typescript/utils/auth.d.ts +1 -1
- package/lib/typescript/utils/callbacks.d.ts +1 -1
- package/lib/typescript/utils/callbacks.d.ts.map +1 -1
- package/lib/typescript/utils/config.d.ts +0 -4
- package/lib/typescript/utils/config.d.ts.map +1 -1
- package/lib/typescript/utils/credentials.d.ts.map +1 -1
- package/lib/typescript/utils/crypto.d.ts +1 -1
- package/lib/typescript/utils/crypto.d.ts.map +1 -1
- package/lib/typescript/utils/decoder.d.ts +1 -1
- package/lib/typescript/utils/decoder.d.ts.map +1 -1
- package/lib/typescript/utils/dpop.d.ts +3 -3
- package/lib/typescript/utils/dpop.d.ts.map +1 -1
- package/lib/typescript/utils/error-codes.d.ts +18 -18
- package/lib/typescript/utils/error-codes.d.ts.map +1 -1
- package/lib/typescript/utils/errors.d.ts +49 -51
- package/lib/typescript/utils/errors.d.ts.map +1 -1
- package/lib/typescript/utils/integrity.d.ts +9 -9
- package/lib/typescript/utils/integrity.d.ts.map +1 -1
- package/lib/typescript/utils/jwk.d.ts +3 -3
- package/lib/typescript/utils/jwk.d.ts.map +1 -1
- package/lib/typescript/utils/logging.d.ts +10 -10
- package/lib/typescript/utils/logging.d.ts.map +1 -1
- package/lib/typescript/utils/mappers.d.ts.map +1 -1
- package/lib/typescript/utils/misc.d.ts +2 -2
- package/lib/typescript/utils/misc.d.ts.map +1 -1
- package/lib/typescript/utils/par.d.ts +13 -13
- package/lib/typescript/utils/par.d.ts.map +1 -1
- package/lib/typescript/utils/parser.d.ts +2 -2
- package/lib/typescript/utils/parser.d.ts.map +1 -1
- package/lib/typescript/utils/pop.d.ts +2 -2
- package/lib/typescript/utils/pop.d.ts.map +1 -1
- package/lib/typescript/utils/string.d.ts.map +1 -1
- package/lib/typescript/utils/x509.d.ts.map +1 -1
- package/lib/typescript/utils/zod.d.ts +5 -5
- package/lib/typescript/utils/zod.d.ts.map +1 -1
- package/lib/typescript/wallet-instance/api/index.d.ts +19 -19
- package/lib/typescript/wallet-instance/api/index.d.ts.map +1 -1
- package/lib/typescript/wallet-instance/common/wallet-instance.d.ts.map +1 -1
- package/lib/typescript/wallet-instance/index.d.ts +1 -1
- package/lib/typescript/wallet-instance/v1.0.0/index.d.ts.map +1 -1
- package/lib/typescript/wallet-instance/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/wallet-instance-attestation/api/index.d.ts +15 -15
- package/lib/typescript/wallet-instance-attestation/api/index.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/api/types.d.ts +10 -10
- package/lib/typescript/wallet-instance-attestation/api/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/common/types.d.ts +5 -5
- package/lib/typescript/wallet-instance-attestation/common/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/index.d.ts +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/index.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts +12 -12
- package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts +14 -14
- package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/utils.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.4.6/index.d.ts.map +1 -0
- package/lib/typescript/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +1 -0
- package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/mappers.d.ts +10 -10
- package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/mappers.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/types.d.ts +5 -5
- package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/utils.d.ts.map +1 -1
- package/package.json +15 -12
- package/src/IoWallet.ts +11 -9
- package/src/api/index.ts +31 -32
- package/src/client/index.ts +14 -13
- package/src/credential/issuance/README.md +9 -9
- package/src/credential/issuance/api/01-evaluate-issuer-trust.ts +1 -1
- package/src/credential/issuance/api/02-start-user-authorization.ts +9 -8
- package/src/credential/issuance/api/03-complete-user-authorization.ts +41 -40
- package/src/credential/issuance/api/04-authorize-access.ts +4 -3
- package/src/credential/issuance/api/05-obtain-credential.ts +11 -10
- package/src/credential/issuance/api/06-verify-and-parse-credential.ts +3 -2
- package/src/credential/issuance/api/IssuerConfig.ts +20 -19
- package/src/credential/issuance/api/index.ts +4 -4
- package/src/credential/issuance/api/mrtd-pop/index.ts +39 -38
- package/src/credential/issuance/api/mrtd-pop/types.ts +27 -27
- package/src/credential/issuance/api/types.ts +9 -8
- package/src/credential/issuance/common/02-start-user-authorization.ts +20 -14
- package/src/credential/issuance/common/06-verify-and-parse-credential.mdoc.ts +39 -34
- package/src/credential/issuance/common/06-verify-and-parse-credential.sdjwt.ts +32 -29
- package/src/credential/issuance/common/errors.ts +0 -4
- package/src/credential/issuance/index.ts +1 -1
- package/src/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.ts +7 -5
- package/src/credential/issuance/mrtd-pop/02-init-challenge.ts +22 -20
- package/src/credential/issuance/mrtd-pop/03-validate-challenge.ts +24 -21
- package/src/credential/issuance/mrtd-pop/index.ts +8 -7
- package/src/credential/issuance/v1.0.0/01-evaluate-issuer-trust.ts +3 -2
- package/src/credential/issuance/v1.0.0/02-start-user-authorization.ts +15 -14
- package/src/credential/issuance/v1.0.0/03-complete-user-authorization.ts +45 -43
- package/src/credential/issuance/v1.0.0/04-authorize-access.ts +17 -15
- package/src/credential/issuance/v1.0.0/05-obtain-credential.ts +39 -22
- package/src/credential/issuance/v1.0.0/06-verify-and-parse-credential.ts +5 -4
- package/src/credential/issuance/v1.0.0/index.ts +11 -10
- package/src/credential/issuance/v1.0.0/mappers.ts +12 -11
- package/src/credential/issuance/v1.0.0/types.ts +2 -1
- package/src/credential/issuance/{v1.3.3 → v1.4.6}/01-evaluate-issuer-trust.ts +6 -4
- package/src/credential/issuance/{v1.3.3 → v1.4.6}/02-start-user-authorization.ts +33 -30
- package/src/credential/issuance/{v1.3.3 → v1.4.6}/03-complete-user-authorization.ts +55 -54
- package/src/credential/issuance/{v1.3.3 → v1.4.6}/04-authorize-access.ts +20 -18
- package/src/credential/issuance/{v1.3.3 → v1.4.6}/05-obtain-credential.ts +57 -53
- package/src/credential/issuance/{v1.3.3 → v1.4.6}/06-verify-and-parse-credential.ts +5 -4
- package/src/credential/issuance/{v1.3.3 → v1.4.6}/index.ts +11 -10
- package/src/credential/issuance/{v1.3.3 → v1.4.6}/mappers.ts +25 -22
- package/src/credential/offer/README.md +10 -6
- package/src/credential/offer/api/01-resolve-credential-offer.ts +1 -1
- package/src/credential/offer/api/03-validate-credential-offer.ts +2 -1
- package/src/credential/offer/api/index.ts +2 -2
- package/src/credential/offer/common/errors.ts +0 -8
- package/src/credential/offer/index.ts +1 -1
- package/src/credential/offer/v1.0.0/index.ts +5 -4
- package/src/credential/offer/{v1.3.3 → v1.4.6}/01-resolve-credential-offer.ts +8 -6
- package/src/credential/offer/{v1.3.3 → v1.4.6}/02-extract-grant-details.ts +9 -7
- package/src/credential/offer/{v1.3.3 → v1.4.6}/03-validate-credential-offer.ts +9 -7
- package/src/credential/offer/{v1.3.3 → v1.4.6}/index.ts +2 -1
- package/src/credential/presentation/api/01-start-flow.ts +4 -4
- 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/04-verify-certificate-chain.ts +1 -1
- package/src/credential/presentation/api/05-verify-request-object.ts +1 -1
- package/src/credential/presentation/api/06-evaluate-dcql-query.ts +14 -14
- package/src/credential/presentation/api/07-send-authorization-response.ts +21 -19
- package/src/credential/presentation/api/RelyingPartyConfig.ts +8 -7
- package/src/credential/presentation/api/index.ts +4 -4
- package/src/credential/presentation/api/types.ts +70 -68
- package/src/credential/presentation/common/errors.ts +32 -35
- package/src/credential/presentation/common/utils/dcql.ts +34 -30
- package/src/credential/presentation/common/utils/http.ts +2 -2
- package/src/credential/presentation/common/utils/mdoc.ts +17 -15
- package/src/credential/presentation/common/utils/sd-jwt.ts +19 -16
- package/src/credential/presentation/index.ts +1 -1
- package/src/credential/presentation/v1.0.0/01-start-flow.ts +4 -3
- package/src/credential/presentation/v1.0.0/02-evaluate-rp-trust.ts +3 -2
- package/src/credential/presentation/v1.0.0/03-get-request-object.ts +6 -5
- package/src/credential/presentation/v1.0.0/05-verify-request-object.ts +14 -12
- package/src/credential/presentation/v1.0.0/06-evaluate-dcql-query.ts +26 -15
- package/src/credential/presentation/v1.0.0/07-send-authorization-response.ts +23 -21
- package/src/credential/presentation/v1.0.0/index.ts +6 -5
- package/src/credential/presentation/v1.0.0/mappers.ts +9 -8
- package/src/credential/presentation/v1.0.0/types.ts +11 -10
- package/src/credential/presentation/v1.0.0/utils.jwks.ts +4 -3
- package/src/credential/presentation/v1.0.0/utils.ts +4 -3
- package/src/credential/presentation/{v1.3.3 → v1.4.6}/01-start-flow.ts +13 -7
- package/src/credential/presentation/{v1.3.3 → v1.4.6}/02-evaluate-rp-trust.ts +3 -2
- package/src/credential/presentation/{v1.3.3 → v1.4.6}/03-get-request-object.ts +4 -2
- package/src/credential/presentation/{v1.3.3 → v1.4.6}/04-verify-certificate-chain.ts +9 -7
- package/src/credential/presentation/{v1.3.3 → v1.4.6}/05-verify-request-object.ts +25 -22
- package/src/credential/presentation/{v1.3.3 → v1.4.6}/06-evaluate-dcql-query.ts +37 -23
- package/src/credential/presentation/{v1.3.3 → v1.4.6}/07-send-authorization-response.ts +40 -32
- package/src/credential/presentation/{v1.3.3 → v1.4.6}/index.ts +7 -6
- package/src/credential/presentation/{v1.3.3 → v1.4.6}/mappers.ts +13 -12
- package/src/credential/presentation/{v1.3.3 → v1.4.6}/sdkErrorMapper.ts +9 -7
- package/src/credential/status/README.md +2 -2
- package/src/credential/status/api/index.ts +4 -4
- package/src/credential/status/api/status-assertion.ts +7 -6
- package/src/credential/status/api/status-list.ts +17 -17
- package/src/credential/status/api/types.ts +12 -11
- package/src/credential/status/index.ts +1 -1
- package/src/credential/status/v1.0.0/01-status-assertion.ts +22 -16
- package/src/credential/status/v1.0.0/02-verify-and-parse-status-assertion.ts +27 -17
- package/src/credential/status/v1.0.0/index.ts +2 -1
- package/src/credential/status/v1.0.0/mappers.ts +2 -1
- package/src/credential/status/v1.0.0/types.ts +17 -16
- package/src/credential/status/{v1.3.3 → v1.4.6}/01-status-list.ts +9 -7
- package/src/credential/status/{v1.3.3 → v1.4.6}/02-verify-and-parse-status-list.ts +3 -1
- package/src/credential/status/{v1.3.3 → v1.4.6}/03-get-status.ts +8 -6
- package/src/credential/status/{v1.3.3 → v1.4.6}/index.ts +3 -2
- package/src/credential/trustmark/api/index.ts +11 -11
- package/src/credential/trustmark/index.ts +1 -1
- package/src/credential/trustmark/v1.0.0/get-credential-trustmark.ts +14 -13
- package/src/credential/trustmark/v1.0.0/index.ts +2 -1
- package/src/credential/trustmark/{v1.3.3 → v1.4.6}/get-credential-trustmark.ts +1 -1
- package/src/credential/trustmark/{v1.3.3 → v1.4.6}/index.ts +2 -1
- package/src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts +49 -47
- package/src/credentials-catalogue/api/index.ts +14 -12
- package/src/credentials-catalogue/common/get-status-l10n-ids.ts +4 -4
- package/src/credentials-catalogue/index.ts +1 -1
- package/src/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.ts +7 -6
- package/src/credentials-catalogue/v1.0.0/index.ts +2 -1
- package/src/credentials-catalogue/v1.0.0/mappers.ts +2 -3
- package/src/credentials-catalogue/v1.0.0/types.ts +33 -32
- package/src/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-and-parse-catalogue.ts +15 -15
- package/src/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-translations.ts +4 -3
- package/src/credentials-catalogue/{v1.3.3 → v1.4.6}/index.ts +2 -1
- package/src/credentials-catalogue/{v1.3.3 → v1.4.6}/mappers.ts +28 -27
- package/src/credentials-catalogue/{v1.3.3 → v1.4.6}/types.ts +87 -86
- package/src/credentials-catalogue/{v1.3.3 → v1.4.6}/utils.ts +16 -14
- package/src/index.ts +26 -24
- package/{lib/module/wallet-unit-attestation → src/key-attestation}/README.md +9 -9
- package/src/{wallet-unit-attestation → key-attestation}/api/index.ts +26 -28
- package/src/{wallet-unit-attestation → key-attestation}/api/types.ts +14 -15
- package/src/key-attestation/index.ts +3 -0
- package/src/key-attestation/v1.0.0/index.ts +5 -0
- package/src/key-attestation/v1.4.6/index.ts +12 -0
- package/src/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/issuing.ts +44 -36
- package/src/key-attestation/v1.4.6/mappers.ts +10 -0
- package/src/key-attestation/v1.4.6/types.ts +20 -0
- package/src/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/utils.ts +5 -4
- package/src/mdoc/index.ts +26 -11
- package/src/mdoc/utils.ts +6 -4
- package/src/sd-jwt/__test__/types.test.ts +6 -6
- package/src/sd-jwt/__test__/utils.test.ts +2 -2
- package/src/sd-jwt/index.ts +10 -8
- package/src/sd-jwt/types.ts +16 -15
- package/src/sd-jwt/utils.ts +17 -12
- package/src/trust/api/TrustAnchorConfig.ts +3 -2
- package/src/trust/api/index.ts +19 -16
- package/src/trust/common/build-chain.ts +28 -18
- package/src/trust/common/errors.ts +58 -50
- package/src/trust/common/types.ts +22 -21
- package/src/trust/common/utils.ts +65 -64
- package/src/trust/common/verify-chain.ts +140 -138
- package/src/trust/v1.0.0/build-chain.ts +1 -1
- package/src/trust/v1.0.0/entities.ts +18 -16
- package/src/trust/v1.0.0/index.ts +5 -4
- package/src/trust/v1.0.0/mappers.ts +3 -2
- package/src/trust/v1.0.0/types.ts +43 -42
- package/src/trust/v1.0.0/verify-chain.ts +3 -2
- package/src/trust/{v1.3.3 → v1.4.6}/entities.ts +7 -5
- package/src/trust/{v1.3.3 → v1.4.6}/types.ts +10 -9
- package/src/utils/auth.ts +1 -1
- package/src/utils/callbacks.ts +38 -38
- package/src/utils/config.ts +0 -7
- package/src/utils/credentials.ts +7 -5
- package/src/utils/crypto.ts +36 -36
- package/src/utils/decoder.ts +7 -5
- package/src/utils/dpop.ts +5 -6
- package/src/utils/error-codes.ts +20 -20
- package/src/utils/errors.ts +89 -87
- package/src/utils/integrity.ts +11 -11
- package/src/utils/jwk.ts +4 -4
- package/src/utils/logging.ts +21 -20
- package/src/utils/mappers.ts +14 -11
- package/src/utils/misc.ts +15 -12
- package/src/utils/par.ts +30 -29
- package/src/utils/parser.ts +4 -4
- package/src/utils/pop.ts +4 -5
- package/src/utils/string.ts +2 -2
- package/src/utils/x509.ts +5 -4
- package/src/utils/zod.ts +4 -4
- package/src/wallet-instance/api/index.ts +24 -24
- package/src/wallet-instance/common/wallet-instance.ts +8 -7
- package/src/wallet-instance/index.ts +1 -1
- package/src/wallet-instance/v1.0.0/index.ts +5 -4
- package/src/wallet-instance/{v1.3.3 → v1.4.6}/index.ts +5 -4
- package/src/wallet-instance-attestation/api/index.ts +18 -17
- package/src/wallet-instance-attestation/api/types.ts +12 -11
- package/src/wallet-instance-attestation/common/types.ts +7 -6
- package/src/wallet-instance-attestation/index.ts +1 -1
- package/src/wallet-instance-attestation/v1.0.0/index.ts +3 -2
- package/src/wallet-instance-attestation/v1.0.0/issuing.ts +22 -20
- package/src/wallet-instance-attestation/v1.0.0/mappers.ts +2 -2
- package/src/wallet-instance-attestation/v1.0.0/types.ts +10 -9
- package/src/wallet-instance-attestation/v1.0.0/utils.ts +3 -2
- package/src/wallet-instance-attestation/{v1.3.3 → v1.4.6}/index.ts +4 -3
- package/src/wallet-instance-attestation/{v1.3.3 → v1.4.6}/issuing.ts +25 -23
- package/src/wallet-instance-attestation/{v1.3.3 → v1.4.6}/types.ts +3 -2
- package/src/wallet-instance-attestation/{v1.3.3 → v1.4.6}/utils.ts +3 -2
- package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +0 -1
- package/lib/commonjs/credential/issuance/v1.3.3/02-start-user-authorization.js.map +0 -1
- package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +0 -1
- package/lib/commonjs/credential/issuance/v1.3.3/04-authorize-access.js.map +0 -1
- package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js.map +0 -1
- package/lib/commonjs/credential/issuance/v1.3.3/index.js.map +0 -1
- package/lib/commonjs/credential/issuance/v1.3.3/mappers.js.map +0 -1
- package/lib/commonjs/credential/offer/v1.3.3/02-extract-grant-details.js.map +0 -1
- package/lib/commonjs/credential/offer/v1.3.3/03-validate-credential-offer.js.map +0 -1
- package/lib/commonjs/credential/offer/v1.3.3/index.js.map +0 -1
- package/lib/commonjs/credential/presentation/v1.3.3/01-start-flow.js.map +0 -1
- package/lib/commonjs/credential/presentation/v1.3.3/05-verify-request-object.js.map +0 -1
- package/lib/commonjs/credential/presentation/v1.3.3/06-evaluate-dcql-query.js.map +0 -1
- package/lib/commonjs/credential/presentation/v1.3.3/07-send-authorization-response.js.map +0 -1
- package/lib/commonjs/credential/presentation/v1.3.3/index.js.map +0 -1
- package/lib/commonjs/credential/presentation/v1.3.3/mappers.js.map +0 -1
- package/lib/commonjs/credential/status/v1.3.3/index.js.map +0 -1
- package/lib/commonjs/credentials-catalogue/v1.3.3/fetch-and-parse-catalogue.js.map +0 -1
- package/lib/commonjs/credentials-catalogue/v1.3.3/index.js.map +0 -1
- package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js.map +0 -1
- package/lib/commonjs/credentials-catalogue/v1.3.3/types.js.map +0 -1
- package/lib/commonjs/wallet-instance/v1.3.3/index.js.map +0 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js.map +0 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js.map +0 -1
- package/lib/commonjs/wallet-unit-attestation/api/types.js.map +0 -1
- package/lib/commonjs/wallet-unit-attestation/index.js.map +0 -1
- package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js +0 -11
- package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js.map +0 -1
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js.map +0 -1
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js.map +0 -1
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js +0 -13
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js.map +0 -1
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js.map +0 -1
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js.map +0 -1
- package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +0 -1
- package/lib/module/credential/issuance/v1.3.3/02-start-user-authorization.js.map +0 -1
- package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +0 -1
- package/lib/module/credential/issuance/v1.3.3/04-authorize-access.js.map +0 -1
- package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js.map +0 -1
- package/lib/module/credential/issuance/v1.3.3/index.js.map +0 -1
- package/lib/module/credential/issuance/v1.3.3/mappers.js.map +0 -1
- package/lib/module/credential/offer/v1.3.3/01-resolve-credential-offer.js.map +0 -1
- package/lib/module/credential/offer/v1.3.3/02-extract-grant-details.js.map +0 -1
- package/lib/module/credential/offer/v1.3.3/03-validate-credential-offer.js.map +0 -1
- package/lib/module/credential/presentation/v1.3.3/01-start-flow.js.map +0 -1
- package/lib/module/credential/presentation/v1.3.3/05-verify-request-object.js.map +0 -1
- package/lib/module/credential/presentation/v1.3.3/06-evaluate-dcql-query.js.map +0 -1
- package/lib/module/credential/presentation/v1.3.3/07-send-authorization-response.js.map +0 -1
- package/lib/module/credential/presentation/v1.3.3/mappers.js.map +0 -1
- package/lib/module/credential/presentation/v1.3.3/sdkErrorMapper.js.map +0 -1
- package/lib/module/credential/presentation/v1.3.3/types.js.map +0 -1
- package/lib/module/credential/status/v1.3.3/03-get-status.js.map +0 -1
- package/lib/module/credentials-catalogue/v1.3.3/fetch-and-parse-catalogue.js.map +0 -1
- package/lib/module/credentials-catalogue/v1.3.3/index.js.map +0 -1
- package/lib/module/credentials-catalogue/v1.3.3/mappers.js.map +0 -1
- package/lib/module/credentials-catalogue/v1.3.3/types.js.map +0 -1
- package/lib/module/credentials-catalogue/v1.3.3/utils.js.map +0 -1
- package/lib/module/trust/v1.3.3/types.js.map +0 -1
- package/lib/module/wallet-instance/v1.3.3/index.js +0 -8
- package/lib/module/wallet-instance/v1.3.3/index.js.map +0 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/index.js.map +0 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js.map +0 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/utils.js.map +0 -1
- package/lib/module/wallet-unit-attestation/api/types.js.map +0 -1
- package/lib/module/wallet-unit-attestation/index.js +0 -3
- package/lib/module/wallet-unit-attestation/index.js.map +0 -1
- package/lib/module/wallet-unit-attestation/v1.0.0/index.js +0 -4
- package/lib/module/wallet-unit-attestation/v1.0.0/index.js.map +0 -1
- package/lib/module/wallet-unit-attestation/v1.3.3/index.js +0 -10
- package/lib/module/wallet-unit-attestation/v1.3.3/index.js.map +0 -1
- package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js.map +0 -1
- package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js +0 -6
- package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js.map +0 -1
- package/lib/module/wallet-unit-attestation/v1.3.3/types.js +0 -14
- package/lib/module/wallet-unit-attestation/v1.3.3/types.js.map +0 -1
- package/lib/module/wallet-unit-attestation/v1.3.3/utils.js.map +0 -1
- package/lib/typescript/credential/issuance/v1.3.3/01-evaluate-issuer-trust.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.3.3/02-start-user-authorization.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.3.3/03-complete-user-authorization.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.3.3/04-authorize-access.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.3.3/05-obtain-credential.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.3.3/06-verify-and-parse-credential.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.3.3/index.d.ts.map +0 -1
- package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts.map +0 -1
- package/lib/typescript/credential/offer/v1.3.3/01-resolve-credential-offer.d.ts.map +0 -1
- package/lib/typescript/credential/offer/v1.3.3/02-extract-grant-details.d.ts.map +0 -1
- package/lib/typescript/credential/offer/v1.3.3/03-validate-credential-offer.d.ts.map +0 -1
- package/lib/typescript/credential/offer/v1.3.3/index.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.3.3/01-start-flow.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.3.3/02-evaluate-rp-trust.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.3.3/03-get-request-object.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.3.3/04-verify-certificate-chain.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.3.3/05-verify-request-object.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.3.3/06-evaluate-dcql-query.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.3.3/07-send-authorization-response.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/v1.3.3/types.d.ts.map +0 -1
- package/lib/typescript/credential/status/v1.3.3/01-status-list.d.ts.map +0 -1
- package/lib/typescript/credential/status/v1.3.3/02-verify-and-parse-status-list.d.ts.map +0 -1
- package/lib/typescript/credential/status/v1.3.3/03-get-status.d.ts.map +0 -1
- package/lib/typescript/credential/status/v1.3.3/index.d.ts.map +0 -1
- package/lib/typescript/credential/trustmark/v1.3.3/index.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/fetch-translations.d.ts.map +0 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/index.d.ts.map +0 -1
- package/lib/typescript/wallet-instance/v1.3.3/index.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/index.d.ts.map +0 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/issuing.d.ts.map +0 -1
- package/lib/typescript/wallet-unit-attestation/api/index.d.ts.map +0 -1
- package/lib/typescript/wallet-unit-attestation/api/types.d.ts.map +0 -1
- package/lib/typescript/wallet-unit-attestation/index.d.ts +0 -4
- package/lib/typescript/wallet-unit-attestation/index.d.ts.map +0 -1
- package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts +0 -3
- package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts.map +0 -1
- package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts +0 -3
- package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts.map +0 -1
- package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts +0 -3
- package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts.map +0 -1
- package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts.map +0 -1
- package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts.map +0 -1
- package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts +0 -7
- package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts.map +0 -1
- package/src/wallet-unit-attestation/index.ts +0 -3
- package/src/wallet-unit-attestation/v1.0.0/index.ts +0 -5
- package/src/wallet-unit-attestation/v1.3.3/index.ts +0 -11
- package/src/wallet-unit-attestation/v1.3.3/mappers.ts +0 -10
- package/src/wallet-unit-attestation/v1.3.3/types.ts +0 -21
- package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/06-verify-and-parse-credential.js +0 -0
- package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/types.js +0 -0
- package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/02-verify-and-parse-status-list.js +0 -0
- package/lib/commonjs/credential/trustmark/{v1.3.3 → v1.4.6}/index.js +0 -0
- package/lib/commonjs/{wallet-unit-attestation → key-attestation}/api/index.js +0 -0
- package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/mappers.js +0 -0
- package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/types.js +0 -0
- package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/06-verify-and-parse-credential.js +0 -0
- package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/types.js +0 -0
- package/lib/module/credential/status/{v1.3.3 → v1.4.6}/02-verify-and-parse-status-list.js +0 -0
- package/lib/module/credential/trustmark/{v1.3.3 → v1.4.6}/index.js +0 -0
- package/lib/module/{wallet-unit-attestation → key-attestation}/api/index.js +0 -0
- package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/mappers.js +0 -0
- package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/types.js +0 -0
- package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/01-evaluate-issuer-trust.d.ts +0 -0
- package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/02-start-user-authorization.d.ts +0 -0
- package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/04-authorize-access.d.ts +0 -0
- package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/06-verify-and-parse-credential.d.ts +0 -0
- package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
- package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/types.d.ts +0 -0
- package/lib/typescript/credential/offer/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
- package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/01-start-flow.d.ts +0 -0
- package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/02-evaluate-rp-trust.d.ts +0 -0
- package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/03-get-request-object.d.ts +0 -0
- package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/04-verify-certificate-chain.d.ts +0 -0
- package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/05-verify-request-object.d.ts +0 -0
- package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/06-evaluate-dcql-query.d.ts +0 -0
- package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/07-send-authorization-response.d.ts +0 -0
- package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
- package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/sdkErrorMapper.d.ts +0 -0
- package/lib/typescript/credential/status/{v1.3.3 → v1.4.6}/01-status-list.d.ts +0 -0
- package/lib/typescript/credential/status/{v1.3.3 → v1.4.6}/02-verify-and-parse-status-list.d.ts +0 -0
- package/lib/typescript/credential/status/{v1.3.3 → v1.4.6}/03-get-status.d.ts +0 -0
- package/lib/typescript/credential/status/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
- package/lib/typescript/credential/trustmark/{v1.3.3 → v1.4.6}/get-credential-trustmark.d.ts +0 -0
- package/lib/typescript/credential/trustmark/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
- package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-and-parse-catalogue.d.ts +0 -0
- package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-translations.d.ts +0 -0
- package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
- package/lib/typescript/wallet-instance/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
- package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
- package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/issuing.d.ts +0 -0
- package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/utils.d.ts +0 -0
- package/src/credential/issuance/{v1.3.3 → v1.4.6}/types.ts +0 -0
- package/src/credential/presentation/{v1.3.3 → v1.4.6}/types.ts +3 -3
- /package/src/wallet-instance-attestation/{v1.3.3 → v1.4.6}/mappers.ts +0 -0
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.StatusType = exports.StatusAssertionResponse = exports.ParsedStatusAssertionResponse = exports.ParsedStatusAssertionJwt = exports.ParsedStatusAssertionErrorJwt = void 0;
|
|
7
|
-
var _zod = require("../../../utils/zod");
|
|
8
|
-
var _jwk = require("../../../utils/jwk");
|
|
9
7
|
var z = _interopRequireWildcard(require("zod"));
|
|
8
|
+
var _jwk = require("../../../utils/jwk");
|
|
9
|
+
var _zod2 = require("../../../utils/zod");
|
|
10
10
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
11
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
12
|
/**
|
|
@@ -26,24 +26,24 @@ exports.StatusAssertionResponse = StatusAssertionResponse;
|
|
|
26
26
|
*/
|
|
27
27
|
const ParsedStatusAssertionJwt = z.object({
|
|
28
28
|
header: z.object({
|
|
29
|
-
typ: z.literal("status-assertion+jwt"),
|
|
30
29
|
alg: z.string(),
|
|
31
|
-
kid: z.string().optional()
|
|
30
|
+
kid: z.string().optional(),
|
|
31
|
+
typ: z.literal("status-assertion+jwt")
|
|
32
32
|
}),
|
|
33
33
|
payload: z.object({
|
|
34
|
-
iss: z.string(),
|
|
35
|
-
credential_status_type: z.string(),
|
|
36
|
-
credential_status_detail: z.object({
|
|
37
|
-
state: z.string(),
|
|
38
|
-
description: z.string()
|
|
39
|
-
}).optional(),
|
|
40
|
-
credential_hash_alg: z.string(),
|
|
41
|
-
credential_hash: z.string(),
|
|
42
34
|
cnf: z.object({
|
|
43
35
|
jwk: _jwk.JWK
|
|
44
36
|
}),
|
|
45
|
-
|
|
46
|
-
|
|
37
|
+
credential_hash: z.string(),
|
|
38
|
+
credential_hash_alg: z.string(),
|
|
39
|
+
credential_status_detail: z.object({
|
|
40
|
+
description: z.string(),
|
|
41
|
+
state: z.string()
|
|
42
|
+
}).optional(),
|
|
43
|
+
credential_status_type: z.string(),
|
|
44
|
+
exp: _zod2.UnixTime,
|
|
45
|
+
iat: _zod2.UnixTime,
|
|
46
|
+
iss: z.string()
|
|
47
47
|
})
|
|
48
48
|
});
|
|
49
49
|
exports.ParsedStatusAssertionJwt = ParsedStatusAssertionJwt;
|
|
@@ -53,13 +53,13 @@ exports.ParsedStatusAssertionJwt = ParsedStatusAssertionJwt;
|
|
|
53
53
|
*/
|
|
54
54
|
const ParsedStatusAssertionErrorJwt = z.object({
|
|
55
55
|
header: z.object({
|
|
56
|
-
typ: z.literal("status-assertion-error+jwt"),
|
|
57
56
|
alg: z.string(),
|
|
58
|
-
kid: z.string().optional()
|
|
57
|
+
kid: z.string().optional(),
|
|
58
|
+
typ: z.literal("status-assertion-error+jwt")
|
|
59
59
|
}),
|
|
60
60
|
payload: z.object({
|
|
61
|
-
credential_hash_alg: z.string(),
|
|
62
61
|
credential_hash: z.string(),
|
|
62
|
+
credential_hash_alg: z.string(),
|
|
63
63
|
error: z.string(),
|
|
64
64
|
error_description: z.string()
|
|
65
65
|
})
|
|
@@ -72,9 +72,9 @@ exports.ParsedStatusAssertionErrorJwt = ParsedStatusAssertionErrorJwt;
|
|
|
72
72
|
const ParsedStatusAssertionResponse = z.union([ParsedStatusAssertionJwt, ParsedStatusAssertionErrorJwt]);
|
|
73
73
|
exports.ParsedStatusAssertionResponse = ParsedStatusAssertionResponse;
|
|
74
74
|
let StatusType = /*#__PURE__*/function (StatusType) {
|
|
75
|
-
StatusType["VALID"] = "0x00";
|
|
76
75
|
StatusType["INVALID"] = "0x01";
|
|
77
76
|
StatusType["SUSPENDED"] = "0x02";
|
|
77
|
+
StatusType["VALID"] = "0x00";
|
|
78
78
|
return StatusType;
|
|
79
79
|
}({});
|
|
80
80
|
exports.StatusType = StatusType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["z","_interopRequireWildcard","require","_jwk","_zod2","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","StatusAssertionResponse","object","status_assertion_responses","array","string","exports","ParsedStatusAssertionJwt","header","alg","kid","optional","typ","literal","payload","cnf","jwk","JWK","credential_hash","credential_hash_alg","credential_status_detail","description","state","credential_status_type","exp","UnixTime","iat","iss","ParsedStatusAssertionErrorJwt","error","error_description","ParsedStatusAssertionResponse","union","StatusType"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.0.0/types.ts"],"mappings":";;;;;;AAAA,IAAAA,CAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,IAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AAA8C,SAAAG,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAL,wBAAAS,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,W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CAAAsB,6BAAA,GAAAA,6BAAA;AAMO,MAAMG,6BAA6B,GAAGzD,CAAC,CAAC0D,KAAK,CAAC,CACnDzB,wBAAwB,EACxBqB,6BAA6B,CAC9B,CAAC;AAACtB,OAAA,CAAAyB,6BAAA,GAAAA,6BAAA;AAAA,IAESE,UAAU,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAAA3B,OAAA,CAAA2B,UAAA,GAAAA,UAAA"}
|
|
@@ -60,15 +60,15 @@ const getStatusListByUri = async function (uri) {
|
|
|
60
60
|
exports.getStatusListByUri = getStatusListByUri;
|
|
61
61
|
const getStatusList = async (credential, format, context) => {
|
|
62
62
|
const {
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
idx,
|
|
64
|
+
uri
|
|
65
65
|
} = await getStatusListEntry(credential, format);
|
|
66
66
|
const statusList = await getStatusListByUri(uri, context);
|
|
67
67
|
return {
|
|
68
|
-
|
|
68
|
+
format: "jwt",
|
|
69
69
|
idx,
|
|
70
70
|
statusList,
|
|
71
|
-
|
|
71
|
+
uri
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
74
|
exports.getStatusList = getStatusList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_ioReactNativeIso","require","_ioReactNativeJwt","_jwtStatusList","_errors","_misc","getStatusListEntry","credential","format","statusListEntry","_decoded$issuerAuth","decoded","CBOR","decode","issuerAuth","payload","status","status_list","getStatusListFromJWT","IoWalletError","exports","fetchStatusList","uri","appFetch","options","arguments","length","undefined","headers","Accept","cacheDisabled","then","hasStatusOrThrow","response","text","getStatusListByUri","fetch","statusList","decodeJwt","exp","Math","floor","Date","now","getStatusList","context","idx"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.
|
|
1
|
+
{"version":3,"names":["_ioReactNativeIso","require","_ioReactNativeJwt","_jwtStatusList","_errors","_misc","getStatusListEntry","credential","format","statusListEntry","_decoded$issuerAuth","decoded","CBOR","decode","issuerAuth","payload","status","status_list","getStatusListFromJWT","IoWalletError","exports","fetchStatusList","uri","appFetch","options","arguments","length","undefined","headers","Accept","cacheDisabled","then","hasStatusOrThrow","response","text","getStatusListByUri","fetch","statusList","decodeJwt","exp","Math","floor","Date","now","getStatusList","context","idx"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.4.6/01-status-list.ts"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AAOA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AAEO,MAAMK,kBAAuD,GAAG,MAAAA,CACrEC,UAAU,EACVC,MAAM,KACH;EACH,IAAIC,eAA4C;EAEhD,IAAID,MAAM,KAAK,UAAU,EAAE;IAAA,IAAAE,mBAAA;IACzB;IACA,MAAMC,OAAO,GAAG,MAAMC,sBAAI,CAACC,MAAM,CAACN,UAAU,CAAC;IAC7CE,eAAe,IAAAC,mBAAA,GAAGC,OAAO,CAACG,UAAU,cAAAJ,mBAAA,gBAAAA,mBAAA,GAAlBA,mBAAA,CAAoBK,OAAO,cAAAL,mBAAA,gBAAAA,mBAAA,GAA3BA,mBAAA,CAA6BM,MAAM,cAAAN,mBAAA,uBAAnCA,mBAAA,CAAqCO,WAAW;EACpE;EAEA,IAAIT,MAAM,KAAK,WAAW,EAAE;IAC1BC,eAAe,GAAG,IAAAS,mCAAoB,EAACX,UAAU,CAAC;EACpD;EAEA,IAAI,CAACE,eAAe,EAAE;IACpB,MAAM,IAAIU,qBAAa,CAAC,+CAA+C,CAAC;EAC1E;EAEA,OAAOV,eAAe;AACxB,CAAC;AAACW,OAAA,CAAAd,kBAAA,GAAAA,kBAAA;AAEF,MAAMe,eAAe,GAAG,SAAAA,CACtBC,GAAW,EACXC,QAA8B;EAAA,IAC9BC,OAAoC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SA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AC;EACjE,MAAM6B,UAAU,GAAG,MAAMF,kBAAkB,CAACb,GAAG,EAAEuB,OAAO,CAAC;EACzD,OAAO;IAAErC,MAAM,EAAE,KAAK;IAAEsC,GAAG;IAAET,UAAU;IAAEf;EAAI,CAAC;AAChD,CAAC;AAACF,OAAA,CAAAwB,aAAA,GAAAA,aAAA"}
|
package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/02-verify-and-parse-status-list.js.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_ioReactNativeJwt","require","_types","verifyAndParseStatusList","keys","statusList","verify","StatusList","parse","decodeJwt","payload","exports"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.
|
|
1
|
+
{"version":3,"names":["_ioReactNativeJwt","require","_types","verifyAndParseStatusList","keys","statusList","verify","StatusList","parse","decodeJwt","payload","exports"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.4.6/02-verify-and-parse-status-list.ts"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AAIA,IAAAC,MAAA,GAAAD,OAAA;AAEO,MAAME,wBAAyD,GAAG,MAAAA,CACvEC,IAAI,EACJC,UAAU,KACP;EACH,MAAM,IAAAC,wBAAM,EAACD,UAAU,EAAED,IAAI,CAAC;EAC9B,OAAOG,iBAAU,CAACC,KAAK,CAAC,IAAAC,wBAAS,EAACJ,UAAU,CAAC,CAACK,OAAO,CAAC;AACxD,CAAC;AAACC,OAAA,CAAAR,wBAAA,GAAAA,wBAAA"}
|
|
@@ -8,14 +8,14 @@ var _jwtStatusList = require("@sd-jwt/jwt-status-list");
|
|
|
8
8
|
var _errors = require("../../../utils/errors");
|
|
9
9
|
/**
|
|
10
10
|
* Mapping of status bits to their corresponding meaning as defined in the specification.
|
|
11
|
-
* @see https://italia.github.io/eid-wallet-it-docs/releases/1.
|
|
11
|
+
* @see https://italia.github.io/eid-wallet-it-docs/releases/1.4.6/en/credential-revocation.html#token-status-lists
|
|
12
12
|
*/
|
|
13
13
|
const CredentialStatusMap = {
|
|
14
14
|
0x00: "VALID",
|
|
15
15
|
0x01: "INVALID",
|
|
16
16
|
0x02: "SUSPENDED",
|
|
17
17
|
0x03: "UPDATE",
|
|
18
|
-
|
|
18
|
+
0x0f: "ATTRIBUTE_UPDATE"
|
|
19
19
|
};
|
|
20
20
|
const formatStatusBit = statusBit => `0x${statusBit.toString(16).padStart(2, "0").toUpperCase()}`;
|
|
21
21
|
const getStatus = (statusList, idx) => {
|
|
@@ -26,8 +26,8 @@ const getStatus = (statusList, idx) => {
|
|
|
26
26
|
throw new _errors.IoWalletError(`Unsupported credential status bit: ${formatStatusBit(statusBit)}`);
|
|
27
27
|
}
|
|
28
28
|
return {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
rawStatus: formatStatusBit(statusBit),
|
|
30
|
+
status
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
exports.getStatus = getStatus;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_jwtStatusList","require","_errors","CredentialStatusMap","formatStatusBit","statusBit","toString","padStart","toUpperCase","getStatus","statusList","idx","decodedStatusList","JwtStatusList","decompressStatusList","lst","bits","status","IoWalletError","rawStatus","exports"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.
|
|
1
|
+
{"version":3,"names":["_jwtStatusList","require","_errors","CredentialStatusMap","formatStatusBit","statusBit","toString","padStart","toUpperCase","getStatus","statusList","idx","decodedStatusList","JwtStatusList","decompressStatusList","lst","bits","status","IoWalletError","rawStatus","exports"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.4.6/03-get-status.ts"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAIA,IAAAC,OAAA,GAAAD,OAAA;AAEA;AACA;AACA;AACA;AACA,MAAME,mBAAmB,GAAG;EAC1B,IAAI,EAAE,OAAO;EACb,IAAI,EAAE,SAAS;EACf,IAAI,EAAE,WAAW;EACjB,IAAI,EAAE,QAAQ;EACd,IAAI,EAAE;AACR,CAAU;AAIV,MAAMC,eAAe,GAAIC,SAAiB,IACvC,KAAIA,SAAS,CAACC,QAAQ,CAAC,EAAE,CAAC,CAACC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAACC,WAAW,CAAC,CAAE,EAAC;AAEvD,MAAMC,SAAqC,GAAGA,CAACC,UAAU,EAAEC,GAAG,KAAK;EACxE,MAAMC,iBAAiB,GAAGC,yBAAa,CAACC,oBAAoB,CAC1DJ,UAAU,CAACK,GAAG,EACdL,UAAU,CAACM,IACb,CAAC;EACD,MAAMX,SAAS,GAAGO,iBAAiB,CAACH,SAAS,CAACE,GAAG,CAAwB;EACzE,MAAMM,MAAM,GAAGd,mBAAmB,CAACE,SAAS,CAAC;EAE7C,IAAI,CAACY,MAAM,EAAE;IACX,MAAM,IAAIC,qBAAa,CACpB,sCAAqCd,eAAe,CAACC,SAAS,CAAE,EACnE,CAAC;EACH;EAEA,OAAO;IACLc,SAAS,EAAEf,eAAe,CAACC,SAAS,CAAC;IACrCY;EACF,CAAC;AACH,CAAC;AAACG,OAAA,CAAAX,SAAA,GAAAA,SAAA"}
|
|
@@ -12,12 +12,12 @@ const CredentialStatus = {
|
|
|
12
12
|
isSupported: false
|
|
13
13
|
},
|
|
14
14
|
statusList: {
|
|
15
|
-
isSupported: true,
|
|
16
15
|
get: _statusList.getStatusList,
|
|
17
16
|
getByUri: _statusList.getStatusListByUri,
|
|
18
|
-
verifyAndParse: _verifyAndParseStatusList.verifyAndParseStatusList,
|
|
19
17
|
getStatus: _getStatus.getStatus,
|
|
20
|
-
getStatusListEntry: _statusList.getStatusListEntry
|
|
18
|
+
getStatusListEntry: _statusList.getStatusListEntry,
|
|
19
|
+
isSupported: true,
|
|
20
|
+
verifyAndParse: _verifyAndParseStatusList.verifyAndParseStatusList
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
exports.CredentialStatus = CredentialStatus;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_statusList","require","_verifyAndParseStatusList","_getStatus","CredentialStatus","statusAssertion","isSupported","statusList","get","getStatusList","getByUri","getStatusListByUri","getStatus","getStatusListEntry","verifyAndParse","verifyAndParseStatusList","exports"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.4.6/index.ts"],"mappings":";;;;;;AAEA,IAAAA,WAAA,GAAAC,OAAA;AAKA,IAAAC,yBAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAEO,MAAMG,gBAAqC,GAAG;EACnDC,eAAe,EAAE;IACfC,WAAW,EAAE;EACf,CAAC;EACDC,UAAU,EAAE;IACVC,GAAG,EAAEC,yBAAa;IAClBC,QAAQ,EAAEC,8BAAkB;IAC5BC,SAAS,EAATA,oBAAS;IACTC,kBAAkB,EAAlBA,8BAAkB;IAClBP,WAAW,EAAE,IAAI;IACjBQ,cAAc,EAAEC;EAClB;AACF,CAAC;AAACC,OAAA,CAAAZ,gBAAA,GAAAA,gBAAA"}
|
|
@@ -9,12 +9,12 @@ Object.defineProperty(exports, "V1_0_0", {
|
|
|
9
9
|
return _v.Trustmark;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
Object.defineProperty(exports, "
|
|
12
|
+
Object.defineProperty(exports, "V1_4_6", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
15
|
return _v2.Trustmark;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
var _v = require("./v1.0.0");
|
|
19
|
-
var _v2 = require("./v1.
|
|
19
|
+
var _v2 = require("./v1.4.6");
|
|
20
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,19 +5,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.getCredentialTrustmark = void 0;
|
|
7
7
|
var _ioReactNativeJwt = require("@pagopa/io-react-native-jwt");
|
|
8
|
-
var WalletInstanceAttestation = _interopRequireWildcard(require("../../../wallet-instance-attestation/v1.0.0/utils"));
|
|
9
8
|
var _errors = require("../../../utils/errors");
|
|
10
|
-
var _string = require("../../../utils/string");
|
|
11
9
|
var _logging = require("../../../utils/logging");
|
|
10
|
+
var _string = require("../../../utils/string");
|
|
11
|
+
var WalletInstanceAttestation = _interopRequireWildcard(require("../../../wallet-instance-attestation/v1.0.0/utils"));
|
|
12
12
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
13
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
14
|
const getCredentialTrustmark = async _ref => {
|
|
15
15
|
let {
|
|
16
|
-
walletInstanceAttestation,
|
|
17
|
-
wiaCryptoContext,
|
|
18
16
|
credentialType,
|
|
19
17
|
docNumber,
|
|
20
|
-
expirationTime = "2m"
|
|
18
|
+
expirationTime = "2m",
|
|
19
|
+
walletInstanceAttestation,
|
|
20
|
+
wiaCryptoContext
|
|
21
21
|
} = _ref;
|
|
22
22
|
/**
|
|
23
23
|
* Check that the public key used to sign the trustmark is the one used for the WIA
|
|
@@ -62,8 +62,8 @@ const getCredentialTrustmark = async _ref => {
|
|
|
62
62
|
}).setIssuedAt().setExpirationTime(expirationTime).sign();
|
|
63
63
|
const decodedTrustmark = (0, _ioReactNativeJwt.decode)(signedTrustmarkJwt);
|
|
64
64
|
return {
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
expirationTime: decodedTrustmark.payload.exp ?? 0,
|
|
66
|
+
jwt: signedTrustmarkJwt
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
exports.getCredentialTrustmark = getCredentialTrustmark;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_ioReactNativeJwt","require","
|
|
1
|
+
{"version":3,"names":["_ioReactNativeJwt","require","_errors","_logging","_string","WalletInstanceAttestation","_interopRequireWildcard","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","getCredentialTrustmark","_ref","credentialType","docNumber","expirationTime","walletInstanceAttestation","wiaCryptoContext","holderBindingKey","getPublicKey","decodedWia","decode","Logger","log","LogLevel","DEBUG","JSON","stringify","payload","exp","Date","now","ERROR","IoWalletError","wiaThumbprint","thumbprint","cnf","jwk","cryptoContextThumbprint","signedTrustmarkJwt","SignJWT","setProtectedHeader","alg","setPayload","iss","sub","obfuscateString","subtyp","setIssuedAt","setExpirationTime","sign","decodedTrustmark","decodeJwt","jwt","exports"],"sourceRoot":"../../../../../src","sources":["credential/trustmark/v1.0.0/get-credential-trustmark.ts"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AAMA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,yBAAA,GAAAC,uBAAA,CAAAL,OAAA;AAA+F,SAAAM,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAA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GAAG;MAAE+B,GAAG,EAAE,IAAAC,uBAAe,EAAChC,SAAS;IAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACzDiC,MAAM,EAAElC;EACV,CAAC,CAAC,CACDmC,WAAW,CAAC,CAAC,CACbC,iBAAiB,CAAClC,cAAc,CAAC,CACjCmC,IAAI,CAAC,CAAC;EAET,MAAMC,gBAAgB,GAAG,IAAAC,wBAAS,EAACb,kBAAkB,CAAC;EAEtD,OAAO;IACLxB,cAAc,EAAEoC,gBAAgB,CAACvB,OAAO,CAACC,GAAG,IAAI,CAAC;IACjDwB,GAAG,EAAEd;EACP,CAAC;AACH,CAAC;AAACe,OAAA,CAAA3C,sBAAA,GAAAA,sBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_getCredentialTrustmark","require","Trustmark","getCredentialTrustmark","exports"],"sourceRoot":"../../../../../src","sources":["credential/trustmark/v1.0.0/index.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"names":["_getCredentialTrustmark","require","Trustmark","getCredentialTrustmark","exports"],"sourceRoot":"../../../../../src","sources":["credential/trustmark/v1.0.0/index.ts"],"mappings":";;;;;;AAEA,IAAAA,uBAAA,GAAAC,OAAA;AAEO,MAAMC,SAAuB,GAAG;EACrCC,sBAAsB,EAAtBA;AACF,CAAC;AAACC,OAAA,CAAAF,SAAA,GAAAA,SAAA"}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getCredentialTrustmark = void 0;
|
|
7
7
|
var _errors = require("../../../utils/errors");
|
|
8
8
|
const getCredentialTrustmark = async () => {
|
|
9
|
-
throw new _errors.UnimplementedFeatureError("getCredentialTrustmark", "1.
|
|
9
|
+
throw new _errors.UnimplementedFeatureError("getCredentialTrustmark", "1.4.6");
|
|
10
10
|
};
|
|
11
11
|
exports.getCredentialTrustmark = getCredentialTrustmark;
|
|
12
12
|
//# sourceMappingURL=get-credential-trustmark.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_errors","require","getCredentialTrustmark","UnimplementedFeatureError","exports"],"sourceRoot":"../../../../../src","sources":["credential/trustmark/v1.
|
|
1
|
+
{"version":3,"names":["_errors","require","getCredentialTrustmark","UnimplementedFeatureError","exports"],"sourceRoot":"../../../../../src","sources":["credential/trustmark/v1.4.6/get-credential-trustmark.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAGO,MAAMC,sBAAqD,GAChE,MAAAA,CAAA,KAAY;EACV,MAAM,IAAIC,iCAAyB,CAAC,wBAAwB,EAAE,OAAO,CAAC;AACxE,CAAC;AAACC,OAAA,CAAAF,sBAAA,GAAAA,sBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_getCredentialTrustmark","require","Trustmark","getCredentialTrustmark","exports"],"sourceRoot":"../../../../../src","sources":["credential/trustmark/v1.
|
|
1
|
+
{"version":3,"names":["_getCredentialTrustmark","require","Trustmark","getCredentialTrustmark","exports"],"sourceRoot":"../../../../../src","sources":["credential/trustmark/v1.4.6/index.ts"],"mappings":";;;;;;AAEA,IAAAA,uBAAA,GAAAC,OAAA;AAEO,MAAMC,SAAuB,GAAG;EACrCC,sBAAsB,EAAtBA;AACF,CAAC;AAACC,OAAA,CAAAF,SAAA,GAAAA,SAAA"}
|
|
@@ -14,70 +14,70 @@ const LocalizationInfo = z.object({
|
|
|
14
14
|
default_locale: z.string(),
|
|
15
15
|
version: z.string()
|
|
16
16
|
});
|
|
17
|
-
|
|
18
17
|
/**
|
|
19
18
|
* Merged translations for one or more locales, keyed by locale code.
|
|
20
19
|
* Each locale maps l10n_id keys to their translated string values.
|
|
21
20
|
*/
|
|
22
21
|
exports.LocalizationInfo = LocalizationInfo;
|
|
23
22
|
const AdministrativeExpirationUserInfo = z.object({
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
description_l10n_id: z.string(),
|
|
24
|
+
title_l10n_id: z.string()
|
|
26
25
|
});
|
|
27
26
|
const AllowedState = z.object({
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
description_l10n_id: z.string(),
|
|
28
|
+
title_l10n_id: z.string()
|
|
30
29
|
}).catchall(z.string());
|
|
31
30
|
exports.AllowedState = AllowedState;
|
|
32
31
|
const CredentialPurpose = z.object({
|
|
33
|
-
|
|
34
|
-
description: z.string().optional(),
|
|
32
|
+
claim_recommended: z.array(z.string()).optional(),
|
|
35
33
|
claims_required: z.array(z.string()).optional(),
|
|
36
|
-
|
|
34
|
+
description: z.string().optional(),
|
|
35
|
+
id: z.string()
|
|
37
36
|
});
|
|
38
37
|
const CredentialIssuer = z.object({
|
|
39
|
-
id: z.string(),
|
|
40
|
-
organization_name: z.string().optional(),
|
|
41
|
-
organization_name_l10n_id: z.string().optional(),
|
|
42
|
-
organization_code: z.string(),
|
|
43
|
-
organization_country: z.string(),
|
|
44
|
-
legal_type: z.string().optional(),
|
|
45
38
|
contacts: z.array(z.string()).optional(),
|
|
46
39
|
homepage_uri: z.string().optional(),
|
|
40
|
+
id: z.string(),
|
|
41
|
+
issuance_flows: z.object({
|
|
42
|
+
deferred_flow: z.boolean()
|
|
43
|
+
}).optional(),
|
|
44
|
+
legal_type: z.string().optional(),
|
|
47
45
|
logo_uri: z.string().optional(),
|
|
46
|
+
organization_code: z.string(),
|
|
47
|
+
organization_country: z.string(),
|
|
48
|
+
organization_name: z.string().optional(),
|
|
49
|
+
organization_name_l10n_id: z.string().optional(),
|
|
48
50
|
policy_uri: z.string().optional(),
|
|
49
|
-
tos_uri: z.string().optional(),
|
|
50
51
|
service_documentation: z.string().optional(),
|
|
51
|
-
|
|
52
|
-
deferred_flow: z.boolean()
|
|
53
|
-
}).optional()
|
|
52
|
+
tos_uri: z.string().optional()
|
|
54
53
|
});
|
|
55
54
|
const AuthenticSource = z.object({
|
|
55
|
+
contacts: z.array(z.string()).optional(),
|
|
56
|
+
data_origin_l10n_id: z.string().optional(),
|
|
57
|
+
homepage_uri: z.string().optional(),
|
|
56
58
|
id: z.string(),
|
|
57
|
-
|
|
58
|
-
organization_name_l10n_id: z.string().optional(),
|
|
59
|
+
logo_uri: z.string().optional(),
|
|
59
60
|
organization_code: z.string().optional(),
|
|
60
61
|
organization_country: z.string(),
|
|
62
|
+
organization_name: z.string().optional(),
|
|
63
|
+
organization_name_l10n_id: z.string().optional(),
|
|
61
64
|
organization_type: z.string(),
|
|
62
|
-
contacts: z.array(z.string()).optional(),
|
|
63
|
-
homepage_uri: z.string().optional(),
|
|
64
|
-
logo_uri: z.string().optional(),
|
|
65
65
|
user_information: z.string().optional(),
|
|
66
66
|
user_information_l10n_id: z.string().optional()
|
|
67
67
|
});
|
|
68
68
|
const CredentialFormat = z.object({
|
|
69
69
|
configuration_id: z.string(),
|
|
70
|
-
format: z.enum(["dc+sd-jwt", "mso_mdoc"]),
|
|
71
|
-
vct: z.string().url().optional(),
|
|
72
70
|
docType: z.string().optional(),
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
format: z.enum(["dc+sd-jwt", "mso_mdoc"]),
|
|
72
|
+
schema_uri: z.url().optional(),
|
|
73
|
+
"schema_uri#integrity": z.string().optional(),
|
|
74
|
+
vct: z.url().optional()
|
|
75
75
|
});
|
|
76
76
|
exports.CredentialFormat = CredentialFormat;
|
|
77
77
|
const Claim = z.object({
|
|
78
|
+
display_name: z.string(),
|
|
78
79
|
name: z.string(),
|
|
79
|
-
taxonomy_ref: z.string()
|
|
80
|
-
display_name: z.string()
|
|
80
|
+
taxonomy_ref: z.string()
|
|
81
81
|
});
|
|
82
82
|
|
|
83
83
|
/**
|
|
@@ -86,32 +86,32 @@ const Claim = z.object({
|
|
|
86
86
|
*/
|
|
87
87
|
exports.Claim = Claim;
|
|
88
88
|
const DigitalCredential = z.object({
|
|
89
|
-
|
|
89
|
+
administrative_expiration_user_info: AdministrativeExpirationUserInfo.optional(),
|
|
90
|
+
authentic_sources: z.array(AuthenticSource),
|
|
91
|
+
classes: z.array(z.string()).optional(),
|
|
90
92
|
credential_type: z.string(),
|
|
93
|
+
description: z.string().optional(),
|
|
94
|
+
domains: z.array(z.string()).optional(),
|
|
95
|
+
formats: z.array(CredentialFormat).optional(),
|
|
96
|
+
issuers: z.array(CredentialIssuer),
|
|
91
97
|
legal_type: z.string(),
|
|
92
98
|
name: z.string().optional(),
|
|
93
99
|
name_l10n_id: z.string().optional(),
|
|
94
|
-
|
|
100
|
+
parent_credentials: z.array(z.string()).optional(),
|
|
101
|
+
purposes: z.array(z.union([z.string(), CredentialPurpose])),
|
|
95
102
|
restriction_policy: z.object({
|
|
96
103
|
presentation_flows: z.object({
|
|
97
|
-
|
|
98
|
-
|
|
104
|
+
proximity: z.boolean(),
|
|
105
|
+
remote: z.boolean()
|
|
99
106
|
})
|
|
100
107
|
}).optional(),
|
|
101
108
|
validity_info: z.object({
|
|
102
|
-
max_validity_days: z.number(),
|
|
103
|
-
status_methods: z.array(z.string()),
|
|
104
109
|
administrative_expiration_user_info: AdministrativeExpirationUserInfo.optional(),
|
|
105
|
-
allowed_states: z.array(z.union([z.string(), AllowedState]))
|
|
110
|
+
allowed_states: z.array(z.union([z.string(), AllowedState])),
|
|
111
|
+
max_validity_days: z.number(),
|
|
112
|
+
status_methods: z.array(z.string())
|
|
106
113
|
}),
|
|
107
|
-
|
|
108
|
-
domains: z.array(z.string()).optional(),
|
|
109
|
-
classes: z.array(z.string()).optional(),
|
|
110
|
-
purposes: z.array(z.union([z.string(), CredentialPurpose])),
|
|
111
|
-
issuers: z.array(CredentialIssuer),
|
|
112
|
-
authentic_sources: z.array(AuthenticSource),
|
|
113
|
-
parent_credentials: z.array(z.string()).optional(),
|
|
114
|
-
formats: z.array(CredentialFormat).optional()
|
|
114
|
+
version: z.string()
|
|
115
115
|
});
|
|
116
116
|
exports.DigitalCredential = DigitalCredential;
|
|
117
117
|
const TaxonomyPurpose = z.object({
|
|
@@ -124,28 +124,28 @@ const TaxonomyClass = z.object({
|
|
|
124
124
|
supported_purposes: z.array(z.string())
|
|
125
125
|
});
|
|
126
126
|
const TaxonomyDomain = z.object({
|
|
127
|
-
|
|
128
|
-
name_l10n_id: z.string(),
|
|
127
|
+
classes: z.array(TaxonomyClass),
|
|
129
128
|
description_l10n_id: z.string(),
|
|
130
|
-
|
|
129
|
+
id: z.string(),
|
|
130
|
+
name_l10n_id: z.string()
|
|
131
131
|
});
|
|
132
132
|
const Taxonomy = z.object({
|
|
133
|
-
id: z.string(),
|
|
134
|
-
name_l10n_id: z.string(),
|
|
135
133
|
description_l10n_id: z.string(),
|
|
136
134
|
domains: z.array(TaxonomyDomain),
|
|
137
|
-
|
|
138
|
-
localization: LocalizationInfo.optional()
|
|
135
|
+
id: z.string(),
|
|
136
|
+
localization: LocalizationInfo.optional(),
|
|
137
|
+
name_l10n_id: z.string(),
|
|
138
|
+
purposes: z.array(TaxonomyPurpose)
|
|
139
139
|
});
|
|
140
140
|
exports.Taxonomy = Taxonomy;
|
|
141
141
|
const DigitalCredentialsCatalogue = z.object({
|
|
142
|
-
|
|
143
|
-
taxonomy: Taxonomy.optional(),
|
|
142
|
+
as_localization: LocalizationInfo.optional(),
|
|
144
143
|
credentials: z.array(DigitalCredential),
|
|
145
|
-
iat: _zod2.UnixTime,
|
|
146
144
|
exp: _zod2.UnixTime,
|
|
145
|
+
iat: _zod2.UnixTime,
|
|
147
146
|
localization: LocalizationInfo.optional(),
|
|
148
|
-
|
|
147
|
+
taxonomy: Taxonomy.optional(),
|
|
148
|
+
taxonomy_uri: z.url()
|
|
149
149
|
});
|
|
150
150
|
exports.DigitalCredentialsCatalogue = DigitalCredentialsCatalogue;
|
|
151
151
|
//# sourceMappingURL=DigitalCredentialsCatalogue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["z","_interopRequireWildcard","require","_zod2","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","LocalizationInfo","object","available_locales","array","string","base_uri","default_locale","version","exports","AdministrativeExpirationUserInfo","
|
|
1
|
+
{"version":3,"names":["z","_interopRequireWildcard","require","_zod2","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","LocalizationInfo","object","available_locales","array","string","base_uri","default_locale","version","exports","AdministrativeExpirationUserInfo","description_l10n_id","title_l10n_id","AllowedState","catchall","CredentialPurpose","claim_recommended","optional","claims_required","description","id","CredentialIssuer","contacts","homepage_uri","issuance_flows","deferred_flow","boolean","legal_type","logo_uri","organization_code","organization_country","organization_name","organization_name_l10n_id","policy_uri","service_documentation","tos_uri","AuthenticSource","data_origin_l10n_id","organization_type","user_information","user_information_l10n_id","CredentialFormat","configuration_id","docType","format","enum","schema_uri","url","vct","Claim","display_name","name","taxonomy_ref","DigitalCredential","administrative_expiration_user_info","authentic_sources","classes","credential_type","domains","formats","issuers","name_l10n_id","parent_credentials","purposes","union","restriction_policy","presentation_flows","proximity","remote","validity_info","allowed_states","max_validity_days","number","status_methods","TaxonomyPurpose","TaxonomyClass","supported_purposes","TaxonomyDomain","Taxonomy","localization","DigitalCredentialsCatalogue","as_localization","credentials","exp","UnixTime","iat","taxonomy","taxonomy_uri"],"sourceRoot":"../../../../src","sources":["credentials-catalogue/api/DigitalCredentialsCatalogue.ts"],"mappings":";;;;;;AAAA,IAAAA,CAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,KAAA,GAAAD,OAAA;AAA2C,SAAAE,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAJ,wBAA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EAAE9E,gBAAgB,CAACgB,QAAQ,CAAC,CAAC;EACzCqE,QAAQ,EAAER,QAAQ,CAAC7D,QAAQ,CAAC,CAAC;EAC7BsE,YAAY,EAAEhH,CAAC,CAACwE,GAAG,CAAC;AACtB,CAAC,CAAC;AAACtC,OAAA,CAAAuE,2BAAA,GAAAA,2BAAA"}
|
|
@@ -15,8 +15,8 @@ const getStatusL10nIds = (statusBit, credentialConfig) => {
|
|
|
15
15
|
const match = credentialConfig.validity_info.allowed_states.find(s => typeof s === "object" && Object.keys(s).some(k => k.toLowerCase() === normalizedBit));
|
|
16
16
|
if (!match) return undefined;
|
|
17
17
|
return {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
descriptionL10nId: match.description_l10n_id,
|
|
19
|
+
titleL10nId: match.title_l10n_id
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
exports.getStatusL10nIds = getStatusL10nIds;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getStatusL10nIds","statusBit","credentialConfig","normalizedBit","toLowerCase","match","validity_info","allowed_states","find","s","Object","keys","some","k","undefined","
|
|
1
|
+
{"version":3,"names":["getStatusL10nIds","statusBit","credentialConfig","normalizedBit","toLowerCase","match","validity_info","allowed_states","find","s","Object","keys","some","k","undefined","descriptionL10nId","description_l10n_id","titleL10nId","title_l10n_id","exports"],"sourceRoot":"../../../../src","sources":["credentials-catalogue/common/get-status-l10n-ids.ts"],"mappings":";;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,gBAA6D,GAAGA,CAC3EC,SAAS,EACTC,gBAAgB,KACb;EACH,MAAMC,aAAa,GAAGF,SAAS,CAACG,WAAW,CAAC,CAAC;EAC7C,MAAMC,KAAK,GAAGH,gBAAgB,CAACI,aAAa,CAACC,cAAc,CAACC,IAAI,CAC7DC,CAAC,IACA,OAAOA,CAAC,KAAK,QAAQ,IACrBC,MAAM,CAACC,IAAI,CAACF,CAAC,CAAC,CAACG,IAAI,CAAEC,CAAC,IAAKA,CAAC,CAACT,WAAW,CAAC,CAAC,KAAKD,aAAa,CAChE,CAAC;EACD,IAAI,CAACE,KAAK,EAAE,OAAOS,SAAS;EAC5B,OAAO;IACLC,iBAAiB,EAAEV,KAAK,CAACW,mBAAmB;IAC5CC,WAAW,EAAEZ,KAAK,CAACa;EACrB,CAAC;AACH,CAAC;AAACC,OAAA,CAAAnB,gBAAA,GAAAA,gBAAA"}
|
|
@@ -9,12 +9,12 @@ Object.defineProperty(exports, "V1_0_0", {
|
|
|
9
9
|
return _v.CredentialsCatalogue;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
Object.defineProperty(exports, "
|
|
12
|
+
Object.defineProperty(exports, "V1_4_6", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
15
|
return _v2.CredentialsCatalogue;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
var _v = require("./v1.0.0");
|
|
19
|
-
var _v2 = require("./v1.
|
|
19
|
+
var _v2 = require("./v1.4.6");
|
|
20
20
|
//# sourceMappingURL=index.js.map
|