@credo-ts/core 0.6.1-pr-2091-20241119140918 → 0.6.1
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/_virtual/_@oxc-project_runtime@0.99.0/helpers/assertClassBrand.mjs +10 -0
- package/build/_virtual/_@oxc-project_runtime@0.99.0/helpers/checkPrivateRedeclaration.mjs +9 -0
- package/build/_virtual/_@oxc-project_runtime@0.99.0/helpers/classPrivateFieldGet2.mjs +11 -0
- package/build/_virtual/_@oxc-project_runtime@0.99.0/helpers/classPrivateFieldInitSpec.mjs +11 -0
- package/build/_virtual/_@oxc-project_runtime@0.99.0/helpers/classPrivateFieldSet2.mjs +11 -0
- package/build/_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs +12 -0
- package/build/_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs +9 -0
- package/build/_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateParam.mjs +11 -0
- package/build/_virtual/rolldown_runtime.mjs +20 -0
- package/build/agent/Agent.d.mts +23 -0
- package/build/agent/Agent.d.mts.map +1 -0
- package/build/agent/Agent.mjs +77 -0
- package/build/agent/Agent.mjs.map +1 -0
- package/build/agent/AgentConfig.d.mts +23 -0
- package/build/agent/AgentConfig.d.mts.map +1 -0
- package/build/agent/AgentConfig.mjs +37 -0
- package/build/agent/AgentConfig.mjs.map +1 -0
- package/build/agent/AgentDependencies.d.mts +16 -0
- package/build/agent/AgentDependencies.d.mts.map +1 -0
- package/build/agent/AgentModules.d.mts +102 -0
- package/build/agent/AgentModules.d.mts.map +1 -0
- package/build/agent/AgentModules.mjs +104 -0
- package/build/agent/AgentModules.mjs.map +1 -0
- package/build/agent/BaseAgent.d.mts +55 -0
- package/build/agent/BaseAgent.d.mts.map +1 -0
- package/build/agent/BaseAgent.mjs +68 -0
- package/build/agent/BaseAgent.mjs.map +1 -0
- package/build/agent/EventEmitter.d.mts +21 -0
- package/build/agent/EventEmitter.d.mts.map +1 -0
- package/build/agent/EventEmitter.mjs +43 -0
- package/build/agent/EventEmitter.mjs.map +1 -0
- package/build/agent/Events.d.mts +15 -0
- package/build/agent/Events.d.mts.map +1 -0
- package/build/agent/Events.mjs +14 -0
- package/build/agent/Events.mjs.map +1 -0
- package/build/agent/context/AgentContext.d.mts +50 -0
- package/build/agent/context/AgentContext.d.mts.map +1 -0
- package/build/agent/context/AgentContext.mjs +38 -0
- package/build/agent/context/AgentContext.mjs.map +1 -0
- package/build/agent/context/AgentContextProvider.d.mts +32 -0
- package/build/agent/context/AgentContextProvider.d.mts.map +1 -0
- package/build/agent/context/DefaultAgentContextProvider.d.mts +24 -0
- package/build/agent/context/DefaultAgentContextProvider.d.mts.map +1 -0
- package/build/agent/context/DefaultAgentContextProvider.mjs +36 -0
- package/build/agent/context/DefaultAgentContextProvider.mjs.map +1 -0
- package/build/agent/context/index.d.mts +3 -0
- package/build/agent/context/index.mjs +4 -0
- package/build/agent/index.d.mts +4 -0
- package/build/agent/index.mjs +5 -0
- package/build/constants.d.mts +13 -0
- package/build/constants.d.mts.map +1 -0
- package/build/constants.mjs +16 -0
- package/build/constants.mjs.map +1 -0
- package/build/crypto/JwsService.d.mts +82 -0
- package/build/crypto/JwsService.d.mts.map +1 -0
- package/build/crypto/JwsService.mjs +221 -0
- package/build/crypto/JwsService.mjs.map +1 -0
- package/build/crypto/JwsSigner.d.mts +29 -0
- package/build/crypto/JwsSigner.d.mts.map +1 -0
- package/build/crypto/JwsTypes.d.mts +58 -0
- package/build/crypto/JwsTypes.d.mts.map +1 -0
- package/build/crypto/JwsTypes.mjs +10 -0
- package/build/crypto/JwsTypes.mjs.map +1 -0
- package/build/crypto/KmsKeyPair.mjs +83 -0
- package/build/crypto/KmsKeyPair.mjs.map +1 -0
- package/build/crypto/hashes/Hasher.d.mts +10 -0
- package/build/crypto/hashes/Hasher.d.mts.map +1 -0
- package/build/crypto/hashes/Hasher.mjs +28 -0
- package/build/crypto/hashes/Hasher.mjs.map +1 -0
- package/build/crypto/hashes/IHash.d.mts +9 -0
- package/build/crypto/hashes/IHash.d.mts.map +1 -0
- package/build/crypto/hashes/Sha1.d.mts +10 -0
- package/build/crypto/hashes/Sha1.d.mts.map +1 -0
- package/build/crypto/hashes/Sha1.mjs +14 -0
- package/build/crypto/hashes/Sha1.mjs.map +1 -0
- package/build/crypto/hashes/Sha256.d.mts +10 -0
- package/build/crypto/hashes/Sha256.d.mts.map +1 -0
- package/build/crypto/hashes/Sha256.mjs +14 -0
- package/build/crypto/hashes/Sha256.mjs.map +1 -0
- package/build/crypto/hashes/Sha384.d.mts +10 -0
- package/build/crypto/hashes/Sha384.d.mts.map +1 -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 +10 -0
- package/build/crypto/hashes/Sha512.d.mts.map +1 -0
- package/build/crypto/hashes/Sha512.mjs +14 -0
- package/build/crypto/hashes/Sha512.mjs.map +1 -0
- package/build/crypto/hashes/index.d.mts +5 -0
- package/build/crypto/hashes/index.mjs +7 -0
- package/build/crypto/index.d.mts +17 -0
- package/build/crypto/index.mjs +16 -0
- package/build/crypto/jose/index.d.mts +3 -0
- package/build/crypto/jose/index.mjs +5 -0
- package/build/crypto/jose/jwt/Jwt.d.mts +29 -0
- package/build/crypto/jose/jwt/Jwt.d.mts.map +1 -0
- package/build/crypto/jose/jwt/Jwt.mjs +38 -0
- package/build/crypto/jose/jwt/Jwt.mjs.map +1 -0
- package/build/crypto/jose/jwt/JwtPayload.d.mts +105 -0
- package/build/crypto/jose/jwt/JwtPayload.d.mts.map +1 -0
- package/build/crypto/jose/jwt/JwtPayload.mjs +87 -0
- package/build/crypto/jose/jwt/JwtPayload.mjs.map +1 -0
- package/build/crypto/jose/jwt/index.d.mts +2 -0
- package/build/crypto/jose/jwt/index.mjs +4 -0
- package/build/crypto/webcrypto/CredoSubtle.d.mts +10 -0
- package/build/crypto/webcrypto/CredoSubtle.d.mts.map +1 -0
- package/build/crypto/webcrypto/CredoSubtle.mjs +23 -0
- package/build/crypto/webcrypto/CredoSubtle.mjs.map +1 -0
- package/build/crypto/webcrypto/CredoWalletWebCrypto.d.mts +42 -0
- package/build/crypto/webcrypto/CredoWalletWebCrypto.d.mts.map +1 -0
- package/build/crypto/webcrypto/CredoWalletWebCrypto.mjs +85 -0
- package/build/crypto/webcrypto/CredoWalletWebCrypto.mjs.map +1 -0
- package/build/crypto/webcrypto/CredoWebCrypto.d.mts +16 -0
- package/build/crypto/webcrypto/CredoWebCrypto.d.mts.map +1 -0
- package/build/crypto/webcrypto/CredoWebCrypto.mjs +26 -0
- package/build/crypto/webcrypto/CredoWebCrypto.mjs.map +1 -0
- package/build/crypto/webcrypto/CredoWebCryptoError.mjs +11 -0
- package/build/crypto/webcrypto/CredoWebCryptoError.mjs.map +1 -0
- package/build/crypto/webcrypto/CredoWebCryptoKey.d.mts +17 -0
- package/build/crypto/webcrypto/CredoWebCryptoKey.d.mts.map +1 -0
- package/build/crypto/webcrypto/CredoWebCryptoKey.mjs +20 -0
- package/build/crypto/webcrypto/CredoWebCryptoKey.mjs.map +1 -0
- package/build/crypto/webcrypto/algorithmIdentifiers.mjs +62 -0
- package/build/crypto/webcrypto/algorithmIdentifiers.mjs.map +1 -0
- package/build/crypto/webcrypto/index.d.mts +5 -0
- package/build/crypto/webcrypto/index.mjs +6 -0
- package/build/crypto/webcrypto/providers/CredoEcdsaProvider.mjs +40 -0
- package/build/crypto/webcrypto/providers/CredoEcdsaProvider.mjs.map +1 -0
- package/build/crypto/webcrypto/providers/CredoEd25519Provider.mjs +40 -0
- package/build/crypto/webcrypto/providers/CredoEd25519Provider.mjs.map +1 -0
- package/build/crypto/webcrypto/providers/CredoSha1Provider.mjs +24 -0
- package/build/crypto/webcrypto/providers/CredoSha1Provider.mjs.map +1 -0
- package/build/crypto/webcrypto/providers/CredoSha256Provider.mjs +24 -0
- package/build/crypto/webcrypto/providers/CredoSha256Provider.mjs.map +1 -0
- package/build/crypto/webcrypto/providers/index.mjs +5 -0
- package/build/crypto/webcrypto/types.d.mts +62 -0
- package/build/crypto/webcrypto/types.d.mts.map +1 -0
- package/build/crypto/webcrypto/types.mjs +68 -0
- package/build/crypto/webcrypto/types.mjs.map +1 -0
- package/build/crypto/webcrypto/utils/index.d.mts +1 -0
- package/build/crypto/webcrypto/utils/index.mjs +3 -0
- package/build/crypto/webcrypto/utils/keyAlgorithmConversion.d.mts +10 -0
- package/build/crypto/webcrypto/utils/keyAlgorithmConversion.d.mts.map +1 -0
- package/build/crypto/webcrypto/utils/keyAlgorithmConversion.mjs +139 -0
- package/build/crypto/webcrypto/utils/keyAlgorithmConversion.mjs.map +1 -0
- package/build/error/BaseError.d.mts +15 -0
- package/build/error/BaseError.d.mts.map +1 -0
- package/build/error/BaseError.mjs +69 -0
- package/build/error/BaseError.mjs.map +1 -0
- package/build/error/ClassValidationError.d.mts +20 -0
- package/build/error/ClassValidationError.d.mts.map +1 -0
- package/build/error/ClassValidationError.mjs +20 -0
- package/build/error/ClassValidationError.mjs.map +1 -0
- package/build/error/CredoError.d.mts +18 -0
- package/build/error/CredoError.d.mts.map +1 -0
- package/build/error/CredoError.mjs +19 -0
- package/build/error/CredoError.mjs.map +1 -0
- package/build/error/RecordDuplicateError.d.mts +15 -0
- package/build/error/RecordDuplicateError.d.mts.map +1 -0
- package/build/error/RecordDuplicateError.mjs +14 -0
- package/build/error/RecordDuplicateError.mjs.map +1 -0
- package/build/error/RecordNotFoundError.d.mts +15 -0
- package/build/error/RecordNotFoundError.d.mts.map +1 -0
- package/build/error/RecordNotFoundError.mjs +14 -0
- package/build/error/RecordNotFoundError.mjs.map +1 -0
- package/build/error/ValidationErrorUtils.mjs +13 -0
- package/build/error/ValidationErrorUtils.mjs.map +1 -0
- package/build/error/ZodValidationError.d.mts +11 -0
- package/build/error/ZodValidationError.d.mts.map +1 -0
- package/build/error/ZodValidationError.mjs +18 -0
- package/build/error/ZodValidationError.mjs.map +1 -0
- package/build/error/index.d.mts +5 -0
- package/build/error/index.mjs +7 -0
- package/build/index.d.mts +274 -0
- package/build/index.d.mts.map +1 -0
- package/build/index.mjs +242 -0
- package/build/index.mjs.map +1 -0
- package/build/logger/BaseLogger.d.mts +18 -0
- package/build/logger/BaseLogger.d.mts.map +1 -0
- package/build/logger/BaseLogger.mjs +17 -0
- package/build/logger/BaseLogger.mjs.map +1 -0
- package/build/logger/ConsoleLogger.d.mts +18 -0
- package/build/logger/ConsoleLogger.d.mts.map +1 -0
- package/build/logger/ConsoleLogger.mjs +53 -0
- package/build/logger/ConsoleLogger.mjs.map +1 -0
- package/build/logger/Logger.d.mts +24 -0
- package/build/logger/Logger.d.mts.map +1 -0
- package/build/logger/Logger.mjs +18 -0
- package/build/logger/Logger.mjs.map +1 -0
- package/build/logger/replaceError.d.mts +5 -0
- package/build/logger/replaceError.d.mts.map +1 -0
- package/build/logger/replaceError.mjs +21 -0
- package/build/logger/replaceError.mjs.map +1 -0
- package/build/modules/cache/Cache.d.mts +12 -0
- package/build/modules/cache/Cache.d.mts.map +1 -0
- package/build/modules/cache/CacheModule.d.mts +15 -0
- package/build/modules/cache/CacheModule.d.mts.map +1 -0
- package/build/modules/cache/CacheModule.mjs +22 -0
- package/build/modules/cache/CacheModule.mjs.map +1 -0
- package/build/modules/cache/CacheModuleConfig.d.mts +41 -0
- package/build/modules/cache/CacheModuleConfig.d.mts.map +1 -0
- package/build/modules/cache/CacheModuleConfig.mjs +24 -0
- package/build/modules/cache/CacheModuleConfig.mjs.map +1 -0
- package/build/modules/cache/CachedStorageService.d.mts +22 -0
- package/build/modules/cache/CachedStorageService.d.mts.map +1 -0
- package/build/modules/cache/CachedStorageService.mjs +74 -0
- package/build/modules/cache/CachedStorageService.mjs.map +1 -0
- package/build/modules/cache/InMemoryLruCache.d.mts +29 -0
- package/build/modules/cache/InMemoryLruCache.d.mts.map +1 -0
- package/build/modules/cache/InMemoryLruCache.mjs +50 -0
- package/build/modules/cache/InMemoryLruCache.mjs.map +1 -0
- package/build/modules/cache/index.d.mts +8 -0
- package/build/modules/cache/index.mjs +9 -0
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.d.mts +27 -0
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.d.mts.map +1 -0
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.mjs +31 -0
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.mjs.map +1 -0
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRepository.mjs +27 -0
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRepository.mjs.map +1 -0
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.d.mts +42 -0
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.d.mts.map +1 -0
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.mjs +112 -0
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.mjs.map +1 -0
- package/build/modules/cache/singleContextLruCache/index.d.mts +2 -0
- package/build/modules/cache/singleContextLruCache/index.mjs +4 -0
- package/build/modules/dcql/DcqlError.d.mts +17 -0
- package/build/modules/dcql/DcqlError.d.mts.map +1 -0
- package/build/modules/dcql/DcqlError.mjs +18 -0
- package/build/modules/dcql/DcqlError.mjs.map +1 -0
- package/build/modules/dcql/DcqlModule.d.mts +17 -0
- package/build/modules/dcql/DcqlModule.d.mts.map +1 -0
- package/build/modules/dcql/DcqlModule.mjs +20 -0
- package/build/modules/dcql/DcqlModule.mjs.map +1 -0
- package/build/modules/dcql/DcqlService.d.mts +1998 -0
- package/build/modules/dcql/DcqlService.d.mts.map +1 -0
- package/build/modules/dcql/DcqlService.mjs +522 -0
- package/build/modules/dcql/DcqlService.mjs.map +1 -0
- package/build/modules/dcql/index.d.mts +7 -0
- package/build/modules/dcql/index.mjs +8 -0
- package/build/modules/dcql/models/DcqlCredentialsForRequest.d.mts +58 -0
- package/build/modules/dcql/models/DcqlCredentialsForRequest.d.mts.map +1 -0
- package/build/modules/dcql/models/DcqlCredentialsForRequest.mjs +3 -0
- package/build/modules/dcql/models/index.d.mts +42 -0
- package/build/modules/dcql/models/index.d.mts.map +1 -0
- package/build/modules/dcql/models/index.mjs +3 -0
- package/build/modules/dcql/utils/DcqlPresentationsToCreate.d.mts +60 -0
- package/build/modules/dcql/utils/DcqlPresentationsToCreate.d.mts.map +1 -0
- package/build/modules/dcql/utils/DcqlPresentationsToCreate.mjs +63 -0
- package/build/modules/dcql/utils/DcqlPresentationsToCreate.mjs.map +1 -0
- package/build/modules/dcql/utils/index.d.mts +1 -0
- package/build/modules/dcql/utils/index.mjs +3 -0
- package/build/modules/dids/DidsApi.d.mts +103 -0
- package/build/modules/dids/DidsApi.d.mts.map +1 -0
- package/build/modules/dids/DidsApi.mjs +164 -0
- package/build/modules/dids/DidsApi.mjs.map +1 -0
- package/build/modules/dids/DidsApiOptions.d.mts +41 -0
- package/build/modules/dids/DidsApiOptions.d.mts.map +1 -0
- package/build/modules/dids/DidsModule.d.mts +19 -0
- package/build/modules/dids/DidsModule.d.mts.map +1 -0
- package/build/modules/dids/DidsModule.mjs +30 -0
- package/build/modules/dids/DidsModule.mjs.map +1 -0
- package/build/modules/dids/DidsModuleConfig.d.mts +48 -0
- package/build/modules/dids/DidsModuleConfig.d.mts.map +1 -0
- package/build/modules/dids/DidsModuleConfig.mjs +54 -0
- package/build/modules/dids/DidsModuleConfig.mjs.map +1 -0
- package/build/modules/dids/domain/DidDocument.d.mts +87 -0
- package/build/modules/dids/domain/DidDocument.d.mts.map +1 -0
- package/build/modules/dids/domain/DidDocument.mjs +253 -0
- package/build/modules/dids/domain/DidDocument.mjs.map +1 -0
- package/build/modules/dids/domain/DidDocumentBuilder.d.mts +24 -0
- package/build/modules/dids/domain/DidDocumentBuilder.d.mts.map +1 -0
- package/build/modules/dids/domain/DidDocumentBuilder.mjs +73 -0
- package/build/modules/dids/domain/DidDocumentBuilder.mjs.map +1 -0
- package/build/modules/dids/domain/DidDocumentRole.d.mts +8 -0
- package/build/modules/dids/domain/DidDocumentRole.d.mts.map +1 -0
- package/build/modules/dids/domain/DidDocumentRole.mjs +12 -0
- package/build/modules/dids/domain/DidDocumentRole.mjs.map +1 -0
- package/build/modules/dids/domain/DidRegistrar.d.mts +14 -0
- package/build/modules/dids/domain/DidRegistrar.d.mts.map +1 -0
- package/build/modules/dids/domain/DidResolver.d.mts +21 -0
- package/build/modules/dids/domain/DidResolver.d.mts.map +1 -0
- package/build/modules/dids/domain/didDocumentKey.d.mts +9 -0
- package/build/modules/dids/domain/didDocumentKey.d.mts.map +1 -0
- package/build/modules/dids/domain/didDocumentKey.mjs +12 -0
- package/build/modules/dids/domain/didDocumentKey.mjs.map +1 -0
- package/build/modules/dids/domain/index.d.mts +27 -0
- package/build/modules/dids/domain/index.mjs +27 -0
- package/build/modules/dids/domain/key-type/ed25519.d.mts +10 -0
- package/build/modules/dids/domain/key-type/ed25519.d.mts.map +1 -0
- package/build/modules/dids/domain/key-type/ed25519.mjs +37 -0
- package/build/modules/dids/domain/key-type/ed25519.mjs.map +1 -0
- package/build/modules/dids/domain/key-type/index.d.mts +3 -0
- package/build/modules/dids/domain/key-type/index.mjs +5 -0
- package/build/modules/dids/domain/key-type/keyDidJsonWebKey.mjs +31 -0
- package/build/modules/dids/domain/key-type/keyDidJsonWebKey.mjs.map +1 -0
- package/build/modules/dids/domain/key-type/keyDidMapping.d.mts +17 -0
- package/build/modules/dids/domain/key-type/keyDidMapping.d.mts.map +1 -0
- package/build/modules/dids/domain/key-type/keyDidMapping.mjs +46 -0
- package/build/modules/dids/domain/key-type/keyDidMapping.mjs.map +1 -0
- package/build/modules/dids/domain/key-type/secp256k1.mjs +32 -0
- package/build/modules/dids/domain/key-type/secp256k1.mjs.map +1 -0
- package/build/modules/dids/domain/key-type/x25519.d.mts +9 -0
- package/build/modules/dids/domain/key-type/x25519.d.mts.map +1 -0
- package/build/modules/dids/domain/key-type/x25519.mjs +33 -0
- package/build/modules/dids/domain/key-type/x25519.mjs.map +1 -0
- package/build/modules/dids/domain/keyDidDocument.mjs +82 -0
- package/build/modules/dids/domain/keyDidDocument.mjs.map +1 -0
- package/build/modules/dids/domain/parse.d.mts +8 -0
- package/build/modules/dids/domain/parse.d.mts.map +1 -0
- package/build/modules/dids/domain/parse.mjs +19 -0
- package/build/modules/dids/domain/parse.mjs.map +1 -0
- package/build/modules/dids/domain/service/DidCommV1Service.d.mts +23 -0
- package/build/modules/dids/domain/service/DidCommV1Service.d.mts.map +1 -0
- package/build/modules/dids/domain/service/DidCommV1Service.mjs +54 -0
- package/build/modules/dids/domain/service/DidCommV1Service.mjs.map +1 -0
- package/build/modules/dids/domain/service/DidCommV2Service.d.mts +29 -0
- package/build/modules/dids/domain/service/DidCommV2Service.d.mts.map +1 -0
- package/build/modules/dids/domain/service/DidCommV2Service.mjs +64 -0
- package/build/modules/dids/domain/service/DidCommV2Service.mjs.map +1 -0
- package/build/modules/dids/domain/service/DidDocumentService.d.mts +17 -0
- package/build/modules/dids/domain/service/DidDocumentService.d.mts.map +1 -0
- package/build/modules/dids/domain/service/DidDocumentService.mjs +36 -0
- package/build/modules/dids/domain/service/DidDocumentService.mjs.map +1 -0
- package/build/modules/dids/domain/service/IndyAgentService.d.mts +21 -0
- package/build/modules/dids/domain/service/IndyAgentService.d.mts.map +1 -0
- package/build/modules/dids/domain/service/IndyAgentService.mjs +48 -0
- package/build/modules/dids/domain/service/IndyAgentService.mjs.map +1 -0
- package/build/modules/dids/domain/service/LegacyDidCommV2Service.d.mts +21 -0
- package/build/modules/dids/domain/service/LegacyDidCommV2Service.d.mts.map +1 -0
- package/build/modules/dids/domain/service/LegacyDidCommV2Service.mjs +54 -0
- package/build/modules/dids/domain/service/LegacyDidCommV2Service.mjs.map +1 -0
- package/build/modules/dids/domain/service/ServiceTransformer.d.mts +17 -0
- package/build/modules/dids/domain/service/ServiceTransformer.d.mts.map +1 -0
- package/build/modules/dids/domain/service/ServiceTransformer.mjs +40 -0
- package/build/modules/dids/domain/service/ServiceTransformer.mjs.map +1 -0
- package/build/modules/dids/domain/service/index.d.mts +6 -0
- package/build/modules/dids/domain/service/index.mjs +8 -0
- package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.d.mts +33 -0
- package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.d.mts.map +1 -0
- package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.mjs +44 -0
- package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.mjs.map +1 -0
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.d.mts +36 -0
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.d.mts.map +1 -0
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.mjs +47 -0
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.mjs.map +1 -0
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.d.mts +39 -0
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.d.mts.map +1 -0
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.mjs +42 -0
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.mjs.map +1 -0
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.d.mts +155 -0
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.d.mts.map +1 -0
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.mjs +37 -0
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.mjs.map +1 -0
- package/build/modules/dids/domain/verificationMethod/Multikey.d.mts +46 -0
- package/build/modules/dids/domain/verificationMethod/Multikey.d.mts.map +1 -0
- package/build/modules/dids/domain/verificationMethod/Multikey.mjs +38 -0
- package/build/modules/dids/domain/verificationMethod/Multikey.mjs.map +1 -0
- package/build/modules/dids/domain/verificationMethod/VerificationMethod.d.mts +34 -0
- package/build/modules/dids/domain/verificationMethod/VerificationMethod.d.mts.map +1 -0
- package/build/modules/dids/domain/verificationMethod/VerificationMethod.mjs +66 -0
- package/build/modules/dids/domain/verificationMethod/VerificationMethod.mjs.map +1 -0
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.d.mts +20 -0
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.d.mts.map +1 -0
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.mjs +43 -0
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.mjs.map +1 -0
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.d.mts +33 -0
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.d.mts.map +1 -0
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.mjs +44 -0
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.mjs.map +1 -0
- package/build/modules/dids/domain/verificationMethod/index.d.mts +8 -0
- package/build/modules/dids/domain/verificationMethod/index.mjs +10 -0
- package/build/modules/dids/findMatchingEd25519Key.d.mts +22 -0
- package/build/modules/dids/findMatchingEd25519Key.d.mts.map +1 -0
- package/build/modules/dids/findMatchingEd25519Key.mjs +40 -0
- package/build/modules/dids/findMatchingEd25519Key.mjs.map +1 -0
- package/build/modules/dids/helpers.d.mts +13 -0
- package/build/modules/dids/helpers.d.mts.map +1 -0
- package/build/modules/dids/helpers.mjs +44 -0
- package/build/modules/dids/helpers.mjs.map +1 -0
- package/build/modules/dids/index.d.mts +49 -0
- package/build/modules/dids/index.mjs +47 -0
- package/build/modules/dids/methods/index.d.mts +15 -0
- package/build/modules/dids/methods/index.mjs +17 -0
- package/build/modules/dids/methods/jwk/DidJwk.d.mts +145 -0
- package/build/modules/dids/methods/jwk/DidJwk.d.mts.map +1 -0
- package/build/modules/dids/methods/jwk/DidJwk.mjs +47 -0
- package/build/modules/dids/methods/jwk/DidJwk.mjs.map +1 -0
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.d.mts +35 -0
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.d.mts.map +1 -0
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.mjs +109 -0
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.mjs.map +1 -0
- package/build/modules/dids/methods/jwk/JwkDidResolver.d.mts +22 -0
- package/build/modules/dids/methods/jwk/JwkDidResolver.d.mts.map +1 -0
- package/build/modules/dids/methods/jwk/JwkDidResolver.mjs +35 -0
- package/build/modules/dids/methods/jwk/JwkDidResolver.mjs.map +1 -0
- package/build/modules/dids/methods/jwk/didJwkDidDocument.mjs +26 -0
- package/build/modules/dids/methods/jwk/didJwkDidDocument.mjs.map +1 -0
- package/build/modules/dids/methods/jwk/index.d.mts +3 -0
- package/build/modules/dids/methods/jwk/index.mjs +5 -0
- package/build/modules/dids/methods/key/DidKey.d.mts +16 -0
- package/build/modules/dids/methods/key/DidKey.d.mts.map +1 -0
- package/build/modules/dids/methods/key/DidKey.mjs +27 -0
- package/build/modules/dids/methods/key/DidKey.mjs.map +1 -0
- package/build/modules/dids/methods/key/KeyDidRegistrar.d.mts +35 -0
- package/build/modules/dids/methods/key/KeyDidRegistrar.d.mts.map +1 -0
- package/build/modules/dids/methods/key/KeyDidRegistrar.mjs +103 -0
- package/build/modules/dids/methods/key/KeyDidRegistrar.mjs.map +1 -0
- package/build/modules/dids/methods/key/KeyDidResolver.d.mts +22 -0
- package/build/modules/dids/methods/key/KeyDidResolver.d.mts.map +1 -0
- package/build/modules/dids/methods/key/KeyDidResolver.mjs +35 -0
- package/build/modules/dids/methods/key/KeyDidResolver.mjs.map +1 -0
- package/build/modules/dids/methods/key/index.d.mts +3 -0
- package/build/modules/dids/methods/key/index.mjs +5 -0
- package/build/modules/dids/methods/peer/PeerDidRegistrar.d.mts +86 -0
- package/build/modules/dids/methods/peer/PeerDidRegistrar.d.mts.map +1 -0
- package/build/modules/dids/methods/peer/PeerDidRegistrar.mjs +176 -0
- package/build/modules/dids/methods/peer/PeerDidRegistrar.mjs.map +1 -0
- package/build/modules/dids/methods/peer/PeerDidResolver.d.mts +22 -0
- package/build/modules/dids/methods/peer/PeerDidResolver.d.mts.map +1 -0
- package/build/modules/dids/methods/peer/PeerDidResolver.mjs +59 -0
- package/build/modules/dids/methods/peer/PeerDidResolver.mjs.map +1 -0
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.d.mts +13 -0
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.d.mts.map +1 -0
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.mjs +73 -0
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.mjs.map +1 -0
- package/build/modules/dids/methods/peer/didPeer.d.mts +19 -0
- package/build/modules/dids/methods/peer/didPeer.d.mts.map +1 -0
- package/build/modules/dids/methods/peer/didPeer.mjs +36 -0
- package/build/modules/dids/methods/peer/didPeer.mjs.map +1 -0
- package/build/modules/dids/methods/peer/index.d.mts +4 -0
- package/build/modules/dids/methods/peer/index.mjs +6 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo0.mjs +25 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo0.mjs.map +1 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo1.d.mts +5 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo1.d.mts.map +1 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo1.mjs +19 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo1.mjs.map +1 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.d.mts +8 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.d.mts.map +1 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.mjs +152 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.mjs.map +1 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.d.mts +11 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.d.mts.map +1 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.mjs +79 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.mjs.map +1 -0
- package/build/modules/dids/methods/web/WebDidResolver.d.mts +18 -0
- package/build/modules/dids/methods/web/WebDidResolver.d.mts.map +1 -0
- package/build/modules/dids/methods/web/WebDidResolver.mjs +32 -0
- package/build/modules/dids/methods/web/WebDidResolver.mjs.map +1 -0
- package/build/modules/dids/methods/web/index.d.mts +1 -0
- package/build/modules/dids/methods/web/index.mjs +3 -0
- package/build/modules/dids/repository/DidRecord.d.mts +58 -0
- package/build/modules/dids/repository/DidRecord.d.mts.map +1 -0
- package/build/modules/dids/repository/DidRecord.mjs +55 -0
- package/build/modules/dids/repository/DidRecord.mjs.map +1 -0
- package/build/modules/dids/repository/DidRepository.d.mts +59 -0
- package/build/modules/dids/repository/DidRepository.d.mts.map +1 -0
- package/build/modules/dids/repository/DidRepository.mjs +95 -0
- package/build/modules/dids/repository/DidRepository.mjs.map +1 -0
- package/build/modules/dids/repository/didRecordMetadataTypes.d.mts +13 -0
- package/build/modules/dids/repository/didRecordMetadataTypes.d.mts.map +1 -0
- package/build/modules/dids/repository/didRecordMetadataTypes.mjs +11 -0
- package/build/modules/dids/repository/didRecordMetadataTypes.mjs.map +1 -0
- package/build/modules/dids/repository/index.d.mts +2 -0
- package/build/modules/dids/repository/index.mjs +4 -0
- package/build/modules/dids/services/DidRegistrarService.d.mts +25 -0
- package/build/modules/dids/services/DidRegistrarService.d.mts.map +1 -0
- package/build/modules/dids/services/DidRegistrarService.mjs +135 -0
- package/build/modules/dids/services/DidRegistrarService.mjs.map +1 -0
- package/build/modules/dids/services/DidResolverService.d.mts +33 -0
- package/build/modules/dids/services/DidResolverService.d.mts.map +1 -0
- package/build/modules/dids/services/DidResolverService.mjs +129 -0
- package/build/modules/dids/services/DidResolverService.mjs.map +1 -0
- package/build/modules/dids/services/index.d.mts +2 -0
- package/build/modules/dids/services/index.mjs +4 -0
- package/build/modules/dids/types.d.mts +124 -0
- package/build/modules/dids/types.d.mts.map +1 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.d.mts +17 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.d.mts.map +1 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.mjs +16 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.mjs.map +1 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.d.mts +17 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.d.mts.map +1 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.mjs +20 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.mjs.map +1 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.d.mts +83 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.d.mts.map +1 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.mjs +351 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.mjs.map +1 -0
- package/build/modules/dif-presentation-exchange/index.d.mts +7 -0
- package/build/modules/dif-presentation-exchange/index.mjs +8 -0
- package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.mts +134 -0
- package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.mts.map +1 -0
- package/build/modules/dif-presentation-exchange/models/index.d.mts +24 -0
- package/build/modules/dif-presentation-exchange/models/index.d.mts.map +1 -0
- package/build/modules/dif-presentation-exchange/models/index.mjs +5 -0
- package/build/modules/dif-presentation-exchange/utils/credentialSelection.d.mts +5 -0
- package/build/modules/dif-presentation-exchange/utils/credentialSelection.mjs +195 -0
- package/build/modules/dif-presentation-exchange/utils/credentialSelection.mjs.map +1 -0
- package/build/modules/dif-presentation-exchange/utils/index.d.mts +4 -0
- package/build/modules/dif-presentation-exchange/utils/index.mjs +6 -0
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.d.mts +40 -0
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.d.mts.map +1 -0
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.mjs +59 -0
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.mjs.map +1 -0
- package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.d.mts +5 -0
- package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.mjs +51 -0
- package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.mjs.map +1 -0
- package/build/modules/dif-presentation-exchange/utils/transform.d.mts +7 -0
- package/build/modules/dif-presentation-exchange/utils/transform.mjs +31 -0
- package/build/modules/dif-presentation-exchange/utils/transform.mjs.map +1 -0
- package/build/modules/generic-records/GenericRecordsApi.d.mts +31 -0
- package/build/modules/generic-records/GenericRecordsApi.d.mts.map +1 -0
- package/build/modules/generic-records/GenericRecordsApi.mjs +85 -0
- package/build/modules/generic-records/GenericRecordsApi.mjs.map +1 -0
- package/build/modules/generic-records/GenericRecordsModule.d.mts +16 -0
- package/build/modules/generic-records/GenericRecordsModule.d.mts.map +1 -0
- package/build/modules/generic-records/GenericRecordsModule.mjs +23 -0
- package/build/modules/generic-records/GenericRecordsModule.mjs.map +1 -0
- package/build/modules/generic-records/index.d.mts +3 -0
- package/build/modules/generic-records/index.mjs +5 -0
- package/build/modules/generic-records/repository/GenericRecord.d.mts +29 -0
- package/build/modules/generic-records/repository/GenericRecord.d.mts.map +1 -0
- package/build/modules/generic-records/repository/GenericRecord.mjs +26 -0
- package/build/modules/generic-records/repository/GenericRecord.mjs.map +1 -0
- package/build/modules/generic-records/repository/GenericRecordsRepository.d.mts +12 -0
- package/build/modules/generic-records/repository/GenericRecordsRepository.d.mts.map +1 -0
- package/build/modules/generic-records/repository/GenericRecordsRepository.mjs +27 -0
- package/build/modules/generic-records/repository/GenericRecordsRepository.mjs.map +1 -0
- package/build/modules/generic-records/services/GenericRecordService.d.mts +25 -0
- package/build/modules/generic-records/services/GenericRecordService.d.mts.map +1 -0
- package/build/modules/generic-records/services/GenericRecordService.mjs +61 -0
- package/build/modules/generic-records/services/GenericRecordService.mjs.map +1 -0
- package/build/modules/kms/KeyManagementApi.d.mts +155 -0
- package/build/modules/kms/KeyManagementApi.d.mts.map +1 -0
- package/build/modules/kms/KeyManagementApi.mjs +205 -0
- package/build/modules/kms/KeyManagementApi.mjs.map +1 -0
- package/build/modules/kms/KeyManagementModule.d.mts +19 -0
- package/build/modules/kms/KeyManagementModule.d.mts.map +1 -0
- package/build/modules/kms/KeyManagementModule.mjs +22 -0
- package/build/modules/kms/KeyManagementModule.mjs.map +1 -0
- package/build/modules/kms/KeyManagementModuleConfig.d.mts +29 -0
- package/build/modules/kms/KeyManagementModuleConfig.d.mts.map +1 -0
- package/build/modules/kms/KeyManagementModuleConfig.mjs +36 -0
- package/build/modules/kms/KeyManagementModuleConfig.mjs.map +1 -0
- package/build/modules/kms/KeyManagementService.d.mts +73 -0
- package/build/modules/kms/KeyManagementService.d.mts.map +1 -0
- package/build/modules/kms/cose/algorithm.d.mts +37 -0
- package/build/modules/kms/cose/algorithm.d.mts.map +1 -0
- package/build/modules/kms/cose/algorithm.mjs +25 -0
- package/build/modules/kms/cose/algorithm.mjs.map +1 -0
- package/build/modules/kms/cose/index.d.mts +1 -0
- package/build/modules/kms/cose/index.mjs +3 -0
- package/build/modules/kms/error/KeyManagementAlgorithmNotSupportedError.d.mts +10 -0
- package/build/modules/kms/error/KeyManagementAlgorithmNotSupportedError.d.mts.map +1 -0
- package/build/modules/kms/error/KeyManagementAlgorithmNotSupportedError.mjs +15 -0
- package/build/modules/kms/error/KeyManagementAlgorithmNotSupportedError.mjs.map +1 -0
- package/build/modules/kms/error/KeyManagementError.d.mts +8 -0
- package/build/modules/kms/error/KeyManagementError.d.mts.map +1 -0
- package/build/modules/kms/error/KeyManagementError.mjs +11 -0
- package/build/modules/kms/error/KeyManagementError.mjs.map +1 -0
- package/build/modules/kms/error/KeyManagementKeyExistsError.d.mts +9 -0
- package/build/modules/kms/error/KeyManagementKeyExistsError.d.mts.map +1 -0
- package/build/modules/kms/error/KeyManagementKeyExistsError.mjs +14 -0
- package/build/modules/kms/error/KeyManagementKeyExistsError.mjs.map +1 -0
- package/build/modules/kms/error/KeyManagementKeyNotFoundError.d.mts +9 -0
- package/build/modules/kms/error/KeyManagementKeyNotFoundError.d.mts.map +1 -0
- package/build/modules/kms/error/KeyManagementKeyNotFoundError.mjs +17 -0
- package/build/modules/kms/error/KeyManagementKeyNotFoundError.mjs.map +1 -0
- package/build/modules/kms/index.d.mts +56 -0
- package/build/modules/kms/index.d.mts.map +1 -0
- package/build/modules/kms/index.mjs +93 -0
- package/build/modules/kms/index.mjs.map +1 -0
- package/build/modules/kms/jwk/PublicJwk.d.mts +100 -0
- package/build/modules/kms/jwk/PublicJwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/PublicJwk.mjs +220 -0
- package/build/modules/kms/jwk/PublicJwk.mjs.map +1 -0
- package/build/modules/kms/jwk/alg/encryption.d.mts +17 -0
- package/build/modules/kms/jwk/alg/encryption.d.mts.map +1 -0
- package/build/modules/kms/jwk/alg/encryption.mjs +43 -0
- package/build/modules/kms/jwk/alg/encryption.mjs.map +1 -0
- package/build/modules/kms/jwk/alg/index.d.mts +3 -0
- package/build/modules/kms/jwk/alg/index.mjs +5 -0
- package/build/modules/kms/jwk/alg/keyDerivation.d.mts +17 -0
- package/build/modules/kms/jwk/alg/keyDerivation.d.mts.map +1 -0
- package/build/modules/kms/jwk/alg/keyDerivation.mjs +43 -0
- package/build/modules/kms/jwk/alg/keyDerivation.mjs.map +1 -0
- package/build/modules/kms/jwk/alg/signing.d.mts +19 -0
- package/build/modules/kms/jwk/alg/signing.d.mts.map +1 -0
- package/build/modules/kms/jwk/alg/signing.mjs +113 -0
- package/build/modules/kms/jwk/alg/signing.mjs.map +1 -0
- package/build/modules/kms/jwk/assertSupported.d.mts +17 -0
- package/build/modules/kms/jwk/assertSupported.d.mts.map +1 -0
- package/build/modules/kms/jwk/assertSupported.mjs +15 -0
- package/build/modules/kms/jwk/assertSupported.mjs.map +1 -0
- package/build/modules/kms/jwk/equals.d.mts +21 -0
- package/build/modules/kms/jwk/equals.d.mts.map +1 -0
- package/build/modules/kms/jwk/equals.mjs +39 -0
- package/build/modules/kms/jwk/equals.mjs.map +1 -0
- package/build/modules/kms/jwk/humanDescription.d.mts +16 -0
- package/build/modules/kms/jwk/humanDescription.d.mts.map +1 -0
- package/build/modules/kms/jwk/humanDescription.mjs +24 -0
- package/build/modules/kms/jwk/humanDescription.mjs.map +1 -0
- package/build/modules/kms/jwk/index.d.mts +25 -0
- package/build/modules/kms/jwk/index.mjs +22 -0
- package/build/modules/kms/jwk/jwa.d.mts +97 -0
- package/build/modules/kms/jwk/jwa.d.mts.map +1 -0
- package/build/modules/kms/jwk/jwa.mjs +61 -0
- package/build/modules/kms/jwk/jwa.mjs.map +1 -0
- package/build/modules/kms/jwk/jwk.d.mts +49 -0
- package/build/modules/kms/jwk/jwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/jwk.mjs +42 -0
- package/build/modules/kms/jwk/jwk.mjs.map +1 -0
- package/build/modules/kms/jwk/jwkThumbprint.mjs +40 -0
- package/build/modules/kms/jwk/jwkThumbprint.mjs.map +1 -0
- package/build/modules/kms/jwk/keyOps.d.mts +17 -0
- package/build/modules/kms/jwk/keyOps.d.mts.map +1 -0
- package/build/modules/kms/jwk/keyOps.mjs +65 -0
- package/build/modules/kms/jwk/keyOps.mjs.map +1 -0
- package/build/modules/kms/jwk/knownJwk.d.mts +298 -0
- package/build/modules/kms/jwk/knownJwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/knownJwk.mjs +57 -0
- package/build/modules/kms/jwk/knownJwk.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/PublicJwk.d.mts +14 -0
- package/build/modules/kms/jwk/kty/PublicJwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/kty/ec/P256PublicJwk.d.mts +35 -0
- package/build/modules/kms/jwk/kty/ec/P256PublicJwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/kty/ec/P256PublicJwk.mjs +44 -0
- package/build/modules/kms/jwk/kty/ec/P256PublicJwk.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/ec/P384PublicJwk.d.mts +35 -0
- package/build/modules/kms/jwk/kty/ec/P384PublicJwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/kty/ec/P384PublicJwk.mjs +44 -0
- package/build/modules/kms/jwk/kty/ec/P384PublicJwk.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/ec/P521PublicJwk.d.mts +35 -0
- package/build/modules/kms/jwk/kty/ec/P521PublicJwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/kty/ec/P521PublicJwk.mjs +44 -0
- package/build/modules/kms/jwk/kty/ec/P521PublicJwk.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/ec/Secp256k1PublicJwk.d.mts +35 -0
- package/build/modules/kms/jwk/kty/ec/Secp256k1PublicJwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/kty/ec/Secp256k1PublicJwk.mjs +44 -0
- package/build/modules/kms/jwk/kty/ec/Secp256k1PublicJwk.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/ec/ecJwk.d.mts +50 -0
- package/build/modules/kms/jwk/kty/ec/ecJwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/kty/ec/ecJwk.mjs +32 -0
- package/build/modules/kms/jwk/kty/ec/ecJwk.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/ec/ecPublicKey.d.mts +3 -0
- package/build/modules/kms/jwk/kty/ec/ecPublicKey.mjs +36 -0
- package/build/modules/kms/jwk/kty/ec/ecPublicKey.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/ec/ecSignature.d.mts +24 -0
- package/build/modules/kms/jwk/kty/ec/ecSignature.d.mts.map +1 -0
- package/build/modules/kms/jwk/kty/ec/ecSignature.mjs +94 -0
- package/build/modules/kms/jwk/kty/ec/ecSignature.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/index.d.mts +15 -0
- package/build/modules/kms/jwk/kty/index.mjs +17 -0
- package/build/modules/kms/jwk/kty/oct/octJwk.d.mts +34 -0
- package/build/modules/kms/jwk/kty/oct/octJwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/kty/oct/octJwk.mjs +24 -0
- package/build/modules/kms/jwk/kty/oct/octJwk.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/okp/Ed25519PublicJwk.d.mts +51 -0
- package/build/modules/kms/jwk/kty/okp/Ed25519PublicJwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/kty/okp/Ed25519PublicJwk.mjs +48 -0
- package/build/modules/kms/jwk/kty/okp/Ed25519PublicJwk.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/okp/X25519PublicJwk.d.mts +34 -0
- package/build/modules/kms/jwk/kty/okp/X25519PublicJwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/kty/okp/X25519PublicJwk.mjs +43 -0
- package/build/modules/kms/jwk/kty/okp/X25519PublicJwk.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/okp/okpJwk.d.mts +44 -0
- package/build/modules/kms/jwk/kty/okp/okpJwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/kty/okp/okpJwk.mjs +26 -0
- package/build/modules/kms/jwk/kty/okp/okpJwk.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/okp/okpPublicKey.d.mts +2 -0
- package/build/modules/kms/jwk/kty/okp/okpPublicKey.mjs +20 -0
- package/build/modules/kms/jwk/kty/okp/okpPublicKey.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/rsa/RsaPublicJwk.d.mts +34 -0
- package/build/modules/kms/jwk/kty/rsa/RsaPublicJwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/kty/rsa/RsaPublicJwk.mjs +65 -0
- package/build/modules/kms/jwk/kty/rsa/RsaPublicJwk.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/rsa/rsaJwk.d.mts +54 -0
- package/build/modules/kms/jwk/kty/rsa/rsaJwk.d.mts.map +1 -0
- package/build/modules/kms/jwk/kty/rsa/rsaJwk.mjs +49 -0
- package/build/modules/kms/jwk/kty/rsa/rsaJwk.mjs.map +1 -0
- package/build/modules/kms/jwk/kty/rsa/rsaPublicKey.d.mts +2 -0
- package/build/modules/kms/jwk/kty/rsa/rsaPublicKey.mjs +23 -0
- package/build/modules/kms/jwk/kty/rsa/rsaPublicKey.mjs.map +1 -0
- package/build/modules/kms/legacy.d.mts +13 -0
- package/build/modules/kms/legacy.d.mts.map +1 -0
- package/build/modules/kms/legacy.mjs +24 -0
- package/build/modules/kms/legacy.mjs.map +1 -0
- package/build/modules/kms/options/KmsCreateKeyOptions.d.mts +136 -0
- package/build/modules/kms/options/KmsCreateKeyOptions.d.mts.map +1 -0
- package/build/modules/kms/options/KmsCreateKeyOptions.mjs +81 -0
- package/build/modules/kms/options/KmsCreateKeyOptions.mjs.map +1 -0
- package/build/modules/kms/options/KmsDecryptOptions.d.mts +262 -0
- package/build/modules/kms/options/KmsDecryptOptions.d.mts.map +1 -0
- package/build/modules/kms/options/KmsDecryptOptions.mjs +76 -0
- package/build/modules/kms/options/KmsDecryptOptions.mjs.map +1 -0
- package/build/modules/kms/options/KmsDeleteKeyOptions.d.mts +10 -0
- package/build/modules/kms/options/KmsDeleteKeyOptions.d.mts.map +1 -0
- package/build/modules/kms/options/KmsDeleteKeyOptions.mjs +11 -0
- package/build/modules/kms/options/KmsDeleteKeyOptions.mjs.map +1 -0
- package/build/modules/kms/options/KmsEncryptOptions.d.mts +270 -0
- package/build/modules/kms/options/KmsEncryptOptions.d.mts.map +1 -0
- package/build/modules/kms/options/KmsEncryptOptions.mjs +78 -0
- package/build/modules/kms/options/KmsEncryptOptions.mjs.map +1 -0
- package/build/modules/kms/options/KmsGetPublicKeyOptions.d.mts +10 -0
- package/build/modules/kms/options/KmsGetPublicKeyOptions.d.mts.map +1 -0
- package/build/modules/kms/options/KmsGetPublicKeyOptions.mjs +11 -0
- package/build/modules/kms/options/KmsGetPublicKeyOptions.mjs.map +1 -0
- package/build/modules/kms/options/KmsImportKeyOptions.d.mts +28 -0
- package/build/modules/kms/options/KmsImportKeyOptions.d.mts.map +1 -0
- package/build/modules/kms/options/KmsImportKeyOptions.mjs +11 -0
- package/build/modules/kms/options/KmsImportKeyOptions.mjs.map +1 -0
- package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.d.mts +198 -0
- package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.d.mts.map +1 -0
- package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.mjs +36 -0
- package/build/modules/kms/options/KmsKeyAgreementDecryptOptions.mjs.map +1 -0
- package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.d.mts +270 -0
- package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.d.mts.map +1 -0
- package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.mjs +47 -0
- package/build/modules/kms/options/KmsKeyAgreementEncryptOptions.mjs.map +1 -0
- package/build/modules/kms/options/KmsOperation.d.mts +47 -0
- package/build/modules/kms/options/KmsOperation.d.mts.map +1 -0
- package/build/modules/kms/options/KmsOperation.mjs +38 -0
- package/build/modules/kms/options/KmsOperation.mjs.map +1 -0
- package/build/modules/kms/options/KmsRandomBytesOptions.d.mts +14 -0
- package/build/modules/kms/options/KmsRandomBytesOptions.d.mts.map +1 -0
- package/build/modules/kms/options/KmsRandomBytesOptions.mjs +10 -0
- package/build/modules/kms/options/KmsRandomBytesOptions.mjs.map +1 -0
- package/build/modules/kms/options/KmsSignOptions.d.mts +33 -0
- package/build/modules/kms/options/KmsSignOptions.d.mts.map +1 -0
- package/build/modules/kms/options/KmsSignOptions.mjs +17 -0
- package/build/modules/kms/options/KmsSignOptions.mjs.map +1 -0
- package/build/modules/kms/options/KmsVerifyOptions.d.mts +101 -0
- package/build/modules/kms/options/KmsVerifyOptions.d.mts.map +1 -0
- package/build/modules/kms/options/KmsVerifyOptions.mjs +25 -0
- package/build/modules/kms/options/KmsVerifyOptions.mjs.map +1 -0
- package/build/modules/kms/options/backend.d.mts +14 -0
- package/build/modules/kms/options/backend.d.mts.map +1 -0
- package/build/modules/kms/options/backend.mjs +10 -0
- package/build/modules/kms/options/backend.mjs.map +1 -0
- package/build/modules/kms/options/common.mjs +10 -0
- package/build/modules/kms/options/common.mjs.map +1 -0
- package/build/modules/kms/options/index.d.mts +12 -0
- package/build/modules/kms/options/index.mjs +3 -0
- package/build/modules/mdoc/Mdoc.d.mts +56 -0
- package/build/modules/mdoc/Mdoc.d.mts.map +1 -0
- package/build/modules/mdoc/Mdoc.mjs +145 -0
- package/build/modules/mdoc/Mdoc.mjs.map +1 -0
- package/build/modules/mdoc/MdocApi.d.mts +51 -0
- package/build/modules/mdoc/MdocApi.d.mts.map +1 -0
- package/build/modules/mdoc/MdocApi.mjs +66 -0
- package/build/modules/mdoc/MdocApi.mjs.map +1 -0
- package/build/modules/mdoc/MdocContext.mjs +129 -0
- package/build/modules/mdoc/MdocContext.mjs.map +1 -0
- package/build/modules/mdoc/MdocDeviceResponse.d.mts +135 -0
- package/build/modules/mdoc/MdocDeviceResponse.d.mts.map +1 -0
- package/build/modules/mdoc/MdocDeviceResponse.mjs +250 -0
- package/build/modules/mdoc/MdocDeviceResponse.mjs.map +1 -0
- package/build/modules/mdoc/MdocError.d.mts +8 -0
- package/build/modules/mdoc/MdocError.d.mts.map +1 -0
- package/build/modules/mdoc/MdocError.mjs +11 -0
- package/build/modules/mdoc/MdocError.mjs.map +1 -0
- package/build/modules/mdoc/MdocModule.d.mts +19 -0
- package/build/modules/mdoc/MdocModule.d.mts.map +1 -0
- package/build/modules/mdoc/MdocModule.mjs +27 -0
- package/build/modules/mdoc/MdocModule.mjs.map +1 -0
- package/build/modules/mdoc/MdocOptions.d.mts +93 -0
- package/build/modules/mdoc/MdocOptions.d.mts.map +1 -0
- package/build/modules/mdoc/MdocOptions.mjs +6 -0
- package/build/modules/mdoc/MdocService.d.mts +48 -0
- package/build/modules/mdoc/MdocService.d.mts.map +1 -0
- package/build/modules/mdoc/MdocService.mjs +60 -0
- package/build/modules/mdoc/MdocService.mjs.map +1 -0
- package/build/modules/mdoc/index.d.mts +13 -0
- package/build/modules/mdoc/index.mjs +16 -0
- package/build/modules/mdoc/mdocSupportedAlgs.d.mts +10 -0
- package/build/modules/mdoc/mdocSupportedAlgs.d.mts.map +1 -0
- package/build/modules/mdoc/mdocSupportedAlgs.mjs +19 -0
- package/build/modules/mdoc/mdocSupportedAlgs.mjs.map +1 -0
- package/build/modules/mdoc/mdocUtil.mjs +10 -0
- package/build/modules/mdoc/mdocUtil.mjs.map +1 -0
- package/build/modules/mdoc/repository/MdocRecord.d.mts +73 -0
- package/build/modules/mdoc/repository/MdocRecord.d.mts.map +1 -0
- package/build/modules/mdoc/repository/MdocRecord.mjs +67 -0
- package/build/modules/mdoc/repository/MdocRecord.mjs.map +1 -0
- package/build/modules/mdoc/repository/MdocRepository.d.mts +12 -0
- package/build/modules/mdoc/repository/MdocRepository.d.mts.map +1 -0
- package/build/modules/mdoc/repository/MdocRepository.mjs +27 -0
- package/build/modules/mdoc/repository/MdocRepository.mjs.map +1 -0
- package/build/modules/mdoc/repository/index.d.mts +2 -0
- package/build/modules/mdoc/repository/index.mjs +4 -0
- package/build/modules/sd-jwt-vc/SdJwtVcApi.d.mts +54 -0
- package/build/modules/sd-jwt-vc/SdJwtVcApi.d.mts.map +1 -0
- package/build/modules/sd-jwt-vc/SdJwtVcApi.mjs +69 -0
- package/build/modules/sd-jwt-vc/SdJwtVcApi.mjs.map +1 -0
- package/build/modules/sd-jwt-vc/SdJwtVcError.d.mts +8 -0
- package/build/modules/sd-jwt-vc/SdJwtVcError.d.mts.map +1 -0
- package/build/modules/sd-jwt-vc/SdJwtVcError.mjs +11 -0
- package/build/modules/sd-jwt-vc/SdJwtVcError.mjs.map +1 -0
- package/build/modules/sd-jwt-vc/SdJwtVcModule.d.mts +19 -0
- package/build/modules/sd-jwt-vc/SdJwtVcModule.d.mts.map +1 -0
- package/build/modules/sd-jwt-vc/SdJwtVcModule.mjs +27 -0
- package/build/modules/sd-jwt-vc/SdJwtVcModule.mjs.map +1 -0
- package/build/modules/sd-jwt-vc/SdJwtVcOptions.d.mts +147 -0
- package/build/modules/sd-jwt-vc/SdJwtVcOptions.d.mts.map +1 -0
- package/build/modules/sd-jwt-vc/SdJwtVcOptions.mjs +4 -0
- package/build/modules/sd-jwt-vc/SdJwtVcService.d.mts +95 -0
- package/build/modules/sd-jwt-vc/SdJwtVcService.d.mts.map +1 -0
- package/build/modules/sd-jwt-vc/SdJwtVcService.mjs +347 -0
- package/build/modules/sd-jwt-vc/SdJwtVcService.mjs.map +1 -0
- package/build/modules/sd-jwt-vc/decodeSdJwtVc.mjs +33 -0
- package/build/modules/sd-jwt-vc/decodeSdJwtVc.mjs.map +1 -0
- package/build/modules/sd-jwt-vc/disclosureFrame.mjs +19 -0
- package/build/modules/sd-jwt-vc/disclosureFrame.mjs.map +1 -0
- package/build/modules/sd-jwt-vc/index.d.mts +9 -0
- package/build/modules/sd-jwt-vc/index.mjs +10 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.d.mts +85 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.d.mts.map +1 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.mjs +77 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.mjs.map +1 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.d.mts +12 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.d.mts.map +1 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.mjs +27 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.mjs.map +1 -0
- package/build/modules/sd-jwt-vc/repository/index.d.mts +2 -0
- package/build/modules/sd-jwt-vc/repository/index.mjs +4 -0
- package/build/modules/sd-jwt-vc/typeMetadata.d.mts +71 -0
- package/build/modules/sd-jwt-vc/typeMetadata.d.mts.map +1 -0
- package/build/modules/sd-jwt-vc/utils.mjs +106 -0
- package/build/modules/sd-jwt-vc/utils.mjs.map +1 -0
- package/build/modules/vc/W3cCredentialService.d.mts +71 -0
- package/build/modules/vc/W3cCredentialService.d.mts.map +1 -0
- package/build/modules/vc/W3cCredentialService.mjs +124 -0
- package/build/modules/vc/W3cCredentialService.mjs.map +1 -0
- package/build/modules/vc/W3cCredentialServiceOptions.d.mts +159 -0
- package/build/modules/vc/W3cCredentialServiceOptions.d.mts.map +1 -0
- package/build/modules/vc/W3cCredentialServiceOptions.mjs +3 -0
- package/build/modules/vc/W3cCredentialsApi.d.mts +36 -0
- package/build/modules/vc/W3cCredentialsApi.d.mts.map +1 -0
- package/build/modules/vc/W3cCredentialsApi.mjs +52 -0
- package/build/modules/vc/W3cCredentialsApi.mjs.map +1 -0
- package/build/modules/vc/W3cCredentialsModule.d.mts +19 -0
- package/build/modules/vc/W3cCredentialsModule.d.mts.map +1 -0
- package/build/modules/vc/W3cCredentialsModule.mjs +53 -0
- package/build/modules/vc/W3cCredentialsModule.mjs.map +1 -0
- package/build/modules/vc/W3cCredentialsModuleConfig.d.mts +41 -0
- package/build/modules/vc/W3cCredentialsModuleConfig.d.mts.map +1 -0
- package/build/modules/vc/W3cCredentialsModuleConfig.mjs +18 -0
- package/build/modules/vc/W3cCredentialsModuleConfig.mjs.map +1 -0
- package/build/modules/vc/W3cV2CredentialService.d.mts +63 -0
- package/build/modules/vc/W3cV2CredentialService.d.mts.map +1 -0
- package/build/modules/vc/W3cV2CredentialService.mjs +104 -0
- package/build/modules/vc/W3cV2CredentialService.mjs.map +1 -0
- package/build/modules/vc/W3cV2CredentialServiceOptions.d.mts +156 -0
- package/build/modules/vc/W3cV2CredentialServiceOptions.d.mts.map +1 -0
- package/build/modules/vc/W3cV2CredentialServiceOptions.mjs +4 -0
- package/build/modules/vc/W3cV2CredentialsApi.d.mts +34 -0
- package/build/modules/vc/W3cV2CredentialsApi.d.mts.map +1 -0
- package/build/modules/vc/W3cV2CredentialsApi.mjs +49 -0
- package/build/modules/vc/W3cV2CredentialsApi.mjs.map +1 -0
- package/build/modules/vc/W3cV2CredentialsModule.d.mts +16 -0
- package/build/modules/vc/W3cV2CredentialsModule.d.mts.map +1 -0
- package/build/modules/vc/W3cV2CredentialsModule.mjs +31 -0
- package/build/modules/vc/W3cV2CredentialsModule.mjs.map +1 -0
- package/build/modules/vc/constants.d.mts +22 -0
- package/build/modules/vc/constants.d.mts.map +1 -0
- package/build/modules/vc/constants.mjs +25 -0
- package/build/modules/vc/constants.mjs.map +1 -0
- package/build/modules/vc/data-integrity/SignatureSuiteRegistry.d.mts +26 -0
- package/build/modules/vc/data-integrity/SignatureSuiteRegistry.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/SignatureSuiteRegistry.mjs +52 -0
- package/build/modules/vc/data-integrity/SignatureSuiteRegistry.mjs.map +1 -0
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.d.mts +53 -0
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.mjs +232 -0
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.mjs.map +1 -0
- package/build/modules/vc/data-integrity/deriveProof.d.mts +27 -0
- package/build/modules/vc/data-integrity/deriveProof.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/deriveProof.mjs +80 -0
- package/build/modules/vc/data-integrity/deriveProof.mjs.map +1 -0
- package/build/modules/vc/data-integrity/index.d.mts +18 -0
- package/build/modules/vc/data-integrity/index.mjs +18 -0
- package/build/modules/vc/data-integrity/jsonldUtil.d.mts +25 -0
- package/build/modules/vc/data-integrity/jsonldUtil.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/jsonldUtil.mjs +77 -0
- package/build/modules/vc/data-integrity/jsonldUtil.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/X25519_v1.mjs +29 -0
- package/build/modules/vc/data-integrity/libraries/contexts/X25519_v1.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/credentials_v1.mjs +320 -0
- package/build/modules/vc/data-integrity/libraries/contexts/credentials_v1.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/dataIntegrity_v2.mjs +86 -0
- package/build/modules/vc/data-integrity/libraries/contexts/dataIntegrity_v2.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/defaultContexts.mjs +40 -0
- package/build/modules/vc/data-integrity/libraries/contexts/defaultContexts.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/did_v1.mjs +59 -0
- package/build/modules/vc/data-integrity/libraries/contexts/did_v1.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/ed25519_v1.mjs +92 -0
- package/build/modules/vc/data-integrity/libraries/contexts/ed25519_v1.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/linkedvp_v1.mjs +12 -0
- package/build/modules/vc/data-integrity/libraries/contexts/linkedvp_v1.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/odrl.mjs +306 -0
- package/build/modules/vc/data-integrity/libraries/contexts/odrl.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/purl_ob_v3po.mjs +421 -0
- package/build/modules/vc/data-integrity/libraries/contexts/purl_ob_v3po.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/schema_org.mjs +3065 -0
- package/build/modules/vc/data-integrity/libraries/contexts/schema_org.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/secp256k1_v1.mjs +101 -0
- package/build/modules/vc/data-integrity/libraries/contexts/secp256k1_v1.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/security_v1.mjs +79 -0
- package/build/modules/vc/data-integrity/libraries/contexts/security_v1.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/security_v2.mjs +127 -0
- package/build/modules/vc/data-integrity/libraries/contexts/security_v2.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/submission.mjs +20 -0
- package/build/modules/vc/data-integrity/libraries/contexts/submission.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/vc_revocation_list_2020.mjs +42 -0
- package/build/modules/vc/data-integrity/libraries/contexts/vc_revocation_list_2020.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/documentLoader.d.mts +8 -0
- package/build/modules/vc/data-integrity/libraries/documentLoader.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/libraries/documentLoader.mjs +46 -0
- package/build/modules/vc/data-integrity/libraries/documentLoader.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/index.d.mts +29 -0
- package/build/modules/vc/data-integrity/libraries/index.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/libraries/index.mjs +22 -0
- package/build/modules/vc/data-integrity/libraries/index.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/jsonld-signatures.d.mts +18 -0
- package/build/modules/vc/data-integrity/libraries/jsonld-signatures.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/libraries/jsonld-signatures.mjs +19 -0
- package/build/modules/vc/data-integrity/libraries/jsonld-signatures.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/jsonld.d.mts +19 -0
- package/build/modules/vc/data-integrity/libraries/jsonld.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/libraries/jsonld.mjs +12 -0
- package/build/modules/vc/data-integrity/libraries/jsonld.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.mjs +14 -0
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.native.d.mts +7 -0
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.native.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.native.mjs +14 -0
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.native.mjs.map +1 -0
- package/build/modules/vc/data-integrity/libraries/vc.d.mts +31 -0
- package/build/modules/vc/data-integrity/libraries/vc.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/libraries/vc.mjs +12 -0
- package/build/modules/vc/data-integrity/libraries/vc.mjs.map +1 -0
- package/build/modules/vc/data-integrity/models/DataIntegrityProof.d.mts +37 -0
- package/build/modules/vc/data-integrity/models/DataIntegrityProof.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/models/DataIntegrityProof.mjs +79 -0
- package/build/modules/vc/data-integrity/models/DataIntegrityProof.mjs.map +1 -0
- package/build/modules/vc/data-integrity/models/GetProofsOptions.d.mts +2 -0
- package/build/modules/vc/data-integrity/models/GetProofsResult.d.mts +1 -0
- package/build/modules/vc/data-integrity/models/GetTypeOptions.d.mts +1 -0
- package/build/modules/vc/data-integrity/models/IAnonCredsDataIntegrityService.d.mts +38 -0
- package/build/modules/vc/data-integrity/models/IAnonCredsDataIntegrityService.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/models/IAnonCredsDataIntegrityService.mjs +9 -0
- package/build/modules/vc/data-integrity/models/IAnonCredsDataIntegrityService.mjs.map +1 -0
- package/build/modules/vc/data-integrity/models/LdKeyPair.d.mts +38 -0
- package/build/modules/vc/data-integrity/models/LdKeyPair.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/models/LdKeyPair.mjs +27 -0
- package/build/modules/vc/data-integrity/models/LdKeyPair.mjs.map +1 -0
- package/build/modules/vc/data-integrity/models/LinkedDataProof.d.mts +34 -0
- package/build/modules/vc/data-integrity/models/LinkedDataProof.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/models/LinkedDataProof.mjs +63 -0
- package/build/modules/vc/data-integrity/models/LinkedDataProof.mjs.map +1 -0
- package/build/modules/vc/data-integrity/models/ProofTransformer.mjs +28 -0
- package/build/modules/vc/data-integrity/models/ProofTransformer.mjs.map +1 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.d.mts +32 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.mjs +63 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.mjs.map +1 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.d.mts +30 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.mjs +54 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.mjs.map +1 -0
- package/build/modules/vc/data-integrity/models/index.d.mts +5 -0
- package/build/modules/vc/data-integrity/models/index.mjs +7 -0
- package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.d.mts +60 -0
- package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.mjs +68 -0
- package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.mjs.map +1 -0
- package/build/modules/vc/data-integrity/proof-purposes/ProofPurpose.d.mts +5 -0
- package/build/modules/vc/data-integrity/proof-purposes/ProofPurpose.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/proof-purposes/index.d.mts +2 -0
- package/build/modules/vc/data-integrity/proof-purposes/index.mjs +3 -0
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.d.mts +100 -0
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.mjs +171 -0
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.mjs.map +1 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.d.mts +83 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.mjs +173 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.mjs.map +1 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.d.mts +110 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.d.mts.map +1 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.mjs +192 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.mjs.map +1 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/constants.mjs +9 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/constants.mjs.map +1 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/context.mjs +96 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/context.mjs.map +1 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/context2020.mjs +102 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/context2020.mjs.map +1 -0
- package/build/modules/vc/data-integrity/signature-suites/index.d.mts +3 -0
- package/build/modules/vc/data-integrity/signature-suites/index.mjs +5 -0
- package/build/modules/vc/index.d.mts +73 -0
- package/build/modules/vc/index.mjs +66 -0
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.d.mts +70 -0
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.d.mts.map +1 -0
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.mjs +307 -0
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.mjs.map +1 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.d.mts +58 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.d.mts.map +1 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.mjs +91 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.mjs.map +1 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.d.mts +49 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.d.mts.map +1 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.mjs +70 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.mjs.map +1 -0
- package/build/modules/vc/jwt-vc/W3cV2JwtCredentialService.d.mts +50 -0
- package/build/modules/vc/jwt-vc/W3cV2JwtCredentialService.d.mts.map +1 -0
- package/build/modules/vc/jwt-vc/W3cV2JwtCredentialService.mjs +231 -0
- package/build/modules/vc/jwt-vc/W3cV2JwtCredentialService.mjs.map +1 -0
- package/build/modules/vc/jwt-vc/W3cV2JwtVerifiableCredential.d.mts +42 -0
- package/build/modules/vc/jwt-vc/W3cV2JwtVerifiableCredential.d.mts.map +1 -0
- package/build/modules/vc/jwt-vc/W3cV2JwtVerifiableCredential.mjs +66 -0
- package/build/modules/vc/jwt-vc/W3cV2JwtVerifiableCredential.mjs.map +1 -0
- package/build/modules/vc/jwt-vc/W3cV2JwtVerifiablePresentation.d.mts +43 -0
- package/build/modules/vc/jwt-vc/W3cV2JwtVerifiablePresentation.d.mts.map +1 -0
- package/build/modules/vc/jwt-vc/W3cV2JwtVerifiablePresentation.mjs +61 -0
- package/build/modules/vc/jwt-vc/W3cV2JwtVerifiablePresentation.mjs.map +1 -0
- package/build/modules/vc/jwt-vc/credentialTransformer.mjs +88 -0
- package/build/modules/vc/jwt-vc/credentialTransformer.mjs.map +1 -0
- package/build/modules/vc/jwt-vc/index.d.mts +6 -0
- package/build/modules/vc/jwt-vc/index.mjs +8 -0
- package/build/modules/vc/jwt-vc/presentationTransformer.mjs +45 -0
- package/build/modules/vc/jwt-vc/presentationTransformer.mjs.map +1 -0
- package/build/modules/vc/models/ClaimFormat.d.mts +25 -0
- package/build/modules/vc/models/ClaimFormat.d.mts.map +1 -0
- package/build/modules/vc/models/ClaimFormat.mjs +29 -0
- package/build/modules/vc/models/ClaimFormat.mjs.map +1 -0
- package/build/modules/vc/models/W3cV2VerifyResult.d.mts +85 -0
- package/build/modules/vc/models/W3cV2VerifyResult.d.mts.map +1 -0
- package/build/modules/vc/models/W3cVerifyResult.d.mts +112 -0
- package/build/modules/vc/models/W3cVerifyResult.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cCredential.d.mts +38 -0
- package/build/modules/vc/models/credential/W3cCredential.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cCredential.mjs +100 -0
- package/build/modules/vc/models/credential/W3cCredential.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cCredentialSchema.d.mts +13 -0
- package/build/modules/vc/models/credential/W3cCredentialSchema.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cCredentialSchema.mjs +22 -0
- package/build/modules/vc/models/credential/W3cCredentialSchema.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cCredentialStatus.d.mts +13 -0
- package/build/modules/vc/models/credential/W3cCredentialStatus.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cCredentialStatus.mjs +22 -0
- package/build/modules/vc/models/credential/W3cCredentialStatus.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cCredentialSubject.d.mts +20 -0
- package/build/modules/vc/models/credential/W3cCredentialSubject.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cCredentialSubject.mjs +66 -0
- package/build/modules/vc/models/credential/W3cCredentialSubject.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cIssuer.d.mts +19 -0
- package/build/modules/vc/models/credential/W3cIssuer.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cIssuer.mjs +45 -0
- package/build/modules/vc/models/credential/W3cIssuer.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cJsonCredential.d.mts +24 -0
- package/build/modules/vc/models/credential/W3cJsonCredential.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cV2Credential.d.mts +57 -0
- package/build/modules/vc/models/credential/W3cV2Credential.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cV2Credential.mjs +169 -0
- package/build/modules/vc/models/credential/W3cV2Credential.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cV2CredentialSchema.d.mts +20 -0
- package/build/modules/vc/models/credential/W3cV2CredentialSchema.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cV2CredentialSchema.mjs +31 -0
- package/build/modules/vc/models/credential/W3cV2CredentialSchema.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cV2CredentialStatus.d.mts +20 -0
- package/build/modules/vc/models/credential/W3cV2CredentialStatus.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cV2CredentialStatus.mjs +35 -0
- package/build/modules/vc/models/credential/W3cV2CredentialStatus.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cV2CredentialSubject.d.mts +18 -0
- package/build/modules/vc/models/credential/W3cV2CredentialSubject.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cV2CredentialSubject.mjs +33 -0
- package/build/modules/vc/models/credential/W3cV2CredentialSubject.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cV2EnvelopedVerifiableCredential.d.mts +38 -0
- package/build/modules/vc/models/credential/W3cV2EnvelopedVerifiableCredential.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cV2EnvelopedVerifiableCredential.mjs +113 -0
- package/build/modules/vc/models/credential/W3cV2EnvelopedVerifiableCredential.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cV2Evidence.d.mts +21 -0
- package/build/modules/vc/models/credential/W3cV2Evidence.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cV2Evidence.mjs +36 -0
- package/build/modules/vc/models/credential/W3cV2Evidence.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cV2Issuer.d.mts +22 -0
- package/build/modules/vc/models/credential/W3cV2Issuer.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cV2Issuer.mjs +53 -0
- package/build/modules/vc/models/credential/W3cV2Issuer.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cV2JsonCredential.d.mts +60 -0
- package/build/modules/vc/models/credential/W3cV2JsonCredential.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cV2LocalizedValue.d.mts +23 -0
- package/build/modules/vc/models/credential/W3cV2LocalizedValue.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cV2LocalizedValue.mjs +64 -0
- package/build/modules/vc/models/credential/W3cV2LocalizedValue.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cV2RefreshService.d.mts +18 -0
- package/build/modules/vc/models/credential/W3cV2RefreshService.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cV2RefreshService.mjs +27 -0
- package/build/modules/vc/models/credential/W3cV2RefreshService.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cV2TermsOfUse.d.mts +18 -0
- package/build/modules/vc/models/credential/W3cV2TermsOfUse.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cV2TermsOfUse.mjs +27 -0
- package/build/modules/vc/models/credential/W3cV2TermsOfUse.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cV2VerifiableCredential.d.mts +26 -0
- package/build/modules/vc/models/credential/W3cV2VerifiableCredential.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cV2VerifiableCredential.mjs +42 -0
- package/build/modules/vc/models/credential/W3cV2VerifiableCredential.mjs.map +1 -0
- package/build/modules/vc/models/credential/W3cVerifiableCredential.d.mts +10 -0
- package/build/modules/vc/models/credential/W3cVerifiableCredential.d.mts.map +1 -0
- package/build/modules/vc/models/credential/W3cVerifiableCredential.mjs +36 -0
- package/build/modules/vc/models/credential/W3cVerifiableCredential.mjs.map +1 -0
- package/build/modules/vc/models/credential/index.d.mts +19 -0
- package/build/modules/vc/models/credential/index.mjs +19 -0
- package/build/modules/vc/models/index.d.mts +30 -0
- package/build/modules/vc/models/index.mjs +25 -0
- package/build/modules/vc/models/presentation/W3cHolder.d.mts +16 -0
- package/build/modules/vc/models/presentation/W3cHolder.d.mts.map +1 -0
- package/build/modules/vc/models/presentation/W3cHolder.mjs +45 -0
- package/build/modules/vc/models/presentation/W3cHolder.mjs.map +1 -0
- package/build/modules/vc/models/presentation/W3cJsonPresentation.d.mts +20 -0
- package/build/modules/vc/models/presentation/W3cJsonPresentation.d.mts.map +1 -0
- package/build/modules/vc/models/presentation/W3cPresentation.d.mts +26 -0
- package/build/modules/vc/models/presentation/W3cPresentation.d.mts.map +1 -0
- package/build/modules/vc/models/presentation/W3cPresentation.mjs +63 -0
- package/build/modules/vc/models/presentation/W3cPresentation.mjs.map +1 -0
- package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentation.d.mts +39 -0
- package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentation.d.mts.map +1 -0
- package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentation.mjs +97 -0
- package/build/modules/vc/models/presentation/W3cV2EnvelopedVerifiablePresentation.mjs.map +1 -0
- package/build/modules/vc/models/presentation/W3cV2Holder.d.mts +20 -0
- package/build/modules/vc/models/presentation/W3cV2Holder.d.mts.map +1 -0
- package/build/modules/vc/models/presentation/W3cV2Holder.mjs +53 -0
- package/build/modules/vc/models/presentation/W3cV2Holder.mjs.map +1 -0
- package/build/modules/vc/models/presentation/W3cV2JsonPresentation.d.mts +18 -0
- package/build/modules/vc/models/presentation/W3cV2JsonPresentation.d.mts.map +1 -0
- package/build/modules/vc/models/presentation/W3cV2Presentation.d.mts +28 -0
- package/build/modules/vc/models/presentation/W3cV2Presentation.d.mts.map +1 -0
- package/build/modules/vc/models/presentation/W3cV2Presentation.mjs +64 -0
- package/build/modules/vc/models/presentation/W3cV2Presentation.mjs.map +1 -0
- package/build/modules/vc/models/presentation/W3cV2VerifiablePresentation.d.mts +27 -0
- package/build/modules/vc/models/presentation/W3cV2VerifiablePresentation.d.mts.map +1 -0
- package/build/modules/vc/models/presentation/W3cVerifiablePresentation.d.mts +11 -0
- package/build/modules/vc/models/presentation/W3cVerifiablePresentation.d.mts.map +1 -0
- package/build/modules/vc/models/presentation/index.d.mts +6 -0
- package/build/modules/vc/models/presentation/index.mjs +5 -0
- package/build/modules/vc/repository/W3cCredentialRecord.d.mts +81 -0
- package/build/modules/vc/repository/W3cCredentialRecord.d.mts.map +1 -0
- package/build/modules/vc/repository/W3cCredentialRecord.mjs +87 -0
- package/build/modules/vc/repository/W3cCredentialRecord.mjs.map +1 -0
- package/build/modules/vc/repository/W3cCredentialRepository.d.mts +12 -0
- package/build/modules/vc/repository/W3cCredentialRepository.d.mts.map +1 -0
- package/build/modules/vc/repository/W3cCredentialRepository.mjs +27 -0
- package/build/modules/vc/repository/W3cCredentialRepository.mjs.map +1 -0
- package/build/modules/vc/repository/W3cV2CredentialRecord.d.mts +67 -0
- package/build/modules/vc/repository/W3cV2CredentialRecord.d.mts.map +1 -0
- package/build/modules/vc/repository/W3cV2CredentialRecord.mjs +82 -0
- package/build/modules/vc/repository/W3cV2CredentialRecord.mjs.map +1 -0
- package/build/modules/vc/repository/W3cV2CredentialRepository.d.mts +12 -0
- package/build/modules/vc/repository/W3cV2CredentialRepository.d.mts.map +1 -0
- package/build/modules/vc/repository/W3cV2CredentialRepository.mjs +27 -0
- package/build/modules/vc/repository/W3cV2CredentialRepository.mjs.map +1 -0
- package/build/modules/vc/repository/index.d.mts +4 -0
- package/build/modules/vc/repository/index.mjs +6 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwt.d.mts +32 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwt.d.mts.map +1 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwt.mjs +33 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwt.mjs.map +1 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.d.mts +50 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.d.mts.map +1 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.mjs +250 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.mjs.map +1 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.d.mts +42 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.d.mts.map +1 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.mjs +66 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.mjs.map +1 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.d.mts +43 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.d.mts.map +1 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.mjs +61 -0
- package/build/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.mjs.map +1 -0
- package/build/modules/vc/sd-jwt-vc/index.d.mts +4 -0
- package/build/modules/vc/sd-jwt-vc/index.mjs +6 -0
- package/build/modules/vc/util.d.mts +11 -0
- package/build/modules/vc/util.d.mts.map +1 -0
- package/build/modules/vc/util.mjs +19 -0
- package/build/modules/vc/util.mjs.map +1 -0
- package/build/modules/vc/v2-jwt-utils.mjs +96 -0
- package/build/modules/vc/v2-jwt-utils.mjs.map +1 -0
- package/build/modules/vc/validators.mjs +48 -0
- package/build/modules/vc/validators.mjs.map +1 -0
- package/build/modules/x509/X509Api.d.mts +30 -0
- package/build/modules/x509/X509Api.d.mts.map +1 -0
- package/build/modules/x509/X509Api.mjs +39 -0
- package/build/modules/x509/X509Api.mjs.map +1 -0
- package/build/modules/x509/X509Certificate.d.mts +115 -0
- package/build/modules/x509/X509Certificate.d.mts.map +1 -0
- package/build/modules/x509/X509Certificate.mjs +236 -0
- package/build/modules/x509/X509Certificate.mjs.map +1 -0
- package/build/modules/x509/X509Error.d.mts +8 -0
- package/build/modules/x509/X509Error.d.mts.map +1 -0
- package/build/modules/x509/X509Error.mjs +11 -0
- package/build/modules/x509/X509Error.mjs.map +1 -0
- package/build/modules/x509/X509Module.d.mts +22 -0
- package/build/modules/x509/X509Module.d.mts.map +1 -0
- package/build/modules/x509/X509Module.mjs +27 -0
- package/build/modules/x509/X509Module.mjs.map +1 -0
- package/build/modules/x509/X509ModuleConfig.d.mts +104 -0
- package/build/modules/x509/X509ModuleConfig.d.mts.map +1 -0
- package/build/modules/x509/X509ModuleConfig.mjs +40 -0
- package/build/modules/x509/X509ModuleConfig.mjs.map +1 -0
- package/build/modules/x509/X509Service.d.mts +47 -0
- package/build/modules/x509/X509Service.d.mts.map +1 -0
- package/build/modules/x509/X509Service.mjs +89 -0
- package/build/modules/x509/X509Service.mjs.map +1 -0
- package/build/modules/x509/X509ServiceOptions.d.mts +142 -0
- package/build/modules/x509/X509ServiceOptions.d.mts.map +1 -0
- package/build/modules/x509/X509ServiceOptions.mjs +3 -0
- package/build/modules/x509/extraction.d.mts +9 -0
- package/build/modules/x509/extraction.d.mts.map +1 -0
- package/build/modules/x509/extraction.mjs +12 -0
- package/build/modules/x509/extraction.mjs.map +1 -0
- package/build/modules/x509/index.d.mts +11 -0
- package/build/modules/x509/index.mjs +13 -0
- package/build/modules/x509/utils/extensions.d.mts +21 -0
- package/build/modules/x509/utils/extensions.d.mts.map +1 -0
- package/build/modules/x509/utils/extensions.mjs +51 -0
- package/build/modules/x509/utils/extensions.mjs.map +1 -0
- package/build/modules/x509/utils/index.d.mts +2 -0
- package/build/modules/x509/utils/index.mjs +4 -0
- package/build/modules/x509/utils/nameConversion.d.mts +7 -0
- package/build/modules/x509/utils/nameConversion.d.mts.map +1 -0
- package/build/modules/x509/utils/nameConversion.mjs +19 -0
- package/build/modules/x509/utils/nameConversion.mjs.map +1 -0
- package/build/plugins/DependencyManager.d.mts +57 -0
- package/build/plugins/DependencyManager.d.mts.map +1 -0
- package/build/plugins/DependencyManager.mjs +132 -0
- package/build/plugins/DependencyManager.mjs.map +1 -0
- package/build/plugins/Module.d.mts +62 -0
- package/build/plugins/Module.d.mts.map +1 -0
- package/build/plugins/index.d.mts +5 -0
- package/build/plugins/index.mjs +7 -0
- package/build/plugins/utils.d.mts +13 -0
- package/build/plugins/utils.d.mts.map +1 -0
- package/build/plugins/utils.mjs +18 -0
- package/build/plugins/utils.mjs.map +1 -0
- package/build/storage/BaseRecord.d.mts +61 -0
- package/build/storage/BaseRecord.d.mts.map +1 -0
- package/build/storage/BaseRecord.mjs +75 -0
- package/build/storage/BaseRecord.mjs.map +1 -0
- package/build/storage/FileSystem.d.mts +24 -0
- package/build/storage/FileSystem.d.mts.map +1 -0
- package/build/storage/Metadata.d.mts +61 -0
- package/build/storage/Metadata.d.mts.map +1 -0
- package/build/storage/Metadata.mjs +74 -0
- package/build/storage/Metadata.mjs.map +1 -0
- package/build/storage/Repository.d.mts +65 -0
- package/build/storage/Repository.d.mts.map +1 -0
- package/build/storage/Repository.mjs +153 -0
- package/build/storage/Repository.mjs.map +1 -0
- package/build/storage/RepositoryEvents.d.mts +33 -0
- package/build/storage/RepositoryEvents.d.mts.map +1 -0
- package/build/storage/RepositoryEvents.mjs +13 -0
- package/build/storage/RepositoryEvents.mjs.map +1 -0
- package/build/storage/StorageService.d.mts +99 -0
- package/build/storage/StorageService.d.mts.map +1 -0
- package/build/storage/index.mjs +8 -0
- package/build/storage/migration/StorageUpdateService.d.mts +29 -0
- package/build/storage/migration/StorageUpdateService.d.mts.map +1 -0
- package/build/storage/migration/StorageUpdateService.mjs +67 -0
- package/build/storage/migration/StorageUpdateService.mjs.map +1 -0
- package/build/storage/migration/UpdateAssistant.d.mts +47 -0
- package/build/storage/migration/UpdateAssistant.d.mts.map +1 -0
- package/build/storage/migration/UpdateAssistant.mjs +95 -0
- package/build/storage/migration/UpdateAssistant.mjs.map +1 -0
- package/build/storage/migration/error/StorageUpdateError.mjs +14 -0
- package/build/storage/migration/error/StorageUpdateError.mjs.map +1 -0
- package/build/storage/migration/index.d.mts +6 -0
- package/build/storage/migration/index.mjs +7 -0
- package/build/storage/migration/isUpToDate.d.mts +8 -0
- package/build/storage/migration/isUpToDate.d.mts.map +1 -0
- package/build/storage/migration/isUpToDate.mjs +15 -0
- package/build/storage/migration/isUpToDate.mjs.map +1 -0
- package/build/storage/migration/repository/StorageVersionRecord.d.mts +20 -0
- package/build/storage/migration/repository/StorageVersionRecord.d.mts.map +1 -0
- package/build/storage/migration/repository/StorageVersionRecord.mjs +31 -0
- package/build/storage/migration/repository/StorageVersionRecord.mjs.map +1 -0
- package/build/storage/migration/repository/StorageVersionRepository.d.mts +12 -0
- package/build/storage/migration/repository/StorageVersionRepository.d.mts.map +1 -0
- package/build/storage/migration/repository/StorageVersionRepository.mjs +27 -0
- package/build/storage/migration/repository/StorageVersionRepository.mjs.map +1 -0
- package/build/storage/migration/updates/0.3-0.3.1/did.mjs +36 -0
- package/build/storage/migration/updates/0.3-0.3.1/did.mjs.map +1 -0
- package/build/storage/migration/updates/0.3-0.3.1/index.d.mts +7 -0
- package/build/storage/migration/updates/0.3-0.3.1/index.d.mts.map +1 -0
- package/build/storage/migration/updates/0.3-0.3.1/index.mjs +12 -0
- package/build/storage/migration/updates/0.3-0.3.1/index.mjs.map +1 -0
- package/build/storage/migration/updates/0.3.1-0.4/cache.mjs +34 -0
- package/build/storage/migration/updates/0.3.1-0.4/cache.mjs.map +1 -0
- package/build/storage/migration/updates/0.3.1-0.4/did.mjs +41 -0
- package/build/storage/migration/updates/0.3.1-0.4/did.mjs.map +1 -0
- package/build/storage/migration/updates/0.3.1-0.4/index.d.mts +7 -0
- package/build/storage/migration/updates/0.3.1-0.4/index.d.mts.map +1 -0
- package/build/storage/migration/updates/0.3.1-0.4/index.mjs +16 -0
- package/build/storage/migration/updates/0.3.1-0.4/index.mjs.map +1 -0
- package/build/storage/migration/updates/0.3.1-0.4/w3cCredentialRecord.mjs +25 -0
- package/build/storage/migration/updates/0.3.1-0.4/w3cCredentialRecord.mjs.map +1 -0
- package/build/storage/migration/updates/0.4-0.5/index.d.mts +7 -0
- package/build/storage/migration/updates/0.4-0.5/index.d.mts.map +1 -0
- package/build/storage/migration/updates/0.4-0.5/index.mjs +12 -0
- package/build/storage/migration/updates/0.4-0.5/index.mjs.map +1 -0
- package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.mjs +61 -0
- package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.mjs.map +1 -0
- package/build/storage/migration/updates.d.mts +43 -0
- package/build/storage/migration/updates.d.mts.map +1 -0
- package/build/storage/migration/updates.mjs +42 -0
- package/build/storage/migration/updates.mjs.map +1 -0
- package/build/types.d.mts +68 -0
- package/build/types.d.mts.map +1 -0
- package/build/types.mjs +18 -0
- package/build/types.mjs.map +1 -0
- package/build/utils/JsonEncoder.d.mts +51 -0
- package/build/utils/JsonEncoder.d.mts.map +1 -0
- package/build/utils/JsonEncoder.mjs +69 -0
- package/build/utils/JsonEncoder.mjs.map +1 -0
- package/build/utils/JsonTransformer.d.mts +22 -0
- package/build/utils/JsonTransformer.d.mts.map +1 -0
- package/build/utils/JsonTransformer.mjs +37 -0
- package/build/utils/JsonTransformer.mjs.map +1 -0
- package/build/utils/MessageValidator.d.mts +13 -0
- package/build/utils/MessageValidator.d.mts.map +1 -0
- package/build/utils/MessageValidator.mjs +28 -0
- package/build/utils/MessageValidator.mjs.map +1 -0
- package/build/utils/MultiBaseEncoder.d.mts +30 -0
- package/build/utils/MultiBaseEncoder.d.mts.map +1 -0
- package/build/utils/MultiBaseEncoder.mjs +50 -0
- package/build/utils/MultiBaseEncoder.mjs.map +1 -0
- package/build/utils/MultiHashEncoder.d.mts +41 -0
- package/build/utils/MultiHashEncoder.d.mts.map +1 -0
- package/build/utils/MultiHashEncoder.mjs +79 -0
- package/build/utils/MultiHashEncoder.mjs.map +1 -0
- package/build/utils/TypedArrayEncoder.d.mts +68 -0
- package/build/utils/TypedArrayEncoder.d.mts.map +1 -0
- package/build/utils/TypedArrayEncoder.mjs +96 -0
- package/build/utils/TypedArrayEncoder.mjs.map +1 -0
- package/build/utils/VarintEncoder.d.mts +1 -0
- package/build/utils/VarintEncoder.mjs +22 -0
- package/build/utils/VarintEncoder.mjs.map +1 -0
- package/build/utils/array.d.mts +7 -0
- package/build/utils/array.d.mts.map +1 -0
- package/build/utils/array.mjs +16 -0
- package/build/utils/array.mjs.map +1 -0
- package/build/utils/base58.mjs +16 -0
- package/build/utils/base58.mjs.map +1 -0
- package/build/utils/base64.d.mts +5 -0
- package/build/utils/base64.d.mts.map +1 -0
- package/build/utils/base64.mjs +10 -0
- package/build/utils/base64.mjs.map +1 -0
- package/build/utils/buffer.d.mts +2 -0
- package/build/utils/buffer.mjs +5 -0
- package/build/utils/credentialUse.d.mts +84 -0
- package/build/utils/credentialUse.d.mts.map +1 -0
- package/build/utils/credentialUse.mjs +117 -0
- package/build/utils/credentialUse.mjs.map +1 -0
- package/build/utils/credentialUseTypes.d.mts +77 -0
- package/build/utils/credentialUseTypes.d.mts.map +1 -0
- package/build/utils/credentialUseTypes.mjs +83 -0
- package/build/utils/credentialUseTypes.mjs.map +1 -0
- package/build/utils/deepEquality.d.mts +13 -0
- package/build/utils/deepEquality.d.mts.map +1 -0
- package/build/utils/deepEquality.mjs +41 -0
- package/build/utils/deepEquality.mjs.map +1 -0
- package/build/utils/did.d.mts +13 -0
- package/build/utils/did.d.mts.map +1 -0
- package/build/utils/did.mjs +23 -0
- package/build/utils/did.mjs.map +1 -0
- package/build/utils/domain.d.mts +5 -0
- package/build/utils/domain.d.mts.map +1 -0
- package/build/utils/domain.mjs +11 -0
- package/build/utils/domain.mjs.map +1 -0
- package/build/utils/fetch.mjs +20 -0
- package/build/utils/fetch.mjs.map +1 -0
- package/build/utils/index.d.mts +15 -0
- package/build/utils/index.mjs +17 -0
- package/build/utils/mixins.d.mts +7 -0
- package/build/utils/mixins.d.mts.map +1 -0
- package/build/utils/objectEquality.d.mts +5 -0
- package/build/utils/objectEquality.d.mts.map +1 -0
- package/build/utils/objectEquality.mjs +18 -0
- package/build/utils/objectEquality.mjs.map +1 -0
- package/build/utils/path.d.mts +18 -0
- package/build/utils/path.d.mts.map +1 -0
- package/build/utils/path.mjs +35 -0
- package/build/utils/path.mjs.map +1 -0
- package/build/utils/timestamp.d.mts +13 -0
- package/build/utils/timestamp.d.mts.map +1 -0
- package/build/utils/timestamp.mjs +29 -0
- package/build/utils/timestamp.mjs.map +1 -0
- package/build/utils/transformers.d.mts +14 -0
- package/build/utils/transformers.d.mts.map +1 -0
- package/build/utils/transformers.mjs +41 -0
- package/build/utils/transformers.mjs.map +1 -0
- package/build/utils/uri.d.mts +5 -0
- package/build/utils/uri.d.mts.map +1 -0
- package/build/utils/uri.mjs +11 -0
- package/build/utils/uri.mjs.map +1 -0
- package/build/utils/uuid.d.mts +6 -0
- package/build/utils/uuid.d.mts.map +1 -0
- package/build/utils/uuid.mjs +15 -0
- package/build/utils/uuid.mjs.map +1 -0
- package/build/utils/validators.d.mts +22 -0
- package/build/utils/validators.d.mts.map +1 -0
- package/build/utils/validators.mjs +79 -0
- package/build/utils/validators.mjs.map +1 -0
- package/build/utils/version.d.mts +5 -0
- package/build/utils/version.d.mts.map +1 -0
- package/build/utils/version.mjs +21 -0
- package/build/utils/version.mjs.map +1 -0
- package/build/utils/zod-error.mjs +13 -0
- package/build/utils/zod-error.mjs.map +1 -0
- package/build/utils/zod.d.mts +2 -0
- package/build/utils/zod.mjs +20 -0
- package/build/utils/zod.mjs.map +1 -0
- package/package.json +58 -51
- package/build/agent/Agent.d.ts +0 -33
- package/build/agent/Agent.js +0 -187
- package/build/agent/Agent.js.map +0 -1
- package/build/agent/AgentConfig.d.ts +0 -60
- package/build/agent/AgentConfig.js +0 -82
- package/build/agent/AgentConfig.js.map +0 -1
- package/build/agent/AgentDependencies.d.ts +0 -11
- package/build/agent/AgentDependencies.js +0 -3
- package/build/agent/AgentDependencies.js.map +0 -1
- package/build/agent/AgentMessage.d.ts +0 -92
- package/build/agent/AgentMessage.js +0 -66
- package/build/agent/AgentMessage.js.map +0 -1
- package/build/agent/AgentModules.d.ts +0 -160
- package/build/agent/AgentModules.js +0 -115
- package/build/agent/AgentModules.js.map +0 -1
- package/build/agent/BaseAgent.d.ts +0 -69
- package/build/agent/BaseAgent.js +0 -147
- package/build/agent/BaseAgent.js.map +0 -1
- package/build/agent/BaseMessage.d.ts +0 -11
- package/build/agent/BaseMessage.js +0 -34
- package/build/agent/BaseMessage.js.map +0 -1
- package/build/agent/Dispatcher.d.ts +0 -15
- package/build/agent/Dispatcher.js +0 -132
- package/build/agent/Dispatcher.js.map +0 -1
- package/build/agent/EnvelopeService.d.ts +0 -21
- package/build/agent/EnvelopeService.js +0 -66
- package/build/agent/EnvelopeService.js.map +0 -1
- package/build/agent/EventEmitter.d.ts +0 -15
- package/build/agent/EventEmitter.js +0 -48
- package/build/agent/EventEmitter.js.map +0 -1
- package/build/agent/Events.d.ts +0 -46
- package/build/agent/Events.js +0 -17
- package/build/agent/Events.js.map +0 -1
- package/build/agent/FeatureRegistry.d.ts +0 -21
- package/build/agent/FeatureRegistry.js +0 -66
- package/build/agent/FeatureRegistry.js.map +0 -1
- package/build/agent/MessageHandler.d.ts +0 -14
- package/build/agent/MessageHandler.js +0 -3
- package/build/agent/MessageHandler.js.map +0 -1
- package/build/agent/MessageHandlerMiddleware.d.ts +0 -7
- package/build/agent/MessageHandlerMiddleware.js +0 -26
- package/build/agent/MessageHandlerMiddleware.js.map +0 -1
- package/build/agent/MessageHandlerRegistry.d.ts +0 -30
- package/build/agent/MessageHandlerRegistry.js +0 -98
- package/build/agent/MessageHandlerRegistry.js.map +0 -1
- package/build/agent/MessageReceiver.d.ts +0 -63
- package/build/agent/MessageReceiver.js +0 -245
- package/build/agent/MessageReceiver.js.map +0 -1
- package/build/agent/MessageSender.d.ts +0 -56
- package/build/agent/MessageSender.js +0 -472
- package/build/agent/MessageSender.js.map +0 -1
- package/build/agent/TransportService.d.ts +0 -32
- package/build/agent/TransportService.js +0 -78
- package/build/agent/TransportService.js.map +0 -1
- package/build/agent/context/AgentContext.d.ts +0 -39
- package/build/agent/context/AgentContext.js +0 -40
- package/build/agent/context/AgentContext.js.map +0 -1
- package/build/agent/context/AgentContextProvider.d.ts +0 -26
- package/build/agent/context/AgentContextProvider.js +0 -3
- package/build/agent/context/AgentContextProvider.js.map +0 -1
- package/build/agent/context/DefaultAgentContextProvider.d.ts +0 -17
- package/build/agent/context/DefaultAgentContextProvider.js +0 -54
- package/build/agent/context/DefaultAgentContextProvider.js.map +0 -1
- package/build/agent/context/index.d.ts +0 -3
- package/build/agent/context/index.js +0 -20
- package/build/agent/context/index.js.map +0 -1
- package/build/agent/getOutboundMessageContext.d.ts +0 -27
- package/build/agent/getOutboundMessageContext.js +0 -198
- package/build/agent/getOutboundMessageContext.js.map +0 -1
- package/build/agent/index.d.ts +0 -1
- package/build/agent/index.js +0 -18
- package/build/agent/index.js.map +0 -1
- package/build/agent/models/InboundMessageContext.d.ts +0 -46
- package/build/agent/models/InboundMessageContext.js +0 -48
- package/build/agent/models/InboundMessageContext.js.map +0 -1
- package/build/agent/models/OutboundMessageContext.d.ts +0 -51
- package/build/agent/models/OutboundMessageContext.js +0 -46
- package/build/agent/models/OutboundMessageContext.js.map +0 -1
- package/build/agent/models/OutboundMessageSendStatus.d.ts +0 -6
- package/build/agent/models/OutboundMessageSendStatus.js +0 -11
- package/build/agent/models/OutboundMessageSendStatus.js.map +0 -1
- package/build/agent/models/features/Feature.d.ts +0 -18
- package/build/agent/models/features/Feature.js +0 -62
- package/build/agent/models/features/Feature.js.map +0 -1
- package/build/agent/models/features/FeatureQuery.d.ts +0 -9
- package/build/agent/models/features/FeatureQuery.js +0 -33
- package/build/agent/models/features/FeatureQuery.js.map +0 -1
- package/build/agent/models/features/GoalCode.d.ts +0 -7
- package/build/agent/models/features/GoalCode.js +0 -12
- package/build/agent/models/features/GoalCode.js.map +0 -1
- package/build/agent/models/features/GovernanceFramework.d.ts +0 -7
- package/build/agent/models/features/GovernanceFramework.js +0 -12
- package/build/agent/models/features/GovernanceFramework.js.map +0 -1
- package/build/agent/models/features/Protocol.d.ts +0 -10
- package/build/agent/models/features/Protocol.js +0 -30
- package/build/agent/models/features/Protocol.js.map +0 -1
- package/build/agent/models/features/index.d.ts +0 -5
- package/build/agent/models/features/index.js +0 -22
- package/build/agent/models/features/index.js.map +0 -1
- package/build/agent/models/index.d.ts +0 -4
- package/build/agent/models/index.js +0 -21
- package/build/agent/models/index.js.map +0 -1
- package/build/constants.d.ts +0 -12
- package/build/constants.js +0 -16
- package/build/constants.js.map +0 -1
- package/build/crypto/JwsService.d.ts +0 -48
- package/build/crypto/JwsService.js +0 -213
- package/build/crypto/JwsService.js.map +0 -1
- package/build/crypto/JwsTypes.d.ts +0 -52
- package/build/crypto/JwsTypes.js +0 -5
- package/build/crypto/JwsTypes.js.map +0 -1
- package/build/crypto/Key.d.ts +0 -16
- package/build/crypto/Key.js +0 -55
- package/build/crypto/Key.js.map +0 -1
- package/build/crypto/KeyBackend.d.ts +0 -19
- package/build/crypto/KeyBackend.js +0 -24
- package/build/crypto/KeyBackend.js.map +0 -1
- package/build/crypto/KeyType.d.ts +0 -11
- package/build/crypto/KeyType.js +0 -16
- package/build/crypto/KeyType.js.map +0 -1
- package/build/crypto/WalletKeyPair.d.ts +0 -107
- package/build/crypto/WalletKeyPair.js +0 -94
- package/build/crypto/WalletKeyPair.js.map +0 -1
- package/build/crypto/__tests__/__fixtures__/didJwsz6Mkf.d.ts +0 -24
- package/build/crypto/__tests__/__fixtures__/didJwsz6Mkf.js +0 -29
- package/build/crypto/__tests__/__fixtures__/didJwsz6Mkf.js.map +0 -1
- package/build/crypto/__tests__/__fixtures__/didJwsz6Mkv.d.ts +0 -24
- package/build/crypto/__tests__/__fixtures__/didJwsz6Mkv.js +0 -29
- package/build/crypto/__tests__/__fixtures__/didJwsz6Mkv.js.map +0 -1
- package/build/crypto/__tests__/__fixtures__/didJwszDnaey.d.ts +0 -24
- package/build/crypto/__tests__/__fixtures__/didJwszDnaey.js +0 -29
- package/build/crypto/__tests__/__fixtures__/didJwszDnaey.js.map +0 -1
- package/build/crypto/hashes/Hasher.d.ts +0 -4
- package/build/crypto/hashes/Hasher.js +0 -20
- package/build/crypto/hashes/Hasher.js.map +0 -1
- package/build/crypto/hashes/IHash.d.ts +0 -3
- package/build/crypto/hashes/IHash.js +0 -3
- package/build/crypto/hashes/IHash.js.map +0 -1
- package/build/crypto/hashes/Sha1.d.ts +0 -4
- package/build/crypto/hashes/Sha1.js +0 -11
- package/build/crypto/hashes/Sha1.js.map +0 -1
- package/build/crypto/hashes/Sha256.d.ts +0 -4
- package/build/crypto/hashes/Sha256.js +0 -11
- package/build/crypto/hashes/Sha256.js.map +0 -1
- package/build/crypto/hashes/index.d.ts +0 -3
- package/build/crypto/hashes/index.js +0 -20
- package/build/crypto/hashes/index.js.map +0 -1
- package/build/crypto/index.d.ts +0 -10
- package/build/crypto/index.js +0 -31
- package/build/crypto/index.js.map +0 -1
- package/build/crypto/jose/index.d.ts +0 -3
- package/build/crypto/jose/index.js +0 -20
- package/build/crypto/jose/index.js.map +0 -1
- package/build/crypto/jose/jwa/alg.d.ts +0 -37
- package/build/crypto/jose/jwa/alg.js +0 -42
- package/build/crypto/jose/jwa/alg.js.map +0 -1
- package/build/crypto/jose/jwa/crv.d.ts +0 -8
- package/build/crypto/jose/jwa/crv.js +0 -13
- package/build/crypto/jose/jwa/crv.js.map +0 -1
- package/build/crypto/jose/jwa/index.d.ts +0 -3
- package/build/crypto/jose/jwa/index.js +0 -11
- package/build/crypto/jose/jwa/index.js.map +0 -1
- package/build/crypto/jose/jwa/kty.d.ts +0 -6
- package/build/crypto/jose/jwa/kty.js +0 -11
- package/build/crypto/jose/jwa/kty.js.map +0 -1
- package/build/crypto/jose/jwk/Ed25519Jwk.d.ts +0 -31
- package/build/crypto/jose/jwk/Ed25519Jwk.js +0 -63
- package/build/crypto/jose/jwk/Ed25519Jwk.js.map +0 -1
- package/build/crypto/jose/jwk/Jwk.d.ts +0 -28
- package/build/crypto/jose/jwk/Jwk.js +0 -20
- package/build/crypto/jose/jwk/Jwk.js.map +0 -1
- package/build/crypto/jose/jwk/K256Jwk.d.ts +0 -41
- package/build/crypto/jose/jwk/K256Jwk.js +0 -80
- package/build/crypto/jose/jwk/K256Jwk.js.map +0 -1
- package/build/crypto/jose/jwk/P256Jwk.d.ts +0 -41
- package/build/crypto/jose/jwk/P256Jwk.js +0 -80
- package/build/crypto/jose/jwk/P256Jwk.js.map +0 -1
- package/build/crypto/jose/jwk/P384Jwk.d.ts +0 -41
- package/build/crypto/jose/jwk/P384Jwk.js +0 -80
- package/build/crypto/jose/jwk/P384Jwk.js.map +0 -1
- package/build/crypto/jose/jwk/P521Jwk.d.ts +0 -41
- package/build/crypto/jose/jwk/P521Jwk.js +0 -80
- package/build/crypto/jose/jwk/P521Jwk.js.map +0 -1
- package/build/crypto/jose/jwk/X25519Jwk.d.ts +0 -30
- package/build/crypto/jose/jwk/X25519Jwk.js +0 -67
- package/build/crypto/jose/jwk/X25519Jwk.js.map +0 -1
- package/build/crypto/jose/jwk/ecCompression.d.ts +0 -5
- package/build/crypto/jose/jwk/ecCompression.js +0 -108
- package/build/crypto/jose/jwk/ecCompression.js.map +0 -1
- package/build/crypto/jose/jwk/index.d.ts +0 -7
- package/build/crypto/jose/jwk/index.js +0 -31
- package/build/crypto/jose/jwk/index.js.map +0 -1
- package/build/crypto/jose/jwk/transform.d.ts +0 -14
- package/build/crypto/jose/jwk/transform.js +0 -58
- package/build/crypto/jose/jwk/transform.js.map +0 -1
- package/build/crypto/jose/jwk/validate.d.ts +0 -16
- package/build/crypto/jose/jwk/validate.js +0 -23
- package/build/crypto/jose/jwk/validate.js.map +0 -1
- package/build/crypto/jose/jwt/Jwt.d.ts +0 -22
- package/build/crypto/jose/jwt/Jwt.js +0 -34
- package/build/crypto/jose/jwt/Jwt.js.map +0 -1
- package/build/crypto/jose/jwt/JwtPayload.d.ts +0 -101
- package/build/crypto/jose/jwt/JwtPayload.js +0 -127
- package/build/crypto/jose/jwt/JwtPayload.js.map +0 -1
- package/build/crypto/jose/jwt/index.d.ts +0 -2
- package/build/crypto/jose/jwt/index.js +0 -8
- package/build/crypto/jose/jwt/index.js.map +0 -1
- package/build/crypto/keyUtils.d.ts +0 -6
- package/build/crypto/keyUtils.js +0 -65
- package/build/crypto/keyUtils.js.map +0 -1
- package/build/crypto/multiCodecKey.d.ts +0 -3
- package/build/crypto/multiCodecKey.js +0 -33
- package/build/crypto/multiCodecKey.js.map +0 -1
- package/build/crypto/signing-provider/SigningProvider.d.ts +0 -27
- package/build/crypto/signing-provider/SigningProvider.js +0 -3
- package/build/crypto/signing-provider/SigningProvider.js.map +0 -1
- package/build/crypto/signing-provider/SigningProviderError.d.ts +0 -3
- package/build/crypto/signing-provider/SigningProviderError.js +0 -8
- package/build/crypto/signing-provider/SigningProviderError.js.map +0 -1
- package/build/crypto/signing-provider/SigningProviderRegistry.d.ts +0 -10
- package/build/crypto/signing-provider/SigningProviderRegistry.js +0 -49
- package/build/crypto/signing-provider/SigningProviderRegistry.js.map +0 -1
- package/build/crypto/signing-provider/index.d.ts +0 -3
- package/build/crypto/signing-provider/index.js +0 -20
- package/build/crypto/signing-provider/index.js.map +0 -1
- package/build/crypto/webcrypto/CredoSubtle.d.ts +0 -5
- package/build/crypto/webcrypto/CredoSubtle.js +0 -40
- package/build/crypto/webcrypto/CredoSubtle.js.map +0 -1
- package/build/crypto/webcrypto/CredoWalletWebCrypto.d.ts +0 -14
- package/build/crypto/webcrypto/CredoWalletWebCrypto.js +0 -87
- package/build/crypto/webcrypto/CredoWalletWebCrypto.js.map +0 -1
- package/build/crypto/webcrypto/CredoWebCrypto.d.ts +0 -10
- package/build/crypto/webcrypto/CredoWebCrypto.js +0 -45
- package/build/crypto/webcrypto/CredoWebCrypto.js.map +0 -1
- package/build/crypto/webcrypto/CredoWebCryptoError.d.ts +0 -3
- package/build/crypto/webcrypto/CredoWebCryptoError.js +0 -8
- package/build/crypto/webcrypto/CredoWebCryptoError.js.map +0 -1
- package/build/crypto/webcrypto/CredoWebCryptoKey.d.ts +0 -11
- package/build/crypto/webcrypto/CredoWebCryptoKey.js +0 -39
- package/build/crypto/webcrypto/CredoWebCryptoKey.js.map +0 -1
- package/build/crypto/webcrypto/algorithmIdentifiers.d.ts +0 -31
- package/build/crypto/webcrypto/algorithmIdentifiers.js +0 -41
- package/build/crypto/webcrypto/algorithmIdentifiers.js.map +0 -1
- package/build/crypto/webcrypto/index.d.ts +0 -2
- package/build/crypto/webcrypto/index.js +0 -19
- package/build/crypto/webcrypto/index.js.map +0 -1
- package/build/crypto/webcrypto/providers/CredoEcdsaProvider.d.ts +0 -13
- package/build/crypto/webcrypto/providers/CredoEcdsaProvider.js +0 -55
- package/build/crypto/webcrypto/providers/CredoEcdsaProvider.js.map +0 -1
- package/build/crypto/webcrypto/providers/CredoEd25519Provider.d.ts +0 -13
- package/build/crypto/webcrypto/providers/CredoEd25519Provider.js +0 -55
- package/build/crypto/webcrypto/providers/CredoEd25519Provider.js.map +0 -1
- package/build/crypto/webcrypto/providers/CredoSha1Provider.d.ts +0 -7
- package/build/crypto/webcrypto/providers/CredoSha1Provider.js +0 -47
- package/build/crypto/webcrypto/providers/CredoSha1Provider.js.map +0 -1
- package/build/crypto/webcrypto/providers/CredoSha256Provider.d.ts +0 -7
- package/build/crypto/webcrypto/providers/CredoSha256Provider.js +0 -47
- package/build/crypto/webcrypto/providers/CredoSha256Provider.js.map +0 -1
- package/build/crypto/webcrypto/providers/index.d.ts +0 -3
- package/build/crypto/webcrypto/providers/index.js +0 -20
- package/build/crypto/webcrypto/providers/index.js.map +0 -1
- package/build/crypto/webcrypto/types.d.ts +0 -42
- package/build/crypto/webcrypto/types.js +0 -7
- package/build/crypto/webcrypto/types.js.map +0 -1
- package/build/crypto/webcrypto/utils/index.d.ts +0 -1
- package/build/crypto/webcrypto/utils/index.js +0 -18
- package/build/crypto/webcrypto/utils/index.js.map +0 -1
- package/build/crypto/webcrypto/utils/keyAlgorithmConversion.d.ts +0 -7
- package/build/crypto/webcrypto/utils/keyAlgorithmConversion.js +0 -80
- package/build/crypto/webcrypto/utils/keyAlgorithmConversion.js.map +0 -1
- package/build/decorators/ack/AckDecorator.d.ts +0 -13
- package/build/decorators/ack/AckDecorator.js +0 -38
- package/build/decorators/ack/AckDecorator.js.map +0 -1
- package/build/decorators/ack/AckDecoratorExtension.d.ts +0 -13
- package/build/decorators/ack/AckDecoratorExtension.js +0 -38
- package/build/decorators/ack/AckDecoratorExtension.js.map +0 -1
- package/build/decorators/attachment/Attachment.d.ts +0 -75
- package/build/decorators/attachment/Attachment.js +0 -168
- package/build/decorators/attachment/Attachment.js.map +0 -1
- package/build/decorators/attachment/AttachmentExtension.d.ts +0 -15
- package/build/decorators/attachment/AttachmentExtension.js +0 -41
- package/build/decorators/attachment/AttachmentExtension.js.map +0 -1
- package/build/decorators/l10n/L10nDecorator.d.ts +0 -7
- package/build/decorators/l10n/L10nDecorator.js +0 -13
- package/build/decorators/l10n/L10nDecorator.js.map +0 -1
- package/build/decorators/l10n/L10nDecoratorExtension.d.ts +0 -12
- package/build/decorators/l10n/L10nDecoratorExtension.js +0 -40
- package/build/decorators/l10n/L10nDecoratorExtension.js.map +0 -1
- package/build/decorators/service/ServiceDecorator.d.ts +0 -20
- package/build/decorators/service/ServiceDecorator.js +0 -63
- package/build/decorators/service/ServiceDecorator.js.map +0 -1
- package/build/decorators/service/ServiceDecoratorExtension.d.ts +0 -12
- package/build/decorators/service/ServiceDecoratorExtension.js +0 -31
- package/build/decorators/service/ServiceDecoratorExtension.js.map +0 -1
- package/build/decorators/signature/SignatureDecorator.d.ts +0 -11
- package/build/decorators/signature/SignatureDecorator.js +0 -55
- package/build/decorators/signature/SignatureDecorator.js.map +0 -1
- package/build/decorators/signature/SignatureDecoratorUtils.d.ts +0 -21
- package/build/decorators/signature/SignatureDecoratorUtils.js +0 -58
- package/build/decorators/signature/SignatureDecoratorUtils.js.map +0 -1
- package/build/decorators/thread/ThreadDecorator.d.ts +0 -26
- package/build/decorators/thread/ThreadDecorator.js +0 -52
- package/build/decorators/thread/ThreadDecorator.js.map +0 -1
- package/build/decorators/thread/ThreadDecoratorExtension.d.ts +0 -15
- package/build/decorators/thread/ThreadDecoratorExtension.js +0 -36
- package/build/decorators/thread/ThreadDecoratorExtension.js.map +0 -1
- package/build/decorators/timing/TimingDecorator.d.ts +0 -38
- package/build/decorators/timing/TimingDecorator.js +0 -93
- package/build/decorators/timing/TimingDecorator.js.map +0 -1
- package/build/decorators/timing/TimingDecoratorExtension.d.ts +0 -14
- package/build/decorators/timing/TimingDecoratorExtension.js +0 -32
- package/build/decorators/timing/TimingDecoratorExtension.js.map +0 -1
- package/build/decorators/transport/TransportDecorator.d.ts +0 -20
- package/build/decorators/transport/TransportDecorator.js +0 -51
- package/build/decorators/transport/TransportDecorator.js.map +0 -1
- package/build/decorators/transport/TransportDecoratorExtension.d.ts +0 -13
- package/build/decorators/transport/TransportDecoratorExtension.js +0 -54
- package/build/decorators/transport/TransportDecoratorExtension.js.map +0 -1
- package/build/error/BaseError.d.ts +0 -42
- package/build/error/BaseError.js +0 -70
- package/build/error/BaseError.js.map +0 -1
- package/build/error/ClassValidationError.d.ts +0 -11
- package/build/error/ClassValidationError.js +0 -18
- package/build/error/ClassValidationError.js.map +0 -1
- package/build/error/CredoError.d.ts +0 -11
- package/build/error/CredoError.js +0 -16
- package/build/error/CredoError.js.map +0 -1
- package/build/error/MessageSendingError.d.ts +0 -9
- package/build/error/MessageSendingError.js +0 -12
- package/build/error/MessageSendingError.js.map +0 -1
- package/build/error/RecordDuplicateError.d.ts +0 -7
- package/build/error/RecordDuplicateError.js +0 -11
- package/build/error/RecordDuplicateError.js.map +0 -1
- package/build/error/RecordNotFoundError.d.ts +0 -7
- package/build/error/RecordNotFoundError.js +0 -11
- package/build/error/RecordNotFoundError.js.map +0 -1
- package/build/error/ValidationErrorUtils.d.ts +0 -2
- package/build/error/ValidationErrorUtils.js +0 -12
- package/build/error/ValidationErrorUtils.js.map +0 -1
- package/build/error/index.d.ts +0 -5
- package/build/error/index.js +0 -22
- package/build/error/index.js.map +0 -1
- package/build/index.d.ts +0 -74
- package/build/index.js +0 -129
- package/build/index.js.map +0 -1
- package/build/logger/BaseLogger.d.ts +0 -14
- package/build/logger/BaseLogger.js +0 -14
- package/build/logger/BaseLogger.js.map +0 -1
- package/build/logger/ConsoleLogger.d.ts +0 -12
- package/build/logger/ConsoleLogger.js +0 -61
- package/build/logger/ConsoleLogger.js.map +0 -1
- package/build/logger/Logger.d.ts +0 -20
- package/build/logger/Logger.js +0 -16
- package/build/logger/Logger.js.map +0 -1
- package/build/logger/index.d.ts +0 -3
- package/build/logger/index.js +0 -20
- package/build/logger/index.js.map +0 -1
- package/build/logger/replaceError.d.ts +0 -1
- package/build/logger/replaceError.js +0 -17
- package/build/logger/replaceError.js.map +0 -1
- package/build/modules/basic-messages/BasicMessageEvents.d.ts +0 -13
- package/build/modules/basic-messages/BasicMessageEvents.js +0 -8
- package/build/modules/basic-messages/BasicMessageEvents.js.map +0 -1
- package/build/modules/basic-messages/BasicMessageRole.d.ts +0 -4
- package/build/modules/basic-messages/BasicMessageRole.js +0 -9
- package/build/modules/basic-messages/BasicMessageRole.js.map +0 -1
- package/build/modules/basic-messages/BasicMessagesApi.d.ts +0 -58
- package/build/modules/basic-messages/BasicMessagesApi.js +0 -103
- package/build/modules/basic-messages/BasicMessagesApi.js.map +0 -1
- package/build/modules/basic-messages/BasicMessagesModule.d.ts +0 -10
- package/build/modules/basic-messages/BasicMessagesModule.js +0 -29
- package/build/modules/basic-messages/BasicMessagesModule.js.map +0 -1
- package/build/modules/basic-messages/handlers/BasicMessageHandler.d.ts +0 -9
- package/build/modules/basic-messages/handlers/BasicMessageHandler.js +0 -16
- package/build/modules/basic-messages/handlers/BasicMessageHandler.js.map +0 -1
- package/build/modules/basic-messages/handlers/index.d.ts +0 -1
- package/build/modules/basic-messages/handlers/index.js +0 -18
- package/build/modules/basic-messages/handlers/index.js.map +0 -1
- package/build/modules/basic-messages/index.d.ts +0 -7
- package/build/modules/basic-messages/index.js +0 -24
- package/build/modules/basic-messages/index.js.map +0 -1
- package/build/modules/basic-messages/messages/BasicMessage.d.ts +0 -19
- package/build/modules/basic-messages/messages/BasicMessage.js +0 -53
- package/build/modules/basic-messages/messages/BasicMessage.js.map +0 -1
- package/build/modules/basic-messages/messages/index.d.ts +0 -1
- package/build/modules/basic-messages/messages/index.js +0 -18
- package/build/modules/basic-messages/messages/index.js.map +0 -1
- package/build/modules/basic-messages/repository/BasicMessageRecord.d.ts +0 -39
- package/build/modules/basic-messages/repository/BasicMessageRecord.js +0 -29
- package/build/modules/basic-messages/repository/BasicMessageRecord.js.map +0 -1
- package/build/modules/basic-messages/repository/BasicMessageRepository.d.ts +0 -7
- package/build/modules/basic-messages/repository/BasicMessageRepository.js +0 -32
- package/build/modules/basic-messages/repository/BasicMessageRepository.js.map +0 -1
- package/build/modules/basic-messages/repository/index.d.ts +0 -2
- package/build/modules/basic-messages/repository/index.js +0 -19
- package/build/modules/basic-messages/repository/index.js.map +0 -1
- package/build/modules/basic-messages/services/BasicMessageService.d.ts +0 -26
- package/build/modules/basic-messages/services/BasicMessageService.js +0 -86
- package/build/modules/basic-messages/services/BasicMessageService.js.map +0 -1
- package/build/modules/basic-messages/services/index.d.ts +0 -1
- package/build/modules/basic-messages/services/index.js +0 -18
- package/build/modules/basic-messages/services/index.js.map +0 -1
- package/build/modules/cache/Cache.d.ts +0 -6
- package/build/modules/cache/Cache.js +0 -3
- package/build/modules/cache/Cache.js.map +0 -1
- package/build/modules/cache/CacheModule.d.ts +0 -10
- package/build/modules/cache/CacheModule.js +0 -23
- package/build/modules/cache/CacheModule.js.map +0 -1
- package/build/modules/cache/CacheModuleConfig.d.ts +0 -21
- package/build/modules/cache/CacheModuleConfig.js +0 -14
- package/build/modules/cache/CacheModuleConfig.js.map +0 -1
- package/build/modules/cache/InMemoryLruCache.d.ts +0 -21
- package/build/modules/cache/InMemoryLruCache.js +0 -51
- package/build/modules/cache/InMemoryLruCache.js.map +0 -1
- package/build/modules/cache/index.d.ts +0 -5
- package/build/modules/cache/index.js +0 -14
- package/build/modules/cache/index.js.map +0 -1
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.d.ts +0 -22
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.js +0 -38
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.js.map +0 -1
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRepository.d.ts +0 -7
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRepository.js +0 -32
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRepository.js.map +0 -1
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.d.ts +0 -34
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.js +0 -126
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.js.map +0 -1
- package/build/modules/cache/singleContextLruCache/index.d.ts +0 -1
- package/build/modules/cache/singleContextLruCache/index.js +0 -6
- package/build/modules/cache/singleContextLruCache/index.js.map +0 -1
- package/build/modules/common/index.d.ts +0 -1
- package/build/modules/common/index.js +0 -18
- package/build/modules/common/index.js.map +0 -1
- package/build/modules/common/messages/AckMessage.d.ts +0 -26
- package/build/modules/common/messages/AckMessage.js +0 -54
- package/build/modules/common/messages/AckMessage.js.map +0 -1
- package/build/modules/connections/ConnectionEvents.d.ts +0 -28
- package/build/modules/connections/ConnectionEvents.js +0 -9
- package/build/modules/connections/ConnectionEvents.js.map +0 -1
- package/build/modules/connections/ConnectionsApi.d.ts +0 -195
- package/build/modules/connections/ConnectionsApi.js +0 -450
- package/build/modules/connections/ConnectionsApi.js.map +0 -1
- package/build/modules/connections/ConnectionsModule.d.ts +0 -14
- package/build/modules/connections/ConnectionsModule.js +0 -43
- package/build/modules/connections/ConnectionsModule.js.map +0 -1
- package/build/modules/connections/ConnectionsModuleConfig.d.ts +0 -47
- package/build/modules/connections/ConnectionsModuleConfig.js +0 -57
- package/build/modules/connections/ConnectionsModuleConfig.js.map +0 -1
- package/build/modules/connections/DidExchangeProtocol.d.ts +0 -60
- package/build/modules/connections/DidExchangeProtocol.js +0 -484
- package/build/modules/connections/DidExchangeProtocol.js.map +0 -1
- package/build/modules/connections/DidExchangeStateMachine.d.ts +0 -10
- package/build/modules/connections/DidExchangeStateMachine.js +0 -78
- package/build/modules/connections/DidExchangeStateMachine.js.map +0 -1
- package/build/modules/connections/TrustPingEvents.d.ts +0 -21
- package/build/modules/connections/TrustPingEvents.js +0 -9
- package/build/modules/connections/TrustPingEvents.js.map +0 -1
- package/build/modules/connections/errors/ConnectionProblemReportError.d.ts +0 -13
- package/build/modules/connections/errors/ConnectionProblemReportError.js +0 -19
- package/build/modules/connections/errors/ConnectionProblemReportError.js.map +0 -1
- package/build/modules/connections/errors/ConnectionProblemReportReason.d.ts +0 -11
- package/build/modules/connections/errors/ConnectionProblemReportReason.js +0 -16
- package/build/modules/connections/errors/ConnectionProblemReportReason.js.map +0 -1
- package/build/modules/connections/errors/DidExchangeProblemReportError.d.ts +0 -13
- package/build/modules/connections/errors/DidExchangeProblemReportError.js +0 -19
- package/build/modules/connections/errors/DidExchangeProblemReportError.js.map +0 -1
- package/build/modules/connections/errors/DidExchangeProblemReportReason.d.ts +0 -12
- package/build/modules/connections/errors/DidExchangeProblemReportReason.js +0 -17
- package/build/modules/connections/errors/DidExchangeProblemReportReason.js.map +0 -1
- package/build/modules/connections/errors/index.d.ts +0 -4
- package/build/modules/connections/errors/index.js +0 -21
- package/build/modules/connections/errors/index.js.map +0 -1
- package/build/modules/connections/handlers/AckMessageHandler.d.ts +0 -9
- package/build/modules/connections/handlers/AckMessageHandler.js +0 -15
- package/build/modules/connections/handlers/AckMessageHandler.js.map +0 -1
- package/build/modules/connections/handlers/ConnectionProblemReportHandler.d.ts +0 -9
- package/build/modules/connections/handlers/ConnectionProblemReportHandler.js +0 -15
- package/build/modules/connections/handlers/ConnectionProblemReportHandler.js.map +0 -1
- package/build/modules/connections/handlers/ConnectionRequestHandler.d.ts +0 -18
- package/build/modules/connections/handlers/ConnectionRequestHandler.js +0 -69
- package/build/modules/connections/handlers/ConnectionRequestHandler.js.map +0 -1
- package/build/modules/connections/handlers/ConnectionResponseHandler.d.ts +0 -16
- package/build/modules/connections/handlers/ConnectionResponseHandler.js +0 -62
- package/build/modules/connections/handlers/ConnectionResponseHandler.js.map +0 -1
- package/build/modules/connections/handlers/DidExchangeCompleteHandler.d.ts +0 -11
- package/build/modules/connections/handlers/DidExchangeCompleteHandler.js +0 -41
- package/build/modules/connections/handlers/DidExchangeCompleteHandler.js.map +0 -1
- package/build/modules/connections/handlers/DidExchangeRequestHandler.d.ts +0 -18
- package/build/modules/connections/handlers/DidExchangeRequestHandler.js +0 -77
- package/build/modules/connections/handlers/DidExchangeRequestHandler.js.map +0 -1
- package/build/modules/connections/handlers/DidExchangeResponseHandler.d.ts +0 -18
- package/build/modules/connections/handlers/DidExchangeResponseHandler.js +0 -78
- package/build/modules/connections/handlers/DidExchangeResponseHandler.js.map +0 -1
- package/build/modules/connections/handlers/DidRotateAckHandler.d.ts +0 -9
- package/build/modules/connections/handlers/DidRotateAckHandler.js +0 -15
- package/build/modules/connections/handlers/DidRotateAckHandler.js.map +0 -1
- package/build/modules/connections/handlers/DidRotateHandler.d.ts +0 -11
- package/build/modules/connections/handlers/DidRotateHandler.js +0 -21
- package/build/modules/connections/handlers/DidRotateHandler.js.map +0 -1
- package/build/modules/connections/handlers/DidRotateProblemReportHandler.d.ts +0 -9
- package/build/modules/connections/handlers/DidRotateProblemReportHandler.js +0 -15
- package/build/modules/connections/handlers/DidRotateProblemReportHandler.js.map +0 -1
- package/build/modules/connections/handlers/HangupHandler.d.ts +0 -9
- package/build/modules/connections/handlers/HangupHandler.js +0 -15
- package/build/modules/connections/handlers/HangupHandler.js.map +0 -1
- package/build/modules/connections/handlers/TrustPingMessageHandler.d.ts +0 -11
- package/build/modules/connections/handlers/TrustPingMessageHandler.js +0 -27
- package/build/modules/connections/handlers/TrustPingMessageHandler.js.map +0 -1
- package/build/modules/connections/handlers/TrustPingResponseMessageHandler.d.ts +0 -9
- package/build/modules/connections/handlers/TrustPingResponseMessageHandler.js +0 -15
- package/build/modules/connections/handlers/TrustPingResponseMessageHandler.js.map +0 -1
- package/build/modules/connections/handlers/index.d.ts +0 -13
- package/build/modules/connections/handlers/index.js +0 -30
- package/build/modules/connections/handlers/index.js.map +0 -1
- package/build/modules/connections/index.d.ts +0 -10
- package/build/modules/connections/index.js +0 -27
- package/build/modules/connections/index.js.map +0 -1
- package/build/modules/connections/messages/ConnectionInvitationMessage.d.ts +0 -55
- package/build/modules/connections/messages/ConnectionInvitationMessage.js +0 -141
- package/build/modules/connections/messages/ConnectionInvitationMessage.js.map +0 -1
- package/build/modules/connections/messages/ConnectionProblemReportMessage.d.ts +0 -16
- package/build/modules/connections/messages/ConnectionProblemReportMessage.js +0 -35
- package/build/modules/connections/messages/ConnectionProblemReportMessage.js.map +0 -1
- package/build/modules/connections/messages/ConnectionRequestMessage.d.ts +0 -28
- package/build/modules/connections/messages/ConnectionRequestMessage.js +0 -64
- package/build/modules/connections/messages/ConnectionRequestMessage.js.map +0 -1
- package/build/modules/connections/messages/ConnectionResponseMessage.d.ts +0 -23
- package/build/modules/connections/messages/ConnectionResponseMessage.js +0 -52
- package/build/modules/connections/messages/ConnectionResponseMessage.js.map +0 -1
- package/build/modules/connections/messages/DidExchangeCompleteMessage.d.ts +0 -14
- package/build/modules/connections/messages/DidExchangeCompleteMessage.js +0 -38
- package/build/modules/connections/messages/DidExchangeCompleteMessage.js.map +0 -1
- package/build/modules/connections/messages/DidExchangeProblemReportMessage.d.ts +0 -11
- package/build/modules/connections/messages/DidExchangeProblemReportMessage.js +0 -30
- package/build/modules/connections/messages/DidExchangeProblemReportMessage.js.map +0 -1
- package/build/modules/connections/messages/DidExchangeRequestMessage.d.ts +0 -29
- package/build/modules/connections/messages/DidExchangeRequestMessage.js +0 -73
- package/build/modules/connections/messages/DidExchangeRequestMessage.js.map +0 -1
- package/build/modules/connections/messages/DidExchangeResponseMessage.d.ts +0 -24
- package/build/modules/connections/messages/DidExchangeResponseMessage.js +0 -64
- package/build/modules/connections/messages/DidExchangeResponseMessage.js.map +0 -1
- package/build/modules/connections/messages/DidRotateAckMessage.d.ts +0 -12
- package/build/modules/connections/messages/DidRotateAckMessage.js +0 -31
- package/build/modules/connections/messages/DidRotateAckMessage.js.map +0 -1
- package/build/modules/connections/messages/DidRotateMessage.d.ts +0 -20
- package/build/modules/connections/messages/DidRotateMessage.js +0 -47
- package/build/modules/connections/messages/DidRotateMessage.js.map +0 -1
- package/build/modules/connections/messages/DidRotateProblemReportMessage.d.ts +0 -11
- package/build/modules/connections/messages/DidRotateProblemReportMessage.js +0 -30
- package/build/modules/connections/messages/DidRotateProblemReportMessage.js.map +0 -1
- package/build/modules/connections/messages/HangupMessage.d.ts +0 -19
- package/build/modules/connections/messages/HangupMessage.js +0 -40
- package/build/modules/connections/messages/HangupMessage.js.map +0 -1
- package/build/modules/connections/messages/TrustPingMessage.d.ts +0 -26
- package/build/modules/connections/messages/TrustPingMessage.js +0 -63
- package/build/modules/connections/messages/TrustPingMessage.js.map +0 -1
- package/build/modules/connections/messages/TrustPingResponseMessage.d.ts +0 -25
- package/build/modules/connections/messages/TrustPingResponseMessage.js +0 -57
- package/build/modules/connections/messages/TrustPingResponseMessage.js.map +0 -1
- package/build/modules/connections/messages/index.d.ts +0 -14
- package/build/modules/connections/messages/index.js +0 -31
- package/build/modules/connections/messages/index.js.map +0 -1
- package/build/modules/connections/models/Connection.d.ts +0 -10
- package/build/modules/connections/models/Connection.js +0 -38
- package/build/modules/connections/models/Connection.js.map +0 -1
- package/build/modules/connections/models/ConnectionRole.d.ts +0 -4
- package/build/modules/connections/models/ConnectionRole.js +0 -9
- package/build/modules/connections/models/ConnectionRole.js.map +0 -1
- package/build/modules/connections/models/ConnectionState.d.ts +0 -14
- package/build/modules/connections/models/ConnectionState.js +0 -33
- package/build/modules/connections/models/ConnectionState.js.map +0 -1
- package/build/modules/connections/models/ConnectionType.d.ts +0 -3
- package/build/modules/connections/models/ConnectionType.js +0 -8
- package/build/modules/connections/models/ConnectionType.js.map +0 -1
- package/build/modules/connections/models/DidExchangeRole.d.ts +0 -4
- package/build/modules/connections/models/DidExchangeRole.js +0 -9
- package/build/modules/connections/models/DidExchangeRole.js.map +0 -1
- package/build/modules/connections/models/DidExchangeState.d.ts +0 -16
- package/build/modules/connections/models/DidExchangeState.js +0 -21
- package/build/modules/connections/models/DidExchangeState.js.map +0 -1
- package/build/modules/connections/models/DidRotateRole.d.ts +0 -4
- package/build/modules/connections/models/DidRotateRole.js +0 -9
- package/build/modules/connections/models/DidRotateRole.js.map +0 -1
- package/build/modules/connections/models/HandshakeProtocol.d.ts +0 -8
- package/build/modules/connections/models/HandshakeProtocol.js +0 -13
- package/build/modules/connections/models/HandshakeProtocol.js.map +0 -1
- package/build/modules/connections/models/InvitationDetails.d.ts +0 -6
- package/build/modules/connections/models/InvitationDetails.js +0 -3
- package/build/modules/connections/models/InvitationDetails.js.map +0 -1
- package/build/modules/connections/models/did/DidDoc.d.ts +0 -37
- package/build/modules/connections/models/did/DidDoc.js +0 -94
- package/build/modules/connections/models/did/DidDoc.js.map +0 -1
- package/build/modules/connections/models/did/authentication/Authentication.d.ts +0 -4
- package/build/modules/connections/models/did/authentication/Authentication.js +0 -7
- package/build/modules/connections/models/did/authentication/Authentication.js.map +0 -1
- package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.d.ts +0 -6
- package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.js +0 -29
- package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.js.map +0 -1
- package/build/modules/connections/models/did/authentication/ReferencedAuthentication.d.ts +0 -7
- package/build/modules/connections/models/did/authentication/ReferencedAuthentication.js +0 -35
- package/build/modules/connections/models/did/authentication/ReferencedAuthentication.js.map +0 -1
- package/build/modules/connections/models/did/authentication/index.d.ts +0 -19
- package/build/modules/connections/models/did/authentication/index.js +0 -59
- package/build/modules/connections/models/did/authentication/index.js.map +0 -1
- package/build/modules/connections/models/did/index.d.ts +0 -3
- package/build/modules/connections/models/did/index.js +0 -20
- package/build/modules/connections/models/did/index.js.map +0 -1
- package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.d.ts +0 -10
- package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.js +0 -35
- package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.js.map +0 -1
- package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.d.ts +0 -10
- package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.js +0 -35
- package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.js.map +0 -1
- package/build/modules/connections/models/did/publicKey/PublicKey.d.ts +0 -12
- package/build/modules/connections/models/did/publicKey/PublicKey.js +0 -42
- package/build/modules/connections/models/did/publicKey/PublicKey.js.map +0 -1
- package/build/modules/connections/models/did/publicKey/RsaSig2018.d.ts +0 -10
- package/build/modules/connections/models/did/publicKey/RsaSig2018.js +0 -35
- package/build/modules/connections/models/did/publicKey/RsaSig2018.js.map +0 -1
- package/build/modules/connections/models/did/publicKey/index.d.ts +0 -18
- package/build/modules/connections/models/did/publicKey/index.js +0 -40
- package/build/modules/connections/models/did/publicKey/index.js.map +0 -1
- package/build/modules/connections/models/index.d.ts +0 -9
- package/build/modules/connections/models/index.js +0 -26
- package/build/modules/connections/models/index.js.map +0 -1
- package/build/modules/connections/repository/ConnectionMetadataTypes.d.ts +0 -14
- package/build/modules/connections/repository/ConnectionMetadataTypes.js +0 -9
- package/build/modules/connections/repository/ConnectionMetadataTypes.js.map +0 -1
- package/build/modules/connections/repository/ConnectionRecord.d.ts +0 -70
- package/build/modules/connections/repository/ConnectionRecord.js +0 -90
- package/build/modules/connections/repository/ConnectionRecord.js.map +0 -1
- package/build/modules/connections/repository/ConnectionRepository.d.ts +0 -15
- package/build/modules/connections/repository/ConnectionRepository.js +0 -50
- package/build/modules/connections/repository/ConnectionRepository.js.map +0 -1
- package/build/modules/connections/repository/index.d.ts +0 -2
- package/build/modules/connections/repository/index.js +0 -19
- package/build/modules/connections/repository/index.js.map +0 -1
- package/build/modules/connections/services/ConnectionService.d.ts +0 -181
- package/build/modules/connections/services/ConnectionService.js +0 -692
- package/build/modules/connections/services/ConnectionService.js.map +0 -1
- package/build/modules/connections/services/DidRotateService.d.ts +0 -54
- package/build/modules/connections/services/DidRotateService.js +0 -242
- package/build/modules/connections/services/DidRotateService.js.map +0 -1
- package/build/modules/connections/services/TrustPingService.d.ts +0 -12
- package/build/modules/connections/services/TrustPingService.js +0 -54
- package/build/modules/connections/services/TrustPingService.js.map +0 -1
- package/build/modules/connections/services/helpers.d.ts +0 -16
- package/build/modules/connections/services/helpers.js +0 -155
- package/build/modules/connections/services/helpers.js.map +0 -1
- package/build/modules/connections/services/index.d.ts +0 -3
- package/build/modules/connections/services/index.js +0 -20
- package/build/modules/connections/services/index.js.map +0 -1
- package/build/modules/credentials/CredentialEvents.d.ts +0 -20
- package/build/modules/credentials/CredentialEvents.js +0 -9
- package/build/modules/credentials/CredentialEvents.js.map +0 -1
- package/build/modules/credentials/CredentialsApi.d.ts +0 -60
- package/build/modules/credentials/CredentialsApi.js +0 -511
- package/build/modules/credentials/CredentialsApi.js.map +0 -1
- package/build/modules/credentials/CredentialsApiOptions.d.ts +0 -128
- package/build/modules/credentials/CredentialsApiOptions.js +0 -3
- package/build/modules/credentials/CredentialsApiOptions.js.map +0 -1
- package/build/modules/credentials/CredentialsModule.d.ts +0 -22
- package/build/modules/credentials/CredentialsModule.js +0 -45
- package/build/modules/credentials/CredentialsModule.js.map +0 -1
- package/build/modules/credentials/CredentialsModuleConfig.d.ts +0 -34
- package/build/modules/credentials/CredentialsModuleConfig.js +0 -20
- package/build/modules/credentials/CredentialsModuleConfig.js.map +0 -1
- package/build/modules/credentials/formats/CredentialFormat.d.ts +0 -40
- package/build/modules/credentials/formats/CredentialFormat.js +0 -3
- package/build/modules/credentials/formats/CredentialFormat.js.map +0 -1
- package/build/modules/credentials/formats/CredentialFormatService.d.ts +0 -23
- package/build/modules/credentials/formats/CredentialFormatService.js +0 -3
- package/build/modules/credentials/formats/CredentialFormatService.js.map +0 -1
- package/build/modules/credentials/formats/CredentialFormatServiceOptions.d.ts +0 -117
- package/build/modules/credentials/formats/CredentialFormatServiceOptions.js +0 -3
- package/build/modules/credentials/formats/CredentialFormatServiceOptions.js.map +0 -1
- package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.d.ts +0 -51
- package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.js +0 -3
- package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.js.map +0 -1
- package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.d.ts +0 -77
- package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.js +0 -129
- package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.js.map +0 -1
- package/build/modules/credentials/formats/dataIntegrity/index.d.ts +0 -2
- package/build/modules/credentials/formats/dataIntegrity/index.js +0 -19
- package/build/modules/credentials/formats/dataIntegrity/index.js.map +0 -1
- package/build/modules/credentials/formats/index.d.ts +0 -5
- package/build/modules/credentials/formats/index.js +0 -22
- package/build/modules/credentials/formats/index.js.map +0 -1
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.d.ts +0 -15
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.js +0 -38
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.js.map +0 -1
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.d.ts +0 -24
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.js +0 -67
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.js.map +0 -1
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.d.ts +0 -92
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.js +0 -3
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.js.map +0 -1
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.d.ts +0 -71
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.js +0 -300
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.js.map +0 -1
- package/build/modules/credentials/formats/jsonld/index.d.ts +0 -4
- package/build/modules/credentials/formats/jsonld/index.js +0 -21
- package/build/modules/credentials/formats/jsonld/index.js.map +0 -1
- package/build/modules/credentials/index.d.ts +0 -9
- package/build/modules/credentials/index.js +0 -26
- package/build/modules/credentials/index.js.map +0 -1
- package/build/modules/credentials/models/CredentialAutoAcceptType.d.ts +0 -11
- package/build/modules/credentials/models/CredentialAutoAcceptType.js +0 -16
- package/build/modules/credentials/models/CredentialAutoAcceptType.js.map +0 -1
- package/build/modules/credentials/models/CredentialFormatSpec.d.ts +0 -9
- package/build/modules/credentials/models/CredentialFormatSpec.js +0 -35
- package/build/modules/credentials/models/CredentialFormatSpec.js.map +0 -1
- package/build/modules/credentials/models/CredentialPreviewAttribute.d.ts +0 -15
- package/build/modules/credentials/models/CredentialPreviewAttribute.js +0 -44
- package/build/modules/credentials/models/CredentialPreviewAttribute.js.map +0 -1
- package/build/modules/credentials/models/CredentialProblemReportReason.d.ts +0 -8
- package/build/modules/credentials/models/CredentialProblemReportReason.js +0 -13
- package/build/modules/credentials/models/CredentialProblemReportReason.js.map +0 -1
- package/build/modules/credentials/models/CredentialRole.d.ts +0 -4
- package/build/modules/credentials/models/CredentialRole.js +0 -9
- package/build/modules/credentials/models/CredentialRole.js.map +0 -1
- package/build/modules/credentials/models/CredentialState.d.ts +0 -18
- package/build/modules/credentials/models/CredentialState.js +0 -23
- package/build/modules/credentials/models/CredentialState.js.map +0 -1
- package/build/modules/credentials/models/RevocationNotification.d.ts +0 -5
- package/build/modules/credentials/models/RevocationNotification.js +0 -11
- package/build/modules/credentials/models/RevocationNotification.js.map +0 -1
- package/build/modules/credentials/models/index.d.ts +0 -7
- package/build/modules/credentials/models/index.js +0 -24
- package/build/modules/credentials/models/index.js.map +0 -1
- package/build/modules/credentials/protocol/BaseCredentialProtocol.d.ts +0 -112
- package/build/modules/credentials/protocol/BaseCredentialProtocol.js +0 -169
- package/build/modules/credentials/protocol/BaseCredentialProtocol.js.map +0 -1
- package/build/modules/credentials/protocol/CredentialProtocol.d.ts +0 -54
- package/build/modules/credentials/protocol/CredentialProtocol.js +0 -3
- package/build/modules/credentials/protocol/CredentialProtocol.js.map +0 -1
- package/build/modules/credentials/protocol/CredentialProtocolOptions.d.ts +0 -143
- package/build/modules/credentials/protocol/CredentialProtocolOptions.js +0 -3
- package/build/modules/credentials/protocol/CredentialProtocolOptions.js.map +0 -1
- package/build/modules/credentials/protocol/index.d.ts +0 -6
- package/build/modules/credentials/protocol/index.js +0 -40
- package/build/modules/credentials/protocol/index.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.d.ts +0 -9
- package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.js +0 -15
- package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.d.ts +0 -9
- package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.js +0 -15
- package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/handlers/index.d.ts +0 -2
- package/build/modules/credentials/protocol/revocation-notification/handlers/index.js +0 -19
- package/build/modules/credentials/protocol/revocation-notification/handlers/index.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/index.d.ts +0 -1
- package/build/modules/credentials/protocol/revocation-notification/index.js +0 -18
- package/build/modules/credentials/protocol/revocation-notification/index.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.d.ts +0 -15
- package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.js +0 -46
- package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.d.ts +0 -17
- package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.js +0 -52
- package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/messages/index.d.ts +0 -2
- package/build/modules/credentials/protocol/revocation-notification/messages/index.js +0 -19
- package/build/modules/credentials/protocol/revocation-notification/messages/index.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.d.ts +0 -36
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.js +0 -143
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.d.ts +0 -6
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.js +0 -3
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/services/index.d.ts +0 -2
- package/build/modules/credentials/protocol/revocation-notification/services/index.js +0 -19
- package/build/modules/credentials/protocol/revocation-notification/services/index.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.d.ts +0 -5
- package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.js +0 -13
- package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.js.map +0 -1
- package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.d.ts +0 -100
- package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.js +0 -365
- package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.js.map +0 -1
- package/build/modules/credentials/protocol/v2/V2CredentialProtocol.d.ts +0 -178
- package/build/modules/credentials/protocol/v2/V2CredentialProtocol.js +0 -946
- package/build/modules/credentials/protocol/v2/V2CredentialProtocol.js.map +0 -1
- package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.d.ts +0 -11
- package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.js +0 -18
- package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.js.map +0 -1
- package/build/modules/credentials/protocol/v2/errors/index.d.ts +0 -1
- package/build/modules/credentials/protocol/v2/errors/index.js +0 -6
- package/build/modules/credentials/protocol/v2/errors/index.js.map +0 -1
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.d.ts +0 -9
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.js +0 -15
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.js.map +0 -1
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.d.ts +0 -9
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.js +0 -15
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.js.map +0 -1
- package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.d.ts +0 -11
- package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.js +0 -41
- package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.js.map +0 -1
- package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.d.ts +0 -11
- package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.js +0 -33
- package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.js.map +0 -1
- package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.d.ts +0 -12
- package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.js +0 -36
- package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.js.map +0 -1
- package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.d.ts +0 -11
- package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.js +0 -41
- package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.js.map +0 -1
- package/build/modules/credentials/protocol/v2/handlers/index.d.ts +0 -6
- package/build/modules/credentials/protocol/v2/handlers/index.js +0 -23
- package/build/modules/credentials/protocol/v2/handlers/index.js.map +0 -1
- package/build/modules/credentials/protocol/v2/index.d.ts +0 -3
- package/build/modules/credentials/protocol/v2/index.js +0 -20
- package/build/modules/credentials/protocol/v2/index.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.d.ts +0 -15
- package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.js +0 -34
- package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.d.ts +0 -26
- package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.js +0 -71
- package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.d.ts +0 -15
- package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.js +0 -34
- package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.d.ts +0 -22
- package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.js +0 -76
- package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.d.ts +0 -27
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.js +0 -92
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.d.ts +0 -30
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.js +0 -87
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.d.ts +0 -27
- package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.js +0 -77
- package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/index.d.ts +0 -7
- package/build/modules/credentials/protocol/v2/messages/index.js +0 -24
- package/build/modules/credentials/protocol/v2/messages/index.js.map +0 -1
- package/build/modules/credentials/repository/CredentialExchangeRecord.d.ts +0 -66
- package/build/modules/credentials/repository/CredentialExchangeRecord.js +0 -80
- package/build/modules/credentials/repository/CredentialExchangeRecord.js.map +0 -1
- package/build/modules/credentials/repository/CredentialRepository.d.ts +0 -7
- package/build/modules/credentials/repository/CredentialRepository.js +0 -32
- package/build/modules/credentials/repository/CredentialRepository.js.map +0 -1
- package/build/modules/credentials/repository/index.d.ts +0 -2
- package/build/modules/credentials/repository/index.js +0 -19
- package/build/modules/credentials/repository/index.js.map +0 -1
- package/build/modules/credentials/util/composeAutoAccept.d.ts +0 -8
- package/build/modules/credentials/util/composeAutoAccept.js +0 -15
- package/build/modules/credentials/util/composeAutoAccept.js.map +0 -1
- package/build/modules/credentials/util/previewAttributes.d.ts +0 -2
- package/build/modules/credentials/util/previewAttributes.js +0 -24
- package/build/modules/credentials/util/previewAttributes.js.map +0 -1
- package/build/modules/didcomm/index.d.ts +0 -2
- package/build/modules/didcomm/index.js +0 -19
- package/build/modules/didcomm/index.js.map +0 -1
- package/build/modules/didcomm/services/DidCommDocumentService.d.ts +0 -8
- package/build/modules/didcomm/services/DidCommDocumentService.js +0 -83
- package/build/modules/didcomm/services/DidCommDocumentService.js.map +0 -1
- package/build/modules/didcomm/services/index.d.ts +0 -1
- package/build/modules/didcomm/services/index.js +0 -18
- package/build/modules/didcomm/services/index.js.map +0 -1
- package/build/modules/didcomm/types.d.ts +0 -7
- package/build/modules/didcomm/types.js +0 -3
- package/build/modules/didcomm/types.js.map +0 -1
- package/build/modules/didcomm/util/matchingEd25519Key.d.ts +0 -9
- package/build/modules/didcomm/util/matchingEd25519Key.js +0 -33
- package/build/modules/didcomm/util/matchingEd25519Key.js.map +0 -1
- package/build/modules/dids/DidsApi.d.ts +0 -71
- package/build/modules/dids/DidsApi.js +0 -158
- package/build/modules/dids/DidsApi.js.map +0 -1
- package/build/modules/dids/DidsApiOptions.d.ts +0 -29
- package/build/modules/dids/DidsApiOptions.js +0 -3
- package/build/modules/dids/DidsApiOptions.js.map +0 -1
- package/build/modules/dids/DidsModule.d.ts +0 -13
- package/build/modules/dids/DidsModule.js +0 -26
- package/build/modules/dids/DidsModule.js.map +0 -1
- package/build/modules/dids/DidsModuleConfig.d.ts +0 -41
- package/build/modules/dids/DidsModuleConfig.js +0 -62
- package/build/modules/dids/DidsModuleConfig.js.map +0 -1
- package/build/modules/dids/domain/DidDocument.d.ts +0 -62
- package/build/modules/dids/domain/DidDocument.js +0 -258
- package/build/modules/dids/domain/DidDocument.js.map +0 -1
- package/build/modules/dids/domain/DidDocumentBuilder.d.ts +0 -16
- package/build/modules/dids/domain/DidDocumentBuilder.js +0 -89
- package/build/modules/dids/domain/DidDocumentBuilder.js.map +0 -1
- package/build/modules/dids/domain/DidDocumentRole.d.ts +0 -4
- package/build/modules/dids/domain/DidDocumentRole.js +0 -9
- package/build/modules/dids/domain/DidDocumentRole.js.map +0 -1
- package/build/modules/dids/domain/DidRegistrar.d.ts +0 -8
- package/build/modules/dids/domain/DidRegistrar.js +0 -3
- package/build/modules/dids/domain/DidRegistrar.js.map +0 -1
- package/build/modules/dids/domain/DidResolver.d.ts +0 -15
- package/build/modules/dids/domain/DidResolver.js +0 -3
- package/build/modules/dids/domain/DidResolver.js.map +0 -1
- package/build/modules/dids/domain/index.d.ts +0 -9
- package/build/modules/dids/domain/index.js +0 -28
- package/build/modules/dids/domain/index.js.map +0 -1
- package/build/modules/dids/domain/key-type/bls12381g1.d.ts +0 -2
- package/build/modules/dids/domain/key-type/bls12381g1.js +0 -19
- package/build/modules/dids/domain/key-type/bls12381g1.js.map +0 -1
- package/build/modules/dids/domain/key-type/bls12381g1g2.d.ts +0 -4
- package/build/modules/dids/domain/key-type/bls12381g1g2.js +0 -34
- package/build/modules/dids/domain/key-type/bls12381g1g2.js.map +0 -1
- package/build/modules/dids/domain/key-type/bls12381g2.d.ts +0 -2
- package/build/modules/dids/domain/key-type/bls12381g2.js +0 -19
- package/build/modules/dids/domain/key-type/bls12381g2.js.map +0 -1
- package/build/modules/dids/domain/key-type/ed25519.d.ts +0 -3
- package/build/modules/dids/domain/key-type/ed25519.js +0 -35
- package/build/modules/dids/domain/key-type/ed25519.js.map +0 -1
- package/build/modules/dids/domain/key-type/index.d.ts +0 -6
- package/build/modules/dids/domain/key-type/index.js +0 -27
- package/build/modules/dids/domain/key-type/index.js.map +0 -1
- package/build/modules/dids/domain/key-type/keyDidJsonWebKey.d.ts +0 -2
- package/build/modules/dids/domain/key-type/keyDidJsonWebKey.js +0 -18
- package/build/modules/dids/domain/key-type/keyDidJsonWebKey.js.map +0 -1
- package/build/modules/dids/domain/key-type/keyDidMapping.d.ts +0 -11
- package/build/modules/dids/domain/key-type/keyDidMapping.js +0 -77
- package/build/modules/dids/domain/key-type/keyDidMapping.js.map +0 -1
- package/build/modules/dids/domain/key-type/secp256k1.d.ts +0 -2
- package/build/modules/dids/domain/key-type/secp256k1.js +0 -23
- package/build/modules/dids/domain/key-type/secp256k1.js.map +0 -1
- package/build/modules/dids/domain/key-type/x25519.d.ts +0 -2
- package/build/modules/dids/domain/key-type/x25519.js +0 -29
- package/build/modules/dids/domain/key-type/x25519.js.map +0 -1
- package/build/modules/dids/domain/keyDidDocument.d.ts +0 -4
- package/build/modules/dids/domain/keyDidDocument.js +0 -114
- package/build/modules/dids/domain/keyDidDocument.js.map +0 -1
- package/build/modules/dids/domain/parse.d.ts +0 -3
- package/build/modules/dids/domain/parse.js +0 -17
- package/build/modules/dids/domain/parse.js.map +0 -1
- package/build/modules/dids/domain/service/DidCommV1Service.d.ts +0 -18
- package/build/modules/dids/domain/service/DidCommV1Service.js +0 -55
- package/build/modules/dids/domain/service/DidCommV1Service.js.map +0 -1
- package/build/modules/dids/domain/service/DidCommV2Service.d.ts +0 -19
- package/build/modules/dids/domain/service/DidCommV2Service.js +0 -57
- package/build/modules/dids/domain/service/DidCommV2Service.js.map +0 -1
- package/build/modules/dids/domain/service/DidDocumentService.d.ts +0 -18
- package/build/modules/dids/domain/service/DidDocumentService.js +0 -63
- package/build/modules/dids/domain/service/DidDocumentService.js.map +0 -1
- package/build/modules/dids/domain/service/IndyAgentService.d.ts +0 -16
- package/build/modules/dids/domain/service/IndyAgentService.js +0 -49
- package/build/modules/dids/domain/service/IndyAgentService.js.map +0 -1
- package/build/modules/dids/domain/service/NewDidCommV2Service.d.ts +0 -27
- package/build/modules/dids/domain/service/NewDidCommV2Service.js +0 -71
- package/build/modules/dids/domain/service/NewDidCommV2Service.js.map +0 -1
- package/build/modules/dids/domain/service/ServiceTransformer.d.ts +0 -13
- package/build/modules/dids/domain/service/ServiceTransformer.js +0 -46
- package/build/modules/dids/domain/service/ServiceTransformer.js.map +0 -1
- package/build/modules/dids/domain/service/index.d.ts +0 -7
- package/build/modules/dids/domain/service/index.js +0 -18
- package/build/modules/dids/domain/service/index.js.map +0 -1
- package/build/modules/dids/domain/verificationMethod/Bls12381G1Key2020.d.ts +0 -23
- package/build/modules/dids/domain/verificationMethod/Bls12381G1Key2020.js +0 -38
- package/build/modules/dids/domain/verificationMethod/Bls12381G1Key2020.js.map +0 -1
- package/build/modules/dids/domain/verificationMethod/Bls12381G2Key2020.d.ts +0 -23
- package/build/modules/dids/domain/verificationMethod/Bls12381G2Key2020.js +0 -38
- package/build/modules/dids/domain/verificationMethod/Bls12381G2Key2020.js.map +0 -1
- package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.d.ts +0 -23
- package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.js +0 -38
- package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.js.map +0 -1
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.d.ts +0 -23
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.js +0 -38
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.js.map +0 -1
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.d.ts +0 -23
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.js +0 -42
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.js.map +0 -1
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.d.ts +0 -37
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.js +0 -39
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.js.map +0 -1
- package/build/modules/dids/domain/verificationMethod/Multikey.d.ts +0 -30
- package/build/modules/dids/domain/verificationMethod/Multikey.js +0 -39
- package/build/modules/dids/domain/verificationMethod/Multikey.js.map +0 -1
- package/build/modules/dids/domain/verificationMethod/VerificationMethod.d.ts +0 -28
- package/build/modules/dids/domain/verificationMethod/VerificationMethod.js +0 -79
- package/build/modules/dids/domain/verificationMethod/VerificationMethod.js.map +0 -1
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.d.ts +0 -16
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.js +0 -49
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.js.map +0 -1
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.d.ts +0 -23
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.js +0 -38
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.js.map +0 -1
- package/build/modules/dids/domain/verificationMethod/index.d.ts +0 -10
- package/build/modules/dids/domain/verificationMethod/index.js +0 -31
- package/build/modules/dids/domain/verificationMethod/index.js.map +0 -1
- package/build/modules/dids/helpers.d.ts +0 -6
- package/build/modules/dids/helpers.js +0 -37
- package/build/modules/dids/helpers.js.map +0 -1
- package/build/modules/dids/index.d.ts +0 -9
- package/build/modules/dids/index.js +0 -26
- package/build/modules/dids/index.js.map +0 -1
- package/build/modules/dids/methods/index.d.ts +0 -4
- package/build/modules/dids/methods/index.js +0 -21
- package/build/modules/dids/methods/index.js.map +0 -1
- package/build/modules/dids/methods/jwk/DidJwk.d.ts +0 -18
- package/build/modules/dids/methods/jwk/DidJwk.js +0 -53
- package/build/modules/dids/methods/jwk/DidJwk.js.map +0 -1
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.d.ts +0 -26
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.js +0 -107
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.js.map +0 -1
- package/build/modules/dids/methods/jwk/JwkDidResolver.d.ts +0 -16
- package/build/modules/dids/methods/jwk/JwkDidResolver.js +0 -41
- package/build/modules/dids/methods/jwk/JwkDidResolver.js.map +0 -1
- package/build/modules/dids/methods/jwk/__tests__/__fixtures__/p256DidJwkEyJjcnYi0i.d.ts +0 -20
- package/build/modules/dids/methods/jwk/__tests__/__fixtures__/p256DidJwkEyJjcnYi0i.js +0 -36
- package/build/modules/dids/methods/jwk/__tests__/__fixtures__/p256DidJwkEyJjcnYi0i.js.map +0 -1
- package/build/modules/dids/methods/jwk/__tests__/__fixtures__/x25519DidJwkEyJrdHkiOiJ.d.ts +0 -16
- package/build/modules/dids/methods/jwk/__tests__/__fixtures__/x25519DidJwkEyJrdHkiOiJ.js +0 -24
- package/build/modules/dids/methods/jwk/__tests__/__fixtures__/x25519DidJwkEyJrdHkiOiJ.js.map +0 -1
- package/build/modules/dids/methods/jwk/didJwkDidDocument.d.ts +0 -2
- package/build/modules/dids/methods/jwk/didJwkDidDocument.js +0 -35
- package/build/modules/dids/methods/jwk/didJwkDidDocument.js.map +0 -1
- package/build/modules/dids/methods/jwk/index.d.ts +0 -3
- package/build/modules/dids/methods/jwk/index.js +0 -22
- package/build/modules/dids/methods/jwk/index.js.map +0 -1
- package/build/modules/dids/methods/key/DidKey.d.ts +0 -8
- package/build/modules/dids/methods/key/DidKey.js +0 -24
- package/build/modules/dids/methods/key/DidKey.js.map +0 -1
- package/build/modules/dids/methods/key/KeyDidRegistrar.d.ts +0 -26
- package/build/modules/dids/methods/key/KeyDidRegistrar.js +0 -105
- package/build/modules/dids/methods/key/KeyDidRegistrar.js.map +0 -1
- package/build/modules/dids/methods/key/KeyDidResolver.d.ts +0 -16
- package/build/modules/dids/methods/key/KeyDidResolver.js +0 -41
- package/build/modules/dids/methods/key/KeyDidResolver.js.map +0 -1
- package/build/modules/dids/methods/key/index.d.ts +0 -3
- package/build/modules/dids/methods/key/index.js +0 -22
- package/build/modules/dids/methods/key/index.js.map +0 -1
- package/build/modules/dids/methods/peer/PeerDidRegistrar.d.ts +0 -57
- package/build/modules/dids/methods/peer/PeerDidRegistrar.js +0 -162
- package/build/modules/dids/methods/peer/PeerDidRegistrar.js.map +0 -1
- package/build/modules/dids/methods/peer/PeerDidResolver.d.ts +0 -16
- package/build/modules/dids/methods/peer/PeerDidResolver.js +0 -85
- package/build/modules/dids/methods/peer/PeerDidResolver.js.map +0 -1
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.d.ts +0 -2
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.js +0 -59
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.js.map +0 -1
- package/build/modules/dids/methods/peer/didPeer.d.ts +0 -15
- package/build/modules/dids/methods/peer/didPeer.js +0 -42
- package/build/modules/dids/methods/peer/didPeer.js.map +0 -1
- package/build/modules/dids/methods/peer/index.d.ts +0 -4
- package/build/modules/dids/methods/peer/index.js +0 -21
- package/build/modules/dids/methods/peer/index.js.map +0 -1
- package/build/modules/dids/methods/peer/peerDidNumAlgo0.d.ts +0 -3
- package/build/modules/dids/methods/peer/peerDidNumAlgo0.js +0 -26
- package/build/modules/dids/methods/peer/peerDidNumAlgo0.js.map +0 -1
- package/build/modules/dids/methods/peer/peerDidNumAlgo1.d.ts +0 -1
- package/build/modules/dids/methods/peer/peerDidNumAlgo1.js +0 -12
- package/build/modules/dids/methods/peer/peerDidNumAlgo1.js.map +0 -1
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.d.ts +0 -6
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.js +0 -224
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.js.map +0 -1
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.d.ts +0 -14
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.js +0 -118
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.js.map +0 -1
- package/build/modules/dids/methods/web/WebDidResolver.d.ts +0 -12
- package/build/modules/dids/methods/web/WebDidResolver.js +0 -56
- package/build/modules/dids/methods/web/WebDidResolver.js.map +0 -1
- package/build/modules/dids/methods/web/index.d.ts +0 -1
- package/build/modules/dids/methods/web/index.js +0 -18
- package/build/modules/dids/methods/web/index.js.map +0 -1
- package/build/modules/dids/repository/DidRecord.d.ts +0 -43
- package/build/modules/dids/repository/DidRecord.js +0 -56
- package/build/modules/dids/repository/DidRecord.js.map +0 -1
- package/build/modules/dids/repository/DidRepository.d.ts +0 -37
- package/build/modules/dids/repository/DidRepository.js +0 -98
- package/build/modules/dids/repository/DidRepository.js.map +0 -1
- package/build/modules/dids/repository/didRecordMetadataTypes.d.ts +0 -9
- package/build/modules/dids/repository/didRecordMetadataTypes.js +0 -8
- package/build/modules/dids/repository/didRecordMetadataTypes.js.map +0 -1
- package/build/modules/dids/repository/index.d.ts +0 -2
- package/build/modules/dids/repository/index.js +0 -19
- package/build/modules/dids/repository/index.js.map +0 -1
- package/build/modules/dids/services/DidRegistrarService.d.ts +0 -19
- package/build/modules/dids/services/DidRegistrarService.js +0 -115
- package/build/modules/dids/services/DidRegistrarService.js.map +0 -1
- package/build/modules/dids/services/DidResolverService.d.ts +0 -25
- package/build/modules/dids/services/DidResolverService.js +0 -135
- package/build/modules/dids/services/DidResolverService.js.map +0 -1
- package/build/modules/dids/services/index.d.ts +0 -2
- package/build/modules/dids/services/index.js +0 -19
- package/build/modules/dids/services/index.js.map +0 -1
- package/build/modules/dids/types.d.ts +0 -118
- package/build/modules/dids/types.js +0 -3
- package/build/modules/dids/types.js.map +0 -1
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.d.ts +0 -8
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.js +0 -12
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.js.map +0 -1
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.d.ts +0 -10
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.js +0 -23
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.js.map +0 -1
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.d.ts +0 -59
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js +0 -444
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js.map +0 -1
- package/build/modules/dif-presentation-exchange/index.d.ts +0 -6
- package/build/modules/dif-presentation-exchange/index.js +0 -24
- package/build/modules/dif-presentation-exchange/index.js.map +0 -1
- package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.ts +0 -123
- package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.js +0 -3
- package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.js.map +0 -1
- package/build/modules/dif-presentation-exchange/models/index.d.ts +0 -13
- package/build/modules/dif-presentation-exchange/models/index.js +0 -21
- package/build/modules/dif-presentation-exchange/models/index.js.map +0 -1
- package/build/modules/dif-presentation-exchange/utils/credentialSelection.d.ts +0 -6
- package/build/modules/dif-presentation-exchange/utils/credentialSelection.js +0 -277
- package/build/modules/dif-presentation-exchange/utils/credentialSelection.js.map +0 -1
- package/build/modules/dif-presentation-exchange/utils/index.d.ts +0 -4
- package/build/modules/dif-presentation-exchange/utils/index.js +0 -21
- package/build/modules/dif-presentation-exchange/utils/index.js.map +0 -1
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.d.ts +0 -25
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.js +0 -64
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.js.map +0 -1
- package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.d.ts +0 -42
- package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.js +0 -53
- package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.js.map +0 -1
- package/build/modules/dif-presentation-exchange/utils/transform.d.ts +0 -10
- package/build/modules/dif-presentation-exchange/utils/transform.js +0 -47
- package/build/modules/dif-presentation-exchange/utils/transform.js.map +0 -1
- package/build/modules/discover-features/DiscoverFeaturesApi.d.ts +0 -31
- package/build/modules/discover-features/DiscoverFeaturesApi.js +0 -133
- package/build/modules/discover-features/DiscoverFeaturesApi.js.map +0 -1
- package/build/modules/discover-features/DiscoverFeaturesApiOptions.d.ts +0 -39
- package/build/modules/discover-features/DiscoverFeaturesApiOptions.js +0 -3
- package/build/modules/discover-features/DiscoverFeaturesApiOptions.js.map +0 -1
- package/build/modules/discover-features/DiscoverFeaturesEvents.d.ts +0 -28
- package/build/modules/discover-features/DiscoverFeaturesEvents.js +0 -9
- package/build/modules/discover-features/DiscoverFeaturesEvents.js.map +0 -1
- package/build/modules/discover-features/DiscoverFeaturesModule.d.ts +0 -14
- package/build/modules/discover-features/DiscoverFeaturesModule.js +0 -34
- package/build/modules/discover-features/DiscoverFeaturesModule.js.map +0 -1
- package/build/modules/discover-features/DiscoverFeaturesModuleConfig.d.ts +0 -18
- package/build/modules/discover-features/DiscoverFeaturesModuleConfig.js +0 -15
- package/build/modules/discover-features/DiscoverFeaturesModuleConfig.js.map +0 -1
- package/build/modules/discover-features/DiscoverFeaturesServiceOptions.d.ts +0 -13
- package/build/modules/discover-features/DiscoverFeaturesServiceOptions.js +0 -3
- package/build/modules/discover-features/DiscoverFeaturesServiceOptions.js.map +0 -1
- package/build/modules/discover-features/index.d.ts +0 -4
- package/build/modules/discover-features/index.js +0 -21
- package/build/modules/discover-features/index.js.map +0 -1
- package/build/modules/discover-features/protocol/index.d.ts +0 -2
- package/build/modules/discover-features/protocol/index.js +0 -19
- package/build/modules/discover-features/protocol/index.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.d.ts +0 -22
- package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.js +0 -116
- package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.d.ts +0 -9
- package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.js +0 -15
- package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.d.ts +0 -10
- package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.js +0 -23
- package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/handlers/index.d.ts +0 -2
- package/build/modules/discover-features/protocol/v1/handlers/index.js +0 -19
- package/build/modules/discover-features/protocol/v1/handlers/index.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/index.d.ts +0 -2
- package/build/modules/discover-features/protocol/v1/index.js +0 -19
- package/build/modules/discover-features/protocol/v1/index.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.d.ts +0 -21
- package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.js +0 -61
- package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/messages/QueryMessage.d.ts +0 -13
- package/build/modules/discover-features/protocol/v1/messages/QueryMessage.js +0 -43
- package/build/modules/discover-features/protocol/v1/messages/QueryMessage.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/messages/index.d.ts +0 -2
- package/build/modules/discover-features/protocol/v1/messages/index.js +0 -19
- package/build/modules/discover-features/protocol/v1/messages/index.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.d.ts +0 -21
- package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.js +0 -96
- package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.d.ts +0 -9
- package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.js +0 -15
- package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.d.ts +0 -10
- package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.js +0 -23
- package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/handlers/index.d.ts +0 -2
- package/build/modules/discover-features/protocol/v2/handlers/index.js +0 -19
- package/build/modules/discover-features/protocol/v2/handlers/index.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/index.d.ts +0 -2
- package/build/modules/discover-features/protocol/v2/index.js +0 -19
- package/build/modules/discover-features/protocol/v2/index.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.d.ts +0 -13
- package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.js +0 -45
- package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.d.ts +0 -14
- package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.js +0 -41
- package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/messages/index.d.ts +0 -2
- package/build/modules/discover-features/protocol/v2/messages/index.js +0 -19
- package/build/modules/discover-features/protocol/v2/messages/index.js.map +0 -1
- package/build/modules/discover-features/services/DiscoverFeaturesService.d.ts +0 -19
- package/build/modules/discover-features/services/DiscoverFeaturesService.js +0 -13
- package/build/modules/discover-features/services/DiscoverFeaturesService.js.map +0 -1
- package/build/modules/discover-features/services/index.d.ts +0 -1
- package/build/modules/discover-features/services/index.js +0 -18
- package/build/modules/discover-features/services/index.js.map +0 -1
- package/build/modules/generic-records/GenericRecordsApi.d.ts +0 -21
- package/build/modules/generic-records/GenericRecordsApi.js +0 -89
- package/build/modules/generic-records/GenericRecordsApi.js.map +0 -1
- package/build/modules/generic-records/GenericRecordsModule.d.ts +0 -9
- package/build/modules/generic-records/GenericRecordsModule.js +0 -22
- package/build/modules/generic-records/GenericRecordsModule.js.map +0 -1
- package/build/modules/generic-records/index.d.ts +0 -2
- package/build/modules/generic-records/index.js +0 -19
- package/build/modules/generic-records/index.js.map +0 -1
- package/build/modules/generic-records/repository/GenericRecord.d.ts +0 -24
- package/build/modules/generic-records/repository/GenericRecord.js +0 -24
- package/build/modules/generic-records/repository/GenericRecord.js.map +0 -1
- package/build/modules/generic-records/repository/GenericRecordsRepository.d.ts +0 -7
- package/build/modules/generic-records/repository/GenericRecordsRepository.js +0 -32
- package/build/modules/generic-records/repository/GenericRecordsRepository.js.map +0 -1
- package/build/modules/generic-records/services/GenericRecordService.d.ts +0 -16
- package/build/modules/generic-records/services/GenericRecordService.js +0 -69
- package/build/modules/generic-records/services/GenericRecordService.js.map +0 -1
- package/build/modules/mdoc/Mdoc.d.ts +0 -27
- package/build/modules/mdoc/Mdoc.js +0 -121
- package/build/modules/mdoc/Mdoc.js.map +0 -1
- package/build/modules/mdoc/MdocApi.d.ts +0 -44
- package/build/modules/mdoc/MdocApi.js +0 -74
- package/build/modules/mdoc/MdocApi.js.map +0 -1
- package/build/modules/mdoc/MdocContext.d.ts +0 -3
- package/build/modules/mdoc/MdocContext.js +0 -105
- package/build/modules/mdoc/MdocContext.js.map +0 -1
- package/build/modules/mdoc/MdocDeviceResponse.d.ts +0 -109
- package/build/modules/mdoc/MdocDeviceResponse.js +0 -150
- package/build/modules/mdoc/MdocDeviceResponse.js.map +0 -1
- package/build/modules/mdoc/MdocError.d.ts +0 -3
- package/build/modules/mdoc/MdocError.js +0 -8
- package/build/modules/mdoc/MdocError.js.map +0 -1
- package/build/modules/mdoc/MdocModule.d.ts +0 -12
- package/build/modules/mdoc/MdocModule.js +0 -30
- package/build/modules/mdoc/MdocModule.js.map +0 -1
- package/build/modules/mdoc/MdocOptions.d.ts +0 -51
- package/build/modules/mdoc/MdocOptions.js +0 -3
- package/build/modules/mdoc/MdocOptions.js.map +0 -1
- package/build/modules/mdoc/MdocService.d.ts +0 -39
- package/build/modules/mdoc/MdocService.js +0 -66
- package/build/modules/mdoc/MdocService.js.map +0 -1
- package/build/modules/mdoc/index.d.ts +0 -8
- package/build/modules/mdoc/index.js +0 -25
- package/build/modules/mdoc/index.js.map +0 -1
- package/build/modules/mdoc/repository/MdocRecord.d.ts +0 -29
- package/build/modules/mdoc/repository/MdocRecord.js +0 -33
- package/build/modules/mdoc/repository/MdocRecord.js.map +0 -1
- package/build/modules/mdoc/repository/MdocRepository.d.ts +0 -7
- package/build/modules/mdoc/repository/MdocRepository.js +0 -32
- package/build/modules/mdoc/repository/MdocRepository.js.map +0 -1
- package/build/modules/mdoc/repository/index.d.ts +0 -2
- package/build/modules/mdoc/repository/index.js +0 -19
- package/build/modules/mdoc/repository/index.js.map +0 -1
- package/build/modules/message-pickup/MessagePickupApi.d.ts +0 -36
- package/build/modules/message-pickup/MessagePickupApi.js +0 -208
- package/build/modules/message-pickup/MessagePickupApi.js.map +0 -1
- package/build/modules/message-pickup/MessagePickupApiOptions.d.ts +0 -39
- package/build/modules/message-pickup/MessagePickupApiOptions.js +0 -3
- package/build/modules/message-pickup/MessagePickupApiOptions.js.map +0 -1
- package/build/modules/message-pickup/MessagePickupEvents.d.ts +0 -27
- package/build/modules/message-pickup/MessagePickupEvents.js +0 -10
- package/build/modules/message-pickup/MessagePickupEvents.js.map +0 -1
- package/build/modules/message-pickup/MessagePickupModule.d.ts +0 -23
- package/build/modules/message-pickup/MessagePickupModule.js +0 -41
- package/build/modules/message-pickup/MessagePickupModule.js.map +0 -1
- package/build/modules/message-pickup/MessagePickupModuleConfig.d.ts +0 -41
- package/build/modules/message-pickup/MessagePickupModuleConfig.js +0 -23
- package/build/modules/message-pickup/MessagePickupModuleConfig.js.map +0 -1
- package/build/modules/message-pickup/MessagePickupSession.d.ts +0 -12
- package/build/modules/message-pickup/MessagePickupSession.js +0 -9
- package/build/modules/message-pickup/MessagePickupSession.js.map +0 -1
- package/build/modules/message-pickup/index.d.ts +0 -8
- package/build/modules/message-pickup/index.js +0 -27
- package/build/modules/message-pickup/index.js.map +0 -1
- package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.d.ts +0 -17
- package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.js +0 -11
- package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.js.map +0 -1
- package/build/modules/message-pickup/protocol/MessagePickupProtocol.d.ts +0 -12
- package/build/modules/message-pickup/protocol/MessagePickupProtocol.js +0 -3
- package/build/modules/message-pickup/protocol/MessagePickupProtocol.js.map +0 -1
- package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.d.ts +0 -27
- package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.js +0 -3
- package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.js.map +0 -1
- package/build/modules/message-pickup/protocol/index.d.ts +0 -2
- package/build/modules/message-pickup/protocol/index.js +0 -19
- package/build/modules/message-pickup/protocol/index.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.d.ts +0 -24
- package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.js +0 -126
- package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.d.ts +0 -10
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.js +0 -23
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.d.ts +0 -9
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.js +0 -16
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/handlers/index.d.ts +0 -2
- package/build/modules/message-pickup/protocol/v1/handlers/index.js +0 -19
- package/build/modules/message-pickup/protocol/v1/handlers/index.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/index.d.ts +0 -2
- package/build/modules/message-pickup/protocol/v1/index.js +0 -19
- package/build/modules/message-pickup/protocol/v1/index.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.d.ts +0 -27
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.js +0 -71
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.d.ts +0 -22
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.js +0 -49
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/messages/index.d.ts +0 -2
- package/build/modules/message-pickup/protocol/v1/messages/index.js +0 -19
- package/build/modules/message-pickup/protocol/v1/messages/index.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.d.ts +0 -28
- package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js +0 -240
- package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.d.ts +0 -10
- package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.js +0 -16
- package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.d.ts +0 -10
- package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.js +0 -16
- package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.d.ts +0 -11
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.js +0 -23
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.d.ts +0 -10
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.js +0 -16
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.d.ts +0 -11
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.js +0 -23
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.d.ts +0 -10
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.js +0 -16
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/handlers/index.d.ts +0 -6
- package/build/modules/message-pickup/protocol/v2/handlers/index.js +0 -23
- package/build/modules/message-pickup/protocol/v2/handlers/index.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/index.d.ts +0 -2
- package/build/modules/message-pickup/protocol/v2/index.js +0 -19
- package/build/modules/message-pickup/protocol/v2/index.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.d.ts +0 -14
- package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.js +0 -47
- package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.d.ts +0 -12
- package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.js +0 -41
- package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.d.ts +0 -15
- package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.js +0 -48
- package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.d.ts +0 -12
- package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.js +0 -41
- package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.d.ts +0 -25
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.js +0 -89
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.d.ts +0 -12
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.js +0 -40
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/messages/index.d.ts +0 -6
- package/build/modules/message-pickup/protocol/v2/messages/index.js +0 -23
- package/build/modules/message-pickup/protocol/v2/messages/index.js.map +0 -1
- package/build/modules/message-pickup/services/MessagePickupSessionService.d.ts +0 -27
- package/build/modules/message-pickup/services/MessagePickupSessionService.js +0 -91
- package/build/modules/message-pickup/services/MessagePickupSessionService.js.map +0 -1
- package/build/modules/message-pickup/services/index.d.ts +0 -1
- package/build/modules/message-pickup/services/index.js +0 -18
- package/build/modules/message-pickup/services/index.js.map +0 -1
- package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.d.ts +0 -13
- package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.js +0 -77
- package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.js.map +0 -1
- package/build/modules/message-pickup/storage/MessagePickupRepository.d.ts +0 -8
- package/build/modules/message-pickup/storage/MessagePickupRepository.js +0 -3
- package/build/modules/message-pickup/storage/MessagePickupRepository.js.map +0 -1
- package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.d.ts +0 -20
- package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.js +0 -3
- package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.js.map +0 -1
- package/build/modules/message-pickup/storage/QueuedMessage.d.ts +0 -12
- package/build/modules/message-pickup/storage/QueuedMessage.js +0 -3
- package/build/modules/message-pickup/storage/QueuedMessage.js.map +0 -1
- package/build/modules/message-pickup/storage/index.d.ts +0 -4
- package/build/modules/message-pickup/storage/index.js +0 -21
- package/build/modules/message-pickup/storage/index.js.map +0 -1
- package/build/modules/oob/OutOfBandApi.d.ts +0 -276
- package/build/modules/oob/OutOfBandApi.js +0 -722
- package/build/modules/oob/OutOfBandApi.js.map +0 -1
- package/build/modules/oob/OutOfBandModule.d.ts +0 -10
- package/build/modules/oob/OutOfBandModule.js +0 -28
- package/build/modules/oob/OutOfBandModule.js.map +0 -1
- package/build/modules/oob/OutOfBandService.d.ts +0 -51
- package/build/modules/oob/OutOfBandService.js +0 -224
- package/build/modules/oob/OutOfBandService.js.map +0 -1
- package/build/modules/oob/domain/OutOfBandDidCommService.d.ts +0 -18
- package/build/modules/oob/domain/OutOfBandDidCommService.js +0 -77
- package/build/modules/oob/domain/OutOfBandDidCommService.js.map +0 -1
- package/build/modules/oob/domain/OutOfBandEvents.d.ts +0 -23
- package/build/modules/oob/domain/OutOfBandEvents.js +0 -9
- package/build/modules/oob/domain/OutOfBandEvents.js.map +0 -1
- package/build/modules/oob/domain/OutOfBandRole.d.ts +0 -4
- package/build/modules/oob/domain/OutOfBandRole.js +0 -9
- package/build/modules/oob/domain/OutOfBandRole.js.map +0 -1
- package/build/modules/oob/domain/OutOfBandState.d.ts +0 -6
- package/build/modules/oob/domain/OutOfBandState.js +0 -11
- package/build/modules/oob/domain/OutOfBandState.js.map +0 -1
- package/build/modules/oob/domain/index.d.ts +0 -4
- package/build/modules/oob/domain/index.js +0 -21
- package/build/modules/oob/domain/index.js.map +0 -1
- package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.d.ts +0 -10
- package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.js +0 -16
- package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.js.map +0 -1
- package/build/modules/oob/handlers/HandshakeReuseHandler.d.ts +0 -11
- package/build/modules/oob/handlers/HandshakeReuseHandler.js +0 -21
- package/build/modules/oob/handlers/HandshakeReuseHandler.js.map +0 -1
- package/build/modules/oob/handlers/index.d.ts +0 -1
- package/build/modules/oob/handlers/index.js +0 -18
- package/build/modules/oob/handlers/index.js.map +0 -1
- package/build/modules/oob/helpers.d.ts +0 -4
- package/build/modules/oob/helpers.js +0 -71
- package/build/modules/oob/helpers.js.map +0 -1
- package/build/modules/oob/index.d.ts +0 -6
- package/build/modules/oob/index.js +0 -23
- package/build/modules/oob/index.js.map +0 -1
- package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.d.ts +0 -11
- package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.js +0 -35
- package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.js.map +0 -1
- package/build/modules/oob/messages/HandshakeReuseMessage.d.ts +0 -10
- package/build/modules/oob/messages/HandshakeReuseMessage.js +0 -34
- package/build/modules/oob/messages/HandshakeReuseMessage.js.map +0 -1
- package/build/modules/oob/messages/OutOfBandInvitation.d.ts +0 -55
- package/build/modules/oob/messages/OutOfBandInvitation.js +0 -181
- package/build/modules/oob/messages/OutOfBandInvitation.js.map +0 -1
- package/build/modules/oob/messages/index.d.ts +0 -2
- package/build/modules/oob/messages/index.js +0 -19
- package/build/modules/oob/messages/index.js.map +0 -1
- package/build/modules/oob/repository/OutOfBandRecord.d.ts +0 -59
- package/build/modules/oob/repository/OutOfBandRecord.js +0 -63
- package/build/modules/oob/repository/OutOfBandRecord.js.map +0 -1
- package/build/modules/oob/repository/OutOfBandRepository.d.ts +0 -7
- package/build/modules/oob/repository/OutOfBandRepository.js +0 -32
- package/build/modules/oob/repository/OutOfBandRepository.js.map +0 -1
- package/build/modules/oob/repository/index.d.ts +0 -2
- package/build/modules/oob/repository/index.js +0 -19
- package/build/modules/oob/repository/index.js.map +0 -1
- package/build/modules/oob/repository/outOfBandRecordMetadataTypes.d.ts +0 -19
- package/build/modules/oob/repository/outOfBandRecordMetadataTypes.js +0 -9
- package/build/modules/oob/repository/outOfBandRecordMetadataTypes.js.map +0 -1
- package/build/modules/problem-reports/errors/ProblemReportError.d.ts +0 -9
- package/build/modules/problem-reports/errors/ProblemReportError.js +0 -18
- package/build/modules/problem-reports/errors/ProblemReportError.js.map +0 -1
- package/build/modules/problem-reports/errors/index.d.ts +0 -1
- package/build/modules/problem-reports/errors/index.js +0 -18
- package/build/modules/problem-reports/errors/index.js.map +0 -1
- package/build/modules/problem-reports/index.d.ts +0 -3
- package/build/modules/problem-reports/index.js +0 -20
- package/build/modules/problem-reports/index.js.map +0 -1
- package/build/modules/problem-reports/messages/ProblemReportMessage.d.ts +0 -63
- package/build/modules/problem-reports/messages/ProblemReportMessage.js +0 -119
- package/build/modules/problem-reports/messages/ProblemReportMessage.js.map +0 -1
- package/build/modules/problem-reports/messages/index.d.ts +0 -1
- package/build/modules/problem-reports/messages/index.js +0 -18
- package/build/modules/problem-reports/messages/index.js.map +0 -1
- package/build/modules/problem-reports/models/ProblemReportReason.d.ts +0 -3
- package/build/modules/problem-reports/models/ProblemReportReason.js +0 -8
- package/build/modules/problem-reports/models/ProblemReportReason.js.map +0 -1
- package/build/modules/problem-reports/models/index.d.ts +0 -1
- package/build/modules/problem-reports/models/index.js +0 -18
- package/build/modules/problem-reports/models/index.js.map +0 -1
- package/build/modules/proofs/ProofEvents.d.ts +0 -13
- package/build/modules/proofs/ProofEvents.js +0 -8
- package/build/modules/proofs/ProofEvents.js.map +0 -1
- package/build/modules/proofs/ProofsApi.d.ts +0 -68
- package/build/modules/proofs/ProofsApi.js +0 -478
- package/build/modules/proofs/ProofsApi.js.map +0 -1
- package/build/modules/proofs/ProofsApiOptions.d.ts +0 -141
- package/build/modules/proofs/ProofsApiOptions.js +0 -3
- package/build/modules/proofs/ProofsApiOptions.js.map +0 -1
- package/build/modules/proofs/ProofsModule.d.ts +0 -23
- package/build/modules/proofs/ProofsModule.js +0 -31
- package/build/modules/proofs/ProofsModule.js.map +0 -1
- package/build/modules/proofs/ProofsModuleConfig.d.ts +0 -34
- package/build/modules/proofs/ProofsModuleConfig.js +0 -20
- package/build/modules/proofs/ProofsModuleConfig.js.map +0 -1
- package/build/modules/proofs/errors/PresentationProblemReportReason.d.ts +0 -8
- package/build/modules/proofs/errors/PresentationProblemReportReason.js +0 -13
- package/build/modules/proofs/errors/PresentationProblemReportReason.js.map +0 -1
- package/build/modules/proofs/errors/index.d.ts +0 -1
- package/build/modules/proofs/errors/index.js +0 -18
- package/build/modules/proofs/errors/index.js.map +0 -1
- package/build/modules/proofs/formats/ProofFormat.d.ts +0 -66
- package/build/modules/proofs/formats/ProofFormat.js +0 -3
- package/build/modules/proofs/formats/ProofFormat.js.map +0 -1
- package/build/modules/proofs/formats/ProofFormatService.d.ts +0 -19
- package/build/modules/proofs/formats/ProofFormatService.js +0 -3
- package/build/modules/proofs/formats/ProofFormatService.js.map +0 -1
- package/build/modules/proofs/formats/ProofFormatServiceOptions.d.ts +0 -103
- package/build/modules/proofs/formats/ProofFormatServiceOptions.js +0 -3
- package/build/modules/proofs/formats/ProofFormatServiceOptions.js.map +0 -1
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.d.ts +0 -53
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.js +0 -3
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.js.map +0 -1
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.d.ts +0 -32
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.js +0 -285
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.js.map +0 -1
- package/build/modules/proofs/formats/dif-presentation-exchange/index.d.ts +0 -2
- package/build/modules/proofs/formats/dif-presentation-exchange/index.js +0 -19
- package/build/modules/proofs/formats/dif-presentation-exchange/index.js.map +0 -1
- package/build/modules/proofs/formats/index.d.ts +0 -6
- package/build/modules/proofs/formats/index.js +0 -36
- package/build/modules/proofs/formats/index.js.map +0 -1
- package/build/modules/proofs/index.d.ts +0 -10
- package/build/modules/proofs/index.js +0 -29
- package/build/modules/proofs/index.js.map +0 -1
- package/build/modules/proofs/models/ProofAutoAcceptType.d.ts +0 -8
- package/build/modules/proofs/models/ProofAutoAcceptType.js +0 -16
- package/build/modules/proofs/models/ProofAutoAcceptType.js.map +0 -1
- package/build/modules/proofs/models/ProofFormatSpec.d.ts +0 -9
- package/build/modules/proofs/models/ProofFormatSpec.js +0 -35
- package/build/modules/proofs/models/ProofFormatSpec.js.map +0 -1
- package/build/modules/proofs/models/ProofRole.d.ts +0 -4
- package/build/modules/proofs/models/ProofRole.js +0 -9
- package/build/modules/proofs/models/ProofRole.js.map +0 -1
- package/build/modules/proofs/models/ProofState.d.ts +0 -16
- package/build/modules/proofs/models/ProofState.js +0 -21
- package/build/modules/proofs/models/ProofState.js.map +0 -1
- package/build/modules/proofs/models/index.d.ts +0 -4
- package/build/modules/proofs/models/index.js +0 -21
- package/build/modules/proofs/models/index.js.map +0 -1
- package/build/modules/proofs/protocol/BaseProofProtocol.d.ts +0 -98
- package/build/modules/proofs/protocol/BaseProofProtocol.js +0 -151
- package/build/modules/proofs/protocol/BaseProofProtocol.js.map +0 -1
- package/build/modules/proofs/protocol/ProofProtocol.d.ts +0 -52
- package/build/modules/proofs/protocol/ProofProtocol.js +0 -3
- package/build/modules/proofs/protocol/ProofProtocol.js.map +0 -1
- package/build/modules/proofs/protocol/ProofProtocolOptions.d.ts +0 -128
- package/build/modules/proofs/protocol/ProofProtocolOptions.js +0 -3
- package/build/modules/proofs/protocol/ProofProtocolOptions.js.map +0 -1
- package/build/modules/proofs/protocol/index.d.ts +0 -5
- package/build/modules/proofs/protocol/index.js +0 -39
- package/build/modules/proofs/protocol/index.js.map +0 -1
- package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.d.ts +0 -93
- package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.js +0 -307
- package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.js.map +0 -1
- package/build/modules/proofs/protocol/v2/V2ProofProtocol.d.ts +0 -114
- package/build/modules/proofs/protocol/v2/V2ProofProtocol.js +0 -800
- package/build/modules/proofs/protocol/v2/V2ProofProtocol.js.map +0 -1
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.d.ts +0 -13
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.js +0 -19
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.js.map +0 -1
- package/build/modules/proofs/protocol/v2/errors/index.d.ts +0 -1
- package/build/modules/proofs/protocol/v2/errors/index.js +0 -18
- package/build/modules/proofs/protocol/v2/errors/index.js.map +0 -1
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.d.ts +0 -9
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.js +0 -15
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.js.map +0 -1
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.d.ts +0 -10
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.js +0 -43
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.js.map +0 -1
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.d.ts +0 -9
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.js +0 -15
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.js.map +0 -1
- package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.d.ts +0 -11
- package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.js +0 -36
- package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.js.map +0 -1
- package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.d.ts +0 -10
- package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.js +0 -36
- package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.js.map +0 -1
- package/build/modules/proofs/protocol/v2/index.d.ts +0 -3
- package/build/modules/proofs/protocol/v2/index.js +0 -20
- package/build/modules/proofs/protocol/v2/index.js.map +0 -1
- package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.d.ts +0 -5
- package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.js +0 -27
- package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.js.map +0 -1
- package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.d.ts +0 -24
- package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.js +0 -85
- package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.js.map +0 -1
- package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.d.ts +0 -8
- package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.js +0 -30
- package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.js.map +0 -1
- package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.d.ts +0 -22
- package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.js +0 -77
- package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.js.map +0 -1
- package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.d.ts +0 -26
- package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.js +0 -92
- package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.js.map +0 -1
- package/build/modules/proofs/protocol/v2/messages/index.d.ts +0 -5
- package/build/modules/proofs/protocol/v2/messages/index.js +0 -22
- package/build/modules/proofs/protocol/v2/messages/index.js.map +0 -1
- package/build/modules/proofs/repository/ProofExchangeRecord.d.ts +0 -50
- package/build/modules/proofs/repository/ProofExchangeRecord.js +0 -54
- package/build/modules/proofs/repository/ProofExchangeRecord.js.map +0 -1
- package/build/modules/proofs/repository/ProofRepository.d.ts +0 -26
- package/build/modules/proofs/repository/ProofRepository.js +0 -54
- package/build/modules/proofs/repository/ProofRepository.js.map +0 -1
- package/build/modules/proofs/repository/index.d.ts +0 -2
- package/build/modules/proofs/repository/index.js +0 -19
- package/build/modules/proofs/repository/index.js.map +0 -1
- package/build/modules/proofs/utils/composeAutoAccept.d.ts +0 -8
- package/build/modules/proofs/utils/composeAutoAccept.js +0 -15
- package/build/modules/proofs/utils/composeAutoAccept.js.map +0 -1
- package/build/modules/proofs/utils/index.d.ts +0 -1
- package/build/modules/proofs/utils/index.js +0 -18
- package/build/modules/proofs/utils/index.js.map +0 -1
- package/build/modules/routing/MediationRecipientApi.d.ts +0 -89
- package/build/modules/routing/MediationRecipientApi.js +0 -425
- package/build/modules/routing/MediationRecipientApi.js.map +0 -1
- package/build/modules/routing/MediationRecipientModule.d.ts +0 -14
- package/build/modules/routing/MediationRecipientModule.js +0 -34
- package/build/modules/routing/MediationRecipientModule.js.map +0 -1
- package/build/modules/routing/MediationRecipientModuleConfig.d.ts +0 -79
- package/build/modules/routing/MediationRecipientModuleConfig.js +0 -38
- package/build/modules/routing/MediationRecipientModuleConfig.js.map +0 -1
- package/build/modules/routing/MediatorApi.d.ts +0 -18
- package/build/modules/routing/MediatorApi.js +0 -69
- package/build/modules/routing/MediatorApi.js.map +0 -1
- package/build/modules/routing/MediatorModule.d.ts +0 -14
- package/build/modules/routing/MediatorModule.js +0 -34
- package/build/modules/routing/MediatorModule.js.map +0 -1
- package/build/modules/routing/MediatorModuleConfig.d.ts +0 -33
- package/build/modules/routing/MediatorModuleConfig.js +0 -21
- package/build/modules/routing/MediatorModuleConfig.js.map +0 -1
- package/build/modules/routing/MediatorPickupStrategy.d.ts +0 -7
- package/build/modules/routing/MediatorPickupStrategy.js +0 -19
- package/build/modules/routing/MediatorPickupStrategy.js.map +0 -1
- package/build/modules/routing/MessageForwardingStrategy.d.ts +0 -5
- package/build/modules/routing/MessageForwardingStrategy.js +0 -16
- package/build/modules/routing/MessageForwardingStrategy.js.map +0 -1
- package/build/modules/routing/RoutingEvents.d.ts +0 -30
- package/build/modules/routing/RoutingEvents.js +0 -10
- package/build/modules/routing/RoutingEvents.js.map +0 -1
- package/build/modules/routing/error/RoutingProblemReportReason.d.ts +0 -3
- package/build/modules/routing/error/RoutingProblemReportReason.js +0 -8
- package/build/modules/routing/error/RoutingProblemReportReason.js.map +0 -1
- package/build/modules/routing/error/index.d.ts +0 -1
- package/build/modules/routing/error/index.js +0 -18
- package/build/modules/routing/error/index.js.map +0 -1
- package/build/modules/routing/handlers/ForwardHandler.d.ts +0 -9
- package/build/modules/routing/handlers/ForwardHandler.js +0 -15
- package/build/modules/routing/handlers/ForwardHandler.js.map +0 -1
- package/build/modules/routing/handlers/KeylistUpdateHandler.d.ts +0 -10
- package/build/modules/routing/handlers/KeylistUpdateHandler.js +0 -21
- package/build/modules/routing/handlers/KeylistUpdateHandler.js.map +0 -1
- package/build/modules/routing/handlers/KeylistUpdateResponseHandler.d.ts +0 -9
- package/build/modules/routing/handlers/KeylistUpdateResponseHandler.js +0 -16
- package/build/modules/routing/handlers/KeylistUpdateResponseHandler.js.map +0 -1
- package/build/modules/routing/handlers/MediationDenyHandler.d.ts +0 -9
- package/build/modules/routing/handlers/MediationDenyHandler.js +0 -16
- package/build/modules/routing/handlers/MediationDenyHandler.js.map +0 -1
- package/build/modules/routing/handlers/MediationGrantHandler.d.ts +0 -9
- package/build/modules/routing/handlers/MediationGrantHandler.js +0 -16
- package/build/modules/routing/handlers/MediationGrantHandler.js.map +0 -1
- package/build/modules/routing/handlers/MediationRequestHandler.d.ts +0 -12
- package/build/modules/routing/handlers/MediationRequestHandler.js +0 -26
- package/build/modules/routing/handlers/MediationRequestHandler.js.map +0 -1
- package/build/modules/routing/handlers/index.d.ts +0 -6
- package/build/modules/routing/handlers/index.js +0 -23
- package/build/modules/routing/handlers/index.js.map +0 -1
- package/build/modules/routing/index.d.ts +0 -10
- package/build/modules/routing/index.js +0 -27
- package/build/modules/routing/index.js.map +0 -1
- package/build/modules/routing/messages/ForwardMessage.d.ts +0 -23
- package/build/modules/routing/messages/ForwardMessage.js +0 -52
- package/build/modules/routing/messages/ForwardMessage.js.map +0 -1
- package/build/modules/routing/messages/KeylistMessage.d.ts +0 -20
- package/build/modules/routing/messages/KeylistMessage.js +0 -49
- package/build/modules/routing/messages/KeylistMessage.js.map +0 -1
- package/build/modules/routing/messages/KeylistUpdateMessage.d.ts +0 -29
- package/build/modules/routing/messages/KeylistUpdateMessage.js +0 -68
- package/build/modules/routing/messages/KeylistUpdateMessage.js.map +0 -1
- package/build/modules/routing/messages/KeylistUpdateResponseMessage.d.ts +0 -34
- package/build/modules/routing/messages/KeylistUpdateResponseMessage.js +0 -79
- package/build/modules/routing/messages/KeylistUpdateResponseMessage.js.map +0 -1
- package/build/modules/routing/messages/MediationDenyMessage.d.ts +0 -14
- package/build/modules/routing/messages/MediationDenyMessage.js +0 -35
- package/build/modules/routing/messages/MediationDenyMessage.js.map +0 -1
- package/build/modules/routing/messages/MediationGrantMessage.d.ts +0 -20
- package/build/modules/routing/messages/MediationGrantMessage.js +0 -55
- package/build/modules/routing/messages/MediationGrantMessage.js.map +0 -1
- package/build/modules/routing/messages/MediationRequestMessage.d.ts +0 -22
- package/build/modules/routing/messages/MediationRequestMessage.js +0 -42
- package/build/modules/routing/messages/MediationRequestMessage.js.map +0 -1
- package/build/modules/routing/messages/index.d.ts +0 -6
- package/build/modules/routing/messages/index.js +0 -23
- package/build/modules/routing/messages/index.js.map +0 -1
- package/build/modules/routing/models/MediationRole.d.ts +0 -9
- package/build/modules/routing/models/MediationRole.js +0 -14
- package/build/modules/routing/models/MediationRole.js.map +0 -1
- package/build/modules/routing/models/MediationState.d.ts +0 -10
- package/build/modules/routing/models/MediationState.js +0 -15
- package/build/modules/routing/models/MediationState.js.map +0 -1
- package/build/modules/routing/models/index.d.ts +0 -2
- package/build/modules/routing/models/index.js +0 -19
- package/build/modules/routing/models/index.js.map +0 -1
- package/build/modules/routing/repository/MediationRecord.d.ts +0 -53
- package/build/modules/routing/repository/MediationRecord.js +0 -87
- package/build/modules/routing/repository/MediationRecord.js.map +0 -1
- package/build/modules/routing/repository/MediationRepository.d.ts +0 -10
- package/build/modules/routing/repository/MediationRepository.js +0 -40
- package/build/modules/routing/repository/MediationRepository.js.map +0 -1
- package/build/modules/routing/repository/MediatorRoutingRecord.d.ts +0 -15
- package/build/modules/routing/repository/MediatorRoutingRecord.js +0 -23
- package/build/modules/routing/repository/MediatorRoutingRecord.js.map +0 -1
- package/build/modules/routing/repository/MediatorRoutingRepository.d.ts +0 -8
- package/build/modules/routing/repository/MediatorRoutingRepository.js +0 -33
- package/build/modules/routing/repository/MediatorRoutingRepository.js.map +0 -1
- package/build/modules/routing/repository/index.d.ts +0 -4
- package/build/modules/routing/repository/index.js +0 -21
- package/build/modules/routing/repository/index.js.map +0 -1
- package/build/modules/routing/services/MediationRecipientService.d.ts +0 -57
- package/build/modules/routing/services/MediationRecipientService.js +0 -276
- package/build/modules/routing/services/MediationRecipientService.js.map +0 -1
- package/build/modules/routing/services/MediatorService.d.ts +0 -39
- package/build/modules/routing/services/MediatorService.js +0 -253
- package/build/modules/routing/services/MediatorService.js.map +0 -1
- package/build/modules/routing/services/RoutingService.d.ts +0 -33
- package/build/modules/routing/services/RoutingService.js +0 -54
- package/build/modules/routing/services/RoutingService.js.map +0 -1
- package/build/modules/routing/services/helpers.d.ts +0 -3
- package/build/modules/routing/services/helpers.js +0 -13
- package/build/modules/routing/services/helpers.js.map +0 -1
- package/build/modules/routing/services/index.d.ts +0 -3
- package/build/modules/routing/services/index.js +0 -20
- package/build/modules/routing/services/index.js.map +0 -1
- package/build/modules/sd-jwt-vc/SdJwtVcApi.d.ts +0 -59
- package/build/modules/sd-jwt-vc/SdJwtVcApi.js +0 -77
- package/build/modules/sd-jwt-vc/SdJwtVcApi.js.map +0 -1
- package/build/modules/sd-jwt-vc/SdJwtVcError.d.ts +0 -3
- package/build/modules/sd-jwt-vc/SdJwtVcError.js +0 -8
- package/build/modules/sd-jwt-vc/SdJwtVcError.js.map +0 -1
- package/build/modules/sd-jwt-vc/SdJwtVcModule.d.ts +0 -12
- package/build/modules/sd-jwt-vc/SdJwtVcModule.js +0 -30
- package/build/modules/sd-jwt-vc/SdJwtVcModule.js.map +0 -1
- package/build/modules/sd-jwt-vc/SdJwtVcOptions.d.ts +0 -93
- package/build/modules/sd-jwt-vc/SdJwtVcOptions.js +0 -3
- package/build/modules/sd-jwt-vc/SdJwtVcOptions.js.map +0 -1
- package/build/modules/sd-jwt-vc/SdJwtVcService.d.ts +0 -80
- package/build/modules/sd-jwt-vc/SdJwtVcService.js +0 -466
- package/build/modules/sd-jwt-vc/SdJwtVcService.js.map +0 -1
- package/build/modules/sd-jwt-vc/index.d.ts +0 -6
- package/build/modules/sd-jwt-vc/index.js +0 -23
- package/build/modules/sd-jwt-vc/index.js.map +0 -1
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.d.ts +0 -32
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.js +0 -36
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.js.map +0 -1
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.d.ts +0 -7
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.js +0 -32
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.js.map +0 -1
- package/build/modules/sd-jwt-vc/repository/index.d.ts +0 -2
- package/build/modules/sd-jwt-vc/repository/index.js +0 -19
- package/build/modules/sd-jwt-vc/repository/index.js.map +0 -1
- package/build/modules/vc/W3cCredentialService.d.ts +0 -60
- package/build/modules/vc/W3cCredentialService.js +0 -163
- package/build/modules/vc/W3cCredentialService.js.map +0 -1
- package/build/modules/vc/W3cCredentialServiceOptions.d.ts +0 -160
- package/build/modules/vc/W3cCredentialServiceOptions.js +0 -3
- package/build/modules/vc/W3cCredentialServiceOptions.js.map +0 -1
- package/build/modules/vc/W3cCredentialsApi.d.ts +0 -24
- package/build/modules/vc/W3cCredentialsApi.js +0 -60
- package/build/modules/vc/W3cCredentialsApi.js.map +0 -1
- package/build/modules/vc/W3cCredentialsModule.d.ts +0 -13
- package/build/modules/vc/W3cCredentialsModule.js +0 -49
- package/build/modules/vc/W3cCredentialsModule.js.map +0 -1
- package/build/modules/vc/W3cCredentialsModuleConfig.d.ts +0 -36
- package/build/modules/vc/W3cCredentialsModuleConfig.js +0 -16
- package/build/modules/vc/W3cCredentialsModuleConfig.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_example_489398593.d.ts +0 -10
- package/build/modules/vc/__tests__/dids/did_example_489398593.js +0 -16
- package/build/modules/vc/__tests__/dids/did_example_489398593.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_sov_QqEfJxe752NCmWqR5TssZ5.d.ts +0 -20
- package/build/modules/vc/__tests__/dids/did_sov_QqEfJxe752NCmWqR5TssZ5.js +0 -28
- package/build/modules/vc/__tests__/dids/did_sov_QqEfJxe752NCmWqR5TssZ5.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_web_launchpad.d.ts +0 -20
- package/build/modules/vc/__tests__/dids/did_web_launchpad.js +0 -28
- package/build/modules/vc/__tests__/dids/did_web_launchpad.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_z6Mkgg342Ycpuk263R9d8Aq6MUaxPn1DDeHyGo38EefXmgDL.d.ts +0 -23
- package/build/modules/vc/__tests__/dids/did_z6Mkgg342Ycpuk263R9d8Aq6MUaxPn1DDeHyGo38EefXmgDL.js +0 -49
- package/build/modules/vc/__tests__/dids/did_z6Mkgg342Ycpuk263R9d8Aq6MUaxPn1DDeHyGo38EefXmgDL.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_z6MkvePyWAApUVeDboZhNbckaWHnqtD6pCETd6xoqGbcpEBV.d.ts +0 -23
- package/build/modules/vc/__tests__/dids/did_z6MkvePyWAApUVeDboZhNbckaWHnqtD6pCETd6xoqGbcpEBV.js +0 -49
- package/build/modules/vc/__tests__/dids/did_z6MkvePyWAApUVeDboZhNbckaWHnqtD6pCETd6xoqGbcpEBV.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_zUC729nNiUKQ4pHHNYovae25gkkuvtsZmtpjnLYUj1r8Yd4ZRn3FaswicUWs2NYNuWXxQ7MgzAX7dqXxAFZXFvn2jhqGKpjm5xLwESYfhcDGdSrc9mgfu51w939BjmKmng5HvYK.d.ts +0 -18
- package/build/modules/vc/__tests__/dids/did_zUC729nNiUKQ4pHHNYovae25gkkuvtsZmtpjnLYUj1r8Yd4ZRn3FaswicUWs2NYNuWXxQ7MgzAX7dqXxAFZXFvn2jhqGKpjm5xLwESYfhcDGdSrc9mgfu51w939BjmKmng5HvYK.js +0 -32
- package/build/modules/vc/__tests__/dids/did_zUC729nNiUKQ4pHHNYovae25gkkuvtsZmtpjnLYUj1r8Yd4ZRn3FaswicUWs2NYNuWXxQ7MgzAX7dqXxAFZXFvn2jhqGKpjm5xLwESYfhcDGdSrc9mgfu51w939BjmKmng5HvYK.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_zUC72Q7XD4PE4CrMiDVXuvZng3sBvMmaGgNeTUJuzavH2BS7ThbHL9FhsZM9QYY5fqAQ4MB8M9oudz3tfuaX36Ajr97QRW7LBt6WWmrtESe6Bs5NYzFtLWEmeVtvRYVAgjFcJSa.d.ts +0 -37
- package/build/modules/vc/__tests__/dids/did_zUC72Q7XD4PE4CrMiDVXuvZng3sBvMmaGgNeTUJuzavH2BS7ThbHL9FhsZM9QYY5fqAQ4MB8M9oudz3tfuaX36Ajr97QRW7LBt6WWmrtESe6Bs5NYzFtLWEmeVtvRYVAgjFcJSa.js +0 -53
- package/build/modules/vc/__tests__/dids/did_zUC72Q7XD4PE4CrMiDVXuvZng3sBvMmaGgNeTUJuzavH2BS7ThbHL9FhsZM9QYY5fqAQ4MB8M9oudz3tfuaX36Ajr97QRW7LBt6WWmrtESe6Bs5NYzFtLWEmeVtvRYVAgjFcJSa.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_zUC72to2eJiFMrt8a89LoaEPHC76QcfAxQdFys3nFGCmDKAmLbdE4ByyQ54kh42XgECCyZfVKe3m41Kk35nzrBKYbk6s9K7EjyLJcGGPkA7N15tDNBQJaY7cHD4RRaTwF6qXpmD.d.ts +0 -18
- package/build/modules/vc/__tests__/dids/did_zUC72to2eJiFMrt8a89LoaEPHC76QcfAxQdFys3nFGCmDKAmLbdE4ByyQ54kh42XgECCyZfVKe3m41Kk35nzrBKYbk6s9K7EjyLJcGGPkA7N15tDNBQJaY7cHD4RRaTwF6qXpmD.js +0 -32
- package/build/modules/vc/__tests__/dids/did_zUC72to2eJiFMrt8a89LoaEPHC76QcfAxQdFys3nFGCmDKAmLbdE4ByyQ54kh42XgECCyZfVKe3m41Kk35nzrBKYbk6s9K7EjyLJcGGPkA7N15tDNBQJaY7cHD4RRaTwF6qXpmD.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_zUC73JKGpX1WG4CWbFM15ni3faANPet6m8WJ6vaF5xyFsM3MeoBVNgQ6jjVPCcUnTAnJy6RVKqsUXa4AvdRKwV5hhQhwhMWFT9so9jrPekKmqpikTjYBXa3RYWqRpCWHY4u4hxh.d.ts +0 -18
- package/build/modules/vc/__tests__/dids/did_zUC73JKGpX1WG4CWbFM15ni3faANPet6m8WJ6vaF5xyFsM3MeoBVNgQ6jjVPCcUnTAnJy6RVKqsUXa4AvdRKwV5hhQhwhMWFT9so9jrPekKmqpikTjYBXa3RYWqRpCWHY4u4hxh.js +0 -32
- package/build/modules/vc/__tests__/dids/did_zUC73JKGpX1WG4CWbFM15ni3faANPet6m8WJ6vaF5xyFsM3MeoBVNgQ6jjVPCcUnTAnJy6RVKqsUXa4AvdRKwV5hhQhwhMWFT9so9jrPekKmqpikTjYBXa3RYWqRpCWHY4u4hxh.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_zUC73YqdRJ3t8bZsFUoxYFPNVruHzn4o7u78GSrMXVSkcb3xAYtUxRD2kSt2bDcmQpRjKfygwLJ1HEGfkosSN7gr4acjGkXLbLRXREueknFN4AU19m8BxEgWnLM84CAvsw6bhYn.d.ts +0 -18
- package/build/modules/vc/__tests__/dids/did_zUC73YqdRJ3t8bZsFUoxYFPNVruHzn4o7u78GSrMXVSkcb3xAYtUxRD2kSt2bDcmQpRjKfygwLJ1HEGfkosSN7gr4acjGkXLbLRXREueknFN4AU19m8BxEgWnLM84CAvsw6bhYn.js +0 -32
- package/build/modules/vc/__tests__/dids/did_zUC73YqdRJ3t8bZsFUoxYFPNVruHzn4o7u78GSrMXVSkcb3xAYtUxRD2kSt2bDcmQpRjKfygwLJ1HEGfkosSN7gr4acjGkXLbLRXREueknFN4AU19m8BxEgWnLM84CAvsw6bhYn.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_zUC74VEqqhEHQcgv4zagSPkqFJxuNWuoBPKjJuHETEUeHLoSqWt92viSsmaWjy82y2cgguc8e9hsGBifnVK67pQ4gve3m6iSboDkmJjxVEb1d6mRAx5fpMAejooNzNqqbTMVeUN.d.ts +0 -14
- package/build/modules/vc/__tests__/dids/did_zUC74VEqqhEHQcgv4zagSPkqFJxuNWuoBPKjJuHETEUeHLoSqWt92viSsmaWjy82y2cgguc8e9hsGBifnVK67pQ4gve3m6iSboDkmJjxVEb1d6mRAx5fpMAejooNzNqqbTMVeUN.js +0 -28
- package/build/modules/vc/__tests__/dids/did_zUC74VEqqhEHQcgv4zagSPkqFJxuNWuoBPKjJuHETEUeHLoSqWt92viSsmaWjy82y2cgguc8e9hsGBifnVK67pQ4gve3m6iSboDkmJjxVEb1d6mRAx5fpMAejooNzNqqbTMVeUN.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_zUC76qMTDAaupy19pEk8JKH5LJwPwmscNQn24SYpqrgqEoYWPFgCSm4CnTfupADRfbB6CxdwYhVaTFjT4fmPvMh7gWY87LauhaLmNpPamCv4LAepcRfBDndSdtCpZKSTELMjzGJ.d.ts +0 -18
- package/build/modules/vc/__tests__/dids/did_zUC76qMTDAaupy19pEk8JKH5LJwPwmscNQn24SYpqrgqEoYWPFgCSm4CnTfupADRfbB6CxdwYhVaTFjT4fmPvMh7gWY87LauhaLmNpPamCv4LAepcRfBDndSdtCpZKSTELMjzGJ.js +0 -32
- package/build/modules/vc/__tests__/dids/did_zUC76qMTDAaupy19pEk8JKH5LJwPwmscNQn24SYpqrgqEoYWPFgCSm4CnTfupADRfbB6CxdwYhVaTFjT4fmPvMh7gWY87LauhaLmNpPamCv4LAepcRfBDndSdtCpZKSTELMjzGJ.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_zUC7DMETzdZM6woUjvs2fieEyFTbHABXwBvLYPBs4NDWKut4H41h8V3KTqGNRUziXLYqa1sFYYw9Zjpt6pFUf7hra4Q1zXMA9JjXcXxDpxuDNpUKEpiDPSYYUztVchUJHQJJhox.d.ts +0 -18
- package/build/modules/vc/__tests__/dids/did_zUC7DMETzdZM6woUjvs2fieEyFTbHABXwBvLYPBs4NDWKut4H41h8V3KTqGNRUziXLYqa1sFYYw9Zjpt6pFUf7hra4Q1zXMA9JjXcXxDpxuDNpUKEpiDPSYYUztVchUJHQJJhox.js +0 -32
- package/build/modules/vc/__tests__/dids/did_zUC7DMETzdZM6woUjvs2fieEyFTbHABXwBvLYPBs4NDWKut4H41h8V3KTqGNRUziXLYqa1sFYYw9Zjpt6pFUf7hra4Q1zXMA9JjXcXxDpxuDNpUKEpiDPSYYUztVchUJHQJJhox.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_zUC7F9Jt6YzVW9fGhwYjVrjdS8Xzg7oQc2CeDcVNgEcEAaJXAtPz3eXu2sewq4xtwRK3DAhQRYwwoYiT3nNzLCPsrKoP72UGZKhh4cNuZD7RkmwzAa1Bye4C5a9DcyYBGKZrE5F.d.ts +0 -18
- package/build/modules/vc/__tests__/dids/did_zUC7F9Jt6YzVW9fGhwYjVrjdS8Xzg7oQc2CeDcVNgEcEAaJXAtPz3eXu2sewq4xtwRK3DAhQRYwwoYiT3nNzLCPsrKoP72UGZKhh4cNuZD7RkmwzAa1Bye4C5a9DcyYBGKZrE5F.js +0 -32
- package/build/modules/vc/__tests__/dids/did_zUC7F9Jt6YzVW9fGhwYjVrjdS8Xzg7oQc2CeDcVNgEcEAaJXAtPz3eXu2sewq4xtwRK3DAhQRYwwoYiT3nNzLCPsrKoP72UGZKhh4cNuZD7RkmwzAa1Bye4C5a9DcyYBGKZrE5F.js.map +0 -1
- package/build/modules/vc/__tests__/dids/did_zUC7H7TxvhWmvfptpu2zSwo5EZ1kr3MPNsjovaD2ipbuzj6zi1vk4FHTiunCJrFvUYV77Mk3QcWUUAHojPZdU8oG476cvMK2ozP1gVq63x5ovj6e4oQ9qg9eF4YjPhWJs6FPuT4.d.ts +0 -18
- package/build/modules/vc/__tests__/dids/did_zUC7H7TxvhWmvfptpu2zSwo5EZ1kr3MPNsjovaD2ipbuzj6zi1vk4FHTiunCJrFvUYV77Mk3QcWUUAHojPZdU8oG476cvMK2ozP1gVq63x5ovj6e4oQ9qg9eF4YjPhWJs6FPuT4.js +0 -32
- package/build/modules/vc/__tests__/dids/did_zUC7H7TxvhWmvfptpu2zSwo5EZ1kr3MPNsjovaD2ipbuzj6zi1vk4FHTiunCJrFvUYV77Mk3QcWUUAHojPZdU8oG476cvMK2ozP1gVq63x5ovj6e4oQ9qg9eF4YjPhWJs6FPuT4.js.map +0 -1
- package/build/modules/vc/constants.d.ts +0 -16
- package/build/modules/vc/constants.js +0 -20
- package/build/modules/vc/constants.js.map +0 -1
- package/build/modules/vc/data-integrity/SignatureSuiteRegistry.d.ts +0 -22
- package/build/modules/vc/data-integrity/SignatureSuiteRegistry.js +0 -58
- package/build/modules/vc/data-integrity/SignatureSuiteRegistry.js.map +0 -1
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.d.ts +0 -48
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.js +0 -311
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.js.map +0 -1
- package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v1.d.ts +0 -57
- package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v1.js +0 -49
- package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v1.js.map +0 -1
- package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v2.d.ts +0 -57
- package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v2.js +0 -49
- package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v2.js.map +0 -1
- package/build/modules/vc/data-integrity/__tests__/contexts/examples_v1.d.ts +0 -98
- package/build/modules/vc/data-integrity/__tests__/contexts/examples_v1.js +0 -50
- package/build/modules/vc/data-integrity/__tests__/contexts/examples_v1.js.map +0 -1
- package/build/modules/vc/data-integrity/__tests__/contexts/index.d.ts +0 -5
- package/build/modules/vc/data-integrity/__tests__/contexts/index.js +0 -22
- package/build/modules/vc/data-integrity/__tests__/contexts/index.js.map +0 -1
- package/build/modules/vc/data-integrity/__tests__/contexts/mattr_vc_extension_v1.d.ts +0 -17
- package/build/modules/vc/data-integrity/__tests__/contexts/mattr_vc_extension_v1.js +0 -21
- package/build/modules/vc/data-integrity/__tests__/contexts/mattr_vc_extension_v1.js.map +0 -1
- package/build/modules/vc/data-integrity/__tests__/contexts/security_v3_unstable.d.ts +0 -701
- package/build/modules/vc/data-integrity/__tests__/contexts/security_v3_unstable.js +0 -684
- package/build/modules/vc/data-integrity/__tests__/contexts/security_v3_unstable.js.map +0 -1
- package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v1.d.ts +0 -88
- package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v1.js +0 -92
- package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v1.js.map +0 -1
- package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v2.d.ts +0 -88
- package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v2.js +0 -92
- package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v2.js.map +0 -1
- package/build/modules/vc/data-integrity/deriveProof.d.ts +0 -17
- package/build/modules/vc/data-integrity/deriveProof.js +0 -112
- package/build/modules/vc/data-integrity/deriveProof.js.map +0 -1
- package/build/modules/vc/data-integrity/index.d.ts +0 -7
- package/build/modules/vc/data-integrity/index.js +0 -26
- package/build/modules/vc/data-integrity/index.js.map +0 -1
- package/build/modules/vc/data-integrity/jsonldUtil.d.ts +0 -46
- package/build/modules/vc/data-integrity/jsonldUtil.js +0 -103
- package/build/modules/vc/data-integrity/jsonldUtil.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/X25519_v1.d.ts +0 -26
- package/build/modules/vc/data-integrity/libraries/contexts/X25519_v1.js +0 -30
- package/build/modules/vc/data-integrity/libraries/contexts/X25519_v1.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/bbs_v1.d.ts +0 -128
- package/build/modules/vc/data-integrity/libraries/contexts/bbs_v1.js +0 -132
- package/build/modules/vc/data-integrity/libraries/contexts/bbs_v1.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/credentials_v1.d.ts +0 -315
- package/build/modules/vc/data-integrity/libraries/contexts/credentials_v1.js +0 -254
- package/build/modules/vc/data-integrity/libraries/contexts/credentials_v1.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/dataIntegrity_v2.d.ts +0 -81
- package/build/modules/vc/data-integrity/libraries/contexts/dataIntegrity_v2.js +0 -85
- package/build/modules/vc/data-integrity/libraries/contexts/dataIntegrity_v2.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/defaultContexts.d.ts +0 -10323
- package/build/modules/vc/data-integrity/libraries/contexts/defaultContexts.js +0 -37
- package/build/modules/vc/data-integrity/libraries/contexts/defaultContexts.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/did_v1.d.ts +0 -56
- package/build/modules/vc/data-integrity/libraries/contexts/did_v1.js +0 -60
- package/build/modules/vc/data-integrity/libraries/contexts/did_v1.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/ed25519_v1.d.ts +0 -91
- package/build/modules/vc/data-integrity/libraries/contexts/ed25519_v1.js +0 -95
- package/build/modules/vc/data-integrity/libraries/contexts/ed25519_v1.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/index.d.ts +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/index.js +0 -6
- package/build/modules/vc/data-integrity/libraries/contexts/index.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/odrl.d.ts +0 -301
- package/build/modules/vc/data-integrity/libraries/contexts/odrl.js +0 -185
- package/build/modules/vc/data-integrity/libraries/contexts/odrl.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/purl_ob_v3po.d.ts +0 -438
- package/build/modules/vc/data-integrity/libraries/contexts/purl_ob_v3po.js +0 -442
- package/build/modules/vc/data-integrity/libraries/contexts/purl_ob_v3po.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/schema_org.d.ts +0 -8242
- package/build/modules/vc/data-integrity/libraries/contexts/schema_org.js +0 -2842
- package/build/modules/vc/data-integrity/libraries/contexts/schema_org.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/secp256k1_v1.d.ts +0 -102
- package/build/modules/vc/data-integrity/libraries/contexts/secp256k1_v1.js +0 -106
- package/build/modules/vc/data-integrity/libraries/contexts/secp256k1_v1.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/security_v1.d.ts +0 -74
- package/build/modules/vc/data-integrity/libraries/contexts/security_v1.js +0 -51
- package/build/modules/vc/data-integrity/libraries/contexts/security_v1.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/security_v2.d.ts +0 -175
- package/build/modules/vc/data-integrity/libraries/contexts/security_v2.js +0 -94
- package/build/modules/vc/data-integrity/libraries/contexts/security_v2.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/submission.d.ts +0 -15
- package/build/modules/vc/data-integrity/libraries/contexts/submission.js +0 -19
- package/build/modules/vc/data-integrity/libraries/contexts/submission.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/contexts/vc_revocation_list_2020.d.ts +0 -37
- package/build/modules/vc/data-integrity/libraries/contexts/vc_revocation_list_2020.js +0 -41
- package/build/modules/vc/data-integrity/libraries/contexts/vc_revocation_list_2020.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/documentLoader.d.ts +0 -4
- package/build/modules/vc/data-integrity/libraries/documentLoader.js +0 -58
- package/build/modules/vc/data-integrity/libraries/documentLoader.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/index.d.ts +0 -24
- package/build/modules/vc/data-integrity/libraries/index.js +0 -40
- package/build/modules/vc/data-integrity/libraries/index.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/jsonld-signatures.d.ts +0 -12
- package/build/modules/vc/data-integrity/libraries/jsonld-signatures.js +0 -9
- package/build/modules/vc/data-integrity/libraries/jsonld-signatures.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/jsonld.d.ts +0 -17
- package/build/modules/vc/data-integrity/libraries/jsonld.js +0 -12
- package/build/modules/vc/data-integrity/libraries/jsonld.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.d.ts +0 -2
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.js +0 -9
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.native.d.ts +0 -2
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.native.js +0 -9
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.native.js.map +0 -1
- package/build/modules/vc/data-integrity/libraries/vc.d.ts +0 -28
- package/build/modules/vc/data-integrity/libraries/vc.js +0 -12
- package/build/modules/vc/data-integrity/libraries/vc.js.map +0 -1
- package/build/modules/vc/data-integrity/models/DataIntegrityProof.d.ts +0 -33
- package/build/modules/vc/data-integrity/models/DataIntegrityProof.js +0 -91
- package/build/modules/vc/data-integrity/models/DataIntegrityProof.js.map +0 -1
- package/build/modules/vc/data-integrity/models/GetProofsOptions.d.ts +0 -23
- package/build/modules/vc/data-integrity/models/GetProofsOptions.js +0 -15
- package/build/modules/vc/data-integrity/models/GetProofsOptions.js.map +0 -1
- package/build/modules/vc/data-integrity/models/GetProofsResult.d.ts +0 -14
- package/build/modules/vc/data-integrity/models/GetProofsResult.js +0 -15
- package/build/modules/vc/data-integrity/models/GetProofsResult.js.map +0 -1
- package/build/modules/vc/data-integrity/models/GetTypeOptions.d.ts +0 -10
- package/build/modules/vc/data-integrity/models/GetTypeOptions.js +0 -15
- package/build/modules/vc/data-integrity/models/GetTypeOptions.js.map +0 -1
- package/build/modules/vc/data-integrity/models/IAnonCredsDataIntegrityService.d.ts +0 -29
- package/build/modules/vc/data-integrity/models/IAnonCredsDataIntegrityService.js +0 -6
- package/build/modules/vc/data-integrity/models/IAnonCredsDataIntegrityService.js.map +0 -1
- package/build/modules/vc/data-integrity/models/LdKeyPair.d.ts +0 -31
- package/build/modules/vc/data-integrity/models/LdKeyPair.js +0 -29
- package/build/modules/vc/data-integrity/models/LdKeyPair.js.map +0 -1
- package/build/modules/vc/data-integrity/models/LinkedDataProof.d.ts +0 -30
- package/build/modules/vc/data-integrity/models/LinkedDataProof.js +0 -78
- package/build/modules/vc/data-integrity/models/LinkedDataProof.js.map +0 -1
- package/build/modules/vc/data-integrity/models/ProofTransformer.d.ts +0 -1
- package/build/modules/vc/data-integrity/models/ProofTransformer.js +0 -31
- package/build/modules/vc/data-integrity/models/ProofTransformer.js.map +0 -1
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.d.ts +0 -30
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.js +0 -74
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.js.map +0 -1
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.d.ts +0 -27
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.js +0 -64
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.js.map +0 -1
- package/build/modules/vc/data-integrity/models/index.d.ts +0 -5
- package/build/modules/vc/data-integrity/models/index.js +0 -22
- package/build/modules/vc/data-integrity/models/index.js.map +0 -1
- package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.d.ts +0 -56
- package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.js +0 -74
- package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.js.map +0 -1
- package/build/modules/vc/data-integrity/proof-purposes/ProofPurpose.d.ts +0 -1
- package/build/modules/vc/data-integrity/proof-purposes/ProofPurpose.js +0 -3
- package/build/modules/vc/data-integrity/proof-purposes/ProofPurpose.js.map +0 -1
- package/build/modules/vc/data-integrity/proof-purposes/index.d.ts +0 -2
- package/build/modules/vc/data-integrity/proof-purposes/index.js +0 -19
- package/build/modules/vc/data-integrity/proof-purposes/index.js.map +0 -1
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.d.ts +0 -98
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.js +0 -209
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.js.map +0 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.d.ts +0 -80
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.js +0 -190
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.js.map +0 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.d.ts +0 -106
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.js +0 -196
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.js.map +0 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/constants.d.ts +0 -2
- package/build/modules/vc/data-integrity/signature-suites/ed25519/constants.js +0 -6
- package/build/modules/vc/data-integrity/signature-suites/ed25519/constants.js.map +0 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/context.d.ts +0 -93
- package/build/modules/vc/data-integrity/signature-suites/ed25519/context.js +0 -99
- package/build/modules/vc/data-integrity/signature-suites/ed25519/context.js.map +0 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/context2020.d.ts +0 -95
- package/build/modules/vc/data-integrity/signature-suites/ed25519/context2020.js +0 -101
- package/build/modules/vc/data-integrity/signature-suites/ed25519/context2020.js.map +0 -1
- package/build/modules/vc/data-integrity/signature-suites/index.d.ts +0 -3
- package/build/modules/vc/data-integrity/signature-suites/index.js +0 -20
- package/build/modules/vc/data-integrity/signature-suites/index.js.map +0 -1
- package/build/modules/vc/index.d.ts +0 -11
- package/build/modules/vc/index.js +0 -30
- package/build/modules/vc/index.js.map +0 -1
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.d.ts +0 -63
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.js +0 -438
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.js.map +0 -1
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.d.ts +0 -46
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.js +0 -97
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.js.map +0 -1
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.d.ts +0 -37
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.js +0 -76
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.js.map +0 -1
- package/build/modules/vc/jwt-vc/__tests__/fixtures/credo-jwt-vc.d.ts +0 -38
- package/build/modules/vc/jwt-vc/__tests__/fixtures/credo-jwt-vc.js +0 -43
- package/build/modules/vc/jwt-vc/__tests__/fixtures/credo-jwt-vc.js.map +0 -1
- package/build/modules/vc/jwt-vc/__tests__/fixtures/jwt-vc-presentation-profile.d.ts +0 -1
- package/build/modules/vc/jwt-vc/__tests__/fixtures/jwt-vc-presentation-profile.js +0 -5
- package/build/modules/vc/jwt-vc/__tests__/fixtures/jwt-vc-presentation-profile.js.map +0 -1
- package/build/modules/vc/jwt-vc/__tests__/fixtures/transmute-verifiable-data.d.ts +0 -10
- package/build/modules/vc/jwt-vc/__tests__/fixtures/transmute-verifiable-data.js +0 -15
- package/build/modules/vc/jwt-vc/__tests__/fixtures/transmute-verifiable-data.js.map +0 -1
- package/build/modules/vc/jwt-vc/credentialTransformer.d.ts +0 -4
- package/build/modules/vc/jwt-vc/credentialTransformer.js +0 -131
- package/build/modules/vc/jwt-vc/credentialTransformer.js.map +0 -1
- package/build/modules/vc/jwt-vc/index.d.ts +0 -3
- package/build/modules/vc/jwt-vc/index.js +0 -20
- package/build/modules/vc/jwt-vc/index.js.map +0 -1
- package/build/modules/vc/jwt-vc/presentationTransformer.d.ts +0 -4
- package/build/modules/vc/jwt-vc/presentationTransformer.js +0 -54
- package/build/modules/vc/jwt-vc/presentationTransformer.js.map +0 -1
- package/build/modules/vc/models/ClaimFormat.d.ts +0 -17
- package/build/modules/vc/models/ClaimFormat.js +0 -22
- package/build/modules/vc/models/ClaimFormat.js.map +0 -1
- package/build/modules/vc/models/W3cVerifyResult.d.ts +0 -109
- package/build/modules/vc/models/W3cVerifyResult.js +0 -3
- package/build/modules/vc/models/W3cVerifyResult.js.map +0 -1
- package/build/modules/vc/models/credential/W3cCredential.d.ts +0 -37
- package/build/modules/vc/models/credential/W3cCredential.js +0 -135
- package/build/modules/vc/models/credential/W3cCredential.js.map +0 -1
- package/build/modules/vc/models/credential/W3cCredentialSchema.d.ts +0 -9
- package/build/modules/vc/models/credential/W3cCredentialSchema.js +0 -32
- package/build/modules/vc/models/credential/W3cCredentialSchema.js.map +0 -1
- package/build/modules/vc/models/credential/W3cCredentialStatus.d.ts +0 -9
- package/build/modules/vc/models/credential/W3cCredentialStatus.js +0 -32
- package/build/modules/vc/models/credential/W3cCredentialStatus.js.map +0 -1
- package/build/modules/vc/models/credential/W3cCredentialSubject.d.ts +0 -15
- package/build/modules/vc/models/credential/W3cCredentialSubject.js +0 -90
- package/build/modules/vc/models/credential/W3cCredentialSubject.js.map +0 -1
- package/build/modules/vc/models/credential/W3cIssuer.d.ts +0 -14
- package/build/modules/vc/models/credential/W3cIssuer.js +0 -65
- package/build/modules/vc/models/credential/W3cIssuer.js.map +0 -1
- package/build/modules/vc/models/credential/W3cJsonCredential.d.ts +0 -14
- package/build/modules/vc/models/credential/W3cJsonCredential.js +0 -3
- package/build/modules/vc/models/credential/W3cJsonCredential.js.map +0 -1
- package/build/modules/vc/models/credential/W3cVerifiableCredential.d.ts +0 -5
- package/build/modules/vc/models/credential/W3cVerifiableCredential.js +0 -38
- package/build/modules/vc/models/credential/W3cVerifiableCredential.js.map +0 -1
- package/build/modules/vc/models/credential/index.d.ts +0 -5
- package/build/modules/vc/models/credential/index.js +0 -22
- package/build/modules/vc/models/credential/index.js.map +0 -1
- package/build/modules/vc/models/index.d.ts +0 -4
- package/build/modules/vc/models/index.js +0 -21
- package/build/modules/vc/models/index.js.map +0 -1
- package/build/modules/vc/models/presentation/W3cHolder.d.ts +0 -13
- package/build/modules/vc/models/presentation/W3cHolder.js +0 -65
- package/build/modules/vc/models/presentation/W3cHolder.js.map +0 -1
- package/build/modules/vc/models/presentation/W3cJsonPresentation.d.ts +0 -14
- package/build/modules/vc/models/presentation/W3cJsonPresentation.js +0 -3
- package/build/modules/vc/models/presentation/W3cJsonPresentation.js.map +0 -1
- package/build/modules/vc/models/presentation/W3cPresentation.d.ts +0 -25
- package/build/modules/vc/models/presentation/W3cPresentation.js +0 -88
- package/build/modules/vc/models/presentation/W3cPresentation.js.map +0 -1
- package/build/modules/vc/models/presentation/W3cVerifiablePresentation.d.ts +0 -4
- package/build/modules/vc/models/presentation/W3cVerifiablePresentation.js +0 -3
- package/build/modules/vc/models/presentation/W3cVerifiablePresentation.js.map +0 -1
- package/build/modules/vc/models/presentation/index.d.ts +0 -2
- package/build/modules/vc/models/presentation/index.js +0 -19
- package/build/modules/vc/models/presentation/index.js.map +0 -1
- package/build/modules/vc/repository/W3cCredentialRecord.d.ts +0 -42
- package/build/modules/vc/repository/W3cCredentialRecord.js +0 -62
- package/build/modules/vc/repository/W3cCredentialRecord.js.map +0 -1
- package/build/modules/vc/repository/W3cCredentialRepository.d.ts +0 -7
- package/build/modules/vc/repository/W3cCredentialRepository.js +0 -32
- package/build/modules/vc/repository/W3cCredentialRepository.js.map +0 -1
- package/build/modules/vc/repository/index.d.ts +0 -2
- package/build/modules/vc/repository/index.js +0 -19
- package/build/modules/vc/repository/index.js.map +0 -1
- package/build/modules/vc/util.d.ts +0 -7
- package/build/modules/vc/util.js +0 -19
- package/build/modules/vc/util.js.map +0 -1
- package/build/modules/vc/validators.d.ts +0 -2
- package/build/modules/vc/validators.js +0 -24
- package/build/modules/vc/validators.js.map +0 -1
- package/build/modules/x509/X509Api.d.ts +0 -37
- package/build/modules/x509/X509Api.js +0 -66
- package/build/modules/x509/X509Api.js.map +0 -1
- package/build/modules/x509/X509Certificate.d.ts +0 -49
- package/build/modules/x509/X509Certificate.js +0 -169
- package/build/modules/x509/X509Certificate.js.map +0 -1
- package/build/modules/x509/X509Error.d.ts +0 -3
- package/build/modules/x509/X509Error.js +0 -8
- package/build/modules/x509/X509Error.js.map +0 -1
- package/build/modules/x509/X509Module.d.ts +0 -16
- package/build/modules/x509/X509Module.js +0 -31
- package/build/modules/x509/X509Module.js.map +0 -1
- package/build/modules/x509/X509ModuleConfig.d.ts +0 -27
- package/build/modules/x509/X509ModuleConfig.js +0 -30
- package/build/modules/x509/X509ModuleConfig.js.map +0 -1
- package/build/modules/x509/X509Service.d.ts +0 -27
- package/build/modules/x509/X509Service.js +0 -109
- package/build/modules/x509/X509Service.js.map +0 -1
- package/build/modules/x509/X509ServiceOptions.d.ts +0 -29
- package/build/modules/x509/X509ServiceOptions.js +0 -3
- package/build/modules/x509/X509ServiceOptions.js.map +0 -1
- package/build/modules/x509/index.d.ts +0 -7
- package/build/modules/x509/index.js +0 -24
- package/build/modules/x509/index.js.map +0 -1
- package/build/plugins/DependencyManager.d.ts +0 -36
- package/build/plugins/DependencyManager.js +0 -85
- package/build/plugins/DependencyManager.js.map +0 -1
- package/build/plugins/Module.d.ts +0 -17
- package/build/plugins/Module.js +0 -3
- package/build/plugins/Module.js.map +0 -1
- package/build/plugins/index.d.ts +0 -4
- package/build/plugins/index.js +0 -25
- package/build/plugins/index.js.map +0 -1
- package/build/plugins/utils.d.ts +0 -7
- package/build/plugins/utils.js +0 -20
- package/build/plugins/utils.js.map +0 -1
- package/build/storage/BaseRecord.d.ts +0 -54
- package/build/storage/BaseRecord.js +0 -85
- package/build/storage/BaseRecord.js.map +0 -1
- package/build/storage/FileSystem.d.ts +0 -19
- package/build/storage/FileSystem.js +0 -3
- package/build/storage/FileSystem.js.map +0 -1
- package/build/storage/Metadata.d.ts +0 -58
- package/build/storage/Metadata.js +0 -70
- package/build/storage/Metadata.js.map +0 -1
- package/build/storage/Repository.d.ts +0 -49
- package/build/storage/Repository.js +0 -123
- package/build/storage/Repository.js.map +0 -1
- package/build/storage/RepositoryEvents.d.ts +0 -28
- package/build/storage/RepositoryEvents.js +0 -10
- package/build/storage/RepositoryEvents.js.map +0 -1
- package/build/storage/StorageService.d.ts +0 -72
- package/build/storage/StorageService.js +0 -3
- package/build/storage/StorageService.js.map +0 -1
- package/build/storage/didcomm/DidCommMessageRecord.d.ts +0 -48
- package/build/storage/didcomm/DidCommMessageRecord.js +0 -49
- package/build/storage/didcomm/DidCommMessageRecord.js.map +0 -1
- package/build/storage/didcomm/DidCommMessageRepository.d.ts +0 -24
- package/build/storage/didcomm/DidCommMessageRepository.js +0 -78
- package/build/storage/didcomm/DidCommMessageRepository.js.map +0 -1
- package/build/storage/didcomm/DidCommMessageRole.d.ts +0 -4
- package/build/storage/didcomm/DidCommMessageRole.js +0 -9
- package/build/storage/didcomm/DidCommMessageRole.js.map +0 -1
- package/build/storage/didcomm/index.d.ts +0 -3
- package/build/storage/didcomm/index.js +0 -20
- package/build/storage/didcomm/index.js.map +0 -1
- package/build/storage/index.d.ts +0 -2
- package/build/storage/index.js +0 -19
- package/build/storage/index.js.map +0 -1
- package/build/storage/migration/StorageUpdateService.d.ts +0 -22
- package/build/storage/migration/StorageUpdateService.js +0 -77
- package/build/storage/migration/StorageUpdateService.js.map +0 -1
- package/build/storage/migration/UpdateAssistant.d.ts +0 -42
- package/build/storage/migration/UpdateAssistant.js +0 -211
- package/build/storage/migration/UpdateAssistant.js.map +0 -1
- package/build/storage/migration/error/StorageUpdateError.d.ts +0 -6
- package/build/storage/migration/error/StorageUpdateError.js +0 -11
- package/build/storage/migration/error/StorageUpdateError.js.map +0 -1
- package/build/storage/migration/index.d.ts +0 -6
- package/build/storage/migration/index.js +0 -22
- package/build/storage/migration/index.js.map +0 -1
- package/build/storage/migration/isUpToDate.d.ts +0 -3
- package/build/storage/migration/isUpToDate.js +0 -13
- package/build/storage/migration/isUpToDate.js.map +0 -1
- package/build/storage/migration/repository/StorageVersionRecord.d.ts +0 -14
- package/build/storage/migration/repository/StorageVersionRecord.js +0 -23
- package/build/storage/migration/repository/StorageVersionRecord.js.map +0 -1
- package/build/storage/migration/repository/StorageVersionRepository.d.ts +0 -7
- package/build/storage/migration/repository/StorageVersionRepository.js +0 -32
- package/build/storage/migration/repository/StorageVersionRepository.js.map +0 -1
- package/build/storage/migration/updates/0.1-0.2/connection.d.ts +0 -119
- package/build/storage/migration/updates/0.1-0.2/connection.js +0 -380
- package/build/storage/migration/updates/0.1-0.2/connection.js.map +0 -1
- package/build/storage/migration/updates/0.1-0.2/credential.d.ts +0 -80
- package/build/storage/migration/updates/0.1-0.2/credential.js +0 -215
- package/build/storage/migration/updates/0.1-0.2/credential.js.map +0 -1
- package/build/storage/migration/updates/0.1-0.2/index.d.ts +0 -6
- package/build/storage/migration/updates/0.1-0.2/index.js +0 -12
- package/build/storage/migration/updates/0.1-0.2/index.js.map +0 -1
- package/build/storage/migration/updates/0.1-0.2/mediation.d.ts +0 -30
- package/build/storage/migration/updates/0.1-0.2/mediation.js +0 -67
- package/build/storage/migration/updates/0.1-0.2/mediation.js.map +0 -1
- package/build/storage/migration/updates/0.2-0.3/connection.d.ts +0 -14
- package/build/storage/migration/updates/0.2-0.3/connection.js +0 -47
- package/build/storage/migration/updates/0.2-0.3/connection.js.map +0 -1
- package/build/storage/migration/updates/0.2-0.3/index.d.ts +0 -2
- package/build/storage/migration/updates/0.2-0.3/index.js +0 -10
- package/build/storage/migration/updates/0.2-0.3/index.js.map +0 -1
- package/build/storage/migration/updates/0.2-0.3/proof.d.ts +0 -42
- package/build/storage/migration/updates/0.2-0.3/proof.js +0 -131
- package/build/storage/migration/updates/0.2-0.3/proof.js.map +0 -1
- package/build/storage/migration/updates/0.3-0.3.1/did.d.ts +0 -10
- package/build/storage/migration/updates/0.3-0.3.1/did.js +0 -34
- package/build/storage/migration/updates/0.3-0.3.1/did.js.map +0 -1
- package/build/storage/migration/updates/0.3-0.3.1/index.d.ts +0 -2
- package/build/storage/migration/updates/0.3-0.3.1/index.js +0 -8
- package/build/storage/migration/updates/0.3-0.3.1/index.js.map +0 -1
- package/build/storage/migration/updates/0.3.1-0.4/cache.d.ts +0 -5
- package/build/storage/migration/updates/0.3.1-0.4/cache.js +0 -30
- package/build/storage/migration/updates/0.3.1-0.4/cache.js.map +0 -1
- package/build/storage/migration/updates/0.3.1-0.4/did.d.ts +0 -12
- package/build/storage/migration/updates/0.3.1-0.4/did.js +0 -39
- package/build/storage/migration/updates/0.3.1-0.4/did.js.map +0 -1
- package/build/storage/migration/updates/0.3.1-0.4/index.d.ts +0 -2
- package/build/storage/migration/updates/0.3.1-0.4/index.js +0 -12
- package/build/storage/migration/updates/0.3.1-0.4/index.js.map +0 -1
- package/build/storage/migration/updates/0.3.1-0.4/w3cCredentialRecord.d.ts +0 -5
- package/build/storage/migration/updates/0.3.1-0.4/w3cCredentialRecord.js +0 -21
- package/build/storage/migration/updates/0.3.1-0.4/w3cCredentialRecord.js.map +0 -1
- package/build/storage/migration/updates/0.4-0.5/credentialExchangeRecord.d.ts +0 -17
- package/build/storage/migration/updates/0.4-0.5/credentialExchangeRecord.js +0 -106
- package/build/storage/migration/updates/0.4-0.5/credentialExchangeRecord.js.map +0 -1
- package/build/storage/migration/updates/0.4-0.5/index.d.ts +0 -2
- package/build/storage/migration/updates/0.4-0.5/index.js +0 -12
- package/build/storage/migration/updates/0.4-0.5/index.js.map +0 -1
- package/build/storage/migration/updates/0.4-0.5/proofExchangeRecord.d.ts +0 -17
- package/build/storage/migration/updates/0.4-0.5/proofExchangeRecord.js +0 -87
- package/build/storage/migration/updates/0.4-0.5/proofExchangeRecord.js.map +0 -1
- package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.d.ts +0 -25
- package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.js +0 -65
- package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.js.map +0 -1
- package/build/storage/migration/updates.d.ts +0 -43
- package/build/storage/migration/updates.js +0 -44
- package/build/storage/migration/updates.js.map +0 -1
- package/build/transport/HttpOutboundTransport.d.ts +0 -15
- package/build/transport/HttpOutboundTransport.js +0 -124
- package/build/transport/HttpOutboundTransport.js.map +0 -1
- package/build/transport/InboundTransport.d.ts +0 -5
- package/build/transport/InboundTransport.js +0 -3
- package/build/transport/InboundTransport.js.map +0 -1
- package/build/transport/OutboundTransport.d.ts +0 -8
- package/build/transport/OutboundTransport.js +0 -3
- package/build/transport/OutboundTransport.js.map +0 -1
- package/build/transport/TransportEventTypes.d.ts +0 -34
- package/build/transport/TransportEventTypes.js +0 -11
- package/build/transport/TransportEventTypes.js.map +0 -1
- package/build/transport/WsOutboundTransport.d.ts +0 -19
- package/build/transport/WsOutboundTransport.js +0 -139
- package/build/transport/WsOutboundTransport.js.map +0 -1
- package/build/transport/index.d.ts +0 -5
- package/build/transport/index.js +0 -22
- package/build/transport/index.js.map +0 -1
- package/build/types.d.ts +0 -128
- package/build/types.js +0 -18
- package/build/types.js.map +0 -1
- package/build/utils/HashlinkEncoder.d.ts +0 -45
- package/build/utils/HashlinkEncoder.js +0 -111
- package/build/utils/HashlinkEncoder.js.map +0 -1
- package/build/utils/JWE.d.ts +0 -2
- package/build/utils/JWE.js +0 -14
- package/build/utils/JWE.js.map +0 -1
- package/build/utils/JsonEncoder.d.ts +0 -45
- package/build/utils/JsonEncoder.js +0 -65
- package/build/utils/JsonEncoder.js.map +0 -1
- package/build/utils/JsonTransformer.d.ts +0 -16
- package/build/utils/JsonTransformer.js +0 -46
- package/build/utils/JsonTransformer.js.map +0 -1
- package/build/utils/LinkedAttachment.d.ts +0 -23
- package/build/utils/LinkedAttachment.js +0 -51
- package/build/utils/LinkedAttachment.js.map +0 -1
- package/build/utils/MessageValidator.d.ts +0 -9
- package/build/utils/MessageValidator.js +0 -33
- package/build/utils/MessageValidator.js.map +0 -1
- package/build/utils/MultiBaseEncoder.d.ts +0 -24
- package/build/utils/MultiBaseEncoder.js +0 -53
- package/build/utils/MultiBaseEncoder.js.map +0 -1
- package/build/utils/MultiHashEncoder.d.ts +0 -35
- package/build/utils/MultiHashEncoder.js +0 -70
- package/build/utils/MultiHashEncoder.js.map +0 -1
- package/build/utils/TypedArrayEncoder.d.ts +0 -60
- package/build/utils/TypedArrayEncoder.js +0 -90
- package/build/utils/TypedArrayEncoder.js.map +0 -1
- package/build/utils/VarintEncoder.d.ts +0 -6
- package/build/utils/VarintEncoder.js +0 -21
- package/build/utils/VarintEncoder.js.map +0 -1
- package/build/utils/array.d.ts +0 -5
- package/build/utils/array.js +0 -18
- package/build/utils/array.js.map +0 -1
- package/build/utils/attachment.d.ts +0 -19
- package/build/utils/attachment.js +0 -39
- package/build/utils/attachment.js.map +0 -1
- package/build/utils/base58.d.ts +0 -2
- package/build/utils/base58.js +0 -17
- package/build/utils/base58.js.map +0 -1
- package/build/utils/base64.d.ts +0 -1
- package/build/utils/base64.js +0 -7
- package/build/utils/base64.js.map +0 -1
- package/build/utils/buffer.d.ts +0 -2
- package/build/utils/buffer.js +0 -6
- package/build/utils/buffer.js.map +0 -1
- package/build/utils/deepEquality.d.ts +0 -5
- package/build/utils/deepEquality.js +0 -57
- package/build/utils/deepEquality.js.map +0 -1
- package/build/utils/did.d.ts +0 -9
- package/build/utils/did.js +0 -21
- package/build/utils/did.js.map +0 -1
- package/build/utils/domain.d.ts +0 -1
- package/build/utils/domain.js +0 -12
- package/build/utils/domain.js.map +0 -1
- package/build/utils/error.d.ts +0 -1
- package/build/utils/error.js +0 -6
- package/build/utils/error.js.map +0 -1
- package/build/utils/fetch.d.ts +0 -7
- package/build/utils/fetch.js +0 -17
- package/build/utils/fetch.js.map +0 -1
- package/build/utils/index.d.ts +0 -17
- package/build/utils/index.js +0 -36
- package/build/utils/index.js.map +0 -1
- package/build/utils/messageType.d.ts +0 -138
- package/build/utils/messageType.js +0 -179
- package/build/utils/messageType.js.map +0 -1
- package/build/utils/mixins.d.ts +0 -17
- package/build/utils/mixins.js +0 -20
- package/build/utils/mixins.js.map +0 -1
- package/build/utils/objectEquality.d.ts +0 -1
- package/build/utils/objectEquality.js +0 -27
- package/build/utils/objectEquality.js.map +0 -1
- package/build/utils/parseInvitation.d.ts +0 -30
- package/build/utils/parseInvitation.js +0 -174
- package/build/utils/parseInvitation.js.map +0 -1
- package/build/utils/path.d.ts +0 -14
- package/build/utils/path.js +0 -38
- package/build/utils/path.js.map +0 -1
- package/build/utils/promises.d.ts +0 -11
- package/build/utils/promises.js +0 -26
- package/build/utils/promises.js.map +0 -1
- package/build/utils/sleep.d.ts +0 -1
- package/build/utils/sleep.js +0 -7
- package/build/utils/sleep.js.map +0 -1
- package/build/utils/thread.d.ts +0 -2
- package/build/utils/thread.js +0 -8
- package/build/utils/thread.js.map +0 -1
- package/build/utils/timestamp.d.ts +0 -5
- package/build/utils/timestamp.js +0 -23
- package/build/utils/timestamp.js.map +0 -1
- package/build/utils/transformers.d.ts +0 -15
- package/build/utils/transformers.js +0 -85
- package/build/utils/transformers.js.map +0 -1
- package/build/utils/type.d.ts +0 -4
- package/build/utils/type.js +0 -8
- package/build/utils/type.js.map +0 -1
- package/build/utils/uri.d.ts +0 -1
- package/build/utils/uri.js +0 -8
- package/build/utils/uri.js.map +0 -1
- package/build/utils/uuid.d.ts +0 -2
- package/build/utils/uuid.js +0 -12
- package/build/utils/uuid.js.map +0 -1
- package/build/utils/validators.d.ts +0 -20
- package/build/utils/validators.js +0 -71
- package/build/utils/validators.js.map +0 -1
- package/build/utils/version.d.ts +0 -8
- package/build/utils/version.js +0 -18
- package/build/utils/version.js.map +0 -1
- package/build/wallet/Wallet.d.ts +0 -98
- package/build/wallet/Wallet.js +0 -3
- package/build/wallet/Wallet.js.map +0 -1
- package/build/wallet/WalletApi.d.ts +0 -40
- package/build/wallet/WalletApi.js +0 -118
- package/build/wallet/WalletApi.js.map +0 -1
- package/build/wallet/WalletModule.d.ts +0 -9
- package/build/wallet/WalletModule.js +0 -19
- package/build/wallet/WalletModule.js.map +0 -1
- package/build/wallet/error/WalletDuplicateError.d.ts +0 -7
- package/build/wallet/error/WalletDuplicateError.js +0 -11
- package/build/wallet/error/WalletDuplicateError.js.map +0 -1
- package/build/wallet/error/WalletError.d.ts +0 -6
- package/build/wallet/error/WalletError.js +0 -11
- package/build/wallet/error/WalletError.js.map +0 -1
- package/build/wallet/error/WalletExportPathExistsError.d.ts +0 -6
- package/build/wallet/error/WalletExportPathExistsError.js +0 -11
- package/build/wallet/error/WalletExportPathExistsError.js.map +0 -1
- package/build/wallet/error/WalletExportUnsupportedError.d.ts +0 -6
- package/build/wallet/error/WalletExportUnsupportedError.js +0 -11
- package/build/wallet/error/WalletExportUnsupportedError.js.map +0 -1
- package/build/wallet/error/WalletImportPathExistsError.d.ts +0 -6
- package/build/wallet/error/WalletImportPathExistsError.js +0 -11
- package/build/wallet/error/WalletImportPathExistsError.js.map +0 -1
- package/build/wallet/error/WalletInvalidKeyError.d.ts +0 -7
- package/build/wallet/error/WalletInvalidKeyError.js +0 -11
- package/build/wallet/error/WalletInvalidKeyError.js.map +0 -1
- package/build/wallet/error/WalletKeyExistsError.d.ts +0 -6
- package/build/wallet/error/WalletKeyExistsError.js +0 -11
- package/build/wallet/error/WalletKeyExistsError.js.map +0 -1
- package/build/wallet/error/WalletNotFoundError.d.ts +0 -7
- package/build/wallet/error/WalletNotFoundError.js +0 -11
- package/build/wallet/error/WalletNotFoundError.js.map +0 -1
- package/build/wallet/error/index.d.ts +0 -8
- package/build/wallet/error/index.js +0 -20
- package/build/wallet/error/index.js.map +0 -1
- package/build/wallet/index.d.ts +0 -3
- package/build/wallet/index.js +0 -20
- package/build/wallet/index.js.map +0 -1
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { CredoError } from "../../../error/CredoError.mjs";
|
|
4
|
+
import "../../../error/index.mjs";
|
|
5
|
+
import { injectable } from "../../../plugins/index.mjs";
|
|
6
|
+
import { __decorateMetadata } from "../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs";
|
|
7
|
+
import { __decorate } from "../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs";
|
|
8
|
+
import { asArray } from "../../../utils/array.mjs";
|
|
9
|
+
import { isDid } from "../../../utils/did.mjs";
|
|
10
|
+
import { MessageValidator } from "../../../utils/MessageValidator.mjs";
|
|
11
|
+
import "../../../utils/index.mjs";
|
|
12
|
+
import { PublicJwk } from "../../kms/jwk/PublicJwk.mjs";
|
|
13
|
+
import "../../kms/index.mjs";
|
|
14
|
+
import { JwsService } from "../../../crypto/JwsService.mjs";
|
|
15
|
+
import { parseDid } from "../../dids/domain/parse.mjs";
|
|
16
|
+
import { getPublicJwkFromVerificationMethod, getSupportedVerificationMethodTypesForPublicJwk } from "../../dids/domain/key-type/keyDidMapping.mjs";
|
|
17
|
+
import { DidResolverService } from "../../dids/services/DidResolverService.mjs";
|
|
18
|
+
import { DidsApi } from "../../dids/DidsApi.mjs";
|
|
19
|
+
import "../../dids/index.mjs";
|
|
20
|
+
import { W3cJsonLdVerifiableCredential } from "../data-integrity/models/W3cJsonLdVerifiableCredential.mjs";
|
|
21
|
+
import { getJwtPayloadFromCredential } from "./credentialTransformer.mjs";
|
|
22
|
+
import { W3cJwtVerifiableCredential } from "./W3cJwtVerifiableCredential.mjs";
|
|
23
|
+
import { getJwtPayloadFromPresentation } from "./presentationTransformer.mjs";
|
|
24
|
+
import { W3cJwtVerifiablePresentation } from "./W3cJwtVerifiablePresentation.mjs";
|
|
25
|
+
import "../data-integrity/index.mjs";
|
|
26
|
+
|
|
27
|
+
//#region src/modules/vc/jwt-vc/W3cJwtCredentialService.ts
|
|
28
|
+
var _ref;
|
|
29
|
+
let W3cJwtCredentialService = class W3cJwtCredentialService$1 {
|
|
30
|
+
constructor(jwsService) {
|
|
31
|
+
this.jwsService = jwsService;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Signs a credential
|
|
35
|
+
*/
|
|
36
|
+
async signCredential(agentContext, options) {
|
|
37
|
+
MessageValidator.validateSync(options.credential);
|
|
38
|
+
const jwtPayload = getJwtPayloadFromCredential(options.credential);
|
|
39
|
+
if (!isDid(options.verificationMethod)) throw new CredoError("Only did identifiers are supported as verification method");
|
|
40
|
+
const publicJwk = await this.resolveVerificationMethod(agentContext, options.verificationMethod, ["assertionMethod"]);
|
|
41
|
+
const jwt = await this.jwsService.createJwsCompact(agentContext, {
|
|
42
|
+
payload: jwtPayload,
|
|
43
|
+
keyId: publicJwk.keyId,
|
|
44
|
+
protectedHeaderOptions: {
|
|
45
|
+
typ: "JWT",
|
|
46
|
+
alg: options.alg,
|
|
47
|
+
kid: options.verificationMethod
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
return W3cJwtVerifiableCredential.fromSerializedJwt(jwt);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Verifies the signature(s) of a credential
|
|
54
|
+
*
|
|
55
|
+
* @param credential the credential to be verified
|
|
56
|
+
* @returns the verification result
|
|
57
|
+
*/
|
|
58
|
+
async verifyCredential(agentContext, options) {
|
|
59
|
+
const verifyCredentialStatus = options.verifyCredentialStatus ?? true;
|
|
60
|
+
const validationResults = {
|
|
61
|
+
isValid: false,
|
|
62
|
+
validations: {}
|
|
63
|
+
};
|
|
64
|
+
try {
|
|
65
|
+
let credential;
|
|
66
|
+
try {
|
|
67
|
+
if (options.credential instanceof W3cJwtVerifiableCredential) MessageValidator.validateSync(options.credential.credential);
|
|
68
|
+
credential = options.credential instanceof W3cJwtVerifiableCredential ? options.credential : W3cJwtVerifiableCredential.fromSerializedJwt(options.credential);
|
|
69
|
+
credential.jwt.payload.validate();
|
|
70
|
+
validationResults.validations.dataModel = { isValid: true };
|
|
71
|
+
} catch (error) {
|
|
72
|
+
validationResults.validations.dataModel = {
|
|
73
|
+
isValid: false,
|
|
74
|
+
error
|
|
75
|
+
};
|
|
76
|
+
return validationResults;
|
|
77
|
+
}
|
|
78
|
+
const issuerVerificationMethod = await this.getVerificationMethodForJwtCredential(agentContext, {
|
|
79
|
+
credential,
|
|
80
|
+
purpose: ["assertionMethod"]
|
|
81
|
+
});
|
|
82
|
+
const issuerPublicKey = getPublicJwkFromVerificationMethod(issuerVerificationMethod);
|
|
83
|
+
let signatureResult;
|
|
84
|
+
try {
|
|
85
|
+
signatureResult = await this.jwsService.verifyJws(agentContext, {
|
|
86
|
+
jws: credential.jwt.serializedJwt,
|
|
87
|
+
jwsSigner: {
|
|
88
|
+
method: "did",
|
|
89
|
+
jwk: issuerPublicKey,
|
|
90
|
+
didUrl: issuerVerificationMethod.id
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
if (!signatureResult.isValid) validationResults.validations.signature = {
|
|
94
|
+
isValid: false,
|
|
95
|
+
error: new CredoError("Invalid JWS signature")
|
|
96
|
+
};
|
|
97
|
+
else validationResults.validations.signature = { isValid: true };
|
|
98
|
+
} catch (error) {
|
|
99
|
+
validationResults.validations.signature = {
|
|
100
|
+
isValid: false,
|
|
101
|
+
error
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
if (credential.issuerId !== issuerVerificationMethod.controller) validationResults.validations.issuerIsSigner = {
|
|
105
|
+
isValid: false,
|
|
106
|
+
error: new CredoError(`Credential is signed using verification method ${issuerVerificationMethod.id}, while the issuer of the credential is '${credential.issuerId}'`)
|
|
107
|
+
};
|
|
108
|
+
else validationResults.validations.issuerIsSigner = { isValid: true };
|
|
109
|
+
if (!signatureResult?.jwsSigners.some((jwsSigner) => jwsSigner.jwk.fingerprint === issuerPublicKey.fingerprint)) validationResults.validations.issuerIsSigner = {
|
|
110
|
+
isValid: false,
|
|
111
|
+
error: new CredoError("Credential is not signed by the issuer of the credential")
|
|
112
|
+
};
|
|
113
|
+
else validationResults.validations.issuerIsSigner = { isValid: true };
|
|
114
|
+
if (verifyCredentialStatus && !credential.credentialStatus) validationResults.validations.credentialStatus = { isValid: true };
|
|
115
|
+
else if (verifyCredentialStatus && credential.credentialStatus) validationResults.validations.credentialStatus = {
|
|
116
|
+
isValid: false,
|
|
117
|
+
error: new CredoError("Verifying credential status is not supported for JWT VCs")
|
|
118
|
+
};
|
|
119
|
+
validationResults.isValid = Object.values(validationResults.validations).every((v) => v.isValid);
|
|
120
|
+
return validationResults;
|
|
121
|
+
} catch (error) {
|
|
122
|
+
validationResults.error = error;
|
|
123
|
+
return validationResults;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Signs a presentation including the credentials it includes
|
|
128
|
+
*
|
|
129
|
+
* @param presentation the presentation to be signed
|
|
130
|
+
* @returns the signed presentation
|
|
131
|
+
*/
|
|
132
|
+
async signPresentation(agentContext, options) {
|
|
133
|
+
MessageValidator.validateSync(options.presentation);
|
|
134
|
+
const jwtPayload = getJwtPayloadFromPresentation(options.presentation);
|
|
135
|
+
jwtPayload.additionalClaims.nonce = options.challenge;
|
|
136
|
+
jwtPayload.aud = options.domain;
|
|
137
|
+
const publicJwk = await this.resolveVerificationMethod(agentContext, options.verificationMethod, ["authentication"]);
|
|
138
|
+
const jwt = await this.jwsService.createJwsCompact(agentContext, {
|
|
139
|
+
payload: jwtPayload,
|
|
140
|
+
keyId: publicJwk.keyId,
|
|
141
|
+
protectedHeaderOptions: {
|
|
142
|
+
typ: "JWT",
|
|
143
|
+
alg: options.alg,
|
|
144
|
+
kid: options.verificationMethod
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
return W3cJwtVerifiablePresentation.fromSerializedJwt(jwt);
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Verifies a presentation including the credentials it includes
|
|
151
|
+
*
|
|
152
|
+
* @param presentation the presentation to be verified
|
|
153
|
+
* @returns the verification result
|
|
154
|
+
*/
|
|
155
|
+
async verifyPresentation(agentContext, options) {
|
|
156
|
+
const validationResults = {
|
|
157
|
+
isValid: false,
|
|
158
|
+
validations: {}
|
|
159
|
+
};
|
|
160
|
+
try {
|
|
161
|
+
let presentation;
|
|
162
|
+
try {
|
|
163
|
+
if (options.presentation instanceof W3cJwtVerifiablePresentation) MessageValidator.validateSync(options.presentation.presentation);
|
|
164
|
+
presentation = options.presentation instanceof W3cJwtVerifiablePresentation ? options.presentation : W3cJwtVerifiablePresentation.fromSerializedJwt(options.presentation);
|
|
165
|
+
presentation.jwt.payload.validate();
|
|
166
|
+
if (options.challenge !== presentation.jwt.payload.additionalClaims.nonce) throw new CredoError(`JWT payload 'nonce' does not match challenge '${options.challenge}'`);
|
|
167
|
+
const audArray = asArray(presentation.jwt.payload.aud);
|
|
168
|
+
if (options.domain && !audArray.includes(options.domain)) throw new CredoError(`JWT payload 'aud' does not include domain '${options.domain}'`);
|
|
169
|
+
validationResults.validations.dataModel = { isValid: true };
|
|
170
|
+
} catch (error) {
|
|
171
|
+
validationResults.validations.dataModel = {
|
|
172
|
+
isValid: false,
|
|
173
|
+
error
|
|
174
|
+
};
|
|
175
|
+
return validationResults;
|
|
176
|
+
}
|
|
177
|
+
const proverVerificationMethod = await this.getVerificationMethodForJwtCredential(agentContext, {
|
|
178
|
+
credential: presentation,
|
|
179
|
+
purpose: ["authentication"]
|
|
180
|
+
});
|
|
181
|
+
const proverPublicKey = getPublicJwkFromVerificationMethod(proverVerificationMethod);
|
|
182
|
+
let signatureResult;
|
|
183
|
+
try {
|
|
184
|
+
signatureResult = await this.jwsService.verifyJws(agentContext, {
|
|
185
|
+
jws: presentation.jwt.serializedJwt,
|
|
186
|
+
allowedJwsSignerMethods: ["did"],
|
|
187
|
+
jwsSigner: {
|
|
188
|
+
method: "did",
|
|
189
|
+
didUrl: proverVerificationMethod.id,
|
|
190
|
+
jwk: proverPublicKey
|
|
191
|
+
},
|
|
192
|
+
trustedCertificates: []
|
|
193
|
+
});
|
|
194
|
+
if (!signatureResult.isValid) validationResults.validations.presentationSignature = {
|
|
195
|
+
isValid: false,
|
|
196
|
+
error: new CredoError("Invalid JWS signature on presentation")
|
|
197
|
+
};
|
|
198
|
+
else validationResults.validations.presentationSignature = { isValid: true };
|
|
199
|
+
} catch (error) {
|
|
200
|
+
validationResults.validations.presentationSignature = {
|
|
201
|
+
isValid: false,
|
|
202
|
+
error
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
if (presentation.holderId && proverVerificationMethod.controller !== presentation.holderId) validationResults.validations.holderIsSigner = {
|
|
206
|
+
isValid: false,
|
|
207
|
+
error: new CredoError(`Presentation is signed using verification method ${proverVerificationMethod.id}, while the holder of the presentation is '${presentation.holderId}'`)
|
|
208
|
+
};
|
|
209
|
+
else validationResults.validations.holderIsSigner = { isValid: true };
|
|
210
|
+
const credentials = asArray(presentation.presentation.verifiableCredential);
|
|
211
|
+
validationResults.validations.credentials = await Promise.all(credentials.map(async (credential) => {
|
|
212
|
+
if (credential instanceof W3cJsonLdVerifiableCredential) return {
|
|
213
|
+
isValid: false,
|
|
214
|
+
error: new CredoError("Credential is of format ldp_vc. presentations in jwt_vp format can only contain credentials in jwt_vc format"),
|
|
215
|
+
validations: {}
|
|
216
|
+
};
|
|
217
|
+
const credentialResult = await this.verifyCredential(agentContext, {
|
|
218
|
+
credential,
|
|
219
|
+
verifyCredentialStatus: options.verifyCredentialStatus
|
|
220
|
+
});
|
|
221
|
+
let credentialSubjectAuthentication;
|
|
222
|
+
const credentialSubjectIds = credential.credentialSubjectIds;
|
|
223
|
+
const presentationAuthenticatesCredentialSubject = credentialSubjectIds.some((subjectId) => proverVerificationMethod.controller === subjectId);
|
|
224
|
+
if (credentialSubjectIds.length > 0 && !presentationAuthenticatesCredentialSubject) credentialSubjectAuthentication = {
|
|
225
|
+
isValid: false,
|
|
226
|
+
error: new CredoError("Credential has one or more credentialSubject ids, but presentation does not authenticate credential subject")
|
|
227
|
+
};
|
|
228
|
+
else credentialSubjectAuthentication = { isValid: true };
|
|
229
|
+
return {
|
|
230
|
+
...credentialResult,
|
|
231
|
+
isValid: credentialResult.isValid && credentialSubjectAuthentication.isValid,
|
|
232
|
+
validations: {
|
|
233
|
+
...credentialResult.validations,
|
|
234
|
+
credentialSubjectAuthentication
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
}));
|
|
238
|
+
validationResults.isValid = Object.values(validationResults.validations).every((v) => Array.isArray(v) ? v.every((vv) => vv.isValid) : v.isValid);
|
|
239
|
+
return validationResults;
|
|
240
|
+
} catch (error) {
|
|
241
|
+
validationResults.error = error;
|
|
242
|
+
return validationResults;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
async resolveVerificationMethod(agentContext, verificationMethod, allowsPurposes) {
|
|
246
|
+
const dids = agentContext.resolve(DidsApi);
|
|
247
|
+
const parsedDid = parseDid(verificationMethod);
|
|
248
|
+
const { didDocument, keys } = await dids.resolveCreatedDidDocumentWithKeys(parsedDid.did);
|
|
249
|
+
const verificationMethodObject = didDocument.dereferenceKey(verificationMethod, allowsPurposes);
|
|
250
|
+
const publicJwk = getPublicJwkFromVerificationMethod(verificationMethodObject);
|
|
251
|
+
publicJwk.keyId = keys?.find(({ didDocumentRelativeKeyId }) => verificationMethodObject.id.endsWith(didDocumentRelativeKeyId))?.kmsKeyId ?? publicJwk.legacyKeyId;
|
|
252
|
+
return publicJwk;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* This method tries to find the verification method associated with the JWT credential or presentation.
|
|
256
|
+
* This verification method can then be used to verify the credential or presentation signature.
|
|
257
|
+
*
|
|
258
|
+
* The following methods are used to extract the verification method:
|
|
259
|
+
* - verification method is resolved based on the `kid` in the protected header
|
|
260
|
+
* - either as absolute reference (e.g. `did:example:123#key-1`)
|
|
261
|
+
* - or as relative reference to the `iss` of the JWT (e.g. `iss` is `did:example:123` and `kid` is `#key-1`)
|
|
262
|
+
* - the did document is resolved based on the `iss` field, after which the verification method is extracted based on the `alg`
|
|
263
|
+
* used to sign the JWT and the specified `purpose`. Only a single verification method may be present, and in all other cases,
|
|
264
|
+
* an error is thrown.
|
|
265
|
+
*
|
|
266
|
+
* The signer (`iss`) of the JWT is verified against the `controller` of the verificationMethod resolved in the did
|
|
267
|
+
* document. This means if the `iss` of a credential is `did:example:123` and the controller of the verificationMethod
|
|
268
|
+
* is `did:example:456`, an error is thrown to prevent the JWT from successfully being verified.
|
|
269
|
+
*
|
|
270
|
+
* In addition the JWT must conform to one of the following rules:
|
|
271
|
+
* - MUST be a credential and have an `iss` field and MAY have an absolute or relative `kid`
|
|
272
|
+
* - MUST not be a credential AND ONE of the following:
|
|
273
|
+
* - have an `iss` field and MAY have an absolute or relative `kid`
|
|
274
|
+
* - does not have an `iss` field and MUST have an absolute `kid`
|
|
275
|
+
*/
|
|
276
|
+
async getVerificationMethodForJwtCredential(agentContext, options) {
|
|
277
|
+
const { credential, purpose } = options;
|
|
278
|
+
const kid = credential.jwt.header.kid;
|
|
279
|
+
const didResolver = agentContext.dependencyManager.resolve(DidResolverService);
|
|
280
|
+
const signerId = credential.jwt.payload.iss;
|
|
281
|
+
let verificationMethod;
|
|
282
|
+
if (kid?.startsWith("#")) {
|
|
283
|
+
if (!signerId) throw new CredoError(`JWT 'kid' MUST be absolute when when no 'iss' is present in JWT payload`);
|
|
284
|
+
verificationMethod = (await didResolver.resolveDidDocument(agentContext, signerId)).dereferenceKey(`${signerId}${kid}`, purpose);
|
|
285
|
+
} else if (kid && isDid(kid)) {
|
|
286
|
+
const didDocument = await didResolver.resolveDidDocument(agentContext, kid);
|
|
287
|
+
verificationMethod = didDocument.dereferenceKey(kid, purpose);
|
|
288
|
+
if (signerId && didDocument.id !== signerId) throw new CredoError(`kid '${kid}' does not match id of signer (holder/issuer) '${signerId}'`);
|
|
289
|
+
} else {
|
|
290
|
+
if (!signerId) throw new CredoError(`JWT 'iss' MUST be present in payload when no 'kid' is specified`);
|
|
291
|
+
const jwkClass = PublicJwk.supportedPublicJwkClassForSignatureAlgorithm(credential.jwt.header.alg);
|
|
292
|
+
const supportedVerificationMethodTypes = getSupportedVerificationMethodTypesForPublicJwk(jwkClass);
|
|
293
|
+
const didDocument = await didResolver.resolveDidDocument(agentContext, signerId);
|
|
294
|
+
const verificationMethods = didDocument.assertionMethod?.map((v) => typeof v === "string" ? didDocument.dereferenceVerificationMethod(v) : v).filter((v) => supportedVerificationMethodTypes.includes(v.type)) ?? [];
|
|
295
|
+
if (verificationMethods.length === 0) throw new CredoError(`No verification methods found for signer '${signerId}' and key type '${jwkClass.name}' for alg '${credential.jwt.header.alg}'. Unable to determine which public key is associated with the credential.`);
|
|
296
|
+
if (verificationMethods.length > 1) throw new CredoError(`Multiple verification methods found for signer '${signerId}' and key type '${jwkClass.name}' for alg '${credential.jwt.header.alg}'. Unable to determine which public key is associated with the credential.`);
|
|
297
|
+
verificationMethod = verificationMethods[0];
|
|
298
|
+
}
|
|
299
|
+
if (signerId && verificationMethod.controller !== signerId) throw new CredoError(`Verification method controller '${verificationMethod.controller}' does not match the signer '${signerId}'`);
|
|
300
|
+
return verificationMethod;
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
W3cJwtCredentialService = __decorate([injectable(), __decorateMetadata("design:paramtypes", [typeof (_ref = typeof JwsService !== "undefined" && JwsService) === "function" ? _ref : Object])], W3cJwtCredentialService);
|
|
304
|
+
|
|
305
|
+
//#endregion
|
|
306
|
+
export { W3cJwtCredentialService };
|
|
307
|
+
//# sourceMappingURL=W3cJwtCredentialService.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"W3cJwtCredentialService.mjs","names":["W3cJwtCredentialService","validationResults: W3cVerifyCredentialResult","credential: W3cJwtVerifiableCredential","signatureResult: VerifyJwsResult | undefined","validationResults: W3cVerifyPresentationResult","presentation: W3cJwtVerifiablePresentation","credentialSubjectAuthentication: SingleValidationResult","verificationMethod: VerificationMethod"],"sources":["../../../../src/modules/vc/jwt-vc/W3cJwtCredentialService.ts"],"sourcesContent":["import type { AgentContext } from '../../../agent/context'\nimport type { VerifyJwsResult } from '../../../crypto/JwsService'\nimport { JwsService } from '../../../crypto/JwsService'\nimport { CredoError } from '../../../error'\nimport { injectable } from '../../../plugins'\nimport { asArray, isDid, MessageValidator } from '../../../utils'\nimport type { DidPurpose, VerificationMethod } from '../../dids'\nimport { DidResolverService, DidsApi, parseDid } from '../../dids'\nimport {\n getPublicJwkFromVerificationMethod,\n getSupportedVerificationMethodTypesForPublicJwk,\n} from '../../dids/domain/key-type/keyDidMapping'\nimport { type KnownJwaSignatureAlgorithm, PublicJwk } from '../../kms'\nimport { W3cJsonLdVerifiableCredential } from '../data-integrity'\nimport type { SingleValidationResult, W3cVerifyCredentialResult, W3cVerifyPresentationResult } from '../models'\nimport type {\n W3cJwtSignCredentialOptions,\n W3cJwtSignPresentationOptions,\n W3cJwtVerifyCredentialOptions,\n W3cJwtVerifyPresentationOptions,\n} from '../W3cCredentialServiceOptions'\nimport { getJwtPayloadFromCredential } from './credentialTransformer'\nimport { getJwtPayloadFromPresentation } from './presentationTransformer'\nimport { W3cJwtVerifiableCredential } from './W3cJwtVerifiableCredential'\nimport { W3cJwtVerifiablePresentation } from './W3cJwtVerifiablePresentation'\n\n/**\n * Supports signing and verification of credentials according to the [Verifiable Credential Data Model](https://www.w3.org/TR/vc-data-model)\n * using [Json Web Tokens](https://www.w3.org/TR/vc-data-model/#json-web-token).\n */\n@injectable()\nexport class W3cJwtCredentialService {\n private jwsService: JwsService\n\n public constructor(jwsService: JwsService) {\n this.jwsService = jwsService\n }\n\n /**\n * Signs a credential\n */\n public async signCredential(\n agentContext: AgentContext,\n options: W3cJwtSignCredentialOptions\n ): Promise<W3cJwtVerifiableCredential> {\n // Validate the instance\n MessageValidator.validateSync(options.credential)\n\n // Get the JWT payload for the JWT based on the JWT Encoding rules form the VC-DATA-MODEL\n // https://www.w3.org/TR/vc-data-model/#jwt-encoding\n const jwtPayload = getJwtPayloadFromCredential(options.credential)\n\n if (!isDid(options.verificationMethod)) {\n throw new CredoError('Only did identifiers are supported as verification method')\n }\n\n const publicJwk = await this.resolveVerificationMethod(agentContext, options.verificationMethod, [\n 'assertionMethod',\n ])\n\n const jwt = await this.jwsService.createJwsCompact(agentContext, {\n payload: jwtPayload,\n keyId: publicJwk.keyId,\n protectedHeaderOptions: {\n typ: 'JWT',\n alg: options.alg,\n kid: options.verificationMethod,\n },\n })\n\n // TODO: this re-parses and validates the credential in the JWT, which is not necessary.\n // We should somehow create an instance of W3cJwtVerifiableCredential directly from the JWT\n const jwtVc = W3cJwtVerifiableCredential.fromSerializedJwt(jwt)\n\n return jwtVc\n }\n\n /**\n * Verifies the signature(s) of a credential\n *\n * @param credential the credential to be verified\n * @returns the verification result\n */\n public async verifyCredential(\n agentContext: AgentContext,\n options: W3cJwtVerifyCredentialOptions\n ): Promise<W3cVerifyCredentialResult> {\n // NOTE: this is mostly from the JSON-LD service that adds this option. Once we support\n // the same granular validation results, we can remove this and the user could just check\n // which of the validations failed. Supporting for consistency with the JSON-LD service for now.\n const verifyCredentialStatus = options.verifyCredentialStatus ?? true\n\n const validationResults: W3cVerifyCredentialResult = {\n isValid: false,\n validations: {},\n }\n\n try {\n let credential: W3cJwtVerifiableCredential\n try {\n // If instance is provided as input, we want to validate the credential (otherwise it's done in the fromSerializedJwt method below)\n if (options.credential instanceof W3cJwtVerifiableCredential) {\n MessageValidator.validateSync(options.credential.credential)\n }\n\n credential =\n options.credential instanceof W3cJwtVerifiableCredential\n ? options.credential\n : W3cJwtVerifiableCredential.fromSerializedJwt(options.credential)\n\n // Verify the JWT payload (verifies whether it's not expired, etc...)\n credential.jwt.payload.validate()\n\n validationResults.validations.dataModel = {\n isValid: true,\n }\n } catch (error) {\n validationResults.validations.dataModel = {\n isValid: false,\n error,\n }\n\n return validationResults\n }\n\n const issuerVerificationMethod = await this.getVerificationMethodForJwtCredential(agentContext, {\n credential,\n purpose: ['assertionMethod'],\n })\n const issuerPublicKey = getPublicJwkFromVerificationMethod(issuerVerificationMethod)\n\n let signatureResult: VerifyJwsResult | undefined\n try {\n // Verify the JWS signature\n signatureResult = await this.jwsService.verifyJws(agentContext, {\n jws: credential.jwt.serializedJwt,\n // We have pre-fetched the key based on the issuer/signer of the credential\n jwsSigner: {\n method: 'did',\n jwk: issuerPublicKey,\n didUrl: issuerVerificationMethod.id,\n },\n })\n\n if (!signatureResult.isValid) {\n validationResults.validations.signature = {\n isValid: false,\n error: new CredoError('Invalid JWS signature'),\n }\n } else {\n validationResults.validations.signature = {\n isValid: true,\n }\n }\n } catch (error) {\n validationResults.validations.signature = {\n isValid: false,\n error,\n }\n }\n\n // Validate whether the credential is signed with the 'issuer' id\n // NOTE: this uses the verificationMethod.controller. We may want to use the verificationMethod.id?\n if (credential.issuerId !== issuerVerificationMethod.controller) {\n validationResults.validations.issuerIsSigner = {\n isValid: false,\n error: new CredoError(\n `Credential is signed using verification method ${issuerVerificationMethod.id}, while the issuer of the credential is '${credential.issuerId}'`\n ),\n }\n } else {\n validationResults.validations.issuerIsSigner = {\n isValid: true,\n }\n }\n\n // Validate whether the `issuer` of the credential is also the signer\n const issuerIsSigner = signatureResult?.jwsSigners.some(\n (jwsSigner) => jwsSigner.jwk.fingerprint === issuerPublicKey.fingerprint\n )\n if (!issuerIsSigner) {\n validationResults.validations.issuerIsSigner = {\n isValid: false,\n error: new CredoError('Credential is not signed by the issuer of the credential'),\n }\n } else {\n validationResults.validations.issuerIsSigner = {\n isValid: true,\n }\n }\n\n // Validate credentialStatus\n if (verifyCredentialStatus && !credential.credentialStatus) {\n validationResults.validations.credentialStatus = {\n isValid: true,\n }\n } else if (verifyCredentialStatus && credential.credentialStatus) {\n validationResults.validations.credentialStatus = {\n isValid: false,\n error: new CredoError('Verifying credential status is not supported for JWT VCs'),\n }\n }\n\n validationResults.isValid = Object.values(validationResults.validations).every((v) => v.isValid)\n\n return validationResults\n } catch (error) {\n validationResults.error = error\n return validationResults\n }\n }\n\n /**\n * Signs a presentation including the credentials it includes\n *\n * @param presentation the presentation to be signed\n * @returns the signed presentation\n */\n public async signPresentation(\n agentContext: AgentContext,\n options: W3cJwtSignPresentationOptions\n ): Promise<W3cJwtVerifiablePresentation> {\n // Validate the instance\n MessageValidator.validateSync(options.presentation)\n\n // Get the JWT payload for the JWT based on the JWT Encoding rules form the VC-DATA-MODEL\n // https://www.w3.org/TR/vc-data-model/#jwt-encoding\n const jwtPayload = getJwtPayloadFromPresentation(options.presentation)\n\n // Set the nonce so it's included in the signature\n jwtPayload.additionalClaims.nonce = options.challenge\n jwtPayload.aud = options.domain\n\n const publicJwk = await this.resolveVerificationMethod(agentContext, options.verificationMethod, ['authentication'])\n\n const jwt = await this.jwsService.createJwsCompact(agentContext, {\n payload: jwtPayload,\n keyId: publicJwk.keyId,\n protectedHeaderOptions: {\n typ: 'JWT',\n alg: options.alg,\n kid: options.verificationMethod,\n },\n })\n\n // TODO: this re-parses and validates the presentation in the JWT, which is not necessary.\n // We should somehow create an instance of W3cJwtVerifiablePresentation directly from the JWT\n const jwtVp = W3cJwtVerifiablePresentation.fromSerializedJwt(jwt)\n\n return jwtVp\n }\n\n /**\n * Verifies a presentation including the credentials it includes\n *\n * @param presentation the presentation to be verified\n * @returns the verification result\n */\n public async verifyPresentation(\n agentContext: AgentContext,\n options: W3cJwtVerifyPresentationOptions\n ): Promise<W3cVerifyPresentationResult> {\n const validationResults: W3cVerifyPresentationResult = {\n isValid: false,\n validations: {},\n }\n\n try {\n let presentation: W3cJwtVerifiablePresentation\n try {\n // If instance is provided as input, we want to validate the presentation\n if (options.presentation instanceof W3cJwtVerifiablePresentation) {\n MessageValidator.validateSync(options.presentation.presentation)\n }\n\n presentation =\n options.presentation instanceof W3cJwtVerifiablePresentation\n ? options.presentation\n : W3cJwtVerifiablePresentation.fromSerializedJwt(options.presentation)\n\n // Verify the JWT payload (verifies whether it's not expired, etc...)\n presentation.jwt.payload.validate()\n\n // Make sure challenge matches nonce\n if (options.challenge !== presentation.jwt.payload.additionalClaims.nonce) {\n throw new CredoError(`JWT payload 'nonce' does not match challenge '${options.challenge}'`)\n }\n\n const audArray = asArray(presentation.jwt.payload.aud)\n if (options.domain && !audArray.includes(options.domain)) {\n throw new CredoError(`JWT payload 'aud' does not include domain '${options.domain}'`)\n }\n\n validationResults.validations.dataModel = {\n isValid: true,\n }\n } catch (error) {\n validationResults.validations.dataModel = {\n isValid: false,\n error,\n }\n\n return validationResults\n }\n\n const proverVerificationMethod = await this.getVerificationMethodForJwtCredential(agentContext, {\n credential: presentation,\n purpose: ['authentication'],\n })\n const proverPublicKey = getPublicJwkFromVerificationMethod(proverVerificationMethod)\n\n let signatureResult: VerifyJwsResult | undefined\n try {\n // Verify the JWS signature\n signatureResult = await this.jwsService.verifyJws(agentContext, {\n jws: presentation.jwt.serializedJwt,\n allowedJwsSignerMethods: ['did'],\n jwsSigner: {\n method: 'did',\n didUrl: proverVerificationMethod.id,\n jwk: proverPublicKey,\n },\n trustedCertificates: [],\n })\n\n if (!signatureResult.isValid) {\n validationResults.validations.presentationSignature = {\n isValid: false,\n error: new CredoError('Invalid JWS signature on presentation'),\n }\n } else {\n validationResults.validations.presentationSignature = {\n isValid: true,\n }\n }\n } catch (error) {\n validationResults.validations.presentationSignature = {\n isValid: false,\n error,\n }\n }\n\n // Validate whether the presentation is signed with the 'holder' id\n // NOTE: this uses the verificationMethod.controller. We may want to use the verificationMethod.id?\n if (presentation.holderId && proverVerificationMethod.controller !== presentation.holderId) {\n validationResults.validations.holderIsSigner = {\n isValid: false,\n error: new CredoError(\n `Presentation is signed using verification method ${proverVerificationMethod.id}, while the holder of the presentation is '${presentation.holderId}'`\n ),\n }\n } else {\n // If no holderId is present, this validation passes by default as there can't be\n // a mismatch between the 'holder' property and the signer of the presentation.\n validationResults.validations.holderIsSigner = {\n isValid: true,\n }\n }\n\n // To keep things simple, we only support JWT VCs in JWT VPs for now\n const credentials = asArray(presentation.presentation.verifiableCredential)\n\n // Verify all credentials in parallel, and await the result\n validationResults.validations.credentials = await Promise.all(\n credentials.map(async (credential) => {\n if (credential instanceof W3cJsonLdVerifiableCredential) {\n return {\n isValid: false,\n error: new CredoError(\n 'Credential is of format ldp_vc. presentations in jwt_vp format can only contain credentials in jwt_vc format'\n ),\n validations: {},\n }\n }\n\n const credentialResult = await this.verifyCredential(agentContext, {\n credential,\n verifyCredentialStatus: options.verifyCredentialStatus,\n })\n\n let credentialSubjectAuthentication: SingleValidationResult\n\n // Check whether any of the credentialSubjectIds for each credential is the same as the controller of the verificationMethod\n // This authenticates the presentation creator controls one of the credentialSubject ids.\n // NOTE: this doesn't take into account the case where the credentialSubject is no the holder. In the\n // future we can add support for other flows, but for now this is the most common use case.\n // TODO: should this be handled on a higher level? I don't really see it being handled in the jsonld lib\n // or in the did-jwt-vc lib (it seems they don't even verify the credentials itself), but we probably need some\n // more experience on the use cases before we loosen the restrictions (as it means we need to handle it on a higher layer).\n const credentialSubjectIds = credential.credentialSubjectIds\n const presentationAuthenticatesCredentialSubject = credentialSubjectIds.some(\n (subjectId) => proverVerificationMethod.controller === subjectId\n )\n\n if (credentialSubjectIds.length > 0 && !presentationAuthenticatesCredentialSubject) {\n credentialSubjectAuthentication = {\n isValid: false,\n error: new CredoError(\n 'Credential has one or more credentialSubject ids, but presentation does not authenticate credential subject'\n ),\n }\n } else {\n credentialSubjectAuthentication = {\n isValid: true,\n }\n }\n\n return {\n ...credentialResult,\n isValid: credentialResult.isValid && credentialSubjectAuthentication.isValid,\n validations: {\n ...credentialResult.validations,\n credentialSubjectAuthentication,\n },\n }\n })\n )\n\n // Deeply nested check whether all validations have passed\n validationResults.isValid = Object.values(validationResults.validations).every((v) =>\n Array.isArray(v) ? v.every((vv) => vv.isValid) : v.isValid\n )\n\n return validationResults\n } catch (error) {\n validationResults.error = error\n return validationResults\n }\n }\n\n private async resolveVerificationMethod(\n agentContext: AgentContext,\n verificationMethod: string,\n allowsPurposes?: DidPurpose[]\n ): Promise<PublicJwk> {\n const dids = agentContext.resolve(DidsApi)\n\n const parsedDid = parseDid(verificationMethod)\n const { didDocument, keys } = await dids.resolveCreatedDidDocumentWithKeys(parsedDid.did)\n const verificationMethodObject = didDocument.dereferenceKey(verificationMethod, allowsPurposes)\n const publicJwk = getPublicJwkFromVerificationMethod(verificationMethodObject)\n\n publicJwk.keyId =\n keys?.find(({ didDocumentRelativeKeyId }) => verificationMethodObject.id.endsWith(didDocumentRelativeKeyId))\n ?.kmsKeyId ?? publicJwk.legacyKeyId\n\n return publicJwk\n }\n\n /**\n * This method tries to find the verification method associated with the JWT credential or presentation.\n * This verification method can then be used to verify the credential or presentation signature.\n *\n * The following methods are used to extract the verification method:\n * - verification method is resolved based on the `kid` in the protected header\n * - either as absolute reference (e.g. `did:example:123#key-1`)\n * - or as relative reference to the `iss` of the JWT (e.g. `iss` is `did:example:123` and `kid` is `#key-1`)\n * - the did document is resolved based on the `iss` field, after which the verification method is extracted based on the `alg`\n * used to sign the JWT and the specified `purpose`. Only a single verification method may be present, and in all other cases,\n * an error is thrown.\n *\n * The signer (`iss`) of the JWT is verified against the `controller` of the verificationMethod resolved in the did\n * document. This means if the `iss` of a credential is `did:example:123` and the controller of the verificationMethod\n * is `did:example:456`, an error is thrown to prevent the JWT from successfully being verified.\n *\n * In addition the JWT must conform to one of the following rules:\n * - MUST be a credential and have an `iss` field and MAY have an absolute or relative `kid`\n * - MUST not be a credential AND ONE of the following:\n * - have an `iss` field and MAY have an absolute or relative `kid`\n * - does not have an `iss` field and MUST have an absolute `kid`\n */\n private async getVerificationMethodForJwtCredential(\n agentContext: AgentContext,\n options: {\n credential: W3cJwtVerifiableCredential | W3cJwtVerifiablePresentation\n purpose?: DidPurpose[]\n }\n ) {\n const { credential, purpose } = options\n const kid = credential.jwt.header.kid\n\n const didResolver = agentContext.dependencyManager.resolve(DidResolverService)\n\n // The signerId is the `holder` of the presentation or the `issuer` of the credential\n // For a credential only the `iss` COULD be enough to resolve the signer key (see method comments)\n const signerId = credential.jwt.payload.iss\n\n let verificationMethod: VerificationMethod\n\n // If the kid starts with # we assume it is a relative did url, and we resolve it based on the `iss` and the `kid`\n if (kid?.startsWith('#')) {\n if (!signerId) {\n throw new CredoError(`JWT 'kid' MUST be absolute when when no 'iss' is present in JWT payload`)\n }\n\n const didDocument = await didResolver.resolveDidDocument(agentContext, signerId)\n verificationMethod = didDocument.dereferenceKey(`${signerId}${kid}`, purpose)\n }\n // this is a full did url (todo check if it contains a #)\n else if (kid && isDid(kid)) {\n const didDocument = await didResolver.resolveDidDocument(agentContext, kid)\n\n verificationMethod = didDocument.dereferenceKey(kid, purpose)\n\n if (signerId && didDocument.id !== signerId) {\n throw new CredoError(`kid '${kid}' does not match id of signer (holder/issuer) '${signerId}'`)\n }\n } else {\n if (!signerId) {\n throw new CredoError(`JWT 'iss' MUST be present in payload when no 'kid' is specified`)\n }\n\n // Find the verificationMethod in the did document based on the alg and proofPurpose\n const jwkClass = PublicJwk.supportedPublicJwkClassForSignatureAlgorithm(\n credential.jwt.header.alg as KnownJwaSignatureAlgorithm\n )\n const supportedVerificationMethodTypes = getSupportedVerificationMethodTypesForPublicJwk(jwkClass)\n\n const didDocument = await didResolver.resolveDidDocument(agentContext, signerId)\n const verificationMethods =\n didDocument.assertionMethod\n ?.map((v) => (typeof v === 'string' ? didDocument.dereferenceVerificationMethod(v) : v))\n .filter((v) => supportedVerificationMethodTypes.includes(v.type)) ?? []\n\n if (verificationMethods.length === 0) {\n throw new CredoError(\n `No verification methods found for signer '${signerId}' and key type '${jwkClass.name}' for alg '${credential.jwt.header.alg}'. Unable to determine which public key is associated with the credential.`\n )\n }\n if (verificationMethods.length > 1) {\n throw new CredoError(\n `Multiple verification methods found for signer '${signerId}' and key type '${jwkClass.name}' for alg '${credential.jwt.header.alg}'. Unable to determine which public key is associated with the credential.`\n )\n }\n\n verificationMethod = verificationMethods[0]\n }\n\n // Verify the controller of the verificationMethod matches the signer of the credential\n if (signerId && verificationMethod.controller !== signerId) {\n throw new CredoError(\n `Verification method controller '${verificationMethod.controller}' does not match the signer '${signerId}'`\n )\n }\n\n return verificationMethod\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BO,oCAAMA,0BAAwB;CAGnC,AAAO,YAAY,YAAwB;AACzC,OAAK,aAAa;;;;;CAMpB,MAAa,eACX,cACA,SACqC;AAErC,mBAAiB,aAAa,QAAQ,WAAW;EAIjD,MAAM,aAAa,4BAA4B,QAAQ,WAAW;AAElE,MAAI,CAAC,MAAM,QAAQ,mBAAmB,CACpC,OAAM,IAAI,WAAW,4DAA4D;EAGnF,MAAM,YAAY,MAAM,KAAK,0BAA0B,cAAc,QAAQ,oBAAoB,CAC/F,kBACD,CAAC;EAEF,MAAM,MAAM,MAAM,KAAK,WAAW,iBAAiB,cAAc;GAC/D,SAAS;GACT,OAAO,UAAU;GACjB,wBAAwB;IACtB,KAAK;IACL,KAAK,QAAQ;IACb,KAAK,QAAQ;IACd;GACF,CAAC;AAMF,SAFc,2BAA2B,kBAAkB,IAAI;;;;;;;;CAWjE,MAAa,iBACX,cACA,SACoC;EAIpC,MAAM,yBAAyB,QAAQ,0BAA0B;EAEjE,MAAMC,oBAA+C;GACnD,SAAS;GACT,aAAa,EAAE;GAChB;AAED,MAAI;GACF,IAAIC;AACJ,OAAI;AAEF,QAAI,QAAQ,sBAAsB,2BAChC,kBAAiB,aAAa,QAAQ,WAAW,WAAW;AAG9D,iBACE,QAAQ,sBAAsB,6BAC1B,QAAQ,aACR,2BAA2B,kBAAkB,QAAQ,WAAW;AAGtE,eAAW,IAAI,QAAQ,UAAU;AAEjC,sBAAkB,YAAY,YAAY,EACxC,SAAS,MACV;YACM,OAAO;AACd,sBAAkB,YAAY,YAAY;KACxC,SAAS;KACT;KACD;AAED,WAAO;;GAGT,MAAM,2BAA2B,MAAM,KAAK,sCAAsC,cAAc;IAC9F;IACA,SAAS,CAAC,kBAAkB;IAC7B,CAAC;GACF,MAAM,kBAAkB,mCAAmC,yBAAyB;GAEpF,IAAIC;AACJ,OAAI;AAEF,sBAAkB,MAAM,KAAK,WAAW,UAAU,cAAc;KAC9D,KAAK,WAAW,IAAI;KAEpB,WAAW;MACT,QAAQ;MACR,KAAK;MACL,QAAQ,yBAAyB;MAClC;KACF,CAAC;AAEF,QAAI,CAAC,gBAAgB,QACnB,mBAAkB,YAAY,YAAY;KACxC,SAAS;KACT,OAAO,IAAI,WAAW,wBAAwB;KAC/C;QAED,mBAAkB,YAAY,YAAY,EACxC,SAAS,MACV;YAEI,OAAO;AACd,sBAAkB,YAAY,YAAY;KACxC,SAAS;KACT;KACD;;AAKH,OAAI,WAAW,aAAa,yBAAyB,WACnD,mBAAkB,YAAY,iBAAiB;IAC7C,SAAS;IACT,OAAO,IAAI,WACT,kDAAkD,yBAAyB,GAAG,2CAA2C,WAAW,SAAS,GAC9I;IACF;OAED,mBAAkB,YAAY,iBAAiB,EAC7C,SAAS,MACV;AAOH,OAAI,CAHmB,iBAAiB,WAAW,MAChD,cAAc,UAAU,IAAI,gBAAgB,gBAAgB,YAC9D,CAEC,mBAAkB,YAAY,iBAAiB;IAC7C,SAAS;IACT,OAAO,IAAI,WAAW,2DAA2D;IAClF;OAED,mBAAkB,YAAY,iBAAiB,EAC7C,SAAS,MACV;AAIH,OAAI,0BAA0B,CAAC,WAAW,iBACxC,mBAAkB,YAAY,mBAAmB,EAC/C,SAAS,MACV;YACQ,0BAA0B,WAAW,iBAC9C,mBAAkB,YAAY,mBAAmB;IAC/C,SAAS;IACT,OAAO,IAAI,WAAW,2DAA2D;IAClF;AAGH,qBAAkB,UAAU,OAAO,OAAO,kBAAkB,YAAY,CAAC,OAAO,MAAM,EAAE,QAAQ;AAEhG,UAAO;WACA,OAAO;AACd,qBAAkB,QAAQ;AAC1B,UAAO;;;;;;;;;CAUX,MAAa,iBACX,cACA,SACuC;AAEvC,mBAAiB,aAAa,QAAQ,aAAa;EAInD,MAAM,aAAa,8BAA8B,QAAQ,aAAa;AAGtE,aAAW,iBAAiB,QAAQ,QAAQ;AAC5C,aAAW,MAAM,QAAQ;EAEzB,MAAM,YAAY,MAAM,KAAK,0BAA0B,cAAc,QAAQ,oBAAoB,CAAC,iBAAiB,CAAC;EAEpH,MAAM,MAAM,MAAM,KAAK,WAAW,iBAAiB,cAAc;GAC/D,SAAS;GACT,OAAO,UAAU;GACjB,wBAAwB;IACtB,KAAK;IACL,KAAK,QAAQ;IACb,KAAK,QAAQ;IACd;GACF,CAAC;AAMF,SAFc,6BAA6B,kBAAkB,IAAI;;;;;;;;CAWnE,MAAa,mBACX,cACA,SACsC;EACtC,MAAMC,oBAAiD;GACrD,SAAS;GACT,aAAa,EAAE;GAChB;AAED,MAAI;GACF,IAAIC;AACJ,OAAI;AAEF,QAAI,QAAQ,wBAAwB,6BAClC,kBAAiB,aAAa,QAAQ,aAAa,aAAa;AAGlE,mBACE,QAAQ,wBAAwB,+BAC5B,QAAQ,eACR,6BAA6B,kBAAkB,QAAQ,aAAa;AAG1E,iBAAa,IAAI,QAAQ,UAAU;AAGnC,QAAI,QAAQ,cAAc,aAAa,IAAI,QAAQ,iBAAiB,MAClE,OAAM,IAAI,WAAW,iDAAiD,QAAQ,UAAU,GAAG;IAG7F,MAAM,WAAW,QAAQ,aAAa,IAAI,QAAQ,IAAI;AACtD,QAAI,QAAQ,UAAU,CAAC,SAAS,SAAS,QAAQ,OAAO,CACtD,OAAM,IAAI,WAAW,8CAA8C,QAAQ,OAAO,GAAG;AAGvF,sBAAkB,YAAY,YAAY,EACxC,SAAS,MACV;YACM,OAAO;AACd,sBAAkB,YAAY,YAAY;KACxC,SAAS;KACT;KACD;AAED,WAAO;;GAGT,MAAM,2BAA2B,MAAM,KAAK,sCAAsC,cAAc;IAC9F,YAAY;IACZ,SAAS,CAAC,iBAAiB;IAC5B,CAAC;GACF,MAAM,kBAAkB,mCAAmC,yBAAyB;GAEpF,IAAIF;AACJ,OAAI;AAEF,sBAAkB,MAAM,KAAK,WAAW,UAAU,cAAc;KAC9D,KAAK,aAAa,IAAI;KACtB,yBAAyB,CAAC,MAAM;KAChC,WAAW;MACT,QAAQ;MACR,QAAQ,yBAAyB;MACjC,KAAK;MACN;KACD,qBAAqB,EAAE;KACxB,CAAC;AAEF,QAAI,CAAC,gBAAgB,QACnB,mBAAkB,YAAY,wBAAwB;KACpD,SAAS;KACT,OAAO,IAAI,WAAW,wCAAwC;KAC/D;QAED,mBAAkB,YAAY,wBAAwB,EACpD,SAAS,MACV;YAEI,OAAO;AACd,sBAAkB,YAAY,wBAAwB;KACpD,SAAS;KACT;KACD;;AAKH,OAAI,aAAa,YAAY,yBAAyB,eAAe,aAAa,SAChF,mBAAkB,YAAY,iBAAiB;IAC7C,SAAS;IACT,OAAO,IAAI,WACT,oDAAoD,yBAAyB,GAAG,6CAA6C,aAAa,SAAS,GACpJ;IACF;OAID,mBAAkB,YAAY,iBAAiB,EAC7C,SAAS,MACV;GAIH,MAAM,cAAc,QAAQ,aAAa,aAAa,qBAAqB;AAG3E,qBAAkB,YAAY,cAAc,MAAM,QAAQ,IACxD,YAAY,IAAI,OAAO,eAAe;AACpC,QAAI,sBAAsB,8BACxB,QAAO;KACL,SAAS;KACT,OAAO,IAAI,WACT,+GACD;KACD,aAAa,EAAE;KAChB;IAGH,MAAM,mBAAmB,MAAM,KAAK,iBAAiB,cAAc;KACjE;KACA,wBAAwB,QAAQ;KACjC,CAAC;IAEF,IAAIG;IASJ,MAAM,uBAAuB,WAAW;IACxC,MAAM,6CAA6C,qBAAqB,MACrE,cAAc,yBAAyB,eAAe,UACxD;AAED,QAAI,qBAAqB,SAAS,KAAK,CAAC,2CACtC,mCAAkC;KAChC,SAAS;KACT,OAAO,IAAI,WACT,8GACD;KACF;QAED,mCAAkC,EAChC,SAAS,MACV;AAGH,WAAO;KACL,GAAG;KACH,SAAS,iBAAiB,WAAW,gCAAgC;KACrE,aAAa;MACX,GAAG,iBAAiB;MACpB;MACD;KACF;KACD,CACH;AAGD,qBAAkB,UAAU,OAAO,OAAO,kBAAkB,YAAY,CAAC,OAAO,MAC9E,MAAM,QAAQ,EAAE,GAAG,EAAE,OAAO,OAAO,GAAG,QAAQ,GAAG,EAAE,QACpD;AAED,UAAO;WACA,OAAO;AACd,qBAAkB,QAAQ;AAC1B,UAAO;;;CAIX,MAAc,0BACZ,cACA,oBACA,gBACoB;EACpB,MAAM,OAAO,aAAa,QAAQ,QAAQ;EAE1C,MAAM,YAAY,SAAS,mBAAmB;EAC9C,MAAM,EAAE,aAAa,SAAS,MAAM,KAAK,kCAAkC,UAAU,IAAI;EACzF,MAAM,2BAA2B,YAAY,eAAe,oBAAoB,eAAe;EAC/F,MAAM,YAAY,mCAAmC,yBAAyB;AAE9E,YAAU,QACR,MAAM,MAAM,EAAE,+BAA+B,yBAAyB,GAAG,SAAS,yBAAyB,CAAC,EACxG,YAAY,UAAU;AAE5B,SAAO;;;;;;;;;;;;;;;;;;;;;;;;CAyBT,MAAc,sCACZ,cACA,SAIA;EACA,MAAM,EAAE,YAAY,YAAY;EAChC,MAAM,MAAM,WAAW,IAAI,OAAO;EAElC,MAAM,cAAc,aAAa,kBAAkB,QAAQ,mBAAmB;EAI9E,MAAM,WAAW,WAAW,IAAI,QAAQ;EAExC,IAAIC;AAGJ,MAAI,KAAK,WAAW,IAAI,EAAE;AACxB,OAAI,CAAC,SACH,OAAM,IAAI,WAAW,0EAA0E;AAIjG,yBADoB,MAAM,YAAY,mBAAmB,cAAc,SAAS,EAC/C,eAAe,GAAG,WAAW,OAAO,QAAQ;aAGtE,OAAO,MAAM,IAAI,EAAE;GAC1B,MAAM,cAAc,MAAM,YAAY,mBAAmB,cAAc,IAAI;AAE3E,wBAAqB,YAAY,eAAe,KAAK,QAAQ;AAE7D,OAAI,YAAY,YAAY,OAAO,SACjC,OAAM,IAAI,WAAW,QAAQ,IAAI,iDAAiD,SAAS,GAAG;SAE3F;AACL,OAAI,CAAC,SACH,OAAM,IAAI,WAAW,kEAAkE;GAIzF,MAAM,WAAW,UAAU,6CACzB,WAAW,IAAI,OAAO,IACvB;GACD,MAAM,mCAAmC,gDAAgD,SAAS;GAElG,MAAM,cAAc,MAAM,YAAY,mBAAmB,cAAc,SAAS;GAChF,MAAM,sBACJ,YAAY,iBACR,KAAK,MAAO,OAAO,MAAM,WAAW,YAAY,8BAA8B,EAAE,GAAG,EAAG,CACvF,QAAQ,MAAM,iCAAiC,SAAS,EAAE,KAAK,CAAC,IAAI,EAAE;AAE3E,OAAI,oBAAoB,WAAW,EACjC,OAAM,IAAI,WACR,6CAA6C,SAAS,kBAAkB,SAAS,KAAK,aAAa,WAAW,IAAI,OAAO,IAAI,4EAC9H;AAEH,OAAI,oBAAoB,SAAS,EAC/B,OAAM,IAAI,WACR,mDAAmD,SAAS,kBAAkB,SAAS,KAAK,aAAa,WAAW,IAAI,OAAO,IAAI,4EACpI;AAGH,wBAAqB,oBAAoB;;AAI3C,MAAI,YAAY,mBAAmB,eAAe,SAChD,OAAM,IAAI,WACR,mCAAmC,mBAAmB,WAAW,+BAA+B,SAAS,GAC1G;AAGH,SAAO;;;sCAngBV,YAAY"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { JsonObject, SingleOrArray } from "../../../types.mjs";
|
|
2
|
+
import { ClaimFormat } from "../models/ClaimFormat.mjs";
|
|
3
|
+
import { W3cCredentialSchema } from "../models/credential/W3cCredentialSchema.mjs";
|
|
4
|
+
import { W3cCredentialStatus } from "../models/credential/W3cCredentialStatus.mjs";
|
|
5
|
+
import { W3cCredentialSubject } from "../models/credential/W3cCredentialSubject.mjs";
|
|
6
|
+
import { W3cIssuer } from "../models/credential/W3cIssuer.mjs";
|
|
7
|
+
import { W3cCredential } from "../models/credential/W3cCredential.mjs";
|
|
8
|
+
import { W3cJsonCredential } from "../models/credential/W3cJsonCredential.mjs";
|
|
9
|
+
import { Jwt } from "../../../crypto/jose/jwt/Jwt.mjs";
|
|
10
|
+
import "../index.mjs";
|
|
11
|
+
import "../../../index.mjs";
|
|
12
|
+
|
|
13
|
+
//#region src/modules/vc/jwt-vc/W3cJwtVerifiableCredential.d.ts
|
|
14
|
+
interface W3cJwtVerifiableCredentialOptions {
|
|
15
|
+
jwt: Jwt;
|
|
16
|
+
}
|
|
17
|
+
declare class W3cJwtVerifiableCredential {
|
|
18
|
+
readonly jwt: Jwt;
|
|
19
|
+
private _credential;
|
|
20
|
+
constructor(options: W3cJwtVerifiableCredentialOptions);
|
|
21
|
+
static fromSerializedJwt(serializedJwt: string): W3cJwtVerifiableCredential;
|
|
22
|
+
/**
|
|
23
|
+
* Get the W3cCredential from the JWT payload. This does not include the JWT wrapper,
|
|
24
|
+
* and thus is not suitable for sharing. If you need a JWT, use the `serializedJwt` property.
|
|
25
|
+
*
|
|
26
|
+
* All properties and getters from the `W3cCredential` interface are implemented as getters
|
|
27
|
+
* on the `W3cJwtVerifiableCredential` class itself, so you can also use this directly
|
|
28
|
+
* instead of accessing the inner `credential` property.
|
|
29
|
+
*/
|
|
30
|
+
get credential(): W3cCredential;
|
|
31
|
+
get serializedJwt(): string;
|
|
32
|
+
get context(): (string | JsonObject)[];
|
|
33
|
+
get id(): string | undefined;
|
|
34
|
+
get type(): string[];
|
|
35
|
+
get issuer(): string | W3cIssuer;
|
|
36
|
+
get issuanceDate(): string;
|
|
37
|
+
get expirationDate(): string | undefined;
|
|
38
|
+
get credentialSubject(): SingleOrArray<W3cCredentialSubject>;
|
|
39
|
+
get credentialSchema(): SingleOrArray<W3cCredentialSchema> | undefined;
|
|
40
|
+
get credentialStatus(): W3cCredentialStatus | undefined;
|
|
41
|
+
get issuerId(): string;
|
|
42
|
+
get credentialSchemaIds(): string[];
|
|
43
|
+
get credentialSubjectIds(): string[];
|
|
44
|
+
get contexts(): (string | JsonObject)[];
|
|
45
|
+
/**
|
|
46
|
+
* The {@link ClaimFormat} of the credential. For JWT credentials this is always `jwt_vc`.
|
|
47
|
+
*/
|
|
48
|
+
get claimFormat(): ClaimFormat.JwtVc;
|
|
49
|
+
/**
|
|
50
|
+
* Get the encoded variant of the W3C Verifiable Credential. For JWT credentials this is
|
|
51
|
+
* a JWT string.
|
|
52
|
+
*/
|
|
53
|
+
get encoded(): string;
|
|
54
|
+
get jsonCredential(): W3cJsonCredential;
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
export { W3cJwtVerifiableCredential, W3cJwtVerifiableCredentialOptions };
|
|
58
|
+
//# sourceMappingURL=W3cJwtVerifiableCredential.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"W3cJwtVerifiableCredential.d.mts","names":[],"sources":["../../../../src/modules/vc/jwt-vc/W3cJwtVerifiableCredential.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;UAQiB,iCAAA;OACV;;cAGM,0BAAA;gBACU;;uBAGO;mDAMyB;;;;AAdvD;AAIA;;;;EA0B2B,IAAA,UAAA,CAAA,CAAA,EAAA,aAAA;EAAa,IAAA,aAAA,CAAA,CAAA,EAAA,MAAA;EAgBpB,IAAA,OAAA,CAAA,CAAA,EAAA,CAAA,MAAA,GAhBoB,UAgBpB,CAAA,EAAA;EAYD,IAAA,EAAA,CAAA,CAAA,EAAA,MAAA,GAAA,SAAA;EAYW,IAAA,IAAA,CAAA,CAAA,EAAA,MAAA,EAAA;EAAA,IAAA,MAAA,CAAA,CAAA,EAAA,MAAA,GAxBV,SAwBU;EAID,IAAA,YAAA,CAAA,CAAA,EAAA,MAAA;EAAA,IAAA,cAAA,CAAA,CAAA,EAAA,MAAA,GAAA,SAAA;EAIA,IAAA,iBAAA,CAAA,CAAA,EARC,aAQD,CApBV,oBAAA,CAoBU;EAuBD,IAAA,gBAAY,CAAA,CAAA,EA3BX,aA2BW,CA/BV,mBAAA,CA+BU,GAAA,SAAA;EAYT,IAAA,gBAAA,CAAA,CAAA,EAvCF,mBAAA,GAuCE,SAAA;EAAiB,IAAA,QAAA,CAAA,CAAA,EAAA,MAAA;;;4BAnCnB;;;;qBAuBD,WAAA,CAAY;;;;;;wBAYT"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { JsonTransformer } from "../../../utils/JsonTransformer.mjs";
|
|
4
|
+
import "../../../utils/index.mjs";
|
|
5
|
+
import { Jwt } from "../../../crypto/jose/jwt/Jwt.mjs";
|
|
6
|
+
import { ClaimFormat } from "../models/ClaimFormat.mjs";
|
|
7
|
+
import { getCredentialFromJwtPayload } from "./credentialTransformer.mjs";
|
|
8
|
+
|
|
9
|
+
//#region src/modules/vc/jwt-vc/W3cJwtVerifiableCredential.ts
|
|
10
|
+
var W3cJwtVerifiableCredential = class W3cJwtVerifiableCredential {
|
|
11
|
+
constructor(options) {
|
|
12
|
+
this.jwt = options.jwt;
|
|
13
|
+
this._credential = getCredentialFromJwtPayload(this.jwt.payload);
|
|
14
|
+
}
|
|
15
|
+
static fromSerializedJwt(serializedJwt) {
|
|
16
|
+
return new W3cJwtVerifiableCredential({ jwt: Jwt.fromSerializedJwt(serializedJwt) });
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Get the W3cCredential from the JWT payload. This does not include the JWT wrapper,
|
|
20
|
+
* and thus is not suitable for sharing. If you need a JWT, use the `serializedJwt` property.
|
|
21
|
+
*
|
|
22
|
+
* All properties and getters from the `W3cCredential` interface are implemented as getters
|
|
23
|
+
* on the `W3cJwtVerifiableCredential` class itself, so you can also use this directly
|
|
24
|
+
* instead of accessing the inner `credential` property.
|
|
25
|
+
*/
|
|
26
|
+
get credential() {
|
|
27
|
+
return this._credential;
|
|
28
|
+
}
|
|
29
|
+
get serializedJwt() {
|
|
30
|
+
return this.jwt.serializedJwt;
|
|
31
|
+
}
|
|
32
|
+
get context() {
|
|
33
|
+
return this.credential.context;
|
|
34
|
+
}
|
|
35
|
+
get id() {
|
|
36
|
+
return this.credential.id;
|
|
37
|
+
}
|
|
38
|
+
get type() {
|
|
39
|
+
return this.credential.type;
|
|
40
|
+
}
|
|
41
|
+
get issuer() {
|
|
42
|
+
return this.credential.issuer;
|
|
43
|
+
}
|
|
44
|
+
get issuanceDate() {
|
|
45
|
+
return this.credential.issuanceDate;
|
|
46
|
+
}
|
|
47
|
+
get expirationDate() {
|
|
48
|
+
return this.credential.expirationDate;
|
|
49
|
+
}
|
|
50
|
+
get credentialSubject() {
|
|
51
|
+
return this.credential.credentialSubject;
|
|
52
|
+
}
|
|
53
|
+
get credentialSchema() {
|
|
54
|
+
return this.credential.credentialSchema;
|
|
55
|
+
}
|
|
56
|
+
get credentialStatus() {
|
|
57
|
+
return this.credential.credentialStatus;
|
|
58
|
+
}
|
|
59
|
+
get issuerId() {
|
|
60
|
+
return this.credential.issuerId;
|
|
61
|
+
}
|
|
62
|
+
get credentialSchemaIds() {
|
|
63
|
+
return this.credential.credentialSchemaIds;
|
|
64
|
+
}
|
|
65
|
+
get credentialSubjectIds() {
|
|
66
|
+
return this.credential.credentialSubjectIds;
|
|
67
|
+
}
|
|
68
|
+
get contexts() {
|
|
69
|
+
return this.credential.contexts;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The {@link ClaimFormat} of the credential. For JWT credentials this is always `jwt_vc`.
|
|
73
|
+
*/
|
|
74
|
+
get claimFormat() {
|
|
75
|
+
return ClaimFormat.JwtVc;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Get the encoded variant of the W3C Verifiable Credential. For JWT credentials this is
|
|
79
|
+
* a JWT string.
|
|
80
|
+
*/
|
|
81
|
+
get encoded() {
|
|
82
|
+
return this.serializedJwt;
|
|
83
|
+
}
|
|
84
|
+
get jsonCredential() {
|
|
85
|
+
return JsonTransformer.toJSON(this.credential);
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
//#endregion
|
|
90
|
+
export { W3cJwtVerifiableCredential };
|
|
91
|
+
//# sourceMappingURL=W3cJwtVerifiableCredential.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"W3cJwtVerifiableCredential.mjs","names":[],"sources":["../../../../src/modules/vc/jwt-vc/W3cJwtVerifiableCredential.ts"],"sourcesContent":["import { Jwt } from '../../../crypto/jose/jwt/Jwt'\nimport { JsonTransformer } from '../../../utils'\nimport { ClaimFormat } from '../models/ClaimFormat'\nimport type { W3cCredential } from '../models/credential/W3cCredential'\nimport type { W3cJsonCredential } from '../models/credential/W3cJsonCredential'\n\nimport { getCredentialFromJwtPayload } from './credentialTransformer'\n\nexport interface W3cJwtVerifiableCredentialOptions {\n jwt: Jwt\n}\n\nexport class W3cJwtVerifiableCredential {\n public readonly jwt: Jwt\n private _credential: W3cCredential\n\n public constructor(options: W3cJwtVerifiableCredentialOptions) {\n this.jwt = options.jwt\n\n this._credential = getCredentialFromJwtPayload(this.jwt.payload)\n }\n\n public static fromSerializedJwt(serializedJwt: string) {\n const jwt = Jwt.fromSerializedJwt(serializedJwt)\n\n return new W3cJwtVerifiableCredential({\n jwt,\n })\n }\n\n /**\n * Get the W3cCredential from the JWT payload. This does not include the JWT wrapper,\n * and thus is not suitable for sharing. If you need a JWT, use the `serializedJwt` property.\n *\n * All properties and getters from the `W3cCredential` interface are implemented as getters\n * on the `W3cJwtVerifiableCredential` class itself, so you can also use this directly\n * instead of accessing the inner `credential` property.\n */\n public get credential(): W3cCredential {\n return this._credential\n }\n\n public get serializedJwt(): string {\n return this.jwt.serializedJwt\n }\n\n //\n // Below all properties from the `W3cCredential` interface are implemented as getters\n // this is to make the interface compatible with the W3cJsonLdVerifiableCredential interface\n // which makes using the different classes interchangeably from a user point of view.\n // This is 'easier' than extending the W3cCredential class as it means we have to create the\n // instance based on JSON, but also add custom properties.\n //\n\n public get context() {\n return this.credential.context\n }\n\n public get id() {\n return this.credential.id\n }\n\n public get type() {\n return this.credential.type\n }\n\n public get issuer() {\n return this.credential.issuer\n }\n\n public get issuanceDate() {\n return this.credential.issuanceDate\n }\n\n public get expirationDate() {\n return this.credential.expirationDate\n }\n\n public get credentialSubject() {\n return this.credential.credentialSubject\n }\n\n public get credentialSchema() {\n return this.credential.credentialSchema\n }\n\n public get credentialStatus() {\n return this.credential.credentialStatus\n }\n\n public get issuerId() {\n return this.credential.issuerId\n }\n\n public get credentialSchemaIds() {\n return this.credential.credentialSchemaIds\n }\n\n public get credentialSubjectIds() {\n return this.credential.credentialSubjectIds\n }\n\n public get contexts() {\n return this.credential.contexts\n }\n\n /**\n * The {@link ClaimFormat} of the credential. For JWT credentials this is always `jwt_vc`.\n */\n public get claimFormat(): ClaimFormat.JwtVc {\n return ClaimFormat.JwtVc\n }\n\n /**\n * Get the encoded variant of the W3C Verifiable Credential. For JWT credentials this is\n * a JWT string.\n */\n public get encoded() {\n return this.serializedJwt\n }\n\n public get jsonCredential(): W3cJsonCredential {\n return JsonTransformer.toJSON(this.credential) as W3cJsonCredential\n }\n}\n"],"mappings":";;;;;;;;;AAYA,IAAa,6BAAb,MAAa,2BAA2B;CAItC,AAAO,YAAY,SAA4C;AAC7D,OAAK,MAAM,QAAQ;AAEnB,OAAK,cAAc,4BAA4B,KAAK,IAAI,QAAQ;;CAGlE,OAAc,kBAAkB,eAAuB;AAGrD,SAAO,IAAI,2BAA2B,EACpC,KAHU,IAAI,kBAAkB,cAAc,EAI/C,CAAC;;;;;;;;;;CAWJ,IAAW,aAA4B;AACrC,SAAO,KAAK;;CAGd,IAAW,gBAAwB;AACjC,SAAO,KAAK,IAAI;;CAWlB,IAAW,UAAU;AACnB,SAAO,KAAK,WAAW;;CAGzB,IAAW,KAAK;AACd,SAAO,KAAK,WAAW;;CAGzB,IAAW,OAAO;AAChB,SAAO,KAAK,WAAW;;CAGzB,IAAW,SAAS;AAClB,SAAO,KAAK,WAAW;;CAGzB,IAAW,eAAe;AACxB,SAAO,KAAK,WAAW;;CAGzB,IAAW,iBAAiB;AAC1B,SAAO,KAAK,WAAW;;CAGzB,IAAW,oBAAoB;AAC7B,SAAO,KAAK,WAAW;;CAGzB,IAAW,mBAAmB;AAC5B,SAAO,KAAK,WAAW;;CAGzB,IAAW,mBAAmB;AAC5B,SAAO,KAAK,WAAW;;CAGzB,IAAW,WAAW;AACpB,SAAO,KAAK,WAAW;;CAGzB,IAAW,sBAAsB;AAC/B,SAAO,KAAK,WAAW;;CAGzB,IAAW,uBAAuB;AAChC,SAAO,KAAK,WAAW;;CAGzB,IAAW,WAAW;AACpB,SAAO,KAAK,WAAW;;;;;CAMzB,IAAW,cAAiC;AAC1C,SAAO,YAAY;;;;;;CAOrB,IAAW,UAAU;AACnB,SAAO,KAAK;;CAGd,IAAW,iBAAoC;AAC7C,SAAO,gBAAgB,OAAO,KAAK,WAAW"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { JsonObject, SingleOrArray } from "../../../types.mjs";
|
|
2
|
+
import { ClaimFormat } from "../models/ClaimFormat.mjs";
|
|
3
|
+
import { W3cJsonLdVerifiableCredential } from "../data-integrity/models/W3cJsonLdVerifiableCredential.mjs";
|
|
4
|
+
import { Jwt } from "../../../crypto/jose/jwt/Jwt.mjs";
|
|
5
|
+
import { W3cJwtVerifiableCredential } from "./W3cJwtVerifiableCredential.mjs";
|
|
6
|
+
import { W3cHolder } from "../models/presentation/W3cHolder.mjs";
|
|
7
|
+
import { W3cPresentation } from "../models/presentation/W3cPresentation.mjs";
|
|
8
|
+
import "../models/index.mjs";
|
|
9
|
+
import "../index.mjs";
|
|
10
|
+
import "../../../index.mjs";
|
|
11
|
+
|
|
12
|
+
//#region src/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.d.ts
|
|
13
|
+
interface W3cJwtVerifiablePresentationOptions {
|
|
14
|
+
jwt: Jwt;
|
|
15
|
+
}
|
|
16
|
+
declare class W3cJwtVerifiablePresentation {
|
|
17
|
+
readonly jwt: Jwt;
|
|
18
|
+
private _presentation;
|
|
19
|
+
constructor(options: W3cJwtVerifiablePresentationOptions);
|
|
20
|
+
static fromSerializedJwt(serializedJwt: string): W3cJwtVerifiablePresentation;
|
|
21
|
+
/**
|
|
22
|
+
* Get the W3cPresentation from the JWT payload. This does not include the JWT wrapper,
|
|
23
|
+
* and thus is not suitable for sharing. If you need a JWT, use the `serializedJwt` property.
|
|
24
|
+
*
|
|
25
|
+
* All properties and getters from the `W3cPresentation` interface are implemented as getters
|
|
26
|
+
* on the `W3cJwtVerifiablePresentation` class itself, so you can also use this directly
|
|
27
|
+
* instead of accessing the inner `presentation` property.
|
|
28
|
+
*/
|
|
29
|
+
get presentation(): W3cPresentation;
|
|
30
|
+
get serializedJwt(): string;
|
|
31
|
+
get context(): (string | JsonObject)[];
|
|
32
|
+
get id(): string | undefined;
|
|
33
|
+
get type(): string[];
|
|
34
|
+
get holder(): string | W3cHolder | undefined;
|
|
35
|
+
get verifiableCredential(): SingleOrArray<W3cJwtVerifiableCredential | W3cJsonLdVerifiableCredential>;
|
|
36
|
+
get holderId(): string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The {@link ClaimFormat} of the presentation. For JWT presentations this is always `jwt_vp`.
|
|
39
|
+
*/
|
|
40
|
+
get claimFormat(): ClaimFormat.JwtVp;
|
|
41
|
+
/**
|
|
42
|
+
* Get the encoded variant of the W3C Verifiable Presentation. For JWT presentations this is
|
|
43
|
+
* a JWT string.
|
|
44
|
+
*/
|
|
45
|
+
get encoded(): string;
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
export { W3cJwtVerifiablePresentation, W3cJwtVerifiablePresentationOptions };
|
|
49
|
+
//# sourceMappingURL=W3cJwtVerifiablePresentation.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"W3cJwtVerifiablePresentation.d.mts","names":[],"sources":["../../../../src/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;UAOiB,mCAAA;OACV;;cAGM,4BAAA;gBACU;;uBAGO;mDAMyB;;;;AAdvD;AAIA;;;;EA8B6B,IAAA,YAAA,CAAA,CAAA,EAAA,eAAA;EAAe,IAAA,aAAA,CAAA,CAAA,EAAA,MAAA;EAgBxB,IAAA,OAAA,CAAA,CAAA,EAAA,CAAA,MAAA,GAhBwB,UAgBxB,CAAA,EAAA;EAYD,IAAA,EAAA,CAAA,CAAA,EAAA,MAAA,GAAA,SAAA;EAIc,IAAA,IAAA,CAAA,CAAA,EAAA,MAAA,EAAA;EAAA,IAAA,MAAA,CAAA,CAAA,EAAA,MAAA,GAhBb,SAAA,GAgBa,SAAA;EAWL,IAAA,oBAAY,CAAA,CAAA,EAXP,aAWO,CAfrB,0BAAA,GAIc,6BAWO,CAAA;EAAK,IAAA,QAAA,CAAA,CAAA,EAAA,MAAA,GAAA,IAAA;;;;qBAAjB,WAAA,CAAY"}
|