@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 @@
|
|
|
1
|
+
{"version":3,"file":"W3cV2JwtVerifiablePresentation.mjs","names":[],"sources":["../../../../src/modules/vc/jwt-vc/W3cV2JwtVerifiablePresentation.ts"],"sourcesContent":["import { Jwt } from '../../../crypto/jose/jwt/Jwt'\nimport { CredoError } from '../../../error'\nimport { JsonTransformer, MessageValidator } from '../../../utils'\nimport { ClaimFormat } from '../models'\nimport { W3cV2Presentation } from '../models/presentation/W3cV2Presentation'\n\nexport interface W3cV2JwtVerifiablePresentationOptions {\n jwt: Jwt\n}\n\n/**\n * Represents a Verifiable Presentation encoded as a JWT.\n *\n * @see https://www.w3.org/TR/vc-jose-cose/#securing-vps-with-jose\n */\nexport class W3cV2JwtVerifiablePresentation {\n public constructor(options: W3cV2JwtVerifiablePresentationOptions) {\n this.jwt = options.jwt\n this.resolvedPresentation = JsonTransformer.fromJSON(options.jwt.payload.additionalClaims, W3cV2Presentation, {\n validate: false,\n })\n\n // Validates the JWT and resolved presentation\n this.validate()\n }\n\n public static fromCompact(compact: string) {\n const jwt = Jwt.fromSerializedJwt(compact)\n\n return new W3cV2JwtVerifiablePresentation({\n jwt,\n })\n }\n\n /**\n * The original JWT.\n */\n public readonly jwt: Jwt\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.jwt.serializedJwt\n }\n\n /**\n * The {@link ClaimFormat} of the presentation.\n *\n * For W3C VP JWT credentials this is always `vp+jwt`.\n */\n public get claimFormat(): ClaimFormat.JwtW3cVp {\n return ClaimFormat.JwtW3cVp\n }\n\n /**\n * Validates the 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 jwt = this.jwt\n const header = jwt.header\n const payload = jwt.payload\n\n if ('typ' in header && header.typ !== 'vp+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 JWT has both 'iss' and 'holder' claims, but they differ.`)\n }\n }\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAeA,IAAa,iCAAb,MAAa,+BAA+B;CAC1C,AAAO,YAAY,SAAgD;AACjE,OAAK,MAAM,QAAQ;AACnB,OAAK,uBAAuB,gBAAgB,SAAS,QAAQ,IAAI,QAAQ,kBAAkB,mBAAmB,EAC5G,UAAU,OACX,CAAC;AAGF,OAAK,UAAU;;CAGjB,OAAc,YAAY,SAAiB;AAGzC,SAAO,IAAI,+BAA+B,EACxC,KAHU,IAAI,kBAAkB,QAAQ,EAIzC,CAAC;;;;;CAgBJ,IAAW,UAAU;AACnB,SAAO,KAAK,IAAI;;;;;;;CAQlB,IAAW,cAAoC;AAC7C,SAAO,YAAY;;;;;CAMrB,AAAO,WAAW;AAEhB,mBAAiB,aAAa,KAAK,qBAAqB;EAGxD,MAAM,MAAM,KAAK;EACjB,MAAM,SAAS,IAAI;EACnB,MAAM,UAAU,IAAI;AAEpB,MAAI,SAAS,UAAU,OAAO,QAAQ,SACpC,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,+EAA+E"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { CredoError } from "../../../error/CredoError.mjs";
|
|
4
|
+
import "../../../error/index.mjs";
|
|
5
|
+
import { JsonTransformer } from "../../../utils/JsonTransformer.mjs";
|
|
6
|
+
import "../../../utils/index.mjs";
|
|
7
|
+
import { isJsonObject } from "../../../types.mjs";
|
|
8
|
+
import { JwtPayload } from "../../../crypto/jose/jwt/JwtPayload.mjs";
|
|
9
|
+
import "../../../crypto/jose/jwt/index.mjs";
|
|
10
|
+
import { W3cCredential } from "../models/credential/W3cCredential.mjs";
|
|
11
|
+
import { w3cDate } from "../util.mjs";
|
|
12
|
+
import { isObject } from "class-validator";
|
|
13
|
+
|
|
14
|
+
//#region src/modules/vc/jwt-vc/credentialTransformer.ts
|
|
15
|
+
function getJwtPayloadFromCredential(credential) {
|
|
16
|
+
const vc = JsonTransformer.toJSON(credential);
|
|
17
|
+
const payloadOptions = { additionalClaims: { vc } };
|
|
18
|
+
const issuanceDate = Date.parse(credential.issuanceDate);
|
|
19
|
+
if (Number.isNaN(issuanceDate)) throw new CredoError("JWT VCs must have a valid issuance date");
|
|
20
|
+
payloadOptions.nbf = Math.floor(issuanceDate / 1e3);
|
|
21
|
+
delete vc.issuanceDate;
|
|
22
|
+
if (credential.expirationDate) {
|
|
23
|
+
const expirationDate = Date.parse(credential.expirationDate);
|
|
24
|
+
if (!Number.isNaN(expirationDate)) {
|
|
25
|
+
payloadOptions.exp = Math.floor(expirationDate / 1e3);
|
|
26
|
+
delete vc.expirationDate;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
payloadOptions.iss = credential.issuerId;
|
|
30
|
+
if (typeof vc.issuer === "string") delete vc.issuer;
|
|
31
|
+
else if (typeof vc.issuer === "object") {
|
|
32
|
+
delete vc.issuer.id;
|
|
33
|
+
if (Object.keys(vc.issuer).length === 0) delete vc.issuer;
|
|
34
|
+
}
|
|
35
|
+
if (credential.id) {
|
|
36
|
+
payloadOptions.jti = credential.id;
|
|
37
|
+
delete vc.id;
|
|
38
|
+
}
|
|
39
|
+
if (Array.isArray(credential.credentialSubject) && credential.credentialSubject.length !== 1) throw new CredoError("JWT VCs must have exactly one credential subject");
|
|
40
|
+
const [credentialSubjectId] = credential.credentialSubjectIds;
|
|
41
|
+
if (credentialSubjectId) {
|
|
42
|
+
payloadOptions.sub = credentialSubjectId;
|
|
43
|
+
if (Array.isArray(vc.credentialSubject)) delete vc.credentialSubject[0].id;
|
|
44
|
+
else delete vc.credentialSubject?.id;
|
|
45
|
+
}
|
|
46
|
+
return new JwtPayload(payloadOptions);
|
|
47
|
+
}
|
|
48
|
+
function getCredentialFromJwtPayload(jwtPayload) {
|
|
49
|
+
if (!("vc" in jwtPayload.additionalClaims) || !isJsonObject(jwtPayload.additionalClaims.vc)) throw new CredoError("JWT does not contain a valid 'vc' claim");
|
|
50
|
+
const jwtVc = jwtPayload.additionalClaims.vc;
|
|
51
|
+
if (!jwtPayload.nbf || !jwtPayload.iss) throw new CredoError("JWT does not contain valid 'nbf' and 'iss' claims");
|
|
52
|
+
if (Array.isArray(jwtVc.credentialSubject) && jwtVc.credentialSubject.length !== 1) throw new CredoError("JWT VCs must have exactly one credential subject");
|
|
53
|
+
if (Array.isArray(jwtVc.credentialSubject) && !isObject(jwtVc.credentialSubject[0])) throw new CredoError("JWT VCs must have a credential subject of type object");
|
|
54
|
+
const credentialSubject = Array.isArray(jwtVc.credentialSubject) ? jwtVc.credentialSubject[0] : jwtVc.credentialSubject;
|
|
55
|
+
if (!isJsonObject(credentialSubject)) throw new CredoError("JWT VC does not have a valid credential subject");
|
|
56
|
+
const subjectWithId = jwtPayload.sub ? {
|
|
57
|
+
...credentialSubject,
|
|
58
|
+
id: jwtPayload.sub
|
|
59
|
+
} : credentialSubject;
|
|
60
|
+
if (jwtVc.id && jwtPayload.jti !== jwtVc.id) throw new CredoError("JWT jti and vc.id do not match");
|
|
61
|
+
if (typeof jwtVc.issuer === "string" && jwtPayload.iss !== jwtVc.issuer || isJsonObject(jwtVc.issuer) && jwtVc.issuer.id && jwtPayload.iss !== jwtVc.issuer.id) throw new CredoError("JWT iss and vc.issuer(.id) do not match");
|
|
62
|
+
if (jwtVc.issuanceDate) {
|
|
63
|
+
if (typeof jwtVc.issuanceDate !== "string") throw new CredoError("JWT vc.issuanceDate must be a string");
|
|
64
|
+
const issuanceDate = Date.parse(jwtVc.issuanceDate) / 1e3;
|
|
65
|
+
if (jwtPayload.nbf !== issuanceDate) throw new CredoError("JWT nbf and vc.issuanceDate do not match");
|
|
66
|
+
}
|
|
67
|
+
if (jwtVc.expirationDate) {
|
|
68
|
+
if (typeof jwtVc.expirationDate !== "string") throw new CredoError("JWT vc.expirationDate must be a string");
|
|
69
|
+
if (Date.parse(jwtVc.expirationDate) / 1e3 !== jwtPayload.exp) throw new CredoError("JWT exp and vc.expirationDate do not match");
|
|
70
|
+
}
|
|
71
|
+
if (isJsonObject(jwtVc.credentialSubject) && jwtVc.credentialSubject.id && jwtPayload.sub !== jwtVc.credentialSubject.id || Array.isArray(jwtVc.credentialSubject) && isJsonObject(jwtVc.credentialSubject[0]) && jwtVc.credentialSubject[0].id && jwtPayload.sub !== jwtVc.credentialSubject[0].id) throw new CredoError("JWT sub and vc.credentialSubject.id do not match");
|
|
72
|
+
const dataModelVc = {
|
|
73
|
+
...jwtVc,
|
|
74
|
+
issuanceDate: w3cDate(jwtPayload.nbf * 1e3),
|
|
75
|
+
expirationDate: jwtPayload.exp ? w3cDate(jwtPayload.exp * 1e3) : void 0,
|
|
76
|
+
issuer: typeof jwtVc.issuer === "object" ? {
|
|
77
|
+
...jwtVc.issuer,
|
|
78
|
+
id: jwtPayload.iss
|
|
79
|
+
} : jwtPayload.iss,
|
|
80
|
+
id: jwtPayload.jti,
|
|
81
|
+
credentialSubject: Array.isArray(jwtVc.credentialSubject) ? [subjectWithId] : subjectWithId
|
|
82
|
+
};
|
|
83
|
+
return JsonTransformer.fromJSON(dataModelVc, W3cCredential);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
//#endregion
|
|
87
|
+
export { getCredentialFromJwtPayload, getJwtPayloadFromCredential };
|
|
88
|
+
//# sourceMappingURL=credentialTransformer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credentialTransformer.mjs","names":["payloadOptions: JwtPayloadOptions"],"sources":["../../../../src/modules/vc/jwt-vc/credentialTransformer.ts"],"sourcesContent":["import { isObject } from 'class-validator'\nimport type { JwtPayloadOptions } from '../../../crypto/jose/jwt'\n\nimport { JwtPayload } from '../../../crypto/jose/jwt'\nimport { CredoError } from '../../../error'\nimport { isJsonObject } from '../../../types'\nimport { JsonTransformer } from '../../../utils'\nimport { W3cCredential } from '../models/credential/W3cCredential'\nimport { w3cDate } from '../util'\n\nexport function getJwtPayloadFromCredential(credential: W3cCredential) {\n const vc = JsonTransformer.toJSON(credential)\n\n const payloadOptions: JwtPayloadOptions = {\n additionalClaims: {\n vc,\n },\n }\n\n // Extract `nbf` and remove issuance date from vc\n const issuanceDate = Date.parse(credential.issuanceDate)\n if (Number.isNaN(issuanceDate)) {\n throw new CredoError('JWT VCs must have a valid issuance date')\n }\n payloadOptions.nbf = Math.floor(issuanceDate / 1000)\n // biome-ignore lint/performance/noDelete: no explanation\n delete vc.issuanceDate\n\n // Extract `exp` and remove expiration date from vc\n if (credential.expirationDate) {\n const expirationDate = Date.parse(credential.expirationDate)\n if (!Number.isNaN(expirationDate)) {\n payloadOptions.exp = Math.floor(expirationDate / 1000)\n // biome-ignore lint/performance/noDelete: no explanation\n delete vc.expirationDate\n }\n }\n\n // Extract `iss` and remove issuer id from vc\n payloadOptions.iss = credential.issuerId\n if (typeof vc.issuer === 'string') {\n // biome-ignore lint/performance/noDelete: no explanation\n delete vc.issuer\n } else if (typeof vc.issuer === 'object') {\n // biome-ignore lint/performance/noDelete: no explanation\n delete vc.issuer.id\n if (Object.keys(vc.issuer).length === 0) {\n // biome-ignore lint/performance/noDelete: no explanation\n delete vc.issuer\n }\n }\n\n // Extract `jti` and remove id from vc\n if (credential.id) {\n payloadOptions.jti = credential.id\n // biome-ignore lint/performance/noDelete: no explanation\n delete vc.id\n }\n\n if (Array.isArray(credential.credentialSubject) && credential.credentialSubject.length !== 1) {\n throw new CredoError('JWT VCs must have exactly one credential subject')\n }\n\n // Extract `sub` and remove credential subject id from vc\n const [credentialSubjectId] = credential.credentialSubjectIds\n if (credentialSubjectId) {\n payloadOptions.sub = credentialSubjectId\n\n if (Array.isArray(vc.credentialSubject)) {\n // biome-ignore lint/performance/noDelete: no explanation\n delete vc.credentialSubject[0].id\n } else {\n // biome-ignore lint/performance/noDelete: no explanation\n delete vc.credentialSubject?.id\n }\n }\n\n return new JwtPayload(payloadOptions)\n}\n\nexport function getCredentialFromJwtPayload(jwtPayload: JwtPayload) {\n if (!('vc' in jwtPayload.additionalClaims) || !isJsonObject(jwtPayload.additionalClaims.vc)) {\n throw new CredoError(\"JWT does not contain a valid 'vc' claim\")\n }\n\n const jwtVc = jwtPayload.additionalClaims.vc\n\n if (!jwtPayload.nbf || !jwtPayload.iss) {\n throw new CredoError(\"JWT does not contain valid 'nbf' and 'iss' claims\")\n }\n\n if (Array.isArray(jwtVc.credentialSubject) && jwtVc.credentialSubject.length !== 1) {\n throw new CredoError('JWT VCs must have exactly one credential subject')\n }\n\n if (Array.isArray(jwtVc.credentialSubject) && !isObject(jwtVc.credentialSubject[0])) {\n throw new CredoError('JWT VCs must have a credential subject of type object')\n }\n\n const credentialSubject = Array.isArray(jwtVc.credentialSubject)\n ? jwtVc.credentialSubject[0]\n : jwtVc.credentialSubject\n if (!isJsonObject(credentialSubject)) {\n throw new CredoError('JWT VC does not have a valid credential subject')\n }\n const subjectWithId = jwtPayload.sub ? { ...credentialSubject, id: jwtPayload.sub } : credentialSubject\n\n // Validate vc.id and jti\n if (jwtVc.id && jwtPayload.jti !== jwtVc.id) {\n throw new CredoError('JWT jti and vc.id do not match')\n }\n\n // Validate vc.issuer and iss\n if (\n (typeof jwtVc.issuer === 'string' && jwtPayload.iss !== jwtVc.issuer) ||\n (isJsonObject(jwtVc.issuer) && jwtVc.issuer.id && jwtPayload.iss !== jwtVc.issuer.id)\n ) {\n throw new CredoError('JWT iss and vc.issuer(.id) do not match')\n }\n\n // Validate vc.issuanceDate and nbf\n if (jwtVc.issuanceDate) {\n if (typeof jwtVc.issuanceDate !== 'string') {\n throw new CredoError('JWT vc.issuanceDate must be a string')\n }\n\n const issuanceDate = Date.parse(jwtVc.issuanceDate) / 1000\n if (jwtPayload.nbf !== issuanceDate) {\n throw new CredoError('JWT nbf and vc.issuanceDate do not match')\n }\n }\n\n // Validate vc.expirationDate and exp\n if (jwtVc.expirationDate) {\n if (typeof jwtVc.expirationDate !== 'string') {\n throw new CredoError('JWT vc.expirationDate must be a string')\n }\n\n const expirationDate = Date.parse(jwtVc.expirationDate) / 1000\n if (expirationDate !== jwtPayload.exp) {\n throw new CredoError('JWT exp and vc.expirationDate do not match')\n }\n }\n\n // Validate vc.credentialSubject.id and sub\n if (\n (isJsonObject(jwtVc.credentialSubject) &&\n jwtVc.credentialSubject.id &&\n jwtPayload.sub !== jwtVc.credentialSubject.id) ||\n (Array.isArray(jwtVc.credentialSubject) &&\n isJsonObject(jwtVc.credentialSubject[0]) &&\n jwtVc.credentialSubject[0].id &&\n jwtPayload.sub !== jwtVc.credentialSubject[0].id)\n ) {\n throw new CredoError('JWT sub and vc.credentialSubject.id do not match')\n }\n\n // Create a verifiable credential structure that is compatible with the VC data model\n const dataModelVc = {\n ...jwtVc,\n issuanceDate: w3cDate(jwtPayload.nbf * 1000),\n expirationDate: jwtPayload.exp ? w3cDate(jwtPayload.exp * 1000) : undefined,\n issuer: typeof jwtVc.issuer === 'object' ? { ...jwtVc.issuer, id: jwtPayload.iss } : jwtPayload.iss,\n id: jwtPayload.jti,\n credentialSubject: Array.isArray(jwtVc.credentialSubject) ? [subjectWithId] : subjectWithId,\n }\n\n const vcInstance = JsonTransformer.fromJSON(dataModelVc, W3cCredential)\n\n return vcInstance\n}\n"],"mappings":";;;;;;;;;;;;;;AAUA,SAAgB,4BAA4B,YAA2B;CACrE,MAAM,KAAK,gBAAgB,OAAO,WAAW;CAE7C,MAAMA,iBAAoC,EACxC,kBAAkB,EAChB,IACD,EACF;CAGD,MAAM,eAAe,KAAK,MAAM,WAAW,aAAa;AACxD,KAAI,OAAO,MAAM,aAAa,CAC5B,OAAM,IAAI,WAAW,0CAA0C;AAEjE,gBAAe,MAAM,KAAK,MAAM,eAAe,IAAK;AAEpD,QAAO,GAAG;AAGV,KAAI,WAAW,gBAAgB;EAC7B,MAAM,iBAAiB,KAAK,MAAM,WAAW,eAAe;AAC5D,MAAI,CAAC,OAAO,MAAM,eAAe,EAAE;AACjC,kBAAe,MAAM,KAAK,MAAM,iBAAiB,IAAK;AAEtD,UAAO,GAAG;;;AAKd,gBAAe,MAAM,WAAW;AAChC,KAAI,OAAO,GAAG,WAAW,SAEvB,QAAO,GAAG;UACD,OAAO,GAAG,WAAW,UAAU;AAExC,SAAO,GAAG,OAAO;AACjB,MAAI,OAAO,KAAK,GAAG,OAAO,CAAC,WAAW,EAEpC,QAAO,GAAG;;AAKd,KAAI,WAAW,IAAI;AACjB,iBAAe,MAAM,WAAW;AAEhC,SAAO,GAAG;;AAGZ,KAAI,MAAM,QAAQ,WAAW,kBAAkB,IAAI,WAAW,kBAAkB,WAAW,EACzF,OAAM,IAAI,WAAW,mDAAmD;CAI1E,MAAM,CAAC,uBAAuB,WAAW;AACzC,KAAI,qBAAqB;AACvB,iBAAe,MAAM;AAErB,MAAI,MAAM,QAAQ,GAAG,kBAAkB,CAErC,QAAO,GAAG,kBAAkB,GAAG;MAG/B,QAAO,GAAG,mBAAmB;;AAIjC,QAAO,IAAI,WAAW,eAAe;;AAGvC,SAAgB,4BAA4B,YAAwB;AAClE,KAAI,EAAE,QAAQ,WAAW,qBAAqB,CAAC,aAAa,WAAW,iBAAiB,GAAG,CACzF,OAAM,IAAI,WAAW,0CAA0C;CAGjE,MAAM,QAAQ,WAAW,iBAAiB;AAE1C,KAAI,CAAC,WAAW,OAAO,CAAC,WAAW,IACjC,OAAM,IAAI,WAAW,oDAAoD;AAG3E,KAAI,MAAM,QAAQ,MAAM,kBAAkB,IAAI,MAAM,kBAAkB,WAAW,EAC/E,OAAM,IAAI,WAAW,mDAAmD;AAG1E,KAAI,MAAM,QAAQ,MAAM,kBAAkB,IAAI,CAAC,SAAS,MAAM,kBAAkB,GAAG,CACjF,OAAM,IAAI,WAAW,wDAAwD;CAG/E,MAAM,oBAAoB,MAAM,QAAQ,MAAM,kBAAkB,GAC5D,MAAM,kBAAkB,KACxB,MAAM;AACV,KAAI,CAAC,aAAa,kBAAkB,CAClC,OAAM,IAAI,WAAW,kDAAkD;CAEzE,MAAM,gBAAgB,WAAW,MAAM;EAAE,GAAG;EAAmB,IAAI,WAAW;EAAK,GAAG;AAGtF,KAAI,MAAM,MAAM,WAAW,QAAQ,MAAM,GACvC,OAAM,IAAI,WAAW,iCAAiC;AAIxD,KACG,OAAO,MAAM,WAAW,YAAY,WAAW,QAAQ,MAAM,UAC7D,aAAa,MAAM,OAAO,IAAI,MAAM,OAAO,MAAM,WAAW,QAAQ,MAAM,OAAO,GAElF,OAAM,IAAI,WAAW,0CAA0C;AAIjE,KAAI,MAAM,cAAc;AACtB,MAAI,OAAO,MAAM,iBAAiB,SAChC,OAAM,IAAI,WAAW,uCAAuC;EAG9D,MAAM,eAAe,KAAK,MAAM,MAAM,aAAa,GAAG;AACtD,MAAI,WAAW,QAAQ,aACrB,OAAM,IAAI,WAAW,2CAA2C;;AAKpE,KAAI,MAAM,gBAAgB;AACxB,MAAI,OAAO,MAAM,mBAAmB,SAClC,OAAM,IAAI,WAAW,yCAAyC;AAIhE,MADuB,KAAK,MAAM,MAAM,eAAe,GAAG,QACnC,WAAW,IAChC,OAAM,IAAI,WAAW,6CAA6C;;AAKtE,KACG,aAAa,MAAM,kBAAkB,IACpC,MAAM,kBAAkB,MACxB,WAAW,QAAQ,MAAM,kBAAkB,MAC5C,MAAM,QAAQ,MAAM,kBAAkB,IACrC,aAAa,MAAM,kBAAkB,GAAG,IACxC,MAAM,kBAAkB,GAAG,MAC3B,WAAW,QAAQ,MAAM,kBAAkB,GAAG,GAEhD,OAAM,IAAI,WAAW,mDAAmD;CAI1E,MAAM,cAAc;EAClB,GAAG;EACH,cAAc,QAAQ,WAAW,MAAM,IAAK;EAC5C,gBAAgB,WAAW,MAAM,QAAQ,WAAW,MAAM,IAAK,GAAG;EAClE,QAAQ,OAAO,MAAM,WAAW,WAAW;GAAE,GAAG,MAAM;GAAQ,IAAI,WAAW;GAAK,GAAG,WAAW;EAChG,IAAI,WAAW;EACf,mBAAmB,MAAM,QAAQ,MAAM,kBAAkB,GAAG,CAAC,cAAc,GAAG;EAC/E;AAID,QAFmB,gBAAgB,SAAS,aAAa,cAAc"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { W3cV2JwtVerifiableCredential, W3cV2JwtVerifiableCredentialOptions } from "./W3cV2JwtVerifiableCredential.mjs";
|
|
2
|
+
import { W3cJwtVerifiableCredential, W3cJwtVerifiableCredentialOptions } from "./W3cJwtVerifiableCredential.mjs";
|
|
3
|
+
import { W3cJwtVerifiablePresentation, W3cJwtVerifiablePresentationOptions } from "./W3cJwtVerifiablePresentation.mjs";
|
|
4
|
+
import { W3cJwtCredentialService } from "./W3cJwtCredentialService.mjs";
|
|
5
|
+
import { W3cV2JwtVerifiablePresentation, W3cV2JwtVerifiablePresentationOptions } from "./W3cV2JwtVerifiablePresentation.mjs";
|
|
6
|
+
import { W3cV2JwtCredentialService } from "./W3cV2JwtCredentialService.mjs";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { W3cV2JwtVerifiableCredential } from "./W3cV2JwtVerifiableCredential.mjs";
|
|
4
|
+
import { W3cJwtVerifiableCredential } from "./W3cJwtVerifiableCredential.mjs";
|
|
5
|
+
import { W3cJwtVerifiablePresentation } from "./W3cJwtVerifiablePresentation.mjs";
|
|
6
|
+
import { W3cJwtCredentialService } from "./W3cJwtCredentialService.mjs";
|
|
7
|
+
import { W3cV2JwtVerifiablePresentation } from "./W3cV2JwtVerifiablePresentation.mjs";
|
|
8
|
+
import { W3cV2JwtCredentialService } from "./W3cV2JwtCredentialService.mjs";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { CredoError } from "../../../error/CredoError.mjs";
|
|
4
|
+
import "../../../error/index.mjs";
|
|
5
|
+
import { JsonTransformer } from "../../../utils/JsonTransformer.mjs";
|
|
6
|
+
import "../../../utils/index.mjs";
|
|
7
|
+
import { isJsonObject } from "../../../types.mjs";
|
|
8
|
+
import { JwtPayload } from "../../../crypto/jose/jwt/JwtPayload.mjs";
|
|
9
|
+
import "../../../crypto/jose/jwt/index.mjs";
|
|
10
|
+
import { W3cPresentation } from "../models/presentation/W3cPresentation.mjs";
|
|
11
|
+
|
|
12
|
+
//#region src/modules/vc/jwt-vc/presentationTransformer.ts
|
|
13
|
+
function getJwtPayloadFromPresentation(presentation) {
|
|
14
|
+
const vp = JsonTransformer.toJSON(presentation);
|
|
15
|
+
const payloadOptions = { additionalClaims: { vp } };
|
|
16
|
+
if (presentation.holderId) {
|
|
17
|
+
payloadOptions.iss = presentation.holderId;
|
|
18
|
+
if (typeof vp.holder === "string") delete vp.holder;
|
|
19
|
+
else if (typeof vp.holder === "object") {
|
|
20
|
+
delete vp.holder.id;
|
|
21
|
+
if (Object.keys(vp.holder).length === 0) delete vp.holder;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
if (presentation.id) {
|
|
25
|
+
payloadOptions.jti = presentation.id;
|
|
26
|
+
delete vp.id;
|
|
27
|
+
}
|
|
28
|
+
return new JwtPayload(payloadOptions);
|
|
29
|
+
}
|
|
30
|
+
function getPresentationFromJwtPayload(jwtPayload) {
|
|
31
|
+
if (!("vp" in jwtPayload.additionalClaims) || !isJsonObject(jwtPayload.additionalClaims.vp)) throw new CredoError("JWT does not contain a valid 'vp' claim");
|
|
32
|
+
const jwtVp = jwtPayload.additionalClaims.vp;
|
|
33
|
+
if (jwtVp.id && jwtPayload.jti !== jwtVp.id) throw new CredoError("JWT jti and vp.id do not match");
|
|
34
|
+
if (typeof jwtVp.holder === "string" && jwtPayload.iss !== jwtVp.holder || isJsonObject(jwtVp.holder) && jwtVp.holder.id && jwtPayload.iss !== jwtVp.holder.id) throw new CredoError("JWT iss and vp.holder(.id) do not match");
|
|
35
|
+
const dataModelVp = {
|
|
36
|
+
...jwtVp,
|
|
37
|
+
id: jwtPayload.jti,
|
|
38
|
+
holder: jwtPayload.iss
|
|
39
|
+
};
|
|
40
|
+
return JsonTransformer.fromJSON(dataModelVp, W3cPresentation);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
//#endregion
|
|
44
|
+
export { getJwtPayloadFromPresentation, getPresentationFromJwtPayload };
|
|
45
|
+
//# sourceMappingURL=presentationTransformer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presentationTransformer.mjs","names":["payloadOptions: JwtPayloadOptions"],"sources":["../../../../src/modules/vc/jwt-vc/presentationTransformer.ts"],"sourcesContent":["import type { JwtPayloadOptions } from '../../../crypto/jose/jwt'\nimport { JwtPayload } from '../../../crypto/jose/jwt'\nimport { CredoError } from '../../../error'\nimport { isJsonObject } from '../../../types'\nimport { JsonTransformer } from '../../../utils'\nimport type { W3cJsonPresentation } from '../models/presentation/W3cJsonPresentation'\nimport { W3cPresentation } from '../models/presentation/W3cPresentation'\n\nexport function getJwtPayloadFromPresentation(presentation: W3cPresentation) {\n const vp = JsonTransformer.toJSON(presentation) as Partial<W3cJsonPresentation>\n\n const payloadOptions: JwtPayloadOptions = {\n additionalClaims: {\n vp,\n },\n }\n\n // Extract `iss` and remove holder id from vp\n if (presentation.holderId) {\n payloadOptions.iss = presentation.holderId\n\n if (typeof vp.holder === 'string') {\n // biome-ignore lint/performance/noDelete: no explanation\n delete vp.holder\n } else if (typeof vp.holder === 'object') {\n // biome-ignore lint/performance/noDelete: no explanation\n delete vp.holder.id\n if (Object.keys(vp.holder).length === 0) {\n // biome-ignore lint/performance/noDelete: no explanation\n delete vp.holder\n }\n }\n }\n\n // Extract `jti` and remove id from vp\n if (presentation.id) {\n payloadOptions.jti = presentation.id\n // biome-ignore lint/performance/noDelete: no explanation\n delete vp.id\n }\n\n return new JwtPayload(payloadOptions)\n}\n\nexport function getPresentationFromJwtPayload(jwtPayload: JwtPayload) {\n if (!('vp' in jwtPayload.additionalClaims) || !isJsonObject(jwtPayload.additionalClaims.vp)) {\n throw new CredoError(\"JWT does not contain a valid 'vp' claim\")\n }\n\n const jwtVp = jwtPayload.additionalClaims.vp\n\n // Validate vp.id and jti\n if (jwtVp.id && jwtPayload.jti !== jwtVp.id) {\n throw new CredoError('JWT jti and vp.id do not match')\n }\n\n // Validate vp.holder and iss\n if (\n (typeof jwtVp.holder === 'string' && jwtPayload.iss !== jwtVp.holder) ||\n (isJsonObject(jwtVp.holder) && jwtVp.holder.id && jwtPayload.iss !== jwtVp.holder.id)\n ) {\n throw new CredoError('JWT iss and vp.holder(.id) do not match')\n }\n\n const dataModelVp = {\n ...jwtVp,\n id: jwtPayload.jti,\n holder: jwtPayload.iss,\n }\n\n const vpInstance = JsonTransformer.fromJSON(dataModelVp, W3cPresentation)\n\n return vpInstance\n}\n"],"mappings":";;;;;;;;;;;;AAQA,SAAgB,8BAA8B,cAA+B;CAC3E,MAAM,KAAK,gBAAgB,OAAO,aAAa;CAE/C,MAAMA,iBAAoC,EACxC,kBAAkB,EAChB,IACD,EACF;AAGD,KAAI,aAAa,UAAU;AACzB,iBAAe,MAAM,aAAa;AAElC,MAAI,OAAO,GAAG,WAAW,SAEvB,QAAO,GAAG;WACD,OAAO,GAAG,WAAW,UAAU;AAExC,UAAO,GAAG,OAAO;AACjB,OAAI,OAAO,KAAK,GAAG,OAAO,CAAC,WAAW,EAEpC,QAAO,GAAG;;;AAMhB,KAAI,aAAa,IAAI;AACnB,iBAAe,MAAM,aAAa;AAElC,SAAO,GAAG;;AAGZ,QAAO,IAAI,WAAW,eAAe;;AAGvC,SAAgB,8BAA8B,YAAwB;AACpE,KAAI,EAAE,QAAQ,WAAW,qBAAqB,CAAC,aAAa,WAAW,iBAAiB,GAAG,CACzF,OAAM,IAAI,WAAW,0CAA0C;CAGjE,MAAM,QAAQ,WAAW,iBAAiB;AAG1C,KAAI,MAAM,MAAM,WAAW,QAAQ,MAAM,GACvC,OAAM,IAAI,WAAW,iCAAiC;AAIxD,KACG,OAAO,MAAM,WAAW,YAAY,WAAW,QAAQ,MAAM,UAC7D,aAAa,MAAM,OAAO,IAAI,MAAM,OAAO,MAAM,WAAW,QAAQ,MAAM,OAAO,GAElF,OAAM,IAAI,WAAW,0CAA0C;CAGjE,MAAM,cAAc;EAClB,GAAG;EACH,IAAI,WAAW;EACf,QAAQ,WAAW;EACpB;AAID,QAFmB,gBAAgB,SAAS,aAAa,gBAAgB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
//#region src/modules/vc/models/ClaimFormat.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Defines the claim format based on the formats registered in
|
|
4
|
+
* [DIF Claim Format Registry](https://identity.foundation/claim-format-registry/).
|
|
5
|
+
*/
|
|
6
|
+
declare enum ClaimFormat {
|
|
7
|
+
Jwt = "jwt",
|
|
8
|
+
JwtVc = "jwt_vc",
|
|
9
|
+
JwtVp = "jwt_vp",
|
|
10
|
+
Ldp = "ldp",
|
|
11
|
+
LdpVc = "ldp_vc",
|
|
12
|
+
LdpVp = "ldp_vp",
|
|
13
|
+
Di = "di",
|
|
14
|
+
DiVc = "di_vc",
|
|
15
|
+
DiVp = "di_vp",
|
|
16
|
+
SdJwtDc = "dc+sd-jwt",
|
|
17
|
+
JwtW3cVc = "vc+jwt",
|
|
18
|
+
JwtW3cVp = "vp+jwt",
|
|
19
|
+
SdJwtW3cVc = "vc+sd-jwt",
|
|
20
|
+
SdJwtW3cVp = "vp+sd-jwt",
|
|
21
|
+
MsoMdoc = "mso_mdoc",
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { ClaimFormat };
|
|
25
|
+
//# sourceMappingURL=ClaimFormat.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClaimFormat.d.mts","names":[],"sources":["../../../../src/modules/vc/models/ClaimFormat.ts"],"sourcesContent":[],"mappings":";;;;AAIA;aAAY,WAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
//#region src/modules/vc/models/ClaimFormat.ts
|
|
4
|
+
/**
|
|
5
|
+
* Defines the claim format based on the formats registered in
|
|
6
|
+
* [DIF Claim Format Registry](https://identity.foundation/claim-format-registry/).
|
|
7
|
+
*/
|
|
8
|
+
let ClaimFormat = /* @__PURE__ */ function(ClaimFormat$1) {
|
|
9
|
+
ClaimFormat$1["Jwt"] = "jwt";
|
|
10
|
+
ClaimFormat$1["JwtVc"] = "jwt_vc";
|
|
11
|
+
ClaimFormat$1["JwtVp"] = "jwt_vp";
|
|
12
|
+
ClaimFormat$1["Ldp"] = "ldp";
|
|
13
|
+
ClaimFormat$1["LdpVc"] = "ldp_vc";
|
|
14
|
+
ClaimFormat$1["LdpVp"] = "ldp_vp";
|
|
15
|
+
ClaimFormat$1["Di"] = "di";
|
|
16
|
+
ClaimFormat$1["DiVc"] = "di_vc";
|
|
17
|
+
ClaimFormat$1["DiVp"] = "di_vp";
|
|
18
|
+
ClaimFormat$1["SdJwtDc"] = "dc+sd-jwt";
|
|
19
|
+
ClaimFormat$1["JwtW3cVc"] = "vc+jwt";
|
|
20
|
+
ClaimFormat$1["JwtW3cVp"] = "vp+jwt";
|
|
21
|
+
ClaimFormat$1["SdJwtW3cVc"] = "vc+sd-jwt";
|
|
22
|
+
ClaimFormat$1["SdJwtW3cVp"] = "vp+sd-jwt";
|
|
23
|
+
ClaimFormat$1["MsoMdoc"] = "mso_mdoc";
|
|
24
|
+
return ClaimFormat$1;
|
|
25
|
+
}({});
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
export { ClaimFormat };
|
|
29
|
+
//# sourceMappingURL=ClaimFormat.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClaimFormat.mjs","names":[],"sources":["../../../../src/modules/vc/models/ClaimFormat.ts"],"sourcesContent":["/**\n * Defines the claim format based on the formats registered in\n * [DIF Claim Format Registry](https://identity.foundation/claim-format-registry/).\n */\nexport enum ClaimFormat {\n Jwt = 'jwt',\n JwtVc = 'jwt_vc',\n JwtVp = 'jwt_vp',\n Ldp = 'ldp',\n LdpVc = 'ldp_vc',\n LdpVp = 'ldp_vp',\n Di = 'di',\n DiVc = 'di_vc',\n DiVp = 'di_vp',\n SdJwtDc = 'dc+sd-jwt',\n JwtW3cVc = 'vc+jwt',\n JwtW3cVp = 'vp+jwt',\n SdJwtW3cVc = 'vc+sd-jwt',\n SdJwtW3cVp = 'vp+sd-jwt',\n MsoMdoc = 'mso_mdoc',\n}\n"],"mappings":";;;;;;;AAIA,IAAY,sDAAL;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { SingleValidationResult } from "./W3cVerifyResult.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/modules/vc/models/W3cV2VerifyResult.d.ts
|
|
4
|
+
type W3cV2VerifyPresentationResult = W3cV2VerifyResult<W3cV2PresentationValidations>;
|
|
5
|
+
type W3cV2VerifyCredentialResult = W3cV2VerifyResult<W3cV2CredentialValidations>;
|
|
6
|
+
interface W3cV2VerifyResult<Validations> {
|
|
7
|
+
/**
|
|
8
|
+
* Whether the verification as a whole is valid. This means that
|
|
9
|
+
* all validations inside the validations object should have passed.
|
|
10
|
+
*/
|
|
11
|
+
isValid: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Validations that have been performed
|
|
14
|
+
*/
|
|
15
|
+
validations: Partial<Validations>;
|
|
16
|
+
/**
|
|
17
|
+
* Error that was caught during verification not related to
|
|
18
|
+
* any of the specific validations that are performed
|
|
19
|
+
*/
|
|
20
|
+
error?: Error;
|
|
21
|
+
}
|
|
22
|
+
interface W3cV2CredentialValidations {
|
|
23
|
+
/**
|
|
24
|
+
* Validation that validates whether the credential conforms
|
|
25
|
+
* to the data model and is currently valid (not expired or
|
|
26
|
+
* issued in the future).
|
|
27
|
+
*/
|
|
28
|
+
dataModel: SingleValidationResult;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the signature of the credential is valid
|
|
31
|
+
*/
|
|
32
|
+
signature: SingleValidationResult;
|
|
33
|
+
/**
|
|
34
|
+
* Whether the 'issuer' of the credential is also the
|
|
35
|
+
* signer of the credential proof
|
|
36
|
+
*/
|
|
37
|
+
issuerIsSigner: SingleValidationResult;
|
|
38
|
+
}
|
|
39
|
+
interface W3cV2PresentationValidations {
|
|
40
|
+
/**
|
|
41
|
+
* Validation that validates whether the presentation conforms
|
|
42
|
+
* to the data model.
|
|
43
|
+
*/
|
|
44
|
+
dataModel: SingleValidationResult;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the signature of the presentation is valid
|
|
47
|
+
*/
|
|
48
|
+
presentationSignature: SingleValidationResult;
|
|
49
|
+
/**
|
|
50
|
+
* Validation results of the credentials inside the presentation.
|
|
51
|
+
* The order matches the order of credentials in the presentation.
|
|
52
|
+
*
|
|
53
|
+
* This object extends the credential verification result with the exception that
|
|
54
|
+
* a new `credentialSubjectAuthentication` has been added.
|
|
55
|
+
*/
|
|
56
|
+
credentials: W3cV2VerifyResult<W3cV2CredentialValidations & {
|
|
57
|
+
/**
|
|
58
|
+
* Whether the credential subject authentication is valid. Note this only
|
|
59
|
+
* takes into account credentialSubject authentication, and not cases where
|
|
60
|
+
* the holder of a credential may be different from the credential subject.
|
|
61
|
+
*
|
|
62
|
+
* The credentialSubject authentication is deemed valid in the following cases:
|
|
63
|
+
* - The credential has no credential subject identifiers. In this case the
|
|
64
|
+
* credential is seen as a bearer credential and thus authentication is not needed.
|
|
65
|
+
* - The credential has AT LEAST one credential subject id, and the presentation
|
|
66
|
+
* is signed by at least one of the credential subject ids.
|
|
67
|
+
*/
|
|
68
|
+
credentialSubjectAuthentication: SingleValidationResult;
|
|
69
|
+
}>[];
|
|
70
|
+
/**
|
|
71
|
+
* Whether the presentation is signed by the 'holder' of the
|
|
72
|
+
* presentation.
|
|
73
|
+
*
|
|
74
|
+
* NOTE: this check will return the value `true` for `isValid`
|
|
75
|
+
* when the `holder` property is not set on the presentation.
|
|
76
|
+
* as the goal of this validation is to assert whether the
|
|
77
|
+
* 'holder' property that is used in the presentation is valid.
|
|
78
|
+
* If the property is not present, the validation can be seen as
|
|
79
|
+
* successful
|
|
80
|
+
*/
|
|
81
|
+
holderIsSigner: SingleValidationResult;
|
|
82
|
+
}
|
|
83
|
+
//#endregion
|
|
84
|
+
export { W3cV2VerifyCredentialResult, W3cV2VerifyPresentationResult };
|
|
85
|
+
//# sourceMappingURL=W3cV2VerifyResult.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"W3cV2VerifyResult.d.mts","names":[],"sources":["../../../../src/modules/vc/models/W3cV2VerifyResult.ts"],"sourcesContent":[],"mappings":";;;KAEY,6BAAA,GAAgC,kBAAkB;KAClD,2BAAA,GAA8B,kBAAkB;UAElD;;AAHV;AACA;AAAuF;EAYhE,OAAA,EAAA,OAAA;EAAR;;;EASL,WAAA,EATK,OASL,CATa,WASa,CAAA;EAMvB;;;;EAcH,KAAA,CAAA,EAvBA,KAuBA;;UApBA,0BAAA,CA8Be;EAUrB;;;;;aAlCS;;;;aAKA;;;;;kBAMK;;UAGR,4BAAA;;;;;aAKG;;;;yBAKY;;;;;;;;eASV,kBACX;;;;;;;;;;;;qCAYmC;;;;;;;;;;;;;kBAerB"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
//#region src/modules/vc/models/W3cVerifyResult.d.ts
|
|
2
|
+
type W3cVerifyPresentationResult = W3cVerifyResult<W3cPresentationValidations>;
|
|
3
|
+
type W3cVerifyCredentialResult = W3cVerifyResult<W3cCredentialValidations>;
|
|
4
|
+
type SingleValidationResult = {
|
|
5
|
+
isValid: boolean;
|
|
6
|
+
error?: Error;
|
|
7
|
+
};
|
|
8
|
+
interface W3cVerifyResult<Validations> {
|
|
9
|
+
/**
|
|
10
|
+
* Whether the verification as a whole is valid. This means that
|
|
11
|
+
* all validations inside the validations object should have passed.
|
|
12
|
+
*/
|
|
13
|
+
isValid: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Validations that have been performed
|
|
16
|
+
*/
|
|
17
|
+
validations: Partial<Validations>;
|
|
18
|
+
/**
|
|
19
|
+
* Error that was caught during verification not related to
|
|
20
|
+
* any of the specific validations that are performed
|
|
21
|
+
*/
|
|
22
|
+
error?: Error;
|
|
23
|
+
}
|
|
24
|
+
interface W3cCredentialValidations {
|
|
25
|
+
/**
|
|
26
|
+
* Validation that validates whether the credential conforms
|
|
27
|
+
* to the data model and is currently valid (not expired or
|
|
28
|
+
* issued in the future).
|
|
29
|
+
*/
|
|
30
|
+
dataModel: SingleValidationResult;
|
|
31
|
+
/**
|
|
32
|
+
* Whether the signature of the credential is valid
|
|
33
|
+
*/
|
|
34
|
+
signature: SingleValidationResult;
|
|
35
|
+
/**
|
|
36
|
+
* Whether the credential status is still valid, meaning
|
|
37
|
+
* that is hasn't been revoked yet.
|
|
38
|
+
*/
|
|
39
|
+
credentialStatus: SingleValidationResult;
|
|
40
|
+
/**
|
|
41
|
+
* Whether the 'issuer' of the credential is also the
|
|
42
|
+
* signer of the credential proof
|
|
43
|
+
*/
|
|
44
|
+
issuerIsSigner: SingleValidationResult;
|
|
45
|
+
/**
|
|
46
|
+
* NOTE: this validation is currently only present for ldp_vc credentials.
|
|
47
|
+
* When this validation is present, ALL OTHER validations will be skipped.
|
|
48
|
+
*
|
|
49
|
+
* Whether the presentation is valid according to the [vc.js](https://github.com/digitalbazaar/vc)
|
|
50
|
+
* library. As the library handles all validations, it is not possible to include the other
|
|
51
|
+
* validation items separately. In the future the vc.js library will be replaced to provide a similar
|
|
52
|
+
* validation result for all credential formats.
|
|
53
|
+
*/
|
|
54
|
+
vcJs: SingleValidationResult;
|
|
55
|
+
}
|
|
56
|
+
interface W3cPresentationValidations {
|
|
57
|
+
/**
|
|
58
|
+
* Validation that validates whether the presentation conforms
|
|
59
|
+
* to the data model.
|
|
60
|
+
*/
|
|
61
|
+
dataModel: SingleValidationResult;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the signature of the presentation is valid
|
|
64
|
+
*/
|
|
65
|
+
presentationSignature: SingleValidationResult;
|
|
66
|
+
/**
|
|
67
|
+
* Validation results of the credentials inside the presentation.
|
|
68
|
+
* The order matches the order of credentials in the presentation.
|
|
69
|
+
*
|
|
70
|
+
* This object extends the credential verification result with the exception that
|
|
71
|
+
* a new `credentialSubjectAuthentication` has been added.
|
|
72
|
+
*/
|
|
73
|
+
credentials: W3cVerifyResult<W3cCredentialValidations & {
|
|
74
|
+
/**
|
|
75
|
+
* Whether the credential subject authentication is valid. Note this only
|
|
76
|
+
* takes into account credentialSubject authentication, and not cases where
|
|
77
|
+
* the holder of a credential may be different from the credential subject.
|
|
78
|
+
*
|
|
79
|
+
* The credentialSubject authentication is deemed valid in the following cases:
|
|
80
|
+
* - The credential has no credential subject identifiers. In this case the
|
|
81
|
+
* credential is seen as a bearer credential and thus authentication is not needed.
|
|
82
|
+
* - The credential has AT LEAST one credential subject id, and the presentation
|
|
83
|
+
* is signed by at least one of the credential subject ids.
|
|
84
|
+
*/
|
|
85
|
+
credentialSubjectAuthentication: SingleValidationResult;
|
|
86
|
+
}>[];
|
|
87
|
+
/**
|
|
88
|
+
* Whether the presentation is signed by the 'holder' of the
|
|
89
|
+
* presentation.
|
|
90
|
+
*
|
|
91
|
+
* NOTE: this check will return the value `true` for `isValid`
|
|
92
|
+
* when the `holder` property is not set on the presentation.
|
|
93
|
+
* as the goal of this validation is to assert whether the
|
|
94
|
+
* 'holder' property that is used in the presentation is valid.
|
|
95
|
+
* If the property is not present, the validation can be seen as
|
|
96
|
+
* successful
|
|
97
|
+
*/
|
|
98
|
+
holderIsSigner: SingleValidationResult;
|
|
99
|
+
/**
|
|
100
|
+
* NOTE: this validation is currently only present for ldp_vp presentations.
|
|
101
|
+
* When this validation is present, ALL OTHER validations will be skipped.
|
|
102
|
+
*
|
|
103
|
+
* Whether the presentation is valid according to the [vc.js](https://github.com/digitalbazaar/vc)
|
|
104
|
+
* library. As the library handles all validations, it is not possible to include the other
|
|
105
|
+
* validation items separately. In the future the vc.js library will be replaced to provide a similar
|
|
106
|
+
* validation result for all credential formats.
|
|
107
|
+
*/
|
|
108
|
+
vcJs: SingleValidationResult;
|
|
109
|
+
}
|
|
110
|
+
//#endregion
|
|
111
|
+
export { SingleValidationResult, W3cVerifyCredentialResult, W3cVerifyPresentationResult };
|
|
112
|
+
//# sourceMappingURL=W3cVerifyResult.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"W3cVerifyResult.d.mts","names":[],"sources":["../../../../src/modules/vc/models/W3cVerifyResult.ts"],"sourcesContent":[],"mappings":";KAAY,2BAAA,GAA8B,gBAAgB;KAC9C,yBAAA,GAA4B,gBAAgB;KAE5C,sBAAA;EAHA,OAAA,EAAA,OAAA;EACA,KAAA,CAAA,EAEqD,KAFrD;AAEZ,CAAA;AAAwE,UAE9D,eAAe,CAAA,WAAA,CAAA,CAAA;EAUF;;;;EASb,OAAA,EAAA,OAAA;EAMG;;;EAiBK,WAAA,EAhCH,OAgCG,CAhCK,WAgCL,CAAA;EAWV;;AAAsB;;EAaL,KAAA,CAAA,EAlDf,KAkDe;;UA/Cf,wBAAA,CAqE6B;EAbxB;;;;;aAlDF;;;;aAKA;;;;;oBAMO;;;;;kBAMF;;;;;;;;;;QAWV;;UAGE,0BAAA;;;;;aAKG;;;;yBAKY;;;;;;;;eASV,gBACX;;;;;;;;;;;;qCAYmC;;;;;;;;;;;;;kBAerB;;;;;;;;;;QAWV"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { JsonObject, SingleOrArray } from "../../../../types.mjs";
|
|
2
|
+
import { W3cCredentialSchema } from "./W3cCredentialSchema.mjs";
|
|
3
|
+
import { W3cCredentialStatus } from "./W3cCredentialStatus.mjs";
|
|
4
|
+
import { W3cCredentialSubject, W3cCredentialSubjectOptions } from "./W3cCredentialSubject.mjs";
|
|
5
|
+
import { W3cIssuer, W3cIssuerOptions } from "./W3cIssuer.mjs";
|
|
6
|
+
|
|
7
|
+
//#region src/modules/vc/models/credential/W3cCredential.d.ts
|
|
8
|
+
interface W3cCredentialOptions {
|
|
9
|
+
context?: Array<string | JsonObject>;
|
|
10
|
+
id?: string;
|
|
11
|
+
type: Array<string>;
|
|
12
|
+
issuer: string | W3cIssuerOptions;
|
|
13
|
+
issuanceDate: string;
|
|
14
|
+
expirationDate?: string;
|
|
15
|
+
credentialSubject: SingleOrArray<W3cCredentialSubjectOptions>;
|
|
16
|
+
credentialStatus?: W3cCredentialStatus;
|
|
17
|
+
credentialSchema?: SingleOrArray<W3cCredentialSchema>;
|
|
18
|
+
}
|
|
19
|
+
declare class W3cCredential {
|
|
20
|
+
constructor(options: W3cCredentialOptions);
|
|
21
|
+
context: Array<string | JsonObject>;
|
|
22
|
+
id?: string;
|
|
23
|
+
type: Array<string>;
|
|
24
|
+
issuer: string | W3cIssuer;
|
|
25
|
+
issuanceDate: string;
|
|
26
|
+
expirationDate?: string;
|
|
27
|
+
credentialSubject: SingleOrArray<W3cCredentialSubject>;
|
|
28
|
+
credentialSchema?: SingleOrArray<W3cCredentialSchema>;
|
|
29
|
+
credentialStatus?: W3cCredentialStatus;
|
|
30
|
+
get issuerId(): string;
|
|
31
|
+
get credentialSchemaIds(): string[];
|
|
32
|
+
get credentialSubjectIds(): string[];
|
|
33
|
+
get contexts(): Array<string | JsonObject>;
|
|
34
|
+
static fromJson(json: Record<string, unknown>): W3cCredential;
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
export { W3cCredential, W3cCredentialOptions };
|
|
38
|
+
//# sourceMappingURL=W3cCredential.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"W3cCredential.d.mts","names":[],"sources":["../../../../../src/modules/vc/models/credential/W3cCredential.ts"],"sourcesContent":[],"mappings":";;;;;;;UAciB,oBAAA;YACL,eAAe;EADV,EAAA,CAAA,EAAA,MAAA;EACU,IAAA,EAEnB,KAFmB,CAAA,MAAA,CAAA;EAAf,MAAA,EAAA,MAAA,GAGO,gBAHP;EAEJ,YAAA,EAAA,MAAA;EACW,cAAA,CAAA,EAAA,MAAA;EAGgB,iBAAA,EAAd,aAAc,CAAA,2BAAA,CAAA;EAAd,gBAAA,CAAA,EACA,mBADA;EACA,gBAAA,CAAA,EACA,aADA,CACc,mBADd,CAAA;;AACA,cAGR,aAAA,CAHQ;EAAa,WAAA,CAAA,OAAA,EAIJ,oBAJI;EAGrB,OAAA,EAiCM,KAjCN,CAAA,MAAa,GAiCQ,UAjCR,CAAA;EACI,EAAA,CAAA,EAAA,MAAA;EAgCI,IAAA,EAOlB,KAPkB,CAAA,MAAA,CAAA;EAAf,MAAA,EAAA,MAAA,GAWQ,SAXR;EAOH,YAAA,EAAA,MAAA;EAIW,cAAA,CAAA,EAAA,MAAA;EAWgB,iBAAA,EAAd,aAAc,CAAA,oBAAA,CAAA;EAAd,gBAAA,CAAA,EAMD,aANC,CAMa,mBANb,CAAA;EAMa,gBAAA,CAAA,EAMd,mBANc;EAAd,IAAA,QAAA,CAAA,CAAA,EAAA,MAAA;EAMA,IAAA,mBAAA,CAAA,CAAA,EAAA,MAAA,EAAA;EA0BY,IAAA,oBAAA,CAAA,CAAA,EAAA,MAAA,EAAA;EAAf,IAAA,QAAA,CAAA,CAAA,EAAA,KAAA,CAAA,MAAA,GAAe,UAAf,CAAA;EAIM,OAAA,QAAA,CAAA,IAAA,EAAA,MAAA,CAAA,MAAA,EAAA,OAAA,CAAA,CAAA,EAAuB,aAAvB"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { __decorateMetadata } from "../../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs";
|
|
4
|
+
import { __decorate } from "../../../../_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs";
|
|
5
|
+
import { asArray, mapSingleOrArray } from "../../../../utils/array.mjs";
|
|
6
|
+
import { JsonTransformer } from "../../../../utils/JsonTransformer.mjs";
|
|
7
|
+
import { IsInstanceOrArrayOfInstances, IsUri } from "../../../../utils/validators.mjs";
|
|
8
|
+
import "../../../../utils/index.mjs";
|
|
9
|
+
import { CREDENTIALS_CONTEXT_V1_URL } from "../../constants.mjs";
|
|
10
|
+
import { IsCredentialJsonLdContext, IsCredentialType } from "../../validators.mjs";
|
|
11
|
+
import { W3cCredentialSchema } from "./W3cCredentialSchema.mjs";
|
|
12
|
+
import { W3cCredentialStatus } from "./W3cCredentialStatus.mjs";
|
|
13
|
+
import { IsW3cCredentialSubject, W3cCredentialSubject, W3cCredentialSubjectTransformer } from "./W3cCredentialSubject.mjs";
|
|
14
|
+
import { IsW3cIssuer, W3cIssuer, W3cIssuerTransformer } from "./W3cIssuer.mjs";
|
|
15
|
+
import { Expose, Type } from "class-transformer";
|
|
16
|
+
import { IsInstance, IsOptional, IsRFC3339, ValidateNested } from "class-validator";
|
|
17
|
+
|
|
18
|
+
//#region src/modules/vc/models/credential/W3cCredential.ts
|
|
19
|
+
var _ref, _ref2, _ref3;
|
|
20
|
+
var W3cCredential = class W3cCredential {
|
|
21
|
+
constructor(options) {
|
|
22
|
+
if (options) {
|
|
23
|
+
this.context = options.context ?? [CREDENTIALS_CONTEXT_V1_URL];
|
|
24
|
+
this.id = options.id;
|
|
25
|
+
this.type = options.type || ["VerifiableCredential"];
|
|
26
|
+
this.issuer = typeof options.issuer === "string" || options.issuer instanceof W3cIssuer ? options.issuer : new W3cIssuer(options.issuer);
|
|
27
|
+
this.issuanceDate = options.issuanceDate;
|
|
28
|
+
this.expirationDate = options.expirationDate;
|
|
29
|
+
this.credentialSubject = mapSingleOrArray(options.credentialSubject, (subject) => subject instanceof W3cCredentialSubject ? subject : new W3cCredentialSubject(subject));
|
|
30
|
+
if (options.credentialStatus) this.credentialStatus = options.credentialStatus instanceof W3cCredentialStatus ? options.credentialStatus : new W3cCredentialStatus(options.credentialStatus);
|
|
31
|
+
if (options.credentialSchema) this.credentialSchema = mapSingleOrArray(options.credentialSchema, (schema) => schema instanceof W3cCredentialSchema ? schema : new W3cCredentialSchema(schema));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
get issuerId() {
|
|
35
|
+
return this.issuer instanceof W3cIssuer ? this.issuer.id : this.issuer;
|
|
36
|
+
}
|
|
37
|
+
get credentialSchemaIds() {
|
|
38
|
+
if (!this.credentialSchema) return [];
|
|
39
|
+
if (Array.isArray(this.credentialSchema)) return this.credentialSchema.map((credentialSchema) => credentialSchema.id);
|
|
40
|
+
return [this.credentialSchema.id];
|
|
41
|
+
}
|
|
42
|
+
get credentialSubjectIds() {
|
|
43
|
+
if (Array.isArray(this.credentialSubject)) return this.credentialSubject.map((credentialSubject) => credentialSubject.id).filter((v) => v !== void 0);
|
|
44
|
+
return this.credentialSubject.id ? [this.credentialSubject.id] : [];
|
|
45
|
+
}
|
|
46
|
+
get contexts() {
|
|
47
|
+
return asArray(this.context);
|
|
48
|
+
}
|
|
49
|
+
static fromJson(json) {
|
|
50
|
+
return JsonTransformer.fromJSON(json, W3cCredential);
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
__decorate([
|
|
54
|
+
Expose({ name: "@context" }),
|
|
55
|
+
IsCredentialJsonLdContext(),
|
|
56
|
+
__decorateMetadata("design:type", typeof (_ref = typeof Array !== "undefined" && Array) === "function" ? _ref : Object)
|
|
57
|
+
], W3cCredential.prototype, "context", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
IsOptional(),
|
|
60
|
+
IsUri(),
|
|
61
|
+
__decorateMetadata("design:type", String)
|
|
62
|
+
], W3cCredential.prototype, "id", void 0);
|
|
63
|
+
__decorate([IsCredentialType(), __decorateMetadata("design:type", typeof (_ref2 = typeof Array !== "undefined" && Array) === "function" ? _ref2 : Object)], W3cCredential.prototype, "type", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
W3cIssuerTransformer(),
|
|
66
|
+
IsW3cIssuer(),
|
|
67
|
+
__decorateMetadata("design:type", Object)
|
|
68
|
+
], W3cCredential.prototype, "issuer", void 0);
|
|
69
|
+
__decorate([IsRFC3339(), __decorateMetadata("design:type", String)], W3cCredential.prototype, "issuanceDate", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
IsRFC3339(),
|
|
72
|
+
IsOptional(),
|
|
73
|
+
__decorateMetadata("design:type", String)
|
|
74
|
+
], W3cCredential.prototype, "expirationDate", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
IsW3cCredentialSubject({ each: true }),
|
|
77
|
+
W3cCredentialSubjectTransformer(),
|
|
78
|
+
__decorateMetadata("design:type", Object)
|
|
79
|
+
], W3cCredential.prototype, "credentialSubject", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
IsOptional(),
|
|
82
|
+
Type(() => W3cCredentialSchema),
|
|
83
|
+
ValidateNested({ each: true }),
|
|
84
|
+
IsInstanceOrArrayOfInstances({
|
|
85
|
+
classType: W3cCredentialSchema,
|
|
86
|
+
allowEmptyArray: true
|
|
87
|
+
}),
|
|
88
|
+
__decorateMetadata("design:type", Object)
|
|
89
|
+
], W3cCredential.prototype, "credentialSchema", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
IsOptional(),
|
|
92
|
+
Type(() => W3cCredentialStatus),
|
|
93
|
+
ValidateNested({ each: true }),
|
|
94
|
+
IsInstance(W3cCredentialStatus),
|
|
95
|
+
__decorateMetadata("design:type", typeof (_ref3 = typeof W3cCredentialStatus !== "undefined" && W3cCredentialStatus) === "function" ? _ref3 : Object)
|
|
96
|
+
], W3cCredential.prototype, "credentialStatus", void 0);
|
|
97
|
+
|
|
98
|
+
//#endregion
|
|
99
|
+
export { W3cCredential };
|
|
100
|
+
//# sourceMappingURL=W3cCredential.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"W3cCredential.mjs","names":[],"sources":["../../../../../src/modules/vc/models/credential/W3cCredential.ts"],"sourcesContent":["import { Expose, Type } from 'class-transformer'\nimport { IsInstance, IsOptional, IsRFC3339, ValidateNested } from 'class-validator'\nimport type { JsonObject, SingleOrArray } from '../../../../types'\nimport { asArray, JsonTransformer, mapSingleOrArray } from '../../../../utils'\nimport { IsInstanceOrArrayOfInstances, IsUri } from '../../../../utils/validators'\nimport { CREDENTIALS_CONTEXT_V1_URL } from '../../constants'\nimport { IsCredentialJsonLdContext, IsCredentialType } from '../../validators'\nimport { W3cCredentialSchema } from './W3cCredentialSchema'\nimport { W3cCredentialStatus } from './W3cCredentialStatus'\nimport type { W3cCredentialSubjectOptions } from './W3cCredentialSubject'\nimport { IsW3cCredentialSubject, W3cCredentialSubject, W3cCredentialSubjectTransformer } from './W3cCredentialSubject'\nimport type { W3cIssuerOptions } from './W3cIssuer'\nimport { IsW3cIssuer, W3cIssuer, W3cIssuerTransformer } from './W3cIssuer'\n\nexport interface W3cCredentialOptions {\n context?: Array<string | JsonObject>\n id?: string\n type: Array<string>\n issuer: string | W3cIssuerOptions\n issuanceDate: string\n expirationDate?: string\n credentialSubject: SingleOrArray<W3cCredentialSubjectOptions>\n credentialStatus?: W3cCredentialStatus\n credentialSchema?: SingleOrArray<W3cCredentialSchema>\n}\n\nexport class W3cCredential {\n public constructor(options: W3cCredentialOptions) {\n if (options) {\n this.context = options.context ?? [CREDENTIALS_CONTEXT_V1_URL]\n this.id = options.id\n this.type = options.type || ['VerifiableCredential']\n this.issuer =\n typeof options.issuer === 'string' || options.issuer instanceof W3cIssuer\n ? options.issuer\n : new W3cIssuer(options.issuer)\n this.issuanceDate = options.issuanceDate\n this.expirationDate = options.expirationDate\n this.credentialSubject = mapSingleOrArray(options.credentialSubject, (subject) =>\n subject instanceof W3cCredentialSubject ? subject : new W3cCredentialSubject(subject)\n )\n\n if (options.credentialStatus) {\n this.credentialStatus =\n options.credentialStatus instanceof W3cCredentialStatus\n ? options.credentialStatus\n : new W3cCredentialStatus(options.credentialStatus)\n }\n\n if (options.credentialSchema) {\n this.credentialSchema = mapSingleOrArray(options.credentialSchema, (schema) =>\n schema instanceof W3cCredentialSchema ? schema : new W3cCredentialSchema(schema)\n )\n }\n }\n }\n\n @Expose({ name: '@context' })\n @IsCredentialJsonLdContext()\n public context!: Array<string | JsonObject>\n\n @IsOptional()\n @IsUri()\n public id?: string\n\n @IsCredentialType()\n public type!: Array<string>\n\n @W3cIssuerTransformer()\n @IsW3cIssuer()\n public issuer!: string | W3cIssuer\n\n @IsRFC3339()\n public issuanceDate!: string\n\n @IsRFC3339()\n @IsOptional()\n public expirationDate?: string\n\n @IsW3cCredentialSubject({ each: true })\n @W3cCredentialSubjectTransformer()\n public credentialSubject!: SingleOrArray<W3cCredentialSubject>\n\n @IsOptional()\n @Type(() => W3cCredentialSchema)\n @ValidateNested({ each: true })\n @IsInstanceOrArrayOfInstances({ classType: W3cCredentialSchema, allowEmptyArray: true })\n public credentialSchema?: SingleOrArray<W3cCredentialSchema>\n\n @IsOptional()\n @Type(() => W3cCredentialStatus)\n @ValidateNested({ each: true })\n @IsInstance(W3cCredentialStatus)\n public credentialStatus?: W3cCredentialStatus\n\n public get issuerId(): string {\n return this.issuer instanceof W3cIssuer ? this.issuer.id : this.issuer\n }\n\n public get credentialSchemaIds(): string[] {\n if (!this.credentialSchema) return []\n\n if (Array.isArray(this.credentialSchema)) {\n return this.credentialSchema.map((credentialSchema) => credentialSchema.id)\n }\n\n return [this.credentialSchema.id]\n }\n\n public get credentialSubjectIds(): string[] {\n if (Array.isArray(this.credentialSubject)) {\n return this.credentialSubject\n .map((credentialSubject) => credentialSubject.id)\n .filter((v): v is string => v !== undefined)\n }\n\n return this.credentialSubject.id ? [this.credentialSubject.id] : []\n }\n\n public get contexts(): Array<string | JsonObject> {\n return asArray(this.context)\n }\n\n public static fromJson(json: Record<string, unknown>) {\n return JsonTransformer.fromJSON(json, W3cCredential)\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AA0BA,IAAa,gBAAb,MAAa,cAAc;CACzB,AAAO,YAAY,SAA+B;AAChD,MAAI,SAAS;AACX,QAAK,UAAU,QAAQ,WAAW,CAAC,2BAA2B;AAC9D,QAAK,KAAK,QAAQ;AAClB,QAAK,OAAO,QAAQ,QAAQ,CAAC,uBAAuB;AACpD,QAAK,SACH,OAAO,QAAQ,WAAW,YAAY,QAAQ,kBAAkB,YAC5D,QAAQ,SACR,IAAI,UAAU,QAAQ,OAAO;AACnC,QAAK,eAAe,QAAQ;AAC5B,QAAK,iBAAiB,QAAQ;AAC9B,QAAK,oBAAoB,iBAAiB,QAAQ,oBAAoB,YACpE,mBAAmB,uBAAuB,UAAU,IAAI,qBAAqB,QAAQ,CACtF;AAED,OAAI,QAAQ,iBACV,MAAK,mBACH,QAAQ,4BAA4B,sBAChC,QAAQ,mBACR,IAAI,oBAAoB,QAAQ,iBAAiB;AAGzD,OAAI,QAAQ,iBACV,MAAK,mBAAmB,iBAAiB,QAAQ,mBAAmB,WAClE,kBAAkB,sBAAsB,SAAS,IAAI,oBAAoB,OAAO,CACjF;;;CA2CP,IAAW,WAAmB;AAC5B,SAAO,KAAK,kBAAkB,YAAY,KAAK,OAAO,KAAK,KAAK;;CAGlE,IAAW,sBAAgC;AACzC,MAAI,CAAC,KAAK,iBAAkB,QAAO,EAAE;AAErC,MAAI,MAAM,QAAQ,KAAK,iBAAiB,CACtC,QAAO,KAAK,iBAAiB,KAAK,qBAAqB,iBAAiB,GAAG;AAG7E,SAAO,CAAC,KAAK,iBAAiB,GAAG;;CAGnC,IAAW,uBAAiC;AAC1C,MAAI,MAAM,QAAQ,KAAK,kBAAkB,CACvC,QAAO,KAAK,kBACT,KAAK,sBAAsB,kBAAkB,GAAG,CAChD,QAAQ,MAAmB,MAAM,OAAU;AAGhD,SAAO,KAAK,kBAAkB,KAAK,CAAC,KAAK,kBAAkB,GAAG,GAAG,EAAE;;CAGrE,IAAW,WAAuC;AAChD,SAAO,QAAQ,KAAK,QAAQ;;CAG9B,OAAc,SAAS,MAA+B;AACpD,SAAO,gBAAgB,SAAS,MAAM,cAAc;;;;CAnErD,OAAO,EAAE,MAAM,YAAY,CAAC;CAC5B,2BAA2B;;;;CAG3B,YAAY;CACZ,OAAO;;;YAGP,kBAAkB;;CAGlB,sBAAsB;CACtB,aAAa;;;YAGb,WAAW;;CAGX,WAAW;CACX,YAAY;;;;CAGZ,uBAAuB,EAAE,MAAM,MAAM,CAAC;CACtC,iCAAiC;;;;CAGjC,YAAY;CACZ,WAAW,oBAAoB;CAC/B,eAAe,EAAE,MAAM,MAAM,CAAC;CAC9B,6BAA6B;EAAE,WAAW;EAAqB,iBAAiB;EAAM,CAAC;;;;CAGvF,YAAY;CACZ,WAAW,oBAAoB;CAC/B,eAAe,EAAE,MAAM,MAAM,CAAC;CAC9B,WAAW,oBAAoB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/modules/vc/models/credential/W3cCredentialSchema.d.ts
|
|
2
|
+
interface W3cCredentialSchemaOptions {
|
|
3
|
+
id: string;
|
|
4
|
+
type: string;
|
|
5
|
+
}
|
|
6
|
+
declare class W3cCredentialSchema {
|
|
7
|
+
constructor(options: W3cCredentialSchemaOptions);
|
|
8
|
+
id: string;
|
|
9
|
+
type: string;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { W3cCredentialSchema, W3cCredentialSchemaOptions };
|
|
13
|
+
//# sourceMappingURL=W3cCredentialSchema.d.mts.map
|