@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,250 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { CredoError } from "../../../error/CredoError.mjs";
|
|
4
|
+
import "../../../error/index.mjs";
|
|
5
|
+
import { injectable } from "../../../plugins/index.mjs";
|
|
6
|
+
import { __decorate } from "../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs";
|
|
7
|
+
import { asArray } from "../../../utils/array.mjs";
|
|
8
|
+
import { TypedArrayEncoder } from "../../../utils/TypedArrayEncoder.mjs";
|
|
9
|
+
import { MessageValidator } from "../../../utils/MessageValidator.mjs";
|
|
10
|
+
import { JsonTransformer } from "../../../utils/JsonTransformer.mjs";
|
|
11
|
+
import { nowInSeconds } from "../../../utils/timestamp.mjs";
|
|
12
|
+
import "../../../utils/index.mjs";
|
|
13
|
+
import { KeyManagementApi } from "../../kms/KeyManagementApi.mjs";
|
|
14
|
+
import "../../kms/index.mjs";
|
|
15
|
+
import { JwtPayload } from "../../../crypto/jose/jwt/JwtPayload.mjs";
|
|
16
|
+
import { getPublicJwkFromVerificationMethod } from "../../dids/domain/key-type/keyDidMapping.mjs";
|
|
17
|
+
import "../../../crypto/index.mjs";
|
|
18
|
+
import { sdJwtVcHasher } from "./W3cV2SdJwt.mjs";
|
|
19
|
+
import { W3cV2SdJwtVerifiableCredential } from "./W3cV2SdJwtVerifiableCredential.mjs";
|
|
20
|
+
import { extractKeyFromHolderBinding, getSdJwtSigner, getSdJwtVerifier, parseHolderBindingFromCredential } from "../../sd-jwt-vc/utils.mjs";
|
|
21
|
+
import { W3cV2SdJwtVerifiablePresentation } from "./W3cV2SdJwtVerifiablePresentation.mjs";
|
|
22
|
+
import { extractHolderFromPresentationCredentials, getVerificationMethodForJwt, validateAndResolveVerificationMethod } from "../v2-jwt-utils.mjs";
|
|
23
|
+
import { SDJwtInstance } from "@sd-jwt/core";
|
|
24
|
+
|
|
25
|
+
//#region src/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.ts
|
|
26
|
+
/**
|
|
27
|
+
* List of fields that cannot be selectively disclosed.
|
|
28
|
+
*
|
|
29
|
+
* @see https://www.w3.org/TR/vc-jose-cose/#securing-with-sd-jwt
|
|
30
|
+
* @see https://www.w3.org/TR/vc-jose-cose/#securing-vps-sd-jwt
|
|
31
|
+
*/
|
|
32
|
+
const NON_DISCLOSEABLE_FIELDS = [
|
|
33
|
+
"@context",
|
|
34
|
+
"type",
|
|
35
|
+
"credentialStatus",
|
|
36
|
+
"credentialSchema",
|
|
37
|
+
"relatedResource"
|
|
38
|
+
];
|
|
39
|
+
let W3cV2SdJwtCredentialService = class W3cV2SdJwtCredentialService$1 {
|
|
40
|
+
/**
|
|
41
|
+
* Signs a credential
|
|
42
|
+
*/
|
|
43
|
+
async signCredential(agentContext, options) {
|
|
44
|
+
MessageValidator.validateSync(options.credential);
|
|
45
|
+
const payload = JsonTransformer.toJSON(options.credential);
|
|
46
|
+
payload.iat = nowInSeconds();
|
|
47
|
+
payload.cnf = options.holder ? (await extractKeyFromHolderBinding(agentContext, options.holder)).cnf : void 0;
|
|
48
|
+
const publicJwk = await validateAndResolveVerificationMethod(agentContext, options.verificationMethod, ["assertionMethod"]);
|
|
49
|
+
const disclosureFrame = options.disclosureFrame;
|
|
50
|
+
this.validateDisclosureFrame(disclosureFrame);
|
|
51
|
+
const compact = await new SDJwtInstance({
|
|
52
|
+
...this.getBaseSdJwtConfig(agentContext),
|
|
53
|
+
signer: getSdJwtSigner(agentContext, publicJwk),
|
|
54
|
+
hashAlg: options.hashingAlgorithm ?? "sha-256",
|
|
55
|
+
signAlg: options.alg
|
|
56
|
+
}).issue(payload, disclosureFrame, { header: {
|
|
57
|
+
typ: "vc+sd-jwt",
|
|
58
|
+
alg: options.alg,
|
|
59
|
+
kid: options.verificationMethod
|
|
60
|
+
} });
|
|
61
|
+
return W3cV2SdJwtVerifiableCredential.fromCompact(compact);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Verifies the signature(s) of a credential
|
|
65
|
+
*
|
|
66
|
+
* @param credential the credential to be verified
|
|
67
|
+
* @returns the verification result
|
|
68
|
+
*/
|
|
69
|
+
async verifyCredential(agentContext, options) {
|
|
70
|
+
const validationResults = {
|
|
71
|
+
isValid: false,
|
|
72
|
+
validations: {}
|
|
73
|
+
};
|
|
74
|
+
const sdJwt = new SDJwtInstance({ ...this.getBaseSdJwtConfig(agentContext) });
|
|
75
|
+
try {
|
|
76
|
+
let credential;
|
|
77
|
+
try {
|
|
78
|
+
if (options.credential instanceof W3cV2SdJwtVerifiableCredential) options.credential.validate();
|
|
79
|
+
credential = options.credential instanceof W3cV2SdJwtVerifiableCredential ? options.credential : W3cV2SdJwtVerifiableCredential.fromCompact(options.credential);
|
|
80
|
+
JwtPayload.fromJson(credential.sdJwt.payload).validate();
|
|
81
|
+
validationResults.validations.dataModel = { isValid: true };
|
|
82
|
+
} catch (error) {
|
|
83
|
+
validationResults.validations.dataModel = {
|
|
84
|
+
isValid: false,
|
|
85
|
+
error
|
|
86
|
+
};
|
|
87
|
+
return validationResults;
|
|
88
|
+
}
|
|
89
|
+
const issuerVerificationMethod = await getVerificationMethodForJwt(agentContext, credential, ["assertionMethod"]);
|
|
90
|
+
const issuerPublicKey = getPublicJwkFromVerificationMethod(issuerVerificationMethod);
|
|
91
|
+
const holderBinding = parseHolderBindingFromCredential(credential.sdJwt.prettyClaims);
|
|
92
|
+
const holder = holderBinding ? await extractKeyFromHolderBinding(agentContext, holderBinding) : void 0;
|
|
93
|
+
sdJwt.config({
|
|
94
|
+
verifier: getSdJwtVerifier(agentContext, issuerPublicKey),
|
|
95
|
+
kbVerifier: holder ? getSdJwtVerifier(agentContext, holder.publicJwk) : void 0
|
|
96
|
+
});
|
|
97
|
+
try {
|
|
98
|
+
await sdJwt.verify(credential.encoded);
|
|
99
|
+
validationResults.validations.signature = { isValid: true };
|
|
100
|
+
} catch (error) {
|
|
101
|
+
validationResults.validations.signature = {
|
|
102
|
+
isValid: false,
|
|
103
|
+
error
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
if (credential.resolvedCredential.issuerId !== issuerVerificationMethod.controller) validationResults.validations.issuerIsSigner = {
|
|
107
|
+
isValid: false,
|
|
108
|
+
error: new CredoError(`Credential is signed using verification method ${issuerVerificationMethod.id}, while the issuer of the credential is '${credential.resolvedCredential.issuerId}'`)
|
|
109
|
+
};
|
|
110
|
+
else validationResults.validations.issuerIsSigner = { isValid: true };
|
|
111
|
+
validationResults.isValid = Object.values(validationResults.validations).every((v) => v.isValid);
|
|
112
|
+
return validationResults;
|
|
113
|
+
} catch (error) {
|
|
114
|
+
validationResults.error = error;
|
|
115
|
+
return validationResults;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Signs a presentation including the credentials it includes
|
|
120
|
+
*
|
|
121
|
+
* @param presentation the presentation to be signed
|
|
122
|
+
* @returns the signed presentation
|
|
123
|
+
*/
|
|
124
|
+
async signPresentation(agentContext, options) {
|
|
125
|
+
MessageValidator.validateSync(options.presentation);
|
|
126
|
+
const payload = JsonTransformer.toJSON(options.presentation);
|
|
127
|
+
payload.nonce = options.challenge;
|
|
128
|
+
payload.aud = options.domain;
|
|
129
|
+
const holder = await extractHolderFromPresentationCredentials(agentContext, options.presentation);
|
|
130
|
+
const sdJwt = new SDJwtInstance({
|
|
131
|
+
...this.getBaseSdJwtConfig(agentContext),
|
|
132
|
+
signer: getSdJwtSigner(agentContext, holder.publicJwk),
|
|
133
|
+
hashAlg: options.hashingAlgorithm ?? "sha-256",
|
|
134
|
+
signAlg: holder.alg
|
|
135
|
+
});
|
|
136
|
+
const disclosureFrame = options.disclosureFrame;
|
|
137
|
+
this.validateDisclosureFrame(disclosureFrame);
|
|
138
|
+
const compact = await sdJwt.issue(payload, disclosureFrame, { header: {
|
|
139
|
+
typ: "vp+sd-jwt",
|
|
140
|
+
alg: holder.alg,
|
|
141
|
+
kid: holder?.cnf?.kid
|
|
142
|
+
} });
|
|
143
|
+
return W3cV2SdJwtVerifiablePresentation.fromCompact(compact);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Verifies a presentation including the credentials it includes
|
|
147
|
+
*
|
|
148
|
+
* @param presentation the presentation to be verified
|
|
149
|
+
* @returns the verification result
|
|
150
|
+
*/
|
|
151
|
+
async verifyPresentation(agentContext, options) {
|
|
152
|
+
const validationResults = {
|
|
153
|
+
isValid: false,
|
|
154
|
+
validations: {}
|
|
155
|
+
};
|
|
156
|
+
const sdjwt = new SDJwtInstance({ ...this.getBaseSdJwtConfig(agentContext) });
|
|
157
|
+
try {
|
|
158
|
+
let presentation;
|
|
159
|
+
try {
|
|
160
|
+
if (options.presentation instanceof W3cV2SdJwtVerifiablePresentation) MessageValidator.validateSync(options.presentation.resolvedPresentation);
|
|
161
|
+
presentation = options.presentation instanceof W3cV2SdJwtVerifiablePresentation ? options.presentation : W3cV2SdJwtVerifiablePresentation.fromCompact(options.presentation);
|
|
162
|
+
JwtPayload.fromJson(presentation.sdJwt.payload).validate();
|
|
163
|
+
validationResults.validations.dataModel = { isValid: true };
|
|
164
|
+
} catch (error) {
|
|
165
|
+
validationResults.validations.dataModel = {
|
|
166
|
+
isValid: false,
|
|
167
|
+
error
|
|
168
|
+
};
|
|
169
|
+
return validationResults;
|
|
170
|
+
}
|
|
171
|
+
const proverVerificationMethod = await getVerificationMethodForJwt(agentContext, presentation, ["authentication"]);
|
|
172
|
+
const proverPublicKey = getPublicJwkFromVerificationMethod(proverVerificationMethod);
|
|
173
|
+
const holderBinding = parseHolderBindingFromCredential(presentation.sdJwt.prettyClaims);
|
|
174
|
+
const holder = holderBinding ? await extractKeyFromHolderBinding(agentContext, holderBinding) : void 0;
|
|
175
|
+
sdjwt.config({
|
|
176
|
+
verifier: getSdJwtVerifier(agentContext, proverPublicKey),
|
|
177
|
+
kbVerifier: holder ? getSdJwtVerifier(agentContext, holder.publicJwk) : void 0
|
|
178
|
+
});
|
|
179
|
+
try {
|
|
180
|
+
await sdjwt.verify(presentation.encoded);
|
|
181
|
+
validationResults.validations.presentationSignature = { isValid: true };
|
|
182
|
+
} catch (error) {
|
|
183
|
+
validationResults.validations.presentationSignature = {
|
|
184
|
+
isValid: false,
|
|
185
|
+
error
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
if (presentation.resolvedPresentation.holderId && proverVerificationMethod.controller !== presentation.resolvedPresentation.holderId) validationResults.validations.holderIsSigner = {
|
|
189
|
+
isValid: false,
|
|
190
|
+
error: new CredoError(`Presentation is signed using verification method ${proverVerificationMethod.id}, while the holder of the presentation is '${presentation.resolvedPresentation.holderId}'`)
|
|
191
|
+
};
|
|
192
|
+
else validationResults.validations.holderIsSigner = { isValid: true };
|
|
193
|
+
const credentials = asArray(presentation.resolvedPresentation.verifiableCredential);
|
|
194
|
+
validationResults.validations.credentials = await Promise.all(credentials.map(async (credential) => {
|
|
195
|
+
if (!(credential.envelopedCredential instanceof W3cV2SdJwtVerifiableCredential)) return {
|
|
196
|
+
isValid: false,
|
|
197
|
+
error: new CredoError("Credential is not of format SD-JWT. Presentations in SD-JWT format can only contain credentials in SD-JWT format."),
|
|
198
|
+
validations: {}
|
|
199
|
+
};
|
|
200
|
+
const credentialResult = await this.verifyCredential(agentContext, { credential: credential.envelopedCredential });
|
|
201
|
+
let credentialSubjectAuthentication;
|
|
202
|
+
const credentialSubjectIds = credential.resolvedCredential.credentialSubjectIds;
|
|
203
|
+
const presentationAuthenticatesCredentialSubject = credentialSubjectIds.some((subjectId) => proverVerificationMethod.controller === subjectId);
|
|
204
|
+
if (credentialSubjectIds.length > 0 && !presentationAuthenticatesCredentialSubject) credentialSubjectAuthentication = {
|
|
205
|
+
isValid: false,
|
|
206
|
+
error: new CredoError("Credential has one or more credentialSubject ids, but presentation does not authenticate credential subject")
|
|
207
|
+
};
|
|
208
|
+
else credentialSubjectAuthentication = { isValid: true };
|
|
209
|
+
return {
|
|
210
|
+
...credentialResult,
|
|
211
|
+
isValid: credentialResult.isValid && credentialSubjectAuthentication.isValid,
|
|
212
|
+
validations: {
|
|
213
|
+
...credentialResult.validations,
|
|
214
|
+
credentialSubjectAuthentication
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
}));
|
|
218
|
+
validationResults.isValid = Object.values(validationResults.validations).every((v) => Array.isArray(v) ? v.every((vv) => vv.isValid) : v.isValid);
|
|
219
|
+
return validationResults;
|
|
220
|
+
} catch (error) {
|
|
221
|
+
validationResults.error = error;
|
|
222
|
+
return validationResults;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
async present(agentContext, options) {
|
|
226
|
+
const originalCompact = options.credential instanceof W3cV2SdJwtVerifiableCredential ? options.credential.encoded : options.credential;
|
|
227
|
+
const presentationFrame = options.presentationFrame;
|
|
228
|
+
const disclosedCompact = await new SDJwtInstance(this.getBaseSdJwtConfig(agentContext)).present(originalCompact, presentationFrame);
|
|
229
|
+
return W3cV2SdJwtVerifiableCredential.fromCompact(disclosedCompact);
|
|
230
|
+
}
|
|
231
|
+
validateDisclosureFrame(disclosureFrame) {
|
|
232
|
+
if (!disclosureFrame) return;
|
|
233
|
+
for (const field of NON_DISCLOSEABLE_FIELDS) {
|
|
234
|
+
if (disclosureFrame[field]) throw new CredoError(`'${field}' property cannot be selectively disclosed`);
|
|
235
|
+
if (Array.isArray(disclosureFrame._sd) && disclosureFrame._sd?.includes(field)) throw new CredoError(`'${field}' property cannot be selectively disclosed`);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
getBaseSdJwtConfig(agentContext) {
|
|
239
|
+
const kms = agentContext.resolve(KeyManagementApi);
|
|
240
|
+
return {
|
|
241
|
+
hasher: sdJwtVcHasher,
|
|
242
|
+
saltGenerator: (length) => TypedArrayEncoder.toBase64URL(kms.randomBytes({ length })).slice(0, length)
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
W3cV2SdJwtCredentialService = __decorate([injectable()], W3cV2SdJwtCredentialService);
|
|
247
|
+
|
|
248
|
+
//#endregion
|
|
249
|
+
export { W3cV2SdJwtCredentialService };
|
|
250
|
+
//# sourceMappingURL=W3cV2SdJwtCredentialService.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"W3cV2SdJwtCredentialService.mjs","names":["W3cV2SdJwtCredentialService","validationResults: W3cV2VerifyCredentialResult","credential: W3cV2SdJwtVerifiableCredential","validationResults: W3cV2VerifyPresentationResult","presentation: W3cV2SdJwtVerifiablePresentation","credentialSubjectAuthentication: SingleValidationResult"],"sources":["../../../../src/modules/vc/sd-jwt-vc/W3cV2SdJwtCredentialService.ts"],"sourcesContent":["import { SDJwtInstance } from '@sd-jwt/core'\nimport type { DisclosureFrame, PresentationFrame, SDJWTConfig } from '@sd-jwt/types'\nimport type { AgentContext } from '../../../agent/context'\nimport { JwtPayload } from '../../../crypto'\nimport { CredoError } from '../../../error'\nimport { injectable } from '../../../plugins'\nimport { asArray, JsonTransformer, MessageValidator, nowInSeconds, TypedArrayEncoder } from '../../../utils'\nimport { getPublicJwkFromVerificationMethod } from '../../dids/domain/key-type/keyDidMapping'\nimport { KeyManagementApi } from '../../kms'\nimport {\n extractKeyFromHolderBinding,\n getSdJwtSigner,\n getSdJwtVerifier,\n parseHolderBindingFromCredential,\n} from '../../sd-jwt-vc/utils'\nimport type {\n SingleValidationResult,\n W3cV2JsonCredential,\n W3cV2JsonPresentation,\n W3cV2VerifyCredentialResult,\n W3cV2VerifyPresentationResult,\n} from '../models'\nimport {\n extractHolderFromPresentationCredentials,\n getVerificationMethodForJwt,\n validateAndResolveVerificationMethod,\n} from '../v2-jwt-utils'\nimport type {\n W3cV2SdJwtSignCredentialOptions,\n W3cV2SdJwtSignPresentationOptions,\n W3cV2SdJwtVcPresentOptions,\n W3cV2SdJwtVerifyCredentialOptions,\n W3cV2SdJwtVerifyPresentationOptions,\n} from '../W3cV2CredentialServiceOptions'\nimport { sdJwtVcHasher } from './W3cV2SdJwt'\nimport { W3cV2SdJwtVerifiableCredential } from './W3cV2SdJwtVerifiableCredential'\nimport { W3cV2SdJwtVerifiablePresentation } from './W3cV2SdJwtVerifiablePresentation'\n\n/**\n * List of fields that cannot be selectively disclosed.\n *\n * @see https://www.w3.org/TR/vc-jose-cose/#securing-with-sd-jwt\n * @see https://www.w3.org/TR/vc-jose-cose/#securing-vps-sd-jwt\n */\nconst NON_DISCLOSEABLE_FIELDS = ['@context', 'type', 'credentialStatus', 'credentialSchema', 'relatedResource']\n\n/**\n * Supports signing and verifying W3C Verifiable Credentials and Presentations\n * secured with Selective Disclosure JSON Web Tokens (SD-JWT).\n *\n * @see https://www.w3.org/TR/vc-data-model/\n * @see https://www.w3.org/TR/vc-jose-cose/#with-sd-jwt\n */\n@injectable()\nexport class W3cV2SdJwtCredentialService {\n /**\n * Signs a credential\n */\n public async signCredential(\n agentContext: AgentContext,\n options: W3cV2SdJwtSignCredentialOptions\n ): Promise<W3cV2SdJwtVerifiableCredential> {\n // Validate the instance\n MessageValidator.validateSync(options.credential)\n\n // The JWT payload is simply the credential\n const payload = JsonTransformer.toJSON(options.credential) as W3cV2JsonCredential\n\n // Add iat and cnf to the payload\n payload.iat = nowInSeconds()\n payload.cnf = options.holder ? (await extractKeyFromHolderBinding(agentContext, options.holder)).cnf : undefined\n\n // Validate and resolve the verification method\n const publicJwk = await validateAndResolveVerificationMethod(agentContext, options.verificationMethod, [\n 'assertionMethod',\n ])\n\n // Validate the disclosure frame\n const disclosureFrame = options.disclosureFrame as DisclosureFrame<W3cV2JsonCredential> | undefined\n this.validateDisclosureFrame(disclosureFrame)\n\n const sdJwt = new SDJwtInstance({\n ...this.getBaseSdJwtConfig(agentContext),\n signer: getSdJwtSigner(agentContext, publicJwk),\n hashAlg: options.hashingAlgorithm ?? 'sha-256',\n signAlg: options.alg,\n })\n\n // Sign SD-JWT\n const compact = await sdJwt.issue<W3cV2JsonCredential>(payload, disclosureFrame, {\n header: {\n typ: 'vc+sd-jwt',\n alg: options.alg,\n kid: options.verificationMethod,\n },\n })\n\n return W3cV2SdJwtVerifiableCredential.fromCompact(compact)\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: W3cV2SdJwtVerifyCredentialOptions\n ): Promise<W3cV2VerifyCredentialResult> {\n const validationResults: W3cV2VerifyCredentialResult = {\n isValid: false,\n validations: {},\n }\n\n const sdJwt = new SDJwtInstance({\n ...this.getBaseSdJwtConfig(agentContext),\n })\n\n try {\n let credential: W3cV2SdJwtVerifiableCredential\n try {\n // If instance is provided as input, we want to validate the credential\n // Otherwise, it is done by fromCompact below\n if (options.credential instanceof W3cV2SdJwtVerifiableCredential) {\n options.credential.validate()\n }\n\n credential =\n options.credential instanceof W3cV2SdJwtVerifiableCredential\n ? options.credential\n : W3cV2SdJwtVerifiableCredential.fromCompact(options.credential)\n\n // Validate JWT payload\n JwtPayload.fromJson(credential.sdJwt.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 getVerificationMethodForJwt(agentContext, credential, ['assertionMethod'])\n const issuerPublicKey = getPublicJwkFromVerificationMethod(issuerVerificationMethod)\n\n const holderBinding = parseHolderBindingFromCredential(credential.sdJwt.prettyClaims)\n const holder = holderBinding ? await extractKeyFromHolderBinding(agentContext, holderBinding) : undefined\n\n sdJwt.config({\n verifier: getSdJwtVerifier(agentContext, issuerPublicKey),\n kbVerifier: holder ? getSdJwtVerifier(agentContext, holder.publicJwk) : undefined,\n })\n\n try {\n await sdJwt.verify(credential.encoded)\n\n validationResults.validations.signature = {\n isValid: true,\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.resolvedCredential.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.resolvedCredential.issuerId}'`\n ),\n }\n } else {\n validationResults.validations.issuerIsSigner = {\n isValid: true,\n }\n }\n\n validationResults.isValid = Object.values(validationResults.validations).every((v) => v.isValid)\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: W3cV2SdJwtSignPresentationOptions\n ): Promise<W3cV2SdJwtVerifiablePresentation> {\n // Validate the instance\n MessageValidator.validateSync(options.presentation)\n\n // The JWT payload is simply the presentation\n const payload = JsonTransformer.toJSON(options.presentation) as W3cV2JsonPresentation\n\n // Add the nonce and aud to the payload\n payload.nonce = options.challenge\n payload.aud = options.domain\n\n const holder = await extractHolderFromPresentationCredentials(agentContext, options.presentation)\n\n const sdJwt = new SDJwtInstance({\n ...this.getBaseSdJwtConfig(agentContext),\n signer: getSdJwtSigner(agentContext, holder.publicJwk),\n hashAlg: options.hashingAlgorithm ?? 'sha-256',\n signAlg: holder.alg,\n })\n\n // Validate the disclosure frame\n const disclosureFrame = options.disclosureFrame as DisclosureFrame<W3cV2JsonPresentation> | undefined\n this.validateDisclosureFrame(disclosureFrame)\n\n // Sign SD-JWT\n const compact = await sdJwt.issue<W3cV2JsonPresentation>(payload, disclosureFrame, {\n header: {\n typ: 'vp+sd-jwt',\n alg: holder.alg,\n kid: holder?.cnf?.kid,\n },\n })\n\n return W3cV2SdJwtVerifiablePresentation.fromCompact(compact)\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: W3cV2SdJwtVerifyPresentationOptions\n ): Promise<W3cV2VerifyPresentationResult> {\n const validationResults: W3cV2VerifyPresentationResult = {\n isValid: false,\n validations: {},\n }\n\n const sdjwt = new SDJwtInstance({\n ...this.getBaseSdJwtConfig(agentContext),\n })\n\n try {\n let presentation: W3cV2SdJwtVerifiablePresentation\n try {\n // If instance is provided as input, we want to validate the presentation\n if (options.presentation instanceof W3cV2SdJwtVerifiablePresentation) {\n MessageValidator.validateSync(options.presentation.resolvedPresentation)\n }\n\n presentation =\n options.presentation instanceof W3cV2SdJwtVerifiablePresentation\n ? options.presentation\n : W3cV2SdJwtVerifiablePresentation.fromCompact(options.presentation)\n\n // Validate JWT payload\n JwtPayload.fromJson(presentation.sdJwt.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 proverVerificationMethod = await getVerificationMethodForJwt(agentContext, presentation, ['authentication'])\n const proverPublicKey = getPublicJwkFromVerificationMethod(proverVerificationMethod)\n const holderBinding = parseHolderBindingFromCredential(presentation.sdJwt.prettyClaims)\n const holder = holderBinding ? await extractKeyFromHolderBinding(agentContext, holderBinding) : undefined\n\n sdjwt.config({\n verifier: getSdJwtVerifier(agentContext, proverPublicKey),\n kbVerifier: holder ? getSdJwtVerifier(agentContext, holder.publicJwk) : undefined,\n })\n\n try {\n await sdjwt.verify(presentation.encoded)\n\n validationResults.validations.presentationSignature = {\n isValid: true,\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 (\n presentation.resolvedPresentation.holderId &&\n proverVerificationMethod.controller !== presentation.resolvedPresentation.holderId\n ) {\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.resolvedPresentation.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.resolvedPresentation.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.envelopedCredential instanceof W3cV2SdJwtVerifiableCredential)) {\n return {\n isValid: false,\n error: new CredoError(\n 'Credential is not of format SD-JWT. Presentations in SD-JWT format can only contain credentials in SD-JWT format.'\n ),\n validations: {},\n }\n }\n\n const credentialResult = await this.verifyCredential(agentContext, {\n credential: credential.envelopedCredential,\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.resolvedCredential.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 public async present(\n agentContext: AgentContext,\n options: W3cV2SdJwtVcPresentOptions\n ): Promise<W3cV2SdJwtVerifiableCredential> {\n const originalCompact =\n options.credential instanceof W3cV2SdJwtVerifiableCredential ? options.credential.encoded : options.credential\n\n const presentationFrame = options.presentationFrame as PresentationFrame<W3cV2JsonCredential>\n\n const sdjwt = new SDJwtInstance(this.getBaseSdJwtConfig(agentContext))\n const disclosedCompact = await sdjwt.present(originalCompact, presentationFrame)\n\n return W3cV2SdJwtVerifiableCredential.fromCompact(disclosedCompact)\n }\n\n private validateDisclosureFrame(disclosureFrame?: DisclosureFrame<W3cV2JsonCredential | W3cV2JsonPresentation>) {\n if (!disclosureFrame) return\n\n for (const field of NON_DISCLOSEABLE_FIELDS) {\n if (disclosureFrame[field]) {\n throw new CredoError(`'${field}' property cannot be selectively disclosed`)\n }\n\n if (Array.isArray(disclosureFrame._sd) && disclosureFrame._sd?.includes(field)) {\n throw new CredoError(`'${field}' property cannot be selectively disclosed`)\n }\n }\n }\n\n private getBaseSdJwtConfig(agentContext: AgentContext): SDJWTConfig {\n const kms = agentContext.resolve(KeyManagementApi)\n\n return {\n hasher: sdJwtVcHasher,\n saltGenerator: (length) => TypedArrayEncoder.toBase64URL(kms.randomBytes({ length })).slice(0, length),\n }\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,MAAM,0BAA0B;CAAC;CAAY;CAAQ;CAAoB;CAAoB;CAAkB;AAUxG,wCAAMA,8BAA4B;;;;CAIvC,MAAa,eACX,cACA,SACyC;AAEzC,mBAAiB,aAAa,QAAQ,WAAW;EAGjD,MAAM,UAAU,gBAAgB,OAAO,QAAQ,WAAW;AAG1D,UAAQ,MAAM,cAAc;AAC5B,UAAQ,MAAM,QAAQ,UAAU,MAAM,4BAA4B,cAAc,QAAQ,OAAO,EAAE,MAAM;EAGvG,MAAM,YAAY,MAAM,qCAAqC,cAAc,QAAQ,oBAAoB,CACrG,kBACD,CAAC;EAGF,MAAM,kBAAkB,QAAQ;AAChC,OAAK,wBAAwB,gBAAgB;EAU7C,MAAM,UAAU,MARF,IAAI,cAAc;GAC9B,GAAG,KAAK,mBAAmB,aAAa;GACxC,QAAQ,eAAe,cAAc,UAAU;GAC/C,SAAS,QAAQ,oBAAoB;GACrC,SAAS,QAAQ;GAClB,CAAC,CAG0B,MAA2B,SAAS,iBAAiB,EAC/E,QAAQ;GACN,KAAK;GACL,KAAK,QAAQ;GACb,KAAK,QAAQ;GACd,EACF,CAAC;AAEF,SAAO,+BAA+B,YAAY,QAAQ;;;;;;;;CAS5D,MAAa,iBACX,cACA,SACsC;EACtC,MAAMC,oBAAiD;GACrD,SAAS;GACT,aAAa,EAAE;GAChB;EAED,MAAM,QAAQ,IAAI,cAAc,EAC9B,GAAG,KAAK,mBAAmB,aAAa,EACzC,CAAC;AAEF,MAAI;GACF,IAAIC;AACJ,OAAI;AAGF,QAAI,QAAQ,sBAAsB,+BAChC,SAAQ,WAAW,UAAU;AAG/B,iBACE,QAAQ,sBAAsB,iCAC1B,QAAQ,aACR,+BAA+B,YAAY,QAAQ,WAAW;AAGpE,eAAW,SAAS,WAAW,MAAM,QAAQ,CAAC,UAAU;AAExD,sBAAkB,YAAY,YAAY,EACxC,SAAS,MACV;YACM,OAAO;AACd,sBAAkB,YAAY,YAAY;KACxC,SAAS;KACT;KACD;AAED,WAAO;;GAGT,MAAM,2BAA2B,MAAM,4BAA4B,cAAc,YAAY,CAAC,kBAAkB,CAAC;GACjH,MAAM,kBAAkB,mCAAmC,yBAAyB;GAEpF,MAAM,gBAAgB,iCAAiC,WAAW,MAAM,aAAa;GACrF,MAAM,SAAS,gBAAgB,MAAM,4BAA4B,cAAc,cAAc,GAAG;AAEhG,SAAM,OAAO;IACX,UAAU,iBAAiB,cAAc,gBAAgB;IACzD,YAAY,SAAS,iBAAiB,cAAc,OAAO,UAAU,GAAG;IACzE,CAAC;AAEF,OAAI;AACF,UAAM,MAAM,OAAO,WAAW,QAAQ;AAEtC,sBAAkB,YAAY,YAAY,EACxC,SAAS,MACV;YACM,OAAO;AACd,sBAAkB,YAAY,YAAY;KACxC,SAAS;KACT;KACD;;AAKH,OAAI,WAAW,mBAAmB,aAAa,yBAAyB,WACtE,mBAAkB,YAAY,iBAAiB;IAC7C,SAAS;IACT,OAAO,IAAI,WACT,kDAAkD,yBAAyB,GAAG,2CAA2C,WAAW,mBAAmB,SAAS,GACjK;IACF;OAED,mBAAkB,YAAY,iBAAiB,EAC7C,SAAS,MACV;AAGH,qBAAkB,UAAU,OAAO,OAAO,kBAAkB,YAAY,CAAC,OAAO,MAAM,EAAE,QAAQ;AAChG,UAAO;WACA,OAAO;AACd,qBAAkB,QAAQ;AAC1B,UAAO;;;;;;;;;CAUX,MAAa,iBACX,cACA,SAC2C;AAE3C,mBAAiB,aAAa,QAAQ,aAAa;EAGnD,MAAM,UAAU,gBAAgB,OAAO,QAAQ,aAAa;AAG5D,UAAQ,QAAQ,QAAQ;AACxB,UAAQ,MAAM,QAAQ;EAEtB,MAAM,SAAS,MAAM,yCAAyC,cAAc,QAAQ,aAAa;EAEjG,MAAM,QAAQ,IAAI,cAAc;GAC9B,GAAG,KAAK,mBAAmB,aAAa;GACxC,QAAQ,eAAe,cAAc,OAAO,UAAU;GACtD,SAAS,QAAQ,oBAAoB;GACrC,SAAS,OAAO;GACjB,CAAC;EAGF,MAAM,kBAAkB,QAAQ;AAChC,OAAK,wBAAwB,gBAAgB;EAG7C,MAAM,UAAU,MAAM,MAAM,MAA6B,SAAS,iBAAiB,EACjF,QAAQ;GACN,KAAK;GACL,KAAK,OAAO;GACZ,KAAK,QAAQ,KAAK;GACnB,EACF,CAAC;AAEF,SAAO,iCAAiC,YAAY,QAAQ;;;;;;;;CAS9D,MAAa,mBACX,cACA,SACwC;EACxC,MAAMC,oBAAmD;GACvD,SAAS;GACT,aAAa,EAAE;GAChB;EAED,MAAM,QAAQ,IAAI,cAAc,EAC9B,GAAG,KAAK,mBAAmB,aAAa,EACzC,CAAC;AAEF,MAAI;GACF,IAAIC;AACJ,OAAI;AAEF,QAAI,QAAQ,wBAAwB,iCAClC,kBAAiB,aAAa,QAAQ,aAAa,qBAAqB;AAG1E,mBACE,QAAQ,wBAAwB,mCAC5B,QAAQ,eACR,iCAAiC,YAAY,QAAQ,aAAa;AAGxE,eAAW,SAAS,aAAa,MAAM,QAAQ,CAAC,UAAU;AAE1D,sBAAkB,YAAY,YAAY,EACxC,SAAS,MACV;YACM,OAAO;AACd,sBAAkB,YAAY,YAAY;KACxC,SAAS;KACT;KACD;AAED,WAAO;;GAGT,MAAM,2BAA2B,MAAM,4BAA4B,cAAc,cAAc,CAAC,iBAAiB,CAAC;GAClH,MAAM,kBAAkB,mCAAmC,yBAAyB;GACpF,MAAM,gBAAgB,iCAAiC,aAAa,MAAM,aAAa;GACvF,MAAM,SAAS,gBAAgB,MAAM,4BAA4B,cAAc,cAAc,GAAG;AAEhG,SAAM,OAAO;IACX,UAAU,iBAAiB,cAAc,gBAAgB;IACzD,YAAY,SAAS,iBAAiB,cAAc,OAAO,UAAU,GAAG;IACzE,CAAC;AAEF,OAAI;AACF,UAAM,MAAM,OAAO,aAAa,QAAQ;AAExC,sBAAkB,YAAY,wBAAwB,EACpD,SAAS,MACV;YACM,OAAO;AACd,sBAAkB,YAAY,wBAAwB;KACpD,SAAS;KACT;KACD;;AAKH,OACE,aAAa,qBAAqB,YAClC,yBAAyB,eAAe,aAAa,qBAAqB,SAE1E,mBAAkB,YAAY,iBAAiB;IAC7C,SAAS;IACT,OAAO,IAAI,WACT,oDAAoD,yBAAyB,GAAG,6CAA6C,aAAa,qBAAqB,SAAS,GACzK;IACF;OAID,mBAAkB,YAAY,iBAAiB,EAC7C,SAAS,MACV;GAIH,MAAM,cAAc,QAAQ,aAAa,qBAAqB,qBAAqB;AAGnF,qBAAkB,YAAY,cAAc,MAAM,QAAQ,IACxD,YAAY,IAAI,OAAO,eAAe;AACpC,QAAI,EAAE,WAAW,+BAA+B,gCAC9C,QAAO;KACL,SAAS;KACT,OAAO,IAAI,WACT,oHACD;KACD,aAAa,EAAE;KAChB;IAGH,MAAM,mBAAmB,MAAM,KAAK,iBAAiB,cAAc,EACjE,YAAY,WAAW,qBACxB,CAAC;IAEF,IAAIC;IASJ,MAAM,uBAAuB,WAAW,mBAAmB;IAC3D,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,MAAa,QACX,cACA,SACyC;EACzC,MAAM,kBACJ,QAAQ,sBAAsB,iCAAiC,QAAQ,WAAW,UAAU,QAAQ;EAEtG,MAAM,oBAAoB,QAAQ;EAGlC,MAAM,mBAAmB,MADX,IAAI,cAAc,KAAK,mBAAmB,aAAa,CAAC,CACjC,QAAQ,iBAAiB,kBAAkB;AAEhF,SAAO,+BAA+B,YAAY,iBAAiB;;CAGrE,AAAQ,wBAAwB,iBAAgF;AAC9G,MAAI,CAAC,gBAAiB;AAEtB,OAAK,MAAM,SAAS,yBAAyB;AAC3C,OAAI,gBAAgB,OAClB,OAAM,IAAI,WAAW,IAAI,MAAM,4CAA4C;AAG7E,OAAI,MAAM,QAAQ,gBAAgB,IAAI,IAAI,gBAAgB,KAAK,SAAS,MAAM,CAC5E,OAAM,IAAI,WAAW,IAAI,MAAM,4CAA4C;;;CAKjF,AAAQ,mBAAmB,cAAyC;EAClE,MAAM,MAAM,aAAa,QAAQ,iBAAiB;AAElD,SAAO;GACL,QAAQ;GACR,gBAAgB,WAAW,kBAAkB,YAAY,IAAI,YAAY,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,GAAG,OAAO;GACvG;;;0CA9XJ,YAAY"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ClaimFormat } from "../models/ClaimFormat.mjs";
|
|
2
|
+
import { W3cV2Credential } from "../models/credential/W3cV2Credential.mjs";
|
|
3
|
+
import { W3cV2SdJwt } from "./W3cV2SdJwt.mjs";
|
|
4
|
+
|
|
5
|
+
//#region src/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.d.ts
|
|
6
|
+
interface W3cV2SdJwtVerifiableCredentialOptions {
|
|
7
|
+
sdJwt: W3cV2SdJwt<ClaimFormat.SdJwtW3cVc>;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Represents a Verifiable Credential encoded as a SD-JWT.
|
|
11
|
+
*
|
|
12
|
+
* @see https://www.w3.org/TR/vc-jose-cose/#securing-with-sd-jwt
|
|
13
|
+
*/
|
|
14
|
+
declare class W3cV2SdJwtVerifiableCredential {
|
|
15
|
+
constructor(options: W3cV2SdJwtVerifiableCredentialOptions);
|
|
16
|
+
static fromCompact(compact: string): W3cV2SdJwtVerifiableCredential;
|
|
17
|
+
/**
|
|
18
|
+
* The original SD-JWT.
|
|
19
|
+
*/
|
|
20
|
+
readonly sdJwt: W3cV2SdJwt<ClaimFormat.SdJwtW3cVc>;
|
|
21
|
+
/**
|
|
22
|
+
* Resolved credential is the fully resolved {@link W3cV2Credential} instance.
|
|
23
|
+
*/
|
|
24
|
+
readonly resolvedCredential: W3cV2Credential;
|
|
25
|
+
/**
|
|
26
|
+
* The encoded version of this credential.
|
|
27
|
+
*/
|
|
28
|
+
get encoded(): string;
|
|
29
|
+
/**
|
|
30
|
+
* The {@link ClaimFormat} of the credential.
|
|
31
|
+
*
|
|
32
|
+
* For W3C VC SD-JWT credentials this is always `vc+sd-jwt`.
|
|
33
|
+
*/
|
|
34
|
+
get claimFormat(): ClaimFormat.SdJwtW3cVc;
|
|
35
|
+
/**
|
|
36
|
+
* Validates the SD-JWT and the resolved credential.
|
|
37
|
+
*/
|
|
38
|
+
validate(): void;
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
export { W3cV2SdJwtVerifiableCredential, W3cV2SdJwtVerifiableCredentialOptions };
|
|
42
|
+
//# sourceMappingURL=W3cV2SdJwtVerifiableCredential.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"W3cV2SdJwtVerifiableCredential.d.mts","names":[],"sources":["../../../../src/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.ts"],"sourcesContent":[],"mappings":";;;;;UAMiB,qCAAA;SACR,WAAW,WAAA,CAAY;;;AADhC;AASA;;;AAoBoC,cApBvB,8BAAA,CAoBmC;EAAvB,WAAA,CAAA,OAAA,EAnBK,qCAmBL;EAKa,OAAA,WAAA,CAAA,OAAA,EAAA,MAAA,CAAA,EAhBK,8BAgBL;EAcV;;;kBAnBH,WAAW,WAAA,CAAY;;;;+BAKV;;;;;;;;;;qBAcV,WAAA,CAAY"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { CredoError } from "../../../error/CredoError.mjs";
|
|
4
|
+
import "../../../error/index.mjs";
|
|
5
|
+
import { MessageValidator } from "../../../utils/MessageValidator.mjs";
|
|
6
|
+
import { JsonTransformer } from "../../../utils/JsonTransformer.mjs";
|
|
7
|
+
import "../../../utils/index.mjs";
|
|
8
|
+
import { ClaimFormat } from "../models/ClaimFormat.mjs";
|
|
9
|
+
import { W3cV2Credential } from "../models/credential/W3cV2Credential.mjs";
|
|
10
|
+
import { decodeSdJwt } from "./W3cV2SdJwt.mjs";
|
|
11
|
+
|
|
12
|
+
//#region src/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.ts
|
|
13
|
+
/**
|
|
14
|
+
* Represents a Verifiable Credential encoded as a SD-JWT.
|
|
15
|
+
*
|
|
16
|
+
* @see https://www.w3.org/TR/vc-jose-cose/#securing-with-sd-jwt
|
|
17
|
+
*/
|
|
18
|
+
var W3cV2SdJwtVerifiableCredential = class W3cV2SdJwtVerifiableCredential {
|
|
19
|
+
constructor(options) {
|
|
20
|
+
this.sdJwt = options.sdJwt;
|
|
21
|
+
this.resolvedCredential = JsonTransformer.fromJSON(options.sdJwt.prettyClaims, W3cV2Credential, { validate: false });
|
|
22
|
+
this.validate();
|
|
23
|
+
}
|
|
24
|
+
static fromCompact(compact) {
|
|
25
|
+
return new W3cV2SdJwtVerifiableCredential({ sdJwt: decodeSdJwt(compact, ClaimFormat.SdJwtW3cVc) });
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The encoded version of this credential.
|
|
29
|
+
*/
|
|
30
|
+
get encoded() {
|
|
31
|
+
return this.sdJwt.compact;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The {@link ClaimFormat} of the credential.
|
|
35
|
+
*
|
|
36
|
+
* For W3C VC SD-JWT credentials this is always `vc+sd-jwt`.
|
|
37
|
+
*/
|
|
38
|
+
get claimFormat() {
|
|
39
|
+
return ClaimFormat.SdJwtW3cVc;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Validates the SD-JWT and the resolved credential.
|
|
43
|
+
*/
|
|
44
|
+
validate() {
|
|
45
|
+
MessageValidator.validateSync(this.resolvedCredential);
|
|
46
|
+
const sdJwt = this.sdJwt;
|
|
47
|
+
const header = sdJwt.header;
|
|
48
|
+
const payload = sdJwt.prettyClaims;
|
|
49
|
+
if ("typ" in header && header.typ !== "vc+sd-jwt") throw new CredoError(`The provided W3C VC SD-JWT does not have the correct 'typ' header.`);
|
|
50
|
+
if ("cyt" in header && header.cyt !== "vc") throw new CredoError(`The provided W3C VC SD-JWT does not have the correct 'cyt' header.`);
|
|
51
|
+
const iss = header.iss ?? payload.iss;
|
|
52
|
+
if (iss) {
|
|
53
|
+
if (this.resolvedCredential.issuerId !== iss) throw new CredoError(`The provided W3C VC SD-JWT has both 'iss' and 'issuer' claims, but they differ.`);
|
|
54
|
+
}
|
|
55
|
+
if (payload.jti) {
|
|
56
|
+
if (this.resolvedCredential.id && this.resolvedCredential.id !== payload.jti) throw new CredoError(`The provided W3C VC JWT has both 'jti' and 'id' claims, but they differ.`);
|
|
57
|
+
}
|
|
58
|
+
if (payload.sub) {
|
|
59
|
+
if (!this.resolvedCredential.credentialSubjectIds.includes(payload.sub)) throw new CredoError(`The provided W3C VC SD-JWT has a 'sub' claim, but it does not match any credentialSubject.`);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
65
|
+
export { W3cV2SdJwtVerifiableCredential };
|
|
66
|
+
//# sourceMappingURL=W3cV2SdJwtVerifiableCredential.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"W3cV2SdJwtVerifiableCredential.mjs","names":[],"sources":["../../../../src/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.ts"],"sourcesContent":["import { CredoError } from '../../../error'\nimport { JsonTransformer, MessageValidator } from '../../../utils'\nimport { ClaimFormat } from '../models/ClaimFormat'\nimport { W3cV2Credential } from '../models/credential/W3cV2Credential'\nimport { decodeSdJwt, type W3cV2SdJwt } from './W3cV2SdJwt'\n\nexport interface W3cV2SdJwtVerifiableCredentialOptions {\n sdJwt: W3cV2SdJwt<ClaimFormat.SdJwtW3cVc>\n}\n\n/**\n * Represents a Verifiable Credential encoded as a SD-JWT.\n *\n * @see https://www.w3.org/TR/vc-jose-cose/#securing-with-sd-jwt\n */\nexport class W3cV2SdJwtVerifiableCredential {\n public constructor(options: W3cV2SdJwtVerifiableCredentialOptions) {\n this.sdJwt = options.sdJwt\n this.resolvedCredential = JsonTransformer.fromJSON(options.sdJwt.prettyClaims, W3cV2Credential, { validate: false })\n\n // Validates the SD-JWT and resolved credential\n this.validate()\n }\n\n public static fromCompact(compact: string) {\n const sdJwt = decodeSdJwt(compact, ClaimFormat.SdJwtW3cVc)\n\n return new W3cV2SdJwtVerifiableCredential({\n sdJwt,\n })\n }\n\n /**\n * The original SD-JWT.\n */\n public readonly sdJwt: W3cV2SdJwt<ClaimFormat.SdJwtW3cVc>\n\n /**\n * Resolved credential is the fully resolved {@link W3cV2Credential} instance.\n */\n public readonly resolvedCredential: W3cV2Credential\n\n /**\n * The encoded version of this credential.\n */\n public get encoded() {\n return this.sdJwt.compact\n }\n\n /**\n * The {@link ClaimFormat} of the credential.\n *\n * For W3C VC SD-JWT credentials this is always `vc+sd-jwt`.\n */\n public get claimFormat(): ClaimFormat.SdJwtW3cVc {\n return ClaimFormat.SdJwtW3cVc\n }\n\n /**\n * Validates the SD-JWT and the resolved credential.\n */\n public validate() {\n // Validate the resolved credential according to the data model\n MessageValidator.validateSync(this.resolvedCredential)\n\n // Basic JWT validations to ensure compliance to the specification\n const sdJwt = this.sdJwt\n const header = sdJwt.header\n const payload = sdJwt.prettyClaims\n\n if ('typ' in header && header.typ !== 'vc+sd-jwt') {\n throw new CredoError(`The provided W3C VC SD-JWT does not have the correct 'typ' header.`)\n }\n\n if ('cyt' in header && header.cyt !== 'vc') {\n throw new CredoError(`The provided W3C VC SD-JWT does not have the correct 'cyt' header.`)\n }\n\n const iss = header.iss ?? payload.iss\n if (iss) {\n if (this.resolvedCredential.issuerId !== iss) {\n throw new CredoError(`The provided W3C VC SD-JWT has both 'iss' and 'issuer' claims, but they differ.`)\n }\n }\n\n if (payload.jti) {\n if (this.resolvedCredential.id && this.resolvedCredential.id !== payload.jti) {\n throw new CredoError(`The provided W3C VC JWT has both 'jti' and 'id' claims, but they differ.`)\n }\n }\n\n if (payload.sub) {\n if (!this.resolvedCredential.credentialSubjectIds.includes(payload.sub as string)) {\n throw new CredoError(\n `The provided W3C VC SD-JWT has a 'sub' claim, but it does not match any credentialSubject.`\n )\n }\n }\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAeA,IAAa,iCAAb,MAAa,+BAA+B;CAC1C,AAAO,YAAY,SAAgD;AACjE,OAAK,QAAQ,QAAQ;AACrB,OAAK,qBAAqB,gBAAgB,SAAS,QAAQ,MAAM,cAAc,iBAAiB,EAAE,UAAU,OAAO,CAAC;AAGpH,OAAK,UAAU;;CAGjB,OAAc,YAAY,SAAiB;AAGzC,SAAO,IAAI,+BAA+B,EACxC,OAHY,YAAY,SAAS,YAAY,WAAW,EAIzD,CAAC;;;;;CAgBJ,IAAW,UAAU;AACnB,SAAO,KAAK,MAAM;;;;;;;CAQpB,IAAW,cAAsC;AAC/C,SAAO,YAAY;;;;;CAMrB,AAAO,WAAW;AAEhB,mBAAiB,aAAa,KAAK,mBAAmB;EAGtD,MAAM,QAAQ,KAAK;EACnB,MAAM,SAAS,MAAM;EACrB,MAAM,UAAU,MAAM;AAEtB,MAAI,SAAS,UAAU,OAAO,QAAQ,YACpC,OAAM,IAAI,WAAW,qEAAqE;AAG5F,MAAI,SAAS,UAAU,OAAO,QAAQ,KACpC,OAAM,IAAI,WAAW,qEAAqE;EAG5F,MAAM,MAAM,OAAO,OAAO,QAAQ;AAClC,MAAI,KACF;OAAI,KAAK,mBAAmB,aAAa,IACvC,OAAM,IAAI,WAAW,kFAAkF;;AAI3G,MAAI,QAAQ,KACV;OAAI,KAAK,mBAAmB,MAAM,KAAK,mBAAmB,OAAO,QAAQ,IACvE,OAAM,IAAI,WAAW,2EAA2E;;AAIpG,MAAI,QAAQ,KACV;OAAI,CAAC,KAAK,mBAAmB,qBAAqB,SAAS,QAAQ,IAAc,CAC/E,OAAM,IAAI,WACR,6FACD"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ClaimFormat } from "../models/ClaimFormat.mjs";
|
|
2
|
+
import { W3cV2SdJwt } from "./W3cV2SdJwt.mjs";
|
|
3
|
+
import { W3cV2Presentation } from "../models/presentation/W3cV2Presentation.mjs";
|
|
4
|
+
import "../models/index.mjs";
|
|
5
|
+
|
|
6
|
+
//#region src/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.d.ts
|
|
7
|
+
interface W3cV2SdJwtVerifiablePresentationOptions {
|
|
8
|
+
sdJwt: W3cV2SdJwt<ClaimFormat.SdJwtW3cVp>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Represents a Verifiable Presentation encoded as a SD-JWT.
|
|
12
|
+
*
|
|
13
|
+
* @see https://www.w3.org/TR/vc-jose-cose/#securing-vps-sd-jwt
|
|
14
|
+
*/
|
|
15
|
+
declare class W3cV2SdJwtVerifiablePresentation {
|
|
16
|
+
constructor(options: W3cV2SdJwtVerifiablePresentationOptions);
|
|
17
|
+
static fromCompact(compact: string): W3cV2SdJwtVerifiablePresentation;
|
|
18
|
+
/**
|
|
19
|
+
* The original SD-JWT.
|
|
20
|
+
*/
|
|
21
|
+
readonly sdJwt: W3cV2SdJwt<ClaimFormat.SdJwtW3cVp>;
|
|
22
|
+
/**
|
|
23
|
+
* Resolved presentation is the fully resolved {@link W3cV2Presentation} instance.
|
|
24
|
+
*/
|
|
25
|
+
readonly resolvedPresentation: W3cV2Presentation;
|
|
26
|
+
/**
|
|
27
|
+
* The encoded version of this presentation.
|
|
28
|
+
*/
|
|
29
|
+
get encoded(): string;
|
|
30
|
+
/**
|
|
31
|
+
* The {@link ClaimFormat} of the presentation.
|
|
32
|
+
*
|
|
33
|
+
* For W3C VP SD-JWT credentials this is always `vp+sd-jwt`.
|
|
34
|
+
*/
|
|
35
|
+
get claimFormat(): ClaimFormat.SdJwtW3cVp;
|
|
36
|
+
/**
|
|
37
|
+
* Validates the SD-JWT and the resolved presentation.
|
|
38
|
+
*/
|
|
39
|
+
validate(): void;
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
export { W3cV2SdJwtVerifiablePresentation, W3cV2SdJwtVerifiablePresentationOptions };
|
|
43
|
+
//# sourceMappingURL=W3cV2SdJwtVerifiablePresentation.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"W3cV2SdJwtVerifiablePresentation.d.mts","names":[],"sources":["../../../../src/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.ts"],"sourcesContent":[],"mappings":";;;;;;UAMiB,uCAAA;SACR,WAAW,WAAA,CAAY;;;;AADhC;AASA;;AAW2C,cAX9B,gCAAA,CAW8B;EAWP,WAAY,CAAA,OAAA,EArBlB,uCAqBkB;EAAvB,OAAA,WAAA,CAAA,OAAA,EAAA,MAAA,CAAA,EAXkB,gCAWlB;EAKe;;;kBALf,WAAW,WAAA,CAAY;;;;iCAKR;;;;;;;;;;qBAcZ,WAAA,CAAY"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { CredoError } from "../../../error/CredoError.mjs";
|
|
4
|
+
import "../../../error/index.mjs";
|
|
5
|
+
import { MessageValidator } from "../../../utils/MessageValidator.mjs";
|
|
6
|
+
import { JsonTransformer } from "../../../utils/JsonTransformer.mjs";
|
|
7
|
+
import "../../../utils/index.mjs";
|
|
8
|
+
import { ClaimFormat } from "../models/ClaimFormat.mjs";
|
|
9
|
+
import { decodeSdJwt } from "./W3cV2SdJwt.mjs";
|
|
10
|
+
import { W3cV2Presentation } from "../models/presentation/W3cV2Presentation.mjs";
|
|
11
|
+
import "../models/index.mjs";
|
|
12
|
+
|
|
13
|
+
//#region src/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.ts
|
|
14
|
+
/**
|
|
15
|
+
* Represents a Verifiable Presentation encoded as a SD-JWT.
|
|
16
|
+
*
|
|
17
|
+
* @see https://www.w3.org/TR/vc-jose-cose/#securing-vps-sd-jwt
|
|
18
|
+
*/
|
|
19
|
+
var W3cV2SdJwtVerifiablePresentation = class W3cV2SdJwtVerifiablePresentation {
|
|
20
|
+
constructor(options) {
|
|
21
|
+
this.sdJwt = options.sdJwt;
|
|
22
|
+
this.resolvedPresentation = JsonTransformer.fromJSON(options.sdJwt.prettyClaims, W3cV2Presentation, { validate: false });
|
|
23
|
+
this.validate();
|
|
24
|
+
}
|
|
25
|
+
static fromCompact(compact) {
|
|
26
|
+
return new W3cV2SdJwtVerifiablePresentation({ sdJwt: decodeSdJwt(compact, ClaimFormat.SdJwtW3cVp) });
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The encoded version of this presentation.
|
|
30
|
+
*/
|
|
31
|
+
get encoded() {
|
|
32
|
+
return this.sdJwt.compact;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The {@link ClaimFormat} of the presentation.
|
|
36
|
+
*
|
|
37
|
+
* For W3C VP SD-JWT credentials this is always `vp+sd-jwt`.
|
|
38
|
+
*/
|
|
39
|
+
get claimFormat() {
|
|
40
|
+
return ClaimFormat.SdJwtW3cVp;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Validates the SD-JWT and the resolved presentation.
|
|
44
|
+
*/
|
|
45
|
+
validate() {
|
|
46
|
+
MessageValidator.validateSync(this.resolvedPresentation);
|
|
47
|
+
const sdJwt = this.sdJwt;
|
|
48
|
+
const header = sdJwt.header;
|
|
49
|
+
const payload = sdJwt.prettyClaims;
|
|
50
|
+
if ("typ" in header && header.typ !== "vp+sd-jwt") throw new CredoError(`The provided W3C VP JWT does not have the correct 'typ' header.`);
|
|
51
|
+
if ("cyt" in header && header.cyt !== "vp") throw new CredoError(`The provided W3C VP JWT does not have the correct 'cyt' header.`);
|
|
52
|
+
const iss = header.iss ?? payload.iss;
|
|
53
|
+
if (iss && this.resolvedPresentation.holderId) {
|
|
54
|
+
if (this.resolvedPresentation.holderId !== iss) throw new CredoError(`The provided W3C VP SD-JWT has both 'iss' and 'holder' claims, but they differ.`);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
60
|
+
export { W3cV2SdJwtVerifiablePresentation };
|
|
61
|
+
//# sourceMappingURL=W3cV2SdJwtVerifiablePresentation.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"W3cV2SdJwtVerifiablePresentation.mjs","names":[],"sources":["../../../../src/modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiablePresentation.ts"],"sourcesContent":["import { CredoError } from '../../../error'\nimport { JsonTransformer, MessageValidator } from '../../../utils'\nimport { ClaimFormat } from '../models'\nimport { W3cV2Presentation } from '../models/presentation/W3cV2Presentation'\nimport { decodeSdJwt, type W3cV2SdJwt } from './W3cV2SdJwt'\n\nexport interface W3cV2SdJwtVerifiablePresentationOptions {\n sdJwt: W3cV2SdJwt<ClaimFormat.SdJwtW3cVp>\n}\n\n/**\n * Represents a Verifiable Presentation encoded as a SD-JWT.\n *\n * @see https://www.w3.org/TR/vc-jose-cose/#securing-vps-sd-jwt\n */\nexport class W3cV2SdJwtVerifiablePresentation {\n public constructor(options: W3cV2SdJwtVerifiablePresentationOptions) {\n this.sdJwt = options.sdJwt\n this.resolvedPresentation = JsonTransformer.fromJSON(options.sdJwt.prettyClaims, W3cV2Presentation, {\n validate: false,\n })\n\n // Validates the SD-JWT and resolved presentation\n this.validate()\n }\n\n public static fromCompact(compact: string) {\n const sdJwt = decodeSdJwt(compact, ClaimFormat.SdJwtW3cVp)\n\n return new W3cV2SdJwtVerifiablePresentation({\n sdJwt,\n })\n }\n\n /**\n * The original SD-JWT.\n */\n public readonly sdJwt: W3cV2SdJwt<ClaimFormat.SdJwtW3cVp>\n\n /**\n * Resolved presentation is the fully resolved {@link W3cV2Presentation} instance.\n */\n public readonly resolvedPresentation: W3cV2Presentation\n\n /**\n * The encoded version of this presentation.\n */\n public get encoded() {\n return this.sdJwt.compact\n }\n\n /**\n * The {@link ClaimFormat} of the presentation.\n *\n * For W3C VP SD-JWT credentials this is always `vp+sd-jwt`.\n */\n public get claimFormat(): ClaimFormat.SdJwtW3cVp {\n return ClaimFormat.SdJwtW3cVp\n }\n\n /**\n * Validates the SD-JWT and the resolved presentation.\n */\n public validate() {\n // Validate the resolved credential according to the data model\n MessageValidator.validateSync(this.resolvedPresentation)\n\n // Basic JWT validations to ensure compliance to the specification\n const sdJwt = this.sdJwt\n const header = sdJwt.header\n const payload = sdJwt.prettyClaims\n\n if ('typ' in header && header.typ !== 'vp+sd-jwt') {\n throw new CredoError(`The provided W3C VP JWT does not have the correct 'typ' header.`)\n }\n\n if ('cyt' in header && header.cyt !== 'vp') {\n throw new CredoError(`The provided W3C VP JWT does not have the correct 'cyt' header.`)\n }\n\n const iss = header.iss ?? payload.iss\n if (iss && this.resolvedPresentation.holderId) {\n if (this.resolvedPresentation.holderId !== iss) {\n throw new CredoError(`The provided W3C VP SD-JWT has both 'iss' and 'holder' claims, but they differ.`)\n }\n }\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAeA,IAAa,mCAAb,MAAa,iCAAiC;CAC5C,AAAO,YAAY,SAAkD;AACnE,OAAK,QAAQ,QAAQ;AACrB,OAAK,uBAAuB,gBAAgB,SAAS,QAAQ,MAAM,cAAc,mBAAmB,EAClG,UAAU,OACX,CAAC;AAGF,OAAK,UAAU;;CAGjB,OAAc,YAAY,SAAiB;AAGzC,SAAO,IAAI,iCAAiC,EAC1C,OAHY,YAAY,SAAS,YAAY,WAAW,EAIzD,CAAC;;;;;CAgBJ,IAAW,UAAU;AACnB,SAAO,KAAK,MAAM;;;;;;;CAQpB,IAAW,cAAsC;AAC/C,SAAO,YAAY;;;;;CAMrB,AAAO,WAAW;AAEhB,mBAAiB,aAAa,KAAK,qBAAqB;EAGxD,MAAM,QAAQ,KAAK;EACnB,MAAM,SAAS,MAAM;EACrB,MAAM,UAAU,MAAM;AAEtB,MAAI,SAAS,UAAU,OAAO,QAAQ,YACpC,OAAM,IAAI,WAAW,kEAAkE;AAGzF,MAAI,SAAS,UAAU,OAAO,QAAQ,KACpC,OAAM,IAAI,WAAW,kEAAkE;EAGzF,MAAM,MAAM,OAAO,OAAO,QAAQ;AAClC,MAAI,OAAO,KAAK,qBAAqB,UACnC;OAAI,KAAK,qBAAqB,aAAa,IACzC,OAAM,IAAI,WAAW,kFAAkF"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { W3cV2SdJwt, W3cV2SdJwtHeader, W3cV2SdJwtPayload, decodeSdJwt, sdJwtVcHasher } from "./W3cV2SdJwt.mjs";
|
|
2
|
+
import { W3cV2SdJwtVerifiableCredential, W3cV2SdJwtVerifiableCredentialOptions } from "./W3cV2SdJwtVerifiableCredential.mjs";
|
|
3
|
+
import { W3cV2SdJwtVerifiablePresentation, W3cV2SdJwtVerifiablePresentationOptions } from "./W3cV2SdJwtVerifiablePresentation.mjs";
|
|
4
|
+
import { W3cV2SdJwtCredentialService } from "./W3cV2SdJwtCredentialService.mjs";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { decodeSdJwt, sdJwtVcHasher } from "./W3cV2SdJwt.mjs";
|
|
4
|
+
import { W3cV2SdJwtVerifiableCredential } from "./W3cV2SdJwtVerifiableCredential.mjs";
|
|
5
|
+
import { W3cV2SdJwtVerifiablePresentation } from "./W3cV2SdJwtVerifiablePresentation.mjs";
|
|
6
|
+
import { W3cV2SdJwtCredentialService } from "./W3cV2SdJwtCredentialService.mjs";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/modules/vc/util.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Formats an input date to w3c standard date format
|
|
4
|
+
* @param date {number|string} Optional if not defined current date is returned
|
|
5
|
+
*
|
|
6
|
+
* @returns {string} date in a standard format as a string
|
|
7
|
+
*/
|
|
8
|
+
declare const w3cDate: (date?: number | string) => string;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { w3cDate };
|
|
11
|
+
//# sourceMappingURL=util.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.mts","names":[],"sources":["../../../src/modules/vc/util.ts"],"sourcesContent":[],"mappings":";;;;AAMA;;;cAAa"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
//#region src/modules/vc/util.ts
|
|
4
|
+
/**
|
|
5
|
+
* Formats an input date to w3c standard date format
|
|
6
|
+
* @param date {number|string} Optional if not defined current date is returned
|
|
7
|
+
*
|
|
8
|
+
* @returns {string} date in a standard format as a string
|
|
9
|
+
*/
|
|
10
|
+
const w3cDate = (date) => {
|
|
11
|
+
let result = /* @__PURE__ */ new Date();
|
|
12
|
+
if (typeof date === "number" || typeof date === "string") result = new Date(date);
|
|
13
|
+
const str = result.toISOString();
|
|
14
|
+
return `${str.substr(0, str.length - 5)}Z`;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { w3cDate };
|
|
19
|
+
//# sourceMappingURL=util.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.mjs","names":[],"sources":["../../../src/modules/vc/util.ts"],"sourcesContent":["/**\n * Formats an input date to w3c standard date format\n * @param date {number|string} Optional if not defined current date is returned\n *\n * @returns {string} date in a standard format as a string\n */\nexport const w3cDate = (date?: number | string): string => {\n let result = new Date()\n if (typeof date === 'number' || typeof date === 'string') {\n result = new Date(date)\n }\n const str = result.toISOString()\n return `${str.substr(0, str.length - 5)}Z`\n}\n"],"mappings":";;;;;;;;;AAMA,MAAa,WAAW,SAAmC;CACzD,IAAI,yBAAS,IAAI,MAAM;AACvB,KAAI,OAAO,SAAS,YAAY,OAAO,SAAS,SAC9C,UAAS,IAAI,KAAK,KAAK;CAEzB,MAAM,MAAM,OAAO,aAAa;AAChC,QAAO,GAAG,IAAI,OAAO,GAAG,IAAI,SAAS,EAAE,CAAC"}
|