@credo-ts/core 0.6.0-pr-2392-20251010173905 → 0.6.0-pr-2457-20251016083534
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/build/agent/Agent.d.mts +1 -1
- package/build/agent/Agent.d.mts.map +1 -1
- package/build/agent/Agent.d.ts +1 -1
- package/build/agent/Agent.d.ts.map +1 -1
- package/build/agent/Agent.js +2 -2
- package/build/agent/Agent.mjs +2 -2
- package/build/agent/Agent.mjs.map +1 -1
- package/build/agent/AgentConfig.d.mts +1 -1
- package/build/agent/AgentConfig.d.mts.map +1 -1
- package/build/agent/AgentConfig.d.ts +1 -1
- package/build/agent/AgentConfig.d.ts.map +1 -1
- package/build/agent/AgentConfig.mjs.map +1 -1
- package/build/agent/AgentModules.d.mts +4 -4
- package/build/agent/AgentModules.d.mts.map +1 -1
- package/build/agent/AgentModules.d.ts +4 -4
- package/build/agent/AgentModules.d.ts.map +1 -1
- package/build/agent/AgentModules.mjs.map +1 -1
- package/build/agent/BaseAgent.d.mts +4 -4
- package/build/agent/BaseAgent.d.ts +4 -4
- package/build/agent/BaseAgent.mjs.map +1 -1
- package/build/agent/EventEmitter.d.mts +1 -1
- package/build/agent/EventEmitter.d.mts.map +1 -1
- package/build/agent/EventEmitter.d.ts +1 -1
- package/build/agent/EventEmitter.d.ts.map +1 -1
- package/build/agent/EventEmitter.mjs.map +1 -1
- package/build/agent/context/AgentContext.d.mts.map +1 -1
- package/build/agent/context/AgentContext.d.ts.map +1 -1
- package/build/agent/context/AgentContext.mjs.map +1 -1
- package/build/agent/context/DefaultAgentContextProvider.d.mts.map +1 -1
- package/build/agent/context/DefaultAgentContextProvider.d.ts.map +1 -1
- package/build/agent/context/DefaultAgentContextProvider.js +1 -1
- package/build/agent/context/DefaultAgentContextProvider.mjs +1 -1
- package/build/agent/context/DefaultAgentContextProvider.mjs.map +1 -1
- package/build/crypto/JwsService.d.mts +5 -5
- package/build/crypto/JwsService.d.mts.map +1 -1
- package/build/crypto/JwsService.d.ts +5 -5
- package/build/crypto/JwsService.d.ts.map +1 -1
- package/build/crypto/JwsService.js +3 -3
- package/build/crypto/JwsService.mjs +3 -3
- package/build/crypto/JwsService.mjs.map +1 -1
- package/build/crypto/KmsKeyPair.js +1 -5
- package/build/crypto/KmsKeyPair.mjs +1 -2
- package/build/crypto/KmsKeyPair.mjs.map +1 -1
- package/build/crypto/hashes/Hasher.d.mts +4 -2
- package/build/crypto/hashes/Hasher.d.mts.map +1 -1
- package/build/crypto/hashes/Hasher.d.ts +4 -2
- package/build/crypto/hashes/Hasher.d.ts.map +1 -1
- package/build/crypto/hashes/Hasher.js +8 -3
- package/build/crypto/hashes/Hasher.mjs +8 -3
- package/build/crypto/hashes/Hasher.mjs.map +1 -1
- package/build/crypto/hashes/IHash.d.mts +3 -1
- package/build/crypto/hashes/IHash.d.mts.map +1 -1
- package/build/crypto/hashes/IHash.d.ts +3 -1
- package/build/crypto/hashes/IHash.d.ts.map +1 -1
- package/build/crypto/hashes/Sha1.d.mts +2 -1
- package/build/crypto/hashes/Sha1.d.mts.map +1 -1
- package/build/crypto/hashes/Sha1.d.ts +2 -1
- package/build/crypto/hashes/Sha1.d.ts.map +1 -1
- package/build/crypto/hashes/Sha1.js +3 -3
- package/build/crypto/hashes/Sha1.mjs +1 -1
- package/build/crypto/hashes/Sha1.mjs.map +1 -1
- package/build/crypto/hashes/Sha256.d.mts +2 -1
- package/build/crypto/hashes/Sha256.d.mts.map +1 -1
- package/build/crypto/hashes/Sha256.d.ts +2 -1
- package/build/crypto/hashes/Sha256.d.ts.map +1 -1
- package/build/crypto/hashes/Sha256.js +3 -3
- package/build/crypto/hashes/Sha256.mjs +1 -1
- package/build/crypto/hashes/Sha256.mjs.map +1 -1
- package/build/crypto/hashes/Sha384.d.mts +10 -0
- package/build/crypto/hashes/Sha384.d.mts.map +1 -0
- package/build/crypto/hashes/Sha384.d.ts +10 -0
- package/build/crypto/hashes/Sha384.d.ts.map +1 -0
- package/build/crypto/hashes/Sha384.js +15 -0
- package/build/crypto/hashes/Sha384.mjs +14 -0
- package/build/crypto/hashes/Sha384.mjs.map +1 -0
- package/build/crypto/hashes/Sha512.d.mts +2 -1
- package/build/crypto/hashes/Sha512.d.mts.map +1 -1
- package/build/crypto/hashes/Sha512.d.ts +2 -1
- package/build/crypto/hashes/Sha512.d.ts.map +1 -1
- package/build/crypto/hashes/Sha512.js +3 -3
- package/build/crypto/hashes/Sha512.mjs +1 -1
- package/build/crypto/hashes/Sha512.mjs.map +1 -1
- package/build/crypto/hashes/index.js +1 -0
- package/build/crypto/hashes/index.mjs +1 -0
- package/build/crypto/index.js +1 -0
- package/build/crypto/index.mjs +1 -0
- package/build/crypto/jose/jwt/Jwt.d.mts.map +1 -1
- package/build/crypto/jose/jwt/Jwt.d.ts.map +1 -1
- package/build/crypto/jose/jwt/Jwt.js +1 -1
- package/build/crypto/jose/jwt/Jwt.mjs +1 -1
- package/build/crypto/jose/jwt/Jwt.mjs.map +1 -1
- package/build/crypto/webcrypto/CredoSubtle.d.mts.map +1 -1
- package/build/crypto/webcrypto/CredoSubtle.d.ts.map +1 -1
- package/build/crypto/webcrypto/CredoSubtle.js +1 -1
- package/build/crypto/webcrypto/CredoSubtle.mjs +1 -1
- package/build/crypto/webcrypto/CredoSubtle.mjs.map +1 -1
- package/build/crypto/webcrypto/CredoWalletWebCrypto.d.mts +7 -7
- package/build/crypto/webcrypto/CredoWalletWebCrypto.d.mts.map +1 -1
- package/build/crypto/webcrypto/CredoWalletWebCrypto.d.ts +7 -7
- package/build/crypto/webcrypto/CredoWalletWebCrypto.d.ts.map +1 -1
- package/build/crypto/webcrypto/CredoWalletWebCrypto.js +6 -9
- package/build/crypto/webcrypto/CredoWalletWebCrypto.mjs +5 -6
- package/build/crypto/webcrypto/CredoWalletWebCrypto.mjs.map +1 -1
- package/build/crypto/webcrypto/CredoWebCrypto.d.mts.map +1 -1
- package/build/crypto/webcrypto/CredoWebCrypto.d.ts.map +1 -1
- package/build/crypto/webcrypto/CredoWebCrypto.js +1 -1
- package/build/crypto/webcrypto/CredoWebCrypto.mjs +1 -1
- package/build/crypto/webcrypto/CredoWebCrypto.mjs.map +1 -1
- package/build/crypto/webcrypto/CredoWebCryptoKey.d.mts.map +1 -1
- package/build/crypto/webcrypto/CredoWebCryptoKey.d.ts.map +1 -1
- package/build/crypto/webcrypto/CredoWebCryptoKey.mjs.map +1 -1
- package/build/crypto/webcrypto/providers/CredoEcdsaProvider.js +4 -2
- package/build/crypto/webcrypto/providers/CredoEcdsaProvider.mjs +4 -2
- package/build/crypto/webcrypto/providers/CredoEcdsaProvider.mjs.map +1 -1
- package/build/crypto/webcrypto/providers/CredoEd25519Provider.js +4 -2
- package/build/crypto/webcrypto/providers/CredoEd25519Provider.mjs +4 -2
- package/build/crypto/webcrypto/providers/CredoEd25519Provider.mjs.map +1 -1
- package/build/crypto/webcrypto/providers/CredoSha1Provider.mjs.map +1 -1
- package/build/crypto/webcrypto/providers/CredoSha256Provider.mjs.map +1 -1
- package/build/crypto/webcrypto/providers/index.js +1 -1
- package/build/crypto/webcrypto/providers/index.mjs +1 -1
- package/build/crypto/webcrypto/types.d.mts +2 -1
- package/build/crypto/webcrypto/types.d.mts.map +1 -1
- package/build/crypto/webcrypto/types.d.ts +2 -1
- package/build/crypto/webcrypto/types.d.ts.map +1 -1
- package/build/crypto/webcrypto/types.mjs.map +1 -1
- package/build/crypto/webcrypto/utils/keyAlgorithmConversion.js +4 -4
- package/build/crypto/webcrypto/utils/keyAlgorithmConversion.mjs +4 -4
- package/build/crypto/webcrypto/utils/keyAlgorithmConversion.mjs.map +1 -1
- package/build/error/index.js +2 -2
- package/build/error/index.mjs +2 -2
- package/build/index.d.mts +161 -157
- package/build/index.d.mts.map +1 -1
- package/build/index.d.ts +161 -157
- package/build/index.d.ts.map +1 -1
- package/build/index.js +67 -62
- package/build/index.mjs +66 -62
- package/build/index.mjs.map +1 -1
- package/build/logger/BaseLogger.mjs.map +1 -1
- package/build/logger/ConsoleLogger.mjs.map +1 -1
- package/build/logger/Logger.mjs.map +1 -1
- package/build/modules/cache/CacheModule.mjs.map +1 -1
- package/build/modules/cache/CachedStorageService.mjs.map +1 -1
- package/build/modules/cache/InMemoryLruCache.d.mts.map +1 -1
- package/build/modules/cache/InMemoryLruCache.d.ts.map +1 -1
- package/build/modules/cache/InMemoryLruCache.js +1 -1
- package/build/modules/cache/InMemoryLruCache.mjs +1 -1
- package/build/modules/cache/InMemoryLruCache.mjs.map +1 -1
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.d.mts.map +1 -1
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.d.ts.map +1 -1
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.mjs.map +1 -1
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.d.mts.map +1 -1
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.d.ts.map +1 -1
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.js +1 -1
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.mjs +1 -1
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.mjs.map +1 -1
- package/build/modules/dcql/DcqlModule.d.mts.map +1 -1
- package/build/modules/dcql/DcqlModule.d.ts.map +1 -1
- package/build/modules/dcql/DcqlModule.mjs.map +1 -1
- package/build/modules/dcql/DcqlService.d.mts.map +1 -1
- package/build/modules/dcql/DcqlService.d.ts.map +1 -1
- package/build/modules/dcql/DcqlService.js +2 -2
- package/build/modules/dcql/DcqlService.mjs +2 -2
- package/build/modules/dcql/DcqlService.mjs.map +1 -1
- package/build/modules/dcql/models/DcqlCredentialsForRequest.d.mts +3 -3
- package/build/modules/dcql/models/DcqlCredentialsForRequest.d.ts +3 -3
- package/build/modules/dcql/models/index.d.mts +2 -2
- package/build/modules/dcql/models/index.d.mts.map +1 -1
- package/build/modules/dcql/models/index.d.ts +2 -2
- package/build/modules/dcql/models/index.d.ts.map +1 -1
- package/build/modules/dcql/utils/DcqlPresentationsToCreate.d.mts +2 -2
- package/build/modules/dcql/utils/DcqlPresentationsToCreate.d.ts +2 -2
- package/build/modules/dids/DidsApi.d.mts +2 -2
- package/build/modules/dids/DidsApi.d.mts.map +1 -1
- package/build/modules/dids/DidsApi.d.ts +2 -2
- package/build/modules/dids/DidsApi.d.ts.map +1 -1
- package/build/modules/dids/DidsApi.js +1 -1
- package/build/modules/dids/DidsApi.mjs +1 -1
- package/build/modules/dids/DidsApi.mjs.map +1 -1
- package/build/modules/dids/DidsModule.d.mts.map +1 -1
- package/build/modules/dids/DidsModule.d.ts.map +1 -1
- package/build/modules/dids/DidsModule.mjs.map +1 -1
- package/build/modules/dids/DidsModuleConfig.js +2 -2
- package/build/modules/dids/DidsModuleConfig.mjs +2 -2
- package/build/modules/dids/domain/DidDocument.d.mts +1 -1
- package/build/modules/dids/domain/DidDocument.d.mts.map +1 -1
- package/build/modules/dids/domain/DidDocument.d.ts +1 -1
- package/build/modules/dids/domain/DidDocument.d.ts.map +1 -1
- package/build/modules/dids/domain/DidDocument.js +6 -6
- package/build/modules/dids/domain/DidDocument.mjs +6 -6
- package/build/modules/dids/domain/DidDocument.mjs.map +1 -1
- package/build/modules/dids/domain/DidDocumentBuilder.d.mts.map +1 -1
- package/build/modules/dids/domain/DidDocumentBuilder.d.ts.map +1 -1
- package/build/modules/dids/domain/DidDocumentBuilder.mjs.map +1 -1
- package/build/modules/dids/domain/index.js +11 -11
- package/build/modules/dids/domain/index.mjs +11 -11
- package/build/modules/dids/domain/key-type/ed25519.mjs.map +1 -1
- package/build/modules/dids/domain/key-type/keyDidJsonWebKey.mjs.map +1 -1
- package/build/modules/dids/domain/key-type/keyDidMapping.d.mts +1 -1
- package/build/modules/dids/domain/key-type/keyDidMapping.d.mts.map +1 -1
- package/build/modules/dids/domain/key-type/keyDidMapping.d.ts +1 -1
- package/build/modules/dids/domain/key-type/keyDidMapping.d.ts.map +1 -1
- package/build/modules/dids/domain/key-type/keyDidMapping.mjs.map +1 -1
- package/build/modules/dids/domain/key-type/secp256k1.js +1 -1
- package/build/modules/dids/domain/key-type/secp256k1.mjs +1 -1
- package/build/modules/dids/domain/key-type/secp256k1.mjs.map +1 -1
- package/build/modules/dids/domain/key-type/x25519.js +1 -1
- package/build/modules/dids/domain/key-type/x25519.mjs +1 -1
- package/build/modules/dids/domain/key-type/x25519.mjs.map +1 -1
- package/build/modules/dids/domain/keyDidDocument.js +1 -1
- package/build/modules/dids/domain/keyDidDocument.mjs +1 -1
- package/build/modules/dids/domain/keyDidDocument.mjs.map +1 -1
- package/build/modules/dids/domain/parse.d.mts.map +1 -1
- package/build/modules/dids/domain/parse.d.ts.map +1 -1
- package/build/modules/dids/domain/parse.mjs.map +1 -1
- package/build/modules/dids/domain/service/DidCommV2Service.d.mts +1 -1
- package/build/modules/dids/domain/service/DidCommV2Service.d.mts.map +1 -1
- package/build/modules/dids/domain/service/DidCommV2Service.d.ts +1 -1
- package/build/modules/dids/domain/service/DidCommV2Service.d.ts.map +1 -1
- package/build/modules/dids/domain/service/DidCommV2Service.mjs.map +1 -1
- package/build/modules/dids/domain/service/DidDocumentService.mjs.map +1 -1
- package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.d.mts +1 -1
- package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.d.ts +1 -1
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.d.mts +1 -1
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.d.mts.map +1 -1
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.d.ts +1 -1
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.d.ts.map +1 -1
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.mjs.map +1 -1
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.d.mts +1 -1
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.d.mts.map +1 -1
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.d.ts +1 -1
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.d.ts.map +1 -1
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.mjs.map +1 -1
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.d.mts +1 -1
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.d.mts.map +1 -1
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.d.ts +1 -1
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.d.ts.map +1 -1
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.mjs.map +1 -1
- package/build/modules/dids/domain/verificationMethod/Multikey.d.mts +1 -1
- package/build/modules/dids/domain/verificationMethod/Multikey.d.mts.map +1 -1
- package/build/modules/dids/domain/verificationMethod/Multikey.d.ts +1 -1
- package/build/modules/dids/domain/verificationMethod/Multikey.d.ts.map +1 -1
- package/build/modules/dids/domain/verificationMethod/Multikey.mjs.map +1 -1
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.d.mts.map +1 -1
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.d.ts.map +1 -1
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.mjs.map +1 -1
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.d.mts +1 -1
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.d.mts.map +1 -1
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.d.ts +1 -1
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.d.ts.map +1 -1
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.mjs.map +1 -1
- package/build/modules/dids/domain/verificationMethod/index.js +3 -3
- package/build/modules/dids/domain/verificationMethod/index.mjs +3 -3
- package/build/modules/dids/findMatchingEd25519Key.d.mts +1 -1
- package/build/modules/dids/findMatchingEd25519Key.d.ts +1 -1
- package/build/modules/dids/findMatchingEd25519Key.js +1 -1
- package/build/modules/dids/findMatchingEd25519Key.mjs +1 -1
- package/build/modules/dids/findMatchingEd25519Key.mjs.map +1 -1
- package/build/modules/dids/helpers.mjs.map +1 -1
- package/build/modules/dids/index.js +15 -15
- package/build/modules/dids/index.mjs +15 -15
- package/build/modules/dids/methods/index.js +5 -5
- package/build/modules/dids/methods/index.mjs +5 -5
- package/build/modules/dids/methods/jwk/DidJwk.d.mts +1 -1
- package/build/modules/dids/methods/jwk/DidJwk.d.ts +1 -1
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.d.mts +2 -2
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.d.mts.map +1 -1
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.d.ts +2 -2
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.d.ts.map +1 -1
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.js +1 -1
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.mjs +1 -1
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.mjs.map +1 -1
- package/build/modules/dids/methods/jwk/didJwkDidDocument.js +1 -1
- package/build/modules/dids/methods/jwk/didJwkDidDocument.mjs +1 -1
- package/build/modules/dids/methods/jwk/didJwkDidDocument.mjs.map +1 -1
- package/build/modules/dids/methods/key/DidKey.d.mts +1 -1
- package/build/modules/dids/methods/key/DidKey.d.ts +1 -1
- package/build/modules/dids/methods/key/KeyDidRegistrar.d.mts +2 -2
- package/build/modules/dids/methods/key/KeyDidRegistrar.d.mts.map +1 -1
- package/build/modules/dids/methods/key/KeyDidRegistrar.d.ts +2 -2
- package/build/modules/dids/methods/key/KeyDidRegistrar.d.ts.map +1 -1
- package/build/modules/dids/methods/key/KeyDidRegistrar.js +1 -1
- package/build/modules/dids/methods/key/KeyDidRegistrar.mjs +1 -1
- package/build/modules/dids/methods/key/KeyDidRegistrar.mjs.map +1 -1
- package/build/modules/dids/methods/peer/PeerDidRegistrar.d.mts +2 -2
- package/build/modules/dids/methods/peer/PeerDidRegistrar.d.mts.map +1 -1
- package/build/modules/dids/methods/peer/PeerDidRegistrar.d.ts +2 -2
- package/build/modules/dids/methods/peer/PeerDidRegistrar.d.ts.map +1 -1
- package/build/modules/dids/methods/peer/PeerDidRegistrar.mjs.map +1 -1
- package/build/modules/dids/methods/peer/PeerDidResolver.d.mts.map +1 -1
- package/build/modules/dids/methods/peer/PeerDidResolver.d.ts.map +1 -1
- package/build/modules/dids/methods/peer/PeerDidResolver.mjs.map +1 -1
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.d.mts +1 -1
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.d.mts.map +1 -1
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.d.ts +1 -1
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.d.ts.map +1 -1
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.js +1 -1
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.mjs +1 -1
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.mjs.map +1 -1
- package/build/modules/dids/methods/peer/index.js +1 -1
- package/build/modules/dids/methods/peer/index.mjs +1 -1
- package/build/modules/dids/methods/peer/peerDidNumAlgo0.mjs.map +1 -1
- package/build/modules/dids/methods/peer/peerDidNumAlgo1.js +1 -1
- package/build/modules/dids/methods/peer/peerDidNumAlgo1.mjs +1 -1
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.js +2 -2
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.mjs +2 -2
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.mjs.map +1 -1
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.js +7 -8
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.mjs +4 -4
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.mjs.map +1 -1
- package/build/modules/dids/methods/web/WebDidResolver.d.mts.map +1 -1
- package/build/modules/dids/methods/web/WebDidResolver.d.ts.map +1 -1
- package/build/modules/dids/methods/web/WebDidResolver.mjs.map +1 -1
- package/build/modules/dids/repository/DidRecord.d.mts.map +1 -1
- package/build/modules/dids/repository/DidRecord.d.ts.map +1 -1
- package/build/modules/dids/repository/DidRecord.js +1 -1
- package/build/modules/dids/repository/DidRecord.mjs +1 -1
- package/build/modules/dids/repository/DidRecord.mjs.map +1 -1
- package/build/modules/dids/repository/DidRepository.d.mts +3 -3
- package/build/modules/dids/repository/DidRepository.d.mts.map +1 -1
- package/build/modules/dids/repository/DidRepository.d.ts +3 -3
- package/build/modules/dids/repository/DidRepository.d.ts.map +1 -1
- package/build/modules/dids/repository/DidRepository.js +1 -1
- package/build/modules/dids/repository/DidRepository.mjs +1 -1
- package/build/modules/dids/repository/DidRepository.mjs.map +1 -1
- package/build/modules/dids/services/DidRegistrarService.d.mts.map +1 -1
- package/build/modules/dids/services/DidRegistrarService.d.ts.map +1 -1
- package/build/modules/dids/services/DidRegistrarService.mjs.map +1 -1
- package/build/modules/dids/services/DidResolverService.d.mts.map +1 -1
- package/build/modules/dids/services/DidResolverService.d.ts.map +1 -1
- package/build/modules/dids/services/DidResolverService.js +1 -1
- package/build/modules/dids/services/DidResolverService.mjs +1 -1
- package/build/modules/dids/services/DidResolverService.mjs.map +1 -1
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.d.mts.map +1 -1
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.d.ts.map +1 -1
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.mjs.map +1 -1
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.d.mts +5 -5
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.d.mts.map +1 -1
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.d.ts +5 -5
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.d.ts.map +1 -1
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js +9 -5
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.mjs +9 -5
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.mjs.map +1 -1
- package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.mts +3 -3
- package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.ts +3 -3
- package/build/modules/dif-presentation-exchange/models/index.d.mts +4 -4
- package/build/modules/dif-presentation-exchange/models/index.d.ts +4 -4
- package/build/modules/dif-presentation-exchange/utils/credentialSelection.mjs.map +1 -1
- package/build/modules/dif-presentation-exchange/utils/index.js +1 -1
- package/build/modules/dif-presentation-exchange/utils/index.mjs +1 -1
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.d.mts +5 -5
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.d.mts.map +1 -1
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.d.ts +5 -5
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.d.ts.map +1 -1
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.js +1 -1
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.mjs +1 -1
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.mjs.map +1 -1
- package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.mjs.map +1 -1
- package/build/modules/dif-presentation-exchange/utils/transform.mjs.map +1 -1
- package/build/modules/generic-records/GenericRecordsApi.d.mts +1 -1
- package/build/modules/generic-records/GenericRecordsApi.d.mts.map +1 -1
- package/build/modules/generic-records/GenericRecordsApi.d.ts +1 -1
- package/build/modules/generic-records/GenericRecordsApi.d.ts.map +1 -1
- package/build/modules/generic-records/GenericRecordsApi.mjs.map +1 -1
- package/build/modules/generic-records/services/GenericRecordService.d.mts.map +1 -1
- package/build/modules/generic-records/services/GenericRecordService.d.ts.map +1 -1
- package/build/modules/generic-records/services/GenericRecordService.mjs.map +1 -1
- package/build/modules/kms/KeyManagementApi.d.mts +7 -7
- package/build/modules/kms/KeyManagementApi.d.mts.map +1 -1
- package/build/modules/kms/KeyManagementApi.d.ts +7 -7
- package/build/modules/kms/KeyManagementApi.d.ts.map +1 -1
- package/build/modules/kms/KeyManagementApi.js +7 -7
- package/build/modules/kms/KeyManagementApi.mjs +7 -7
- package/build/modules/kms/KeyManagementApi.mjs.map +1 -1
- package/build/modules/kms/KeyManagementModule.d.mts +2 -2
- package/build/modules/kms/KeyManagementModule.d.mts.map +1 -1
- package/build/modules/kms/KeyManagementModule.d.ts +2 -2
- package/build/modules/kms/KeyManagementModule.d.ts.map +1 -1
- package/build/modules/kms/KeyManagementModule.mjs.map +1 -1
- package/build/modules/kms/KeyManagementModuleConfig.d.mts +0 -1
- package/build/modules/kms/KeyManagementModuleConfig.d.mts.map +1 -1
- package/build/modules/kms/KeyManagementModuleConfig.d.ts +0 -1
- package/build/modules/kms/KeyManagementModuleConfig.d.ts.map +1 -1
- package/build/modules/kms/KeyManagementModuleConfig.js +0 -6
- package/build/modules/kms/KeyManagementModuleConfig.mjs +0 -6
- package/build/modules/kms/KeyManagementModuleConfig.mjs.map +1 -1
- package/build/modules/kms/KeyManagementService.d.mts +6 -6
- package/build/modules/kms/KeyManagementService.d.ts +6 -6
- package/build/modules/kms/error/KeyManagementKeyNotFoundError.d.mts +1 -1
- package/build/modules/kms/error/KeyManagementKeyNotFoundError.d.ts +1 -1
- package/build/modules/kms/error/KeyManagementKeyNotFoundError.js +5 -2
- package/build/modules/kms/error/KeyManagementKeyNotFoundError.mjs +5 -2
- package/build/modules/kms/error/KeyManagementKeyNotFoundError.mjs.map +1 -1
- package/build/modules/kms/index.d.mts +25 -25
- package/build/modules/kms/index.d.ts +25 -25
- package/build/modules/kms/index.js +10 -10
- package/build/modules/kms/index.mjs +10 -10
- package/build/modules/kms/index.mjs.map +1 -1
- package/build/modules/kms/jwk/PublicJwk.d.mts +3 -4
- package/build/modules/kms/jwk/PublicJwk.d.mts.map +1 -1
- package/build/modules/kms/jwk/PublicJwk.d.ts +3 -4
- package/build/modules/kms/jwk/PublicJwk.d.ts.map +1 -1
- package/build/modules/kms/jwk/PublicJwk.js +2 -5
- package/build/modules/kms/jwk/PublicJwk.mjs +2 -5
- package/build/modules/kms/jwk/PublicJwk.mjs.map +1 -1
- package/build/modules/kms/jwk/alg/encryption.d.mts +1 -1
- package/build/modules/kms/jwk/alg/encryption.d.mts.map +1 -1
- package/build/modules/kms/jwk/alg/encryption.d.ts +1 -1
- package/build/modules/kms/jwk/alg/encryption.d.ts.map +1 -1
- package/build/modules/kms/jwk/alg/encryption.mjs.map +1 -1
- package/build/modules/kms/jwk/alg/index.js +1 -1
- package/build/modules/kms/jwk/alg/index.mjs +1 -1
- package/build/modules/kms/jwk/alg/keyDerivation.d.mts +1 -1
- package/build/modules/kms/jwk/alg/keyDerivation.d.mts.map +1 -1
- package/build/modules/kms/jwk/alg/keyDerivation.d.ts +1 -1
- package/build/modules/kms/jwk/alg/keyDerivation.d.ts.map +1 -1
- package/build/modules/kms/jwk/alg/keyDerivation.mjs.map +1 -1
- package/build/modules/kms/jwk/alg/signing.d.mts +1 -1
- package/build/modules/kms/jwk/alg/signing.d.mts.map +1 -1
- package/build/modules/kms/jwk/alg/signing.d.ts +1 -1
- package/build/modules/kms/jwk/alg/signing.d.ts.map +1 -1
- package/build/modules/kms/jwk/alg/signing.mjs.map +1 -1
- package/build/modules/kms/jwk/assertSupported.d.mts +2 -2
- package/build/modules/kms/jwk/assertSupported.d.ts +2 -2
- package/build/modules/kms/jwk/humanDescription.d.mts.map +1 -1
- package/build/modules/kms/jwk/humanDescription.d.ts.map +1 -1
- package/build/modules/kms/jwk/humanDescription.mjs.map +1 -1
- package/build/modules/kms/jwk/index.js +8 -8
- package/build/modules/kms/jwk/index.mjs +8 -8
- package/build/modules/kms/jwk/jwkThumbprint.js +2 -2
- package/build/modules/kms/jwk/jwkThumbprint.mjs +2 -2
- package/build/modules/kms/jwk/jwkThumbprint.mjs.map +1 -1
- package/build/modules/kms/jwk/keyOps.d.mts.map +1 -1
- package/build/modules/kms/jwk/keyOps.d.ts.map +1 -1
- package/build/modules/kms/jwk/keyOps.js +1 -1
- package/build/modules/kms/jwk/keyOps.mjs +1 -1
- package/build/modules/kms/jwk/keyOps.mjs.map +1 -1
- package/build/modules/kms/jwk/knownJwk.d.mts +1 -1
- package/build/modules/kms/jwk/knownJwk.d.mts.map +1 -1
- package/build/modules/kms/jwk/knownJwk.d.ts +1 -1
- package/build/modules/kms/jwk/knownJwk.d.ts.map +1 -1
- package/build/modules/kms/jwk/knownJwk.js +1 -1
- package/build/modules/kms/jwk/knownJwk.mjs +1 -1
- package/build/modules/kms/jwk/knownJwk.mjs.map +1 -1
- package/build/modules/kms/jwk/kty/PublicJwk.d.mts +3 -2
- package/build/modules/kms/jwk/kty/PublicJwk.d.mts.map +1 -1
- package/build/modules/kms/jwk/kty/PublicJwk.d.ts +3 -2
- package/build/modules/kms/jwk/kty/PublicJwk.d.ts.map +1 -1
- package/build/modules/kms/jwk/kty/ec/P256PublicJwk.d.mts +7 -6
- package/build/modules/kms/jwk/kty/ec/P256PublicJwk.d.mts.map +1 -1
- package/build/modules/kms/jwk/kty/ec/P256PublicJwk.d.ts +7 -6
- package/build/modules/kms/jwk/kty/ec/P256PublicJwk.d.ts.map +1 -1
- package/build/modules/kms/jwk/kty/ec/P256PublicJwk.mjs.map +1 -1
- package/build/modules/kms/jwk/kty/ec/P384PublicJwk.d.mts +7 -6
- package/build/modules/kms/jwk/kty/ec/P384PublicJwk.d.mts.map +1 -1
- package/build/modules/kms/jwk/kty/ec/P384PublicJwk.d.ts +7 -6
- package/build/modules/kms/jwk/kty/ec/P384PublicJwk.d.ts.map +1 -1
- package/build/modules/kms/jwk/kty/ec/P384PublicJwk.mjs.map +1 -1
- package/build/modules/kms/jwk/kty/ec/P521PublicJwk.d.mts +7 -6
- package/build/modules/kms/jwk/kty/ec/P521PublicJwk.d.mts.map +1 -1
- package/build/modules/kms/jwk/kty/ec/P521PublicJwk.d.ts +7 -6
- package/build/modules/kms/jwk/kty/ec/P521PublicJwk.d.ts.map +1 -1
- package/build/modules/kms/jwk/kty/ec/P521PublicJwk.mjs.map +1 -1
- package/build/modules/kms/jwk/kty/ec/Secp256k1PublicJwk.d.mts +7 -6
- package/build/modules/kms/jwk/kty/ec/Secp256k1PublicJwk.d.mts.map +1 -1
- package/build/modules/kms/jwk/kty/ec/Secp256k1PublicJwk.d.ts +7 -6
- package/build/modules/kms/jwk/kty/ec/Secp256k1PublicJwk.d.ts.map +1 -1
- package/build/modules/kms/jwk/kty/ec/Secp256k1PublicJwk.mjs.map +1 -1
- package/build/modules/kms/jwk/kty/ec/ecPublicKey.mjs.map +1 -1
- package/build/modules/kms/jwk/kty/ec/ecSignature.d.mts +3 -2
- package/build/modules/kms/jwk/kty/ec/ecSignature.d.mts.map +1 -1
- package/build/modules/kms/jwk/kty/ec/ecSignature.d.ts +3 -2
- package/build/modules/kms/jwk/kty/ec/ecSignature.d.ts.map +1 -1
- package/build/modules/kms/jwk/kty/ec/ecSignature.js +2 -2
- package/build/modules/kms/jwk/kty/ec/ecSignature.mjs +2 -2
- package/build/modules/kms/jwk/kty/ec/ecSignature.mjs.map +1 -1
- package/build/modules/kms/jwk/kty/index.js +1 -1
- package/build/modules/kms/jwk/kty/index.mjs +1 -1
- package/build/modules/kms/jwk/kty/okp/Ed25519PublicJwk.d.mts +6 -5
- package/build/modules/kms/jwk/kty/okp/Ed25519PublicJwk.d.mts.map +1 -1
- package/build/modules/kms/jwk/kty/okp/Ed25519PublicJwk.d.ts +6 -5
- package/build/modules/kms/jwk/kty/okp/Ed25519PublicJwk.d.ts.map +1 -1
- package/build/modules/kms/jwk/kty/okp/Ed25519PublicJwk.mjs.map +1 -1
- package/build/modules/kms/jwk/kty/okp/X25519PublicJwk.d.mts +6 -5
- package/build/modules/kms/jwk/kty/okp/X25519PublicJwk.d.mts.map +1 -1
- package/build/modules/kms/jwk/kty/okp/X25519PublicJwk.d.ts +6 -5
- package/build/modules/kms/jwk/kty/okp/X25519PublicJwk.d.ts.map +1 -1
- package/build/modules/kms/jwk/kty/okp/X25519PublicJwk.mjs.map +1 -1
- package/build/modules/kms/jwk/kty/okp/okpPublicKey.mjs.map +1 -1
- package/build/modules/kms/jwk/kty/rsa/RsaPublicJwk.d.mts +8 -7
- package/build/modules/kms/jwk/kty/rsa/RsaPublicJwk.d.mts.map +1 -1
- package/build/modules/kms/jwk/kty/rsa/RsaPublicJwk.d.ts +8 -7
- package/build/modules/kms/jwk/kty/rsa/RsaPublicJwk.d.ts.map +1 -1
- package/build/modules/kms/jwk/kty/rsa/RsaPublicJwk.mjs.map +1 -1
- package/build/modules/kms/jwk/kty/rsa/rsaPublicKey.mjs.map +1 -1
- package/build/modules/kms/options/KmsCreateKeyOptions.d.mts +1 -1
- package/build/modules/kms/options/KmsCreateKeyOptions.d.mts.map +1 -1
- package/build/modules/kms/options/KmsCreateKeyOptions.d.ts +1 -1
- package/build/modules/kms/options/KmsCreateKeyOptions.d.ts.map +1 -1
- package/build/modules/kms/options/KmsCreateKeyOptions.mjs.map +1 -1
- package/build/modules/kms/options/KmsDecryptOptions.d.mts +169 -168
- package/build/modules/kms/options/KmsDecryptOptions.d.mts.map +1 -1
- package/build/modules/kms/options/KmsDecryptOptions.d.ts +169 -168
- package/build/modules/kms/options/KmsDecryptOptions.d.ts.map +1 -1
- package/build/modules/kms/options/KmsDecryptOptions.js +13 -12
- package/build/modules/kms/options/KmsDecryptOptions.mjs +13 -12
- package/build/modules/kms/options/KmsDecryptOptions.mjs.map +1 -1
- package/build/modules/kms/options/KmsEncryptOptions.d.mts +123 -122
- package/build/modules/kms/options/KmsEncryptOptions.d.mts.map +1 -1
- package/build/modules/kms/options/KmsEncryptOptions.d.ts +123 -122
- package/build/modules/kms/options/KmsEncryptOptions.d.ts.map +1 -1
- package/build/modules/kms/options/KmsEncryptOptions.js +13 -12
- package/build/modules/kms/options/KmsEncryptOptions.mjs +13 -12
- package/build/modules/kms/options/KmsEncryptOptions.mjs.map +1 -1
- package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.d.mts +49 -48
- package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.d.mts.map +1 -1
- package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.d.ts +49 -48
- package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.d.ts.map +1 -1
- package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.js +3 -2
- package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.mjs +3 -2
- package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.mjs.map +1 -1
- package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.d.mts +25 -24
- package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.d.mts.map +1 -1
- package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.d.ts +25 -24
- package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.d.ts.map +1 -1
- package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.js +5 -4
- package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.mjs +5 -4
- package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.mjs.map +1 -1
- package/build/modules/kms/options/KmsOperation.d.mts +3 -3
- package/build/modules/kms/options/KmsOperation.d.ts +3 -3
- package/build/modules/kms/options/KmsOperation.mjs.map +1 -1
- package/build/modules/kms/options/KmsSignOptions.d.mts +5 -4
- package/build/modules/kms/options/KmsSignOptions.d.mts.map +1 -1
- package/build/modules/kms/options/KmsSignOptions.d.ts +5 -4
- package/build/modules/kms/options/KmsSignOptions.d.ts.map +1 -1
- package/build/modules/kms/options/KmsSignOptions.js +2 -1
- package/build/modules/kms/options/KmsSignOptions.mjs +2 -1
- package/build/modules/kms/options/KmsSignOptions.mjs.map +1 -1
- package/build/modules/kms/options/KmsVerifyOptions.d.mts +7 -6
- package/build/modules/kms/options/KmsVerifyOptions.d.mts.map +1 -1
- package/build/modules/kms/options/KmsVerifyOptions.d.ts +7 -6
- package/build/modules/kms/options/KmsVerifyOptions.d.ts.map +1 -1
- package/build/modules/kms/options/KmsVerifyOptions.js +3 -2
- package/build/modules/kms/options/KmsVerifyOptions.mjs +3 -2
- package/build/modules/kms/options/KmsVerifyOptions.mjs.map +1 -1
- package/build/modules/mdoc/Mdoc.d.mts +1 -3
- package/build/modules/mdoc/Mdoc.d.mts.map +1 -1
- package/build/modules/mdoc/Mdoc.d.ts +1 -3
- package/build/modules/mdoc/Mdoc.d.ts.map +1 -1
- package/build/modules/mdoc/Mdoc.js +1 -7
- package/build/modules/mdoc/Mdoc.mjs +1 -7
- package/build/modules/mdoc/Mdoc.mjs.map +1 -1
- package/build/modules/mdoc/MdocApi.d.mts +1 -1
- package/build/modules/mdoc/MdocApi.d.mts.map +1 -1
- package/build/modules/mdoc/MdocApi.d.ts +1 -1
- package/build/modules/mdoc/MdocApi.d.ts.map +1 -1
- package/build/modules/mdoc/MdocApi.mjs.map +1 -1
- package/build/modules/mdoc/MdocContext.js +9 -11
- package/build/modules/mdoc/MdocContext.mjs +6 -7
- package/build/modules/mdoc/MdocContext.mjs.map +1 -1
- package/build/modules/mdoc/MdocDeviceResponse.d.mts +1 -1
- package/build/modules/mdoc/MdocDeviceResponse.d.mts.map +1 -1
- package/build/modules/mdoc/MdocDeviceResponse.d.ts +1 -1
- package/build/modules/mdoc/MdocDeviceResponse.d.ts.map +1 -1
- package/build/modules/mdoc/MdocDeviceResponse.mjs.map +1 -1
- package/build/modules/mdoc/MdocModule.d.mts.map +1 -1
- package/build/modules/mdoc/MdocModule.d.ts.map +1 -1
- package/build/modules/mdoc/MdocModule.mjs.map +1 -1
- package/build/modules/mdoc/MdocOptions.d.mts +4 -3
- package/build/modules/mdoc/MdocOptions.d.mts.map +1 -1
- package/build/modules/mdoc/MdocOptions.d.ts +4 -3
- package/build/modules/mdoc/MdocOptions.d.ts.map +1 -1
- package/build/modules/mdoc/MdocService.d.mts +1 -1
- package/build/modules/mdoc/MdocService.d.mts.map +1 -1
- package/build/modules/mdoc/MdocService.d.ts +1 -2
- package/build/modules/mdoc/MdocService.d.ts.map +1 -1
- package/build/modules/mdoc/MdocService.mjs.map +1 -1
- package/build/modules/mdoc/index.d.mts +3 -3
- package/build/modules/mdoc/index.d.ts +3 -3
- package/build/modules/mdoc/repository/MdocRecord.d.mts +1 -1
- package/build/modules/mdoc/repository/MdocRecord.d.mts.map +1 -1
- package/build/modules/mdoc/repository/MdocRecord.d.ts +1 -1
- package/build/modules/mdoc/repository/MdocRecord.d.ts.map +1 -1
- package/build/modules/mdoc/repository/MdocRecord.mjs.map +1 -1
- package/build/modules/sd-jwt-vc/SdJwtVcApi.d.mts +2 -4
- package/build/modules/sd-jwt-vc/SdJwtVcApi.d.mts.map +1 -1
- package/build/modules/sd-jwt-vc/SdJwtVcApi.d.ts +2 -4
- package/build/modules/sd-jwt-vc/SdJwtVcApi.d.ts.map +1 -1
- package/build/modules/sd-jwt-vc/SdJwtVcApi.mjs.map +1 -1
- package/build/modules/sd-jwt-vc/SdJwtVcModule.d.mts.map +1 -1
- package/build/modules/sd-jwt-vc/SdJwtVcModule.d.ts.map +1 -1
- package/build/modules/sd-jwt-vc/SdJwtVcModule.mjs.map +1 -1
- package/build/modules/sd-jwt-vc/SdJwtVcOptions.d.mts +5 -1
- package/build/modules/sd-jwt-vc/SdJwtVcOptions.d.mts.map +1 -1
- package/build/modules/sd-jwt-vc/SdJwtVcOptions.d.ts +5 -1
- package/build/modules/sd-jwt-vc/SdJwtVcOptions.d.ts.map +1 -1
- package/build/modules/sd-jwt-vc/SdJwtVcService.d.mts +4 -5
- package/build/modules/sd-jwt-vc/SdJwtVcService.d.mts.map +1 -1
- package/build/modules/sd-jwt-vc/SdJwtVcService.d.ts +4 -5
- package/build/modules/sd-jwt-vc/SdJwtVcService.d.ts.map +1 -1
- package/build/modules/sd-jwt-vc/SdJwtVcService.js +40 -48
- package/build/modules/sd-jwt-vc/SdJwtVcService.mjs +41 -49
- package/build/modules/sd-jwt-vc/SdJwtVcService.mjs.map +1 -1
- package/build/modules/sd-jwt-vc/decodeSdJwtVc.mjs.map +1 -1
- package/build/modules/sd-jwt-vc/disclosureFrame.mjs.map +1 -1
- package/build/modules/sd-jwt-vc/index.js +1 -1
- package/build/modules/sd-jwt-vc/index.mjs +1 -1
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.d.mts +1 -1
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.d.mts.map +1 -1
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.d.ts +1 -1
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.d.ts.map +1 -1
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.mjs.map +1 -1
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.d.mts +1 -1
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.d.ts +1 -1
- package/build/modules/sd-jwt-vc/utils.js +1 -1
- package/build/modules/sd-jwt-vc/utils.mjs +1 -1
- package/build/modules/sd-jwt-vc/utils.mjs.map +1 -1
- package/build/modules/vc/W3cCredentialService.d.mts +2 -2
- package/build/modules/vc/W3cCredentialService.d.mts.map +1 -1
- package/build/modules/vc/W3cCredentialService.d.ts +2 -2
- package/build/modules/vc/W3cCredentialService.d.ts.map +1 -1
- package/build/modules/vc/W3cCredentialService.mjs.map +1 -1
- package/build/modules/vc/W3cCredentialServiceOptions.d.mts +2 -2
- package/build/modules/vc/W3cCredentialServiceOptions.d.ts +2 -2
- package/build/modules/vc/W3cCredentialsApi.d.mts +1 -1
- package/build/modules/vc/W3cCredentialsApi.d.mts.map +1 -1
- package/build/modules/vc/W3cCredentialsApi.d.ts +1 -1
- package/build/modules/vc/W3cCredentialsApi.d.ts.map +1 -1
- package/build/modules/vc/W3cCredentialsApi.mjs.map +1 -1
- package/build/modules/vc/W3cCredentialsModule.d.mts.map +1 -1
- package/build/modules/vc/W3cCredentialsModule.d.ts.map +1 -1
- package/build/modules/vc/W3cCredentialsModule.mjs.map +1 -1
- package/build/modules/vc/W3cV2CredentialService.d.mts +3 -3
- package/build/modules/vc/W3cV2CredentialService.d.ts +3 -3
- package/build/modules/vc/W3cV2CredentialService.js +1 -1
- package/build/modules/vc/W3cV2CredentialService.mjs +1 -1
- package/build/modules/vc/W3cV2CredentialService.mjs.map +1 -1
- package/build/modules/vc/W3cV2CredentialServiceOptions.d.mts +3 -3
- package/build/modules/vc/W3cV2CredentialServiceOptions.d.mts.map +1 -1
- package/build/modules/vc/W3cV2CredentialServiceOptions.d.ts +3 -3
- package/build/modules/vc/W3cV2CredentialServiceOptions.d.ts.map +1 -1
- package/build/modules/vc/W3cV2CredentialsApi.d.mts +1 -1
- package/build/modules/vc/W3cV2CredentialsApi.d.mts.map +1 -1
- package/build/modules/vc/W3cV2CredentialsApi.d.ts +1 -1
- package/build/modules/vc/W3cV2CredentialsApi.d.ts.map +1 -1
- package/build/modules/vc/W3cV2CredentialsApi.mjs.map +1 -1
- package/build/modules/vc/W3cV2CredentialsModule.mjs.map +1 -1
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.d.mts +2 -2
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.d.mts.map +1 -1
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.d.ts +2 -2
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.d.ts.map +1 -1
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.js +6 -6
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.mjs +6 -6
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.mjs.map +1 -1
- package/build/modules/vc/data-integrity/deriveProof.d.mts +1 -1
- package/build/modules/vc/data-integrity/deriveProof.d.ts +1 -1
- package/build/modules/vc/data-integrity/deriveProof.js +1 -1
- package/build/modules/vc/data-integrity/deriveProof.mjs +1 -1
- package/build/modules/vc/data-integrity/deriveProof.mjs.map +1 -1
- package/build/modules/vc/data-integrity/index.js +8 -8
- package/build/modules/vc/data-integrity/index.mjs +8 -8
- package/build/modules/vc/data-integrity/jsonldUtil.d.mts.map +1 -1
- package/build/modules/vc/data-integrity/jsonldUtil.d.ts.map +1 -1
- package/build/modules/vc/data-integrity/jsonldUtil.js +1 -1
- package/build/modules/vc/data-integrity/jsonldUtil.mjs +1 -1
- package/build/modules/vc/data-integrity/jsonldUtil.mjs.map +1 -1
- package/build/modules/vc/data-integrity/libraries/contexts/defaultContexts.js +1 -1
- package/build/modules/vc/data-integrity/libraries/contexts/defaultContexts.mjs +1 -1
- package/build/modules/vc/data-integrity/libraries/contexts/defaultContexts.mjs.map +1 -1
- package/build/modules/vc/data-integrity/libraries/documentLoader.d.mts.map +1 -1
- package/build/modules/vc/data-integrity/libraries/documentLoader.d.ts.map +1 -1
- package/build/modules/vc/data-integrity/libraries/documentLoader.mjs.map +1 -1
- package/build/modules/vc/data-integrity/libraries/index.js +1 -1
- package/build/modules/vc/data-integrity/libraries/index.mjs +1 -1
- package/build/modules/vc/data-integrity/libraries/jsonld-signatures.d.mts.map +1 -1
- package/build/modules/vc/data-integrity/libraries/jsonld-signatures.d.ts.map +1 -1
- package/build/modules/vc/data-integrity/libraries/jsonld-signatures.mjs.map +1 -1
- package/build/modules/vc/data-integrity/libraries/jsonld.mjs.map +1 -1
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.mjs.map +1 -1
- package/build/modules/vc/data-integrity/libraries/vc.d.mts.map +1 -1
- package/build/modules/vc/data-integrity/libraries/vc.d.ts.map +1 -1
- package/build/modules/vc/data-integrity/libraries/vc.js +1 -1
- package/build/modules/vc/data-integrity/libraries/vc.mjs +1 -1
- package/build/modules/vc/data-integrity/libraries/vc.mjs.map +1 -1
- package/build/modules/vc/data-integrity/models/IAnonCredsDataIntegrityService.d.mts +2 -2
- package/build/modules/vc/data-integrity/models/IAnonCredsDataIntegrityService.d.ts +2 -2
- package/build/modules/vc/data-integrity/models/LdKeyPair.d.mts +5 -4
- package/build/modules/vc/data-integrity/models/LdKeyPair.d.mts.map +1 -1
- package/build/modules/vc/data-integrity/models/LdKeyPair.d.ts +5 -4
- package/build/modules/vc/data-integrity/models/LdKeyPair.d.ts.map +1 -1
- package/build/modules/vc/data-integrity/models/LdKeyPair.mjs.map +1 -1
- package/build/modules/vc/data-integrity/models/ProofTransformer.mjs.map +1 -1
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.d.mts +2 -2
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.d.mts.map +1 -1
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.d.ts +2 -2
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.d.ts.map +1 -1
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.js +1 -1
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.mjs +1 -1
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.mjs.map +1 -1
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.d.mts +2 -2
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.d.mts.map +1 -1
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.d.ts +2 -2
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.d.ts.map +1 -1
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.js +1 -1
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.mjs +1 -1
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.mjs.map +1 -1
- package/build/modules/vc/data-integrity/models/index.js +2 -2
- package/build/modules/vc/data-integrity/models/index.mjs +2 -2
- package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.d.mts +1 -1
- package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.d.ts +1 -1
- package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.mjs.map +1 -1
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.d.mts +3 -2
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.d.mts.map +1 -1
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.d.ts +3 -2
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.d.ts.map +1 -1
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.mjs.map +1 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.d.mts.map +1 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.d.ts.map +1 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.mjs.map +1 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.d.mts +3 -2
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.d.mts.map +1 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.d.ts +3 -2
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.d.ts.map +1 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.mjs.map +1 -1
- package/build/modules/vc/index.js +14 -14
- package/build/modules/vc/index.mjs +14 -14
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.d.mts +2 -2
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.d.mts.map +1 -1
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.d.ts +2 -2
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.d.ts.map +1 -1
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.js +4 -4
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.mjs +4 -4
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.mjs.map +1 -1
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.d.mts +4 -4
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.d.mts.map +1 -1
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.d.ts +4 -4
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.d.ts.map +1 -1
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.mjs.map +1 -1
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.d.mts +1 -1
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.d.mts.map +1 -1
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.d.ts +1 -1
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.d.ts.map +1 -1
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.mjs.map +1 -1
- package/build/modules/vc/jwt-vc/W3cV2JwtCredentialService.d.mts +2 -2
- package/build/modules/vc/jwt-vc/W3cV2JwtCredentialService.d.ts +2 -2
- package/build/modules/vc/jwt-vc/W3cV2JwtCredentialService.js +4 -4
- package/build/modules/vc/jwt-vc/W3cV2JwtCredentialService.mjs +4 -4
- package/build/modules/vc/jwt-vc/W3cV2JwtCredentialService.mjs.map +1 -1
- package/build/modules/vc/jwt-vc/W3cV2JwtVerifiableCredential.d.mts +1 -1
- package/build/modules/vc/jwt-vc/W3cV2JwtVerifiableCredential.d.ts +1 -1
- package/build/modules/vc/jwt-vc/credentialTransformer.mjs.map +1 -1
- package/build/modules/vc/jwt-vc/index.js +1 -1
- package/build/modules/vc/jwt-vc/index.mjs +1 -1
- package/build/modules/vc/jwt-vc/presentationTransformer.mjs.map +1 -1
- package/build/modules/vc/models/credential/W3cCredential.d.mts +3 -3
- package/build/modules/vc/models/credential/W3cCredential.d.mts.map +1 -1
- package/build/modules/vc/models/credential/W3cCredential.d.ts +3 -3
- package/build/modules/vc/models/credential/W3cCredential.d.ts.map +1 -1
- package/build/modules/vc/models/credential/W3cCredential.js +1 -1
- package/build/modules/vc/models/credential/W3cCredential.mjs +1 -1
- package/build/modules/vc/models/credential/W3cCredential.mjs.map +1 -1
- package/build/modules/vc/models/credential/W3cCredentialSubject.d.mts.map +1 -1
- package/build/modules/vc/models/credential/W3cCredentialSubject.d.ts.map +1 -1
- package/build/modules/vc/models/credential/W3cCredentialSubject.mjs.map +1 -1
- package/build/modules/vc/models/credential/W3cIssuer.d.mts.map +1 -1
- package/build/modules/vc/models/credential/W3cIssuer.d.ts.map +1 -1
- package/build/modules/vc/models/credential/W3cIssuer.mjs.map +1 -1
- package/build/modules/vc/models/credential/W3cV2Credential.d.mts +1 -1
- package/build/modules/vc/models/credential/W3cV2Credential.d.ts +1 -1
- package/build/modules/vc/models/credential/W3cV2Credential.js +1 -1
- package/build/modules/vc/models/credential/W3cV2Credential.mjs +1 -1
- package/build/modules/vc/models/credential/W3cV2Credential.mjs.map +1 -1
- package/build/modules/vc/models/credential/W3cV2CredentialSchema.js +2 -2
- package/build/modules/vc/models/credential/W3cV2CredentialSchema.mjs +2 -2
- package/build/modules/vc/models/credential/W3cV2CredentialSchema.mjs.map +1 -1
- package/build/modules/vc/models/credential/W3cV2EnvelopedVerifiableCredential.d.mts +1 -1
- package/build/modules/vc/models/credential/W3cV2EnvelopedVerifiableCredential.d.ts +1 -1
- package/build/modules/vc/models/credential/W3cV2EnvelopedVerifiableCredential.mjs.map +1 -1
- package/build/modules/vc/models/credential/W3cV2Evidence.js +2 -2
- package/build/modules/vc/models/credential/W3cV2Evidence.mjs +2 -2
- package/build/modules/vc/models/credential/W3cV2Evidence.mjs.map +1 -1
- package/build/modules/vc/models/credential/W3cV2Issuer.mjs.map +1 -1
- package/build/modules/vc/models/credential/W3cV2LocalizedValue.mjs.map +1 -1
- package/build/modules/vc/models/credential/W3cVerifiableCredential.d.mts.map +1 -1
- package/build/modules/vc/models/credential/W3cVerifiableCredential.d.ts.map +1 -1
- package/build/modules/vc/models/credential/W3cVerifiableCredential.mjs.map +1 -1
- package/build/modules/vc/models/credential/index.js +1 -1
- package/build/modules/vc/models/credential/index.mjs +1 -1
- package/build/modules/vc/models/index.js +1 -1
- package/build/modules/vc/models/index.mjs +1 -1
- package/build/modules/vc/models/presentation/W3cHolder.d.mts.map +1 -1
- package/build/modules/vc/models/presentation/W3cHolder.d.ts.map +1 -1
- package/build/modules/vc/models/presentation/W3cHolder.mjs.map +1 -1
- package/build/modules/vc/models/presentation/W3cJsonPresentation.d.mts +1 -1
- package/build/modules/vc/models/presentation/W3cJsonPresentation.d.ts +1 -1
- package/build/modules/vc/models/presentation/W3cPresentation.d.mts +2 -2
- package/build/modules/vc/models/presentation/W3cPresentation.d.mts.map +1 -1
- package/build/modules/vc/models/presentation/W3cPresentation.d.ts +2 -2
- package/build/modules/vc/models/presentation/W3cPresentation.d.ts.map +1 -1
- package/build/modules/vc/models/presentation/W3cPresentation.mjs.map +1 -1
- package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentation.d.mts +2 -2
- package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentation.d.ts +2 -2
- package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentation.js +1 -1
- package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentation.mjs +1 -1
- package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentation.mjs.map +1 -1
- package/build/modules/vc/models/presentation/W3cV2Holder.mjs.map +1 -1
- package/build/modules/vc/models/presentation/W3cV2JsonPresentation.d.mts +1 -1
- package/build/modules/vc/models/presentation/W3cV2JsonPresentation.d.ts +1 -1
- package/build/modules/vc/models/presentation/W3cV2Presentation.d.mts +1 -1
- package/build/modules/vc/models/presentation/W3cV2Presentation.d.ts +1 -1
- package/build/modules/vc/models/presentation/W3cV2Presentation.js +1 -1
- package/build/modules/vc/models/presentation/W3cV2Presentation.mjs +1 -1
- package/build/modules/vc/models/presentation/W3cV2VerifiablePresentation.d.mts +1 -1
- package/build/modules/vc/models/presentation/W3cV2VerifiablePresentation.d.ts +1 -1
- package/build/modules/vc/repository/W3cCredentialRecord.d.mts.map +1 -1
- package/build/modules/vc/repository/W3cCredentialRecord.d.ts.map +1 -1
- package/build/modules/vc/repository/W3cCredentialRecord.mjs.map +1 -1
- package/build/modules/vc/repository/W3cV2CredentialRecord.js +1 -1
- package/build/modules/vc/repository/W3cV2CredentialRecord.mjs +1 -1
- package/build/modules/vc/repository/W3cV2CredentialRecord.mjs.map +1 -1
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwt.d.mts +2 -2
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwt.d.mts.map +1 -1
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwt.d.ts +2 -2
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwt.d.ts.map +1 -1
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwt.mjs.map +1 -1
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.d.mts +1 -1
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.d.ts +1 -1
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.js +3 -3
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.mjs +3 -3
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.mjs.map +1 -1
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.mjs.map +1 -1
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.mjs.map +1 -1
- package/build/modules/vc/v2-jwt-utils.js +2 -2
- package/build/modules/vc/v2-jwt-utils.mjs +2 -2
- package/build/modules/vc/v2-jwt-utils.mjs.map +1 -1
- package/build/modules/vc/validators.mjs.map +1 -1
- package/build/modules/x509/X509Api.d.mts +1 -1
- package/build/modules/x509/X509Api.d.ts +1 -1
- package/build/modules/x509/X509Api.js +1 -1
- package/build/modules/x509/X509Api.mjs +1 -1
- package/build/modules/x509/X509Certificate.d.mts +5 -5
- package/build/modules/x509/X509Certificate.d.mts.map +1 -1
- package/build/modules/x509/X509Certificate.d.ts +5 -5
- package/build/modules/x509/X509Certificate.d.ts.map +1 -1
- package/build/modules/x509/X509Certificate.js +4 -7
- package/build/modules/x509/X509Certificate.mjs +3 -6
- package/build/modules/x509/X509Certificate.mjs.map +1 -1
- package/build/modules/x509/X509Module.d.mts.map +1 -1
- package/build/modules/x509/X509Module.d.ts.map +1 -1
- package/build/modules/x509/X509Module.js +1 -1
- package/build/modules/x509/X509Module.mjs +1 -1
- package/build/modules/x509/X509Module.mjs.map +1 -1
- package/build/modules/x509/X509ModuleConfig.d.mts +2 -2
- package/build/modules/x509/X509ModuleConfig.d.ts +2 -2
- package/build/modules/x509/X509Service.d.mts +1 -1
- package/build/modules/x509/X509Service.d.mts.map +1 -1
- package/build/modules/x509/X509Service.d.ts +1 -1
- package/build/modules/x509/X509Service.d.ts.map +1 -1
- package/build/modules/x509/X509Service.js +4 -4
- package/build/modules/x509/X509Service.mjs +3 -3
- package/build/modules/x509/X509Service.mjs.map +1 -1
- package/build/modules/x509/extraction.d.mts +1 -1
- package/build/modules/x509/extraction.d.ts +1 -1
- package/build/modules/x509/index.js +3 -3
- package/build/modules/x509/index.mjs +3 -3
- package/build/modules/x509/utils/extensions.d.mts.map +1 -1
- package/build/modules/x509/utils/extensions.d.ts.map +1 -1
- package/build/modules/x509/utils/extensions.js +1 -1
- package/build/modules/x509/utils/extensions.mjs +1 -1
- package/build/modules/x509/utils/extensions.mjs.map +1 -1
- package/build/modules/x509/utils/index.js +1 -1
- package/build/modules/x509/utils/index.mjs +1 -1
- package/build/modules/x509/utils/nameConversion.d.mts.map +1 -1
- package/build/modules/x509/utils/nameConversion.d.ts.map +1 -1
- package/build/modules/x509/utils/nameConversion.mjs.map +1 -1
- package/build/plugins/DependencyManager.d.mts.map +1 -1
- package/build/plugins/DependencyManager.d.ts.map +1 -1
- package/build/plugins/DependencyManager.mjs.map +1 -1
- package/build/storage/BaseRecord.mjs.map +1 -1
- package/build/storage/Metadata.mjs.map +1 -1
- package/build/storage/Repository.d.mts.map +1 -1
- package/build/storage/Repository.d.ts.map +1 -1
- package/build/storage/Repository.js +1 -1
- package/build/storage/Repository.mjs +1 -1
- package/build/storage/Repository.mjs.map +1 -1
- package/build/storage/RepositoryEvents.mjs.map +1 -1
- package/build/storage/StorageService.d.mts +1 -1
- package/build/storage/StorageService.d.ts +1 -1
- package/build/storage/index.js +1 -1
- package/build/storage/index.mjs +1 -1
- package/build/storage/migration/StorageUpdateService.d.mts.map +1 -1
- package/build/storage/migration/StorageUpdateService.d.ts.map +1 -1
- package/build/storage/migration/StorageUpdateService.js +1 -1
- package/build/storage/migration/StorageUpdateService.mjs +1 -1
- package/build/storage/migration/StorageUpdateService.mjs.map +1 -1
- package/build/storage/migration/UpdateAssistant.d.mts +1 -1
- package/build/storage/migration/UpdateAssistant.d.mts.map +1 -1
- package/build/storage/migration/UpdateAssistant.d.ts +1 -1
- package/build/storage/migration/UpdateAssistant.d.ts.map +1 -1
- package/build/storage/migration/UpdateAssistant.js +1 -1
- package/build/storage/migration/UpdateAssistant.mjs +1 -1
- package/build/storage/migration/UpdateAssistant.mjs.map +1 -1
- package/build/storage/migration/index.js +1 -1
- package/build/storage/migration/index.mjs +1 -1
- package/build/storage/migration/isUpToDate.d.mts.map +1 -1
- package/build/storage/migration/isUpToDate.d.ts.map +1 -1
- package/build/storage/migration/isUpToDate.js +1 -1
- package/build/storage/migration/isUpToDate.mjs +1 -1
- package/build/storage/migration/isUpToDate.mjs.map +1 -1
- package/build/storage/migration/updates/0.3.1-0.4/cache.mjs.map +1 -1
- package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.mjs.map +1 -1
- package/build/storage/migration/updates.d.mts +1 -1
- package/build/storage/migration/updates.d.mts.map +1 -1
- package/build/storage/migration/updates.d.ts +1 -1
- package/build/storage/migration/updates.d.ts.map +1 -1
- package/build/storage/migration/updates.js +4 -4
- package/build/storage/migration/updates.mjs +1 -1
- package/build/storage/migration/updates.mjs.map +1 -1
- package/build/types.d.mts +12 -1
- package/build/types.d.mts.map +1 -1
- package/build/types.d.ts +12 -1
- package/build/types.d.ts.map +1 -1
- package/build/types.mjs.map +1 -1
- package/build/utils/HashlinkEncoder.d.mts +1 -1
- package/build/utils/HashlinkEncoder.d.mts.map +1 -1
- package/build/utils/HashlinkEncoder.d.ts +1 -1
- package/build/utils/HashlinkEncoder.d.ts.map +1 -1
- package/build/utils/HashlinkEncoder.mjs.map +1 -1
- package/build/utils/JsonEncoder.d.mts +3 -2
- package/build/utils/JsonEncoder.d.mts.map +1 -1
- package/build/utils/JsonEncoder.d.ts +3 -2
- package/build/utils/JsonEncoder.d.ts.map +1 -1
- package/build/utils/JsonEncoder.js +8 -8
- package/build/utils/JsonEncoder.mjs +4 -3
- package/build/utils/JsonEncoder.mjs.map +1 -1
- package/build/utils/JsonTransformer.mjs.map +1 -1
- package/build/utils/MessageValidator.mjs.map +1 -1
- package/build/utils/MultiBaseEncoder.d.mts +4 -2
- package/build/utils/MultiBaseEncoder.d.mts.map +1 -1
- package/build/utils/MultiBaseEncoder.d.ts +4 -2
- package/build/utils/MultiBaseEncoder.d.ts.map +1 -1
- package/build/utils/MultiBaseEncoder.mjs.map +1 -1
- package/build/utils/MultiHashEncoder.d.mts +5 -5
- package/build/utils/MultiHashEncoder.d.mts.map +1 -1
- package/build/utils/MultiHashEncoder.d.ts +5 -5
- package/build/utils/MultiHashEncoder.d.ts.map +1 -1
- package/build/utils/MultiHashEncoder.js +5 -7
- package/build/utils/MultiHashEncoder.mjs +5 -4
- package/build/utils/MultiHashEncoder.mjs.map +1 -1
- package/build/utils/TypedArrayEncoder.d.mts +12 -9
- package/build/utils/TypedArrayEncoder.d.mts.map +1 -1
- package/build/utils/TypedArrayEncoder.d.ts +12 -9
- package/build/utils/TypedArrayEncoder.d.ts.map +1 -1
- package/build/utils/TypedArrayEncoder.js +22 -17
- package/build/utils/TypedArrayEncoder.mjs +7 -1
- package/build/utils/TypedArrayEncoder.mjs.map +1 -1
- package/build/utils/VarintEncoder.js +1 -4
- package/build/utils/VarintEncoder.mjs +1 -2
- package/build/utils/VarintEncoder.mjs.map +1 -1
- package/build/utils/base58.mjs.map +1 -1
- package/build/utils/buffer.d.mts +1 -1
- package/build/utils/buffer.d.ts +1 -1
- package/build/utils/buffer.mjs +1 -1
- package/build/utils/deepEquality.mjs.map +1 -1
- package/build/utils/index.js +10 -11
- package/build/utils/index.mjs +9 -9
- package/build/utils/objectEquality.mjs.map +1 -1
- package/build/utils/timestamp.d.mts +10 -2
- package/build/utils/timestamp.d.mts.map +1 -1
- package/build/utils/timestamp.d.ts +10 -2
- package/build/utils/timestamp.d.ts.map +1 -1
- package/build/utils/timestamp.js +9 -1
- package/build/utils/timestamp.mjs +8 -2
- package/build/utils/timestamp.mjs.map +1 -1
- package/build/utils/transformers.d.mts.map +1 -1
- package/build/utils/transformers.d.ts.map +1 -1
- package/build/utils/transformers.mjs.map +1 -1
- package/build/utils/validators.d.mts.map +1 -1
- package/build/utils/validators.d.ts.map +1 -1
- package/build/utils/validators.mjs.map +1 -1
- package/build/utils/zod.js +2 -0
- package/build/utils/zod.mjs +2 -1
- package/build/utils/zod.mjs.map +1 -1
- package/package.json +25 -25
- package/build/utils/buffer.js +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MdocModule.d.ts","names":[],"sources":["../../../src/modules/mdoc/MdocModule.ts"],"sourcesContent":[],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"MdocModule.d.ts","names":[],"sources":["../../../src/modules/mdoc/MdocModule.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAUa,cAAA,UAAA,YAAsB,MAAX,CAAA;EAAA,SAAA,GAAA,EAAA,OACH,OADG;;;;EAAiB,QAAA,CAAA,iBAAA,EAMJ,iBANI,CAAA,EAAA,IAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MdocModule.mjs","names":[],"sources":["../../../src/modules/mdoc/MdocModule.ts"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"MdocModule.mjs","names":[],"sources":["../../../src/modules/mdoc/MdocModule.ts"],"sourcesContent":["import { AgentConfig } from '../../agent/AgentConfig'\nimport type { DependencyManager, Module } from '../../plugins'\n\nimport { MdocApi } from './MdocApi'\nimport { MdocService } from './MdocService'\nimport { MdocRepository } from './repository'\n\n/**\n * @public\n */\nexport class MdocModule implements Module {\n public readonly api = MdocApi\n\n /**\n * Registers the dependencies of the mdoc module on the dependency manager.\n */\n public register(dependencyManager: DependencyManager) {\n // Warn about experimental module\n dependencyManager\n .resolve(AgentConfig)\n .logger.warn(\n \"The 'Mdoc' module is experimental and could have unexpected breaking changes. When using this module, make sure to use strict versions for all @credo-ts packages.\"\n )\n\n // Services\n dependencyManager.registerSingleton(MdocService)\n\n // Repositories\n dependencyManager.registerSingleton(MdocRepository)\n }\n}\n"],"mappings":";;;;;;;;;;;;AAUA,IAAa,aAAb,MAA0C;;OACxB,MAAM;;;;;CAKtB,AAAO,SAAS,mBAAsC;AAEpD,oBACG,QAAQ,YAAY,CACpB,OAAO,KACN,qKACD;AAGH,oBAAkB,kBAAkB,YAAY;AAGhD,oBAAkB,kBAAkB,eAAe"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyUint8Array } from "../../types.mjs";
|
|
2
2
|
import { EncodedX509Certificate } from "../x509/X509ServiceOptions.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { X509Certificate } from "../x509/X509Certificate.mjs";
|
|
4
4
|
import { DifPresentationExchangeDefinition } from "../dif-presentation-exchange/models/index.mjs";
|
|
5
|
+
import { Mdoc } from "./Mdoc.mjs";
|
|
5
6
|
import { PublicJwk } from "../kms/jwk/PublicJwk.mjs";
|
|
6
7
|
import { ValidityInfo } from "@animo-id/mdoc";
|
|
7
8
|
|
|
@@ -27,7 +28,7 @@ type MdocOpenId4VpDraft18SessionTranscriptOptions = {
|
|
|
27
28
|
};
|
|
28
29
|
type MdocSessionTranscriptByteOptions = {
|
|
29
30
|
type: 'sesionTranscriptBytes';
|
|
30
|
-
sessionTranscriptBytes:
|
|
31
|
+
sessionTranscriptBytes: AnyUint8Array;
|
|
31
32
|
};
|
|
32
33
|
type MdocOpenId4VpDcApiSessionTranscriptOptions = {
|
|
33
34
|
type: 'openId4VpDcApi';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MdocOptions.d.mts","names":[],"sources":["../../../src/modules/mdoc/MdocOptions.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MdocOptions.d.mts","names":[],"sources":["../../../src/modules/mdoc/MdocOptions.ts"],"sourcesContent":[],"mappings":";;;;;;;;;KASY,cAAA,GAAiB,eAAe;KAEhC,iBAAA;wBACY;QAChB;AAJR,CAAA;AAA0B,KAOd,qCAAA,GAPc;MAAkB,EAAA,WAAA;aAAf,EAAA,MAAA;EAAM,QAAA,EAAA,MAAA;EAEvB,sBAAiB,EAAA,MAAA;EAAA,aAAA,CAAA,EAUX,SAVW;;AAErB,KAWI,4CAAA,GAXJ;EAAI,IAAA,EAAA,kBAAA;EAGA,WAAA,EAAA,MAAA;EAQA,QAAA,EAAA,MAAA;EAQA,sBAAA,EAAA,MAAA;EAKA,kBAAA,EAAA,MAAA;AAOZ,CAAA;AAOY,KAnBA,gCAAA,GAmB4B;EAAA,IAAA,EAAA,uBAAA;wBACpC,EAlBsB,aAkBtB;;AAEA,KAjBQ,0CAAA,GAiBR;MACA,EAAA,gBAAA;QACA,EAAA,MAAA;EAAiD,sBAAA,EAAA,MAAA;EAEzC,aAAA,CAAA,EAjBM,SAiBa;CAAA;AAEF,KAhBjB,iDAAA,GAgBiB;MAAf,EAAA,uBAAA;EAAM,QAAA,EAAA,MAAA;EAGR,MAAA,EAAA,MAAA;EAAyB,sBAAA,EAAA,MAAA;;AAClB,KAbP,4BAAA,GACR,qCAYe,GAXf,4CAWe,GAVf,gCAUe,GATf,0CASe,GARf,iDAQe;AACC,KAPR,mBAAA,GAOQ;SACC,EAAA,MAAA;YACO,EAPd,MAOc,CAAA,MAAA,EAPC,MAOD,CAAA,MAAA,EAAA,OAAA,CAAA,CAAA;CAA4B;AAG5C,KAPA,yBAAA,GAOA;EAA+C,KAAA,EAAA,CANjD,IAMiD,EAAA,GANxC,IAMwC,EAAA,CAAA;kBACjD,EANU,mBAMV,EAAA;kBAAS,CAAA,EALE,cAKF;0BACO,EALE,4BAKF;;AAEE,KAJhB,+CAAA,GAIgB;EAA4B,KAAA,EAAA,CAH9C,IAG8C,EAAA,GAHrC,IAGqC,EAAA,CAAA;EAG5C,sBAAA,EALc,iCAKiB;EAAA,gBAAA,CAAA,EAJtB,cAIsB;0BACnB,EAJI,4BAIJ;;AAMhB,KAPI,+BAAA,GAOJ;EAAI,mBAAA,CAAA,EANY,sBAMZ,EAAA;EAGA,wBAAe,EARC,4BAQD;EAAA;;;gBAGb,EAAA,MAAA;KAOO,CAAA,EAbb,IAaa;;AACC,KAXV,eAAA,GAWU;;iBATL,QAAQ;cACX;;;;;;qBAOO;aACR"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AnyUint8Array } from "../../types.js";
|
|
2
2
|
import { EncodedX509Certificate } from "../x509/X509ServiceOptions.js";
|
|
3
|
-
import {
|
|
3
|
+
import { X509Certificate } from "../x509/X509Certificate.js";
|
|
4
4
|
import { DifPresentationExchangeDefinition } from "../dif-presentation-exchange/models/index.js";
|
|
5
|
+
import { Mdoc } from "./Mdoc.js";
|
|
5
6
|
import { PublicJwk } from "../kms/jwk/PublicJwk.js";
|
|
6
7
|
import { ValidityInfo } from "@animo-id/mdoc";
|
|
7
8
|
|
|
@@ -27,7 +28,7 @@ type MdocOpenId4VpDraft18SessionTranscriptOptions = {
|
|
|
27
28
|
};
|
|
28
29
|
type MdocSessionTranscriptByteOptions = {
|
|
29
30
|
type: 'sesionTranscriptBytes';
|
|
30
|
-
sessionTranscriptBytes:
|
|
31
|
+
sessionTranscriptBytes: AnyUint8Array;
|
|
31
32
|
};
|
|
32
33
|
type MdocOpenId4VpDcApiSessionTranscriptOptions = {
|
|
33
34
|
type: 'openId4VpDcApi';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MdocOptions.d.ts","names":[],"sources":["../../../src/modules/mdoc/MdocOptions.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MdocOptions.d.ts","names":[],"sources":["../../../src/modules/mdoc/MdocOptions.ts"],"sourcesContent":[],"mappings":";;;;;;;;;KASY,cAAA,GAAiB,eAAe;KAEhC,iBAAA;EAFA,mBAAc,CAAA,EAGF,sBAHE,EAAA;EAAA,GAAA,CAAA,EAIlB,IAJkB;;AAAG,KAOjB,qCAAA,GAPiB;EAAM,IAAA,EAAA,WAAA;EAEvB,WAAA,EAAA,MAAA;EAAiB,QAAA,EAAA,MAAA;wBACL,EAAA,MAAA;eAChB,CAAA,EAQU,SARV;CAAI;AAGA,KAQA,4CAAA,GAHM;EAGN,IAAA,EAAA,kBAAA;EAQA,WAAA,EAAA,MAAA;EAKA,QAAA,EAAA,MAAA;EAOA,sBAAA,EAAA,MAAA;EAOA,kBAAA,EAAA,MAAA;CAA4B;AACpC,KApBQ,gCAAA,GAoBR;MACA,EAAA,uBAAA;wBACA,EApBsB,aAoBtB;;AAEA,KAnBQ,0CAAA,GAmBR;EAAiD,IAAA,EAAA,gBAAA;EAEzC,MAAA,EAAA,MAAA;EAAmB,sBAAA,EAAA,MAAA;eAEF,CAAA,EAnBX,SAmBW;;AAAT,KAhBR,iDAAA,GAgBQ;EAGR,IAAA,EAAA,uBAAyB;EAAA,QAAA,EAAA,MAAA;QAC3B,EAAA,MAAA;wBAAS,EAAA,MAAA;;AAEE,KAfT,4BAAA,GACR,qCAciB,GAbjB,4CAaiB,GAZjB,gCAYiB,GAXjB,0CAWiB,GAVjB,iDAUiB;AACO,KAThB,mBAAA,GASgB;EAA4B,OAAA,EAAA,MAAA;EAG5C,UAAA,EAVE,MAUF,CAAA,MAAA,EAViB,MAUjB,CAAA,MAAA,EAAA,OAAA,CAA+C,CAAA;CAAA;AACjD,KARE,yBAAA,GAQF;OAAS,EAAA,CAPT,IAOS,EAAA,GAPA,IAOA,EAAA,CAAA;kBACO,EAPN,mBAOM,EAAA;kBACL,CAAA,EAPA,cAOA;0BACO,EAPA,4BAOA;CAA4B;AAG5C,KAPA,+CAAA,GAO+B;EAAA,KAAA,EAAA,CANjC,IAMiC,EAAA,GANxB,IAMwB,EAAA,CAAA;wBACnB,EANE,iCAMF;kBACI,CAAA,EANP,cAMO;0BAKpB,EAVoB,4BAUpB;CAAI;AAGA,KAVA,+BAAA,GAUe;EAAA,mBAAA,CAAA,EATH,sBASG,EAAA;0BAEF,EAVG,4BAUH;;;;gBASZ,EAAA,MAAA;EAAS,GAAA,CAAA,EAdd,IAcc;;KAXV,eAAA;;iBAEK,QAAQ;cACX;;;;;;qBAOO;aACR"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Query, QueryOptions } from "../../storage/StorageService.mjs";
|
|
2
2
|
import { MdocDeviceResponseOptions, MdocDeviceResponsePresentationDefinitionOptions, MdocDeviceResponseVerifyOptions, MdocSignOptions, MdocVerifyOptions } from "./MdocOptions.mjs";
|
|
3
|
-
import { Mdoc } from "./Mdoc.mjs";
|
|
4
3
|
import { MdocRecord } from "./repository/MdocRecord.mjs";
|
|
5
4
|
import { MdocRepository } from "./repository/MdocRepository.mjs";
|
|
5
|
+
import { Mdoc } from "./Mdoc.mjs";
|
|
6
6
|
import { AgentContext } from "../../agent/context/AgentContext.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/mdoc/MdocService.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MdocService.d.mts","names":[],"sources":["../../../src/modules/mdoc/MdocService.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"MdocService.d.mts","names":[],"sources":["../../../src/modules/mdoc/MdocService.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;cAkBa,WAAA;;EAAA,WAAA,CAAA,cAAW,EAGa,cAHb;EAAA,iBAAA,CAAA,cAAA,E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xC,YAlBwC,CAAA,EAmBtD,OAnBsD,CAmB9C,KAnB8C,CAmBxC,UAnBwC,CAAA,CAAA;YAAA,CAAA,YAAA,EAuBnB,YAvBmB,EAAA,EAAA,EAAA,MAAA,CAAA,EAuBK,OAvBL,CAAA,IAAA,CAAA;QAOtB,CAAA,YAAA,EAoBD,YApBC,EAAA,UAAA,EAoByB,UApBzB,CAAA,EAoBmC,OApBnC,CAAA,IAAA,CAAA"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Query, QueryOptions } from "../../storage/StorageService.js";
|
|
2
2
|
import { MdocDeviceResponseOptions, MdocDeviceResponsePresentationDefinitionOptions, MdocDeviceResponseVerifyOptions, MdocSignOptions, MdocVerifyOptions } from "./MdocOptions.js";
|
|
3
|
-
import { Mdoc } from "./Mdoc.js";
|
|
4
3
|
import { MdocRecord } from "./repository/MdocRecord.js";
|
|
5
4
|
import { MdocRepository } from "./repository/MdocRepository.js";
|
|
5
|
+
import { Mdoc } from "./Mdoc.js";
|
|
6
6
|
import { AgentContext } from "../../agent/context/AgentContext.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/mdoc/MdocService.d.ts
|
|
9
|
-
|
|
10
9
|
/**
|
|
11
10
|
* @internal
|
|
12
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MdocService.d.ts","names":[],"sources":["../../../src/modules/mdoc/MdocService.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"MdocService.d.ts","names":[],"sources":["../../../src/modules/mdoc/MdocService.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;AAkBa,cAAA,WAAA,CAAW;EAAA,QAAA,cAAA;aAGa,CAAA,cAAA,EAAA,cAAA;mBAIY,CAAA,cAAA,EAAA,MAAA,CAAA,EAAA,IAAA;UAIjB,CAAA,YAAA,EAAA,YAAA,EAAA,OAAA,EAAuB,eAAvB,CAAA,EAAsC,OAAtC,CAAsC,IAAtC,C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EAgBR,OAhBQ,CAAA,IAAA,CAAA;QAAR,CAAA,YAAA,EAoB5B,YApB4B,EAAA,UAAA,EAoBF,UApBE,CAAA,EAoBQ,OApBR,CAAA,IAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MdocService.mjs","names":["MdocService"],"sources":["../../../src/modules/mdoc/MdocService.ts"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"MdocService.mjs","names":["MdocService"],"sources":["../../../src/modules/mdoc/MdocService.ts"],"sourcesContent":["import { injectable } from 'tsyringe'\nimport { AgentContext } from '../../agent'\nimport type { Query, QueryOptions } from '../../storage/StorageService'\nimport { Mdoc } from './Mdoc'\nimport { MdocDeviceResponse } from './MdocDeviceResponse'\nimport type {\n MdocDeviceResponseOptions,\n MdocDeviceResponsePresentationDefinitionOptions,\n MdocDeviceResponseVerifyOptions,\n MdocSignOptions,\n MdocVerifyOptions,\n} from './MdocOptions'\nimport { MdocRecord, MdocRepository } from './repository'\n\n/**\n * @internal\n */\n@injectable()\nexport class MdocService {\n private MdocRepository: MdocRepository\n\n public constructor(mdocRepository: MdocRepository) {\n this.MdocRepository = mdocRepository\n }\n\n public mdocFromBase64Url(hexEncodedMdoc: string) {\n return Mdoc.fromBase64Url(hexEncodedMdoc)\n }\n\n public signMdoc(agentContext: AgentContext, options: MdocSignOptions) {\n return Mdoc.sign(agentContext, options)\n }\n\n public async verifyMdoc(agentContext: AgentContext, mdoc: Mdoc, options: MdocVerifyOptions) {\n return await mdoc.verify(agentContext, options)\n }\n\n public async createDeviceResponse(agentContext: AgentContext, options: MdocDeviceResponseOptions) {\n return MdocDeviceResponse.createDeviceResponse(agentContext, options)\n }\n\n public async createPresentationDefinitionDeviceResponse(\n agentContext: AgentContext,\n options: MdocDeviceResponsePresentationDefinitionOptions\n ) {\n return MdocDeviceResponse.createPresentationDefinitionDeviceResponse(agentContext, options)\n }\n\n public async verifyDeviceResponse(agentContext: AgentContext, options: MdocDeviceResponseVerifyOptions) {\n const deviceResponse = MdocDeviceResponse.fromBase64Url(options.deviceResponse)\n return deviceResponse.verify(agentContext, options)\n }\n\n public async store(agentContext: AgentContext, mdoc: Mdoc) {\n const mdocRecord = new MdocRecord({ mdoc })\n await this.MdocRepository.save(agentContext, mdocRecord)\n\n return mdocRecord\n }\n\n public async getById(agentContext: AgentContext, id: string): Promise<MdocRecord> {\n return await this.MdocRepository.getById(agentContext, id)\n }\n\n public async getAll(agentContext: AgentContext): Promise<Array<MdocRecord>> {\n return await this.MdocRepository.getAll(agentContext)\n }\n\n public async findByQuery(\n agentContext: AgentContext,\n query: Query<MdocRecord>,\n queryOptions?: QueryOptions\n ): Promise<Array<MdocRecord>> {\n return await this.MdocRepository.findByQuery(agentContext, query, queryOptions)\n }\n\n public async deleteById(agentContext: AgentContext, id: string) {\n await this.MdocRepository.deleteById(agentContext, id)\n }\n\n public async update(agentContext: AgentContext, mdocRecord: MdocRecord) {\n await this.MdocRepository.update(agentContext, mdocRecord)\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AAkBO,wBAAMA,cAAY;CAGvB,AAAO,YAAY,gBAAgC;AACjD,OAAK,iBAAiB;;CAGxB,AAAO,kBAAkB,gBAAwB;AAC/C,SAAO,KAAK,cAAc,eAAe;;CAG3C,AAAO,SAAS,cAA4B,SAA0B;AACpE,SAAO,KAAK,KAAK,cAAc,QAAQ;;CAGzC,MAAa,WAAW,cAA4B,MAAY,SAA4B;AAC1F,SAAO,MAAM,KAAK,OAAO,cAAc,QAAQ;;CAGjD,MAAa,qBAAqB,cAA4B,SAAoC;AAChG,SAAO,mBAAmB,qBAAqB,cAAc,QAAQ;;CAGvE,MAAa,2CACX,cACA,SACA;AACA,SAAO,mBAAmB,2CAA2C,cAAc,QAAQ;;CAG7F,MAAa,qBAAqB,cAA4B,SAA0C;AAEtG,SADuB,mBAAmB,cAAc,QAAQ,eAAe,CACzD,OAAO,cAAc,QAAQ;;CAGrD,MAAa,MAAM,cAA4B,MAAY;EACzD,MAAM,aAAa,IAAI,WAAW,EAAE,MAAM,CAAC;AAC3C,QAAM,KAAK,eAAe,KAAK,cAAc,WAAW;AAExD,SAAO;;CAGT,MAAa,QAAQ,cAA4B,IAAiC;AAChF,SAAO,MAAM,KAAK,eAAe,QAAQ,cAAc,GAAG;;CAG5D,MAAa,OAAO,cAAwD;AAC1E,SAAO,MAAM,KAAK,eAAe,OAAO,aAAa;;CAGvD,MAAa,YACX,cACA,OACA,cAC4B;AAC5B,SAAO,MAAM,KAAK,eAAe,YAAY,cAAc,OAAO,aAAa;;CAGjF,MAAa,WAAW,cAA4B,IAAY;AAC9D,QAAM,KAAK,eAAe,WAAW,cAAc,GAAG;;CAGxD,MAAa,OAAO,cAA4B,YAAwB;AACtE,QAAM,KAAK,eAAe,OAAO,cAAc,WAAW;;;0BAhE7D,YAAY"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MdocDeviceResponseOptions, MdocDeviceResponsePresentationDefinitionOptions, MdocDeviceResponseVerifyOptions, MdocDocumentRequest, MdocNameSpaces, MdocOpenId4VpDcApiDraft24SessionTranscriptOptions, MdocOpenId4VpDcApiSessionTranscriptOptions, MdocOpenId4VpDraft18SessionTranscriptOptions, MdocOpenId4VpSessionTranscriptOptions, MdocSessionTranscriptByteOptions, MdocSessionTranscriptOptions, MdocSignOptions, MdocVerifyOptions } from "./MdocOptions.mjs";
|
|
2
|
-
import { Mdoc } from "./Mdoc.mjs";
|
|
3
2
|
import { DefaultMdocRecordTags, MdocRecord, MdocRecordStorageProps } from "./repository/MdocRecord.mjs";
|
|
4
3
|
import { MdocRepository } from "./repository/MdocRepository.mjs";
|
|
5
4
|
import { MdocService } from "./MdocService.mjs";
|
|
6
5
|
import { MdocApi } from "./MdocApi.mjs";
|
|
7
|
-
import { MdocModule } from "./MdocModule.mjs";
|
|
8
|
-
import { MdocError } from "./MdocError.mjs";
|
|
9
6
|
import { MdocDeviceResponse } from "./MdocDeviceResponse.mjs";
|
|
7
|
+
import { MdocError } from "./MdocError.mjs";
|
|
8
|
+
import { MdocModule } from "./MdocModule.mjs";
|
|
10
9
|
import { MdocSupportedSignatureAlgorithm, isMdocSupportedSignatureAlgorithm } from "./mdocSupportedAlgs.mjs";
|
|
10
|
+
import { Mdoc } from "./Mdoc.mjs";
|
|
11
11
|
import { DateOnly } from "@animo-id/mdoc";
|
|
12
12
|
export { DateOnly };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MdocDeviceResponseOptions, MdocDeviceResponsePresentationDefinitionOptions, MdocDeviceResponseVerifyOptions, MdocDocumentRequest, MdocNameSpaces, MdocOpenId4VpDcApiDraft24SessionTranscriptOptions, MdocOpenId4VpDcApiSessionTranscriptOptions, MdocOpenId4VpDraft18SessionTranscriptOptions, MdocOpenId4VpSessionTranscriptOptions, MdocSessionTranscriptByteOptions, MdocSessionTranscriptOptions, MdocSignOptions, MdocVerifyOptions } from "./MdocOptions.js";
|
|
2
|
-
import { Mdoc } from "./Mdoc.js";
|
|
3
2
|
import { DefaultMdocRecordTags, MdocRecord, MdocRecordStorageProps } from "./repository/MdocRecord.js";
|
|
4
3
|
import { MdocRepository } from "./repository/MdocRepository.js";
|
|
5
4
|
import { MdocService } from "./MdocService.js";
|
|
6
5
|
import { MdocApi } from "./MdocApi.js";
|
|
7
|
-
import { MdocModule } from "./MdocModule.js";
|
|
8
|
-
import { MdocError } from "./MdocError.js";
|
|
9
6
|
import { MdocDeviceResponse } from "./MdocDeviceResponse.js";
|
|
7
|
+
import { MdocError } from "./MdocError.js";
|
|
8
|
+
import { MdocModule } from "./MdocModule.js";
|
|
10
9
|
import { MdocSupportedSignatureAlgorithm, isMdocSupportedSignatureAlgorithm } from "./mdocSupportedAlgs.js";
|
|
10
|
+
import { Mdoc } from "./Mdoc.js";
|
|
11
11
|
import { DateOnly } from "@animo-id/mdoc";
|
|
12
12
|
export { DateOnly };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { KnownJwaSignatureAlgorithm } from "../../kms/jwk/jwa.mjs";
|
|
2
1
|
import { BaseRecord, TagsBase } from "../../../storage/BaseRecord.mjs";
|
|
2
|
+
import { KnownJwaSignatureAlgorithm } from "../../kms/jwk/jwa.mjs";
|
|
3
3
|
import { Mdoc } from "../Mdoc.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/mdoc/repository/MdocRecord.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MdocRecord.d.mts","names":[],"sources":["../../../../src/modules/mdoc/repository/MdocRecord.ts"],"sourcesContent":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"MdocRecord.d.mts","names":[],"sources":["../../../../src/modules/mdoc/repository/MdocRecord.ts"],"sourcesContent":[],"mappings":";;;;;KAQY,qBAAA;;;AAAZ;AAUA;;KAEc,EALP,0BAKO;;AAEN,KAJI,sBAAA,GAIJ;EAAI,EAAA,CAAA,EAAA,MAAA;EAGC,SAAA,CAAA,EALC,IAKU;EAAA,IAAA,CAAA,EAJf,QAIe;MAAmB,EAHnC,IAGmC;;AAmChB,cAnCd,UAAA,SAAmB,UAmCL,CAnCgB,qBAmChB,CAAA,CAAA;kBAnCK,IAAA,GAAA,YAAA;EAAU,SAAA,IAAA,GAAA,YAAA;;qBAKd;;;;;;;;;oBA8BD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { KnownJwaSignatureAlgorithm } from "../../kms/jwk/jwa.js";
|
|
2
1
|
import { BaseRecord, TagsBase } from "../../../storage/BaseRecord.js";
|
|
2
|
+
import { KnownJwaSignatureAlgorithm } from "../../kms/jwk/jwa.js";
|
|
3
3
|
import { Mdoc } from "../Mdoc.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/mdoc/repository/MdocRecord.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MdocRecord.d.ts","names":[],"sources":["../../../../src/modules/mdoc/repository/MdocRecord.ts"],"sourcesContent":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"MdocRecord.d.ts","names":[],"sources":["../../../../src/modules/mdoc/repository/MdocRecord.ts"],"sourcesContent":[],"mappings":";;;;;KAQY,qBAAA;EAAA,OAAA,EAAA,MAAA;EAUA;;;;KAIJ,EAPD,0BAOC;CAAI;AAGC,KAPD,sBAAA,GAOY;EAAA,EAAA,CAAA,EAAA,MAAA;WAAmB,CAAA,EAL7B,IAK6B;MAKf,CAAA,EATnB,QASmB;MA8BD,EAtCnB,IAsCmB;;AAnCe,cAA7B,UAAA,SAAmB,UAAU,CAAC,qBAAD,CAAA,CAAA;;;;qBAKd;;;;;;;;;oBA8BD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MdocRecord.mjs","names":[],"sources":["../../../../src/modules/mdoc/repository/MdocRecord.ts"],"sourcesContent":["import type { TagsBase } from '../../../storage/BaseRecord'\nimport
|
|
1
|
+
{"version":3,"file":"MdocRecord.mjs","names":[],"sources":["../../../../src/modules/mdoc/repository/MdocRecord.ts"],"sourcesContent":["import type { TagsBase } from '../../../storage/BaseRecord'\nimport { BaseRecord } from '../../../storage/BaseRecord'\nimport { JsonTransformer } from '../../../utils'\nimport type { Constructable } from '../../../utils/mixins'\nimport { uuid } from '../../../utils/uuid'\nimport type { KnownJwaSignatureAlgorithm } from '../../kms'\nimport { Mdoc } from '../Mdoc'\n\nexport type DefaultMdocRecordTags = {\n docType: string\n\n /**\n *\n * The Jwa Signature Algorithm used to sign the Mdoc.\n */\n alg: KnownJwaSignatureAlgorithm\n}\n\nexport type MdocRecordStorageProps = {\n id?: string\n createdAt?: Date\n tags?: TagsBase\n mdoc: Mdoc\n}\n\nexport class MdocRecord extends BaseRecord<DefaultMdocRecordTags> {\n public static readonly type = 'MdocRecord'\n public readonly type = MdocRecord.type\n public base64Url!: string\n\n public constructor(props: MdocRecordStorageProps) {\n super()\n\n if (props) {\n this.id = props.id ?? uuid()\n this.createdAt = props.createdAt ?? new Date()\n this.base64Url = props.mdoc.base64Url\n this._tags = props.tags ?? {}\n }\n }\n\n public getTags() {\n const mdoc = Mdoc.fromBase64Url(this.base64Url)\n const docType = mdoc.docType\n const alg = mdoc.alg\n\n return {\n ...this._tags,\n docType,\n alg,\n }\n }\n\n public clone(): this {\n return JsonTransformer.fromJSON(JsonTransformer.toJSON(this), this.constructor as Constructable<this>)\n }\n\n /**\n * credential is convenience method added to all credential records\n */\n public get credential(): Mdoc {\n return Mdoc.fromBase64Url(this.base64Url)\n }\n\n /**\n * encoded is convenience method added to all credential records\n */\n public get encoded(): string {\n return this.base64Url\n }\n}\n"],"mappings":";;;;;;;;;AAyBA,IAAa,aAAb,MAAa,mBAAmB,WAAkC;CAKhE,AAAO,YAAY,OAA+B;AAChD,SAAO;OAJO,OAAO,WAAW;AAMhC,MAAI,OAAO;AACT,QAAK,KAAK,MAAM,MAAM,MAAM;AAC5B,QAAK,YAAY,MAAM,6BAAa,IAAI,MAAM;AAC9C,QAAK,YAAY,MAAM,KAAK;AAC5B,QAAK,QAAQ,MAAM,QAAQ,EAAE;;;CAIjC,AAAO,UAAU;EACf,MAAM,OAAO,KAAK,cAAc,KAAK,UAAU;EAC/C,MAAM,UAAU,KAAK;EACrB,MAAM,MAAM,KAAK;AAEjB,SAAO;GACL,GAAG,KAAK;GACR;GACA;GACD;;CAGH,AAAO,QAAc;AACnB,SAAO,gBAAgB,SAAS,gBAAgB,OAAO,KAAK,EAAE,KAAK,YAAmC;;;;;CAMxG,IAAW,aAAmB;AAC5B,SAAO,KAAK,cAAc,KAAK,UAAU;;;;;CAM3C,IAAW,UAAkB;AAC3B,SAAO,KAAK;;;WA1CS,OAAO"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Query, QueryOptions } from "../../storage/StorageService.mjs";
|
|
2
2
|
import { ClaimFormat } from "../vc/models/ClaimFormat.mjs";
|
|
3
3
|
import { SdJwtVcHeader, SdJwtVcPayload, SdJwtVcPresentOptions, SdJwtVcSignOptions, SdJwtVcVerifyOptions } from "./SdJwtVcOptions.mjs";
|
|
4
|
+
import { SdJwtVc, SdJwtVcService } from "./SdJwtVcService.mjs";
|
|
4
5
|
import { SdJwtVcRecord } from "./repository/SdJwtVcRecord.mjs";
|
|
5
|
-
import { SdJwtVc, SdJwtVcService, VerificationResult } from "./SdJwtVcService.mjs";
|
|
6
6
|
import { AgentContext } from "../../agent/context/AgentContext.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/sd-jwt-vc/SdJwtVcApi.d.ts
|
|
@@ -18,7 +18,7 @@ declare class SdJwtVcApi {
|
|
|
18
18
|
prettyClaims: Payload;
|
|
19
19
|
header: {
|
|
20
20
|
readonly alg: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "EdDSA" | "ES256K";
|
|
21
|
-
readonly typ: "
|
|
21
|
+
readonly typ: "vc+sd-jwt" | "dc+sd-jwt";
|
|
22
22
|
readonly kid: string | undefined;
|
|
23
23
|
readonly x5c: string[] | undefined;
|
|
24
24
|
};
|
|
@@ -43,11 +43,9 @@ declare class SdJwtVcApi {
|
|
|
43
43
|
*/
|
|
44
44
|
verify<Header extends SdJwtVcHeader, Payload extends SdJwtVcPayload>(options: SdJwtVcVerifyOptions): Promise<{
|
|
45
45
|
isValid: true;
|
|
46
|
-
verification: VerificationResult;
|
|
47
46
|
sdJwtVc: SdJwtVc<Header, Payload>;
|
|
48
47
|
} | {
|
|
49
48
|
isValid: false;
|
|
50
|
-
verification: VerificationResult;
|
|
51
49
|
sdJwtVc?: SdJwtVc<Header, Payload> | undefined;
|
|
52
50
|
error: Error;
|
|
53
51
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdJwtVcApi.d.mts","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcApi.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SdJwtVcApi.d.mts","names":[],"sources":["../../../src/modules/sd-jwt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,OAIgE,CAJxD,KAIwD,CAJlD,aAIkD,CAAA,CAAA;gBAIrD,CAAA,KAAA,EAJC,KAID,CAJO,aAIP,CAAA,EAAA,YAAA,CAAA,EAJsC,YAItC,CAAA,EAJqD,OAIrD,CAJ6D,KAI7D,CAJmE,aAInE,CAAA,CAAA;YAIC,CAAA,EAAA,EAAA,MAAA,CAAA,EAJD,OAIC,CAAA,IAAA,CAAA;QAAa,CAAA,aAAA,EAAb,aAAa,CAAA,EAAA,OAAA,CAAA,IAAA,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Query, QueryOptions } from "../../storage/StorageService.js";
|
|
2
2
|
import { ClaimFormat } from "../vc/models/ClaimFormat.js";
|
|
3
3
|
import { SdJwtVcHeader, SdJwtVcPayload, SdJwtVcPresentOptions, SdJwtVcSignOptions, SdJwtVcVerifyOptions } from "./SdJwtVcOptions.js";
|
|
4
|
+
import { SdJwtVc, SdJwtVcService } from "./SdJwtVcService.js";
|
|
4
5
|
import { SdJwtVcRecord } from "./repository/SdJwtVcRecord.js";
|
|
5
|
-
import { SdJwtVc, SdJwtVcService, VerificationResult } from "./SdJwtVcService.js";
|
|
6
6
|
import { AgentContext } from "../../agent/context/AgentContext.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/sd-jwt-vc/SdJwtVcApi.d.ts
|
|
@@ -18,7 +18,7 @@ declare class SdJwtVcApi {
|
|
|
18
18
|
prettyClaims: Payload;
|
|
19
19
|
header: {
|
|
20
20
|
readonly alg: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "EdDSA" | "ES256K";
|
|
21
|
-
readonly typ: "
|
|
21
|
+
readonly typ: "vc+sd-jwt" | "dc+sd-jwt";
|
|
22
22
|
readonly kid: string | undefined;
|
|
23
23
|
readonly x5c: string[] | undefined;
|
|
24
24
|
};
|
|
@@ -43,11 +43,9 @@ declare class SdJwtVcApi {
|
|
|
43
43
|
*/
|
|
44
44
|
verify<Header extends SdJwtVcHeader, Payload extends SdJwtVcPayload>(options: SdJwtVcVerifyOptions): Promise<{
|
|
45
45
|
isValid: true;
|
|
46
|
-
verification: VerificationResult;
|
|
47
46
|
sdJwtVc: SdJwtVc<Header, Payload>;
|
|
48
47
|
} | {
|
|
49
48
|
isValid: false;
|
|
50
|
-
verification: VerificationResult;
|
|
51
49
|
sdJwtVc?: SdJwtVc<Header, Payload> | undefined;
|
|
52
50
|
error: Error;
|
|
53
51
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdJwtVcApi.d.ts","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcApi.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SdJwtVcApi.d.ts","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcApi.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;AAkBa,cAAA,UAAA,CAAU;EAAA,QAAA,YAAA;UAIY,cAAA;aAA8B,CAAA,YAAA,EAA9B,YAA8B,EAAA,cAAA,EAAA,cAAA;MAK7B,CAAA,gBAAA,cAAA,CAAA,CAAA,OAAA,EAAyB,kBAAzB,CAA4C,OAA5C,CAAA,CAAA,EAAoD,OAApD,CAAA;IAA4C,OAAA,EAAA,MAAA;IAAnB,YAAA,SAAA;;;;MAA2B,SAAA,GAAA,EAAA,MAAA,GAAA,SAAA;MAWjD,SAAA,GAAA,EAAA,MAAA,EAAA,GAAA,SAAA;IAAiB,CAAA;IACrB,OAAA,SAAA;IAAtB,WAAA,qBAAA;IACR,OAAA,EAAA,MAAA;;;;;;;;;0BAFkC,iBAAiB,yBAC3C,sBAAsB,WAC9B;;;;;;;;QAsBsC,CAAA,eAXN,aAWM,EAAA,gBAXyB,cAWzB,CAAA,CAAA,OAAA,EAXkD,oBAWlD,CAAA,EAXsE,OAWtE,CAAA;IAAA,OAAA,EAAA,IAAA;IAIC,OAAA,SAAA,OAAA,SAAA,CAAA;MAAR;IAIG,OAAA,EAAA,KAAA;IAAN,OAAA,CAAA,SAAA,OAAA,SAAA,CAAA,GAAA,SAAA;IAAR,KAAA,OAAA;;;;;aAIwE,CAAA,eAhB7D,aAgB6D,EAAA,gBAhB9B,cAgB8B,CAAA,CAAA,cAAA,EAAA,MAAA,CAAA,EAhBQ,OAgBR,CAhBQ,MAgBR,EAhBQ,OAgBR,CAAA;OAAR,CAAA,cAAA,EAAA,MAAA,CAAA,EAZ9C,OAY8C,CAZ9C,aAY8C,CAAA;SAIrD,CAAA,EAAA,EAAA,MAAA,CAAA,EAZA,OAYA,CAZQ,aAYR,CAAA;QAIC,CAAA,CAAA,EAZZ,OAYY,CAZJ,KAYI,CAZE,aAYF,CAAA,CAAA;gBAAa,CAAA,KAAA,EARb,KAQa,CARP,aAQO,CAAA,EAAA,YAAA,CAAA,EARwB,YAQxB,CAAA,EARuC,OAQvC,CAR+C,KAQ/C,CARqD,aAQrD,CAAA,CAAA;EAAA,UAAA,CAAA,EAAA,EAAA,MAAA,CAAA,EAJd,OAIc,CAAA,IAAA,CAAA;wBAAb,gBAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdJwtVcApi.mjs","names":["SdJwtVcApi"],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcApi.ts"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"SdJwtVcApi.mjs","names":["SdJwtVcApi"],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcApi.ts"],"sourcesContent":["import { AgentContext } from '../../agent'\nimport { injectable } from '../../plugins'\nimport type { Query, QueryOptions } from '../../storage/StorageService'\nimport type { SdJwtVcRecord } from './repository'\nimport type {\n SdJwtVcHeader,\n SdJwtVcPayload,\n SdJwtVcPresentOptions,\n SdJwtVcSignOptions,\n SdJwtVcVerifyOptions,\n} from './SdJwtVcOptions'\n\nimport { SdJwtVcService } from './SdJwtVcService'\n\n/**\n * @public\n */\n@injectable()\nexport class SdJwtVcApi {\n private agentContext: AgentContext\n private sdJwtVcService: SdJwtVcService\n\n public constructor(agentContext: AgentContext, sdJwtVcService: SdJwtVcService) {\n this.agentContext = agentContext\n this.sdJwtVcService = sdJwtVcService\n }\n\n public async sign<Payload extends SdJwtVcPayload>(options: SdJwtVcSignOptions<Payload>) {\n return await this.sdJwtVcService.sign<Payload>(this.agentContext, options)\n }\n\n /**\n *\n * Create a compact presentation of the sd-jwt.\n * This presentation can be send in- or out-of-band to the verifier.\n *\n * Also, whether to include the holder key binding.\n */\n public async present<Payload extends SdJwtVcPayload = SdJwtVcPayload>(\n options: SdJwtVcPresentOptions<Payload>\n ): Promise<string> {\n return await this.sdJwtVcService.present(this.agentContext, options)\n }\n\n /**\n *\n * Verify an incoming sd-jwt. It will check whether everything is valid, but also returns parts of the validation.\n *\n * For example, you might still want to continue with a flow if not all the claims are included, but the signature is valid.\n *\n */\n public async verify<Header extends SdJwtVcHeader, Payload extends SdJwtVcPayload>(options: SdJwtVcVerifyOptions) {\n return await this.sdJwtVcService.verify<Header, Payload>(this.agentContext, options)\n }\n\n /**\n * Get and validate a sd-jwt-vc from a serialized JWT.\n */\n public fromCompact<Header extends SdJwtVcHeader, Payload extends SdJwtVcPayload>(sdJwtVcCompact: string) {\n return this.sdJwtVcService.fromCompact<Header, Payload>(sdJwtVcCompact)\n }\n\n public async store(compactSdJwtVc: string) {\n return await this.sdJwtVcService.store(this.agentContext, compactSdJwtVc)\n }\n\n public async getById(id: string): Promise<SdJwtVcRecord> {\n return await this.sdJwtVcService.getById(this.agentContext, id)\n }\n\n public async getAll(): Promise<Array<SdJwtVcRecord>> {\n return await this.sdJwtVcService.getAll(this.agentContext)\n }\n\n public async findAllByQuery(query: Query<SdJwtVcRecord>, queryOptions?: QueryOptions): Promise<Array<SdJwtVcRecord>> {\n return await this.sdJwtVcService.findByQuery(this.agentContext, query, queryOptions)\n }\n\n public async deleteById(id: string) {\n return await this.sdJwtVcService.deleteById(this.agentContext, id)\n }\n\n public async update(sdJwtVcRecord: SdJwtVcRecord) {\n return await this.sdJwtVcService.update(this.agentContext, sdJwtVcRecord)\n }\n}\n"],"mappings":";;;;;;;;;;;AAkBO,uBAAMA,aAAW;CAItB,AAAO,YAAY,cAA4B,gBAAgC;AAC7E,OAAK,eAAe;AACpB,OAAK,iBAAiB;;CAGxB,MAAa,KAAqC,SAAsC;AACtF,SAAO,MAAM,KAAK,eAAe,KAAc,KAAK,cAAc,QAAQ;;;;;;;;;CAU5E,MAAa,QACX,SACiB;AACjB,SAAO,MAAM,KAAK,eAAe,QAAQ,KAAK,cAAc,QAAQ;;;;;;;;;CAUtE,MAAa,OAAqE,SAA+B;AAC/G,SAAO,MAAM,KAAK,eAAe,OAAwB,KAAK,cAAc,QAAQ;;;;;CAMtF,AAAO,YAA0E,gBAAwB;AACvG,SAAO,KAAK,eAAe,YAA6B,eAAe;;CAGzE,MAAa,MAAM,gBAAwB;AACzC,SAAO,MAAM,KAAK,eAAe,MAAM,KAAK,cAAc,eAAe;;CAG3E,MAAa,QAAQ,IAAoC;AACvD,SAAO,MAAM,KAAK,eAAe,QAAQ,KAAK,cAAc,GAAG;;CAGjE,MAAa,SAAwC;AACnD,SAAO,MAAM,KAAK,eAAe,OAAO,KAAK,aAAa;;CAG5D,MAAa,eAAe,OAA6B,cAA4D;AACnH,SAAO,MAAM,KAAK,eAAe,YAAY,KAAK,cAAc,OAAO,aAAa;;CAGtF,MAAa,WAAW,IAAY;AAClC,SAAO,MAAM,KAAK,eAAe,WAAW,KAAK,cAAc,GAAG;;CAGpE,MAAa,OAAO,eAA8B;AAChD,SAAO,MAAM,KAAK,eAAe,OAAO,KAAK,cAAc,cAAc;;;yBAlE5E,YAAY"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdJwtVcModule.d.mts","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcModule.ts"],"sourcesContent":[],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"SdJwtVcModule.d.mts","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcModule.ts"],"sourcesContent":[],"mappings":";;;;;;;;cASa,aAAA,YAAyB;uBACjB;EADR;;;UAMwB,CAAA,iBAAA,EAAA,iBAAA,CAAA,EAAA,IAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdJwtVcModule.d.ts","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcModule.ts"],"sourcesContent":[],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"SdJwtVcModule.d.ts","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcModule.ts"],"sourcesContent":[],"mappings":";;;;;;;;AASa,cAAA,aAAA,YAAyB,MAAX,CAAA;EAAA,SAAA,GAAA,EAAA,OACN,UADM;;;;EAAiB,QAAA,CAAA,iBAAA,EAMP,iBANO,CAAA,EAAA,IAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdJwtVcModule.mjs","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcModule.ts"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"SdJwtVcModule.mjs","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcModule.ts"],"sourcesContent":["import { AgentConfig } from '../../agent/AgentConfig'\nimport type { DependencyManager, Module } from '../../plugins'\nimport { SdJwtVcRepository } from './repository'\nimport { SdJwtVcApi } from './SdJwtVcApi'\nimport { SdJwtVcService } from './SdJwtVcService'\n\n/**\n * @public\n */\nexport class SdJwtVcModule implements Module {\n public readonly api = SdJwtVcApi\n\n /**\n * Registers the dependencies of the sd-jwt-vc module on the dependency manager.\n */\n public register(dependencyManager: DependencyManager) {\n // Warn about experimental module\n dependencyManager\n .resolve(AgentConfig)\n .logger.warn(\n \"The 'SdJwtVc' module is experimental and could have unexpected breaking changes. When using this module, make sure to use strict versions for all @credo-ts packages.\"\n )\n\n // Services\n dependencyManager.registerSingleton(SdJwtVcService)\n\n // Repositories\n dependencyManager.registerSingleton(SdJwtVcRepository)\n }\n}\n"],"mappings":";;;;;;;;;;;;AASA,IAAa,gBAAb,MAA6C;;OAC3B,MAAM;;;;;CAKtB,AAAO,SAAS,mBAAsC;AAEpD,oBACG,QAAQ,YAAY,CACpB,OAAO,KACN,wKACD;AAGH,oBAAkB,kBAAkB,eAAe;AAGnD,oBAAkB,kBAAkB,kBAAkB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HashName } from "../../crypto/hashes/Hasher.mjs";
|
|
2
|
-
import { X509Certificate } from "../x509/X509Certificate.mjs";
|
|
3
2
|
import { EncodedX509Certificate } from "../x509/X509ServiceOptions.mjs";
|
|
3
|
+
import { X509Certificate } from "../x509/X509Certificate.mjs";
|
|
4
4
|
import { PublicJwk } from "../kms/jwk/PublicJwk.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/sd-jwt-vc/SdJwtVcOptions.d.ts
|
|
@@ -114,6 +114,10 @@ type SdJwtVcVerifyOptions = {
|
|
|
114
114
|
*/
|
|
115
115
|
fetchTypeMetadata?: boolean;
|
|
116
116
|
trustedCertificates?: EncodedX509Certificate[];
|
|
117
|
+
/**
|
|
118
|
+
* Date that should be used as the current time. If not provided, current time will be used.
|
|
119
|
+
*/
|
|
120
|
+
now?: Date;
|
|
117
121
|
};
|
|
118
122
|
//#endregion
|
|
119
123
|
export { IDisclosureFrame, IPresentationFrame, SdJwtVcHeader, SdJwtVcHolderBinding, SdJwtVcHolderDidBinding, SdJwtVcHolderJwkBinding, SdJwtVcIssuer, SdJwtVcIssuerDid, SdJwtVcIssuerX5c, SdJwtVcPayload, SdJwtVcPresentOptions, SdJwtVcSignOptions, SdJwtVcVerifyOptions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdJwtVcOptions.d.mts","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcOptions.ts"],"sourcesContent":[],"mappings":";;;;;;KAKY,cA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nC;AAEiB,UAMA,kBAAA,CAHkB;EAGlB,CAAA,CAAA,EAAA,MAAA,CAAA,EAAA,OAAA,GACQ,kBAAA;AAGzB;AAKiB,UALA,uBAAA,CAKuB;EAKvB,MAAA,EAAA,KAAA;EAOA,MAAA,EAAA,MAAA;AAqBjB;AAAgC,UAjCf,uBAAA,CAiCe;QAAG,EAAA,KAAA;KAA0B,EA/BtD,SA+BsD;;AAIjD,UAhCK,gBAAA,CAgCQ;EAAA,MAAA,EAAA,KAAA;QAAG,EAAA,MAAA;;AAAmC,UAzB9C,gBAAA,CAyB8C;EAE9C,MAAA,EAAA,KAAA;EAAkB;;;;;;KAQf,EA1Bb,eA0Ba,EAAA;;;AAkBpB;;;;QAMsB,EAAA,MAAA;;AAiBM,KAvDhB,oBAAA,GAAuB,uBAuDP,GAvDiC,uBAuDjC;AAGhB,KAtDA,aAAA,GAAgB,gBAsDI,GAtDe,gBAsDf;AAAA,UApDf,kBAoDe,CAAA,gBApDoB,cAoDpB,GApDqC,cAoDrC,CAAA,CAAA;SAsBV,EAzEX,OAyEW;;;;WApEX;UACD;oBACU;;;;qBAKC;;;;;;;;;;KAaT,uCAAuC,iBAAiB;;;;;sBAM9C;;;;;;;;;;;;;;;sBAiBA;;KAGV,oBAAA;;;;;;;;;;;;;;;;;;sBAsBU;;;;;;;wBASE;;;;QAKhB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HashName } from "../../crypto/hashes/Hasher.js";
|
|
2
|
-
import { X509Certificate } from "../x509/X509Certificate.js";
|
|
3
2
|
import { EncodedX509Certificate } from "../x509/X509ServiceOptions.js";
|
|
3
|
+
import { X509Certificate } from "../x509/X509Certificate.js";
|
|
4
4
|
import { PublicJwk } from "../kms/jwk/PublicJwk.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/sd-jwt-vc/SdJwtVcOptions.d.ts
|
|
@@ -114,6 +114,10 @@ type SdJwtVcVerifyOptions = {
|
|
|
114
114
|
*/
|
|
115
115
|
fetchTypeMetadata?: boolean;
|
|
116
116
|
trustedCertificates?: EncodedX509Certificate[];
|
|
117
|
+
/**
|
|
118
|
+
* Date that should be used as the current time. If not provided, current time will be used.
|
|
119
|
+
*/
|
|
120
|
+
now?: Date;
|
|
117
121
|
};
|
|
118
122
|
//#endregion
|
|
119
123
|
export { IDisclosureFrame, IPresentationFrame, SdJwtVcHeader, SdJwtVcHolderBinding, SdJwtVcHolderDidBinding, SdJwtVcHolderJwkBinding, SdJwtVcIssuer, SdJwtVcIssuerDid, SdJwtVcIssuerX5c, SdJwtVcPayload, SdJwtVcPresentOptions, SdJwtVcSignOptions, SdJwtVcVerifyOptions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdJwtVcOptions.d.ts","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcOptions.ts"],"sourcesContent":[],"mappings":";;;;;;KAKY,cAAA,GAAiB;KACjB,aAAA,GAAgB;UAEX,gBAAA;EAHL,GAAA,CAAA,EAAA,MAAA,EAAA;EACA,SAAA,CAAA,EAAA,MAAa;EAER,CAAA,CAAA,EAAA,MAAA,CAAA,EAAA,MAAgB,EAAA,GAAA,MAAA,GAGE,gBAAgB,GAAA,SAAA;AAGnD;AAIiB,UAJA,kBAAA,CAIuB;EAKvB,CAAA,CAAA,EAAA,MAAA,CAAA,EAAA,OAAA,GARQ,kBAUlB;AAGP;AAOiB,UAjBA,uBAAA,CA0BV;EAYK,MAAA,EAAA,KAAA;EAAoB,MAAA,EAAA,MAAA;;AAA6B,UAjC5C,uBAAA,CAiC4C;EAAuB,MAAA,EAAA,KAAA;EAIxE,GAAA,EAnCL,SAmCK;;AAAgB,UAhCX,gBAAA,CAgCW;QAAmB,EAAA,KAAA;EAAgB,MAAA,EAAA,MAAA;AAE/D;AAAmC,UA3BlB,gBAAA,CA2BkB;QAAiB,EAAA,KAAA;;;;;;;EAavB,GAAA,EA/BtB,eA+BsB,EAAA;EAajB;;;;;;EAuBgB,MAAA,EAAA,M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FD;UACD;oBACU;;;;qBAKC;;;;;;;;;;KAaT,uCAAuC,iBAAiB;;;;;sBAM9C;;;;;;;;;;;;;;;sBAiBA;;KAGV,oBAAA;;;;;;;;;;;;;;;;;;sBAsBU;;;;;;;wBASE;;;;QAKhB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Query, QueryOptions } from "../../storage/StorageService.mjs";
|
|
2
|
+
import { JsonObject } from "../../types.mjs";
|
|
2
3
|
import { ClaimFormat } from "../vc/models/ClaimFormat.mjs";
|
|
3
4
|
import { SdJwtVcHeader, SdJwtVcPayload, SdJwtVcPresentOptions, SdJwtVcSignOptions, SdJwtVcVerifyOptions } from "./SdJwtVcOptions.mjs";
|
|
4
5
|
import { SdJwtVcTypeMetadata } from "./typeMetadata.mjs";
|
|
5
6
|
import { SdJwtVcRecord } from "./repository/SdJwtVcRecord.mjs";
|
|
6
7
|
import { SdJwtVcRepository } from "./repository/SdJwtVcRepository.mjs";
|
|
7
8
|
import { AgentContext } from "../../agent/context/AgentContext.mjs";
|
|
8
|
-
import { JsonObject } from "../../types.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/sd-jwt-vc/SdJwtVcService.d.ts
|
|
11
11
|
interface SdJwtVc<Header extends SdJwtVcHeader = SdJwtVcHeader, Payload extends SdJwtVcPayload = SdJwtVcPayload> {
|
|
@@ -50,7 +50,7 @@ declare class SdJwtVcService {
|
|
|
50
50
|
prettyClaims: Payload;
|
|
51
51
|
header: {
|
|
52
52
|
readonly alg: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "EdDSA" | "ES256K";
|
|
53
|
-
readonly typ: "
|
|
53
|
+
readonly typ: "vc+sd-jwt" | "dc+sd-jwt";
|
|
54
54
|
readonly kid: string | undefined;
|
|
55
55
|
readonly x5c: string[] | undefined;
|
|
56
56
|
};
|
|
@@ -72,14 +72,13 @@ declare class SdJwtVcService {
|
|
|
72
72
|
keyBinding,
|
|
73
73
|
requiredClaimKeys,
|
|
74
74
|
fetchTypeMetadata,
|
|
75
|
-
trustedCertificates
|
|
75
|
+
trustedCertificates,
|
|
76
|
+
now
|
|
76
77
|
}: SdJwtVcVerifyOptions): Promise<{
|
|
77
78
|
isValid: true;
|
|
78
|
-
verification: VerificationResult;
|
|
79
79
|
sdJwtVc: SdJwtVc<Header, Payload>;
|
|
80
80
|
} | {
|
|
81
81
|
isValid: false;
|
|
82
|
-
verification: VerificationResult;
|
|
83
82
|
sdJwtVc?: SdJwtVc<Header, Payload>;
|
|
84
83
|
error: Error;
|
|
85
84
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdJwtVcService.d.mts","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcService.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SdJwtVcService.d.mts","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcService.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;UA2CiB,uBACA,gBAAgB,+BACf,iBAAiB;;;;eAKpB,WAAA,CAAY;EAPV;;;SACgB,EAAA,MAAA;SACf,EAAA,MAAA;QAAiB,EAWzB,MAXyB;SAKpB,EASJ,OATgB;cAMjB,EAIM,OAJN;OAGC,CAAA,EAAA;IACK,MAAA,EAGJ,MAHI,CAAA,MAAA,EAAA,OAAA,CAAA;IAGJ,OAAA,EACC,MADD,CAAA,MAAA,EAAA,OAAA,CAAA;;cAIK,CAAA,EAAA,mBAAA;;AAGA,UAAA,kBAAA,CAAkB;EAiBtB,OAAA,EAAA,OAAA;EAAc,iBAAA,CAAA,EAAA,OAAA;kBAGa,CAAA,EAAA,OAAA;eAIJ,CAAA,EAAA,OAAA;kBAA8B,CAAA,EAAA,OAAA;mBAA0C,CAAA,EAAA,OAAA;2BAAnB,CAAA,EAAA,OAAA;;;;;;;;AA4DW,cAnEvF,cAAA,CAmEuF;UAEjF,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{ JsonObject } from "../../types.js";
|
|
2
3
|
import { ClaimFormat } from "../vc/models/ClaimFormat.js";
|
|
3
4
|
import { SdJwtVcHeader, SdJwtVcPayload, SdJwtVcPresentOptions, SdJwtVcSignOptions, SdJwtVcVerifyOptions } from "./SdJwtVcOptions.js";
|
|
4
5
|
import { SdJwtVcTypeMetadata } from "./typeMetadata.js";
|
|
5
6
|
import { SdJwtVcRecord } from "./repository/SdJwtVcRecord.js";
|
|
6
7
|
import { SdJwtVcRepository } from "./repository/SdJwtVcRepository.js";
|
|
7
8
|
import { AgentContext } from "../../agent/context/AgentContext.js";
|
|
8
|
-
import { JsonObject } from "../../types.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/sd-jwt-vc/SdJwtVcService.d.ts
|
|
11
11
|
interface SdJwtVc<Header extends SdJwtVcHeader = SdJwtVcHeader, Payload extends SdJwtVcPayload = SdJwtVcPayload> {
|
|
@@ -50,7 +50,7 @@ declare class SdJwtVcService {
|
|
|
50
50
|
prettyClaims: Payload;
|
|
51
51
|
header: {
|
|
52
52
|
readonly alg: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "EdDSA" | "ES256K";
|
|
53
|
-
readonly typ: "
|
|
53
|
+
readonly typ: "vc+sd-jwt" | "dc+sd-jwt";
|
|
54
54
|
readonly kid: string | undefined;
|
|
55
55
|
readonly x5c: string[] | undefined;
|
|
56
56
|
};
|
|
@@ -72,14 +72,13 @@ declare class SdJwtVcService {
|
|
|
72
72
|
keyBinding,
|
|
73
73
|
requiredClaimKeys,
|
|
74
74
|
fetchTypeMetadata,
|
|
75
|
-
trustedCertificates
|
|
75
|
+
trustedCertificates,
|
|
76
|
+
now
|
|
76
77
|
}: SdJwtVcVerifyOptions): Promise<{
|
|
77
78
|
isValid: true;
|
|
78
|
-
verification: VerificationResult;
|
|
79
79
|
sdJwtVc: SdJwtVc<Header, Payload>;
|
|
80
80
|
} | {
|
|
81
81
|
isValid: false;
|
|
82
|
-
verification: VerificationResult;
|
|
83
82
|
sdJwtVc?: SdJwtVc<Header, Payload>;
|
|
84
83
|
error: Error;
|
|
85
84
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdJwtVcService.d.ts","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcService.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SdJwtVcService.d.ts","names":[],"sources":["../../../src/modules/sd-jwt-vc/SdJwtVcService.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;UA2CiB,uBACA,gBAAgB,+BACf,iBAAiB;;;AAFnC;EAAwB,WAAA,EAOT,WAAA,CAAY,OAPH;;;;SAEW,EAAA,MAAA;SAKpB,EAAA,MAAY;QAMjB,EAAA,MAAA;SAGC,EAAA,OAAA;cACK,EAAA,OAAA;OAGJ,CAAA,EAAA;IACC,MAAA,EADD,MACC,CAAA,MAAA,EAAA,OAAA,CAAA;IAGI,OAAA,EAHJ,MAGI,CAAA,MAAA,EAAA,OAAA,CAAA;EAAmB,CAAA;EAGnB,YAAA,CAAA,EAHA,mBAGkB;AAgBnC;AAC2B,UAjBV,kBAAA,CAiBU;SAGa,EAAA,OAAA;mBAIJ,CAAA,EAAA,OAAA;kBAA8B,CAAA,EAAA,OAAA;eAA0C,CAAA,EAAA,OAAA;kBAAnB,CAAA,EAAA,OAAA;;;;4BAA2B,CAAA,EAAA,OAAA;8BA4DhF,CAAA,EAAA,OAAA;;;;;AAGvB,cAtEA,cAAA,CAsEA;UAAQ,iBAAA;aAAhB,CAAA,iBAAA,EAnEmC,iBAmEnC;MAIyE,CAAA,gBAnE1C,cAmE0C,CAAA,CAAA,YAAA,EAnEZ,YAmEY,EAAA,OAAA,EAnEW,kBAmEX,CAnE8B,OAmE9B,CAAA,CAAA,EAnEsC,OAmEtC,CAAA;IAAa,OAAA,EAAA,MAAA;IA4BpD,YAAA,SAAA;IAAiB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