@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,16 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
//#region src/utils/array.ts
|
|
4
|
+
const asArray = (val) => {
|
|
5
|
+
if (!val) return [];
|
|
6
|
+
if (Array.isArray(val)) return val;
|
|
7
|
+
return [val];
|
|
8
|
+
};
|
|
9
|
+
const mapSingleOrArray = (value, fn) => {
|
|
10
|
+
const mapped = asArray(value).map(fn);
|
|
11
|
+
return Array.isArray(value) ? mapped : mapped[0];
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { asArray, mapSingleOrArray };
|
|
16
|
+
//# sourceMappingURL=array.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"array.mjs","names":[],"sources":["../../src/utils/array.ts"],"sourcesContent":["import type { SingleOrArray } from '../types'\n\nexport const asArray = <T>(val?: SingleOrArray<T>): Array<T> => {\n if (!val) return []\n if (Array.isArray(val)) return val\n return [val]\n}\n\ntype ExtractValueFromSingleOrArray<V> = V extends SingleOrArray<infer Value> ? Value : never\n\nexport const mapSingleOrArray = <Wrapper extends SingleOrArray<unknown>, Return>(\n value: Wrapper,\n fn: (value: ExtractValueFromSingleOrArray<Wrapper>) => Return\n): SingleOrArray<Return> => {\n const mapped = asArray<ExtractValueFromSingleOrArray<Wrapper>>(value as []).map(fn)\n\n // We need to return a single or array value based on the input type\n return Array.isArray(value) ? mapped : mapped[0]\n}\n"],"mappings":";;;AAEA,MAAa,WAAc,QAAqC;AAC9D,KAAI,CAAC,IAAK,QAAO,EAAE;AACnB,KAAI,MAAM,QAAQ,IAAI,CAAE,QAAO;AAC/B,QAAO,CAAC,IAAI;;AAKd,MAAa,oBACX,OACA,OAC0B;CAC1B,MAAM,SAAS,QAAgD,MAAY,CAAC,IAAI,GAAG;AAGnF,QAAO,MAAM,QAAQ,MAAM,GAAG,SAAS,OAAO"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import base from "@multiformats/base-x";
|
|
4
|
+
|
|
5
|
+
//#region src/utils/base58.ts
|
|
6
|
+
const base58Converter = base("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");
|
|
7
|
+
function decodeFromBase58(base58) {
|
|
8
|
+
return base58Converter.decode(base58);
|
|
9
|
+
}
|
|
10
|
+
function encodeToBase58(buffer) {
|
|
11
|
+
return base58Converter.encode(buffer);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { decodeFromBase58, encodeToBase58 };
|
|
16
|
+
//# sourceMappingURL=base58.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base58.mjs","names":[],"sources":["../../src/utils/base58.ts"],"sourcesContent":["import base from '@multiformats/base-x'\nimport type { AnyUint8Array, Uint8ArrayBuffer } from '../types'\n\nconst BASE58_ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'\n\nconst base58Converter = base(BASE58_ALPHABET)\n\nexport function decodeFromBase58(base58: string): Uint8ArrayBuffer {\n return base58Converter.decode(base58) as Uint8ArrayBuffer\n}\n\nexport function encodeToBase58(buffer: AnyUint8Array) {\n return base58Converter.encode(buffer)\n}\n"],"mappings":";;;;;AAKA,MAAM,kBAAkB,KAFA,6DAEqB;AAE7C,SAAgB,iBAAiB,QAAkC;AACjE,QAAO,gBAAgB,OAAO,OAAO;;AAGvC,SAAgB,eAAe,QAAuB;AACpD,QAAO,gBAAgB,OAAO,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base64.d.mts","names":[],"sources":["../../src/utils/base64.ts"],"sourcesContent":[],"mappings":";iBAAgB,iBAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base64.mjs","names":[],"sources":["../../src/utils/base64.ts"],"sourcesContent":["export function base64ToBase64URL(base64: string) {\n return base64.replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=/g, '')\n}\n"],"mappings":";;;AAAA,SAAgB,kBAAkB,QAAgB;AAChD,QAAO,OAAO,QAAQ,OAAO,IAAI,CAAC,QAAQ,OAAO,IAAI,CAAC,QAAQ,MAAM,GAAG"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { CredentialMultiInstanceState, CredentialMultiInstanceUseMode, CredentialMultiInstanceUseUpdateMode } from "./credentialUseTypes.mjs";
|
|
2
|
+
import { SdJwtVc } from "../modules/sd-jwt-vc/SdJwtVcService.mjs";
|
|
3
|
+
import { SdJwtVcRecord } from "../modules/sd-jwt-vc/repository/SdJwtVcRecord.mjs";
|
|
4
|
+
import "../modules/sd-jwt-vc/repository/index.mjs";
|
|
5
|
+
import { MdocRecord } from "../modules/mdoc/repository/MdocRecord.mjs";
|
|
6
|
+
import "../modules/mdoc/repository/index.mjs";
|
|
7
|
+
import { W3cCredentialRecord } from "../modules/vc/repository/W3cCredentialRecord.mjs";
|
|
8
|
+
import { W3cV2CredentialRecord } from "../modules/vc/repository/W3cV2CredentialRecord.mjs";
|
|
9
|
+
import "../modules/vc/repository/index.mjs";
|
|
10
|
+
import { W3cV2VerifiableCredential } from "../modules/vc/models/credential/W3cV2VerifiableCredential.mjs";
|
|
11
|
+
import { W3cVerifiableCredential } from "../modules/vc/models/credential/W3cVerifiableCredential.mjs";
|
|
12
|
+
import "../modules/vc/index.mjs";
|
|
13
|
+
import { Mdoc } from "../modules/mdoc/Mdoc.mjs";
|
|
14
|
+
import { AgentContext } from "../agent/context/AgentContext.mjs";
|
|
15
|
+
import "../agent/index.mjs";
|
|
16
|
+
|
|
17
|
+
//#region src/utils/credentialUse.d.ts
|
|
18
|
+
type CredentialRecord = W3cCredentialRecord | SdJwtVcRecord | MdocRecord | W3cV2CredentialRecord;
|
|
19
|
+
type CredentialInstanceReturnType<Record extends CredentialRecord> = Record extends W3cCredentialRecord ? W3cVerifiableCredential : Record extends W3cV2CredentialRecord ? W3cV2VerifiableCredential : Record extends SdJwtVcRecord ? SdJwtVc : Record extends MdocRecord ? Mdoc : CredentialRecord;
|
|
20
|
+
/**
|
|
21
|
+
* Checks whether an instance can be used from the provided record based on
|
|
22
|
+
* the required credential use mode.
|
|
23
|
+
*/
|
|
24
|
+
declare function canUseInstanceFromCredentialRecord({
|
|
25
|
+
credentialRecord,
|
|
26
|
+
useMode
|
|
27
|
+
}: {
|
|
28
|
+
credentialRecord: CredentialRecord;
|
|
29
|
+
useMode: CredentialMultiInstanceUseMode;
|
|
30
|
+
}): boolean;
|
|
31
|
+
interface UseInstanceFromCredentialRecordOptions<Record extends CredentialRecord> {
|
|
32
|
+
agentContext: AgentContext;
|
|
33
|
+
/**
|
|
34
|
+
* Which mode to use for usage of the credential instance. See {@link CredentialMultiInstanceUseMode} for
|
|
35
|
+
* more information on the available options
|
|
36
|
+
*/
|
|
37
|
+
useMode: CredentialMultiInstanceUseMode;
|
|
38
|
+
credentialRecord: Record;
|
|
39
|
+
/**
|
|
40
|
+
* The update mode for the credential record when a new instance is used.
|
|
41
|
+
*
|
|
42
|
+
* @default `CredentialMultiInstanceUseUpdateMode.RefetchAndUpdateWithLock`
|
|
43
|
+
*/
|
|
44
|
+
updateMode?: CredentialMultiInstanceUseUpdateMode;
|
|
45
|
+
}
|
|
46
|
+
interface UseInstanceFromCredentialRecordReturn<Record extends CredentialRecord> {
|
|
47
|
+
/**
|
|
48
|
+
* The credential instance with the kms key id
|
|
49
|
+
*/
|
|
50
|
+
credentialInstance: CredentialInstanceReturnType<Record>;
|
|
51
|
+
/**
|
|
52
|
+
* If the first instance was used, this value will be `true`. The first time
|
|
53
|
+
* the first instance is used, technically the credential is not reused yet,
|
|
54
|
+
* but we make no distinction between this.
|
|
55
|
+
*/
|
|
56
|
+
isReused: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Whether the last new instance was used. If `isReused` is `true` this value will
|
|
59
|
+
* always be `false`.
|
|
60
|
+
*
|
|
61
|
+
* The last new instance is the second entry in the mdoc instances, since the first
|
|
62
|
+
* one is reserved for 'reused' usage.
|
|
63
|
+
*/
|
|
64
|
+
isLastNewInstance: boolean;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Extract an instance with the correct kms key id from the credential instances
|
|
68
|
+
* on the record. Note that if an instance is extracted (that is not reused) it
|
|
69
|
+
* will remove the instance from the record, and the record should be updated in
|
|
70
|
+
* storage after usage.
|
|
71
|
+
*
|
|
72
|
+
* Note that the last credential instance is never removed from the record. So if the
|
|
73
|
+
* method indicates the last instance has been used, you should remove the credential
|
|
74
|
+
* from storage if you don't want it to be used anymore in the future.
|
|
75
|
+
*/
|
|
76
|
+
declare function useInstanceFromCredentialRecord<Record extends CredentialRecord>({
|
|
77
|
+
credentialRecord,
|
|
78
|
+
useMode,
|
|
79
|
+
agentContext,
|
|
80
|
+
updateMode
|
|
81
|
+
}: UseInstanceFromCredentialRecordOptions<Record>): Promise<UseInstanceFromCredentialRecordReturn<Record>>;
|
|
82
|
+
//#endregion
|
|
83
|
+
export { UseInstanceFromCredentialRecordOptions, UseInstanceFromCredentialRecordReturn, canUseInstanceFromCredentialRecord, useInstanceFromCredentialRecord };
|
|
84
|
+
//# sourceMappingURL=credentialUse.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credentialUse.d.mts","names":[],"sources":["../../src/utils/credentialUse.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;KA+BK,gBAAA,GAAmB,sBAAsB,gBAAgB,aAAa;KAEtE,4CAA4C,oBAAoB,eAAe,sBAChF,0BACA,eAAe,wBACb,4BACA,eAAe,gBACb,UACA,eAAe,aACb,OACA;;;;;iBAgBM,kCAAA;;;;oBAII;WACT;;AA/BN,UAoDY,sCApDI,CAAA,eAoDkD,gBApDlD,CAAA,CAAA;EAAG,YAAA,EAqDR,YArDQ;EAAsB;;;;EAEzC,OAAA,EAyDM,8BAzDsB;EAAgB,gBAAA,EA0D7B,MA1D6B;EAAoB;;;;;EAG/D,UAAA,CAAA,EA8DS,oCA9DT;;AACe,UAgEJ,qCAhEI,CAAA,eAgEiD,gBAhEjD,CAAA,CAAA;EACb;;;EAEE,kBAAA,EAiEY,4BAjEZ,CAiEyC,MAjEzC,CAAA;EACA;;AAgBV;;;EAIoB,QAAA,EAAA,OAAA;EACT;;AAqBX;;;;;EAee,iBAAA,EAAA,OAAA;;AAGf;;;;;AAiCA;;;;;AAIE,iBAJoB,+BAIpB,CAAA,eAJmE,gBAInE,CAAA,CAAA;EAAA,gBAAA;EAAA,OAAA;EAAA,YAAA;EAAA;AAAA,CAAA,EACC,sCADD,CACwC,MADxC,CAAA,CAAA,EACkD,OADlD,CAC0D,qCAD1D,CACgG,MADhG,CAAA,CAAA"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { CredoError } from "../error/CredoError.mjs";
|
|
4
|
+
import "../agent/index.mjs";
|
|
5
|
+
import { CredentialMultiInstanceState, CredentialMultiInstanceUseMode, CredentialMultiInstanceUseUpdateMode } from "./credentialUseTypes.mjs";
|
|
6
|
+
import { W3cJsonLdVerifiableCredential } from "../modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.mjs";
|
|
7
|
+
import { W3cV2JwtVerifiableCredential } from "../modules/vc/jwt-vc/W3cV2JwtVerifiableCredential.mjs";
|
|
8
|
+
import { W3cV2SdJwtVerifiableCredential } from "../modules/vc/sd-jwt-vc/W3cV2SdJwtVerifiableCredential.mjs";
|
|
9
|
+
import { W3cJwtVerifiableCredential } from "../modules/vc/jwt-vc/W3cJwtVerifiableCredential.mjs";
|
|
10
|
+
import { W3cCredentialRecord } from "../modules/vc/repository/W3cCredentialRecord.mjs";
|
|
11
|
+
import { W3cCredentialRepository } from "../modules/vc/repository/W3cCredentialRepository.mjs";
|
|
12
|
+
import { W3cV2CredentialRecord } from "../modules/vc/repository/W3cV2CredentialRecord.mjs";
|
|
13
|
+
import { W3cV2CredentialRepository } from "../modules/vc/repository/W3cV2CredentialRepository.mjs";
|
|
14
|
+
import "../modules/vc/repository/index.mjs";
|
|
15
|
+
import "../modules/vc/index.mjs";
|
|
16
|
+
import { Mdoc } from "../modules/mdoc/Mdoc.mjs";
|
|
17
|
+
import { MdocRecord } from "../modules/mdoc/repository/MdocRecord.mjs";
|
|
18
|
+
import { MdocRepository } from "../modules/mdoc/repository/MdocRepository.mjs";
|
|
19
|
+
import "../modules/mdoc/repository/index.mjs";
|
|
20
|
+
import { decodeSdJwtVc } from "../modules/sd-jwt-vc/decodeSdJwtVc.mjs";
|
|
21
|
+
import { SdJwtVcRecord } from "../modules/sd-jwt-vc/repository/SdJwtVcRecord.mjs";
|
|
22
|
+
import { SdJwtVcRepository } from "../modules/sd-jwt-vc/repository/SdJwtVcRepository.mjs";
|
|
23
|
+
import "../modules/sd-jwt-vc/repository/index.mjs";
|
|
24
|
+
|
|
25
|
+
//#region src/utils/credentialUse.ts
|
|
26
|
+
/**
|
|
27
|
+
* Checks whether an instance can be used from the provided record based on
|
|
28
|
+
* the required credential use mode.
|
|
29
|
+
*/
|
|
30
|
+
function canUseInstanceFromCredentialRecord({ credentialRecord, useMode }) {
|
|
31
|
+
if (useMode === CredentialMultiInstanceUseMode.First || useMode === CredentialMultiInstanceUseMode.NewOrFirst || useMode === CredentialMultiInstanceUseMode.NewIfReceivedInBatch && [CredentialMultiInstanceState.SingleInstanceUnused, CredentialMultiInstanceState.SingleInstanceUsed].includes(credentialRecord.multiInstanceState)) return true;
|
|
32
|
+
return credentialRecord.multiInstanceState === CredentialMultiInstanceState.MultiInstanceFirstUnused || credentialRecord.multiInstanceState === CredentialMultiInstanceState.SingleInstanceUnused;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Extract an instance with the correct kms key id from the credential instances
|
|
36
|
+
* on the record. Note that if an instance is extracted (that is not reused) it
|
|
37
|
+
* will remove the instance from the record, and the record should be updated in
|
|
38
|
+
* storage after usage.
|
|
39
|
+
*
|
|
40
|
+
* Note that the last credential instance is never removed from the record. So if the
|
|
41
|
+
* method indicates the last instance has been used, you should remove the credential
|
|
42
|
+
* from storage if you don't want it to be used anymore in the future.
|
|
43
|
+
*/
|
|
44
|
+
async function useInstanceFromCredentialRecord({ credentialRecord, useMode, agentContext, updateMode }) {
|
|
45
|
+
let extractResult = extractInstanceAndUpdateRecord({
|
|
46
|
+
credentialRecord,
|
|
47
|
+
useMode
|
|
48
|
+
});
|
|
49
|
+
if ((!extractResult.isReused || extractResult.isLastNewInstance) && updateMode === CredentialMultiInstanceUseUpdateMode.Update) await updateCredentialRecord(agentContext, credentialRecord);
|
|
50
|
+
if ((!extractResult.isReused || extractResult.isLastNewInstance) && updateMode === CredentialMultiInstanceUseUpdateMode.RefetchAndUpdateWithLock) await repositoryForRecord(agentContext, credentialRecord).updateByIdWithLock(agentContext, credentialRecord.id, async (freshCredentialRecord) => {
|
|
51
|
+
extractResult = extractInstanceAndUpdateRecord({
|
|
52
|
+
credentialRecord: freshCredentialRecord,
|
|
53
|
+
useMode
|
|
54
|
+
});
|
|
55
|
+
return freshCredentialRecord;
|
|
56
|
+
});
|
|
57
|
+
let transformedCredentialInstance;
|
|
58
|
+
if (credentialRecord instanceof MdocRecord) {
|
|
59
|
+
const { issuerSignedBase64Url, kmsKeyId } = extractResult.credentialInstance;
|
|
60
|
+
transformedCredentialInstance = Mdoc.fromBase64Url(issuerSignedBase64Url);
|
|
61
|
+
transformedCredentialInstance.deviceKeyId = kmsKeyId ?? transformedCredentialInstance.deviceKey.legacyKeyId;
|
|
62
|
+
} else if (credentialRecord instanceof SdJwtVcRecord) {
|
|
63
|
+
const { compactSdJwtVc, kmsKeyId } = extractResult.credentialInstance;
|
|
64
|
+
transformedCredentialInstance = {
|
|
65
|
+
...decodeSdJwtVc(compactSdJwtVc, credentialRecord.typeMetadata),
|
|
66
|
+
kmsKeyId
|
|
67
|
+
};
|
|
68
|
+
} else if (credentialRecord instanceof W3cCredentialRecord) {
|
|
69
|
+
const { credential } = extractResult.credentialInstance;
|
|
70
|
+
transformedCredentialInstance = typeof credential === "string" ? W3cJwtVerifiableCredential.fromSerializedJwt(credential) : W3cJsonLdVerifiableCredential.fromJson(credential);
|
|
71
|
+
} else if (credentialRecord instanceof W3cV2CredentialRecord) {
|
|
72
|
+
const { credential } = extractResult.credentialInstance;
|
|
73
|
+
transformedCredentialInstance = credential.includes("~") ? W3cV2SdJwtVerifiableCredential.fromCompact(credential) : W3cV2JwtVerifiableCredential.fromCompact(credential);
|
|
74
|
+
} else throw new CredoError("Unsupported record type");
|
|
75
|
+
return {
|
|
76
|
+
credentialInstance: transformedCredentialInstance,
|
|
77
|
+
isReused: extractResult.isReused,
|
|
78
|
+
isLastNewInstance: extractResult.isLastNewInstance
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
function extractInstanceAndUpdateRecord({ credentialRecord, useMode }) {
|
|
82
|
+
if (credentialRecord.credentialInstances.length === 1 || useMode === CredentialMultiInstanceUseMode.First) {
|
|
83
|
+
const isFirstUnused = credentialRecord.multiInstanceState === CredentialMultiInstanceState.MultiInstanceFirstUnused || credentialRecord.multiInstanceState === CredentialMultiInstanceState.SingleInstanceUnused;
|
|
84
|
+
const isMultiInstance = credentialRecord.multiInstanceState === CredentialMultiInstanceState.MultiInstanceFirstUnused || credentialRecord.multiInstanceState === CredentialMultiInstanceState.MultiInstanceFirstUsed;
|
|
85
|
+
const allowsReuse = useMode === CredentialMultiInstanceUseMode.New ? false : useMode === CredentialMultiInstanceUseMode.NewIfReceivedInBatch ? !isMultiInstance : true;
|
|
86
|
+
if (isFirstUnused) credentialRecord.multiInstanceState = credentialRecord.multiInstanceState === CredentialMultiInstanceState.SingleInstanceUnused ? CredentialMultiInstanceState.SingleInstanceUsed : CredentialMultiInstanceState.MultiInstanceFirstUsed;
|
|
87
|
+
else if (!allowsReuse) throw new CredoError(`Unable to extract new credential instance from ${credentialRecord.type} with id '${credentialRecord.id}', since it only contains a single credential instance but using a new instance is required due to use mode '${useMode}'.`);
|
|
88
|
+
return {
|
|
89
|
+
isReused: !isFirstUnused,
|
|
90
|
+
credentialInstance: credentialRecord.credentialInstances[0],
|
|
91
|
+
isLastNewInstance: isFirstUnused
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
const _credentialInstance = credentialRecord.credentialInstances.pop();
|
|
95
|
+
if (!_credentialInstance) throw new CredoError(`Unable to extract credential instance from ${credentialRecord.type} with id '${credentialRecord.id}', since the credential record does not contain any credential instances.`);
|
|
96
|
+
return {
|
|
97
|
+
credentialInstance: _credentialInstance,
|
|
98
|
+
isReused: false,
|
|
99
|
+
isLastNewInstance: false
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
function repositoryForRecord(agentContext, record) {
|
|
103
|
+
if (record instanceof W3cCredentialRecord) return agentContext.resolve(W3cCredentialRepository);
|
|
104
|
+
if (record instanceof W3cV2CredentialRecord) return agentContext.resolve(W3cV2CredentialRepository);
|
|
105
|
+
if (record instanceof MdocRecord) return agentContext.resolve(MdocRepository);
|
|
106
|
+
return agentContext.resolve(SdJwtVcRepository);
|
|
107
|
+
}
|
|
108
|
+
function updateCredentialRecord(agentContext, record) {
|
|
109
|
+
if (record instanceof W3cCredentialRecord) return agentContext.resolve(W3cCredentialRepository).update(agentContext, record);
|
|
110
|
+
if (record instanceof W3cV2CredentialRecord) return agentContext.resolve(W3cV2CredentialRepository).update(agentContext, record);
|
|
111
|
+
if (record instanceof MdocRecord) return agentContext.resolve(MdocRepository).update(agentContext, record);
|
|
112
|
+
return agentContext.resolve(SdJwtVcRepository).update(agentContext, record);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
//#endregion
|
|
116
|
+
export { canUseInstanceFromCredentialRecord, useInstanceFromCredentialRecord };
|
|
117
|
+
//# sourceMappingURL=credentialUse.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credentialUse.mjs","names":["transformedCredentialInstance: W3cVerifiableCredential | Mdoc | SdJwtVc | W3cV2VerifiableCredential"],"sources":["../../src/utils/credentialUse.ts"],"sourcesContent":["import { AgentContext } from '../agent'\nimport { CredoError } from '../error/CredoError'\nimport { Mdoc } from '../modules/mdoc/Mdoc'\nimport { MdocRecord, type MdocRecordInstances, MdocRepository } from '../modules/mdoc/repository'\nimport { decodeSdJwtVc } from '../modules/sd-jwt-vc/decodeSdJwtVc'\nimport { SdJwtVcRecord, type SdJwtVcRecordInstances, SdJwtVcRepository } from '../modules/sd-jwt-vc/repository'\nimport type { SdJwtVc } from '../modules/sd-jwt-vc/SdJwtVcService'\nimport {\n W3cJsonLdVerifiableCredential,\n W3cJwtVerifiableCredential,\n W3cV2JwtVerifiableCredential,\n W3cV2SdJwtVerifiableCredential,\n type W3cV2VerifiableCredential,\n type W3cVerifiableCredential,\n} from '../modules/vc'\nimport {\n W3cCredentialRecord,\n type W3cCredentialRecordInstances,\n W3cCredentialRepository,\n W3cV2CredentialRecord,\n type W3cV2CredentialRecordInstances,\n W3cV2CredentialRepository,\n} from '../modules/vc/repository'\nimport {\n CredentialMultiInstanceState,\n CredentialMultiInstanceUseMode,\n CredentialMultiInstanceUseUpdateMode,\n} from './credentialUseTypes'\n\nexport { CredentialMultiInstanceUseMode, CredentialMultiInstanceUseUpdateMode, CredentialMultiInstanceState }\n\ntype CredentialRecord = W3cCredentialRecord | SdJwtVcRecord | MdocRecord | W3cV2CredentialRecord\n\ntype CredentialInstanceReturnType<Record extends CredentialRecord> = Record extends W3cCredentialRecord\n ? W3cVerifiableCredential\n : Record extends W3cV2CredentialRecord\n ? W3cV2VerifiableCredential\n : Record extends SdJwtVcRecord\n ? SdJwtVc\n : Record extends MdocRecord\n ? Mdoc\n : CredentialRecord\n\ntype CredentialRepositoryForRecord<Record extends CredentialRecord> = Record extends W3cCredentialRecord\n ? W3cCredentialRepository\n : Record extends W3cV2CredentialRepository\n ? W3cV2VerifiableCredential\n : Record extends SdJwtVcRepository\n ? SdJwtVc\n : Record extends MdocRepository\n ? Mdoc\n : W3cCredentialRepository | W3cV2CredentialRepository | SdJwtVcRepository | MdocRepository\n\n/**\n * Checks whether an instance can be used from the provided record based on\n * the required credential use mode.\n */\nexport function canUseInstanceFromCredentialRecord({\n credentialRecord,\n useMode,\n}: {\n credentialRecord: CredentialRecord\n useMode: CredentialMultiInstanceUseMode\n}) {\n // If we're not required to use a new instance, we can always return the first instance\n if (\n useMode === CredentialMultiInstanceUseMode.First ||\n useMode === CredentialMultiInstanceUseMode.NewOrFirst ||\n (useMode === CredentialMultiInstanceUseMode.NewIfReceivedInBatch &&\n [CredentialMultiInstanceState.SingleInstanceUnused, CredentialMultiInstanceState.SingleInstanceUsed].includes(\n credentialRecord.multiInstanceState\n ))\n ) {\n return true\n }\n\n // Otherwise we return whether we can use a new instance\n return (\n credentialRecord.multiInstanceState === CredentialMultiInstanceState.MultiInstanceFirstUnused ||\n credentialRecord.multiInstanceState === CredentialMultiInstanceState.SingleInstanceUnused\n )\n}\n\nexport interface UseInstanceFromCredentialRecordOptions<Record extends CredentialRecord> {\n agentContext: AgentContext\n\n /**\n * Which mode to use for usage of the credential instance. See {@link CredentialMultiInstanceUseMode} for\n * more information on the available options\n */\n useMode: CredentialMultiInstanceUseMode\n credentialRecord: Record\n\n /**\n * The update mode for the credential record when a new instance is used.\n *\n * @default `CredentialMultiInstanceUseUpdateMode.RefetchAndUpdateWithLock`\n */\n updateMode?: CredentialMultiInstanceUseUpdateMode\n}\n\nexport interface UseInstanceFromCredentialRecordReturn<Record extends CredentialRecord> {\n /**\n * The credential instance with the kms key id\n */\n credentialInstance: CredentialInstanceReturnType<Record>\n\n /**\n * If the first instance was used, this value will be `true`. The first time\n * the first instance is used, technically the credential is not reused yet,\n * but we make no distinction between this.\n */\n isReused: boolean\n\n /**\n * Whether the last new instance was used. If `isReused` is `true` this value will\n * always be `false`.\n *\n * The last new instance is the second entry in the mdoc instances, since the first\n * one is reserved for 'reused' usage.\n */\n isLastNewInstance: boolean\n}\n\n/**\n * Extract an instance with the correct kms key id from the credential instances\n * on the record. Note that if an instance is extracted (that is not reused) it\n * will remove the instance from the record, and the record should be updated in\n * storage after usage.\n *\n * Note that the last credential instance is never removed from the record. So if the\n * method indicates the last instance has been used, you should remove the credential\n * from storage if you don't want it to be used anymore in the future.\n */\nexport async function useInstanceFromCredentialRecord<Record extends CredentialRecord>({\n credentialRecord,\n useMode,\n agentContext,\n updateMode,\n}: UseInstanceFromCredentialRecordOptions<Record>): Promise<UseInstanceFromCredentialRecordReturn<Record>> {\n let extractResult = extractInstanceAndUpdateRecord({\n credentialRecord,\n useMode,\n })\n\n if (\n (!extractResult.isReused || extractResult.isLastNewInstance) &&\n updateMode === CredentialMultiInstanceUseUpdateMode.Update\n ) {\n await updateCredentialRecord(agentContext, credentialRecord)\n }\n\n if (\n (!extractResult.isReused || extractResult.isLastNewInstance) &&\n updateMode === CredentialMultiInstanceUseUpdateMode.RefetchAndUpdateWithLock\n ) {\n // the method is generic, but the types don't work well generically\n const repository = repositoryForRecord(agentContext, credentialRecord) as SdJwtVcRepository\n\n await repository.updateByIdWithLock(\n agentContext,\n credentialRecord.id,\n async (freshCredentialRecord: SdJwtVcRecord) => {\n extractResult = extractInstanceAndUpdateRecord({\n credentialRecord: freshCredentialRecord,\n useMode,\n })\n\n return freshCredentialRecord\n }\n )\n }\n\n let transformedCredentialInstance: W3cVerifiableCredential | Mdoc | SdJwtVc | W3cV2VerifiableCredential\n if (credentialRecord instanceof MdocRecord) {\n const { issuerSignedBase64Url, kmsKeyId } = extractResult.credentialInstance as MdocRecordInstances[0]\n transformedCredentialInstance = Mdoc.fromBase64Url(issuerSignedBase64Url)\n transformedCredentialInstance.deviceKeyId = kmsKeyId ?? transformedCredentialInstance.deviceKey.legacyKeyId\n } else if (credentialRecord instanceof SdJwtVcRecord) {\n const { compactSdJwtVc, kmsKeyId } = extractResult.credentialInstance as SdJwtVcRecordInstances[0]\n\n transformedCredentialInstance = {\n ...decodeSdJwtVc(compactSdJwtVc, credentialRecord.typeMetadata),\n kmsKeyId,\n }\n } else if (credentialRecord instanceof W3cCredentialRecord) {\n const { credential } = extractResult.credentialInstance as W3cCredentialRecordInstances[0]\n\n transformedCredentialInstance =\n typeof credential === 'string'\n ? W3cJwtVerifiableCredential.fromSerializedJwt(credential)\n : W3cJsonLdVerifiableCredential.fromJson(credential)\n } else if (credentialRecord instanceof W3cV2CredentialRecord) {\n const { credential } = extractResult.credentialInstance as W3cV2CredentialRecordInstances[0]\n\n transformedCredentialInstance = credential.includes('~')\n ? W3cV2SdJwtVerifiableCredential.fromCompact(credential)\n : W3cV2JwtVerifiableCredential.fromCompact(credential)\n } else {\n throw new CredoError('Unsupported record type')\n }\n\n return {\n credentialInstance: transformedCredentialInstance as CredentialInstanceReturnType<Record>,\n isReused: extractResult.isReused,\n isLastNewInstance: extractResult.isLastNewInstance,\n }\n}\n\nfunction extractInstanceAndUpdateRecord<Record extends CredentialRecord>({\n credentialRecord,\n useMode,\n}: Pick<UseInstanceFromCredentialRecordOptions<Record>, 'credentialRecord' | 'useMode'>) {\n if (credentialRecord.credentialInstances.length === 1 || useMode === CredentialMultiInstanceUseMode.First) {\n const isFirstUnused =\n credentialRecord.multiInstanceState === CredentialMultiInstanceState.MultiInstanceFirstUnused ||\n credentialRecord.multiInstanceState === CredentialMultiInstanceState.SingleInstanceUnused\n\n const isMultiInstance =\n credentialRecord.multiInstanceState === CredentialMultiInstanceState.MultiInstanceFirstUnused ||\n credentialRecord.multiInstanceState === CredentialMultiInstanceState.MultiInstanceFirstUsed\n\n const allowsReuse =\n // New does not allow reuse\n useMode === CredentialMultiInstanceUseMode.New\n ? false\n : // NewIfReceivedInBatch only allows reuse if the credential was not multi instance\n useMode === CredentialMultiInstanceUseMode.NewIfReceivedInBatch\n ? !isMultiInstance\n : // Otherwise we allow reuse (First or NewOrFirst)\n true\n\n if (isFirstUnused) {\n credentialRecord.multiInstanceState =\n credentialRecord.multiInstanceState === CredentialMultiInstanceState.SingleInstanceUnused\n ? CredentialMultiInstanceState.SingleInstanceUsed\n : CredentialMultiInstanceState.MultiInstanceFirstUsed\n } else if (!allowsReuse) {\n throw new CredoError(\n `Unable to extract new credential instance from ${credentialRecord.type} with id '${credentialRecord.id}', since it only contains a single credential instance but using a new instance is required due to use mode '${useMode}'.`\n )\n }\n\n return {\n isReused: !isFirstUnused,\n credentialInstance: credentialRecord.credentialInstances[0],\n isLastNewInstance: isFirstUnused,\n }\n }\n\n // We have multiple instances, so we pop the last one (never the first one)\n const _credentialInstance = credentialRecord.credentialInstances.pop()\n if (!_credentialInstance) {\n throw new CredoError(\n `Unable to extract credential instance from ${credentialRecord.type} with id '${credentialRecord.id}', since the credential record does not contain any credential instances.`\n )\n }\n\n return {\n credentialInstance: _credentialInstance,\n isReused: false,\n isLastNewInstance: false,\n }\n}\n\nfunction repositoryForRecord<Record extends CredentialRecord>(\n agentContext: AgentContext,\n record: CredentialRecord\n): CredentialRepositoryForRecord<Record> {\n if (record instanceof W3cCredentialRecord)\n return agentContext.resolve(W3cCredentialRepository) as CredentialRepositoryForRecord<Record>\n if (record instanceof W3cV2CredentialRecord)\n return agentContext.resolve(W3cV2CredentialRepository) as CredentialRepositoryForRecord<Record>\n if (record instanceof MdocRecord) return agentContext.resolve(MdocRepository) as CredentialRepositoryForRecord<Record>\n return agentContext.resolve(SdJwtVcRepository) as CredentialRepositoryForRecord<Record>\n}\n\nfunction updateCredentialRecord(agentContext: AgentContext, record: CredentialRecord) {\n if (record instanceof W3cCredentialRecord)\n return agentContext.resolve(W3cCredentialRepository).update(agentContext, record)\n if (record instanceof W3cV2CredentialRecord)\n return agentContext.resolve(W3cV2CredentialRepository).update(agentContext, record)\n if (record instanceof MdocRecord) return agentContext.resolve(MdocRepository).update(agentContext, record)\n return agentContext.resolve(SdJwtVcRepository).update(agentContext, record)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA,SAAgB,mCAAmC,EACjD,kBACA,WAIC;AAED,KACE,YAAY,+BAA+B,SAC3C,YAAY,+BAA+B,cAC1C,YAAY,+BAA+B,wBAC1C,CAAC,6BAA6B,sBAAsB,6BAA6B,mBAAmB,CAAC,SACnG,iBAAiB,mBAClB,CAEH,QAAO;AAIT,QACE,iBAAiB,uBAAuB,6BAA6B,4BACrE,iBAAiB,uBAAuB,6BAA6B;;;;;;;;;;;;AAuDzE,eAAsB,gCAAiE,EACrF,kBACA,SACA,cACA,cACyG;CACzG,IAAI,gBAAgB,+BAA+B;EACjD;EACA;EACD,CAAC;AAEF,MACG,CAAC,cAAc,YAAY,cAAc,sBAC1C,eAAe,qCAAqC,OAEpD,OAAM,uBAAuB,cAAc,iBAAiB;AAG9D,MACG,CAAC,cAAc,YAAY,cAAc,sBAC1C,eAAe,qCAAqC,yBAKpD,OAFmB,oBAAoB,cAAc,iBAAiB,CAErD,mBACf,cACA,iBAAiB,IACjB,OAAO,0BAAyC;AAC9C,kBAAgB,+BAA+B;GAC7C,kBAAkB;GAClB;GACD,CAAC;AAEF,SAAO;GAEV;CAGH,IAAIA;AACJ,KAAI,4BAA4B,YAAY;EAC1C,MAAM,EAAE,uBAAuB,aAAa,cAAc;AAC1D,kCAAgC,KAAK,cAAc,sBAAsB;AACzE,gCAA8B,cAAc,YAAY,8BAA8B,UAAU;YACvF,4BAA4B,eAAe;EACpD,MAAM,EAAE,gBAAgB,aAAa,cAAc;AAEnD,kCAAgC;GAC9B,GAAG,cAAc,gBAAgB,iBAAiB,aAAa;GAC/D;GACD;YACQ,4BAA4B,qBAAqB;EAC1D,MAAM,EAAE,eAAe,cAAc;AAErC,kCACE,OAAO,eAAe,WAClB,2BAA2B,kBAAkB,WAAW,GACxD,8BAA8B,SAAS,WAAW;YAC/C,4BAA4B,uBAAuB;EAC5D,MAAM,EAAE,eAAe,cAAc;AAErC,kCAAgC,WAAW,SAAS,IAAI,GACpD,+BAA+B,YAAY,WAAW,GACtD,6BAA6B,YAAY,WAAW;OAExD,OAAM,IAAI,WAAW,0BAA0B;AAGjD,QAAO;EACL,oBAAoB;EACpB,UAAU,cAAc;EACxB,mBAAmB,cAAc;EAClC;;AAGH,SAAS,+BAAgE,EACvE,kBACA,WACuF;AACvF,KAAI,iBAAiB,oBAAoB,WAAW,KAAK,YAAY,+BAA+B,OAAO;EACzG,MAAM,gBACJ,iBAAiB,uBAAuB,6BAA6B,4BACrE,iBAAiB,uBAAuB,6BAA6B;EAEvE,MAAM,kBACJ,iBAAiB,uBAAuB,6BAA6B,4BACrE,iBAAiB,uBAAuB,6BAA6B;EAEvE,MAAM,cAEJ,YAAY,+BAA+B,MACvC,QAEA,YAAY,+BAA+B,uBACzC,CAAC,kBAED;AAER,MAAI,cACF,kBAAiB,qBACf,iBAAiB,uBAAuB,6BAA6B,uBACjE,6BAA6B,qBAC7B,6BAA6B;WAC1B,CAAC,YACV,OAAM,IAAI,WACR,kDAAkD,iBAAiB,KAAK,YAAY,iBAAiB,GAAG,+GAA+G,QAAQ,IAChO;AAGH,SAAO;GACL,UAAU,CAAC;GACX,oBAAoB,iBAAiB,oBAAoB;GACzD,mBAAmB;GACpB;;CAIH,MAAM,sBAAsB,iBAAiB,oBAAoB,KAAK;AACtE,KAAI,CAAC,oBACH,OAAM,IAAI,WACR,8CAA8C,iBAAiB,KAAK,YAAY,iBAAiB,GAAG,2EACrG;AAGH,QAAO;EACL,oBAAoB;EACpB,UAAU;EACV,mBAAmB;EACpB;;AAGH,SAAS,oBACP,cACA,QACuC;AACvC,KAAI,kBAAkB,oBACpB,QAAO,aAAa,QAAQ,wBAAwB;AACtD,KAAI,kBAAkB,sBACpB,QAAO,aAAa,QAAQ,0BAA0B;AACxD,KAAI,kBAAkB,WAAY,QAAO,aAAa,QAAQ,eAAe;AAC7E,QAAO,aAAa,QAAQ,kBAAkB;;AAGhD,SAAS,uBAAuB,cAA4B,QAA0B;AACpF,KAAI,kBAAkB,oBACpB,QAAO,aAAa,QAAQ,wBAAwB,CAAC,OAAO,cAAc,OAAO;AACnF,KAAI,kBAAkB,sBACpB,QAAO,aAAa,QAAQ,0BAA0B,CAAC,OAAO,cAAc,OAAO;AACrF,KAAI,kBAAkB,WAAY,QAAO,aAAa,QAAQ,eAAe,CAAC,OAAO,cAAc,OAAO;AAC1G,QAAO,aAAa,QAAQ,kBAAkB,CAAC,OAAO,cAAc,OAAO"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
//#region src/utils/credentialUseTypes.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* The `CredentialMultiInstanceState` enum represents the state of credential instances on a record.
|
|
4
|
+
*/
|
|
5
|
+
declare enum CredentialMultiInstanceState {
|
|
6
|
+
/**
|
|
7
|
+
* Indicates the credential record is a single instance record, and the instance has been used.
|
|
8
|
+
*/
|
|
9
|
+
SingleInstanceUsed = "SingleInstanceUsed",
|
|
10
|
+
/**
|
|
11
|
+
* Indicates the credential record is a single instance record, and the instance has not been used.
|
|
12
|
+
*/
|
|
13
|
+
SingleInstanceUnused = "SingleInstanceUnused",
|
|
14
|
+
/**
|
|
15
|
+
* Indicates the credential record is a multi instance record, where the first instance is used. It may still have other
|
|
16
|
+
* instances that are unused (which can be detected if the length of credentialInstances > 1)
|
|
17
|
+
*/
|
|
18
|
+
MultiInstanceFirstUsed = "MultiInstanceFirstUsed",
|
|
19
|
+
/**
|
|
20
|
+
* Indicates the credential record is a multi instance record, where the first instance has not been used. It may still have other
|
|
21
|
+
* instances that are unused (which can be detected if the length of credentialInstances > 1)
|
|
22
|
+
*/
|
|
23
|
+
MultiInstanceFirstUnused = "MultiInstanceFirstUnused",
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* The `CredentialMultiInstanceUseMode` enum offers different modes for usage of credential instances from records.
|
|
27
|
+
*/
|
|
28
|
+
declare enum CredentialMultiInstanceUseMode {
|
|
29
|
+
/**
|
|
30
|
+
* Always use a new unused instance. If not available an error will be thrown
|
|
31
|
+
* that a new instance could not be extracted. This removes the instance from the record.
|
|
32
|
+
*/
|
|
33
|
+
New = "New",
|
|
34
|
+
/**
|
|
35
|
+
* Use a new unused instance if the credential was received as a batch (mimicking behavior of the `CredentialMultiInstanceUseMode.New` mode).
|
|
36
|
+
* If only a single instance was received it will use the first instance (mimicking behavior of the `CredentialMultiInstanceUseMode.First` mode).
|
|
37
|
+
*/
|
|
38
|
+
NewIfReceivedInBatch = "NewIfReceivedInBatch",
|
|
39
|
+
/**
|
|
40
|
+
* use a new unused instance if available, or fallback to the
|
|
41
|
+
* first one if not available. This is a combination of the `first` and `new` modes, and the same
|
|
42
|
+
* behavior applies (in terms of whether the instance is removed from the record).
|
|
43
|
+
*/
|
|
44
|
+
NewOrFirst = "NewOrFirst",
|
|
45
|
+
/**
|
|
46
|
+
* Always use the first credential instance on the record. This does not remove
|
|
47
|
+
* the credential instance from the record, and it also does not prevent reusing.
|
|
48
|
+
*/
|
|
49
|
+
First = "First",
|
|
50
|
+
}
|
|
51
|
+
declare enum CredentialMultiInstanceUseUpdateMode {
|
|
52
|
+
/**
|
|
53
|
+
* The record is not updated, which means the credential can be reused in the future even
|
|
54
|
+
* if `useMode` is set to `New`. This is generally not recommended.
|
|
55
|
+
*/
|
|
56
|
+
None = "None",
|
|
57
|
+
/**
|
|
58
|
+
* Update the provided record if a new instance is used. This may result in race conditions
|
|
59
|
+
* if multiple processes are using the record at the same time (e.g. in a server environment)
|
|
60
|
+
*/
|
|
61
|
+
Update = "Update",
|
|
62
|
+
/**
|
|
63
|
+
* Refetch and update the provided record with a lock. This is the safest method, but does
|
|
64
|
+
* require another re-fetch of the record. Locking is not supported on all databases backend,
|
|
65
|
+
* in which case the record will be refetched and updated without lock.
|
|
66
|
+
*
|
|
67
|
+
* Even without lock, this will still minimize the chance of race conditions and concurrent writes significantly, as
|
|
68
|
+
* with the standard `Update` the record was fetched at the time the credentials were received, which is usually before
|
|
69
|
+
* showing the request to the user and waiting for confirmation.
|
|
70
|
+
*
|
|
71
|
+
* This is the recommended option.
|
|
72
|
+
*/
|
|
73
|
+
RefetchAndUpdateWithLock = "RefetchAndUpdateWithLock",
|
|
74
|
+
}
|
|
75
|
+
//#endregion
|
|
76
|
+
export { CredentialMultiInstanceState, CredentialMultiInstanceUseMode, CredentialMultiInstanceUseUpdateMode };
|
|
77
|
+
//# sourceMappingURL=credentialUseTypes.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credentialUseTypes.d.mts","names":[],"sources":["../../src/utils/credentialUseTypes.ts"],"sourcesContent":[],"mappings":";;;;AAGY,aAAA,4BAAA;EA2BA;AA2BZ;;;;;;;;;;;;;;;;;;;;;aA3BY,8BAAA;;;;;;;;;;;;;;;;;;;;;;;aA2BA,oCAAA"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
//#region src/utils/credentialUseTypes.ts
|
|
4
|
+
/**
|
|
5
|
+
* The `CredentialMultiInstanceState` enum represents the state of credential instances on a record.
|
|
6
|
+
*/
|
|
7
|
+
let CredentialMultiInstanceState = /* @__PURE__ */ function(CredentialMultiInstanceState$1) {
|
|
8
|
+
/**
|
|
9
|
+
* Indicates the credential record is a single instance record, and the instance has been used.
|
|
10
|
+
*/
|
|
11
|
+
CredentialMultiInstanceState$1["SingleInstanceUsed"] = "SingleInstanceUsed";
|
|
12
|
+
/**
|
|
13
|
+
* Indicates the credential record is a single instance record, and the instance has not been used.
|
|
14
|
+
*/
|
|
15
|
+
CredentialMultiInstanceState$1["SingleInstanceUnused"] = "SingleInstanceUnused";
|
|
16
|
+
/**
|
|
17
|
+
* Indicates the credential record is a multi instance record, where the first instance is used. It may still have other
|
|
18
|
+
* instances that are unused (which can be detected if the length of credentialInstances > 1)
|
|
19
|
+
*/
|
|
20
|
+
CredentialMultiInstanceState$1["MultiInstanceFirstUsed"] = "MultiInstanceFirstUsed";
|
|
21
|
+
/**
|
|
22
|
+
* Indicates the credential record is a multi instance record, where the first instance has not been used. It may still have other
|
|
23
|
+
* instances that are unused (which can be detected if the length of credentialInstances > 1)
|
|
24
|
+
*/
|
|
25
|
+
CredentialMultiInstanceState$1["MultiInstanceFirstUnused"] = "MultiInstanceFirstUnused";
|
|
26
|
+
return CredentialMultiInstanceState$1;
|
|
27
|
+
}({});
|
|
28
|
+
/**
|
|
29
|
+
* The `CredentialMultiInstanceUseMode` enum offers different modes for usage of credential instances from records.
|
|
30
|
+
*/
|
|
31
|
+
let CredentialMultiInstanceUseMode = /* @__PURE__ */ function(CredentialMultiInstanceUseMode$1) {
|
|
32
|
+
/**
|
|
33
|
+
* Always use a new unused instance. If not available an error will be thrown
|
|
34
|
+
* that a new instance could not be extracted. This removes the instance from the record.
|
|
35
|
+
*/
|
|
36
|
+
CredentialMultiInstanceUseMode$1["New"] = "New";
|
|
37
|
+
/**
|
|
38
|
+
* Use a new unused instance if the credential was received as a batch (mimicking behavior of the `CredentialMultiInstanceUseMode.New` mode).
|
|
39
|
+
* If only a single instance was received it will use the first instance (mimicking behavior of the `CredentialMultiInstanceUseMode.First` mode).
|
|
40
|
+
*/
|
|
41
|
+
CredentialMultiInstanceUseMode$1["NewIfReceivedInBatch"] = "NewIfReceivedInBatch";
|
|
42
|
+
/**
|
|
43
|
+
* use a new unused instance if available, or fallback to the
|
|
44
|
+
* first one if not available. This is a combination of the `first` and `new` modes, and the same
|
|
45
|
+
* behavior applies (in terms of whether the instance is removed from the record).
|
|
46
|
+
*/
|
|
47
|
+
CredentialMultiInstanceUseMode$1["NewOrFirst"] = "NewOrFirst";
|
|
48
|
+
/**
|
|
49
|
+
* Always use the first credential instance on the record. This does not remove
|
|
50
|
+
* the credential instance from the record, and it also does not prevent reusing.
|
|
51
|
+
*/
|
|
52
|
+
CredentialMultiInstanceUseMode$1["First"] = "First";
|
|
53
|
+
return CredentialMultiInstanceUseMode$1;
|
|
54
|
+
}({});
|
|
55
|
+
let CredentialMultiInstanceUseUpdateMode = /* @__PURE__ */ function(CredentialMultiInstanceUseUpdateMode$1) {
|
|
56
|
+
/**
|
|
57
|
+
* The record is not updated, which means the credential can be reused in the future even
|
|
58
|
+
* if `useMode` is set to `New`. This is generally not recommended.
|
|
59
|
+
*/
|
|
60
|
+
CredentialMultiInstanceUseUpdateMode$1["None"] = "None";
|
|
61
|
+
/**
|
|
62
|
+
* Update the provided record if a new instance is used. This may result in race conditions
|
|
63
|
+
* if multiple processes are using the record at the same time (e.g. in a server environment)
|
|
64
|
+
*/
|
|
65
|
+
CredentialMultiInstanceUseUpdateMode$1["Update"] = "Update";
|
|
66
|
+
/**
|
|
67
|
+
* Refetch and update the provided record with a lock. This is the safest method, but does
|
|
68
|
+
* require another re-fetch of the record. Locking is not supported on all databases backend,
|
|
69
|
+
* in which case the record will be refetched and updated without lock.
|
|
70
|
+
*
|
|
71
|
+
* Even without lock, this will still minimize the chance of race conditions and concurrent writes significantly, as
|
|
72
|
+
* with the standard `Update` the record was fetched at the time the credentials were received, which is usually before
|
|
73
|
+
* showing the request to the user and waiting for confirmation.
|
|
74
|
+
*
|
|
75
|
+
* This is the recommended option.
|
|
76
|
+
*/
|
|
77
|
+
CredentialMultiInstanceUseUpdateMode$1["RefetchAndUpdateWithLock"] = "RefetchAndUpdateWithLock";
|
|
78
|
+
return CredentialMultiInstanceUseUpdateMode$1;
|
|
79
|
+
}({});
|
|
80
|
+
|
|
81
|
+
//#endregion
|
|
82
|
+
export { CredentialMultiInstanceState, CredentialMultiInstanceUseMode, CredentialMultiInstanceUseUpdateMode };
|
|
83
|
+
//# sourceMappingURL=credentialUseTypes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credentialUseTypes.mjs","names":[],"sources":["../../src/utils/credentialUseTypes.ts"],"sourcesContent":["/**\n * The `CredentialMultiInstanceState` enum represents the state of credential instances on a record.\n */\nexport enum CredentialMultiInstanceState {\n /**\n * Indicates the credential record is a single instance record, and the instance has been used.\n */\n SingleInstanceUsed = 'SingleInstanceUsed',\n\n /**\n * Indicates the credential record is a single instance record, and the instance has not been used.\n */\n SingleInstanceUnused = 'SingleInstanceUnused',\n\n /**\n * Indicates the credential record is a multi instance record, where the first instance is used. It may still have other\n * instances that are unused (which can be detected if the length of credentialInstances > 1)\n */\n MultiInstanceFirstUsed = 'MultiInstanceFirstUsed',\n\n /**\n * Indicates the credential record is a multi instance record, where the first instance has not been used. It may still have other\n * instances that are unused (which can be detected if the length of credentialInstances > 1)\n */\n MultiInstanceFirstUnused = 'MultiInstanceFirstUnused',\n}\n\n/**\n * The `CredentialMultiInstanceUseMode` enum offers different modes for usage of credential instances from records.\n */\nexport enum CredentialMultiInstanceUseMode {\n /**\n * Always use a new unused instance. If not available an error will be thrown\n * that a new instance could not be extracted. This removes the instance from the record.\n */\n New = 'New',\n\n /**\n * Use a new unused instance if the credential was received as a batch (mimicking behavior of the `CredentialMultiInstanceUseMode.New` mode).\n * If only a single instance was received it will use the first instance (mimicking behavior of the `CredentialMultiInstanceUseMode.First` mode).\n */\n NewIfReceivedInBatch = 'NewIfReceivedInBatch',\n\n /**\n * use a new unused instance if available, or fallback to the\n * first one if not available. This is a combination of the `first` and `new` modes, and the same\n * behavior applies (in terms of whether the instance is removed from the record).\n */\n NewOrFirst = 'NewOrFirst',\n\n /**\n * Always use the first credential instance on the record. This does not remove\n * the credential instance from the record, and it also does not prevent reusing.\n */\n First = 'First',\n}\n\nexport enum CredentialMultiInstanceUseUpdateMode {\n /**\n * The record is not updated, which means the credential can be reused in the future even\n * if `useMode` is set to `New`. This is generally not recommended.\n */\n None = 'None',\n\n /**\n * Update the provided record if a new instance is used. This may result in race conditions\n * if multiple processes are using the record at the same time (e.g. in a server environment)\n */\n Update = 'Update',\n\n /**\n * Refetch and update the provided record with a lock. This is the safest method, but does\n * require another re-fetch of the record. Locking is not supported on all databases backend,\n * in which case the record will be refetched and updated without lock.\n *\n * Even without lock, this will still minimize the chance of race conditions and concurrent writes significantly, as\n * with the standard `Update` the record was fetched at the time the credentials were received, which is usually before\n * showing the request to the user and waiting for confirmation.\n *\n * This is the recommended option.\n */\n RefetchAndUpdateWithLock = 'RefetchAndUpdateWithLock',\n}\n"],"mappings":";;;;;;AAGA,IAAY,wFAAL;;;;AAIL;;;;AAKA;;;;;AAMA;;;;;AAMA;;;;;;AAMF,IAAY,4FAAL;;;;;AAKL;;;;;AAMA;;;;;;AAOA;;;;;AAMA;;;AAGF,IAAY,wGAAL;;;;;AAKL;;;;;AAMA;;;;;;;;;;;;AAaA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/utils/deepEquality.d.ts
|
|
2
|
+
declare function deepEquality(x: any, y: any): boolean;
|
|
3
|
+
/**
|
|
4
|
+
* @note This will only work for primitive array equality
|
|
5
|
+
*/
|
|
6
|
+
declare function equalsIgnoreOrder<Item = string>(a: Array<Item>, b: Array<Item>): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* @note This will only work for primitive array equality
|
|
9
|
+
*/
|
|
10
|
+
declare function equalsWithOrder<Item = string>(lhs: Array<Item>, rhs: Array<Item>): boolean;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { deepEquality, equalsIgnoreOrder, equalsWithOrder };
|
|
13
|
+
//# sourceMappingURL=deepEquality.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deepEquality.d.mts","names":[],"sources":["../../src/utils/deepEquality.ts"],"sourcesContent":[],"mappings":";iBAGgB,YAAA;;;AAAhB;AAyBgB,iBAAA,iBAAiB,CAAA,OAAA,MAAA,CAAA,CAAA,CAAA,EAAmB,KAAnB,CAAyB,IAAzB,CAAA,EAAA,CAAA,EAAmC,KAAnC,CAAyC,IAAzC,CAAA,CAAA,EAAA,OAAA;;;;AAAmC,iBAQpD,eARoD,CAAA,OAAA,MAAA,CAAA,CAAA,GAAA,EAQhB,KARgB,CAQV,IARU,CAAA,EAAA,GAAA,EAQE,KARF,CAQQ,IARR,CAAA,CAAA,EAAA,OAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { areObjectsEqual } from "./objectEquality.mjs";
|
|
4
|
+
|
|
5
|
+
//#region src/utils/deepEquality.ts
|
|
6
|
+
function deepEquality(x, y) {
|
|
7
|
+
const isXSimpleEqualY = simpleEqual(x, y);
|
|
8
|
+
if (isXSimpleEqualY !== void 0) return isXSimpleEqualY;
|
|
9
|
+
if (!(x instanceof Map) || !(y instanceof Map)) return areObjectsEqual(x, y);
|
|
10
|
+
const xMap = x;
|
|
11
|
+
const yMap = y;
|
|
12
|
+
if (!equalsIgnoreOrder(Array.from(xMap.keys()), Array.from(yMap.keys()))) return false;
|
|
13
|
+
return Array.from(xMap.entries()).every(([key, xVal]) => deepEquality(xVal, yMap.get(key)));
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @note This will only work for primitive array equality
|
|
17
|
+
*/
|
|
18
|
+
function equalsIgnoreOrder(a, b) {
|
|
19
|
+
if (a.length !== b.length) return false;
|
|
20
|
+
return a.every((k) => b.includes(k));
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @note This will only work for primitive array equality
|
|
24
|
+
*/
|
|
25
|
+
function equalsWithOrder(lhs, rhs) {
|
|
26
|
+
if (lhs.length !== rhs.length) return false;
|
|
27
|
+
return lhs.every((k, i) => k === rhs[i]);
|
|
28
|
+
}
|
|
29
|
+
function simpleEqual(x, y) {
|
|
30
|
+
if (x === y) return true;
|
|
31
|
+
if ((x === null || x === void 0) && (y === null || y === void 0)) return x === y;
|
|
32
|
+
if (x.constructor !== y.constructor) return false;
|
|
33
|
+
if (x instanceof Function) return x === y;
|
|
34
|
+
if (x instanceof RegExp) return x === y;
|
|
35
|
+
if (x.valueOf && y.valueOf && x.valueOf() === y.valueOf()) return true;
|
|
36
|
+
if (x instanceof Date || y instanceof Date) return false;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
//#endregion
|
|
40
|
+
export { deepEquality, equalsIgnoreOrder, equalsWithOrder };
|
|
41
|
+
//# sourceMappingURL=deepEquality.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deepEquality.mjs","names":[],"sources":["../../src/utils/deepEquality.ts"],"sourcesContent":["import { areObjectsEqual } from './objectEquality'\n\n// biome-ignore lint/suspicious/noExplicitAny: no explanation\nexport function deepEquality(x: any, y: any): boolean {\n // We do a simple equals here to check primitives, functions, regex, etc.\n // This will only happen if the typing of the function is ignored\n const isXSimpleEqualY = simpleEqual(x, y)\n if (isXSimpleEqualY !== undefined) return isXSimpleEqualY\n\n if (!(x instanceof Map) || !(y instanceof Map)) return areObjectsEqual(x, y)\n\n const xMap = x as Map<string, unknown>\n const yMap = y as Map<string, unknown>\n\n // At this point we are sure we have two instances of a Map\n const xKeys = Array.from(xMap.keys())\n const yKeys = Array.from(yMap.keys())\n\n // Keys from both maps are not equal, content has not been verified, yet\n if (!equalsIgnoreOrder(xKeys, yKeys)) return false\n\n // Here we recursively check whether the value of xMap is equals to the value of yMap\n return Array.from(xMap.entries()).every(([key, xVal]) => deepEquality(xVal, yMap.get(key)))\n}\n\n/**\n * @note This will only work for primitive array equality\n */\nexport function equalsIgnoreOrder<Item = string>(a: Array<Item>, b: Array<Item>): boolean {\n if (a.length !== b.length) return false\n return a.every((k) => b.includes(k))\n}\n\n/**\n * @note This will only work for primitive array equality\n */\nexport function equalsWithOrder<Item = string>(lhs: Array<Item>, rhs: Array<Item>): boolean {\n if (lhs.length !== rhs.length) return false\n return lhs.every((k, i) => k === rhs[i])\n}\n\n// We take any here as we have to check some properties, they will be undefined if they do not exist\n// biome-ignore lint/suspicious/noExplicitAny: no explanation\nfunction simpleEqual(x: any, y: any) {\n // short circuit for easy equality\n if (x === y) return true\n\n if ((x === null || x === undefined) && (y === null || y === undefined)) return x === y\n\n // after this just checking type of one would be enough\n if (x.constructor !== y.constructor) return false\n\n // if they are functions, they should exactly refer to same one (because of closures)\n if (x instanceof Function) return x === y\n\n // if they are regexps, they should exactly refer to same one (it is hard to better equality check on current ES)\n if (x instanceof RegExp) return x === y\n\n if (x.valueOf && y.valueOf && x.valueOf() === y.valueOf()) return true\n\n // if they are dates, they must had equal valueOf\n if (x instanceof Date || y instanceof Date) return false\n}\n"],"mappings":";;;;;AAGA,SAAgB,aAAa,GAAQ,GAAiB;CAGpD,MAAM,kBAAkB,YAAY,GAAG,EAAE;AACzC,KAAI,oBAAoB,OAAW,QAAO;AAE1C,KAAI,EAAE,aAAa,QAAQ,EAAE,aAAa,KAAM,QAAO,gBAAgB,GAAG,EAAE;CAE5E,MAAM,OAAO;CACb,MAAM,OAAO;AAOb,KAAI,CAAC,kBAJS,MAAM,KAAK,KAAK,MAAM,CAAC,EACvB,MAAM,KAAK,KAAK,MAAM,CAAC,CAGD,CAAE,QAAO;AAG7C,QAAO,MAAM,KAAK,KAAK,SAAS,CAAC,CAAC,OAAO,CAAC,KAAK,UAAU,aAAa,MAAM,KAAK,IAAI,IAAI,CAAC,CAAC;;;;;AAM7F,SAAgB,kBAAiC,GAAgB,GAAyB;AACxF,KAAI,EAAE,WAAW,EAAE,OAAQ,QAAO;AAClC,QAAO,EAAE,OAAO,MAAM,EAAE,SAAS,EAAE,CAAC;;;;;AAMtC,SAAgB,gBAA+B,KAAkB,KAA2B;AAC1F,KAAI,IAAI,WAAW,IAAI,OAAQ,QAAO;AACtC,QAAO,IAAI,OAAO,GAAG,MAAM,MAAM,IAAI,GAAG;;AAK1C,SAAS,YAAY,GAAQ,GAAQ;AAEnC,KAAI,MAAM,EAAG,QAAO;AAEpB,MAAK,MAAM,QAAQ,MAAM,YAAe,MAAM,QAAQ,MAAM,QAAY,QAAO,MAAM;AAGrF,KAAI,EAAE,gBAAgB,EAAE,YAAa,QAAO;AAG5C,KAAI,aAAa,SAAU,QAAO,MAAM;AAGxC,KAAI,aAAa,OAAQ,QAAO,MAAM;AAEtC,KAAI,EAAE,WAAW,EAAE,WAAW,EAAE,SAAS,KAAK,EAAE,SAAS,CAAE,QAAO;AAGlE,KAAI,aAAa,QAAQ,aAAa,KAAM,QAAO"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/utils/did.d.ts
|
|
2
|
+
declare function indyDidFromPublicKeyBase58(publicKeyBase58: string): string;
|
|
3
|
+
/**
|
|
4
|
+
* Checks whether `potentialDid` is a valid DID. You can optionally provide a `method` to
|
|
5
|
+
* check whether the did is for that specific method.
|
|
6
|
+
*
|
|
7
|
+
* Note: the check in this method is very simple and just check whether the did starts with
|
|
8
|
+
* `did:` or `did:<method>:`. It does not do an advanced regex check on the did.
|
|
9
|
+
*/
|
|
10
|
+
declare function isDid(potentialDid: string, method?: string): boolean;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { indyDidFromPublicKeyBase58, isDid };
|
|
13
|
+
//# sourceMappingURL=did.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"did.d.mts","names":[],"sources":["../../src/utils/did.ts"],"sourcesContent":[],"mappings":";iBAEgB,0BAAA;;;AAAhB;AAeA;;;;iBAAgB,KAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { TypedArrayEncoder } from "./TypedArrayEncoder.mjs";
|
|
4
|
+
|
|
5
|
+
//#region src/utils/did.ts
|
|
6
|
+
function indyDidFromPublicKeyBase58(publicKeyBase58) {
|
|
7
|
+
const buffer = TypedArrayEncoder.fromBase58(publicKeyBase58);
|
|
8
|
+
return TypedArrayEncoder.toBase58(buffer.slice(0, 16));
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Checks whether `potentialDid` is a valid DID. You can optionally provide a `method` to
|
|
12
|
+
* check whether the did is for that specific method.
|
|
13
|
+
*
|
|
14
|
+
* Note: the check in this method is very simple and just check whether the did starts with
|
|
15
|
+
* `did:` or `did:<method>:`. It does not do an advanced regex check on the did.
|
|
16
|
+
*/
|
|
17
|
+
function isDid(potentialDid, method) {
|
|
18
|
+
return method ? potentialDid.startsWith(`did:${method}:`) : potentialDid.startsWith("did:");
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { indyDidFromPublicKeyBase58, isDid };
|
|
23
|
+
//# sourceMappingURL=did.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"did.mjs","names":[],"sources":["../../src/utils/did.ts"],"sourcesContent":["import { TypedArrayEncoder } from './TypedArrayEncoder'\n\nexport function indyDidFromPublicKeyBase58(publicKeyBase58: string): string {\n const buffer = TypedArrayEncoder.fromBase58(publicKeyBase58)\n\n const did = TypedArrayEncoder.toBase58(buffer.slice(0, 16))\n\n return did\n}\n\n/**\n * Checks whether `potentialDid` is a valid DID. You can optionally provide a `method` to\n * check whether the did is for that specific method.\n *\n * Note: the check in this method is very simple and just check whether the did starts with\n * `did:` or `did:<method>:`. It does not do an advanced regex check on the did.\n */\nexport function isDid(potentialDid: string, method?: string) {\n return method ? potentialDid.startsWith(`did:${method}:`) : potentialDid.startsWith('did:')\n}\n"],"mappings":";;;;;AAEA,SAAgB,2BAA2B,iBAAiC;CAC1E,MAAM,SAAS,kBAAkB,WAAW,gBAAgB;AAI5D,QAFY,kBAAkB,SAAS,OAAO,MAAM,GAAG,GAAG,CAAC;;;;;;;;;AAY7D,SAAgB,MAAM,cAAsB,QAAiB;AAC3D,QAAO,SAAS,aAAa,WAAW,OAAO,OAAO,GAAG,GAAG,aAAa,WAAW,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domain.d.mts","names":[],"sources":["../../src/utils/domain.ts"],"sourcesContent":[],"mappings":";iBAAgB,gBAAA"}
|