@pagopa/io-react-native-wallet 3.0.1 → 3.1.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/lib/commonjs/api/index.js +3 -0
- package/lib/commonjs/api/index.js.map +1 -1
- package/lib/commonjs/client/generated/wallet-provider.js +42 -4
- package/lib/commonjs/client/generated/wallet-provider.js.map +1 -1
- package/lib/commonjs/client/index.js +5 -3
- package/lib/commonjs/client/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/README.md +2 -0
- package/lib/commonjs/credential/issuance/api/IssuerConfig.js +2 -2
- package/lib/commonjs/credential/issuance/api/IssuerConfig.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +2 -0
- package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js +2 -0
- package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js +15 -8
- package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.3.3/mappers.js +0 -1
- package/lib/commonjs/credential/issuance/v1.3.3/mappers.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js +2 -2
- package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/04-verify-request-object.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.3.3/04-verify-request-object.js +4 -2
- package/lib/commonjs/credential/presentation/v1.3.3/04-verify-request-object.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js +37 -11
- package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js +16 -5
- package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js +4 -2
- package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.3.3/types.js +91 -30
- package/lib/commonjs/credentials-catalogue/v1.3.3/types.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js +4 -4
- package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js.map +1 -1
- package/lib/commonjs/index.js +3 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/trust/common/types.js +3 -3
- package/lib/commonjs/trust/common/types.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/types.js +6 -8
- package/lib/commonjs/trust/v1.0.0/types.js.map +1 -1
- package/lib/commonjs/trust/v1.3.3/types.js +1 -3
- package/lib/commonjs/trust/v1.3.3/types.js.map +1 -1
- package/lib/commonjs/utils/callbacks.js +2 -0
- package/lib/commonjs/utils/callbacks.js.map +1 -1
- package/lib/commonjs/utils/crypto.js +8 -0
- package/lib/commonjs/utils/crypto.js.map +1 -1
- package/lib/commonjs/utils/dpop.js +1 -1
- package/lib/commonjs/utils/dpop.js.map +1 -1
- package/lib/commonjs/utils/jwk.js +1 -1
- package/lib/commonjs/utils/jwk.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-attestation/README.md +13 -10
- package/lib/commonjs/wallet-instance-attestation/api/types.js +9 -4
- package/lib/commonjs/wallet-instance-attestation/api/types.js.map +1 -1
- 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 +4 -5
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js +4 -5
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js +5 -7
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js +73 -3
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/mappers.js +26 -0
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/mappers.js.map +1 -0
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js +13 -24
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js +35 -0
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/README.md +73 -0
- package/lib/commonjs/wallet-unit-attestation/api/index.js +6 -0
- package/lib/commonjs/wallet-unit-attestation/api/index.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/api/types.js +45 -0
- package/lib/commonjs/wallet-unit-attestation/api/types.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/index.js +20 -0
- package/lib/commonjs/wallet-unit-attestation/index.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js +11 -0
- package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js +17 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js +118 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js +13 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js +23 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js +20 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js.map +1 -0
- package/lib/module/api/index.js +3 -0
- package/lib/module/api/index.js.map +1 -1
- package/lib/module/client/generated/wallet-provider.js +33 -1
- package/lib/module/client/generated/wallet-provider.js.map +1 -1
- package/lib/module/client/index.js +4 -2
- package/lib/module/client/index.js.map +1 -1
- package/lib/module/credential/issuance/README.md +2 -0
- package/lib/module/credential/issuance/api/IssuerConfig.js +2 -2
- package/lib/module/credential/issuance/api/IssuerConfig.js.map +1 -1
- package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +2 -0
- package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
- package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js +2 -0
- package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js +16 -9
- package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
- package/lib/module/credential/issuance/v1.3.3/mappers.js +0 -1
- package/lib/module/credential/issuance/v1.3.3/mappers.js.map +1 -1
- package/lib/module/credential/presentation/api/RelyingPartyConfig.js +1 -1
- package/lib/module/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/04-verify-request-object.js.map +1 -1
- package/lib/module/credential/presentation/v1.3.3/04-verify-request-object.js +4 -2
- package/lib/module/credential/presentation/v1.3.3/04-verify-request-object.js.map +1 -1
- package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js +37 -11
- package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.0.0/mappers.js +16 -5
- package/lib/module/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.3.3/mappers.js +4 -2
- package/lib/module/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.3.3/types.js +91 -30
- package/lib/module/credentials-catalogue/v1.3.3/types.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.3.3/utils.js +4 -4
- package/lib/module/credentials-catalogue/v1.3.3/utils.js.map +1 -1
- package/lib/module/index.js +2 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/trust/common/types.js +3 -3
- package/lib/module/trust/common/types.js.map +1 -1
- package/lib/module/trust/v1.0.0/types.js +5 -7
- package/lib/module/trust/v1.0.0/types.js.map +1 -1
- package/lib/module/trust/v1.3.3/types.js +1 -3
- package/lib/module/trust/v1.3.3/types.js.map +1 -1
- package/lib/module/utils/callbacks.js +3 -0
- package/lib/module/utils/callbacks.js.map +1 -1
- package/lib/module/utils/crypto.js +8 -0
- package/lib/module/utils/crypto.js.map +1 -1
- package/lib/module/utils/dpop.js +1 -1
- package/lib/module/utils/dpop.js.map +1 -1
- package/lib/module/utils/jwk.js +1 -1
- package/lib/module/utils/jwk.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-attestation/README.md +13 -10
- package/lib/module/wallet-instance-attestation/api/types.js +7 -2
- package/lib/module/wallet-instance-attestation/api/types.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.0.0/index.js +3 -3
- 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 +4 -5
- 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 +3 -4
- package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/index.js +5 -7
- package/lib/module/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js +73 -3
- package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/mappers.js +19 -0
- package/lib/module/wallet-instance-attestation/v1.3.3/mappers.js.map +1 -0
- package/lib/module/wallet-instance-attestation/v1.3.3/types.js +10 -21
- package/lib/module/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/utils.js +29 -0
- package/lib/module/wallet-instance-attestation/v1.3.3/utils.js.map +1 -0
- package/lib/module/wallet-unit-attestation/README.md +73 -0
- package/lib/module/wallet-unit-attestation/api/index.js +2 -0
- package/lib/module/wallet-unit-attestation/api/index.js.map +1 -0
- package/lib/module/wallet-unit-attestation/api/types.js +36 -0
- package/lib/module/wallet-unit-attestation/api/types.js.map +1 -0
- package/lib/module/wallet-unit-attestation/index.js +3 -0
- package/lib/module/wallet-unit-attestation/index.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.0.0/index.js +4 -0
- package/lib/module/wallet-unit-attestation/v1.0.0/index.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/index.js +10 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/index.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js +112 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js +6 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/types.js +14 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/types.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/utils.js +15 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/utils.js.map +1 -0
- package/lib/typescript/api/index.d.ts +2 -0
- package/lib/typescript/api/index.d.ts.map +1 -1
- package/lib/typescript/client/generated/wallet-provider.d.ts +122 -358
- package/lib/typescript/client/generated/wallet-provider.d.ts.map +1 -1
- package/lib/typescript/client/index.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts +2 -0
- package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts +21 -357
- package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/types.d.ts +5 -41
- package/lib/typescript/credential/issuance/api/types.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/common/authorization.d.ts.map +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/05-obtain-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts +103 -106
- 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 +4 -26
- package/lib/typescript/credential/issuance/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/01-evaluate-issuer-trust.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/03-complete-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/05-obtain-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts +594 -2095
- package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/types.d.ts +1 -5
- package/lib/typescript/credential/issuance/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts +9 -154
- package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/api/types.d.ts +30 -106
- package/lib/typescript/credential/presentation/api/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils/dcql.d.ts +29 -244
- package/lib/typescript/credential/presentation/common/utils/dcql.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils/http.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/06-send-authorization-response.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts +56 -58
- 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 +13 -52
- 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.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/04-verify-request-object.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts +133 -525
- package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/sdkErrorMapper.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/types.d.ts +39 -3672
- package/lib/typescript/credential/presentation/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/utils.mdoc.d.ts.map +1 -1
- package/lib/typescript/credential/status/v1.0.0/mappers.d.ts +6 -6
- package/lib/typescript/credential/status/v1.0.0/types.d.ts +33 -659
- package/lib/typescript/credential/status/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +111 -525
- package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts +48 -20
- 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 +41 -737
- package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts +147 -62
- package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts +180 -941
- package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts +1 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +4 -3
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/mdoc/index.d.ts.map +1 -1
- package/lib/typescript/mdoc/utils.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/index.d.ts +15 -15
- package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/types.d.ts +33 -492
- package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/utils.d.ts.map +1 -1
- package/lib/typescript/trust/api/TrustAnchorConfig.d.ts +12 -201
- package/lib/typescript/trust/api/TrustAnchorConfig.d.ts.map +1 -1
- package/lib/typescript/trust/common/build-chain.d.ts.map +1 -1
- package/lib/typescript/trust/common/types.d.ts +32 -1198
- package/lib/typescript/trust/common/types.d.ts.map +1 -1
- package/lib/typescript/trust/common/utils.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/build-chain.d.ts +1 -53
- package/lib/typescript/trust/v1.0.0/build-chain.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/entities.d.ts +324 -347
- package/lib/typescript/trust/v1.0.0/entities.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/mappers.d.ts +31 -35
- package/lib/typescript/trust/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/types.d.ts +678 -12454
- package/lib/typescript/trust/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/verify-chain.d.ts +4 -56
- package/lib/typescript/trust/v1.0.0/verify-chain.d.ts.map +1 -1
- package/lib/typescript/trust/v1.3.3/entities.d.ts +43 -47
- package/lib/typescript/trust/v1.3.3/entities.d.ts.map +1 -1
- package/lib/typescript/trust/v1.3.3/types.d.ts +655 -14339
- package/lib/typescript/trust/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/utils/auth.d.ts +3 -25
- package/lib/typescript/utils/auth.d.ts.map +1 -1
- package/lib/typescript/utils/callbacks.d.ts.map +1 -1
- package/lib/typescript/utils/config.d.ts +3 -3
- 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 +18 -0
- package/lib/typescript/utils/crypto.d.ts.map +1 -1
- package/lib/typescript/utils/decoder.d.ts.map +1 -1
- package/lib/typescript/utils/dpop.d.ts +5 -12
- package/lib/typescript/utils/dpop.d.ts.map +1 -1
- package/lib/typescript/utils/errors.d.ts.map +1 -1
- package/lib/typescript/utils/jwk.d.ts +15 -175
- package/lib/typescript/utils/jwk.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/object.d.ts.map +1 -1
- package/lib/typescript/utils/par.d.ts +7 -45
- package/lib/typescript/utils/par.d.ts.map +1 -1
- package/lib/typescript/utils/parser.d.ts.map +1 -1
- package/lib/typescript/utils/pop.d.ts +1 -9
- package/lib/typescript/utils/pop.d.ts.map +1 -1
- package/lib/typescript/utils/string.d.ts.map +1 -1
- package/lib/typescript/utils/zod.d.ts +4 -4
- package/lib/typescript/utils/zod.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/api/index.d.ts +9 -9
- package/lib/typescript/wallet-instance-attestation/api/index.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/api/types.d.ts +19 -174
- package/lib/typescript/wallet-instance-attestation/api/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/common/types.d.ts +14 -273
- package/lib/typescript/wallet-instance-attestation/common/types.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 +5 -3
- package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts +39 -629
- package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/index.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/issuing.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts +90 -0
- package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts.map +1 -0
- package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts +29 -891
- package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/utils.d.ts +15 -0
- package/lib/typescript/wallet-instance-attestation/v1.3.3/utils.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/api/index.d.ts +39 -0
- package/lib/typescript/wallet-unit-attestation/api/index.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/api/types.d.ts +67 -0
- package/lib/typescript/wallet-unit-attestation/api/types.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/index.d.ts +4 -0
- package/lib/typescript/wallet-unit-attestation/index.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts +3 -0
- package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts +3 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts +3 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts +107 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts +69 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts +7 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts.map +1 -0
- package/package.json +8 -8
- package/src/api/index.ts +4 -0
- package/src/client/generated/wallet-provider.ts +44 -0
- package/src/client/index.ts +5 -1
- package/src/credential/issuance/README.md +2 -0
- package/src/credential/issuance/api/05-obtain-credential.ts +2 -0
- package/src/credential/issuance/api/IssuerConfig.ts +4 -2
- package/src/credential/issuance/v1.3.3/01-evaluate-issuer-trust.ts +8 -3
- package/src/credential/issuance/v1.3.3/03-complete-user-authorization.ts +2 -0
- package/src/credential/issuance/v1.3.3/05-obtain-credential.ts +25 -11
- package/src/credential/issuance/v1.3.3/mappers.ts +10 -9
- package/src/credential/presentation/api/RelyingPartyConfig.ts +1 -1
- package/src/credential/presentation/v1.0.0/04-verify-request-object.ts +2 -2
- package/src/credential/presentation/v1.3.3/04-verify-request-object.ts +4 -2
- package/src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts +42 -10
- package/src/credentials-catalogue/v1.0.0/mappers.ts +27 -12
- package/src/credentials-catalogue/v1.3.3/mappers.ts +10 -4
- package/src/credentials-catalogue/v1.3.3/types.ts +102 -29
- package/src/credentials-catalogue/v1.3.3/utils.ts +9 -4
- package/src/index.ts +11 -2
- package/src/trust/common/types.ts +3 -3
- package/src/trust/v1.0.0/types.ts +10 -10
- package/src/trust/v1.3.3/types.ts +4 -7
- package/src/utils/callbacks.ts +7 -1
- package/src/utils/crypto.ts +18 -0
- package/src/utils/dpop.ts +1 -1
- package/src/utils/jwk.ts +1 -1
- package/src/utils/mappers.ts +2 -2
- package/src/utils/zod.ts +5 -1
- package/src/wallet-instance-attestation/README.md +13 -10
- package/src/wallet-instance-attestation/api/index.ts +20 -13
- package/src/wallet-instance-attestation/api/types.ts +16 -4
- package/src/wallet-instance-attestation/v1.0.0/index.ts +3 -3
- package/src/wallet-instance-attestation/v1.0.0/issuing.ts +7 -9
- package/src/wallet-instance-attestation/v1.0.0/mappers.ts +7 -5
- package/src/wallet-instance-attestation/v1.3.3/index.ts +5 -7
- package/src/wallet-instance-attestation/v1.3.3/issuing.ts +107 -3
- package/src/wallet-instance-attestation/v1.3.3/mappers.ts +18 -0
- package/src/wallet-instance-attestation/v1.3.3/types.ts +16 -30
- package/src/wallet-instance-attestation/v1.3.3/utils.ts +35 -0
- package/src/wallet-unit-attestation/README.md +73 -0
- package/src/wallet-unit-attestation/api/index.ts +51 -0
- package/src/wallet-unit-attestation/api/types.ts +49 -0
- package/src/wallet-unit-attestation/index.ts +3 -0
- package/src/wallet-unit-attestation/v1.0.0/index.ts +5 -0
- package/src/wallet-unit-attestation/v1.3.3/index.ts +11 -0
- package/src/wallet-unit-attestation/v1.3.3/issuing.ts +147 -0
- package/src/wallet-unit-attestation/v1.3.3/mappers.ts +10 -0
- package/src/wallet-unit-attestation/v1.3.3/types.ts +21 -0
- package/src/wallet-unit-attestation/v1.3.3/utils.ts +14 -0
|
@@ -5,27 +5,11 @@ export declare const WalletInstanceAttestationRequestJwt: z.ZodObject<{
|
|
|
5
5
|
alg: z.ZodString;
|
|
6
6
|
kid: z.ZodString;
|
|
7
7
|
typ: z.ZodString;
|
|
8
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString
|
|
9
|
-
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString
|
|
10
|
-
},
|
|
11
|
-
alg: string;
|
|
12
|
-
kid: string;
|
|
13
|
-
typ: string;
|
|
14
|
-
x5c?: string[] | undefined;
|
|
15
|
-
trust_chain?: string[] | undefined;
|
|
16
|
-
}, {
|
|
17
|
-
alg: string;
|
|
18
|
-
kid: string;
|
|
19
|
-
typ: string;
|
|
20
|
-
x5c?: string[] | undefined;
|
|
21
|
-
trust_chain?: string[] | undefined;
|
|
22
|
-
}>, z.ZodObject<{
|
|
8
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23
11
|
typ: z.ZodLiteral<"wp-war+jwt">;
|
|
24
|
-
},
|
|
25
|
-
typ: "wp-war+jwt";
|
|
26
|
-
}, {
|
|
27
|
-
typ: "wp-war+jwt";
|
|
28
|
-
}>>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
29
13
|
payload: z.ZodIntersection<z.ZodObject<{
|
|
30
14
|
iss: z.ZodString;
|
|
31
15
|
iat: z.ZodNumber;
|
|
@@ -40,9 +24,12 @@ export declare const WalletInstanceAttestationRequestJwt: z.ZodObject<{
|
|
|
40
24
|
e: z.ZodOptional<z.ZodString>;
|
|
41
25
|
ext: z.ZodOptional<z.ZodBoolean>;
|
|
42
26
|
k: z.ZodOptional<z.ZodString>;
|
|
43
|
-
key_ops: z.ZodOptional<z.ZodArray<z.ZodString
|
|
27
|
+
key_ops: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44
28
|
kid: z.ZodOptional<z.ZodString>;
|
|
45
|
-
kty: z.
|
|
29
|
+
kty: z.ZodEnum<{
|
|
30
|
+
RSA: "RSA";
|
|
31
|
+
EC: "EC";
|
|
32
|
+
}>;
|
|
46
33
|
n: z.ZodOptional<z.ZodString>;
|
|
47
34
|
p: z.ZodOptional<z.ZodString>;
|
|
48
35
|
q: z.ZodOptional<z.ZodString>;
|
|
@@ -50,327 +37,33 @@ export declare const WalletInstanceAttestationRequestJwt: z.ZodObject<{
|
|
|
50
37
|
use: z.ZodOptional<z.ZodString>;
|
|
51
38
|
x: z.ZodOptional<z.ZodString>;
|
|
52
39
|
y: z.ZodOptional<z.ZodString>;
|
|
53
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString
|
|
40
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
41
|
x5t: z.ZodOptional<z.ZodString>;
|
|
55
42
|
"x5t#S256": z.ZodOptional<z.ZodString>;
|
|
56
43
|
x5u: z.ZodOptional<z.ZodString>;
|
|
57
|
-
},
|
|
58
|
-
kty: "RSA" | "EC";
|
|
59
|
-
alg?: string | undefined;
|
|
60
|
-
crv?: string | undefined;
|
|
61
|
-
d?: string | undefined;
|
|
62
|
-
dp?: string | undefined;
|
|
63
|
-
dq?: string | undefined;
|
|
64
|
-
e?: string | undefined;
|
|
65
|
-
ext?: boolean | undefined;
|
|
66
|
-
k?: string | undefined;
|
|
67
|
-
key_ops?: string[] | undefined;
|
|
68
|
-
kid?: string | undefined;
|
|
69
|
-
n?: string | undefined;
|
|
70
|
-
p?: string | undefined;
|
|
71
|
-
q?: string | undefined;
|
|
72
|
-
qi?: string | undefined;
|
|
73
|
-
use?: string | undefined;
|
|
74
|
-
x?: string | undefined;
|
|
75
|
-
y?: string | undefined;
|
|
76
|
-
x5c?: string[] | undefined;
|
|
77
|
-
x5t?: string | undefined;
|
|
78
|
-
"x5t#S256"?: string | undefined;
|
|
79
|
-
x5u?: string | undefined;
|
|
80
|
-
}, {
|
|
81
|
-
kty: "RSA" | "EC";
|
|
82
|
-
alg?: string | undefined;
|
|
83
|
-
crv?: string | undefined;
|
|
84
|
-
d?: string | undefined;
|
|
85
|
-
dp?: string | undefined;
|
|
86
|
-
dq?: string | undefined;
|
|
87
|
-
e?: string | undefined;
|
|
88
|
-
ext?: boolean | undefined;
|
|
89
|
-
k?: string | undefined;
|
|
90
|
-
key_ops?: string[] | undefined;
|
|
91
|
-
kid?: string | undefined;
|
|
92
|
-
n?: string | undefined;
|
|
93
|
-
p?: string | undefined;
|
|
94
|
-
q?: string | undefined;
|
|
95
|
-
qi?: string | undefined;
|
|
96
|
-
use?: string | undefined;
|
|
97
|
-
x?: string | undefined;
|
|
98
|
-
y?: string | undefined;
|
|
99
|
-
x5c?: string[] | undefined;
|
|
100
|
-
x5t?: string | undefined;
|
|
101
|
-
"x5t#S256"?: string | undefined;
|
|
102
|
-
x5u?: string | undefined;
|
|
103
|
-
}>, z.ZodObject<{
|
|
44
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
104
45
|
kid: z.ZodString;
|
|
105
|
-
},
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
kid: string;
|
|
109
|
-
}>>;
|
|
110
|
-
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
jwk: {
|
|
112
|
-
kty: "RSA" | "EC";
|
|
113
|
-
alg?: string | undefined;
|
|
114
|
-
crv?: string | undefined;
|
|
115
|
-
d?: string | undefined;
|
|
116
|
-
dp?: string | undefined;
|
|
117
|
-
dq?: string | undefined;
|
|
118
|
-
e?: string | undefined;
|
|
119
|
-
ext?: boolean | undefined;
|
|
120
|
-
k?: string | undefined;
|
|
121
|
-
key_ops?: string[] | undefined;
|
|
122
|
-
kid?: string | undefined;
|
|
123
|
-
n?: string | undefined;
|
|
124
|
-
p?: string | undefined;
|
|
125
|
-
q?: string | undefined;
|
|
126
|
-
qi?: string | undefined;
|
|
127
|
-
use?: string | undefined;
|
|
128
|
-
x?: string | undefined;
|
|
129
|
-
y?: string | undefined;
|
|
130
|
-
x5c?: string[] | undefined;
|
|
131
|
-
x5t?: string | undefined;
|
|
132
|
-
"x5t#S256"?: string | undefined;
|
|
133
|
-
x5u?: string | undefined;
|
|
134
|
-
} & {
|
|
135
|
-
kid: string;
|
|
136
|
-
};
|
|
137
|
-
}, {
|
|
138
|
-
jwk: {
|
|
139
|
-
kty: "RSA" | "EC";
|
|
140
|
-
alg?: string | undefined;
|
|
141
|
-
crv?: string | undefined;
|
|
142
|
-
d?: string | undefined;
|
|
143
|
-
dp?: string | undefined;
|
|
144
|
-
dq?: string | undefined;
|
|
145
|
-
e?: string | undefined;
|
|
146
|
-
ext?: boolean | undefined;
|
|
147
|
-
k?: string | undefined;
|
|
148
|
-
key_ops?: string[] | undefined;
|
|
149
|
-
kid?: string | undefined;
|
|
150
|
-
n?: string | undefined;
|
|
151
|
-
p?: string | undefined;
|
|
152
|
-
q?: string | undefined;
|
|
153
|
-
qi?: string | undefined;
|
|
154
|
-
use?: string | undefined;
|
|
155
|
-
x?: string | undefined;
|
|
156
|
-
y?: string | undefined;
|
|
157
|
-
x5c?: string[] | undefined;
|
|
158
|
-
x5t?: string | undefined;
|
|
159
|
-
"x5t#S256"?: string | undefined;
|
|
160
|
-
x5u?: string | undefined;
|
|
161
|
-
} & {
|
|
162
|
-
kid: string;
|
|
163
|
-
};
|
|
164
|
-
}>;
|
|
165
|
-
}, "strip", z.ZodTypeAny, {
|
|
166
|
-
iss: string;
|
|
167
|
-
iat: number;
|
|
168
|
-
exp: number;
|
|
169
|
-
cnf: {
|
|
170
|
-
jwk: {
|
|
171
|
-
kty: "RSA" | "EC";
|
|
172
|
-
alg?: string | undefined;
|
|
173
|
-
crv?: string | undefined;
|
|
174
|
-
d?: string | undefined;
|
|
175
|
-
dp?: string | undefined;
|
|
176
|
-
dq?: string | undefined;
|
|
177
|
-
e?: string | undefined;
|
|
178
|
-
ext?: boolean | undefined;
|
|
179
|
-
k?: string | undefined;
|
|
180
|
-
key_ops?: string[] | undefined;
|
|
181
|
-
kid?: string | undefined;
|
|
182
|
-
n?: string | undefined;
|
|
183
|
-
p?: string | undefined;
|
|
184
|
-
q?: string | undefined;
|
|
185
|
-
qi?: string | undefined;
|
|
186
|
-
use?: string | undefined;
|
|
187
|
-
x?: string | undefined;
|
|
188
|
-
y?: string | undefined;
|
|
189
|
-
x5c?: string[] | undefined;
|
|
190
|
-
x5t?: string | undefined;
|
|
191
|
-
"x5t#S256"?: string | undefined;
|
|
192
|
-
x5u?: string | undefined;
|
|
193
|
-
} & {
|
|
194
|
-
kid: string;
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
}, {
|
|
198
|
-
iss: string;
|
|
199
|
-
iat: number;
|
|
200
|
-
exp: number;
|
|
201
|
-
cnf: {
|
|
202
|
-
jwk: {
|
|
203
|
-
kty: "RSA" | "EC";
|
|
204
|
-
alg?: string | undefined;
|
|
205
|
-
crv?: string | undefined;
|
|
206
|
-
d?: string | undefined;
|
|
207
|
-
dp?: string | undefined;
|
|
208
|
-
dq?: string | undefined;
|
|
209
|
-
e?: string | undefined;
|
|
210
|
-
ext?: boolean | undefined;
|
|
211
|
-
k?: string | undefined;
|
|
212
|
-
key_ops?: string[] | undefined;
|
|
213
|
-
kid?: string | undefined;
|
|
214
|
-
n?: string | undefined;
|
|
215
|
-
p?: string | undefined;
|
|
216
|
-
q?: string | undefined;
|
|
217
|
-
qi?: string | undefined;
|
|
218
|
-
use?: string | undefined;
|
|
219
|
-
x?: string | undefined;
|
|
220
|
-
y?: string | undefined;
|
|
221
|
-
x5c?: string[] | undefined;
|
|
222
|
-
x5t?: string | undefined;
|
|
223
|
-
"x5t#S256"?: string | undefined;
|
|
224
|
-
x5u?: string | undefined;
|
|
225
|
-
} & {
|
|
226
|
-
kid: string;
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
}>, z.ZodObject<{
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
230
49
|
aud: z.ZodString;
|
|
231
50
|
nonce: z.ZodString;
|
|
232
51
|
hardware_signature: z.ZodString;
|
|
233
52
|
integrity_assertion: z.ZodString;
|
|
234
53
|
hardware_key_tag: z.ZodString;
|
|
235
|
-
},
|
|
236
|
-
|
|
237
|
-
hardware_key_tag: string;
|
|
238
|
-
aud: string;
|
|
239
|
-
hardware_signature: string;
|
|
240
|
-
integrity_assertion: string;
|
|
241
|
-
}, {
|
|
242
|
-
nonce: string;
|
|
243
|
-
hardware_key_tag: string;
|
|
244
|
-
aud: string;
|
|
245
|
-
hardware_signature: string;
|
|
246
|
-
integrity_assertion: string;
|
|
247
|
-
}>>;
|
|
248
|
-
}, "strip", z.ZodTypeAny, {
|
|
249
|
-
header: {
|
|
250
|
-
alg: string;
|
|
251
|
-
kid: string;
|
|
252
|
-
typ: string;
|
|
253
|
-
x5c?: string[] | undefined;
|
|
254
|
-
trust_chain?: string[] | undefined;
|
|
255
|
-
} & {
|
|
256
|
-
typ: "wp-war+jwt";
|
|
257
|
-
};
|
|
258
|
-
payload: {
|
|
259
|
-
iss: string;
|
|
260
|
-
iat: number;
|
|
261
|
-
exp: number;
|
|
262
|
-
cnf: {
|
|
263
|
-
jwk: {
|
|
264
|
-
kty: "RSA" | "EC";
|
|
265
|
-
alg?: string | undefined;
|
|
266
|
-
crv?: string | undefined;
|
|
267
|
-
d?: string | undefined;
|
|
268
|
-
dp?: string | undefined;
|
|
269
|
-
dq?: string | undefined;
|
|
270
|
-
e?: string | undefined;
|
|
271
|
-
ext?: boolean | undefined;
|
|
272
|
-
k?: string | undefined;
|
|
273
|
-
key_ops?: string[] | undefined;
|
|
274
|
-
kid?: string | undefined;
|
|
275
|
-
n?: string | undefined;
|
|
276
|
-
p?: string | undefined;
|
|
277
|
-
q?: string | undefined;
|
|
278
|
-
qi?: string | undefined;
|
|
279
|
-
use?: string | undefined;
|
|
280
|
-
x?: string | undefined;
|
|
281
|
-
y?: string | undefined;
|
|
282
|
-
x5c?: string[] | undefined;
|
|
283
|
-
x5t?: string | undefined;
|
|
284
|
-
"x5t#S256"?: string | undefined;
|
|
285
|
-
x5u?: string | undefined;
|
|
286
|
-
} & {
|
|
287
|
-
kid: string;
|
|
288
|
-
};
|
|
289
|
-
};
|
|
290
|
-
} & {
|
|
291
|
-
nonce: string;
|
|
292
|
-
hardware_key_tag: string;
|
|
293
|
-
aud: string;
|
|
294
|
-
hardware_signature: string;
|
|
295
|
-
integrity_assertion: string;
|
|
296
|
-
};
|
|
297
|
-
}, {
|
|
298
|
-
header: {
|
|
299
|
-
alg: string;
|
|
300
|
-
kid: string;
|
|
301
|
-
typ: string;
|
|
302
|
-
x5c?: string[] | undefined;
|
|
303
|
-
trust_chain?: string[] | undefined;
|
|
304
|
-
} & {
|
|
305
|
-
typ: "wp-war+jwt";
|
|
306
|
-
};
|
|
307
|
-
payload: {
|
|
308
|
-
iss: string;
|
|
309
|
-
iat: number;
|
|
310
|
-
exp: number;
|
|
311
|
-
cnf: {
|
|
312
|
-
jwk: {
|
|
313
|
-
kty: "RSA" | "EC";
|
|
314
|
-
alg?: string | undefined;
|
|
315
|
-
crv?: string | undefined;
|
|
316
|
-
d?: string | undefined;
|
|
317
|
-
dp?: string | undefined;
|
|
318
|
-
dq?: string | undefined;
|
|
319
|
-
e?: string | undefined;
|
|
320
|
-
ext?: boolean | undefined;
|
|
321
|
-
k?: string | undefined;
|
|
322
|
-
key_ops?: string[] | undefined;
|
|
323
|
-
kid?: string | undefined;
|
|
324
|
-
n?: string | undefined;
|
|
325
|
-
p?: string | undefined;
|
|
326
|
-
q?: string | undefined;
|
|
327
|
-
qi?: string | undefined;
|
|
328
|
-
use?: string | undefined;
|
|
329
|
-
x?: string | undefined;
|
|
330
|
-
y?: string | undefined;
|
|
331
|
-
x5c?: string[] | undefined;
|
|
332
|
-
x5t?: string | undefined;
|
|
333
|
-
"x5t#S256"?: string | undefined;
|
|
334
|
-
x5u?: string | undefined;
|
|
335
|
-
} & {
|
|
336
|
-
kid: string;
|
|
337
|
-
};
|
|
338
|
-
};
|
|
339
|
-
} & {
|
|
340
|
-
nonce: string;
|
|
341
|
-
hardware_key_tag: string;
|
|
342
|
-
aud: string;
|
|
343
|
-
hardware_signature: string;
|
|
344
|
-
integrity_assertion: string;
|
|
345
|
-
};
|
|
346
|
-
}>;
|
|
54
|
+
}, z.core.$strip>>;
|
|
55
|
+
}, z.core.$strip>;
|
|
347
56
|
export type WalletInstanceAttestationJwt = z.infer<typeof WalletInstanceAttestationJwt>;
|
|
348
57
|
export declare const WalletInstanceAttestationJwt: z.ZodObject<{
|
|
349
58
|
header: z.ZodIntersection<z.ZodObject<{
|
|
350
59
|
alg: z.ZodString;
|
|
351
60
|
kid: z.ZodString;
|
|
352
61
|
typ: z.ZodString;
|
|
353
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString
|
|
354
|
-
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString
|
|
355
|
-
},
|
|
356
|
-
alg: string;
|
|
357
|
-
kid: string;
|
|
358
|
-
typ: string;
|
|
359
|
-
x5c?: string[] | undefined;
|
|
360
|
-
trust_chain?: string[] | undefined;
|
|
361
|
-
}, {
|
|
362
|
-
alg: string;
|
|
363
|
-
kid: string;
|
|
364
|
-
typ: string;
|
|
365
|
-
x5c?: string[] | undefined;
|
|
366
|
-
trust_chain?: string[] | undefined;
|
|
367
|
-
}>, z.ZodObject<{
|
|
62
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
63
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
368
65
|
typ: z.ZodLiteral<"oauth-client-attestation+jwt">;
|
|
369
|
-
},
|
|
370
|
-
typ: "oauth-client-attestation+jwt";
|
|
371
|
-
}, {
|
|
372
|
-
typ: "oauth-client-attestation+jwt";
|
|
373
|
-
}>>;
|
|
66
|
+
}, z.core.$strip>>;
|
|
374
67
|
payload: z.ZodIntersection<z.ZodObject<{
|
|
375
68
|
iss: z.ZodString;
|
|
376
69
|
iat: z.ZodNumber;
|
|
@@ -385,9 +78,12 @@ export declare const WalletInstanceAttestationJwt: z.ZodObject<{
|
|
|
385
78
|
e: z.ZodOptional<z.ZodString>;
|
|
386
79
|
ext: z.ZodOptional<z.ZodBoolean>;
|
|
387
80
|
k: z.ZodOptional<z.ZodString>;
|
|
388
|
-
key_ops: z.ZodOptional<z.ZodArray<z.ZodString
|
|
81
|
+
key_ops: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
389
82
|
kid: z.ZodOptional<z.ZodString>;
|
|
390
|
-
kty: z.
|
|
83
|
+
kty: z.ZodEnum<{
|
|
84
|
+
RSA: "RSA";
|
|
85
|
+
EC: "EC";
|
|
86
|
+
}>;
|
|
391
87
|
n: z.ZodOptional<z.ZodString>;
|
|
392
88
|
p: z.ZodOptional<z.ZodString>;
|
|
393
89
|
q: z.ZodOptional<z.ZodString>;
|
|
@@ -395,316 +91,30 @@ export declare const WalletInstanceAttestationJwt: z.ZodObject<{
|
|
|
395
91
|
use: z.ZodOptional<z.ZodString>;
|
|
396
92
|
x: z.ZodOptional<z.ZodString>;
|
|
397
93
|
y: z.ZodOptional<z.ZodString>;
|
|
398
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString
|
|
94
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
399
95
|
x5t: z.ZodOptional<z.ZodString>;
|
|
400
96
|
"x5t#S256": z.ZodOptional<z.ZodString>;
|
|
401
97
|
x5u: z.ZodOptional<z.ZodString>;
|
|
402
|
-
},
|
|
403
|
-
kty: "RSA" | "EC";
|
|
404
|
-
alg?: string | undefined;
|
|
405
|
-
crv?: string | undefined;
|
|
406
|
-
d?: string | undefined;
|
|
407
|
-
dp?: string | undefined;
|
|
408
|
-
dq?: string | undefined;
|
|
409
|
-
e?: string | undefined;
|
|
410
|
-
ext?: boolean | undefined;
|
|
411
|
-
k?: string | undefined;
|
|
412
|
-
key_ops?: string[] | undefined;
|
|
413
|
-
kid?: string | undefined;
|
|
414
|
-
n?: string | undefined;
|
|
415
|
-
p?: string | undefined;
|
|
416
|
-
q?: string | undefined;
|
|
417
|
-
qi?: string | undefined;
|
|
418
|
-
use?: string | undefined;
|
|
419
|
-
x?: string | undefined;
|
|
420
|
-
y?: string | undefined;
|
|
421
|
-
x5c?: string[] | undefined;
|
|
422
|
-
x5t?: string | undefined;
|
|
423
|
-
"x5t#S256"?: string | undefined;
|
|
424
|
-
x5u?: string | undefined;
|
|
425
|
-
}, {
|
|
426
|
-
kty: "RSA" | "EC";
|
|
427
|
-
alg?: string | undefined;
|
|
428
|
-
crv?: string | undefined;
|
|
429
|
-
d?: string | undefined;
|
|
430
|
-
dp?: string | undefined;
|
|
431
|
-
dq?: string | undefined;
|
|
432
|
-
e?: string | undefined;
|
|
433
|
-
ext?: boolean | undefined;
|
|
434
|
-
k?: string | undefined;
|
|
435
|
-
key_ops?: string[] | undefined;
|
|
436
|
-
kid?: string | undefined;
|
|
437
|
-
n?: string | undefined;
|
|
438
|
-
p?: string | undefined;
|
|
439
|
-
q?: string | undefined;
|
|
440
|
-
qi?: string | undefined;
|
|
441
|
-
use?: string | undefined;
|
|
442
|
-
x?: string | undefined;
|
|
443
|
-
y?: string | undefined;
|
|
444
|
-
x5c?: string[] | undefined;
|
|
445
|
-
x5t?: string | undefined;
|
|
446
|
-
"x5t#S256"?: string | undefined;
|
|
447
|
-
x5u?: string | undefined;
|
|
448
|
-
}>, z.ZodObject<{
|
|
98
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
449
99
|
kid: z.ZodString;
|
|
450
|
-
},
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
kid: string;
|
|
454
|
-
}>>;
|
|
455
|
-
}, "strip", z.ZodTypeAny, {
|
|
456
|
-
jwk: {
|
|
457
|
-
kty: "RSA" | "EC";
|
|
458
|
-
alg?: string | undefined;
|
|
459
|
-
crv?: string | undefined;
|
|
460
|
-
d?: string | undefined;
|
|
461
|
-
dp?: string | undefined;
|
|
462
|
-
dq?: string | undefined;
|
|
463
|
-
e?: string | undefined;
|
|
464
|
-
ext?: boolean | undefined;
|
|
465
|
-
k?: string | undefined;
|
|
466
|
-
key_ops?: string[] | undefined;
|
|
467
|
-
kid?: string | undefined;
|
|
468
|
-
n?: string | undefined;
|
|
469
|
-
p?: string | undefined;
|
|
470
|
-
q?: string | undefined;
|
|
471
|
-
qi?: string | undefined;
|
|
472
|
-
use?: string | undefined;
|
|
473
|
-
x?: string | undefined;
|
|
474
|
-
y?: string | undefined;
|
|
475
|
-
x5c?: string[] | undefined;
|
|
476
|
-
x5t?: string | undefined;
|
|
477
|
-
"x5t#S256"?: string | undefined;
|
|
478
|
-
x5u?: string | undefined;
|
|
479
|
-
} & {
|
|
480
|
-
kid: string;
|
|
481
|
-
};
|
|
482
|
-
}, {
|
|
483
|
-
jwk: {
|
|
484
|
-
kty: "RSA" | "EC";
|
|
485
|
-
alg?: string | undefined;
|
|
486
|
-
crv?: string | undefined;
|
|
487
|
-
d?: string | undefined;
|
|
488
|
-
dp?: string | undefined;
|
|
489
|
-
dq?: string | undefined;
|
|
490
|
-
e?: string | undefined;
|
|
491
|
-
ext?: boolean | undefined;
|
|
492
|
-
k?: string | undefined;
|
|
493
|
-
key_ops?: string[] | undefined;
|
|
494
|
-
kid?: string | undefined;
|
|
495
|
-
n?: string | undefined;
|
|
496
|
-
p?: string | undefined;
|
|
497
|
-
q?: string | undefined;
|
|
498
|
-
qi?: string | undefined;
|
|
499
|
-
use?: string | undefined;
|
|
500
|
-
x?: string | undefined;
|
|
501
|
-
y?: string | undefined;
|
|
502
|
-
x5c?: string[] | undefined;
|
|
503
|
-
x5t?: string | undefined;
|
|
504
|
-
"x5t#S256"?: string | undefined;
|
|
505
|
-
x5u?: string | undefined;
|
|
506
|
-
} & {
|
|
507
|
-
kid: string;
|
|
508
|
-
};
|
|
509
|
-
}>;
|
|
510
|
-
}, "strip", z.ZodTypeAny, {
|
|
511
|
-
iss: string;
|
|
512
|
-
iat: number;
|
|
513
|
-
exp: number;
|
|
514
|
-
cnf: {
|
|
515
|
-
jwk: {
|
|
516
|
-
kty: "RSA" | "EC";
|
|
517
|
-
alg?: string | undefined;
|
|
518
|
-
crv?: string | undefined;
|
|
519
|
-
d?: string | undefined;
|
|
520
|
-
dp?: string | undefined;
|
|
521
|
-
dq?: string | undefined;
|
|
522
|
-
e?: string | undefined;
|
|
523
|
-
ext?: boolean | undefined;
|
|
524
|
-
k?: string | undefined;
|
|
525
|
-
key_ops?: string[] | undefined;
|
|
526
|
-
kid?: string | undefined;
|
|
527
|
-
n?: string | undefined;
|
|
528
|
-
p?: string | undefined;
|
|
529
|
-
q?: string | undefined;
|
|
530
|
-
qi?: string | undefined;
|
|
531
|
-
use?: string | undefined;
|
|
532
|
-
x?: string | undefined;
|
|
533
|
-
y?: string | undefined;
|
|
534
|
-
x5c?: string[] | undefined;
|
|
535
|
-
x5t?: string | undefined;
|
|
536
|
-
"x5t#S256"?: string | undefined;
|
|
537
|
-
x5u?: string | undefined;
|
|
538
|
-
} & {
|
|
539
|
-
kid: string;
|
|
540
|
-
};
|
|
541
|
-
};
|
|
542
|
-
}, {
|
|
543
|
-
iss: string;
|
|
544
|
-
iat: number;
|
|
545
|
-
exp: number;
|
|
546
|
-
cnf: {
|
|
547
|
-
jwk: {
|
|
548
|
-
kty: "RSA" | "EC";
|
|
549
|
-
alg?: string | undefined;
|
|
550
|
-
crv?: string | undefined;
|
|
551
|
-
d?: string | undefined;
|
|
552
|
-
dp?: string | undefined;
|
|
553
|
-
dq?: string | undefined;
|
|
554
|
-
e?: string | undefined;
|
|
555
|
-
ext?: boolean | undefined;
|
|
556
|
-
k?: string | undefined;
|
|
557
|
-
key_ops?: string[] | undefined;
|
|
558
|
-
kid?: string | undefined;
|
|
559
|
-
n?: string | undefined;
|
|
560
|
-
p?: string | undefined;
|
|
561
|
-
q?: string | undefined;
|
|
562
|
-
qi?: string | undefined;
|
|
563
|
-
use?: string | undefined;
|
|
564
|
-
x?: string | undefined;
|
|
565
|
-
y?: string | undefined;
|
|
566
|
-
x5c?: string[] | undefined;
|
|
567
|
-
x5t?: string | undefined;
|
|
568
|
-
"x5t#S256"?: string | undefined;
|
|
569
|
-
x5u?: string | undefined;
|
|
570
|
-
} & {
|
|
571
|
-
kid: string;
|
|
572
|
-
};
|
|
573
|
-
};
|
|
574
|
-
}>, z.ZodObject<{
|
|
100
|
+
}, z.core.$strip>>;
|
|
101
|
+
}, z.core.$strip>;
|
|
102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
575
103
|
sub: z.ZodString;
|
|
576
104
|
aal: z.ZodString;
|
|
577
105
|
wallet_link: z.ZodOptional<z.ZodString>;
|
|
578
106
|
wallet_name: z.ZodOptional<z.ZodString>;
|
|
579
|
-
},
|
|
580
|
-
|
|
581
|
-
aal: string;
|
|
582
|
-
wallet_link?: string | undefined;
|
|
583
|
-
wallet_name?: string | undefined;
|
|
584
|
-
}, {
|
|
585
|
-
sub: string;
|
|
586
|
-
aal: string;
|
|
587
|
-
wallet_link?: string | undefined;
|
|
588
|
-
wallet_name?: string | undefined;
|
|
589
|
-
}>>;
|
|
590
|
-
}, "strip", z.ZodTypeAny, {
|
|
591
|
-
header: {
|
|
592
|
-
alg: string;
|
|
593
|
-
kid: string;
|
|
594
|
-
typ: string;
|
|
595
|
-
x5c?: string[] | undefined;
|
|
596
|
-
trust_chain?: string[] | undefined;
|
|
597
|
-
} & {
|
|
598
|
-
typ: "oauth-client-attestation+jwt";
|
|
599
|
-
};
|
|
600
|
-
payload: {
|
|
601
|
-
iss: string;
|
|
602
|
-
iat: number;
|
|
603
|
-
exp: number;
|
|
604
|
-
cnf: {
|
|
605
|
-
jwk: {
|
|
606
|
-
kty: "RSA" | "EC";
|
|
607
|
-
alg?: string | undefined;
|
|
608
|
-
crv?: string | undefined;
|
|
609
|
-
d?: string | undefined;
|
|
610
|
-
dp?: string | undefined;
|
|
611
|
-
dq?: string | undefined;
|
|
612
|
-
e?: string | undefined;
|
|
613
|
-
ext?: boolean | undefined;
|
|
614
|
-
k?: string | undefined;
|
|
615
|
-
key_ops?: string[] | undefined;
|
|
616
|
-
kid?: string | undefined;
|
|
617
|
-
n?: string | undefined;
|
|
618
|
-
p?: string | undefined;
|
|
619
|
-
q?: string | undefined;
|
|
620
|
-
qi?: string | undefined;
|
|
621
|
-
use?: string | undefined;
|
|
622
|
-
x?: string | undefined;
|
|
623
|
-
y?: string | undefined;
|
|
624
|
-
x5c?: string[] | undefined;
|
|
625
|
-
x5t?: string | undefined;
|
|
626
|
-
"x5t#S256"?: string | undefined;
|
|
627
|
-
x5u?: string | undefined;
|
|
628
|
-
} & {
|
|
629
|
-
kid: string;
|
|
630
|
-
};
|
|
631
|
-
};
|
|
632
|
-
} & {
|
|
633
|
-
sub: string;
|
|
634
|
-
aal: string;
|
|
635
|
-
wallet_link?: string | undefined;
|
|
636
|
-
wallet_name?: string | undefined;
|
|
637
|
-
};
|
|
638
|
-
}, {
|
|
639
|
-
header: {
|
|
640
|
-
alg: string;
|
|
641
|
-
kid: string;
|
|
642
|
-
typ: string;
|
|
643
|
-
x5c?: string[] | undefined;
|
|
644
|
-
trust_chain?: string[] | undefined;
|
|
645
|
-
} & {
|
|
646
|
-
typ: "oauth-client-attestation+jwt";
|
|
647
|
-
};
|
|
648
|
-
payload: {
|
|
649
|
-
iss: string;
|
|
650
|
-
iat: number;
|
|
651
|
-
exp: number;
|
|
652
|
-
cnf: {
|
|
653
|
-
jwk: {
|
|
654
|
-
kty: "RSA" | "EC";
|
|
655
|
-
alg?: string | undefined;
|
|
656
|
-
crv?: string | undefined;
|
|
657
|
-
d?: string | undefined;
|
|
658
|
-
dp?: string | undefined;
|
|
659
|
-
dq?: string | undefined;
|
|
660
|
-
e?: string | undefined;
|
|
661
|
-
ext?: boolean | undefined;
|
|
662
|
-
k?: string | undefined;
|
|
663
|
-
key_ops?: string[] | undefined;
|
|
664
|
-
kid?: string | undefined;
|
|
665
|
-
n?: string | undefined;
|
|
666
|
-
p?: string | undefined;
|
|
667
|
-
q?: string | undefined;
|
|
668
|
-
qi?: string | undefined;
|
|
669
|
-
use?: string | undefined;
|
|
670
|
-
x?: string | undefined;
|
|
671
|
-
y?: string | undefined;
|
|
672
|
-
x5c?: string[] | undefined;
|
|
673
|
-
x5t?: string | undefined;
|
|
674
|
-
"x5t#S256"?: string | undefined;
|
|
675
|
-
x5u?: string | undefined;
|
|
676
|
-
} & {
|
|
677
|
-
kid: string;
|
|
678
|
-
};
|
|
679
|
-
};
|
|
680
|
-
} & {
|
|
681
|
-
sub: string;
|
|
682
|
-
aal: string;
|
|
683
|
-
wallet_link?: string | undefined;
|
|
684
|
-
wallet_name?: string | undefined;
|
|
685
|
-
};
|
|
686
|
-
}>;
|
|
107
|
+
}, z.core.$strip>>;
|
|
108
|
+
}, z.core.$strip>;
|
|
687
109
|
export type WalletAttestationResponse = z.infer<typeof WalletAttestationResponse>;
|
|
688
110
|
export declare const WalletAttestationResponse: z.ZodObject<{
|
|
689
111
|
wallet_attestations: z.ZodArray<z.ZodObject<{
|
|
690
112
|
wallet_attestation: z.ZodString;
|
|
691
|
-
format: z.ZodEnum<
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
}>, "many">;
|
|
699
|
-
}, "strip", z.ZodTypeAny, {
|
|
700
|
-
wallet_attestations: {
|
|
701
|
-
format: "jwt" | "dc+sd-jwt" | "mso_mdoc";
|
|
702
|
-
wallet_attestation: string;
|
|
703
|
-
}[];
|
|
704
|
-
}, {
|
|
705
|
-
wallet_attestations: {
|
|
706
|
-
format: "jwt" | "dc+sd-jwt" | "mso_mdoc";
|
|
707
|
-
wallet_attestation: string;
|
|
708
|
-
}[];
|
|
709
|
-
}>;
|
|
113
|
+
format: z.ZodEnum<{
|
|
114
|
+
jwt: "jwt";
|
|
115
|
+
"dc+sd-jwt": "dc+sd-jwt";
|
|
116
|
+
mso_mdoc: "mso_mdoc";
|
|
117
|
+
}>;
|
|
118
|
+
}, z.core.$strip>>;
|
|
119
|
+
}, z.core.$strip>;
|
|
710
120
|
//# sourceMappingURL=types.d.ts.map
|