@credo-ts/core 0.4.1-alpha.157
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/LICENSE +202 -0
- package/README.md +31 -0
- package/build/agent/Agent.d.ts +33 -0
- package/build/agent/Agent.js +186 -0
- package/build/agent/Agent.js.map +1 -0
- package/build/agent/AgentConfig.d.ts +56 -0
- package/build/agent/AgentConfig.js +74 -0
- package/build/agent/AgentConfig.js.map +1 -0
- package/build/agent/AgentDependencies.d.ts +13 -0
- package/build/agent/AgentDependencies.js +3 -0
- package/build/agent/AgentDependencies.js.map +1 -0
- package/build/agent/AgentMessage.d.ts +92 -0
- package/build/agent/AgentMessage.js +66 -0
- package/build/agent/AgentMessage.js.map +1 -0
- package/build/agent/AgentModules.d.ts +156 -0
- package/build/agent/AgentModules.js +112 -0
- package/build/agent/AgentModules.js.map +1 -0
- package/build/agent/BaseAgent.d.ts +65 -0
- package/build/agent/BaseAgent.js +141 -0
- package/build/agent/BaseAgent.js.map +1 -0
- package/build/agent/BaseMessage.d.ts +11 -0
- package/build/agent/BaseMessage.js +34 -0
- package/build/agent/BaseMessage.js.map +1 -0
- package/build/agent/Dispatcher.d.ts +14 -0
- package/build/agent/Dispatcher.js +102 -0
- package/build/agent/Dispatcher.js.map +1 -0
- package/build/agent/EnvelopeService.d.ts +21 -0
- package/build/agent/EnvelopeService.js +66 -0
- package/build/agent/EnvelopeService.js.map +1 -0
- package/build/agent/EventEmitter.d.ts +15 -0
- package/build/agent/EventEmitter.js +48 -0
- package/build/agent/EventEmitter.js.map +1 -0
- package/build/agent/Events.d.ts +40 -0
- package/build/agent/Events.js +17 -0
- package/build/agent/Events.js.map +1 -0
- package/build/agent/FeatureRegistry.d.ts +21 -0
- package/build/agent/FeatureRegistry.js +66 -0
- package/build/agent/FeatureRegistry.js.map +1 -0
- package/build/agent/MessageHandler.d.ts +14 -0
- package/build/agent/MessageHandler.js +3 -0
- package/build/agent/MessageHandler.js.map +1 -0
- package/build/agent/MessageHandlerRegistry.d.ts +20 -0
- package/build/agent/MessageHandlerRegistry.js +84 -0
- package/build/agent/MessageHandlerRegistry.js.map +1 -0
- package/build/agent/MessageReceiver.d.ts +62 -0
- package/build/agent/MessageReceiver.js +246 -0
- package/build/agent/MessageReceiver.js.map +1 -0
- package/build/agent/MessageSender.d.ts +56 -0
- package/build/agent/MessageSender.js +482 -0
- package/build/agent/MessageSender.js.map +1 -0
- package/build/agent/TransportService.d.ts +32 -0
- package/build/agent/TransportService.js +78 -0
- package/build/agent/TransportService.js.map +1 -0
- package/build/agent/context/AgentContext.d.ts +39 -0
- package/build/agent/context/AgentContext.js +37 -0
- package/build/agent/context/AgentContext.js.map +1 -0
- package/build/agent/context/AgentContextProvider.d.ts +26 -0
- package/build/agent/context/AgentContextProvider.js +3 -0
- package/build/agent/context/AgentContextProvider.js.map +1 -0
- package/build/agent/context/DefaultAgentContextProvider.d.ts +17 -0
- package/build/agent/context/DefaultAgentContextProvider.js +54 -0
- package/build/agent/context/DefaultAgentContextProvider.js.map +1 -0
- package/build/agent/context/index.d.ts +3 -0
- package/build/agent/context/index.js +20 -0
- package/build/agent/context/index.js.map +1 -0
- package/build/agent/getOutboundMessageContext.d.ts +27 -0
- package/build/agent/getOutboundMessageContext.js +199 -0
- package/build/agent/getOutboundMessageContext.js.map +1 -0
- package/build/agent/index.d.ts +1 -0
- package/build/agent/index.js +18 -0
- package/build/agent/index.js.map +1 -0
- package/build/agent/models/InboundMessageContext.d.ts +35 -0
- package/build/agent/models/InboundMessageContext.js +39 -0
- package/build/agent/models/InboundMessageContext.js.map +1 -0
- package/build/agent/models/OutboundMessageContext.d.ts +51 -0
- package/build/agent/models/OutboundMessageContext.js +46 -0
- package/build/agent/models/OutboundMessageContext.js.map +1 -0
- package/build/agent/models/OutboundMessageSendStatus.d.ts +6 -0
- package/build/agent/models/OutboundMessageSendStatus.js +11 -0
- package/build/agent/models/OutboundMessageSendStatus.js.map +1 -0
- package/build/agent/models/features/Feature.d.ts +18 -0
- package/build/agent/models/features/Feature.js +62 -0
- package/build/agent/models/features/Feature.js.map +1 -0
- package/build/agent/models/features/FeatureQuery.d.ts +9 -0
- package/build/agent/models/features/FeatureQuery.js +33 -0
- package/build/agent/models/features/FeatureQuery.js.map +1 -0
- package/build/agent/models/features/GoalCode.d.ts +7 -0
- package/build/agent/models/features/GoalCode.js +12 -0
- package/build/agent/models/features/GoalCode.js.map +1 -0
- package/build/agent/models/features/GovernanceFramework.d.ts +7 -0
- package/build/agent/models/features/GovernanceFramework.js +12 -0
- package/build/agent/models/features/GovernanceFramework.js.map +1 -0
- package/build/agent/models/features/Protocol.d.ts +10 -0
- package/build/agent/models/features/Protocol.js +30 -0
- package/build/agent/models/features/Protocol.js.map +1 -0
- package/build/agent/models/features/index.d.ts +5 -0
- package/build/agent/models/features/index.js +22 -0
- package/build/agent/models/features/index.js.map +1 -0
- package/build/agent/models/index.d.ts +4 -0
- package/build/agent/models/index.js +21 -0
- package/build/agent/models/index.js.map +1 -0
- package/build/constants.d.ts +11 -0
- package/build/constants.js +15 -0
- package/build/constants.js.map +1 -0
- package/build/crypto/JwsService.d.ts +47 -0
- package/build/crypto/JwsService.js +188 -0
- package/build/crypto/JwsService.js.map +1 -0
- package/build/crypto/JwsTypes.d.ts +51 -0
- package/build/crypto/JwsTypes.js +5 -0
- package/build/crypto/JwsTypes.js.map +1 -0
- package/build/crypto/Key.d.ts +16 -0
- package/build/crypto/Key.js +55 -0
- package/build/crypto/Key.js.map +1 -0
- package/build/crypto/KeyType.d.ts +11 -0
- package/build/crypto/KeyType.js +16 -0
- package/build/crypto/KeyType.js.map +1 -0
- package/build/crypto/WalletKeyPair.d.ts +107 -0
- package/build/crypto/WalletKeyPair.js +95 -0
- package/build/crypto/WalletKeyPair.js.map +1 -0
- package/build/crypto/__tests__/__fixtures__/didJwsz6Mkf.d.ts +24 -0
- package/build/crypto/__tests__/__fixtures__/didJwsz6Mkf.js +29 -0
- package/build/crypto/__tests__/__fixtures__/didJwsz6Mkf.js.map +1 -0
- package/build/crypto/__tests__/__fixtures__/didJwsz6Mkv.d.ts +24 -0
- package/build/crypto/__tests__/__fixtures__/didJwsz6Mkv.js +29 -0
- package/build/crypto/__tests__/__fixtures__/didJwsz6Mkv.js.map +1 -0
- package/build/crypto/__tests__/__fixtures__/didJwszDnaey.d.ts +24 -0
- package/build/crypto/__tests__/__fixtures__/didJwszDnaey.js +29 -0
- package/build/crypto/__tests__/__fixtures__/didJwszDnaey.js.map +1 -0
- package/build/crypto/index.d.ts +7 -0
- package/build/crypto/index.js +27 -0
- package/build/crypto/index.js.map +1 -0
- package/build/crypto/jose/index.d.ts +3 -0
- package/build/crypto/jose/index.js +20 -0
- package/build/crypto/jose/index.js.map +1 -0
- package/build/crypto/jose/jwa/alg.d.ts +37 -0
- package/build/crypto/jose/jwa/alg.js +42 -0
- package/build/crypto/jose/jwa/alg.js.map +1 -0
- package/build/crypto/jose/jwa/crv.d.ts +8 -0
- package/build/crypto/jose/jwa/crv.js +13 -0
- package/build/crypto/jose/jwa/crv.js.map +1 -0
- package/build/crypto/jose/jwa/index.d.ts +3 -0
- package/build/crypto/jose/jwa/index.js +11 -0
- package/build/crypto/jose/jwa/index.js.map +1 -0
- package/build/crypto/jose/jwa/kty.d.ts +6 -0
- package/build/crypto/jose/jwa/kty.js +11 -0
- package/build/crypto/jose/jwa/kty.js.map +1 -0
- package/build/crypto/jose/jwk/Ed25519Jwk.d.ts +31 -0
- package/build/crypto/jose/jwk/Ed25519Jwk.js +63 -0
- package/build/crypto/jose/jwk/Ed25519Jwk.js.map +1 -0
- package/build/crypto/jose/jwk/Jwk.d.ts +28 -0
- package/build/crypto/jose/jwk/Jwk.js +20 -0
- package/build/crypto/jose/jwk/Jwk.js.map +1 -0
- package/build/crypto/jose/jwk/K256Jwk.d.ts +41 -0
- package/build/crypto/jose/jwk/K256Jwk.js +80 -0
- package/build/crypto/jose/jwk/K256Jwk.js.map +1 -0
- package/build/crypto/jose/jwk/P256Jwk.d.ts +41 -0
- package/build/crypto/jose/jwk/P256Jwk.js +80 -0
- package/build/crypto/jose/jwk/P256Jwk.js.map +1 -0
- package/build/crypto/jose/jwk/P384Jwk.d.ts +41 -0
- package/build/crypto/jose/jwk/P384Jwk.js +80 -0
- package/build/crypto/jose/jwk/P384Jwk.js.map +1 -0
- package/build/crypto/jose/jwk/P521Jwk.d.ts +41 -0
- package/build/crypto/jose/jwk/P521Jwk.js +80 -0
- package/build/crypto/jose/jwk/P521Jwk.js.map +1 -0
- package/build/crypto/jose/jwk/X25519Jwk.d.ts +30 -0
- package/build/crypto/jose/jwk/X25519Jwk.js +67 -0
- package/build/crypto/jose/jwk/X25519Jwk.js.map +1 -0
- package/build/crypto/jose/jwk/ecCompression.d.ts +5 -0
- package/build/crypto/jose/jwk/ecCompression.js +109 -0
- package/build/crypto/jose/jwk/ecCompression.js.map +1 -0
- package/build/crypto/jose/jwk/index.d.ts +7 -0
- package/build/crypto/jose/jwk/index.js +31 -0
- package/build/crypto/jose/jwk/index.js.map +1 -0
- package/build/crypto/jose/jwk/transform.d.ts +14 -0
- package/build/crypto/jose/jwk/transform.js +59 -0
- package/build/crypto/jose/jwk/transform.js.map +1 -0
- package/build/crypto/jose/jwk/validate.d.ts +16 -0
- package/build/crypto/jose/jwk/validate.js +24 -0
- package/build/crypto/jose/jwk/validate.js.map +1 -0
- package/build/crypto/jose/jwt/Jwt.d.ts +22 -0
- package/build/crypto/jose/jwt/Jwt.js +34 -0
- package/build/crypto/jose/jwt/Jwt.js.map +1 -0
- package/build/crypto/jose/jwt/JwtPayload.d.ts +101 -0
- package/build/crypto/jose/jwt/JwtPayload.js +127 -0
- package/build/crypto/jose/jwt/JwtPayload.js.map +1 -0
- package/build/crypto/jose/jwt/index.d.ts +2 -0
- package/build/crypto/jose/jwt/index.js +8 -0
- package/build/crypto/jose/jwt/index.js.map +1 -0
- package/build/crypto/keyUtils.d.ts +6 -0
- package/build/crypto/keyUtils.js +66 -0
- package/build/crypto/keyUtils.js.map +1 -0
- package/build/crypto/multiCodecKey.d.ts +3 -0
- package/build/crypto/multiCodecKey.js +34 -0
- package/build/crypto/multiCodecKey.js.map +1 -0
- package/build/crypto/signing-provider/SigningProvider.d.ts +27 -0
- package/build/crypto/signing-provider/SigningProvider.js +3 -0
- package/build/crypto/signing-provider/SigningProvider.js.map +1 -0
- package/build/crypto/signing-provider/SigningProviderError.d.ts +3 -0
- package/build/crypto/signing-provider/SigningProviderError.js +8 -0
- package/build/crypto/signing-provider/SigningProviderError.js.map +1 -0
- package/build/crypto/signing-provider/SigningProviderRegistry.d.ts +10 -0
- package/build/crypto/signing-provider/SigningProviderRegistry.js +49 -0
- package/build/crypto/signing-provider/SigningProviderRegistry.js.map +1 -0
- package/build/crypto/signing-provider/index.d.ts +3 -0
- package/build/crypto/signing-provider/index.js +20 -0
- package/build/crypto/signing-provider/index.js.map +1 -0
- package/build/decorators/ack/AckDecorator.d.ts +13 -0
- package/build/decorators/ack/AckDecorator.js +38 -0
- package/build/decorators/ack/AckDecorator.js.map +1 -0
- package/build/decorators/ack/AckDecoratorExtension.d.ts +13 -0
- package/build/decorators/ack/AckDecoratorExtension.js +39 -0
- package/build/decorators/ack/AckDecoratorExtension.js.map +1 -0
- package/build/decorators/attachment/Attachment.d.ts +75 -0
- package/build/decorators/attachment/Attachment.js +168 -0
- package/build/decorators/attachment/Attachment.js.map +1 -0
- package/build/decorators/attachment/AttachmentExtension.d.ts +15 -0
- package/build/decorators/attachment/AttachmentExtension.js +42 -0
- package/build/decorators/attachment/AttachmentExtension.js.map +1 -0
- package/build/decorators/l10n/L10nDecorator.d.ts +7 -0
- package/build/decorators/l10n/L10nDecorator.js +13 -0
- package/build/decorators/l10n/L10nDecorator.js.map +1 -0
- package/build/decorators/l10n/L10nDecoratorExtension.d.ts +12 -0
- package/build/decorators/l10n/L10nDecoratorExtension.js +41 -0
- package/build/decorators/l10n/L10nDecoratorExtension.js.map +1 -0
- package/build/decorators/service/ServiceDecorator.d.ts +20 -0
- package/build/decorators/service/ServiceDecorator.js +63 -0
- package/build/decorators/service/ServiceDecorator.js.map +1 -0
- package/build/decorators/service/ServiceDecoratorExtension.d.ts +12 -0
- package/build/decorators/service/ServiceDecoratorExtension.js +32 -0
- package/build/decorators/service/ServiceDecoratorExtension.js.map +1 -0
- package/build/decorators/signature/SignatureDecorator.d.ts +11 -0
- package/build/decorators/signature/SignatureDecorator.js +55 -0
- package/build/decorators/signature/SignatureDecorator.js.map +1 -0
- package/build/decorators/signature/SignatureDecoratorUtils.d.ts +21 -0
- package/build/decorators/signature/SignatureDecoratorUtils.js +59 -0
- package/build/decorators/signature/SignatureDecoratorUtils.js.map +1 -0
- package/build/decorators/thread/ThreadDecorator.d.ts +26 -0
- package/build/decorators/thread/ThreadDecorator.js +52 -0
- package/build/decorators/thread/ThreadDecorator.js.map +1 -0
- package/build/decorators/thread/ThreadDecoratorExtension.d.ts +15 -0
- package/build/decorators/thread/ThreadDecoratorExtension.js +37 -0
- package/build/decorators/thread/ThreadDecoratorExtension.js.map +1 -0
- package/build/decorators/timing/TimingDecorator.d.ts +38 -0
- package/build/decorators/timing/TimingDecorator.js +93 -0
- package/build/decorators/timing/TimingDecorator.js.map +1 -0
- package/build/decorators/timing/TimingDecoratorExtension.d.ts +14 -0
- package/build/decorators/timing/TimingDecoratorExtension.js +33 -0
- package/build/decorators/timing/TimingDecoratorExtension.js.map +1 -0
- package/build/decorators/transport/TransportDecorator.d.ts +20 -0
- package/build/decorators/transport/TransportDecorator.js +51 -0
- package/build/decorators/transport/TransportDecorator.js.map +1 -0
- package/build/decorators/transport/TransportDecoratorExtension.d.ts +13 -0
- package/build/decorators/transport/TransportDecoratorExtension.js +55 -0
- package/build/decorators/transport/TransportDecoratorExtension.js.map +1 -0
- package/build/error/BaseError.d.ts +42 -0
- package/build/error/BaseError.js +70 -0
- package/build/error/BaseError.js.map +1 -0
- package/build/error/ClassValidationError.d.ts +11 -0
- package/build/error/ClassValidationError.js +18 -0
- package/build/error/ClassValidationError.js.map +1 -0
- package/build/error/CredoError.d.ts +11 -0
- package/build/error/CredoError.js +16 -0
- package/build/error/CredoError.js.map +1 -0
- package/build/error/MessageSendingError.d.ts +9 -0
- package/build/error/MessageSendingError.js +12 -0
- package/build/error/MessageSendingError.js.map +1 -0
- package/build/error/RecordDuplicateError.d.ts +7 -0
- package/build/error/RecordDuplicateError.js +11 -0
- package/build/error/RecordDuplicateError.js.map +1 -0
- package/build/error/RecordNotFoundError.d.ts +7 -0
- package/build/error/RecordNotFoundError.js +11 -0
- package/build/error/RecordNotFoundError.js.map +1 -0
- package/build/error/ValidationErrorUtils.d.ts +2 -0
- package/build/error/ValidationErrorUtils.js +13 -0
- package/build/error/ValidationErrorUtils.js.map +1 -0
- package/build/error/index.d.ts +5 -0
- package/build/error/index.js +22 -0
- package/build/error/index.js.map +1 -0
- package/build/index.d.ts +72 -0
- package/build/index.js +127 -0
- package/build/index.js.map +1 -0
- package/build/logger/BaseLogger.d.ts +14 -0
- package/build/logger/BaseLogger.js +14 -0
- package/build/logger/BaseLogger.js.map +1 -0
- package/build/logger/ConsoleLogger.d.ts +12 -0
- package/build/logger/ConsoleLogger.js +61 -0
- package/build/logger/ConsoleLogger.js.map +1 -0
- package/build/logger/Logger.d.ts +20 -0
- package/build/logger/Logger.js +16 -0
- package/build/logger/Logger.js.map +1 -0
- package/build/logger/index.d.ts +3 -0
- package/build/logger/index.js +20 -0
- package/build/logger/index.js.map +1 -0
- package/build/logger/replaceError.d.ts +1 -0
- package/build/logger/replaceError.js +18 -0
- package/build/logger/replaceError.js.map +1 -0
- package/build/modules/basic-messages/BasicMessageEvents.d.ts +13 -0
- package/build/modules/basic-messages/BasicMessageEvents.js +8 -0
- package/build/modules/basic-messages/BasicMessageEvents.js.map +1 -0
- package/build/modules/basic-messages/BasicMessageRole.d.ts +4 -0
- package/build/modules/basic-messages/BasicMessageRole.js +9 -0
- package/build/modules/basic-messages/BasicMessageRole.js.map +1 -0
- package/build/modules/basic-messages/BasicMessagesApi.d.ts +57 -0
- package/build/modules/basic-messages/BasicMessagesApi.js +102 -0
- package/build/modules/basic-messages/BasicMessagesApi.js.map +1 -0
- package/build/modules/basic-messages/BasicMessagesModule.d.ts +10 -0
- package/build/modules/basic-messages/BasicMessagesModule.js +29 -0
- package/build/modules/basic-messages/BasicMessagesModule.js.map +1 -0
- package/build/modules/basic-messages/handlers/BasicMessageHandler.d.ts +9 -0
- package/build/modules/basic-messages/handlers/BasicMessageHandler.js +16 -0
- package/build/modules/basic-messages/handlers/BasicMessageHandler.js.map +1 -0
- package/build/modules/basic-messages/handlers/index.d.ts +1 -0
- package/build/modules/basic-messages/handlers/index.js +18 -0
- package/build/modules/basic-messages/handlers/index.js.map +1 -0
- package/build/modules/basic-messages/index.d.ts +7 -0
- package/build/modules/basic-messages/index.js +24 -0
- package/build/modules/basic-messages/index.js.map +1 -0
- package/build/modules/basic-messages/messages/BasicMessage.d.ts +19 -0
- package/build/modules/basic-messages/messages/BasicMessage.js +53 -0
- package/build/modules/basic-messages/messages/BasicMessage.js.map +1 -0
- package/build/modules/basic-messages/messages/index.d.ts +1 -0
- package/build/modules/basic-messages/messages/index.js +18 -0
- package/build/modules/basic-messages/messages/index.js.map +1 -0
- package/build/modules/basic-messages/repository/BasicMessageRecord.d.ts +39 -0
- package/build/modules/basic-messages/repository/BasicMessageRecord.js +29 -0
- package/build/modules/basic-messages/repository/BasicMessageRecord.js.map +1 -0
- package/build/modules/basic-messages/repository/BasicMessageRepository.d.ts +7 -0
- package/build/modules/basic-messages/repository/BasicMessageRepository.js +32 -0
- package/build/modules/basic-messages/repository/BasicMessageRepository.js.map +1 -0
- package/build/modules/basic-messages/repository/index.d.ts +2 -0
- package/build/modules/basic-messages/repository/index.js +19 -0
- package/build/modules/basic-messages/repository/index.js.map +1 -0
- package/build/modules/basic-messages/services/BasicMessageService.d.ts +26 -0
- package/build/modules/basic-messages/services/BasicMessageService.js +86 -0
- package/build/modules/basic-messages/services/BasicMessageService.js.map +1 -0
- package/build/modules/basic-messages/services/index.d.ts +1 -0
- package/build/modules/basic-messages/services/index.js +18 -0
- package/build/modules/basic-messages/services/index.js.map +1 -0
- package/build/modules/cache/Cache.d.ts +6 -0
- package/build/modules/cache/Cache.js +3 -0
- package/build/modules/cache/Cache.js.map +1 -0
- package/build/modules/cache/CacheModule.d.ts +10 -0
- package/build/modules/cache/CacheModule.js +23 -0
- package/build/modules/cache/CacheModule.js.map +1 -0
- package/build/modules/cache/CacheModuleConfig.d.ts +21 -0
- package/build/modules/cache/CacheModuleConfig.js +14 -0
- package/build/modules/cache/CacheModuleConfig.js.map +1 -0
- package/build/modules/cache/InMemoryLruCache.d.ts +21 -0
- package/build/modules/cache/InMemoryLruCache.js +51 -0
- package/build/modules/cache/InMemoryLruCache.js.map +1 -0
- package/build/modules/cache/index.d.ts +5 -0
- package/build/modules/cache/index.js +14 -0
- package/build/modules/cache/index.js.map +1 -0
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.d.ts +22 -0
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.js +38 -0
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.js.map +1 -0
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRepository.d.ts +7 -0
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRepository.js +32 -0
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRepository.js.map +1 -0
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.d.ts +34 -0
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.js +126 -0
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.js.map +1 -0
- package/build/modules/cache/singleContextLruCache/index.d.ts +1 -0
- package/build/modules/cache/singleContextLruCache/index.js +6 -0
- package/build/modules/cache/singleContextLruCache/index.js.map +1 -0
- package/build/modules/common/index.d.ts +1 -0
- package/build/modules/common/index.js +18 -0
- package/build/modules/common/index.js.map +1 -0
- package/build/modules/common/messages/AckMessage.d.ts +26 -0
- package/build/modules/common/messages/AckMessage.js +54 -0
- package/build/modules/common/messages/AckMessage.js.map +1 -0
- package/build/modules/connections/ConnectionEvents.d.ts +13 -0
- package/build/modules/connections/ConnectionEvents.js +8 -0
- package/build/modules/connections/ConnectionEvents.js.map +1 -0
- package/build/modules/connections/ConnectionsApi.d.ts +194 -0
- package/build/modules/connections/ConnectionsApi.js +428 -0
- package/build/modules/connections/ConnectionsApi.js.map +1 -0
- package/build/modules/connections/ConnectionsModule.d.ts +14 -0
- package/build/modules/connections/ConnectionsModule.js +43 -0
- package/build/modules/connections/ConnectionsModule.js.map +1 -0
- package/build/modules/connections/ConnectionsModuleConfig.d.ts +47 -0
- package/build/modules/connections/ConnectionsModuleConfig.js +57 -0
- package/build/modules/connections/ConnectionsModuleConfig.js.map +1 -0
- package/build/modules/connections/DidExchangeProtocol.d.ts +60 -0
- package/build/modules/connections/DidExchangeProtocol.js +480 -0
- package/build/modules/connections/DidExchangeProtocol.js.map +1 -0
- package/build/modules/connections/DidExchangeStateMachine.d.ts +10 -0
- package/build/modules/connections/DidExchangeStateMachine.js +78 -0
- package/build/modules/connections/DidExchangeStateMachine.js.map +1 -0
- package/build/modules/connections/TrustPingEvents.d.ts +21 -0
- package/build/modules/connections/TrustPingEvents.js +9 -0
- package/build/modules/connections/TrustPingEvents.js.map +1 -0
- package/build/modules/connections/errors/ConnectionProblemReportError.d.ts +13 -0
- package/build/modules/connections/errors/ConnectionProblemReportError.js +19 -0
- package/build/modules/connections/errors/ConnectionProblemReportError.js.map +1 -0
- package/build/modules/connections/errors/ConnectionProblemReportReason.d.ts +11 -0
- package/build/modules/connections/errors/ConnectionProblemReportReason.js +16 -0
- package/build/modules/connections/errors/ConnectionProblemReportReason.js.map +1 -0
- package/build/modules/connections/errors/DidExchangeProblemReportError.d.ts +13 -0
- package/build/modules/connections/errors/DidExchangeProblemReportError.js +19 -0
- package/build/modules/connections/errors/DidExchangeProblemReportError.js.map +1 -0
- package/build/modules/connections/errors/DidExchangeProblemReportReason.d.ts +12 -0
- package/build/modules/connections/errors/DidExchangeProblemReportReason.js +17 -0
- package/build/modules/connections/errors/DidExchangeProblemReportReason.js.map +1 -0
- package/build/modules/connections/errors/index.d.ts +4 -0
- package/build/modules/connections/errors/index.js +21 -0
- package/build/modules/connections/errors/index.js.map +1 -0
- package/build/modules/connections/handlers/AckMessageHandler.d.ts +9 -0
- package/build/modules/connections/handlers/AckMessageHandler.js +15 -0
- package/build/modules/connections/handlers/AckMessageHandler.js.map +1 -0
- package/build/modules/connections/handlers/ConnectionProblemReportHandler.d.ts +9 -0
- package/build/modules/connections/handlers/ConnectionProblemReportHandler.js +15 -0
- package/build/modules/connections/handlers/ConnectionProblemReportHandler.js.map +1 -0
- package/build/modules/connections/handlers/ConnectionRequestHandler.d.ts +18 -0
- package/build/modules/connections/handlers/ConnectionRequestHandler.js +63 -0
- package/build/modules/connections/handlers/ConnectionRequestHandler.js.map +1 -0
- package/build/modules/connections/handlers/ConnectionResponseHandler.d.ts +16 -0
- package/build/modules/connections/handlers/ConnectionResponseHandler.js +62 -0
- package/build/modules/connections/handlers/ConnectionResponseHandler.js.map +1 -0
- package/build/modules/connections/handlers/DidExchangeCompleteHandler.d.ts +11 -0
- package/build/modules/connections/handlers/DidExchangeCompleteHandler.js +41 -0
- package/build/modules/connections/handlers/DidExchangeCompleteHandler.js.map +1 -0
- package/build/modules/connections/handlers/DidExchangeRequestHandler.d.ts +18 -0
- package/build/modules/connections/handlers/DidExchangeRequestHandler.js +72 -0
- package/build/modules/connections/handlers/DidExchangeRequestHandler.js.map +1 -0
- package/build/modules/connections/handlers/DidExchangeResponseHandler.d.ts +18 -0
- package/build/modules/connections/handlers/DidExchangeResponseHandler.js +78 -0
- package/build/modules/connections/handlers/DidExchangeResponseHandler.js.map +1 -0
- package/build/modules/connections/handlers/DidRotateAckHandler.d.ts +9 -0
- package/build/modules/connections/handlers/DidRotateAckHandler.js +15 -0
- package/build/modules/connections/handlers/DidRotateAckHandler.js.map +1 -0
- package/build/modules/connections/handlers/DidRotateHandler.d.ts +11 -0
- package/build/modules/connections/handlers/DidRotateHandler.js +21 -0
- package/build/modules/connections/handlers/DidRotateHandler.js.map +1 -0
- package/build/modules/connections/handlers/DidRotateProblemReportHandler.d.ts +9 -0
- package/build/modules/connections/handlers/DidRotateProblemReportHandler.js +15 -0
- package/build/modules/connections/handlers/DidRotateProblemReportHandler.js.map +1 -0
- package/build/modules/connections/handlers/HangupHandler.d.ts +9 -0
- package/build/modules/connections/handlers/HangupHandler.js +15 -0
- package/build/modules/connections/handlers/HangupHandler.js.map +1 -0
- package/build/modules/connections/handlers/TrustPingMessageHandler.d.ts +11 -0
- package/build/modules/connections/handlers/TrustPingMessageHandler.js +27 -0
- package/build/modules/connections/handlers/TrustPingMessageHandler.js.map +1 -0
- package/build/modules/connections/handlers/TrustPingResponseMessageHandler.d.ts +9 -0
- package/build/modules/connections/handlers/TrustPingResponseMessageHandler.js +15 -0
- package/build/modules/connections/handlers/TrustPingResponseMessageHandler.js.map +1 -0
- package/build/modules/connections/handlers/index.d.ts +13 -0
- package/build/modules/connections/handlers/index.js +30 -0
- package/build/modules/connections/handlers/index.js.map +1 -0
- package/build/modules/connections/index.d.ts +10 -0
- package/build/modules/connections/index.js +27 -0
- package/build/modules/connections/index.js.map +1 -0
- package/build/modules/connections/messages/ConnectionInvitationMessage.d.ts +55 -0
- package/build/modules/connections/messages/ConnectionInvitationMessage.js +141 -0
- package/build/modules/connections/messages/ConnectionInvitationMessage.js.map +1 -0
- package/build/modules/connections/messages/ConnectionProblemReportMessage.d.ts +16 -0
- package/build/modules/connections/messages/ConnectionProblemReportMessage.js +35 -0
- package/build/modules/connections/messages/ConnectionProblemReportMessage.js.map +1 -0
- package/build/modules/connections/messages/ConnectionRequestMessage.d.ts +28 -0
- package/build/modules/connections/messages/ConnectionRequestMessage.js +64 -0
- package/build/modules/connections/messages/ConnectionRequestMessage.js.map +1 -0
- package/build/modules/connections/messages/ConnectionResponseMessage.d.ts +23 -0
- package/build/modules/connections/messages/ConnectionResponseMessage.js +52 -0
- package/build/modules/connections/messages/ConnectionResponseMessage.js.map +1 -0
- package/build/modules/connections/messages/DidExchangeCompleteMessage.d.ts +14 -0
- package/build/modules/connections/messages/DidExchangeCompleteMessage.js +38 -0
- package/build/modules/connections/messages/DidExchangeCompleteMessage.js.map +1 -0
- package/build/modules/connections/messages/DidExchangeProblemReportMessage.d.ts +11 -0
- package/build/modules/connections/messages/DidExchangeProblemReportMessage.js +30 -0
- package/build/modules/connections/messages/DidExchangeProblemReportMessage.js.map +1 -0
- package/build/modules/connections/messages/DidExchangeRequestMessage.d.ts +29 -0
- package/build/modules/connections/messages/DidExchangeRequestMessage.js +73 -0
- package/build/modules/connections/messages/DidExchangeRequestMessage.js.map +1 -0
- package/build/modules/connections/messages/DidExchangeResponseMessage.d.ts +24 -0
- package/build/modules/connections/messages/DidExchangeResponseMessage.js +64 -0
- package/build/modules/connections/messages/DidExchangeResponseMessage.js.map +1 -0
- package/build/modules/connections/messages/DidRotateAckMessage.d.ts +12 -0
- package/build/modules/connections/messages/DidRotateAckMessage.js +31 -0
- package/build/modules/connections/messages/DidRotateAckMessage.js.map +1 -0
- package/build/modules/connections/messages/DidRotateMessage.d.ts +20 -0
- package/build/modules/connections/messages/DidRotateMessage.js +47 -0
- package/build/modules/connections/messages/DidRotateMessage.js.map +1 -0
- package/build/modules/connections/messages/DidRotateProblemReportMessage.d.ts +11 -0
- package/build/modules/connections/messages/DidRotateProblemReportMessage.js +30 -0
- package/build/modules/connections/messages/DidRotateProblemReportMessage.js.map +1 -0
- package/build/modules/connections/messages/HangupMessage.d.ts +19 -0
- package/build/modules/connections/messages/HangupMessage.js +40 -0
- package/build/modules/connections/messages/HangupMessage.js.map +1 -0
- package/build/modules/connections/messages/TrustPingMessage.d.ts +26 -0
- package/build/modules/connections/messages/TrustPingMessage.js +63 -0
- package/build/modules/connections/messages/TrustPingMessage.js.map +1 -0
- package/build/modules/connections/messages/TrustPingResponseMessage.d.ts +25 -0
- package/build/modules/connections/messages/TrustPingResponseMessage.js +57 -0
- package/build/modules/connections/messages/TrustPingResponseMessage.js.map +1 -0
- package/build/modules/connections/messages/index.d.ts +14 -0
- package/build/modules/connections/messages/index.js +31 -0
- package/build/modules/connections/messages/index.js.map +1 -0
- package/build/modules/connections/models/Connection.d.ts +10 -0
- package/build/modules/connections/models/Connection.js +38 -0
- package/build/modules/connections/models/Connection.js.map +1 -0
- package/build/modules/connections/models/ConnectionRole.d.ts +4 -0
- package/build/modules/connections/models/ConnectionRole.js +9 -0
- package/build/modules/connections/models/ConnectionRole.js.map +1 -0
- package/build/modules/connections/models/ConnectionState.d.ts +14 -0
- package/build/modules/connections/models/ConnectionState.js +33 -0
- package/build/modules/connections/models/ConnectionState.js.map +1 -0
- package/build/modules/connections/models/ConnectionType.d.ts +3 -0
- package/build/modules/connections/models/ConnectionType.js +8 -0
- package/build/modules/connections/models/ConnectionType.js.map +1 -0
- package/build/modules/connections/models/DidExchangeRole.d.ts +4 -0
- package/build/modules/connections/models/DidExchangeRole.js +9 -0
- package/build/modules/connections/models/DidExchangeRole.js.map +1 -0
- package/build/modules/connections/models/DidExchangeState.d.ts +16 -0
- package/build/modules/connections/models/DidExchangeState.js +21 -0
- package/build/modules/connections/models/DidExchangeState.js.map +1 -0
- package/build/modules/connections/models/DidRotateRole.d.ts +4 -0
- package/build/modules/connections/models/DidRotateRole.js +9 -0
- package/build/modules/connections/models/DidRotateRole.js.map +1 -0
- package/build/modules/connections/models/HandshakeProtocol.d.ts +8 -0
- package/build/modules/connections/models/HandshakeProtocol.js +13 -0
- package/build/modules/connections/models/HandshakeProtocol.js.map +1 -0
- package/build/modules/connections/models/InvitationDetails.d.ts +6 -0
- package/build/modules/connections/models/InvitationDetails.js +3 -0
- package/build/modules/connections/models/InvitationDetails.js.map +1 -0
- package/build/modules/connections/models/did/DidDoc.d.ts +37 -0
- package/build/modules/connections/models/did/DidDoc.js +94 -0
- package/build/modules/connections/models/did/DidDoc.js.map +1 -0
- package/build/modules/connections/models/did/authentication/Authentication.d.ts +4 -0
- package/build/modules/connections/models/did/authentication/Authentication.js +7 -0
- package/build/modules/connections/models/did/authentication/Authentication.js.map +1 -0
- package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.d.ts +6 -0
- package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.js +29 -0
- package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.js.map +1 -0
- package/build/modules/connections/models/did/authentication/ReferencedAuthentication.d.ts +7 -0
- package/build/modules/connections/models/did/authentication/ReferencedAuthentication.js +35 -0
- package/build/modules/connections/models/did/authentication/ReferencedAuthentication.js.map +1 -0
- package/build/modules/connections/models/did/authentication/index.d.ts +19 -0
- package/build/modules/connections/models/did/authentication/index.js +59 -0
- package/build/modules/connections/models/did/authentication/index.js.map +1 -0
- package/build/modules/connections/models/did/index.d.ts +3 -0
- package/build/modules/connections/models/did/index.js +20 -0
- package/build/modules/connections/models/did/index.js.map +1 -0
- package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.d.ts +10 -0
- package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.js +35 -0
- package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.js.map +1 -0
- package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.d.ts +10 -0
- package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.js +35 -0
- package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.js.map +1 -0
- package/build/modules/connections/models/did/publicKey/PublicKey.d.ts +12 -0
- package/build/modules/connections/models/did/publicKey/PublicKey.js +42 -0
- package/build/modules/connections/models/did/publicKey/PublicKey.js.map +1 -0
- package/build/modules/connections/models/did/publicKey/RsaSig2018.d.ts +10 -0
- package/build/modules/connections/models/did/publicKey/RsaSig2018.js +35 -0
- package/build/modules/connections/models/did/publicKey/RsaSig2018.js.map +1 -0
- package/build/modules/connections/models/did/publicKey/index.d.ts +18 -0
- package/build/modules/connections/models/did/publicKey/index.js +40 -0
- package/build/modules/connections/models/did/publicKey/index.js.map +1 -0
- package/build/modules/connections/models/index.d.ts +9 -0
- package/build/modules/connections/models/index.js +26 -0
- package/build/modules/connections/models/index.js.map +1 -0
- package/build/modules/connections/repository/ConnectionMetadataTypes.d.ts +14 -0
- package/build/modules/connections/repository/ConnectionMetadataTypes.js +9 -0
- package/build/modules/connections/repository/ConnectionMetadataTypes.js.map +1 -0
- package/build/modules/connections/repository/ConnectionRecord.d.ts +70 -0
- package/build/modules/connections/repository/ConnectionRecord.js +90 -0
- package/build/modules/connections/repository/ConnectionRecord.js.map +1 -0
- package/build/modules/connections/repository/ConnectionRepository.d.ts +15 -0
- package/build/modules/connections/repository/ConnectionRepository.js +50 -0
- package/build/modules/connections/repository/ConnectionRepository.js.map +1 -0
- package/build/modules/connections/repository/index.d.ts +2 -0
- package/build/modules/connections/repository/index.js +19 -0
- package/build/modules/connections/repository/index.js.map +1 -0
- package/build/modules/connections/services/ConnectionService.d.ts +180 -0
- package/build/modules/connections/services/ConnectionService.js +679 -0
- package/build/modules/connections/services/ConnectionService.js.map +1 -0
- package/build/modules/connections/services/DidRotateService.d.ts +51 -0
- package/build/modules/connections/services/DidRotateService.js +211 -0
- package/build/modules/connections/services/DidRotateService.js.map +1 -0
- package/build/modules/connections/services/TrustPingService.d.ts +12 -0
- package/build/modules/connections/services/TrustPingService.js +54 -0
- package/build/modules/connections/services/TrustPingService.js.map +1 -0
- package/build/modules/connections/services/helpers.d.ts +9 -0
- package/build/modules/connections/services/helpers.js +131 -0
- package/build/modules/connections/services/helpers.js.map +1 -0
- package/build/modules/connections/services/index.d.ts +3 -0
- package/build/modules/connections/services/index.js +20 -0
- package/build/modules/connections/services/index.js.map +1 -0
- package/build/modules/credentials/CredentialEvents.d.ts +20 -0
- package/build/modules/credentials/CredentialEvents.js +9 -0
- package/build/modules/credentials/CredentialEvents.js.map +1 -0
- package/build/modules/credentials/CredentialsApi.d.ts +60 -0
- package/build/modules/credentials/CredentialsApi.js +485 -0
- package/build/modules/credentials/CredentialsApi.js.map +1 -0
- package/build/modules/credentials/CredentialsApiOptions.d.ts +104 -0
- package/build/modules/credentials/CredentialsApiOptions.js +3 -0
- package/build/modules/credentials/CredentialsApiOptions.js.map +1 -0
- package/build/modules/credentials/CredentialsModule.d.ts +22 -0
- package/build/modules/credentials/CredentialsModule.js +45 -0
- package/build/modules/credentials/CredentialsModule.js.map +1 -0
- package/build/modules/credentials/CredentialsModuleConfig.d.ts +34 -0
- package/build/modules/credentials/CredentialsModuleConfig.js +20 -0
- package/build/modules/credentials/CredentialsModuleConfig.js.map +1 -0
- package/build/modules/credentials/formats/CredentialFormat.d.ts +40 -0
- package/build/modules/credentials/formats/CredentialFormat.js +3 -0
- package/build/modules/credentials/formats/CredentialFormat.js.map +1 -0
- package/build/modules/credentials/formats/CredentialFormatService.d.ts +23 -0
- package/build/modules/credentials/formats/CredentialFormatService.js +3 -0
- package/build/modules/credentials/formats/CredentialFormatService.js.map +1 -0
- package/build/modules/credentials/formats/CredentialFormatServiceOptions.d.ts +117 -0
- package/build/modules/credentials/formats/CredentialFormatServiceOptions.js +3 -0
- package/build/modules/credentials/formats/CredentialFormatServiceOptions.js.map +1 -0
- package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.d.ts +51 -0
- package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.js +3 -0
- package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.js.map +1 -0
- package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.d.ts +77 -0
- package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.js +129 -0
- package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.js.map +1 -0
- package/build/modules/credentials/formats/dataIntegrity/index.d.ts +2 -0
- package/build/modules/credentials/formats/dataIntegrity/index.js +19 -0
- package/build/modules/credentials/formats/dataIntegrity/index.js.map +1 -0
- package/build/modules/credentials/formats/index.d.ts +5 -0
- package/build/modules/credentials/formats/index.js +22 -0
- package/build/modules/credentials/formats/index.js.map +1 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.d.ts +15 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.js +38 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.js.map +1 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.d.ts +24 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.js +67 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.js.map +1 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.d.ts +92 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.js +3 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.js.map +1 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.d.ts +71 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.js +300 -0
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.js.map +1 -0
- package/build/modules/credentials/formats/jsonld/index.d.ts +4 -0
- package/build/modules/credentials/formats/jsonld/index.js +21 -0
- package/build/modules/credentials/formats/jsonld/index.js.map +1 -0
- package/build/modules/credentials/index.d.ts +9 -0
- package/build/modules/credentials/index.js +26 -0
- package/build/modules/credentials/index.js.map +1 -0
- package/build/modules/credentials/models/CredentialAutoAcceptType.d.ts +11 -0
- package/build/modules/credentials/models/CredentialAutoAcceptType.js +16 -0
- package/build/modules/credentials/models/CredentialAutoAcceptType.js.map +1 -0
- package/build/modules/credentials/models/CredentialFormatSpec.d.ts +9 -0
- package/build/modules/credentials/models/CredentialFormatSpec.js +35 -0
- package/build/modules/credentials/models/CredentialFormatSpec.js.map +1 -0
- package/build/modules/credentials/models/CredentialPreviewAttribute.d.ts +15 -0
- package/build/modules/credentials/models/CredentialPreviewAttribute.js +44 -0
- package/build/modules/credentials/models/CredentialPreviewAttribute.js.map +1 -0
- package/build/modules/credentials/models/CredentialProblemReportReason.d.ts +8 -0
- package/build/modules/credentials/models/CredentialProblemReportReason.js +13 -0
- package/build/modules/credentials/models/CredentialProblemReportReason.js.map +1 -0
- package/build/modules/credentials/models/CredentialRole.d.ts +4 -0
- package/build/modules/credentials/models/CredentialRole.js +9 -0
- package/build/modules/credentials/models/CredentialRole.js.map +1 -0
- package/build/modules/credentials/models/CredentialState.d.ts +18 -0
- package/build/modules/credentials/models/CredentialState.js +23 -0
- package/build/modules/credentials/models/CredentialState.js.map +1 -0
- package/build/modules/credentials/models/RevocationNotification.d.ts +5 -0
- package/build/modules/credentials/models/RevocationNotification.js +11 -0
- package/build/modules/credentials/models/RevocationNotification.js.map +1 -0
- package/build/modules/credentials/models/index.d.ts +7 -0
- package/build/modules/credentials/models/index.js +24 -0
- package/build/modules/credentials/models/index.js.map +1 -0
- package/build/modules/credentials/protocol/BaseCredentialProtocol.d.ts +112 -0
- package/build/modules/credentials/protocol/BaseCredentialProtocol.js +158 -0
- package/build/modules/credentials/protocol/BaseCredentialProtocol.js.map +1 -0
- package/build/modules/credentials/protocol/CredentialProtocol.d.ts +54 -0
- package/build/modules/credentials/protocol/CredentialProtocol.js +3 -0
- package/build/modules/credentials/protocol/CredentialProtocol.js.map +1 -0
- package/build/modules/credentials/protocol/CredentialProtocolOptions.d.ts +143 -0
- package/build/modules/credentials/protocol/CredentialProtocolOptions.js +3 -0
- package/build/modules/credentials/protocol/CredentialProtocolOptions.js.map +1 -0
- package/build/modules/credentials/protocol/index.d.ts +6 -0
- package/build/modules/credentials/protocol/index.js +40 -0
- package/build/modules/credentials/protocol/index.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.d.ts +9 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.js +15 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.d.ts +9 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.js +15 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/index.d.ts +2 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/index.js +19 -0
- package/build/modules/credentials/protocol/revocation-notification/handlers/index.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/index.d.ts +1 -0
- package/build/modules/credentials/protocol/revocation-notification/index.js +18 -0
- package/build/modules/credentials/protocol/revocation-notification/index.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.d.ts +15 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.js +46 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.d.ts +17 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.js +52 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/index.d.ts +2 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/index.js +19 -0
- package/build/modules/credentials/protocol/revocation-notification/messages/index.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.d.ts +36 -0
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.js +129 -0
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.d.ts +6 -0
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.js +3 -0
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/services/index.d.ts +2 -0
- package/build/modules/credentials/protocol/revocation-notification/services/index.js +19 -0
- package/build/modules/credentials/protocol/revocation-notification/services/index.js.map +1 -0
- package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.d.ts +5 -0
- package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.js +13 -0
- package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.js.map +1 -0
- package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.d.ts +100 -0
- package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.js +365 -0
- package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.js.map +1 -0
- package/build/modules/credentials/protocol/v2/V2CredentialProtocol.d.ts +178 -0
- package/build/modules/credentials/protocol/v2/V2CredentialProtocol.js +935 -0
- package/build/modules/credentials/protocol/v2/V2CredentialProtocol.js.map +1 -0
- package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.d.ts +11 -0
- package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.js +18 -0
- package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.js.map +1 -0
- package/build/modules/credentials/protocol/v2/errors/index.d.ts +1 -0
- package/build/modules/credentials/protocol/v2/errors/index.js +6 -0
- package/build/modules/credentials/protocol/v2/errors/index.js.map +1 -0
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.d.ts +9 -0
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.js +15 -0
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.js.map +1 -0
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.d.ts +9 -0
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.js +15 -0
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.js.map +1 -0
- package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.d.ts +11 -0
- package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.js +41 -0
- package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.js.map +1 -0
- package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.d.ts +11 -0
- package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.js +33 -0
- package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.js.map +1 -0
- package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.d.ts +12 -0
- package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.js +36 -0
- package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.js.map +1 -0
- package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.d.ts +11 -0
- package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.js +41 -0
- package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.js.map +1 -0
- package/build/modules/credentials/protocol/v2/handlers/index.d.ts +6 -0
- package/build/modules/credentials/protocol/v2/handlers/index.js +23 -0
- package/build/modules/credentials/protocol/v2/handlers/index.js.map +1 -0
- package/build/modules/credentials/protocol/v2/index.d.ts +3 -0
- package/build/modules/credentials/protocol/v2/index.js +20 -0
- package/build/modules/credentials/protocol/v2/index.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.d.ts +15 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.js +34 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.d.ts +26 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.js +71 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.d.ts +15 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.js +34 -0
- package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.d.ts +22 -0
- package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.js +76 -0
- package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.d.ts +27 -0
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.js +91 -0
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.d.ts +30 -0
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.js +87 -0
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.d.ts +27 -0
- package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.js +77 -0
- package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/index.d.ts +7 -0
- package/build/modules/credentials/protocol/v2/messages/index.js +24 -0
- package/build/modules/credentials/protocol/v2/messages/index.js.map +1 -0
- package/build/modules/credentials/repository/CredentialExchangeRecord.d.ts +66 -0
- package/build/modules/credentials/repository/CredentialExchangeRecord.js +80 -0
- package/build/modules/credentials/repository/CredentialExchangeRecord.js.map +1 -0
- package/build/modules/credentials/repository/CredentialRepository.d.ts +7 -0
- package/build/modules/credentials/repository/CredentialRepository.js +32 -0
- package/build/modules/credentials/repository/CredentialRepository.js.map +1 -0
- package/build/modules/credentials/repository/index.d.ts +2 -0
- package/build/modules/credentials/repository/index.js +19 -0
- package/build/modules/credentials/repository/index.js.map +1 -0
- package/build/modules/credentials/util/composeAutoAccept.d.ts +8 -0
- package/build/modules/credentials/util/composeAutoAccept.js +16 -0
- package/build/modules/credentials/util/composeAutoAccept.js.map +1 -0
- package/build/modules/credentials/util/previewAttributes.d.ts +2 -0
- package/build/modules/credentials/util/previewAttributes.js +25 -0
- package/build/modules/credentials/util/previewAttributes.js.map +1 -0
- package/build/modules/didcomm/index.d.ts +2 -0
- package/build/modules/didcomm/index.js +19 -0
- package/build/modules/didcomm/index.js.map +1 -0
- package/build/modules/didcomm/services/DidCommDocumentService.d.ts +8 -0
- package/build/modules/didcomm/services/DidCommDocumentService.js +78 -0
- package/build/modules/didcomm/services/DidCommDocumentService.js.map +1 -0
- package/build/modules/didcomm/services/index.d.ts +1 -0
- package/build/modules/didcomm/services/index.js +18 -0
- package/build/modules/didcomm/services/index.js.map +1 -0
- package/build/modules/didcomm/types.d.ts +7 -0
- package/build/modules/didcomm/types.js +3 -0
- package/build/modules/didcomm/types.js.map +1 -0
- package/build/modules/didcomm/util/matchingEd25519Key.d.ts +9 -0
- package/build/modules/didcomm/util/matchingEd25519Key.js +34 -0
- package/build/modules/didcomm/util/matchingEd25519Key.js.map +1 -0
- package/build/modules/dids/DidsApi.d.ts +71 -0
- package/build/modules/dids/DidsApi.js +160 -0
- package/build/modules/dids/DidsApi.js.map +1 -0
- package/build/modules/dids/DidsApiOptions.d.ts +29 -0
- package/build/modules/dids/DidsApiOptions.js +3 -0
- package/build/modules/dids/DidsApiOptions.js.map +1 -0
- package/build/modules/dids/DidsModule.d.ts +13 -0
- package/build/modules/dids/DidsModule.js +26 -0
- package/build/modules/dids/DidsModule.js.map +1 -0
- package/build/modules/dids/DidsModuleConfig.d.ts +41 -0
- package/build/modules/dids/DidsModuleConfig.js +62 -0
- package/build/modules/dids/DidsModuleConfig.js.map +1 -0
- package/build/modules/dids/domain/DidDocument.d.ts +62 -0
- package/build/modules/dids/domain/DidDocument.js +276 -0
- package/build/modules/dids/domain/DidDocument.js.map +1 -0
- package/build/modules/dids/domain/DidDocumentBuilder.d.ts +16 -0
- package/build/modules/dids/domain/DidDocumentBuilder.js +90 -0
- package/build/modules/dids/domain/DidDocumentBuilder.js.map +1 -0
- package/build/modules/dids/domain/DidDocumentRole.d.ts +4 -0
- package/build/modules/dids/domain/DidDocumentRole.js +9 -0
- package/build/modules/dids/domain/DidDocumentRole.js.map +1 -0
- package/build/modules/dids/domain/DidRegistrar.d.ts +8 -0
- package/build/modules/dids/domain/DidRegistrar.js +3 -0
- package/build/modules/dids/domain/DidRegistrar.js.map +1 -0
- package/build/modules/dids/domain/DidResolver.d.ts +7 -0
- package/build/modules/dids/domain/DidResolver.js +3 -0
- package/build/modules/dids/domain/DidResolver.js.map +1 -0
- package/build/modules/dids/domain/index.d.ts +9 -0
- package/build/modules/dids/domain/index.js +28 -0
- package/build/modules/dids/domain/index.js.map +1 -0
- package/build/modules/dids/domain/key-type/bls12381g1.d.ts +2 -0
- package/build/modules/dids/domain/key-type/bls12381g1.js +19 -0
- package/build/modules/dids/domain/key-type/bls12381g1.js.map +1 -0
- package/build/modules/dids/domain/key-type/bls12381g1g2.d.ts +4 -0
- package/build/modules/dids/domain/key-type/bls12381g1g2.js +34 -0
- package/build/modules/dids/domain/key-type/bls12381g1g2.js.map +1 -0
- package/build/modules/dids/domain/key-type/bls12381g2.d.ts +2 -0
- package/build/modules/dids/domain/key-type/bls12381g2.js +19 -0
- package/build/modules/dids/domain/key-type/bls12381g2.js.map +1 -0
- package/build/modules/dids/domain/key-type/ed25519.d.ts +3 -0
- package/build/modules/dids/domain/key-type/ed25519.js +35 -0
- package/build/modules/dids/domain/key-type/ed25519.js.map +1 -0
- package/build/modules/dids/domain/key-type/index.d.ts +6 -0
- package/build/modules/dids/domain/key-type/index.js +27 -0
- package/build/modules/dids/domain/key-type/index.js.map +1 -0
- package/build/modules/dids/domain/key-type/keyDidJsonWebKey.d.ts +2 -0
- package/build/modules/dids/domain/key-type/keyDidJsonWebKey.js +18 -0
- package/build/modules/dids/domain/key-type/keyDidJsonWebKey.js.map +1 -0
- package/build/modules/dids/domain/key-type/keyDidMapping.d.ts +11 -0
- package/build/modules/dids/domain/key-type/keyDidMapping.js +78 -0
- package/build/modules/dids/domain/key-type/keyDidMapping.js.map +1 -0
- package/build/modules/dids/domain/key-type/secp256k1.d.ts +2 -0
- package/build/modules/dids/domain/key-type/secp256k1.js +23 -0
- package/build/modules/dids/domain/key-type/secp256k1.js.map +1 -0
- package/build/modules/dids/domain/key-type/x25519.d.ts +2 -0
- package/build/modules/dids/domain/key-type/x25519.js +29 -0
- package/build/modules/dids/domain/key-type/x25519.js.map +1 -0
- package/build/modules/dids/domain/keyDidDocument.d.ts +4 -0
- package/build/modules/dids/domain/keyDidDocument.js +115 -0
- package/build/modules/dids/domain/keyDidDocument.js.map +1 -0
- package/build/modules/dids/domain/parse.d.ts +3 -0
- package/build/modules/dids/domain/parse.js +18 -0
- package/build/modules/dids/domain/parse.js.map +1 -0
- package/build/modules/dids/domain/service/DidCommV1Service.d.ts +16 -0
- package/build/modules/dids/domain/service/DidCommV1Service.js +45 -0
- package/build/modules/dids/domain/service/DidCommV1Service.js.map +1 -0
- package/build/modules/dids/domain/service/DidCommV2Service.d.ts +12 -0
- package/build/modules/dids/domain/service/DidCommV2Service.js +36 -0
- package/build/modules/dids/domain/service/DidCommV2Service.js.map +1 -0
- package/build/modules/dids/domain/service/DidDocumentService.d.ts +11 -0
- package/build/modules/dids/domain/service/DidDocumentService.js +40 -0
- package/build/modules/dids/domain/service/DidDocumentService.js.map +1 -0
- package/build/modules/dids/domain/service/IndyAgentService.d.ts +14 -0
- package/build/modules/dids/domain/service/IndyAgentService.js +39 -0
- package/build/modules/dids/domain/service/IndyAgentService.js.map +1 -0
- package/build/modules/dids/domain/service/ServiceTransformer.d.ts +13 -0
- package/build/modules/dids/domain/service/ServiceTransformer.js +36 -0
- package/build/modules/dids/domain/service/ServiceTransformer.js.map +1 -0
- package/build/modules/dids/domain/service/index.d.ts +6 -0
- package/build/modules/dids/domain/service/index.js +15 -0
- package/build/modules/dids/domain/service/index.js.map +1 -0
- package/build/modules/dids/domain/verificationMethod/Bls12381G1Key2020.d.ts +23 -0
- package/build/modules/dids/domain/verificationMethod/Bls12381G1Key2020.js +38 -0
- package/build/modules/dids/domain/verificationMethod/Bls12381G1Key2020.js.map +1 -0
- package/build/modules/dids/domain/verificationMethod/Bls12381G2Key2020.d.ts +23 -0
- package/build/modules/dids/domain/verificationMethod/Bls12381G2Key2020.js +38 -0
- package/build/modules/dids/domain/verificationMethod/Bls12381G2Key2020.js.map +1 -0
- package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.d.ts +23 -0
- package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.js +38 -0
- package/build/modules/dids/domain/verificationMethod/EcdsaSecp256k1VerificationKey2019.js.map +1 -0
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.d.ts +23 -0
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.js +38 -0
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.js.map +1 -0
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.d.ts +23 -0
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.js +42 -0
- package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.js.map +1 -0
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.d.ts +37 -0
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.js +40 -0
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.js.map +1 -0
- package/build/modules/dids/domain/verificationMethod/Multikey.d.ts +30 -0
- package/build/modules/dids/domain/verificationMethod/Multikey.js +39 -0
- package/build/modules/dids/domain/verificationMethod/Multikey.js.map +1 -0
- package/build/modules/dids/domain/verificationMethod/VerificationMethod.d.ts +28 -0
- package/build/modules/dids/domain/verificationMethod/VerificationMethod.js +79 -0
- package/build/modules/dids/domain/verificationMethod/VerificationMethod.js.map +1 -0
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.d.ts +16 -0
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.js +50 -0
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.js.map +1 -0
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.d.ts +23 -0
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.js +38 -0
- package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.js.map +1 -0
- package/build/modules/dids/domain/verificationMethod/index.d.ts +10 -0
- package/build/modules/dids/domain/verificationMethod/index.js +31 -0
- package/build/modules/dids/domain/verificationMethod/index.js.map +1 -0
- package/build/modules/dids/helpers.d.ts +6 -0
- package/build/modules/dids/helpers.js +38 -0
- package/build/modules/dids/helpers.js.map +1 -0
- package/build/modules/dids/index.d.ts +9 -0
- package/build/modules/dids/index.js +26 -0
- package/build/modules/dids/index.js.map +1 -0
- package/build/modules/dids/methods/index.d.ts +4 -0
- package/build/modules/dids/methods/index.js +21 -0
- package/build/modules/dids/methods/index.js.map +1 -0
- package/build/modules/dids/methods/jwk/DidJwk.d.ts +18 -0
- package/build/modules/dids/methods/jwk/DidJwk.js +53 -0
- package/build/modules/dids/methods/jwk/DidJwk.js.map +1 -0
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.d.ts +25 -0
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.js +94 -0
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.js.map +1 -0
- package/build/modules/dids/methods/jwk/JwkDidResolver.d.ts +11 -0
- package/build/modules/dids/methods/jwk/JwkDidResolver.js +36 -0
- package/build/modules/dids/methods/jwk/JwkDidResolver.js.map +1 -0
- package/build/modules/dids/methods/jwk/__tests__/__fixtures__/p256DidJwkEyJjcnYi0i.d.ts +20 -0
- package/build/modules/dids/methods/jwk/__tests__/__fixtures__/p256DidJwkEyJjcnYi0i.js +36 -0
- package/build/modules/dids/methods/jwk/__tests__/__fixtures__/p256DidJwkEyJjcnYi0i.js.map +1 -0
- package/build/modules/dids/methods/jwk/__tests__/__fixtures__/x25519DidJwkEyJrdHkiOiJ.d.ts +16 -0
- package/build/modules/dids/methods/jwk/__tests__/__fixtures__/x25519DidJwkEyJrdHkiOiJ.js +24 -0
- package/build/modules/dids/methods/jwk/__tests__/__fixtures__/x25519DidJwkEyJrdHkiOiJ.js.map +1 -0
- package/build/modules/dids/methods/jwk/didJwkDidDocument.d.ts +2 -0
- package/build/modules/dids/methods/jwk/didJwkDidDocument.js +36 -0
- package/build/modules/dids/methods/jwk/didJwkDidDocument.js.map +1 -0
- package/build/modules/dids/methods/jwk/index.d.ts +3 -0
- package/build/modules/dids/methods/jwk/index.js +22 -0
- package/build/modules/dids/methods/jwk/index.js.map +1 -0
- package/build/modules/dids/methods/key/DidKey.d.ts +8 -0
- package/build/modules/dids/methods/key/DidKey.js +24 -0
- package/build/modules/dids/methods/key/DidKey.js.map +1 -0
- package/build/modules/dids/methods/key/KeyDidRegistrar.d.ts +25 -0
- package/build/modules/dids/methods/key/KeyDidRegistrar.js +92 -0
- package/build/modules/dids/methods/key/KeyDidRegistrar.js.map +1 -0
- package/build/modules/dids/methods/key/KeyDidResolver.d.ts +11 -0
- package/build/modules/dids/methods/key/KeyDidResolver.js +36 -0
- package/build/modules/dids/methods/key/KeyDidResolver.js.map +1 -0
- package/build/modules/dids/methods/key/index.d.ts +3 -0
- package/build/modules/dids/methods/key/index.js +22 -0
- package/build/modules/dids/methods/key/index.js.map +1 -0
- package/build/modules/dids/methods/peer/PeerDidRegistrar.d.ts +56 -0
- package/build/modules/dids/methods/peer/PeerDidRegistrar.js +149 -0
- package/build/modules/dids/methods/peer/PeerDidRegistrar.js.map +1 -0
- package/build/modules/dids/methods/peer/PeerDidResolver.d.ts +11 -0
- package/build/modules/dids/methods/peer/PeerDidResolver.js +80 -0
- package/build/modules/dids/methods/peer/PeerDidResolver.js.map +1 -0
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.d.ts +2 -0
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.js +60 -0
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.js.map +1 -0
- package/build/modules/dids/methods/peer/didPeer.d.ts +15 -0
- package/build/modules/dids/methods/peer/didPeer.js +42 -0
- package/build/modules/dids/methods/peer/didPeer.js.map +1 -0
- package/build/modules/dids/methods/peer/index.d.ts +4 -0
- package/build/modules/dids/methods/peer/index.js +21 -0
- package/build/modules/dids/methods/peer/index.js.map +1 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo0.d.ts +3 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo0.js +27 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo0.js.map +1 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo1.d.ts +1 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo1.js +13 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo1.js.map +1 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.d.ts +5 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.js +191 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.js.map +1 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.d.ts +14 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.js +118 -0
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.js.map +1 -0
- package/build/modules/dids/methods/web/WebDidResolver.d.ts +11 -0
- package/build/modules/dids/methods/web/WebDidResolver.js +55 -0
- package/build/modules/dids/methods/web/WebDidResolver.js.map +1 -0
- package/build/modules/dids/methods/web/index.d.ts +1 -0
- package/build/modules/dids/methods/web/index.js +18 -0
- package/build/modules/dids/methods/web/index.js.map +1 -0
- package/build/modules/dids/repository/DidRecord.d.ts +42 -0
- package/build/modules/dids/repository/DidRecord.js +52 -0
- package/build/modules/dids/repository/DidRecord.js.map +1 -0
- package/build/modules/dids/repository/DidRepository.d.ts +37 -0
- package/build/modules/dids/repository/DidRepository.js +98 -0
- package/build/modules/dids/repository/DidRepository.js.map +1 -0
- package/build/modules/dids/repository/didRecordMetadataTypes.d.ts +9 -0
- package/build/modules/dids/repository/didRecordMetadataTypes.js +8 -0
- package/build/modules/dids/repository/didRecordMetadataTypes.js.map +1 -0
- package/build/modules/dids/repository/index.d.ts +2 -0
- package/build/modules/dids/repository/index.js +19 -0
- package/build/modules/dids/repository/index.js.map +1 -0
- package/build/modules/dids/services/DidRegistrarService.d.ts +17 -0
- package/build/modules/dids/services/DidRegistrarService.js +108 -0
- package/build/modules/dids/services/DidRegistrarService.js.map +1 -0
- package/build/modules/dids/services/DidResolverService.d.ts +21 -0
- package/build/modules/dids/services/DidResolverService.js +109 -0
- package/build/modules/dids/services/DidResolverService.js.map +1 -0
- package/build/modules/dids/services/index.d.ts +2 -0
- package/build/modules/dids/services/index.js +19 -0
- package/build/modules/dids/services/index.js.map +1 -0
- package/build/modules/dids/types.d.ts +100 -0
- package/build/modules/dids/types.js +3 -0
- package/build/modules/dids/types.js.map +1 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.d.ts +8 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.js +12 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.js.map +1 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.d.ts +10 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.js +23 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.js.map +1 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.d.ts +54 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js +409 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js.map +1 -0
- package/build/modules/dif-presentation-exchange/index.d.ts +4 -0
- package/build/modules/dif-presentation-exchange/index.js +21 -0
- package/build/modules/dif-presentation-exchange/index.js.map +1 -0
- package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.ts +105 -0
- package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.js +3 -0
- package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.js.map +1 -0
- package/build/modules/dif-presentation-exchange/models/index.d.ts +12 -0
- package/build/modules/dif-presentation-exchange/models/index.js +21 -0
- package/build/modules/dif-presentation-exchange/models/index.js.map +1 -0
- package/build/modules/dif-presentation-exchange/utils/credentialSelection.d.ts +5 -0
- package/build/modules/dif-presentation-exchange/utils/credentialSelection.js +210 -0
- package/build/modules/dif-presentation-exchange/utils/credentialSelection.js.map +1 -0
- package/build/modules/dif-presentation-exchange/utils/index.d.ts +3 -0
- package/build/modules/dif-presentation-exchange/utils/index.js +20 -0
- package/build/modules/dif-presentation-exchange/utils/index.js.map +1 -0
- package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.d.ts +31 -0
- package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.js +46 -0
- package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.js.map +1 -0
- package/build/modules/dif-presentation-exchange/utils/transform.d.ts +9 -0
- package/build/modules/dif-presentation-exchange/utils/transform.js +44 -0
- package/build/modules/dif-presentation-exchange/utils/transform.js.map +1 -0
- package/build/modules/discover-features/DiscoverFeaturesApi.d.ts +31 -0
- package/build/modules/discover-features/DiscoverFeaturesApi.js +131 -0
- package/build/modules/discover-features/DiscoverFeaturesApi.js.map +1 -0
- package/build/modules/discover-features/DiscoverFeaturesApiOptions.d.ts +39 -0
- package/build/modules/discover-features/DiscoverFeaturesApiOptions.js +3 -0
- package/build/modules/discover-features/DiscoverFeaturesApiOptions.js.map +1 -0
- package/build/modules/discover-features/DiscoverFeaturesEvents.d.ts +28 -0
- package/build/modules/discover-features/DiscoverFeaturesEvents.js +9 -0
- package/build/modules/discover-features/DiscoverFeaturesEvents.js.map +1 -0
- package/build/modules/discover-features/DiscoverFeaturesModule.d.ts +14 -0
- package/build/modules/discover-features/DiscoverFeaturesModule.js +34 -0
- package/build/modules/discover-features/DiscoverFeaturesModule.js.map +1 -0
- package/build/modules/discover-features/DiscoverFeaturesModuleConfig.d.ts +18 -0
- package/build/modules/discover-features/DiscoverFeaturesModuleConfig.js +15 -0
- package/build/modules/discover-features/DiscoverFeaturesModuleConfig.js.map +1 -0
- package/build/modules/discover-features/DiscoverFeaturesServiceOptions.d.ts +13 -0
- package/build/modules/discover-features/DiscoverFeaturesServiceOptions.js +3 -0
- package/build/modules/discover-features/DiscoverFeaturesServiceOptions.js.map +1 -0
- package/build/modules/discover-features/index.d.ts +4 -0
- package/build/modules/discover-features/index.js +21 -0
- package/build/modules/discover-features/index.js.map +1 -0
- package/build/modules/discover-features/protocol/index.d.ts +2 -0
- package/build/modules/discover-features/protocol/index.js +19 -0
- package/build/modules/discover-features/protocol/index.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.d.ts +22 -0
- package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.js +116 -0
- package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.d.ts +9 -0
- package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.js +15 -0
- package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.d.ts +10 -0
- package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.js +23 -0
- package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/handlers/index.d.ts +2 -0
- package/build/modules/discover-features/protocol/v1/handlers/index.js +19 -0
- package/build/modules/discover-features/protocol/v1/handlers/index.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/index.d.ts +2 -0
- package/build/modules/discover-features/protocol/v1/index.js +19 -0
- package/build/modules/discover-features/protocol/v1/index.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.d.ts +21 -0
- package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.js +61 -0
- package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/messages/QueryMessage.d.ts +13 -0
- package/build/modules/discover-features/protocol/v1/messages/QueryMessage.js +43 -0
- package/build/modules/discover-features/protocol/v1/messages/QueryMessage.js.map +1 -0
- package/build/modules/discover-features/protocol/v1/messages/index.d.ts +2 -0
- package/build/modules/discover-features/protocol/v1/messages/index.js +19 -0
- package/build/modules/discover-features/protocol/v1/messages/index.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.d.ts +21 -0
- package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.js +96 -0
- package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.d.ts +9 -0
- package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.js +15 -0
- package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.d.ts +10 -0
- package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.js +23 -0
- package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/handlers/index.d.ts +2 -0
- package/build/modules/discover-features/protocol/v2/handlers/index.js +19 -0
- package/build/modules/discover-features/protocol/v2/handlers/index.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/index.d.ts +2 -0
- package/build/modules/discover-features/protocol/v2/index.js +19 -0
- package/build/modules/discover-features/protocol/v2/index.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.d.ts +13 -0
- package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.js +45 -0
- package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.d.ts +14 -0
- package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.js +41 -0
- package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.js.map +1 -0
- package/build/modules/discover-features/protocol/v2/messages/index.d.ts +2 -0
- package/build/modules/discover-features/protocol/v2/messages/index.js +19 -0
- package/build/modules/discover-features/protocol/v2/messages/index.js.map +1 -0
- package/build/modules/discover-features/services/DiscoverFeaturesService.d.ts +19 -0
- package/build/modules/discover-features/services/DiscoverFeaturesService.js +13 -0
- package/build/modules/discover-features/services/DiscoverFeaturesService.js.map +1 -0
- package/build/modules/discover-features/services/index.d.ts +1 -0
- package/build/modules/discover-features/services/index.js +18 -0
- package/build/modules/discover-features/services/index.js.map +1 -0
- package/build/modules/generic-records/GenericRecordsApi.d.ts +21 -0
- package/build/modules/generic-records/GenericRecordsApi.js +89 -0
- package/build/modules/generic-records/GenericRecordsApi.js.map +1 -0
- package/build/modules/generic-records/GenericRecordsModule.d.ts +9 -0
- package/build/modules/generic-records/GenericRecordsModule.js +22 -0
- package/build/modules/generic-records/GenericRecordsModule.js.map +1 -0
- package/build/modules/generic-records/index.d.ts +2 -0
- package/build/modules/generic-records/index.js +19 -0
- package/build/modules/generic-records/index.js.map +1 -0
- package/build/modules/generic-records/repository/GenericRecord.d.ts +24 -0
- package/build/modules/generic-records/repository/GenericRecord.js +24 -0
- package/build/modules/generic-records/repository/GenericRecord.js.map +1 -0
- package/build/modules/generic-records/repository/GenericRecordsRepository.d.ts +7 -0
- package/build/modules/generic-records/repository/GenericRecordsRepository.js +32 -0
- package/build/modules/generic-records/repository/GenericRecordsRepository.js.map +1 -0
- package/build/modules/generic-records/services/GenericRecordService.d.ts +16 -0
- package/build/modules/generic-records/services/GenericRecordService.js +69 -0
- package/build/modules/generic-records/services/GenericRecordService.js.map +1 -0
- package/build/modules/message-pickup/MessagePickupApi.d.ts +36 -0
- package/build/modules/message-pickup/MessagePickupApi.js +204 -0
- package/build/modules/message-pickup/MessagePickupApi.js.map +1 -0
- package/build/modules/message-pickup/MessagePickupApiOptions.d.ts +39 -0
- package/build/modules/message-pickup/MessagePickupApiOptions.js +3 -0
- package/build/modules/message-pickup/MessagePickupApiOptions.js.map +1 -0
- package/build/modules/message-pickup/MessagePickupEvents.d.ts +27 -0
- package/build/modules/message-pickup/MessagePickupEvents.js +10 -0
- package/build/modules/message-pickup/MessagePickupEvents.js.map +1 -0
- package/build/modules/message-pickup/MessagePickupModule.d.ts +23 -0
- package/build/modules/message-pickup/MessagePickupModule.js +41 -0
- package/build/modules/message-pickup/MessagePickupModule.js.map +1 -0
- package/build/modules/message-pickup/MessagePickupModuleConfig.d.ts +41 -0
- package/build/modules/message-pickup/MessagePickupModuleConfig.js +23 -0
- package/build/modules/message-pickup/MessagePickupModuleConfig.js.map +1 -0
- package/build/modules/message-pickup/MessagePickupSession.d.ts +12 -0
- package/build/modules/message-pickup/MessagePickupSession.js +9 -0
- package/build/modules/message-pickup/MessagePickupSession.js.map +1 -0
- package/build/modules/message-pickup/index.d.ts +8 -0
- package/build/modules/message-pickup/index.js +27 -0
- package/build/modules/message-pickup/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.d.ts +17 -0
- package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.js +11 -0
- package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.js.map +1 -0
- package/build/modules/message-pickup/protocol/MessagePickupProtocol.d.ts +12 -0
- package/build/modules/message-pickup/protocol/MessagePickupProtocol.js +3 -0
- package/build/modules/message-pickup/protocol/MessagePickupProtocol.js.map +1 -0
- package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.d.ts +27 -0
- package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.js +3 -0
- package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.js.map +1 -0
- package/build/modules/message-pickup/protocol/index.d.ts +2 -0
- package/build/modules/message-pickup/protocol/index.js +19 -0
- package/build/modules/message-pickup/protocol/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.d.ts +24 -0
- package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.js +126 -0
- package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.d.ts +10 -0
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.js +23 -0
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.d.ts +9 -0
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.js +16 -0
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/handlers/index.d.ts +2 -0
- package/build/modules/message-pickup/protocol/v1/handlers/index.js +19 -0
- package/build/modules/message-pickup/protocol/v1/handlers/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/index.d.ts +2 -0
- package/build/modules/message-pickup/protocol/v1/index.js +19 -0
- package/build/modules/message-pickup/protocol/v1/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.d.ts +27 -0
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.js +71 -0
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.d.ts +22 -0
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.js +49 -0
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/messages/index.d.ts +2 -0
- package/build/modules/message-pickup/protocol/v1/messages/index.js +19 -0
- package/build/modules/message-pickup/protocol/v1/messages/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.d.ts +28 -0
- package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js +237 -0
- package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.d.ts +10 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.js +16 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.d.ts +10 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.js +16 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.d.ts +11 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.js +23 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.d.ts +10 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.js +16 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.d.ts +11 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.js +23 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.d.ts +10 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.js +16 -0
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/handlers/index.d.ts +6 -0
- package/build/modules/message-pickup/protocol/v2/handlers/index.js +23 -0
- package/build/modules/message-pickup/protocol/v2/handlers/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/index.d.ts +2 -0
- package/build/modules/message-pickup/protocol/v2/index.js +19 -0
- package/build/modules/message-pickup/protocol/v2/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.d.ts +14 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.js +47 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.d.ts +12 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.js +41 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.d.ts +15 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.js +48 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.d.ts +12 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.js +41 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.d.ts +25 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.js +89 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.d.ts +12 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.js +40 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/index.d.ts +6 -0
- package/build/modules/message-pickup/protocol/v2/messages/index.js +23 -0
- package/build/modules/message-pickup/protocol/v2/messages/index.js.map +1 -0
- package/build/modules/message-pickup/services/MessagePickupSessionService.d.ts +27 -0
- package/build/modules/message-pickup/services/MessagePickupSessionService.js +91 -0
- package/build/modules/message-pickup/services/MessagePickupSessionService.js.map +1 -0
- package/build/modules/message-pickup/services/index.d.ts +1 -0
- package/build/modules/message-pickup/services/index.js +18 -0
- package/build/modules/message-pickup/services/index.js.map +1 -0
- package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.d.ts +13 -0
- package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.js +77 -0
- package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.js.map +1 -0
- package/build/modules/message-pickup/storage/MessagePickupRepository.d.ts +8 -0
- package/build/modules/message-pickup/storage/MessagePickupRepository.js +3 -0
- package/build/modules/message-pickup/storage/MessagePickupRepository.js.map +1 -0
- package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.d.ts +20 -0
- package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.js +3 -0
- package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.js.map +1 -0
- package/build/modules/message-pickup/storage/QueuedMessage.d.ts +5 -0
- package/build/modules/message-pickup/storage/QueuedMessage.js +3 -0
- package/build/modules/message-pickup/storage/QueuedMessage.js.map +1 -0
- package/build/modules/message-pickup/storage/index.d.ts +4 -0
- package/build/modules/message-pickup/storage/index.js +21 -0
- package/build/modules/message-pickup/storage/index.js.map +1 -0
- package/build/modules/oob/OutOfBandApi.d.ts +271 -0
- package/build/modules/oob/OutOfBandApi.js +700 -0
- package/build/modules/oob/OutOfBandApi.js.map +1 -0
- package/build/modules/oob/OutOfBandModule.d.ts +10 -0
- package/build/modules/oob/OutOfBandModule.js +28 -0
- package/build/modules/oob/OutOfBandModule.js.map +1 -0
- package/build/modules/oob/OutOfBandService.d.ts +51 -0
- package/build/modules/oob/OutOfBandService.js +224 -0
- package/build/modules/oob/OutOfBandService.js.map +1 -0
- package/build/modules/oob/domain/OutOfBandDidCommService.d.ts +17 -0
- package/build/modules/oob/domain/OutOfBandDidCommService.js +72 -0
- package/build/modules/oob/domain/OutOfBandDidCommService.js.map +1 -0
- package/build/modules/oob/domain/OutOfBandEvents.d.ts +23 -0
- package/build/modules/oob/domain/OutOfBandEvents.js +9 -0
- package/build/modules/oob/domain/OutOfBandEvents.js.map +1 -0
- package/build/modules/oob/domain/OutOfBandRole.d.ts +4 -0
- package/build/modules/oob/domain/OutOfBandRole.js +9 -0
- package/build/modules/oob/domain/OutOfBandRole.js.map +1 -0
- package/build/modules/oob/domain/OutOfBandState.d.ts +6 -0
- package/build/modules/oob/domain/OutOfBandState.js +11 -0
- package/build/modules/oob/domain/OutOfBandState.js.map +1 -0
- package/build/modules/oob/domain/index.d.ts +4 -0
- package/build/modules/oob/domain/index.js +21 -0
- package/build/modules/oob/domain/index.js.map +1 -0
- package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.d.ts +10 -0
- package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.js +16 -0
- package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.js.map +1 -0
- package/build/modules/oob/handlers/HandshakeReuseHandler.d.ts +11 -0
- package/build/modules/oob/handlers/HandshakeReuseHandler.js +21 -0
- package/build/modules/oob/handlers/HandshakeReuseHandler.js.map +1 -0
- package/build/modules/oob/handlers/index.d.ts +1 -0
- package/build/modules/oob/handlers/index.js +18 -0
- package/build/modules/oob/handlers/index.js.map +1 -0
- package/build/modules/oob/helpers.d.ts +4 -0
- package/build/modules/oob/helpers.js +72 -0
- package/build/modules/oob/helpers.js.map +1 -0
- package/build/modules/oob/index.d.ts +6 -0
- package/build/modules/oob/index.js +23 -0
- package/build/modules/oob/index.js.map +1 -0
- package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.d.ts +11 -0
- package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.js +35 -0
- package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.js.map +1 -0
- package/build/modules/oob/messages/HandshakeReuseMessage.d.ts +10 -0
- package/build/modules/oob/messages/HandshakeReuseMessage.js +34 -0
- package/build/modules/oob/messages/HandshakeReuseMessage.js.map +1 -0
- package/build/modules/oob/messages/OutOfBandInvitation.d.ts +55 -0
- package/build/modules/oob/messages/OutOfBandInvitation.js +181 -0
- package/build/modules/oob/messages/OutOfBandInvitation.js.map +1 -0
- package/build/modules/oob/messages/index.d.ts +2 -0
- package/build/modules/oob/messages/index.js +19 -0
- package/build/modules/oob/messages/index.js.map +1 -0
- package/build/modules/oob/repository/OutOfBandRecord.d.ts +59 -0
- package/build/modules/oob/repository/OutOfBandRecord.js +63 -0
- package/build/modules/oob/repository/OutOfBandRecord.js.map +1 -0
- package/build/modules/oob/repository/OutOfBandRepository.d.ts +7 -0
- package/build/modules/oob/repository/OutOfBandRepository.js +32 -0
- package/build/modules/oob/repository/OutOfBandRepository.js.map +1 -0
- package/build/modules/oob/repository/index.d.ts +2 -0
- package/build/modules/oob/repository/index.js +19 -0
- package/build/modules/oob/repository/index.js.map +1 -0
- package/build/modules/oob/repository/outOfBandRecordMetadataTypes.d.ts +19 -0
- package/build/modules/oob/repository/outOfBandRecordMetadataTypes.js +9 -0
- package/build/modules/oob/repository/outOfBandRecordMetadataTypes.js.map +1 -0
- package/build/modules/problem-reports/errors/ProblemReportError.d.ts +9 -0
- package/build/modules/problem-reports/errors/ProblemReportError.js +18 -0
- package/build/modules/problem-reports/errors/ProblemReportError.js.map +1 -0
- package/build/modules/problem-reports/errors/index.d.ts +1 -0
- package/build/modules/problem-reports/errors/index.js +18 -0
- package/build/modules/problem-reports/errors/index.js.map +1 -0
- package/build/modules/problem-reports/index.d.ts +3 -0
- package/build/modules/problem-reports/index.js +20 -0
- package/build/modules/problem-reports/index.js.map +1 -0
- package/build/modules/problem-reports/messages/ProblemReportMessage.d.ts +63 -0
- package/build/modules/problem-reports/messages/ProblemReportMessage.js +119 -0
- package/build/modules/problem-reports/messages/ProblemReportMessage.js.map +1 -0
- package/build/modules/problem-reports/messages/index.d.ts +1 -0
- package/build/modules/problem-reports/messages/index.js +18 -0
- package/build/modules/problem-reports/messages/index.js.map +1 -0
- package/build/modules/problem-reports/models/ProblemReportReason.d.ts +3 -0
- package/build/modules/problem-reports/models/ProblemReportReason.js +8 -0
- package/build/modules/problem-reports/models/ProblemReportReason.js.map +1 -0
- package/build/modules/problem-reports/models/index.d.ts +1 -0
- package/build/modules/problem-reports/models/index.js +18 -0
- package/build/modules/problem-reports/models/index.js.map +1 -0
- package/build/modules/proofs/ProofEvents.d.ts +13 -0
- package/build/modules/proofs/ProofEvents.js +8 -0
- package/build/modules/proofs/ProofEvents.js.map +1 -0
- package/build/modules/proofs/ProofsApi.d.ts +68 -0
- package/build/modules/proofs/ProofsApi.js +467 -0
- package/build/modules/proofs/ProofsApi.js.map +1 -0
- package/build/modules/proofs/ProofsApiOptions.d.ts +129 -0
- package/build/modules/proofs/ProofsApiOptions.js +3 -0
- package/build/modules/proofs/ProofsApiOptions.js.map +1 -0
- package/build/modules/proofs/ProofsModule.d.ts +23 -0
- package/build/modules/proofs/ProofsModule.js +31 -0
- package/build/modules/proofs/ProofsModule.js.map +1 -0
- package/build/modules/proofs/ProofsModuleConfig.d.ts +34 -0
- package/build/modules/proofs/ProofsModuleConfig.js +20 -0
- package/build/modules/proofs/ProofsModuleConfig.js.map +1 -0
- package/build/modules/proofs/errors/PresentationProblemReportReason.d.ts +8 -0
- package/build/modules/proofs/errors/PresentationProblemReportReason.js +13 -0
- package/build/modules/proofs/errors/PresentationProblemReportReason.js.map +1 -0
- package/build/modules/proofs/errors/index.d.ts +1 -0
- package/build/modules/proofs/errors/index.js +18 -0
- package/build/modules/proofs/errors/index.js.map +1 -0
- package/build/modules/proofs/formats/ProofFormat.d.ts +66 -0
- package/build/modules/proofs/formats/ProofFormat.js +3 -0
- package/build/modules/proofs/formats/ProofFormat.js.map +1 -0
- package/build/modules/proofs/formats/ProofFormatService.d.ts +19 -0
- package/build/modules/proofs/formats/ProofFormatService.js +3 -0
- package/build/modules/proofs/formats/ProofFormatService.js.map +1 -0
- package/build/modules/proofs/formats/ProofFormatServiceOptions.d.ts +103 -0
- package/build/modules/proofs/formats/ProofFormatServiceOptions.js +3 -0
- package/build/modules/proofs/formats/ProofFormatServiceOptions.js.map +1 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.d.ts +53 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.js +3 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.js.map +1 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.d.ts +32 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.js +276 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.js.map +1 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/index.d.ts +2 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/index.js +19 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/index.js.map +1 -0
- package/build/modules/proofs/formats/index.d.ts +6 -0
- package/build/modules/proofs/formats/index.js +36 -0
- package/build/modules/proofs/formats/index.js.map +1 -0
- package/build/modules/proofs/index.d.ts +10 -0
- package/build/modules/proofs/index.js +29 -0
- package/build/modules/proofs/index.js.map +1 -0
- package/build/modules/proofs/models/ProofAutoAcceptType.d.ts +8 -0
- package/build/modules/proofs/models/ProofAutoAcceptType.js +16 -0
- package/build/modules/proofs/models/ProofAutoAcceptType.js.map +1 -0
- package/build/modules/proofs/models/ProofFormatSpec.d.ts +9 -0
- package/build/modules/proofs/models/ProofFormatSpec.js +35 -0
- package/build/modules/proofs/models/ProofFormatSpec.js.map +1 -0
- package/build/modules/proofs/models/ProofRole.d.ts +4 -0
- package/build/modules/proofs/models/ProofRole.js +9 -0
- package/build/modules/proofs/models/ProofRole.js.map +1 -0
- package/build/modules/proofs/models/ProofState.d.ts +16 -0
- package/build/modules/proofs/models/ProofState.js +21 -0
- package/build/modules/proofs/models/ProofState.js.map +1 -0
- package/build/modules/proofs/models/index.d.ts +4 -0
- package/build/modules/proofs/models/index.js +21 -0
- package/build/modules/proofs/models/index.js.map +1 -0
- package/build/modules/proofs/protocol/BaseProofProtocol.d.ts +98 -0
- package/build/modules/proofs/protocol/BaseProofProtocol.js +139 -0
- package/build/modules/proofs/protocol/BaseProofProtocol.js.map +1 -0
- package/build/modules/proofs/protocol/ProofProtocol.d.ts +52 -0
- package/build/modules/proofs/protocol/ProofProtocol.js +3 -0
- package/build/modules/proofs/protocol/ProofProtocol.js.map +1 -0
- package/build/modules/proofs/protocol/ProofProtocolOptions.d.ts +128 -0
- package/build/modules/proofs/protocol/ProofProtocolOptions.js +3 -0
- package/build/modules/proofs/protocol/ProofProtocolOptions.js.map +1 -0
- package/build/modules/proofs/protocol/index.d.ts +5 -0
- package/build/modules/proofs/protocol/index.js +39 -0
- package/build/modules/proofs/protocol/index.js.map +1 -0
- package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.d.ts +93 -0
- package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.js +307 -0
- package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.js.map +1 -0
- package/build/modules/proofs/protocol/v2/V2ProofProtocol.d.ts +114 -0
- package/build/modules/proofs/protocol/v2/V2ProofProtocol.js +796 -0
- package/build/modules/proofs/protocol/v2/V2ProofProtocol.js.map +1 -0
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.d.ts +13 -0
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.js +19 -0
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.js.map +1 -0
- package/build/modules/proofs/protocol/v2/errors/index.d.ts +1 -0
- package/build/modules/proofs/protocol/v2/errors/index.js +18 -0
- package/build/modules/proofs/protocol/v2/errors/index.js.map +1 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.d.ts +9 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.js +15 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.js.map +1 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.d.ts +10 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.js +43 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.js.map +1 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.d.ts +9 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.js +15 -0
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.js.map +1 -0
- package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.d.ts +11 -0
- package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.js +36 -0
- package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.js.map +1 -0
- package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.d.ts +10 -0
- package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.js +36 -0
- package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.js.map +1 -0
- package/build/modules/proofs/protocol/v2/index.d.ts +3 -0
- package/build/modules/proofs/protocol/v2/index.js +20 -0
- package/build/modules/proofs/protocol/v2/index.js.map +1 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.d.ts +5 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.js +27 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.js.map +1 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.d.ts +24 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.js +85 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.js.map +1 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.d.ts +8 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.js +30 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.js.map +1 -0
- package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.d.ts +22 -0
- package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.js +77 -0
- package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.js.map +1 -0
- package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.d.ts +26 -0
- package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.js +92 -0
- package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.js.map +1 -0
- package/build/modules/proofs/protocol/v2/messages/index.d.ts +5 -0
- package/build/modules/proofs/protocol/v2/messages/index.js +22 -0
- package/build/modules/proofs/protocol/v2/messages/index.js.map +1 -0
- package/build/modules/proofs/repository/ProofExchangeRecord.d.ts +50 -0
- package/build/modules/proofs/repository/ProofExchangeRecord.js +54 -0
- package/build/modules/proofs/repository/ProofExchangeRecord.js.map +1 -0
- package/build/modules/proofs/repository/ProofRepository.d.ts +26 -0
- package/build/modules/proofs/repository/ProofRepository.js +54 -0
- package/build/modules/proofs/repository/ProofRepository.js.map +1 -0
- package/build/modules/proofs/repository/index.d.ts +2 -0
- package/build/modules/proofs/repository/index.js +19 -0
- package/build/modules/proofs/repository/index.js.map +1 -0
- package/build/modules/proofs/utils/composeAutoAccept.d.ts +8 -0
- package/build/modules/proofs/utils/composeAutoAccept.js +16 -0
- package/build/modules/proofs/utils/composeAutoAccept.js.map +1 -0
- package/build/modules/proofs/utils/index.d.ts +1 -0
- package/build/modules/proofs/utils/index.js +18 -0
- package/build/modules/proofs/utils/index.js.map +1 -0
- package/build/modules/routing/MediationRecipientApi.d.ts +80 -0
- package/build/modules/routing/MediationRecipientApi.js +415 -0
- package/build/modules/routing/MediationRecipientApi.js.map +1 -0
- package/build/modules/routing/MediationRecipientModule.d.ts +14 -0
- package/build/modules/routing/MediationRecipientModule.js +34 -0
- package/build/modules/routing/MediationRecipientModule.js.map +1 -0
- package/build/modules/routing/MediationRecipientModuleConfig.d.ts +79 -0
- package/build/modules/routing/MediationRecipientModuleConfig.js +38 -0
- package/build/modules/routing/MediationRecipientModuleConfig.js.map +1 -0
- package/build/modules/routing/MediatorApi.d.ts +18 -0
- package/build/modules/routing/MediatorApi.js +69 -0
- package/build/modules/routing/MediatorApi.js.map +1 -0
- package/build/modules/routing/MediatorModule.d.ts +14 -0
- package/build/modules/routing/MediatorModule.js +34 -0
- package/build/modules/routing/MediatorModule.js.map +1 -0
- package/build/modules/routing/MediatorModuleConfig.d.ts +33 -0
- package/build/modules/routing/MediatorModuleConfig.js +21 -0
- package/build/modules/routing/MediatorModuleConfig.js.map +1 -0
- package/build/modules/routing/MediatorPickupStrategy.d.ts +7 -0
- package/build/modules/routing/MediatorPickupStrategy.js +19 -0
- package/build/modules/routing/MediatorPickupStrategy.js.map +1 -0
- package/build/modules/routing/MessageForwardingStrategy.d.ts +5 -0
- package/build/modules/routing/MessageForwardingStrategy.js +16 -0
- package/build/modules/routing/MessageForwardingStrategy.js.map +1 -0
- package/build/modules/routing/RoutingEvents.d.ts +30 -0
- package/build/modules/routing/RoutingEvents.js +10 -0
- package/build/modules/routing/RoutingEvents.js.map +1 -0
- package/build/modules/routing/error/RoutingProblemReportReason.d.ts +3 -0
- package/build/modules/routing/error/RoutingProblemReportReason.js +8 -0
- package/build/modules/routing/error/RoutingProblemReportReason.js.map +1 -0
- package/build/modules/routing/error/index.d.ts +1 -0
- package/build/modules/routing/error/index.js +18 -0
- package/build/modules/routing/error/index.js.map +1 -0
- package/build/modules/routing/handlers/ForwardHandler.d.ts +9 -0
- package/build/modules/routing/handlers/ForwardHandler.js +15 -0
- package/build/modules/routing/handlers/ForwardHandler.js.map +1 -0
- package/build/modules/routing/handlers/KeylistUpdateHandler.d.ts +10 -0
- package/build/modules/routing/handlers/KeylistUpdateHandler.js +21 -0
- package/build/modules/routing/handlers/KeylistUpdateHandler.js.map +1 -0
- package/build/modules/routing/handlers/KeylistUpdateResponseHandler.d.ts +9 -0
- package/build/modules/routing/handlers/KeylistUpdateResponseHandler.js +16 -0
- package/build/modules/routing/handlers/KeylistUpdateResponseHandler.js.map +1 -0
- package/build/modules/routing/handlers/MediationDenyHandler.d.ts +9 -0
- package/build/modules/routing/handlers/MediationDenyHandler.js +16 -0
- package/build/modules/routing/handlers/MediationDenyHandler.js.map +1 -0
- package/build/modules/routing/handlers/MediationGrantHandler.d.ts +9 -0
- package/build/modules/routing/handlers/MediationGrantHandler.js +16 -0
- package/build/modules/routing/handlers/MediationGrantHandler.js.map +1 -0
- package/build/modules/routing/handlers/MediationRequestHandler.d.ts +12 -0
- package/build/modules/routing/handlers/MediationRequestHandler.js +26 -0
- package/build/modules/routing/handlers/MediationRequestHandler.js.map +1 -0
- package/build/modules/routing/handlers/index.d.ts +6 -0
- package/build/modules/routing/handlers/index.js +23 -0
- package/build/modules/routing/handlers/index.js.map +1 -0
- package/build/modules/routing/index.d.ts +10 -0
- package/build/modules/routing/index.js +27 -0
- package/build/modules/routing/index.js.map +1 -0
- package/build/modules/routing/messages/ForwardMessage.d.ts +23 -0
- package/build/modules/routing/messages/ForwardMessage.js +52 -0
- package/build/modules/routing/messages/ForwardMessage.js.map +1 -0
- package/build/modules/routing/messages/KeylistMessage.d.ts +20 -0
- package/build/modules/routing/messages/KeylistMessage.js +49 -0
- package/build/modules/routing/messages/KeylistMessage.js.map +1 -0
- package/build/modules/routing/messages/KeylistUpdateMessage.d.ts +29 -0
- package/build/modules/routing/messages/KeylistUpdateMessage.js +68 -0
- package/build/modules/routing/messages/KeylistUpdateMessage.js.map +1 -0
- package/build/modules/routing/messages/KeylistUpdateResponseMessage.d.ts +34 -0
- package/build/modules/routing/messages/KeylistUpdateResponseMessage.js +79 -0
- package/build/modules/routing/messages/KeylistUpdateResponseMessage.js.map +1 -0
- package/build/modules/routing/messages/MediationDenyMessage.d.ts +14 -0
- package/build/modules/routing/messages/MediationDenyMessage.js +35 -0
- package/build/modules/routing/messages/MediationDenyMessage.js.map +1 -0
- package/build/modules/routing/messages/MediationGrantMessage.d.ts +20 -0
- package/build/modules/routing/messages/MediationGrantMessage.js +55 -0
- package/build/modules/routing/messages/MediationGrantMessage.js.map +1 -0
- package/build/modules/routing/messages/MediationRequestMessage.d.ts +22 -0
- package/build/modules/routing/messages/MediationRequestMessage.js +42 -0
- package/build/modules/routing/messages/MediationRequestMessage.js.map +1 -0
- package/build/modules/routing/messages/index.d.ts +6 -0
- package/build/modules/routing/messages/index.js +23 -0
- package/build/modules/routing/messages/index.js.map +1 -0
- package/build/modules/routing/models/MediationRole.d.ts +9 -0
- package/build/modules/routing/models/MediationRole.js +14 -0
- package/build/modules/routing/models/MediationRole.js.map +1 -0
- package/build/modules/routing/models/MediationState.d.ts +10 -0
- package/build/modules/routing/models/MediationState.js +15 -0
- package/build/modules/routing/models/MediationState.js.map +1 -0
- package/build/modules/routing/models/index.d.ts +2 -0
- package/build/modules/routing/models/index.js +19 -0
- package/build/modules/routing/models/index.js.map +1 -0
- package/build/modules/routing/repository/MediationRecord.d.ts +53 -0
- package/build/modules/routing/repository/MediationRecord.js +87 -0
- package/build/modules/routing/repository/MediationRecord.js.map +1 -0
- package/build/modules/routing/repository/MediationRepository.d.ts +10 -0
- package/build/modules/routing/repository/MediationRepository.js +40 -0
- package/build/modules/routing/repository/MediationRepository.js.map +1 -0
- package/build/modules/routing/repository/MediatorRoutingRecord.d.ts +15 -0
- package/build/modules/routing/repository/MediatorRoutingRecord.js +23 -0
- package/build/modules/routing/repository/MediatorRoutingRecord.js.map +1 -0
- package/build/modules/routing/repository/MediatorRoutingRepository.d.ts +8 -0
- package/build/modules/routing/repository/MediatorRoutingRepository.js +33 -0
- package/build/modules/routing/repository/MediatorRoutingRepository.js.map +1 -0
- package/build/modules/routing/repository/index.d.ts +4 -0
- package/build/modules/routing/repository/index.js +21 -0
- package/build/modules/routing/repository/index.js.map +1 -0
- package/build/modules/routing/services/MediationRecipientService.d.ts +57 -0
- package/build/modules/routing/services/MediationRecipientService.js +276 -0
- package/build/modules/routing/services/MediationRecipientService.js.map +1 -0
- package/build/modules/routing/services/MediatorService.d.ts +39 -0
- package/build/modules/routing/services/MediatorService.js +253 -0
- package/build/modules/routing/services/MediatorService.js.map +1 -0
- package/build/modules/routing/services/RoutingService.d.ts +33 -0
- package/build/modules/routing/services/RoutingService.js +54 -0
- package/build/modules/routing/services/RoutingService.js.map +1 -0
- package/build/modules/routing/services/helpers.d.ts +3 -0
- package/build/modules/routing/services/helpers.js +14 -0
- package/build/modules/routing/services/helpers.js.map +1 -0
- package/build/modules/routing/services/index.d.ts +3 -0
- package/build/modules/routing/services/index.js +20 -0
- package/build/modules/routing/services/index.js.map +1 -0
- package/build/modules/sd-jwt-vc/SdJwtVcApi.d.ts +57 -0
- package/build/modules/sd-jwt-vc/SdJwtVcApi.js +77 -0
- package/build/modules/sd-jwt-vc/SdJwtVcApi.js.map +1 -0
- package/build/modules/sd-jwt-vc/SdJwtVcError.d.ts +3 -0
- package/build/modules/sd-jwt-vc/SdJwtVcError.js +8 -0
- package/build/modules/sd-jwt-vc/SdJwtVcError.js.map +1 -0
- package/build/modules/sd-jwt-vc/SdJwtVcModule.d.ts +12 -0
- package/build/modules/sd-jwt-vc/SdJwtVcModule.js +30 -0
- package/build/modules/sd-jwt-vc/SdJwtVcModule.js.map +1 -0
- package/build/modules/sd-jwt-vc/SdJwtVcOptions.d.ts +65 -0
- package/build/modules/sd-jwt-vc/SdJwtVcOptions.js +3 -0
- package/build/modules/sd-jwt-vc/SdJwtVcOptions.js.map +1 -0
- package/build/modules/sd-jwt-vc/SdJwtVcService.d.ts +60 -0
- package/build/modules/sd-jwt-vc/SdJwtVcService.js +283 -0
- package/build/modules/sd-jwt-vc/SdJwtVcService.js.map +1 -0
- package/build/modules/sd-jwt-vc/index.d.ts +6 -0
- package/build/modules/sd-jwt-vc/index.js +23 -0
- package/build/modules/sd-jwt-vc/index.js.map +1 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.d.ts +32 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.js +33 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.js.map +1 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.d.ts +7 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.js +32 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRepository.js.map +1 -0
- package/build/modules/sd-jwt-vc/repository/index.d.ts +2 -0
- package/build/modules/sd-jwt-vc/repository/index.js +19 -0
- package/build/modules/sd-jwt-vc/repository/index.js.map +1 -0
- package/build/modules/vc/W3cCredentialService.d.ts +60 -0
- package/build/modules/vc/W3cCredentialService.js +163 -0
- package/build/modules/vc/W3cCredentialService.js.map +1 -0
- package/build/modules/vc/W3cCredentialServiceOptions.d.ts +148 -0
- package/build/modules/vc/W3cCredentialServiceOptions.js +3 -0
- package/build/modules/vc/W3cCredentialServiceOptions.js.map +1 -0
- package/build/modules/vc/W3cCredentialsApi.d.ts +24 -0
- package/build/modules/vc/W3cCredentialsApi.js +60 -0
- package/build/modules/vc/W3cCredentialsApi.js.map +1 -0
- package/build/modules/vc/W3cCredentialsModule.d.ts +13 -0
- package/build/modules/vc/W3cCredentialsModule.js +43 -0
- package/build/modules/vc/W3cCredentialsModule.js.map +1 -0
- package/build/modules/vc/W3cCredentialsModuleConfig.d.ts +36 -0
- package/build/modules/vc/W3cCredentialsModuleConfig.js +16 -0
- package/build/modules/vc/W3cCredentialsModuleConfig.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_example_489398593.d.ts +10 -0
- package/build/modules/vc/__tests__/dids/did_example_489398593.js +16 -0
- package/build/modules/vc/__tests__/dids/did_example_489398593.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_sov_QqEfJxe752NCmWqR5TssZ5.d.ts +20 -0
- package/build/modules/vc/__tests__/dids/did_sov_QqEfJxe752NCmWqR5TssZ5.js +28 -0
- package/build/modules/vc/__tests__/dids/did_sov_QqEfJxe752NCmWqR5TssZ5.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_web_launchpad.d.ts +20 -0
- package/build/modules/vc/__tests__/dids/did_web_launchpad.js +28 -0
- package/build/modules/vc/__tests__/dids/did_web_launchpad.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_z6Mkgg342Ycpuk263R9d8Aq6MUaxPn1DDeHyGo38EefXmgDL.d.ts +23 -0
- package/build/modules/vc/__tests__/dids/did_z6Mkgg342Ycpuk263R9d8Aq6MUaxPn1DDeHyGo38EefXmgDL.js +49 -0
- package/build/modules/vc/__tests__/dids/did_z6Mkgg342Ycpuk263R9d8Aq6MUaxPn1DDeHyGo38EefXmgDL.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_z6MkvePyWAApUVeDboZhNbckaWHnqtD6pCETd6xoqGbcpEBV.d.ts +23 -0
- package/build/modules/vc/__tests__/dids/did_z6MkvePyWAApUVeDboZhNbckaWHnqtD6pCETd6xoqGbcpEBV.js +49 -0
- package/build/modules/vc/__tests__/dids/did_z6MkvePyWAApUVeDboZhNbckaWHnqtD6pCETd6xoqGbcpEBV.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_zUC729nNiUKQ4pHHNYovae25gkkuvtsZmtpjnLYUj1r8Yd4ZRn3FaswicUWs2NYNuWXxQ7MgzAX7dqXxAFZXFvn2jhqGKpjm5xLwESYfhcDGdSrc9mgfu51w939BjmKmng5HvYK.d.ts +18 -0
- package/build/modules/vc/__tests__/dids/did_zUC729nNiUKQ4pHHNYovae25gkkuvtsZmtpjnLYUj1r8Yd4ZRn3FaswicUWs2NYNuWXxQ7MgzAX7dqXxAFZXFvn2jhqGKpjm5xLwESYfhcDGdSrc9mgfu51w939BjmKmng5HvYK.js +32 -0
- package/build/modules/vc/__tests__/dids/did_zUC729nNiUKQ4pHHNYovae25gkkuvtsZmtpjnLYUj1r8Yd4ZRn3FaswicUWs2NYNuWXxQ7MgzAX7dqXxAFZXFvn2jhqGKpjm5xLwESYfhcDGdSrc9mgfu51w939BjmKmng5HvYK.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_zUC72Q7XD4PE4CrMiDVXuvZng3sBvMmaGgNeTUJuzavH2BS7ThbHL9FhsZM9QYY5fqAQ4MB8M9oudz3tfuaX36Ajr97QRW7LBt6WWmrtESe6Bs5NYzFtLWEmeVtvRYVAgjFcJSa.d.ts +37 -0
- package/build/modules/vc/__tests__/dids/did_zUC72Q7XD4PE4CrMiDVXuvZng3sBvMmaGgNeTUJuzavH2BS7ThbHL9FhsZM9QYY5fqAQ4MB8M9oudz3tfuaX36Ajr97QRW7LBt6WWmrtESe6Bs5NYzFtLWEmeVtvRYVAgjFcJSa.js +53 -0
- package/build/modules/vc/__tests__/dids/did_zUC72Q7XD4PE4CrMiDVXuvZng3sBvMmaGgNeTUJuzavH2BS7ThbHL9FhsZM9QYY5fqAQ4MB8M9oudz3tfuaX36Ajr97QRW7LBt6WWmrtESe6Bs5NYzFtLWEmeVtvRYVAgjFcJSa.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_zUC72to2eJiFMrt8a89LoaEPHC76QcfAxQdFys3nFGCmDKAmLbdE4ByyQ54kh42XgECCyZfVKe3m41Kk35nzrBKYbk6s9K7EjyLJcGGPkA7N15tDNBQJaY7cHD4RRaTwF6qXpmD.d.ts +18 -0
- package/build/modules/vc/__tests__/dids/did_zUC72to2eJiFMrt8a89LoaEPHC76QcfAxQdFys3nFGCmDKAmLbdE4ByyQ54kh42XgECCyZfVKe3m41Kk35nzrBKYbk6s9K7EjyLJcGGPkA7N15tDNBQJaY7cHD4RRaTwF6qXpmD.js +32 -0
- package/build/modules/vc/__tests__/dids/did_zUC72to2eJiFMrt8a89LoaEPHC76QcfAxQdFys3nFGCmDKAmLbdE4ByyQ54kh42XgECCyZfVKe3m41Kk35nzrBKYbk6s9K7EjyLJcGGPkA7N15tDNBQJaY7cHD4RRaTwF6qXpmD.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_zUC73JKGpX1WG4CWbFM15ni3faANPet6m8WJ6vaF5xyFsM3MeoBVNgQ6jjVPCcUnTAnJy6RVKqsUXa4AvdRKwV5hhQhwhMWFT9so9jrPekKmqpikTjYBXa3RYWqRpCWHY4u4hxh.d.ts +18 -0
- package/build/modules/vc/__tests__/dids/did_zUC73JKGpX1WG4CWbFM15ni3faANPet6m8WJ6vaF5xyFsM3MeoBVNgQ6jjVPCcUnTAnJy6RVKqsUXa4AvdRKwV5hhQhwhMWFT9so9jrPekKmqpikTjYBXa3RYWqRpCWHY4u4hxh.js +32 -0
- package/build/modules/vc/__tests__/dids/did_zUC73JKGpX1WG4CWbFM15ni3faANPet6m8WJ6vaF5xyFsM3MeoBVNgQ6jjVPCcUnTAnJy6RVKqsUXa4AvdRKwV5hhQhwhMWFT9so9jrPekKmqpikTjYBXa3RYWqRpCWHY4u4hxh.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_zUC73YqdRJ3t8bZsFUoxYFPNVruHzn4o7u78GSrMXVSkcb3xAYtUxRD2kSt2bDcmQpRjKfygwLJ1HEGfkosSN7gr4acjGkXLbLRXREueknFN4AU19m8BxEgWnLM84CAvsw6bhYn.d.ts +18 -0
- package/build/modules/vc/__tests__/dids/did_zUC73YqdRJ3t8bZsFUoxYFPNVruHzn4o7u78GSrMXVSkcb3xAYtUxRD2kSt2bDcmQpRjKfygwLJ1HEGfkosSN7gr4acjGkXLbLRXREueknFN4AU19m8BxEgWnLM84CAvsw6bhYn.js +32 -0
- package/build/modules/vc/__tests__/dids/did_zUC73YqdRJ3t8bZsFUoxYFPNVruHzn4o7u78GSrMXVSkcb3xAYtUxRD2kSt2bDcmQpRjKfygwLJ1HEGfkosSN7gr4acjGkXLbLRXREueknFN4AU19m8BxEgWnLM84CAvsw6bhYn.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_zUC74VEqqhEHQcgv4zagSPkqFJxuNWuoBPKjJuHETEUeHLoSqWt92viSsmaWjy82y2cgguc8e9hsGBifnVK67pQ4gve3m6iSboDkmJjxVEb1d6mRAx5fpMAejooNzNqqbTMVeUN.d.ts +14 -0
- package/build/modules/vc/__tests__/dids/did_zUC74VEqqhEHQcgv4zagSPkqFJxuNWuoBPKjJuHETEUeHLoSqWt92viSsmaWjy82y2cgguc8e9hsGBifnVK67pQ4gve3m6iSboDkmJjxVEb1d6mRAx5fpMAejooNzNqqbTMVeUN.js +28 -0
- package/build/modules/vc/__tests__/dids/did_zUC74VEqqhEHQcgv4zagSPkqFJxuNWuoBPKjJuHETEUeHLoSqWt92viSsmaWjy82y2cgguc8e9hsGBifnVK67pQ4gve3m6iSboDkmJjxVEb1d6mRAx5fpMAejooNzNqqbTMVeUN.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_zUC76qMTDAaupy19pEk8JKH5LJwPwmscNQn24SYpqrgqEoYWPFgCSm4CnTfupADRfbB6CxdwYhVaTFjT4fmPvMh7gWY87LauhaLmNpPamCv4LAepcRfBDndSdtCpZKSTELMjzGJ.d.ts +18 -0
- package/build/modules/vc/__tests__/dids/did_zUC76qMTDAaupy19pEk8JKH5LJwPwmscNQn24SYpqrgqEoYWPFgCSm4CnTfupADRfbB6CxdwYhVaTFjT4fmPvMh7gWY87LauhaLmNpPamCv4LAepcRfBDndSdtCpZKSTELMjzGJ.js +32 -0
- package/build/modules/vc/__tests__/dids/did_zUC76qMTDAaupy19pEk8JKH5LJwPwmscNQn24SYpqrgqEoYWPFgCSm4CnTfupADRfbB6CxdwYhVaTFjT4fmPvMh7gWY87LauhaLmNpPamCv4LAepcRfBDndSdtCpZKSTELMjzGJ.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_zUC7DMETzdZM6woUjvs2fieEyFTbHABXwBvLYPBs4NDWKut4H41h8V3KTqGNRUziXLYqa1sFYYw9Zjpt6pFUf7hra4Q1zXMA9JjXcXxDpxuDNpUKEpiDPSYYUztVchUJHQJJhox.d.ts +18 -0
- package/build/modules/vc/__tests__/dids/did_zUC7DMETzdZM6woUjvs2fieEyFTbHABXwBvLYPBs4NDWKut4H41h8V3KTqGNRUziXLYqa1sFYYw9Zjpt6pFUf7hra4Q1zXMA9JjXcXxDpxuDNpUKEpiDPSYYUztVchUJHQJJhox.js +32 -0
- package/build/modules/vc/__tests__/dids/did_zUC7DMETzdZM6woUjvs2fieEyFTbHABXwBvLYPBs4NDWKut4H41h8V3KTqGNRUziXLYqa1sFYYw9Zjpt6pFUf7hra4Q1zXMA9JjXcXxDpxuDNpUKEpiDPSYYUztVchUJHQJJhox.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_zUC7F9Jt6YzVW9fGhwYjVrjdS8Xzg7oQc2CeDcVNgEcEAaJXAtPz3eXu2sewq4xtwRK3DAhQRYwwoYiT3nNzLCPsrKoP72UGZKhh4cNuZD7RkmwzAa1Bye4C5a9DcyYBGKZrE5F.d.ts +18 -0
- package/build/modules/vc/__tests__/dids/did_zUC7F9Jt6YzVW9fGhwYjVrjdS8Xzg7oQc2CeDcVNgEcEAaJXAtPz3eXu2sewq4xtwRK3DAhQRYwwoYiT3nNzLCPsrKoP72UGZKhh4cNuZD7RkmwzAa1Bye4C5a9DcyYBGKZrE5F.js +32 -0
- package/build/modules/vc/__tests__/dids/did_zUC7F9Jt6YzVW9fGhwYjVrjdS8Xzg7oQc2CeDcVNgEcEAaJXAtPz3eXu2sewq4xtwRK3DAhQRYwwoYiT3nNzLCPsrKoP72UGZKhh4cNuZD7RkmwzAa1Bye4C5a9DcyYBGKZrE5F.js.map +1 -0
- package/build/modules/vc/__tests__/dids/did_zUC7H7TxvhWmvfptpu2zSwo5EZ1kr3MPNsjovaD2ipbuzj6zi1vk4FHTiunCJrFvUYV77Mk3QcWUUAHojPZdU8oG476cvMK2ozP1gVq63x5ovj6e4oQ9qg9eF4YjPhWJs6FPuT4.d.ts +18 -0
- package/build/modules/vc/__tests__/dids/did_zUC7H7TxvhWmvfptpu2zSwo5EZ1kr3MPNsjovaD2ipbuzj6zi1vk4FHTiunCJrFvUYV77Mk3QcWUUAHojPZdU8oG476cvMK2ozP1gVq63x5ovj6e4oQ9qg9eF4YjPhWJs6FPuT4.js +32 -0
- package/build/modules/vc/__tests__/dids/did_zUC7H7TxvhWmvfptpu2zSwo5EZ1kr3MPNsjovaD2ipbuzj6zi1vk4FHTiunCJrFvUYV77Mk3QcWUUAHojPZdU8oG476cvMK2ozP1gVq63x5ovj6e4oQ9qg9eF4YjPhWJs6FPuT4.js.map +1 -0
- package/build/modules/vc/constants.d.ts +16 -0
- package/build/modules/vc/constants.js +20 -0
- package/build/modules/vc/constants.js.map +1 -0
- package/build/modules/vc/data-integrity/SignatureSuiteRegistry.d.ts +22 -0
- package/build/modules/vc/data-integrity/SignatureSuiteRegistry.js +58 -0
- package/build/modules/vc/data-integrity/SignatureSuiteRegistry.js.map +1 -0
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.d.ts +48 -0
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.js +311 -0
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v1.d.ts +57 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v1.js +49 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v2.d.ts +57 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v2.js +49 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v2.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/examples_v1.d.ts +98 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/examples_v1.js +50 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/examples_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/index.d.ts +5 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/index.js +22 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/index.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/mattr_vc_extension_v1.d.ts +17 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/mattr_vc_extension_v1.js +21 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/mattr_vc_extension_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/security_v3_unstable.d.ts +701 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/security_v3_unstable.js +684 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/security_v3_unstable.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v1.d.ts +88 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v1.js +92 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v2.d.ts +88 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v2.js +92 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v2.js.map +1 -0
- package/build/modules/vc/data-integrity/deriveProof.d.ts +17 -0
- package/build/modules/vc/data-integrity/deriveProof.js +112 -0
- package/build/modules/vc/data-integrity/deriveProof.js.map +1 -0
- package/build/modules/vc/data-integrity/index.d.ts +7 -0
- package/build/modules/vc/data-integrity/index.js +26 -0
- package/build/modules/vc/data-integrity/index.js.map +1 -0
- package/build/modules/vc/data-integrity/jsonldUtil.d.ts +46 -0
- package/build/modules/vc/data-integrity/jsonldUtil.js +103 -0
- package/build/modules/vc/data-integrity/jsonldUtil.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/X25519_v1.d.ts +26 -0
- package/build/modules/vc/data-integrity/libraries/contexts/X25519_v1.js +30 -0
- package/build/modules/vc/data-integrity/libraries/contexts/X25519_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/bbs_v1.d.ts +128 -0
- package/build/modules/vc/data-integrity/libraries/contexts/bbs_v1.js +132 -0
- package/build/modules/vc/data-integrity/libraries/contexts/bbs_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/credentials_v1.d.ts +315 -0
- package/build/modules/vc/data-integrity/libraries/contexts/credentials_v1.js +254 -0
- package/build/modules/vc/data-integrity/libraries/contexts/credentials_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/dataIntegrity_v2.d.ts +81 -0
- package/build/modules/vc/data-integrity/libraries/contexts/dataIntegrity_v2.js +85 -0
- package/build/modules/vc/data-integrity/libraries/contexts/dataIntegrity_v2.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/defaultContexts.d.ts +10323 -0
- package/build/modules/vc/data-integrity/libraries/contexts/defaultContexts.js +37 -0
- package/build/modules/vc/data-integrity/libraries/contexts/defaultContexts.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/did_v1.d.ts +56 -0
- package/build/modules/vc/data-integrity/libraries/contexts/did_v1.js +60 -0
- package/build/modules/vc/data-integrity/libraries/contexts/did_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/ed25519_v1.d.ts +91 -0
- package/build/modules/vc/data-integrity/libraries/contexts/ed25519_v1.js +95 -0
- package/build/modules/vc/data-integrity/libraries/contexts/ed25519_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/index.d.ts +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/index.js +6 -0
- package/build/modules/vc/data-integrity/libraries/contexts/index.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/odrl.d.ts +301 -0
- package/build/modules/vc/data-integrity/libraries/contexts/odrl.js +185 -0
- package/build/modules/vc/data-integrity/libraries/contexts/odrl.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/purl_ob_v3po.d.ts +438 -0
- package/build/modules/vc/data-integrity/libraries/contexts/purl_ob_v3po.js +442 -0
- package/build/modules/vc/data-integrity/libraries/contexts/purl_ob_v3po.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/schema_org.d.ts +8242 -0
- package/build/modules/vc/data-integrity/libraries/contexts/schema_org.js +2842 -0
- package/build/modules/vc/data-integrity/libraries/contexts/schema_org.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/secp256k1_v1.d.ts +102 -0
- package/build/modules/vc/data-integrity/libraries/contexts/secp256k1_v1.js +106 -0
- package/build/modules/vc/data-integrity/libraries/contexts/secp256k1_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/security_v1.d.ts +74 -0
- package/build/modules/vc/data-integrity/libraries/contexts/security_v1.js +51 -0
- package/build/modules/vc/data-integrity/libraries/contexts/security_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/security_v2.d.ts +175 -0
- package/build/modules/vc/data-integrity/libraries/contexts/security_v2.js +94 -0
- package/build/modules/vc/data-integrity/libraries/contexts/security_v2.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/submission.d.ts +15 -0
- package/build/modules/vc/data-integrity/libraries/contexts/submission.js +19 -0
- package/build/modules/vc/data-integrity/libraries/contexts/submission.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/contexts/vc_revocation_list_2020.d.ts +37 -0
- package/build/modules/vc/data-integrity/libraries/contexts/vc_revocation_list_2020.js +41 -0
- package/build/modules/vc/data-integrity/libraries/contexts/vc_revocation_list_2020.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/documentLoader.d.ts +4 -0
- package/build/modules/vc/data-integrity/libraries/documentLoader.js +59 -0
- package/build/modules/vc/data-integrity/libraries/documentLoader.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/index.d.ts +24 -0
- package/build/modules/vc/data-integrity/libraries/index.js +40 -0
- package/build/modules/vc/data-integrity/libraries/index.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/jsonld-signatures.d.ts +10 -0
- package/build/modules/vc/data-integrity/libraries/jsonld-signatures.js +9 -0
- package/build/modules/vc/data-integrity/libraries/jsonld-signatures.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/jsonld.d.ts +17 -0
- package/build/modules/vc/data-integrity/libraries/jsonld.js +12 -0
- package/build/modules/vc/data-integrity/libraries/jsonld.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.d.ts +2 -0
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.js +10 -0
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.native.d.ts +2 -0
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.native.js +10 -0
- package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.native.js.map +1 -0
- package/build/modules/vc/data-integrity/libraries/vc.d.ts +28 -0
- package/build/modules/vc/data-integrity/libraries/vc.js +12 -0
- package/build/modules/vc/data-integrity/libraries/vc.js.map +1 -0
- package/build/modules/vc/data-integrity/models/DataIntegrityProof.d.ts +33 -0
- package/build/modules/vc/data-integrity/models/DataIntegrityProof.js +91 -0
- package/build/modules/vc/data-integrity/models/DataIntegrityProof.js.map +1 -0
- package/build/modules/vc/data-integrity/models/GetProofsOptions.d.ts +23 -0
- package/build/modules/vc/data-integrity/models/GetProofsOptions.js +15 -0
- package/build/modules/vc/data-integrity/models/GetProofsOptions.js.map +1 -0
- package/build/modules/vc/data-integrity/models/GetProofsResult.d.ts +14 -0
- package/build/modules/vc/data-integrity/models/GetProofsResult.js +15 -0
- package/build/modules/vc/data-integrity/models/GetProofsResult.js.map +1 -0
- package/build/modules/vc/data-integrity/models/GetTypeOptions.d.ts +10 -0
- package/build/modules/vc/data-integrity/models/GetTypeOptions.js +15 -0
- package/build/modules/vc/data-integrity/models/GetTypeOptions.js.map +1 -0
- package/build/modules/vc/data-integrity/models/IAnonCredsDataIntegrityService.d.ts +29 -0
- package/build/modules/vc/data-integrity/models/IAnonCredsDataIntegrityService.js +6 -0
- package/build/modules/vc/data-integrity/models/IAnonCredsDataIntegrityService.js.map +1 -0
- package/build/modules/vc/data-integrity/models/LdKeyPair.d.ts +31 -0
- package/build/modules/vc/data-integrity/models/LdKeyPair.js +29 -0
- package/build/modules/vc/data-integrity/models/LdKeyPair.js.map +1 -0
- package/build/modules/vc/data-integrity/models/LinkedDataProof.d.ts +30 -0
- package/build/modules/vc/data-integrity/models/LinkedDataProof.js +78 -0
- package/build/modules/vc/data-integrity/models/LinkedDataProof.js.map +1 -0
- package/build/modules/vc/data-integrity/models/ProofTransformer.d.ts +1 -0
- package/build/modules/vc/data-integrity/models/ProofTransformer.js +32 -0
- package/build/modules/vc/data-integrity/models/ProofTransformer.js.map +1 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.d.ts +30 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.js +74 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.js.map +1 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.d.ts +27 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.js +64 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.js.map +1 -0
- package/build/modules/vc/data-integrity/models/index.d.ts +5 -0
- package/build/modules/vc/data-integrity/models/index.js +22 -0
- package/build/modules/vc/data-integrity/models/index.js.map +1 -0
- package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.d.ts +56 -0
- package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.js +74 -0
- package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.js.map +1 -0
- package/build/modules/vc/data-integrity/proof-purposes/ProofPurpose.d.ts +1 -0
- package/build/modules/vc/data-integrity/proof-purposes/ProofPurpose.js +3 -0
- package/build/modules/vc/data-integrity/proof-purposes/ProofPurpose.js.map +1 -0
- package/build/modules/vc/data-integrity/proof-purposes/index.d.ts +2 -0
- package/build/modules/vc/data-integrity/proof-purposes/index.js +19 -0
- package/build/modules/vc/data-integrity/proof-purposes/index.js.map +1 -0
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.d.ts +98 -0
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.js +209 -0
- package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.js.map +1 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.d.ts +80 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.js +190 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.js.map +1 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/constants.d.ts +2 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/constants.js +6 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/constants.js.map +1 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/context.d.ts +93 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/context.js +99 -0
- package/build/modules/vc/data-integrity/signature-suites/ed25519/context.js.map +1 -0
- package/build/modules/vc/data-integrity/signature-suites/index.d.ts +2 -0
- package/build/modules/vc/data-integrity/signature-suites/index.js +19 -0
- package/build/modules/vc/data-integrity/signature-suites/index.js.map +1 -0
- package/build/modules/vc/index.d.ts +11 -0
- package/build/modules/vc/index.js +30 -0
- package/build/modules/vc/index.js.map +1 -0
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.d.ts +63 -0
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.js +432 -0
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.js.map +1 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.d.ts +46 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.js +97 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.js.map +1 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.d.ts +37 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.js +76 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.js.map +1 -0
- package/build/modules/vc/jwt-vc/__tests__/fixtures/credo-jwt-vc.d.ts +38 -0
- package/build/modules/vc/jwt-vc/__tests__/fixtures/credo-jwt-vc.js +43 -0
- package/build/modules/vc/jwt-vc/__tests__/fixtures/credo-jwt-vc.js.map +1 -0
- package/build/modules/vc/jwt-vc/__tests__/fixtures/jwt-vc-presentation-profile.d.ts +1 -0
- package/build/modules/vc/jwt-vc/__tests__/fixtures/jwt-vc-presentation-profile.js +5 -0
- package/build/modules/vc/jwt-vc/__tests__/fixtures/jwt-vc-presentation-profile.js.map +1 -0
- package/build/modules/vc/jwt-vc/__tests__/fixtures/transmute-verifiable-data.d.ts +10 -0
- package/build/modules/vc/jwt-vc/__tests__/fixtures/transmute-verifiable-data.js +15 -0
- package/build/modules/vc/jwt-vc/__tests__/fixtures/transmute-verifiable-data.js.map +1 -0
- package/build/modules/vc/jwt-vc/credentialTransformer.d.ts +4 -0
- package/build/modules/vc/jwt-vc/credentialTransformer.js +132 -0
- package/build/modules/vc/jwt-vc/credentialTransformer.js.map +1 -0
- package/build/modules/vc/jwt-vc/index.d.ts +3 -0
- package/build/modules/vc/jwt-vc/index.js +20 -0
- package/build/modules/vc/jwt-vc/index.js.map +1 -0
- package/build/modules/vc/jwt-vc/presentationTransformer.d.ts +4 -0
- package/build/modules/vc/jwt-vc/presentationTransformer.js +55 -0
- package/build/modules/vc/jwt-vc/presentationTransformer.js.map +1 -0
- package/build/modules/vc/models/ClaimFormat.d.ts +16 -0
- package/build/modules/vc/models/ClaimFormat.js +21 -0
- package/build/modules/vc/models/ClaimFormat.js.map +1 -0
- package/build/modules/vc/models/W3cVerifyResult.d.ts +109 -0
- package/build/modules/vc/models/W3cVerifyResult.js +3 -0
- package/build/modules/vc/models/W3cVerifyResult.js.map +1 -0
- package/build/modules/vc/models/credential/W3cCredential.d.ts +37 -0
- package/build/modules/vc/models/credential/W3cCredential.js +135 -0
- package/build/modules/vc/models/credential/W3cCredential.js.map +1 -0
- package/build/modules/vc/models/credential/W3cCredentialSchema.d.ts +9 -0
- package/build/modules/vc/models/credential/W3cCredentialSchema.js +32 -0
- package/build/modules/vc/models/credential/W3cCredentialSchema.js.map +1 -0
- package/build/modules/vc/models/credential/W3cCredentialStatus.d.ts +9 -0
- package/build/modules/vc/models/credential/W3cCredentialStatus.js +32 -0
- package/build/modules/vc/models/credential/W3cCredentialStatus.js.map +1 -0
- package/build/modules/vc/models/credential/W3cCredentialSubject.d.ts +15 -0
- package/build/modules/vc/models/credential/W3cCredentialSubject.js +93 -0
- package/build/modules/vc/models/credential/W3cCredentialSubject.js.map +1 -0
- package/build/modules/vc/models/credential/W3cIssuer.d.ts +14 -0
- package/build/modules/vc/models/credential/W3cIssuer.js +65 -0
- package/build/modules/vc/models/credential/W3cIssuer.js.map +1 -0
- package/build/modules/vc/models/credential/W3cJsonCredential.d.ts +14 -0
- package/build/modules/vc/models/credential/W3cJsonCredential.js +3 -0
- package/build/modules/vc/models/credential/W3cJsonCredential.js.map +1 -0
- package/build/modules/vc/models/credential/W3cVerifiableCredential.d.ts +5 -0
- package/build/modules/vc/models/credential/W3cVerifiableCredential.js +39 -0
- package/build/modules/vc/models/credential/W3cVerifiableCredential.js.map +1 -0
- package/build/modules/vc/models/credential/index.d.ts +5 -0
- package/build/modules/vc/models/credential/index.js +22 -0
- package/build/modules/vc/models/credential/index.js.map +1 -0
- package/build/modules/vc/models/index.d.ts +4 -0
- package/build/modules/vc/models/index.js +21 -0
- package/build/modules/vc/models/index.js.map +1 -0
- package/build/modules/vc/models/presentation/W3cHolder.d.ts +13 -0
- package/build/modules/vc/models/presentation/W3cHolder.js +65 -0
- package/build/modules/vc/models/presentation/W3cHolder.js.map +1 -0
- package/build/modules/vc/models/presentation/W3cJsonPresentation.d.ts +14 -0
- package/build/modules/vc/models/presentation/W3cJsonPresentation.js +3 -0
- package/build/modules/vc/models/presentation/W3cJsonPresentation.js.map +1 -0
- package/build/modules/vc/models/presentation/W3cPresentation.d.ts +25 -0
- package/build/modules/vc/models/presentation/W3cPresentation.js +88 -0
- package/build/modules/vc/models/presentation/W3cPresentation.js.map +1 -0
- package/build/modules/vc/models/presentation/W3cVerifiablePresentation.d.ts +4 -0
- package/build/modules/vc/models/presentation/W3cVerifiablePresentation.js +3 -0
- package/build/modules/vc/models/presentation/W3cVerifiablePresentation.js.map +1 -0
- package/build/modules/vc/models/presentation/index.d.ts +2 -0
- package/build/modules/vc/models/presentation/index.js +19 -0
- package/build/modules/vc/models/presentation/index.js.map +1 -0
- package/build/modules/vc/repository/W3cCredentialRecord.d.ts +42 -0
- package/build/modules/vc/repository/W3cCredentialRecord.js +62 -0
- package/build/modules/vc/repository/W3cCredentialRecord.js.map +1 -0
- package/build/modules/vc/repository/W3cCredentialRepository.d.ts +7 -0
- package/build/modules/vc/repository/W3cCredentialRepository.js +32 -0
- package/build/modules/vc/repository/W3cCredentialRepository.js.map +1 -0
- package/build/modules/vc/repository/index.d.ts +2 -0
- package/build/modules/vc/repository/index.js +19 -0
- package/build/modules/vc/repository/index.js.map +1 -0
- package/build/modules/vc/util.d.ts +7 -0
- package/build/modules/vc/util.js +19 -0
- package/build/modules/vc/util.js.map +1 -0
- package/build/modules/vc/validators.d.ts +2 -0
- package/build/modules/vc/validators.js +25 -0
- package/build/modules/vc/validators.js.map +1 -0
- package/build/plugins/DependencyManager.d.ts +27 -0
- package/build/plugins/DependencyManager.js +65 -0
- package/build/plugins/DependencyManager.js.map +1 -0
- package/build/plugins/Module.d.ts +17 -0
- package/build/plugins/Module.js +3 -0
- package/build/plugins/Module.js.map +1 -0
- package/build/plugins/index.d.ts +4 -0
- package/build/plugins/index.js +25 -0
- package/build/plugins/index.js.map +1 -0
- package/build/plugins/utils.d.ts +7 -0
- package/build/plugins/utils.js +21 -0
- package/build/plugins/utils.js.map +1 -0
- package/build/storage/BaseRecord.d.ts +54 -0
- package/build/storage/BaseRecord.js +85 -0
- package/build/storage/BaseRecord.js.map +1 -0
- package/build/storage/FileSystem.d.ts +19 -0
- package/build/storage/FileSystem.js +3 -0
- package/build/storage/FileSystem.js.map +1 -0
- package/build/storage/Metadata.d.ts +58 -0
- package/build/storage/Metadata.js +70 -0
- package/build/storage/Metadata.js.map +1 -0
- package/build/storage/Repository.d.ts +49 -0
- package/build/storage/Repository.js +123 -0
- package/build/storage/Repository.js.map +1 -0
- package/build/storage/RepositoryEvents.d.ts +28 -0
- package/build/storage/RepositoryEvents.js +10 -0
- package/build/storage/RepositoryEvents.js.map +1 -0
- package/build/storage/StorageService.d.ts +66 -0
- package/build/storage/StorageService.js +3 -0
- package/build/storage/StorageService.js.map +1 -0
- package/build/storage/didcomm/DidCommMessageRecord.d.ts +48 -0
- package/build/storage/didcomm/DidCommMessageRecord.js +49 -0
- package/build/storage/didcomm/DidCommMessageRecord.js.map +1 -0
- package/build/storage/didcomm/DidCommMessageRepository.d.ts +24 -0
- package/build/storage/didcomm/DidCommMessageRepository.js +78 -0
- package/build/storage/didcomm/DidCommMessageRepository.js.map +1 -0
- package/build/storage/didcomm/DidCommMessageRole.d.ts +4 -0
- package/build/storage/didcomm/DidCommMessageRole.js +9 -0
- package/build/storage/didcomm/DidCommMessageRole.js.map +1 -0
- package/build/storage/didcomm/index.d.ts +3 -0
- package/build/storage/didcomm/index.js +20 -0
- package/build/storage/didcomm/index.js.map +1 -0
- package/build/storage/index.d.ts +2 -0
- package/build/storage/index.js +19 -0
- package/build/storage/index.js.map +1 -0
- package/build/storage/migration/StorageUpdateService.d.ts +22 -0
- package/build/storage/migration/StorageUpdateService.js +77 -0
- package/build/storage/migration/StorageUpdateService.js.map +1 -0
- package/build/storage/migration/UpdateAssistant.d.ts +42 -0
- package/build/storage/migration/UpdateAssistant.js +211 -0
- package/build/storage/migration/UpdateAssistant.js.map +1 -0
- package/build/storage/migration/error/StorageUpdateError.d.ts +6 -0
- package/build/storage/migration/error/StorageUpdateError.js +11 -0
- package/build/storage/migration/error/StorageUpdateError.js.map +1 -0
- package/build/storage/migration/index.d.ts +6 -0
- package/build/storage/migration/index.js +22 -0
- package/build/storage/migration/index.js.map +1 -0
- package/build/storage/migration/isUpToDate.d.ts +3 -0
- package/build/storage/migration/isUpToDate.js +14 -0
- package/build/storage/migration/isUpToDate.js.map +1 -0
- package/build/storage/migration/repository/StorageVersionRecord.d.ts +14 -0
- package/build/storage/migration/repository/StorageVersionRecord.js +23 -0
- package/build/storage/migration/repository/StorageVersionRecord.js.map +1 -0
- package/build/storage/migration/repository/StorageVersionRepository.d.ts +7 -0
- package/build/storage/migration/repository/StorageVersionRepository.js +32 -0
- package/build/storage/migration/repository/StorageVersionRepository.js.map +1 -0
- package/build/storage/migration/updates/0.1-0.2/connection.d.ts +119 -0
- package/build/storage/migration/updates/0.1-0.2/connection.js +382 -0
- package/build/storage/migration/updates/0.1-0.2/connection.js.map +1 -0
- package/build/storage/migration/updates/0.1-0.2/credential.d.ts +80 -0
- package/build/storage/migration/updates/0.1-0.2/credential.js +215 -0
- package/build/storage/migration/updates/0.1-0.2/credential.js.map +1 -0
- package/build/storage/migration/updates/0.1-0.2/index.d.ts +6 -0
- package/build/storage/migration/updates/0.1-0.2/index.js +13 -0
- package/build/storage/migration/updates/0.1-0.2/index.js.map +1 -0
- package/build/storage/migration/updates/0.1-0.2/mediation.d.ts +30 -0
- package/build/storage/migration/updates/0.1-0.2/mediation.js +68 -0
- package/build/storage/migration/updates/0.1-0.2/mediation.js.map +1 -0
- package/build/storage/migration/updates/0.2-0.3/connection.d.ts +14 -0
- package/build/storage/migration/updates/0.2-0.3/connection.js +48 -0
- package/build/storage/migration/updates/0.2-0.3/connection.js.map +1 -0
- package/build/storage/migration/updates/0.2-0.3/index.d.ts +2 -0
- package/build/storage/migration/updates/0.2-0.3/index.js +11 -0
- package/build/storage/migration/updates/0.2-0.3/index.js.map +1 -0
- package/build/storage/migration/updates/0.2-0.3/proof.d.ts +42 -0
- package/build/storage/migration/updates/0.2-0.3/proof.js +131 -0
- package/build/storage/migration/updates/0.2-0.3/proof.js.map +1 -0
- package/build/storage/migration/updates/0.3-0.3.1/did.d.ts +10 -0
- package/build/storage/migration/updates/0.3-0.3.1/did.js +35 -0
- package/build/storage/migration/updates/0.3-0.3.1/did.js.map +1 -0
- package/build/storage/migration/updates/0.3-0.3.1/index.d.ts +2 -0
- package/build/storage/migration/updates/0.3-0.3.1/index.js +9 -0
- package/build/storage/migration/updates/0.3-0.3.1/index.js.map +1 -0
- package/build/storage/migration/updates/0.3.1-0.4/cache.d.ts +5 -0
- package/build/storage/migration/updates/0.3.1-0.4/cache.js +31 -0
- package/build/storage/migration/updates/0.3.1-0.4/cache.js.map +1 -0
- package/build/storage/migration/updates/0.3.1-0.4/did.d.ts +12 -0
- package/build/storage/migration/updates/0.3.1-0.4/did.js +40 -0
- package/build/storage/migration/updates/0.3.1-0.4/did.js.map +1 -0
- package/build/storage/migration/updates/0.3.1-0.4/index.d.ts +2 -0
- package/build/storage/migration/updates/0.3.1-0.4/index.js +13 -0
- package/build/storage/migration/updates/0.3.1-0.4/index.js.map +1 -0
- package/build/storage/migration/updates/0.3.1-0.4/w3cCredentialRecord.d.ts +5 -0
- package/build/storage/migration/updates/0.3.1-0.4/w3cCredentialRecord.js +22 -0
- package/build/storage/migration/updates/0.3.1-0.4/w3cCredentialRecord.js.map +1 -0
- package/build/storage/migration/updates/0.4-0.5/credentialExchangeRecord.d.ts +17 -0
- package/build/storage/migration/updates/0.4-0.5/credentialExchangeRecord.js +107 -0
- package/build/storage/migration/updates/0.4-0.5/credentialExchangeRecord.js.map +1 -0
- package/build/storage/migration/updates/0.4-0.5/index.d.ts +2 -0
- package/build/storage/migration/updates/0.4-0.5/index.js +13 -0
- package/build/storage/migration/updates/0.4-0.5/index.js.map +1 -0
- package/build/storage/migration/updates/0.4-0.5/proofExchangeRecord.d.ts +17 -0
- package/build/storage/migration/updates/0.4-0.5/proofExchangeRecord.js +88 -0
- package/build/storage/migration/updates/0.4-0.5/proofExchangeRecord.js.map +1 -0
- package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.d.ts +25 -0
- package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.js +66 -0
- package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.js.map +1 -0
- package/build/storage/migration/updates.d.ts +41 -0
- package/build/storage/migration/updates.js +44 -0
- package/build/storage/migration/updates.js.map +1 -0
- package/build/transport/HttpOutboundTransport.d.ts +15 -0
- package/build/transport/HttpOutboundTransport.js +124 -0
- package/build/transport/HttpOutboundTransport.js.map +1 -0
- package/build/transport/InboundTransport.d.ts +5 -0
- package/build/transport/InboundTransport.js +3 -0
- package/build/transport/InboundTransport.js.map +1 -0
- package/build/transport/OutboundTransport.d.ts +8 -0
- package/build/transport/OutboundTransport.js +3 -0
- package/build/transport/OutboundTransport.js.map +1 -0
- package/build/transport/TransportEventTypes.d.ts +34 -0
- package/build/transport/TransportEventTypes.js +11 -0
- package/build/transport/TransportEventTypes.js.map +1 -0
- package/build/transport/WsOutboundTransport.d.ts +19 -0
- package/build/transport/WsOutboundTransport.js +139 -0
- package/build/transport/WsOutboundTransport.js.map +1 -0
- package/build/transport/index.d.ts +5 -0
- package/build/transport/index.js +22 -0
- package/build/transport/index.js.map +1 -0
- package/build/types.d.ts +115 -0
- package/build/types.js +18 -0
- package/build/types.js.map +1 -0
- package/build/utils/Hasher.d.ts +4 -0
- package/build/utils/Hasher.js +20 -0
- package/build/utils/Hasher.js.map +1 -0
- package/build/utils/HashlinkEncoder.d.ts +45 -0
- package/build/utils/HashlinkEncoder.js +111 -0
- package/build/utils/HashlinkEncoder.js.map +1 -0
- package/build/utils/JWE.d.ts +2 -0
- package/build/utils/JWE.js +15 -0
- package/build/utils/JWE.js.map +1 -0
- package/build/utils/JsonEncoder.d.ts +45 -0
- package/build/utils/JsonEncoder.js +65 -0
- package/build/utils/JsonEncoder.js.map +1 -0
- package/build/utils/JsonTransformer.d.ts +16 -0
- package/build/utils/JsonTransformer.js +46 -0
- package/build/utils/JsonTransformer.js.map +1 -0
- package/build/utils/LinkedAttachment.d.ts +23 -0
- package/build/utils/LinkedAttachment.js +51 -0
- package/build/utils/LinkedAttachment.js.map +1 -0
- package/build/utils/MessageValidator.d.ts +9 -0
- package/build/utils/MessageValidator.js +33 -0
- package/build/utils/MessageValidator.js.map +1 -0
- package/build/utils/MultiBaseEncoder.d.ts +24 -0
- package/build/utils/MultiBaseEncoder.js +53 -0
- package/build/utils/MultiBaseEncoder.js.map +1 -0
- package/build/utils/MultiHashEncoder.d.ts +35 -0
- package/build/utils/MultiHashEncoder.js +69 -0
- package/build/utils/MultiHashEncoder.js.map +1 -0
- package/build/utils/TypedArrayEncoder.d.ts +60 -0
- package/build/utils/TypedArrayEncoder.js +90 -0
- package/build/utils/TypedArrayEncoder.js.map +1 -0
- package/build/utils/VarintEncoder.d.ts +6 -0
- package/build/utils/VarintEncoder.js +21 -0
- package/build/utils/VarintEncoder.js.map +1 -0
- package/build/utils/array.d.ts +5 -0
- package/build/utils/array.js +18 -0
- package/build/utils/array.js.map +1 -0
- package/build/utils/attachment.d.ts +19 -0
- package/build/utils/attachment.js +40 -0
- package/build/utils/attachment.js.map +1 -0
- package/build/utils/base58.d.ts +2 -0
- package/build/utils/base58.js +18 -0
- package/build/utils/base58.js.map +1 -0
- package/build/utils/base64.d.ts +1 -0
- package/build/utils/base64.js +8 -0
- package/build/utils/base64.js.map +1 -0
- package/build/utils/buffer.d.ts +2 -0
- package/build/utils/buffer.js +6 -0
- package/build/utils/buffer.js.map +1 -0
- package/build/utils/deepEquality.d.ts +5 -0
- package/build/utils/deepEquality.js +58 -0
- package/build/utils/deepEquality.js.map +1 -0
- package/build/utils/did.d.ts +9 -0
- package/build/utils/did.js +22 -0
- package/build/utils/did.js.map +1 -0
- package/build/utils/error.d.ts +1 -0
- package/build/utils/error.js +6 -0
- package/build/utils/error.js.map +1 -0
- package/build/utils/index.d.ts +17 -0
- package/build/utils/index.js +36 -0
- package/build/utils/index.js.map +1 -0
- package/build/utils/messageType.d.ts +138 -0
- package/build/utils/messageType.js +180 -0
- package/build/utils/messageType.js.map +1 -0
- package/build/utils/mixins.d.ts +17 -0
- package/build/utils/mixins.js +21 -0
- package/build/utils/mixins.js.map +1 -0
- package/build/utils/objectEquality.d.ts +1 -0
- package/build/utils/objectEquality.js +28 -0
- package/build/utils/objectEquality.js.map +1 -0
- package/build/utils/parseInvitation.d.ts +30 -0
- package/build/utils/parseInvitation.js +174 -0
- package/build/utils/parseInvitation.js.map +1 -0
- package/build/utils/path.d.ts +14 -0
- package/build/utils/path.js +39 -0
- package/build/utils/path.js.map +1 -0
- package/build/utils/promises.d.ts +11 -0
- package/build/utils/promises.js +27 -0
- package/build/utils/promises.js.map +1 -0
- package/build/utils/sleep.d.ts +1 -0
- package/build/utils/sleep.js +8 -0
- package/build/utils/sleep.js.map +1 -0
- package/build/utils/thread.d.ts +2 -0
- package/build/utils/thread.js +9 -0
- package/build/utils/thread.js.map +1 -0
- package/build/utils/timestamp.d.ts +1 -0
- package/build/utils/timestamp.js +16 -0
- package/build/utils/timestamp.js.map +1 -0
- package/build/utils/transformers.d.ts +15 -0
- package/build/utils/transformers.js +86 -0
- package/build/utils/transformers.js.map +1 -0
- package/build/utils/type.d.ts +4 -0
- package/build/utils/type.js +8 -0
- package/build/utils/type.js.map +1 -0
- package/build/utils/uri.d.ts +1 -0
- package/build/utils/uri.js +9 -0
- package/build/utils/uri.js.map +1 -0
- package/build/utils/uuid.d.ts +2 -0
- package/build/utils/uuid.js +13 -0
- package/build/utils/uuid.js.map +1 -0
- package/build/utils/validators.d.ts +20 -0
- package/build/utils/validators.js +71 -0
- package/build/utils/validators.js.map +1 -0
- package/build/utils/version.d.ts +8 -0
- package/build/utils/version.js +19 -0
- package/build/utils/version.js.map +1 -0
- package/build/wallet/Wallet.d.ts +63 -0
- package/build/wallet/Wallet.js +3 -0
- package/build/wallet/Wallet.js.map +1 -0
- package/build/wallet/WalletApi.d.ts +40 -0
- package/build/wallet/WalletApi.js +118 -0
- package/build/wallet/WalletApi.js.map +1 -0
- package/build/wallet/WalletModule.d.ts +9 -0
- package/build/wallet/WalletModule.js +19 -0
- package/build/wallet/WalletModule.js.map +1 -0
- package/build/wallet/error/WalletDuplicateError.d.ts +7 -0
- package/build/wallet/error/WalletDuplicateError.js +11 -0
- package/build/wallet/error/WalletDuplicateError.js.map +1 -0
- package/build/wallet/error/WalletError.d.ts +6 -0
- package/build/wallet/error/WalletError.js +11 -0
- package/build/wallet/error/WalletError.js.map +1 -0
- package/build/wallet/error/WalletExportPathExistsError.d.ts +6 -0
- package/build/wallet/error/WalletExportPathExistsError.js +11 -0
- package/build/wallet/error/WalletExportPathExistsError.js.map +1 -0
- package/build/wallet/error/WalletExportUnsupportedError.d.ts +6 -0
- package/build/wallet/error/WalletExportUnsupportedError.js +11 -0
- package/build/wallet/error/WalletExportUnsupportedError.js.map +1 -0
- package/build/wallet/error/WalletImportPathExistsError.d.ts +6 -0
- package/build/wallet/error/WalletImportPathExistsError.js +11 -0
- package/build/wallet/error/WalletImportPathExistsError.js.map +1 -0
- package/build/wallet/error/WalletInvalidKeyError.d.ts +7 -0
- package/build/wallet/error/WalletInvalidKeyError.js +11 -0
- package/build/wallet/error/WalletInvalidKeyError.js.map +1 -0
- package/build/wallet/error/WalletKeyExistsError.d.ts +6 -0
- package/build/wallet/error/WalletKeyExistsError.js +11 -0
- package/build/wallet/error/WalletKeyExistsError.js.map +1 -0
- package/build/wallet/error/WalletNotFoundError.d.ts +7 -0
- package/build/wallet/error/WalletNotFoundError.js +11 -0
- package/build/wallet/error/WalletNotFoundError.js.map +1 -0
- package/build/wallet/error/index.d.ts +8 -0
- package/build/wallet/error/index.js +20 -0
- package/build/wallet/error/index.js.map +1 -0
- package/build/wallet/index.d.ts +3 -0
- package/build/wallet/index.js +20 -0
- package/build/wallet/index.js.map +1 -0
- package/package.json +71 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConnectionService.js","sourceRoot":"","sources":["../../../../src/modules/connections/services/ConnectionService.ts"],"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AAC,OAAO,CAAC,CAAA;IAChC,CAAC;CACF,CAAA;AAh1BY,iBAAiB;IAD7B,IAAA,oBAAU,GAAE;IAQR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;6CACV,2CAAoB;QAC3B,0BAAa;QACd,2BAAY;GAVjB,iBAAiB,CAg1B7B;AAh1BY,8CAAiB"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { Routing } from './ConnectionService';
|
|
2
|
+
import type { AgentContext } from '../../../agent';
|
|
3
|
+
import type { InboundMessageContext } from '../../../agent/models/InboundMessageContext';
|
|
4
|
+
import type { ConnectionRecord } from '../repository/ConnectionRecord';
|
|
5
|
+
import { OutboundMessageContext } from '../../../agent/models';
|
|
6
|
+
import { Logger } from '../../../logger';
|
|
7
|
+
import { DidResolverService } from '../../dids';
|
|
8
|
+
import { DidRotateMessage, DidRotateAckMessage, DidRotateProblemReportMessage, HangupMessage } from '../messages';
|
|
9
|
+
export declare class DidRotateService {
|
|
10
|
+
private didResolverService;
|
|
11
|
+
private logger;
|
|
12
|
+
constructor(didResolverService: DidResolverService, logger: Logger);
|
|
13
|
+
createRotate(agentContext: AgentContext, options: {
|
|
14
|
+
connection: ConnectionRecord;
|
|
15
|
+
toDid?: string;
|
|
16
|
+
routing?: Routing;
|
|
17
|
+
}): Promise<DidRotateMessage>;
|
|
18
|
+
createHangup(agentContext: AgentContext, options: {
|
|
19
|
+
connection: ConnectionRecord;
|
|
20
|
+
}): Promise<HangupMessage>;
|
|
21
|
+
/**
|
|
22
|
+
* Process a Hangup message and mark connection's theirDid as undefined so it is effectively terminated.
|
|
23
|
+
* Connection Record itself is not deleted (TODO: config parameter to automatically do so)
|
|
24
|
+
*
|
|
25
|
+
* Its previous did will be stored in record in order to be able to recognize any message received
|
|
26
|
+
* afterwards.
|
|
27
|
+
*
|
|
28
|
+
* @param messageContext
|
|
29
|
+
*/
|
|
30
|
+
processHangup(messageContext: InboundMessageContext<HangupMessage>): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* Process an incoming DID Rotate message and update connection if success. Any acknowledge
|
|
33
|
+
* or problem report will be sent to the prior DID, so the created context will take former
|
|
34
|
+
* connection record data
|
|
35
|
+
*
|
|
36
|
+
* @param param
|
|
37
|
+
* @param connection
|
|
38
|
+
* @returns
|
|
39
|
+
*/
|
|
40
|
+
processRotate(messageContext: InboundMessageContext<DidRotateMessage>): Promise<OutboundMessageContext<DidRotateProblemReportMessage> | OutboundMessageContext<DidRotateAckMessage>>;
|
|
41
|
+
processRotateAck(inboundMessage: InboundMessageContext<DidRotateAckMessage>): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* Process a problem report related to did rotate protocol, by simply deleting any temporary metadata.
|
|
44
|
+
*
|
|
45
|
+
* No specific event is thrown other than generic message processing
|
|
46
|
+
*
|
|
47
|
+
* @param messageContext
|
|
48
|
+
*/
|
|
49
|
+
processProblemReport(messageContext: InboundMessageContext<DidRotateProblemReportMessage>): Promise<void>;
|
|
50
|
+
clearDidRotationData(agentContext: AgentContext, connection: ConnectionRecord): Promise<void>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.DidRotateService = void 0;
|
|
16
|
+
const models_1 = require("../../../agent/models");
|
|
17
|
+
const constants_1 = require("../../../constants");
|
|
18
|
+
const error_1 = require("../../../error");
|
|
19
|
+
const plugins_1 = require("../../../plugins");
|
|
20
|
+
const common_1 = require("../../common");
|
|
21
|
+
const dids_1 = require("../../dids");
|
|
22
|
+
const helpers_1 = require("../../routing/services/helpers");
|
|
23
|
+
const ConnectionsModuleConfig_1 = require("../ConnectionsModuleConfig");
|
|
24
|
+
const messages_1 = require("../messages");
|
|
25
|
+
const ConnectionMetadataTypes_1 = require("../repository/ConnectionMetadataTypes");
|
|
26
|
+
const ConnectionService_1 = require("./ConnectionService");
|
|
27
|
+
const helpers_2 = require("./helpers");
|
|
28
|
+
let DidRotateService = class DidRotateService {
|
|
29
|
+
constructor(didResolverService, logger) {
|
|
30
|
+
this.didResolverService = didResolverService;
|
|
31
|
+
this.logger = logger;
|
|
32
|
+
}
|
|
33
|
+
async createRotate(agentContext, options) {
|
|
34
|
+
var _a;
|
|
35
|
+
const { connection, toDid, routing } = options;
|
|
36
|
+
const config = agentContext.dependencyManager.resolve(ConnectionsModuleConfig_1.ConnectionsModuleConfig);
|
|
37
|
+
// Do not allow to receive concurrent did rotation flows
|
|
38
|
+
const didRotateMetadata = connection.metadata.get(ConnectionMetadataTypes_1.ConnectionMetadataKeys.DidRotate);
|
|
39
|
+
if (didRotateMetadata) {
|
|
40
|
+
throw new error_1.CredoError(`There is already an existing opened did rotation flow for connection id ${connection.id}`);
|
|
41
|
+
}
|
|
42
|
+
let didDocument, mediatorId;
|
|
43
|
+
// If did is specified, make sure we have all key material for it
|
|
44
|
+
if (toDid) {
|
|
45
|
+
didDocument = await (0, helpers_2.getDidDocumentForCreatedDid)(agentContext, toDid);
|
|
46
|
+
mediatorId = (_a = (await (0, helpers_1.getMediationRecordForDidDocument)(agentContext, didDocument))) === null || _a === void 0 ? void 0 : _a.id;
|
|
47
|
+
// Otherwise, create a did:peer based on the provided routing
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
if (!routing) {
|
|
51
|
+
throw new error_1.CredoError('Routing configuration must be defined when rotating to a new peer did');
|
|
52
|
+
}
|
|
53
|
+
didDocument = await (0, helpers_2.createPeerDidFromServices)(agentContext, (0, helpers_2.routingToServices)(routing), config.peerNumAlgoForDidRotation);
|
|
54
|
+
mediatorId = routing.mediatorId;
|
|
55
|
+
}
|
|
56
|
+
const message = new messages_1.DidRotateMessage({ toDid: didDocument.id });
|
|
57
|
+
// We set new info into connection metadata for further 'sealing' it once we receive an acknowledge
|
|
58
|
+
// All messages sent in-between will be using previous connection information
|
|
59
|
+
connection.metadata.set(ConnectionMetadataTypes_1.ConnectionMetadataKeys.DidRotate, {
|
|
60
|
+
threadId: message.threadId,
|
|
61
|
+
did: didDocument.id,
|
|
62
|
+
mediatorId,
|
|
63
|
+
});
|
|
64
|
+
await agentContext.dependencyManager.resolve(ConnectionService_1.ConnectionService).update(agentContext, connection);
|
|
65
|
+
return message;
|
|
66
|
+
}
|
|
67
|
+
async createHangup(agentContext, options) {
|
|
68
|
+
const { connection } = options;
|
|
69
|
+
const message = new messages_1.HangupMessage({});
|
|
70
|
+
// Remove did to indicate termination status for this connection
|
|
71
|
+
if (connection.did) {
|
|
72
|
+
connection.previousDids = [...connection.previousDids, connection.did];
|
|
73
|
+
}
|
|
74
|
+
connection.did = undefined;
|
|
75
|
+
await agentContext.dependencyManager.resolve(ConnectionService_1.ConnectionService).update(agentContext, connection);
|
|
76
|
+
return message;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Process a Hangup message and mark connection's theirDid as undefined so it is effectively terminated.
|
|
80
|
+
* Connection Record itself is not deleted (TODO: config parameter to automatically do so)
|
|
81
|
+
*
|
|
82
|
+
* Its previous did will be stored in record in order to be able to recognize any message received
|
|
83
|
+
* afterwards.
|
|
84
|
+
*
|
|
85
|
+
* @param messageContext
|
|
86
|
+
*/
|
|
87
|
+
async processHangup(messageContext) {
|
|
88
|
+
const connection = messageContext.assertReadyConnection();
|
|
89
|
+
const { agentContext } = messageContext;
|
|
90
|
+
if (connection.theirDid) {
|
|
91
|
+
connection.previousTheirDids = [...connection.previousTheirDids, connection.theirDid];
|
|
92
|
+
}
|
|
93
|
+
connection.theirDid = undefined;
|
|
94
|
+
await agentContext.dependencyManager.resolve(ConnectionService_1.ConnectionService).update(agentContext, connection);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Process an incoming DID Rotate message and update connection if success. Any acknowledge
|
|
98
|
+
* or problem report will be sent to the prior DID, so the created context will take former
|
|
99
|
+
* connection record data
|
|
100
|
+
*
|
|
101
|
+
* @param param
|
|
102
|
+
* @param connection
|
|
103
|
+
* @returns
|
|
104
|
+
*/
|
|
105
|
+
async processRotate(messageContext) {
|
|
106
|
+
const connection = messageContext.assertReadyConnection();
|
|
107
|
+
const { message, agentContext } = messageContext;
|
|
108
|
+
// Check and store their new did
|
|
109
|
+
const newDid = message.toDid;
|
|
110
|
+
// DID Rotation not supported for peer:1 dids, as we need explicit did document information
|
|
111
|
+
if ((0, dids_1.isValidPeerDid)(newDid) && (0, dids_1.getNumAlgoFromPeerDid)(newDid) === dids_1.PeerDidNumAlgo.GenesisDoc) {
|
|
112
|
+
this.logger.error(`Unable to resolve DID Document for '${newDid}`);
|
|
113
|
+
const response = new messages_1.DidRotateProblemReportMessage({
|
|
114
|
+
description: { en: 'DID Method Unsupported', code: 'e.did.method_unsupported' },
|
|
115
|
+
});
|
|
116
|
+
return new models_1.OutboundMessageContext(response, { agentContext, connection });
|
|
117
|
+
}
|
|
118
|
+
const didDocument = (await this.didResolverService.resolve(agentContext, newDid)).didDocument;
|
|
119
|
+
// Cannot resolve did
|
|
120
|
+
if (!didDocument) {
|
|
121
|
+
this.logger.error(`Unable to resolve DID Document for '${newDid}`);
|
|
122
|
+
const response = new messages_1.DidRotateProblemReportMessage({
|
|
123
|
+
description: { en: 'DID Unresolvable', code: 'e.did.unresolvable' },
|
|
124
|
+
});
|
|
125
|
+
return new models_1.OutboundMessageContext(response, { agentContext, connection });
|
|
126
|
+
}
|
|
127
|
+
// Did is resolved but no compatible DIDComm services found
|
|
128
|
+
if (!didDocument.didCommServices) {
|
|
129
|
+
const response = new messages_1.DidRotateProblemReportMessage({
|
|
130
|
+
description: { en: 'DID Document Unsupported', code: 'e.did.doc_unsupported' },
|
|
131
|
+
});
|
|
132
|
+
return new models_1.OutboundMessageContext(response, { agentContext, connection });
|
|
133
|
+
}
|
|
134
|
+
// Send acknowledge to previous did and persist new did. Previous did will be stored in connection record in
|
|
135
|
+
// order to still accept messages from it
|
|
136
|
+
const outboundMessageContext = new models_1.OutboundMessageContext(new messages_1.DidRotateAckMessage({
|
|
137
|
+
threadId: message.threadId,
|
|
138
|
+
status: common_1.AckStatus.OK,
|
|
139
|
+
}), { agentContext, connection: connection.clone() });
|
|
140
|
+
// Store received did and update connection for further message processing
|
|
141
|
+
await agentContext.dependencyManager.resolve(dids_1.DidRepository).storeReceivedDid(agentContext, {
|
|
142
|
+
did: didDocument.id,
|
|
143
|
+
didDocument,
|
|
144
|
+
tags: {
|
|
145
|
+
recipientKeyFingerprints: didDocument.recipientKeys.map((key) => key.fingerprint),
|
|
146
|
+
// For did:peer, store any alternative dids (like short form did:peer:4),
|
|
147
|
+
// it may have in order to relate any message referencing it
|
|
148
|
+
alternativeDids: (0, dids_1.isValidPeerDid)(didDocument.id) ? (0, dids_1.getAlternativeDidsForPeerDid)(didDocument.id) : undefined,
|
|
149
|
+
},
|
|
150
|
+
});
|
|
151
|
+
if (connection.theirDid) {
|
|
152
|
+
connection.previousTheirDids = [...connection.previousTheirDids, connection.theirDid];
|
|
153
|
+
}
|
|
154
|
+
connection.theirDid = newDid;
|
|
155
|
+
await agentContext.dependencyManager.resolve(ConnectionService_1.ConnectionService).update(agentContext, connection);
|
|
156
|
+
return outboundMessageContext;
|
|
157
|
+
}
|
|
158
|
+
async processRotateAck(inboundMessage) {
|
|
159
|
+
const { agentContext, message } = inboundMessage;
|
|
160
|
+
const connection = inboundMessage.assertReadyConnection();
|
|
161
|
+
// Update connection info based on metadata set when creating the rotate message
|
|
162
|
+
const didRotateMetadata = connection.metadata.get(ConnectionMetadataTypes_1.ConnectionMetadataKeys.DidRotate);
|
|
163
|
+
if (!didRotateMetadata) {
|
|
164
|
+
throw new error_1.CredoError(`No did rotation data found for connection with id '${connection.id}'`);
|
|
165
|
+
}
|
|
166
|
+
if (didRotateMetadata.threadId !== message.threadId) {
|
|
167
|
+
throw new error_1.CredoError(`Existing did rotation flow thread id '${didRotateMetadata.threadId} does not match incoming message'`);
|
|
168
|
+
}
|
|
169
|
+
// Store previous did in order to still accept out-of-order messages that arrived later using it
|
|
170
|
+
if (connection.did)
|
|
171
|
+
connection.previousDids = [...connection.previousDids, connection.did];
|
|
172
|
+
connection.did = didRotateMetadata.did;
|
|
173
|
+
connection.mediatorId = didRotateMetadata.mediatorId;
|
|
174
|
+
connection.metadata.delete(ConnectionMetadataTypes_1.ConnectionMetadataKeys.DidRotate);
|
|
175
|
+
await agentContext.dependencyManager.resolve(ConnectionService_1.ConnectionService).update(agentContext, connection);
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Process a problem report related to did rotate protocol, by simply deleting any temporary metadata.
|
|
179
|
+
*
|
|
180
|
+
* No specific event is thrown other than generic message processing
|
|
181
|
+
*
|
|
182
|
+
* @param messageContext
|
|
183
|
+
*/
|
|
184
|
+
async processProblemReport(messageContext) {
|
|
185
|
+
const { message, agentContext } = messageContext;
|
|
186
|
+
const connection = messageContext.assertReadyConnection();
|
|
187
|
+
this.logger.debug(`Processing problem report with id ${message.id}`);
|
|
188
|
+
// Delete any existing did rotation metadata in order to 'reset' the connection
|
|
189
|
+
const didRotateMetadata = connection.metadata.get(ConnectionMetadataTypes_1.ConnectionMetadataKeys.DidRotate);
|
|
190
|
+
if (!didRotateMetadata) {
|
|
191
|
+
throw new error_1.CredoError(`No did rotation data found for connection with id '${connection.id}'`);
|
|
192
|
+
}
|
|
193
|
+
connection.metadata.delete(ConnectionMetadataTypes_1.ConnectionMetadataKeys.DidRotate);
|
|
194
|
+
await agentContext.dependencyManager.resolve(ConnectionService_1.ConnectionService).update(agentContext, connection);
|
|
195
|
+
}
|
|
196
|
+
async clearDidRotationData(agentContext, connection) {
|
|
197
|
+
const didRotateMetadata = connection.metadata.get(ConnectionMetadataTypes_1.ConnectionMetadataKeys.DidRotate);
|
|
198
|
+
if (!didRotateMetadata) {
|
|
199
|
+
throw new error_1.CredoError(`No did rotation data found for connection with id '${connection.id}'`);
|
|
200
|
+
}
|
|
201
|
+
connection.metadata.delete(ConnectionMetadataTypes_1.ConnectionMetadataKeys.DidRotate);
|
|
202
|
+
await agentContext.dependencyManager.resolve(ConnectionService_1.ConnectionService).update(agentContext, connection);
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
DidRotateService = __decorate([
|
|
206
|
+
(0, plugins_1.injectable)(),
|
|
207
|
+
__param(1, (0, plugins_1.inject)(constants_1.InjectionSymbols.Logger)),
|
|
208
|
+
__metadata("design:paramtypes", [dids_1.DidResolverService, Object])
|
|
209
|
+
], DidRotateService);
|
|
210
|
+
exports.DidRotateService = DidRotateService;
|
|
211
|
+
//# sourceMappingURL=DidRotateService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DidRotateService.js","sourceRoot":"","sources":["../../../../src/modules/connections/services/DidRotateService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAKA,kDAA8D;AAC9D,kDAAqD;AACrD,0CAA2C;AAE3C,8CAAqD;AACrD,yCAAwC;AACxC,qCAOmB;AACnB,4DAAiF;AACjF,wEAAoE;AACpE,0CAAiH;AACjH,mFAA8E;AAE9E,2DAAuD;A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AAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAApD,yBAAkB;GAJ9C,gBAAgB,CAqP5B;AArPY,4CAAgB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { InboundMessageContext } from '../../../agent/models/InboundMessageContext';
|
|
2
|
+
import type { TrustPingMessage } from '../messages';
|
|
3
|
+
import type { ConnectionRecord } from '../repository/ConnectionRecord';
|
|
4
|
+
import { EventEmitter } from '../../../agent/EventEmitter';
|
|
5
|
+
import { OutboundMessageContext } from '../../../agent/models';
|
|
6
|
+
import { TrustPingResponseMessage } from '../messages';
|
|
7
|
+
export declare class TrustPingService {
|
|
8
|
+
private eventEmitter;
|
|
9
|
+
constructor(eventEmitter: EventEmitter);
|
|
10
|
+
processPing({ message, agentContext }: InboundMessageContext<TrustPingMessage>, connection: ConnectionRecord): OutboundMessageContext<TrustPingResponseMessage> | undefined;
|
|
11
|
+
processPingResponse(inboundMessage: InboundMessageContext<TrustPingResponseMessage>): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TrustPingService = void 0;
|
|
13
|
+
const EventEmitter_1 = require("../../../agent/EventEmitter");
|
|
14
|
+
const models_1 = require("../../../agent/models");
|
|
15
|
+
const plugins_1 = require("../../../plugins");
|
|
16
|
+
const TrustPingEvents_1 = require("../TrustPingEvents");
|
|
17
|
+
const messages_1 = require("../messages");
|
|
18
|
+
let TrustPingService = class TrustPingService {
|
|
19
|
+
constructor(eventEmitter) {
|
|
20
|
+
this.eventEmitter = eventEmitter;
|
|
21
|
+
}
|
|
22
|
+
processPing({ message, agentContext }, connection) {
|
|
23
|
+
this.eventEmitter.emit(agentContext, {
|
|
24
|
+
type: TrustPingEvents_1.TrustPingEventTypes.TrustPingReceivedEvent,
|
|
25
|
+
payload: {
|
|
26
|
+
connectionRecord: connection,
|
|
27
|
+
message: message,
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
if (message.responseRequested) {
|
|
31
|
+
const response = new messages_1.TrustPingResponseMessage({
|
|
32
|
+
threadId: message.threadId,
|
|
33
|
+
});
|
|
34
|
+
return new models_1.OutboundMessageContext(response, { agentContext, connection });
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
processPingResponse(inboundMessage) {
|
|
38
|
+
const { agentContext, message } = inboundMessage;
|
|
39
|
+
const connection = inboundMessage.assertReadyConnection();
|
|
40
|
+
this.eventEmitter.emit(agentContext, {
|
|
41
|
+
type: TrustPingEvents_1.TrustPingEventTypes.TrustPingResponseReceivedEvent,
|
|
42
|
+
payload: {
|
|
43
|
+
connectionRecord: connection,
|
|
44
|
+
message: message,
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
TrustPingService = __decorate([
|
|
50
|
+
(0, plugins_1.injectable)(),
|
|
51
|
+
__metadata("design:paramtypes", [EventEmitter_1.EventEmitter])
|
|
52
|
+
], TrustPingService);
|
|
53
|
+
exports.TrustPingService = TrustPingService;
|
|
54
|
+
//# sourceMappingURL=TrustPingService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrustPingService.js","sourceRoot":"","sources":["../../../../src/modules/connections/services/TrustPingService.ts"],"names":[],"mappings":";;;;;;;;;;;;AAKA,8DAA0D;AAC1D,kDAA8D;AAC9D,8CAA6C;AAC7C,wDAAwD;AACxD,0CAAsD;AAG/C,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAG3B,YAAmB,YAA0B;QAC3C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;IAClC,CAAC;IAEM,WAAW,CAAC,EAAE,OAAO,EAAE,YAAY,EAA2C,EAAE,UAA4B;QACjH,IAAI,CAAC,YAAY,CAAC,IAAI,CAAyB,YAAY,EAAE;YAC3D,IAAI,EAAE,qCAAmB,CAAC,sBAAsB;YAChD,OAAO,EAAE;gBACP,gBAAgB,EAAE,UAAU;gBAC5B,OAAO,EAAE,OAAO;aACjB;SACF,CAAC,CAAA;QAEF,IAAI,OAAO,CAAC,iBAAiB,EAAE;YAC7B,MAAM,QAAQ,GAAG,IAAI,mCAAwB,CAAC;gBAC5C,QAAQ,EAAE,OAAO,CAAC,QAAQ;aAC3B,CAAC,CAAA;YAEF,OAAO,IAAI,+BAAsB,CAAC,QAAQ,EAAE,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC,CAAA;SAC1E;IACH,CAAC;IAEM,mBAAmB,CAAC,cAA+D;QACxF,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE,GAAG,cAAc,CAAA;QAEhD,MAAM,UAAU,GAAG,cAAc,CAAC,qBAAqB,EAAE,CAAA;QAEzD,IAAI,CAAC,YAAY,CAAC,IAAI,CAAiC,YAAY,EAAE;YACnE,IAAI,EAAE,qCAAmB,CAAC,8BAA8B;YACxD,OAAO,EAAE;gBACP,gBAAgB,EAAE,UAAU;gBAC5B,OAAO,EAAE,OAAO;aACjB;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAtCY,gBAAgB;IAD5B,IAAA,oBAAU,GAAE;qCAIsB,2BAAY;GAHlC,gBAAgB,CAsC5B;AAtCY,4CAAgB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Routing } from './ConnectionService';
|
|
2
|
+
import type { AgentContext } from '../../../agent';
|
|
3
|
+
import type { ResolvedDidCommService } from '../../didcomm';
|
|
4
|
+
import type { DidDocument, PeerDidNumAlgo } from '../../dids';
|
|
5
|
+
import type { DidDoc } from '../models';
|
|
6
|
+
export declare function convertToNewDidDocument(didDoc: DidDoc): DidDocument;
|
|
7
|
+
export declare function routingToServices(routing: Routing): ResolvedDidCommService[];
|
|
8
|
+
export declare function getDidDocumentForCreatedDid(agentContext: AgentContext, did: string): Promise<DidDocument>;
|
|
9
|
+
export declare function createPeerDidFromServices(agentContext: AgentContext, services: ResolvedDidCommService[], numAlgo: PeerDidNumAlgo): Promise<DidDocument>;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createPeerDidFromServices = exports.getDidDocumentForCreatedDid = exports.routingToServices = exports.convertToNewDidDocument = void 0;
|
|
4
|
+
const crypto_1 = require("../../../crypto");
|
|
5
|
+
const error_1 = require("../../../error");
|
|
6
|
+
const dids_1 = require("../../dids");
|
|
7
|
+
const peerDidNumAlgo1_1 = require("../../dids/methods/peer/peerDidNumAlgo1");
|
|
8
|
+
const models_1 = require("../models");
|
|
9
|
+
function convertToNewDidDocument(didDoc) {
|
|
10
|
+
const didDocumentBuilder = new dids_1.DidDocumentBuilder('');
|
|
11
|
+
const oldIdNewIdMapping = {};
|
|
12
|
+
didDoc.authentication.forEach((auth) => {
|
|
13
|
+
const { publicKey: pk } = auth;
|
|
14
|
+
// did:peer did documents can only use referenced keys.
|
|
15
|
+
if (pk.type === 'Ed25519VerificationKey2018' && pk.value) {
|
|
16
|
+
const ed25519VerificationMethod = convertPublicKeyToVerificationMethod(pk);
|
|
17
|
+
const oldKeyId = normalizeId(pk.id);
|
|
18
|
+
oldIdNewIdMapping[oldKeyId] = ed25519VerificationMethod.id;
|
|
19
|
+
didDocumentBuilder.addAuthentication(ed25519VerificationMethod.id);
|
|
20
|
+
// Only the auth is embedded, we also need to add the key to the verificationMethod
|
|
21
|
+
// for referenced authentication this should already be the case
|
|
22
|
+
if (auth instanceof models_1.EmbeddedAuthentication) {
|
|
23
|
+
didDocumentBuilder.addVerificationMethod(ed25519VerificationMethod);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
didDoc.publicKey.forEach((pk) => {
|
|
28
|
+
if (pk.type === 'Ed25519VerificationKey2018' && pk.value) {
|
|
29
|
+
const ed25519VerificationMethod = convertPublicKeyToVerificationMethod(pk);
|
|
30
|
+
const oldKeyId = normalizeId(pk.id);
|
|
31
|
+
oldIdNewIdMapping[oldKeyId] = ed25519VerificationMethod.id;
|
|
32
|
+
didDocumentBuilder.addVerificationMethod(ed25519VerificationMethod);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
// FIXME: we reverse the didCommServices here, as the previous implementation was wrong
|
|
36
|
+
// and we need to keep the same order to not break the did creation process.
|
|
37
|
+
// When we implement the migration to did:peer:2 and did:peer:3 according to the
|
|
38
|
+
// RFCs we can change it.
|
|
39
|
+
didDoc.didCommServices.reverse().forEach((service) => {
|
|
40
|
+
const serviceId = normalizeId(service.id);
|
|
41
|
+
// For didcommv1, we need to replace the old id with the new ones
|
|
42
|
+
if (service instanceof dids_1.DidCommV1Service) {
|
|
43
|
+
const recipientKeys = service.recipientKeys.map((keyId) => {
|
|
44
|
+
const oldKeyId = normalizeId(keyId);
|
|
45
|
+
return oldIdNewIdMapping[oldKeyId];
|
|
46
|
+
});
|
|
47
|
+
service = new dids_1.DidCommV1Service({
|
|
48
|
+
id: serviceId,
|
|
49
|
+
recipientKeys,
|
|
50
|
+
serviceEndpoint: service.serviceEndpoint,
|
|
51
|
+
routingKeys: service.routingKeys,
|
|
52
|
+
accept: service.accept,
|
|
53
|
+
priority: service.priority,
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
else if (service instanceof dids_1.IndyAgentService) {
|
|
57
|
+
service = new dids_1.IndyAgentService({
|
|
58
|
+
id: serviceId,
|
|
59
|
+
recipientKeys: service.recipientKeys,
|
|
60
|
+
serviceEndpoint: service.serviceEndpoint,
|
|
61
|
+
routingKeys: service.routingKeys,
|
|
62
|
+
priority: service.priority,
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
didDocumentBuilder.addService(service);
|
|
66
|
+
});
|
|
67
|
+
const didDocument = didDocumentBuilder.build();
|
|
68
|
+
const peerDid = (0, peerDidNumAlgo1_1.didDocumentJsonToNumAlgo1Did)(didDocument.toJSON());
|
|
69
|
+
didDocument.id = peerDid;
|
|
70
|
+
return didDocument;
|
|
71
|
+
}
|
|
72
|
+
exports.convertToNewDidDocument = convertToNewDidDocument;
|
|
73
|
+
function normalizeId(fullId) {
|
|
74
|
+
// Some old dids use `;` as the delimiter for the id. If we can't find a `#`
|
|
75
|
+
// and a `;` exists, we will parse everything after `;` as the id.
|
|
76
|
+
if (!fullId.includes('#') && fullId.includes(';')) {
|
|
77
|
+
const [, ...ids] = fullId.split(';');
|
|
78
|
+
return `#${ids.join(';')}`;
|
|
79
|
+
}
|
|
80
|
+
const [, ...ids] = fullId.split('#');
|
|
81
|
+
return `#${ids.length ? ids.join('#') : fullId}`;
|
|
82
|
+
}
|
|
83
|
+
function convertPublicKeyToVerificationMethod(publicKey) {
|
|
84
|
+
if (!publicKey.value) {
|
|
85
|
+
throw new error_1.CredoError(`Public key ${publicKey.id} does not have value property`);
|
|
86
|
+
}
|
|
87
|
+
const publicKeyBase58 = publicKey.value;
|
|
88
|
+
const ed25519Key = crypto_1.Key.fromPublicKeyBase58(publicKeyBase58, crypto_1.KeyType.Ed25519);
|
|
89
|
+
return (0, dids_1.getEd25519VerificationKey2018)({
|
|
90
|
+
id: `#${publicKeyBase58.slice(0, 8)}`,
|
|
91
|
+
key: ed25519Key,
|
|
92
|
+
controller: '#id',
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
function routingToServices(routing) {
|
|
96
|
+
return routing.endpoints.map((endpoint, index) => ({
|
|
97
|
+
id: `#inline-${index}`,
|
|
98
|
+
serviceEndpoint: endpoint,
|
|
99
|
+
recipientKeys: [routing.recipientKey],
|
|
100
|
+
routingKeys: routing.routingKeys,
|
|
101
|
+
}));
|
|
102
|
+
}
|
|
103
|
+
exports.routingToServices = routingToServices;
|
|
104
|
+
async function getDidDocumentForCreatedDid(agentContext, did) {
|
|
105
|
+
const didRecord = await agentContext.dependencyManager.resolve(dids_1.DidRepository).findCreatedDid(agentContext, did);
|
|
106
|
+
if (!(didRecord === null || didRecord === void 0 ? void 0 : didRecord.didDocument)) {
|
|
107
|
+
throw new error_1.CredoError(`Could not get DidDocument for created did ${did}`);
|
|
108
|
+
}
|
|
109
|
+
return didRecord.didDocument;
|
|
110
|
+
}
|
|
111
|
+
exports.getDidDocumentForCreatedDid = getDidDocumentForCreatedDid;
|
|
112
|
+
async function createPeerDidFromServices(agentContext, services, numAlgo) {
|
|
113
|
+
var _a;
|
|
114
|
+
const didsApi = agentContext.dependencyManager.resolve(dids_1.DidsApi);
|
|
115
|
+
// Create did document without the id property
|
|
116
|
+
const didDocument = (0, dids_1.createPeerDidDocumentFromServices)(services);
|
|
117
|
+
// Register did:peer document. This will generate the id property and save it to a did record
|
|
118
|
+
const result = await didsApi.create({
|
|
119
|
+
method: 'peer',
|
|
120
|
+
didDocument,
|
|
121
|
+
options: {
|
|
122
|
+
numAlgo,
|
|
123
|
+
},
|
|
124
|
+
});
|
|
125
|
+
if (((_a = result.didState) === null || _a === void 0 ? void 0 : _a.state) !== 'finished') {
|
|
126
|
+
throw new error_1.CredoError(`Did document creation failed: ${JSON.stringify(result.didState)}`);
|
|
127
|
+
}
|
|
128
|
+
return result.didState.didDocument;
|
|
129
|
+
}
|
|
130
|
+
exports.createPeerDidFromServices = createPeerDidFromServices;
|
|
131
|
+
//# sourceMappingURL=helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../src/modules/connections/services/helpers.ts"],"names":[],"mappings":";;;AAMA,4CAA8C;AAC9C,0CAA2C;AAC3C,qCAQmB;AACnB,6EAAsF;AACtF,sCAAkD;AAElD,SAAgB,uBAAuB,CAAC,MAAc;IACpD,MAAM,kBAAkB,GAAG,IAAI,yBAAkB,CAAC,EAAE,CAAC,CAAA;IAErD,MAAM,iBAAiB,GAA8B,EAAE,CAAA;IAEvD,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QACrC,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,IAAI,CAAA;QAE9B,uDAAuD;QACvD,IAAI,EAAE,CAAC,IAAI,KAAK,4BAA4B,IAAI,EAAE,CAAC,KAAK,EAAE;YACxD,MAAM,yBAAyB,GAAG,oCAAoC,CAAC,EAAE,CAAC,CAAA;YAE1E,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC,CAAA;YACnC,iBAAiB,CAAC,QAAQ,CAAC,GAAG,yBAAyB,CAAC,EAAE,CAAA;YAC1D,kBAAkB,CAAC,iBAAiB,CAAC,yBAAyB,CAAC,EAAE,CAAC,CAAA;YAElE,mFAAmF;YACnF,gEAAgE;YAChE,IAAI,IAAI,YAAY,+BAAsB,EAAE;gBAC1C,kBAAkB,CAAC,qBAAqB,CAAC,yBAAyB,CAAC,CAAA;aACpE;SACF;IACH,CAAC,CAAC,CAAA;IAEF,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE;QAC9B,IAAI,EAAE,CAAC,IAAI,KAAK,4BAA4B,IAAI,EAAE,CAAC,KAAK,EAAE;YACxD,MAAM,yBAAyB,GAAG,oCAAoC,CAAC,EAAE,CAAC,CAAA;YAE1E,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,C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,UAAU,EAAE;QACzC,MAAM,IAAI,kBAAU,CAAC,iCAAiC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;KACzF;IAED,OAAO,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAA;AACpC,CAAC;AAxBD,8DAwBC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ConnectionService"), exports);
|
|
18
|
+
__exportStar(require("./DidRotateService"), exports);
|
|
19
|
+
__exportStar(require("./TrustPingService"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/connections/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,qDAAkC;AAClC,qDAAkC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { CredentialState } from './models/CredentialState';
|
|
2
|
+
import type { CredentialExchangeRecord } from './repository/CredentialExchangeRecord';
|
|
3
|
+
import type { BaseEvent } from '../../agent/Events';
|
|
4
|
+
export declare enum CredentialEventTypes {
|
|
5
|
+
CredentialStateChanged = "CredentialStateChanged",
|
|
6
|
+
RevocationNotificationReceived = "RevocationNotificationReceived"
|
|
7
|
+
}
|
|
8
|
+
export interface CredentialStateChangedEvent extends BaseEvent {
|
|
9
|
+
type: typeof CredentialEventTypes.CredentialStateChanged;
|
|
10
|
+
payload: {
|
|
11
|
+
credentialRecord: CredentialExchangeRecord;
|
|
12
|
+
previousState: CredentialState | null;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export interface RevocationNotificationReceivedEvent extends BaseEvent {
|
|
16
|
+
type: typeof CredentialEventTypes.RevocationNotificationReceived;
|
|
17
|
+
payload: {
|
|
18
|
+
credentialRecord: CredentialExchangeRecord;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CredentialEventTypes = void 0;
|
|
4
|
+
var CredentialEventTypes;
|
|
5
|
+
(function (CredentialEventTypes) {
|
|
6
|
+
CredentialEventTypes["CredentialStateChanged"] = "CredentialStateChanged";
|
|
7
|
+
CredentialEventTypes["RevocationNotificationReceived"] = "RevocationNotificationReceived";
|
|
8
|
+
})(CredentialEventTypes = exports.CredentialEventTypes || (exports.CredentialEventTypes = {}));
|
|
9
|
+
//# sourceMappingURL=CredentialEvents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CredentialEvents.js","sourceRoot":"","sources":["../../../src/modules/credentials/CredentialEvents.ts"],"names":[],"mappings":";;;AAIA,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,yEAAiD,CAAA;IACjD,yFAAiE,CAAA;AACnE,CAAC,EAHW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAG/B"}
|