@credo-ts/core 0.5.0-alpha.101
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 +189 -0
- package/build/agent/Agent.js.map +1 -0
- package/build/agent/AgentConfig.d.ts +54 -0
- package/build/agent/AgentConfig.js +70 -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 +85 -0
- package/build/agent/AgentMessage.js +55 -0
- package/build/agent/AgentMessage.js.map +1 -0
- package/build/agent/AgentModules.d.ts +154 -0
- package/build/agent/AgentModules.js +110 -0
- package/build/agent/AgentModules.js.map +1 -0
- package/build/agent/BaseAgent.d.ts +63 -0
- package/build/agent/BaseAgent.js +139 -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 +107 -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 +19 -0
- package/build/agent/MessageHandlerRegistry.js +61 -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 +58 -0
- package/build/agent/MessageSender.js +476 -0
- package/build/agent/MessageSender.js.map +1 -0
- package/build/agent/TransportService.d.ts +28 -0
- package/build/agent/TransportService.js +57 -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 +44 -0
- package/build/crypto/JwsService.js +182 -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 +10 -0
- package/build/crypto/KeyType.js +15 -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 +6 -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 +36 -0
- package/build/crypto/jose/jwa/alg.js +41 -0
- package/build/crypto/jose/jwa/alg.js.map +1 -0
- package/build/crypto/jose/jwa/crv.d.ts +7 -0
- package/build/crypto/jose/jwa/crv.js +12 -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/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 +86 -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 +13 -0
- package/build/crypto/jose/jwk/transform.js +54 -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 +20 -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 +62 -0
- package/build/crypto/keyUtils.js.map +1 -0
- package/build/crypto/multiCodecKey.d.ts +3 -0
- package/build/crypto/multiCodecKey.js +33 -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/AriesFrameworkError.d.ts +11 -0
- package/build/error/AriesFrameworkError.js +16 -0
- package/build/error/AriesFrameworkError.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/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 +69 -0
- package/build/index.js +121 -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 +31 -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 +45 -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 +4 -0
- package/build/modules/connections/models/HandshakeProtocol.js +9 -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 +71 -0
- package/build/modules/connections/repository/ConnectionRecord.js +72 -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 +47 -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 +113 -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/index.d.ts +4 -0
- package/build/modules/credentials/formats/index.js +21 -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/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 +6 -0
- package/build/modules/credentials/models/index.js +23 -0
- package/build/modules/credentials/models/index.js.map +1 -0
- package/build/modules/credentials/protocol/BaseCredentialProtocol.d.ts +101 -0
- package/build/modules/credentials/protocol/BaseCredentialProtocol.js +149 -0
- package/build/modules/credentials/protocol/BaseCredentialProtocol.js.map +1 -0
- package/build/modules/credentials/protocol/CredentialProtocol.d.ts +45 -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 +136 -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 +88 -0
- package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.js +336 -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 +881 -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 +18 -0
- package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.js +63 -0
- package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.d.ts +23 -0
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.js +78 -0
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.d.ts +26 -0
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.js +74 -0
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.js.map +1 -0
- package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.d.ts +22 -0
- package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.js +63 -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 +61 -0
- package/build/modules/credentials/repository/CredentialExchangeRecord.js +79 -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 +69 -0
- package/build/modules/dids/DidsApi.js +154 -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 +28 -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 +31 -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 +69 -0
- package/build/modules/dids/domain/key-type/keyDidMapping.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 +25 -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 +114 -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/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/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 +8 -0
- package/build/modules/dids/domain/verificationMethod/index.js +29 -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 +59 -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 +180 -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 +49 -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 +13 -0
- package/build/modules/dids/services/DidRegistrarService.js +102 -0
- package/build/modules/dids/services/DidRegistrarService.js.map +1 -0
- package/build/modules/dids/services/DidResolverService.d.ts +17 -0
- package/build/modules/dids/services/DidResolverService.js +103 -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 +49 -0
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js +352 -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 +104 -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 +8 -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 +10 -0
- package/build/modules/dif-presentation-exchange/utils/credentialSelection.js +207 -0
- package/build/modules/dif-presentation-exchange/utils/credentialSelection.js.map +1 -0
- package/build/modules/dif-presentation-exchange/utils/index.d.ts +2 -0
- package/build/modules/dif-presentation-exchange/utils/index.js +19 -0
- package/build/modules/dif-presentation-exchange/utils/index.js.map +1 -0
- package/build/modules/dif-presentation-exchange/utils/transform.d.ts +7 -0
- package/build/modules/dif-presentation-exchange/utils/transform.js +61 -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 +36 -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 +24 -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 +21 -0
- package/build/modules/message-pickup/MessagePickupApi.js +79 -0
- package/build/modules/message-pickup/MessagePickupApi.js.map +1 -0
- package/build/modules/message-pickup/MessagePickupApiOptions.d.ts +18 -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/MessagePickupModule.d.ts +23 -0
- package/build/modules/message-pickup/MessagePickupModule.js +34 -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/index.d.ts +5 -0
- package/build/modules/message-pickup/index.js +22 -0
- package/build/modules/message-pickup/index.js.map +1 -0
- package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.d.ts +15 -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 +10 -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 +10 -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 +22 -0
- package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.js +69 -0
- package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.js.map +1 -0
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.d.ts +6 -0
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.js +28 -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 +25 -0
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.js +65 -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 +21 -0
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.js +48 -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 +25 -0
- package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js +186 -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/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 +5 -0
- package/build/modules/message-pickup/protocol/v2/handlers/index.js +22 -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 +13 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.js +46 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.js.map +1 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.d.ts +14 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.js +45 -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 +11 -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 +24 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.js +88 -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 +11 -0
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.js +39 -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 +5 -0
- package/build/modules/message-pickup/protocol/v2/messages/index.js +22 -0
- package/build/modules/message-pickup/protocol/v2/messages/index.js.map +1 -0
- package/build/modules/oob/OutOfBandApi.d.ts +262 -0
- package/build/modules/oob/OutOfBandApi.js +682 -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 +30 -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 +70 -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 +56 -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 +33 -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 +51 -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 +31 -0
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.js +235 -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/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 +3 -0
- package/build/modules/proofs/models/index.js +20 -0
- package/build/modules/proofs/models/index.js.map +1 -0
- package/build/modules/proofs/protocol/BaseProofProtocol.d.ts +88 -0
- package/build/modules/proofs/protocol/BaseProofProtocol.js +131 -0
- package/build/modules/proofs/protocol/BaseProofProtocol.js.map +1 -0
- package/build/modules/proofs/protocol/ProofProtocol.d.ts +43 -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 +121 -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 +89 -0
- package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.js +296 -0
- package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.js.map +1 -0
- package/build/modules/proofs/protocol/v2/V2ProofProtocol.d.ts +115 -0
- package/build/modules/proofs/protocol/v2/V2ProofProtocol.js +759 -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 +42 -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 +22 -0
- package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.js +79 -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 +20 -0
- package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.js +71 -0
- package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.js.map +1 -0
- package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.d.ts +24 -0
- package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.js +86 -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 +46 -0
- package/build/modules/proofs/repository/ProofExchangeRecord.js +53 -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 +77 -0
- package/build/modules/routing/MediationRecipientApi.js +414 -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 +36 -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 +23 -0
- package/build/modules/routing/MediatorApi.js +77 -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 +36 -0
- package/build/modules/routing/MediatorModule.js.map +1 -0
- package/build/modules/routing/MediatorModuleConfig.d.ts +18 -0
- package/build/modules/routing/MediatorModuleConfig.js +15 -0
- package/build/modules/routing/MediatorModuleConfig.js.map +1 -0
- package/build/modules/routing/MediatorPickupStrategy.d.ts +6 -0
- package/build/modules/routing/MediatorPickupStrategy.js +16 -0
- package/build/modules/routing/MediatorPickupStrategy.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 +13 -0
- package/build/modules/routing/handlers/ForwardHandler.js +24 -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 +41 -0
- package/build/modules/routing/services/MediatorService.js +211 -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/vc/W3cCredentialService.d.ts +59 -0
- package/build/modules/vc/W3cCredentialService.js +159 -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 +19 -0
- package/build/modules/vc/W3cCredentialsApi.js +45 -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 +44 -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 +15 -0
- package/build/modules/vc/constants.js +19 -0
- package/build/modules/vc/constants.js.map +1 -0
- package/build/modules/vc/data-integrity/SignatureSuiteRegistry.d.ts +19 -0
- package/build/modules/vc/data-integrity/SignatureSuiteRegistry.js +55 -0
- package/build/modules/vc/data-integrity/SignatureSuiteRegistry.js.map +1 -0
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.d.ts +49 -0
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.js +318 -0
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/X25519_v1.d.ts +26 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/X25519_v1.js +30 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/X25519_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/bbs_v1.d.ts +128 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/bbs_v1.js +132 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/bbs_v1.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/credentials_v1.d.ts +315 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/credentials_v1.js +254 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/credentials_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/did_v1.d.ts +56 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/did_v1.js +60 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/did_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/ed25519_v1.d.ts +91 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/ed25519_v1.js +95 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/ed25519_v1.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 +13 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/index.js +30 -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/odrl.d.ts +301 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/odrl.js +185 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/odrl.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/purl_ob_v3po.d.ts +438 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/purl_ob_v3po.js +442 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/purl_ob_v3po.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/schema_org.d.ts +8242 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/schema_org.js +2842 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/schema_org.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/security_v1.d.ts +74 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/security_v1.js +51 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/security_v1.js.map +1 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/security_v2.d.ts +175 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/security_v2.js +94 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/security_v2.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/submission.d.ts +15 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/submission.js +19 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/submission.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/__tests__/contexts/vc_revocation_list_2020.d.ts +37 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/vc_revocation_list_2020.js +41 -0
- package/build/modules/vc/data-integrity/__tests__/contexts/vc_revocation_list_2020.js.map +1 -0
- package/build/modules/vc/data-integrity/deriveProof.d.ts +17 -0
- package/build/modules/vc/data-integrity/deriveProof.js +110 -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/documentLoader.d.ts +4 -0
- package/build/modules/vc/data-integrity/libraries/documentLoader.js +42 -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/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/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 +97 -0
- package/build/modules/vc/data-integrity/models/LinkedDataProof.js.map +1 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.d.ts +24 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.js +54 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.js.map +1 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.d.ts +24 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.js +52 -0
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.js.map +1 -0
- package/build/modules/vc/data-integrity/models/index.d.ts +3 -0
- package/build/modules/vc/data-integrity/models/index.js +20 -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 +10 -0
- package/build/modules/vc/index.js +29 -0
- package/build/modules/vc/index.js.map +1 -0
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.d.ts +65 -0
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.js +444 -0
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.js.map +1 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.d.ts +44 -0
- package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.js +93 -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 +12 -0
- package/build/modules/vc/models/ClaimFormat.js +17 -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 +136 -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 +12 -0
- package/build/modules/vc/models/credential/W3cCredentialSubject.js +47 -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 +40 -0
- package/build/modules/vc/repository/W3cCredentialRecord.js +61 -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 +62 -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 +3 -0
- package/build/plugins/index.js +24 -0
- package/build/plugins/index.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/InMemoryMessageRepository.d.ts +11 -0
- package/build/storage/InMemoryMessageRepository.js +49 -0
- package/build/storage/InMemoryMessageRepository.js.map +1 -0
- package/build/storage/MessageRepository.d.ts +6 -0
- package/build/storage/MessageRepository.js +3 -0
- package/build/storage/MessageRepository.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 +23 -0
- package/build/storage/didcomm/DidCommMessageRepository.js +76 -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 +80 -0
- package/build/storage/migration/StorageUpdateService.js.map +1 -0
- package/build/storage/migration/UpdateAssistant.d.ts +34 -0
- package/build/storage/migration/UpdateAssistant.js +191 -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 +5 -0
- package/build/storage/migration/index.js +21 -0
- package/build/storage/migration/index.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.d.ts +36 -0
- package/build/storage/migration/updates.js +38 -0
- package/build/storage/migration/updates.js.map +1 -0
- package/build/transport/HttpOutboundTransport.d.ts +12 -0
- package/build/transport/HttpOutboundTransport.js +94 -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 +19 -0
- package/build/transport/TransportEventTypes.js +9 -0
- package/build/transport/TransportEventTypes.js.map +1 -0
- package/build/transport/WsOutboundTransport.d.ts +18 -0
- package/build/transport/WsOutboundTransport.js +125 -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 +114 -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 +18 -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 +34 -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 +18 -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 +1 -0
- package/build/utils/deepEquality.js +57 -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 +16 -0
- package/build/utils/index.js +33 -0
- package/build/utils/index.js.map +1 -0
- package/build/utils/messageType.d.ts +102 -0
- package/build/utils/messageType.js +118 -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 +7 -0
- package/build/utils/path.js +14 -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/string.d.ts +1 -0
- package/build/utils/string.js +9 -0
- package/build/utils/string.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 +84 -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/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 +7 -0
- package/build/wallet/error/index.js +18 -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 +70 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { DidDocument } from './domain';
|
|
2
|
+
import type { DIDDocumentMetadata, DIDResolutionMetadata, DIDResolutionOptions, ParsedDID } from 'did-resolver';
|
|
3
|
+
export type ParsedDid = ParsedDID;
|
|
4
|
+
export type DidDocumentMetadata = DIDDocumentMetadata;
|
|
5
|
+
export interface DidResolutionOptions extends DIDResolutionOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Whether to resolve the did document from the cache.
|
|
8
|
+
*
|
|
9
|
+
* @default true
|
|
10
|
+
*/
|
|
11
|
+
useCache?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Whether to persist the did document in the cache.
|
|
14
|
+
*
|
|
15
|
+
* @default true
|
|
16
|
+
*/
|
|
17
|
+
persistInCache?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* How many seconds to persist the resolved document
|
|
20
|
+
*
|
|
21
|
+
* @default 3600
|
|
22
|
+
*/
|
|
23
|
+
cacheDurationInSeconds?: number;
|
|
24
|
+
}
|
|
25
|
+
export interface DidResolutionMetadata extends DIDResolutionMetadata {
|
|
26
|
+
message?: string;
|
|
27
|
+
servedFromCache?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface DidResolutionResult {
|
|
30
|
+
didResolutionMetadata: DidResolutionMetadata;
|
|
31
|
+
didDocument: DidDocument | null;
|
|
32
|
+
didDocumentMetadata: DidDocumentMetadata;
|
|
33
|
+
}
|
|
34
|
+
export type DidRegistrationExtraOptions = Record<string, unknown>;
|
|
35
|
+
export type DidRegistrationSecretOptions = Record<string, unknown>;
|
|
36
|
+
export type DidRegistrationMetadata = Record<string, unknown>;
|
|
37
|
+
export type DidDocumentOperation = 'setDidDocument' | 'addToDidDocument' | 'removeFromDidDocument';
|
|
38
|
+
export interface DidOperationStateFinished {
|
|
39
|
+
state: 'finished';
|
|
40
|
+
did: string;
|
|
41
|
+
secret?: DidRegistrationSecretOptions;
|
|
42
|
+
didDocument: DidDocument;
|
|
43
|
+
}
|
|
44
|
+
export interface DidOperationStateFailed {
|
|
45
|
+
state: 'failed';
|
|
46
|
+
did?: string;
|
|
47
|
+
secret?: DidRegistrationSecretOptions;
|
|
48
|
+
didDocument?: DidDocument;
|
|
49
|
+
reason: string;
|
|
50
|
+
}
|
|
51
|
+
export interface DidOperationStateWait {
|
|
52
|
+
state: 'wait';
|
|
53
|
+
did?: string;
|
|
54
|
+
secret?: DidRegistrationSecretOptions;
|
|
55
|
+
didDocument?: DidDocument;
|
|
56
|
+
}
|
|
57
|
+
export interface DidOperationStateActionBase {
|
|
58
|
+
state: 'action';
|
|
59
|
+
action: string;
|
|
60
|
+
did?: string;
|
|
61
|
+
secret?: DidRegistrationSecretOptions;
|
|
62
|
+
didDocument?: DidDocument;
|
|
63
|
+
}
|
|
64
|
+
export interface DidCreateOptions {
|
|
65
|
+
method?: string;
|
|
66
|
+
did?: string;
|
|
67
|
+
options?: DidRegistrationExtraOptions;
|
|
68
|
+
secret?: DidRegistrationSecretOptions;
|
|
69
|
+
didDocument?: DidDocument;
|
|
70
|
+
}
|
|
71
|
+
export interface DidCreateResult<DidOperationStateAction extends DidOperationStateActionBase = DidOperationStateActionBase> {
|
|
72
|
+
jobId?: string;
|
|
73
|
+
didState: DidOperationStateWait | DidOperationStateAction | DidOperationStateFinished | DidOperationStateFailed;
|
|
74
|
+
didRegistrationMetadata: DidRegistrationMetadata;
|
|
75
|
+
didDocumentMetadata: DidResolutionMetadata;
|
|
76
|
+
}
|
|
77
|
+
export interface DidUpdateOptions {
|
|
78
|
+
did: string;
|
|
79
|
+
options?: DidRegistrationExtraOptions;
|
|
80
|
+
secret?: DidRegistrationSecretOptions;
|
|
81
|
+
didDocumentOperation?: DidDocumentOperation;
|
|
82
|
+
didDocument: DidDocument | Partial<DidDocument>;
|
|
83
|
+
}
|
|
84
|
+
export interface DidUpdateResult {
|
|
85
|
+
jobId?: string;
|
|
86
|
+
didState: DidOperationStateWait | DidOperationStateActionBase | DidOperationStateFinished | DidOperationStateFailed;
|
|
87
|
+
didRegistrationMetadata: DidRegistrationMetadata;
|
|
88
|
+
didDocumentMetadata: DidResolutionMetadata;
|
|
89
|
+
}
|
|
90
|
+
export interface DidDeactivateOptions {
|
|
91
|
+
did: string;
|
|
92
|
+
options?: DidRegistrationExtraOptions;
|
|
93
|
+
secret?: DidRegistrationSecretOptions;
|
|
94
|
+
}
|
|
95
|
+
export interface DidDeactivateResult {
|
|
96
|
+
jobId?: string;
|
|
97
|
+
didState: DidOperationStateWait | DidOperationStateActionBase | DidOperationStateFinished | DidOperationStateFailed;
|
|
98
|
+
didRegistrationMetadata: DidRegistrationMetadata;
|
|
99
|
+
didDocumentMetadata: DidResolutionMetadata;
|
|
100
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/modules/dids/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AriesFrameworkError } from '../../error';
|
|
2
|
+
export declare class DifPresentationExchangeError extends AriesFrameworkError {
|
|
3
|
+
additionalMessages?: Array<string>;
|
|
4
|
+
constructor(message: string, { cause, additionalMessages }?: {
|
|
5
|
+
cause?: Error;
|
|
6
|
+
additionalMessages?: Array<string>;
|
|
7
|
+
});
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DifPresentationExchangeError = void 0;
|
|
4
|
+
const error_1 = require("../../error");
|
|
5
|
+
class DifPresentationExchangeError extends error_1.AriesFrameworkError {
|
|
6
|
+
constructor(message, { cause, additionalMessages } = {}) {
|
|
7
|
+
super(message, { cause });
|
|
8
|
+
this.additionalMessages = additionalMessages;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.DifPresentationExchangeError = DifPresentationExchangeError;
|
|
12
|
+
//# sourceMappingURL=DifPresentationExchangeError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DifPresentationExchangeError.js","sourceRoot":"","sources":["../../../src/modules/dif-presentation-exchange/DifPresentationExchangeError.ts"],"names":[],"mappings":";;;AAAA,uCAAiD;AAEjD,MAAa,4BAA6B,SAAQ,2BAAmB;IAGnE,YACE,OAAe,EACf,EAAE,KAAK,EAAE,kBAAkB,KAA4D,EAAE;QAEzF,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,CAAA;QACzB,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;IAC9C,CAAC;CACF;AAVD,oEAUC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { DependencyManager, Module } from '../../plugins';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export declare class DifPresentationExchangeModule implements Module {
|
|
6
|
+
/**
|
|
7
|
+
* Registers the dependencies of the presentation-exchange module on the dependency manager.
|
|
8
|
+
*/
|
|
9
|
+
register(dependencyManager: DependencyManager): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DifPresentationExchangeModule = void 0;
|
|
4
|
+
const AgentConfig_1 = require("../../agent/AgentConfig");
|
|
5
|
+
const DifPresentationExchangeService_1 = require("./DifPresentationExchangeService");
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
class DifPresentationExchangeModule {
|
|
10
|
+
/**
|
|
11
|
+
* Registers the dependencies of the presentation-exchange module on the dependency manager.
|
|
12
|
+
*/
|
|
13
|
+
register(dependencyManager) {
|
|
14
|
+
// Warn about experimental module
|
|
15
|
+
dependencyManager
|
|
16
|
+
.resolve(AgentConfig_1.AgentConfig)
|
|
17
|
+
.logger.warn("The 'DifPresentationExchangeModule' module is experimental and could have unexpected breaking changes. When using this module, make sure to use strict versions for all @aries-framework packages.");
|
|
18
|
+
// service
|
|
19
|
+
dependencyManager.registerSingleton(DifPresentationExchangeService_1.DifPresentationExchangeService);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.DifPresentationExchangeModule = DifPresentationExchangeModule;
|
|
23
|
+
//# sourceMappingURL=DifPresentationExchangeModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DifPresentationExchangeModule.js","sourceRoot":"","sources":["../../../src/modules/dif-presentation-exchange/DifPresentationExchangeModule.ts"],"names":[],"mappings":";;;AAEA,yDAAqD;AAErD,qFAAiF;AAEjF;;GAEG;AACH,MAAa,6BAA6B;IACxC;;OAEG;IACI,QAAQ,CAAC,iBAAoC;QAClD,iCAAiC;QACjC,iBAAiB;aACd,OAAO,CAAC,yBAAW,CAAC;aACpB,MAAM,CAAC,IAAI,CACV,oMAAoM,CACrM,CAAA;QAEH,UAAU;QACV,iBAAiB,CAAC,iBAAiB,CAAC,+DAA8B,CAAC,CAAA;IACrE,CAAC;CACF;AAfD,sEAeC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { DifPexInputDescriptorToCredentials, DifPexCredentialsForRequest, DifPresentationExchangeDefinition, DifPresentationExchangeSubmission } from './models';
|
|
2
|
+
import type { AgentContext } from '../../agent';
|
|
3
|
+
import type { VerificationMethod } from '../dids';
|
|
4
|
+
import type { W3cVerifiableCredential, W3cVerifiablePresentation } from '../vc';
|
|
5
|
+
import type { PresentationSignCallBackParams } from '@sphereon/pex';
|
|
6
|
+
import { ClaimFormat } from '../vc';
|
|
7
|
+
import { DifPresentationExchangeSubmissionLocation } from './models';
|
|
8
|
+
export type ProofStructure = Record<string, Record<string, Array<W3cVerifiableCredential>>>;
|
|
9
|
+
export declare class DifPresentationExchangeService {
|
|
10
|
+
private pex;
|
|
11
|
+
getCredentialsForRequest(agentContext: AgentContext, presentationDefinition: DifPresentationExchangeDefinition): Promise<DifPexCredentialsForRequest>;
|
|
12
|
+
/**
|
|
13
|
+
* Selects the credentials to use based on the output from `getCredentialsForRequest`
|
|
14
|
+
* Use this method if you don't want to manually select the credentials yourself.
|
|
15
|
+
*/
|
|
16
|
+
selectCredentialsForRequest(credentialsForRequest: DifPexCredentialsForRequest): DifPexInputDescriptorToCredentials;
|
|
17
|
+
validatePresentationDefinition(presentationDefinition: DifPresentationExchangeDefinition): void;
|
|
18
|
+
validatePresentationSubmission(presentationSubmission: DifPresentationExchangeSubmission): void;
|
|
19
|
+
validatePresentation(presentationDefinition: DifPresentationExchangeDefinition, presentation: W3cVerifiablePresentation): void;
|
|
20
|
+
private formatValidated;
|
|
21
|
+
/**
|
|
22
|
+
* Queries the wallet for credentials that match the given presentation definition. This only does an initial query based on the
|
|
23
|
+
* schema of the input descriptors. It does not do any further filtering based on the constraints in the input descriptors.
|
|
24
|
+
*/
|
|
25
|
+
private queryCredentialForPresentationDefinition;
|
|
26
|
+
private addCredentialToSubjectInputDescriptor;
|
|
27
|
+
private getPresentationFormat;
|
|
28
|
+
createPresentation(agentContext: AgentContext, options: {
|
|
29
|
+
credentialsForInputDescriptor: DifPexInputDescriptorToCredentials;
|
|
30
|
+
presentationDefinition: DifPresentationExchangeDefinition;
|
|
31
|
+
/**
|
|
32
|
+
* Defaults to {@link DifPresentationExchangeSubmissionLocation.PRESENTATION}
|
|
33
|
+
*/
|
|
34
|
+
presentationSubmissionLocation?: DifPresentationExchangeSubmissionLocation;
|
|
35
|
+
challenge?: string;
|
|
36
|
+
domain?: string;
|
|
37
|
+
nonce?: string;
|
|
38
|
+
}): Promise<{
|
|
39
|
+
verifiablePresentations: (import("../vc").W3cJsonLdVerifiablePresentation | import("../vc").W3cJwtVerifiablePresentation)[];
|
|
40
|
+
presentationSubmission: import("@sphereon/pex-models").PresentationSubmission;
|
|
41
|
+
presentationSubmissionLocation: DifPresentationExchangeSubmissionLocation;
|
|
42
|
+
}>;
|
|
43
|
+
private getSigningAlgorithmFromVerificationMethod;
|
|
44
|
+
private getSigningAlgorithmsForPresentationDefinitionAndInputDescriptors;
|
|
45
|
+
private getSigningAlgorithmForJwtVc;
|
|
46
|
+
private getProofTypeForLdpVc;
|
|
47
|
+
getPresentationSignCallback(agentContext: AgentContext, verificationMethod: VerificationMethod, vpFormat: ClaimFormat.LdpVp | ClaimFormat.JwtVp): (callBackParams: PresentationSignCallBackParams) => Promise<import("@sphereon/ssi-types").W3CVerifiablePresentation>;
|
|
48
|
+
private getVerificationMethodForSubjectId;
|
|
49
|
+
}
|
|
@@ -0,0 +1,352 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.DifPresentationExchangeService = void 0;
|
|
10
|
+
const pex_1 = require("@sphereon/pex");
|
|
11
|
+
const tsyringe_1 = require("tsyringe");
|
|
12
|
+
const crypto_1 = require("../../crypto");
|
|
13
|
+
const error_1 = require("../../error");
|
|
14
|
+
const utils_1 = require("../../utils");
|
|
15
|
+
const dids_1 = require("../dids");
|
|
16
|
+
const vc_1 = require("../vc");
|
|
17
|
+
const DifPresentationExchangeError_1 = require("./DifPresentationExchangeError");
|
|
18
|
+
const models_1 = require("./models");
|
|
19
|
+
const utils_2 = require("./utils");
|
|
20
|
+
let DifPresentationExchangeService = class DifPresentationExchangeService {
|
|
21
|
+
constructor() {
|
|
22
|
+
this.pex = new pex_1.PEX();
|
|
23
|
+
}
|
|
24
|
+
async getCredentialsForRequest(agentContext, presentationDefinition) {
|
|
25
|
+
const credentialRecords = await this.queryCredentialForPresentationDefinition(agentContext, presentationDefinition);
|
|
26
|
+
// FIXME: why are we resolving all created dids here?
|
|
27
|
+
// If we want to do this we should extract all dids from the credential records and only
|
|
28
|
+
// fetch the dids for the queried credential records
|
|
29
|
+
const didsApi = agentContext.dependencyManager.resolve(dids_1.DidsApi);
|
|
30
|
+
const didRecords = await didsApi.getCreatedDids();
|
|
31
|
+
const holderDids = didRecords.map((didRecord) => didRecord.did);
|
|
32
|
+
return (0, utils_2.getCredentialsForRequest)(presentationDefinition, credentialRecords, holderDids);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Selects the credentials to use based on the output from `getCredentialsForRequest`
|
|
36
|
+
* Use this method if you don't want to manually select the credentials yourself.
|
|
37
|
+
*/
|
|
38
|
+
selectCredentialsForRequest(credentialsForRequest) {
|
|
39
|
+
if (!credentialsForRequest.areRequirementsSatisfied) {
|
|
40
|
+
throw new error_1.AriesFrameworkError('Could not find the required credentials for the presentation submission');
|
|
41
|
+
}
|
|
42
|
+
const credentials = {};
|
|
43
|
+
for (const requirement of credentialsForRequest.requirements) {
|
|
44
|
+
for (const submission of requirement.submissionEntry) {
|
|
45
|
+
if (!credentials[submission.inputDescriptorId]) {
|
|
46
|
+
credentials[submission.inputDescriptorId] = [];
|
|
47
|
+
}
|
|
48
|
+
// We pick the first matching VC if we are auto-selecting
|
|
49
|
+
credentials[submission.inputDescriptorId].push(submission.verifiableCredentials[0].credential);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return credentials;
|
|
53
|
+
}
|
|
54
|
+
validatePresentationDefinition(presentationDefinition) {
|
|
55
|
+
const validation = pex_1.PEX.validateDefinition(presentationDefinition);
|
|
56
|
+
const errorMessages = this.formatValidated(validation);
|
|
57
|
+
if (errorMessages.length > 0) {
|
|
58
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError(`Invalid presentation definition`, { additionalMessages: errorMessages });
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
validatePresentationSubmission(presentationSubmission) {
|
|
62
|
+
const validation = pex_1.PEX.validateSubmission(presentationSubmission);
|
|
63
|
+
const errorMessages = this.formatValidated(validation);
|
|
64
|
+
if (errorMessages.length > 0) {
|
|
65
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError(`Invalid presentation submission`, { additionalMessages: errorMessages });
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
validatePresentation(presentationDefinition, presentation) {
|
|
69
|
+
const { errors } = this.pex.evaluatePresentation(presentationDefinition, presentation.encoded);
|
|
70
|
+
if (errors) {
|
|
71
|
+
const errorMessages = this.formatValidated(errors);
|
|
72
|
+
if (errorMessages.length > 0) {
|
|
73
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError(`Invalid presentation`, { additionalMessages: errorMessages });
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
formatValidated(v) {
|
|
78
|
+
const validated = Array.isArray(v) ? v : [v];
|
|
79
|
+
return validated
|
|
80
|
+
.filter((r) => r.tag === pex_1.Status.ERROR)
|
|
81
|
+
.map((r) => r.message)
|
|
82
|
+
.filter((r) => Boolean(r));
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Queries the wallet for credentials that match the given presentation definition. This only does an initial query based on the
|
|
86
|
+
* schema of the input descriptors. It does not do any further filtering based on the constraints in the input descriptors.
|
|
87
|
+
*/
|
|
88
|
+
async queryCredentialForPresentationDefinition(agentContext, presentationDefinition) {
|
|
89
|
+
const w3cCredentialRepository = agentContext.dependencyManager.resolve(vc_1.W3cCredentialRepository);
|
|
90
|
+
const query = [];
|
|
91
|
+
const presentationDefinitionVersion = pex_1.PEX.definitionVersionDiscovery(presentationDefinition);
|
|
92
|
+
if (!presentationDefinitionVersion.version) {
|
|
93
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError(`Unable to determine the Presentation Exchange version from the presentation definition
|
|
94
|
+
`, presentationDefinitionVersion.error ? { additionalMessages: [presentationDefinitionVersion.error] } : {});
|
|
95
|
+
}
|
|
96
|
+
if (presentationDefinitionVersion.version === pex_1.PEVersion.v1) {
|
|
97
|
+
const pd = presentationDefinition;
|
|
98
|
+
// The schema.uri can contain either an expanded type, or a context uri
|
|
99
|
+
for (const inputDescriptor of pd.input_descriptors) {
|
|
100
|
+
for (const schema of inputDescriptor.schema) {
|
|
101
|
+
query.push({
|
|
102
|
+
$or: [{ expandedType: [schema.uri] }, { contexts: [schema.uri] }, { type: [schema.uri] }],
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
else if (presentationDefinitionVersion.version === pex_1.PEVersion.v2) {
|
|
108
|
+
// FIXME: As PE version 2 does not have the `schema` anymore, we can't query by schema anymore.
|
|
109
|
+
// For now we retrieve ALL credentials, as we did the same for V1 with JWT credentials. We probably need
|
|
110
|
+
// to find some way to do initial filtering, hopefully if there's a filter on the `type` field or something.
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError(`Unsupported presentation definition version ${presentationDefinitionVersion.version}`);
|
|
114
|
+
}
|
|
115
|
+
// query the wallet ourselves first to avoid the need to query the pex library for all
|
|
116
|
+
// credentials for every proof request
|
|
117
|
+
const credentialRecords = query.length > 0
|
|
118
|
+
? await w3cCredentialRepository.findByQuery(agentContext, {
|
|
119
|
+
$or: query,
|
|
120
|
+
})
|
|
121
|
+
: await w3cCredentialRepository.getAll(agentContext);
|
|
122
|
+
return credentialRecords;
|
|
123
|
+
}
|
|
124
|
+
addCredentialToSubjectInputDescriptor(subjectsToInputDescriptors, subjectId, inputDescriptorId, credential) {
|
|
125
|
+
var _a, _b;
|
|
126
|
+
const inputDescriptorsToCredentials = (_a = subjectsToInputDescriptors[subjectId]) !== null && _a !== void 0 ? _a : {};
|
|
127
|
+
const credentials = (_b = inputDescriptorsToCredentials[inputDescriptorId]) !== null && _b !== void 0 ? _b : [];
|
|
128
|
+
credentials.push(credential);
|
|
129
|
+
inputDescriptorsToCredentials[inputDescriptorId] = credentials;
|
|
130
|
+
subjectsToInputDescriptors[subjectId] = inputDescriptorsToCredentials;
|
|
131
|
+
}
|
|
132
|
+
getPresentationFormat(presentationDefinition, credentials) {
|
|
133
|
+
const allCredentialsAreJwtVc = credentials === null || credentials === void 0 ? void 0 : credentials.every((c) => typeof c === 'string');
|
|
134
|
+
const allCredentialsAreLdpVc = credentials === null || credentials === void 0 ? void 0 : credentials.every((c) => typeof c !== 'string');
|
|
135
|
+
const inputDescriptorsNotSupportingJwtVc = presentationDefinition.input_descriptors.filter((d) => d.format && d.format.jwt_vc === undefined);
|
|
136
|
+
const inputDescriptorsNotSupportingLdpVc = presentationDefinition.input_descriptors.filter((d) => d.format && d.format.ldp_vc === undefined);
|
|
137
|
+
if (allCredentialsAreJwtVc &&
|
|
138
|
+
(presentationDefinition.format === undefined || presentationDefinition.format.jwt_vc) &&
|
|
139
|
+
inputDescriptorsNotSupportingJwtVc.length === 0) {
|
|
140
|
+
return vc_1.ClaimFormat.JwtVp;
|
|
141
|
+
}
|
|
142
|
+
else if (allCredentialsAreLdpVc &&
|
|
143
|
+
(presentationDefinition.format === undefined || presentationDefinition.format.ldp_vc) &&
|
|
144
|
+
inputDescriptorsNotSupportingLdpVc.length === 0) {
|
|
145
|
+
return vc_1.ClaimFormat.LdpVp;
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError('No suitable presentation format found for the given presentation definition, and credentials');
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
async createPresentation(agentContext, options) {
|
|
152
|
+
const { presentationDefinition, challenge, nonce, domain, presentationSubmissionLocation } = options;
|
|
153
|
+
const proofStructure = {};
|
|
154
|
+
Object.entries(options.credentialsForInputDescriptor).forEach(([inputDescriptorId, credentials]) => {
|
|
155
|
+
credentials.forEach((credential) => {
|
|
156
|
+
const subjectId = credential.credentialSubjectIds[0];
|
|
157
|
+
if (!subjectId) {
|
|
158
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError('Missing required credential subject for creating the presentation.');
|
|
159
|
+
}
|
|
160
|
+
this.addCredentialToSubjectInputDescriptor(proofStructure, subjectId, inputDescriptorId, credential);
|
|
161
|
+
});
|
|
162
|
+
});
|
|
163
|
+
const verifiablePresentationResultsWithFormat = [];
|
|
164
|
+
const subjectToInputDescriptors = Object.entries(proofStructure);
|
|
165
|
+
for (const [subjectId, subjectInputDescriptorsToCredentials] of subjectToInputDescriptors) {
|
|
166
|
+
// Determine a suitable verification method for the presentation
|
|
167
|
+
const verificationMethod = await this.getVerificationMethodForSubjectId(agentContext, subjectId);
|
|
168
|
+
if (!verificationMethod) {
|
|
169
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError(`No verification method found for subject id '${subjectId}'.`);
|
|
170
|
+
}
|
|
171
|
+
// We create a presentation for each subject
|
|
172
|
+
// Thus for each subject we need to filter all the related input descriptors and credentials
|
|
173
|
+
// FIXME: cast to V1, as tsc errors for strange reasons if not
|
|
174
|
+
const inputDescriptorsForSubject = presentationDefinition.input_descriptors.filter((inputDescriptor) => inputDescriptor.id in subjectInputDescriptorsToCredentials);
|
|
175
|
+
// Get all the credentials associated with the input descriptors
|
|
176
|
+
const credentialsForSubject = Object.values(subjectInputDescriptorsToCredentials)
|
|
177
|
+
.flat()
|
|
178
|
+
.map(utils_2.getSphereonOriginalVerifiableCredential);
|
|
179
|
+
const presentationDefinitionForSubject = Object.assign(Object.assign({}, presentationDefinition), { input_descriptors: inputDescriptorsForSubject,
|
|
180
|
+
// We remove the submission requirements, as it will otherwise fail to create the VP
|
|
181
|
+
submission_requirements: undefined });
|
|
182
|
+
const format = this.getPresentationFormat(presentationDefinitionForSubject, credentialsForSubject);
|
|
183
|
+
// FIXME: Q1: is holder always subject id, what if there are multiple subjects???
|
|
184
|
+
// FIXME: Q2: What about proofType, proofPurpose verification method for multiple subjects?
|
|
185
|
+
const verifiablePresentationResult = await this.pex.verifiablePresentationFrom(presentationDefinitionForSubject, credentialsForSubject, this.getPresentationSignCallback(agentContext, verificationMethod, format), {
|
|
186
|
+
holderDID: subjectId,
|
|
187
|
+
proofOptions: { challenge, domain, nonce },
|
|
188
|
+
signatureOptions: { verificationMethod: verificationMethod === null || verificationMethod === void 0 ? void 0 : verificationMethod.id },
|
|
189
|
+
presentationSubmissionLocation: presentationSubmissionLocation !== null && presentationSubmissionLocation !== void 0 ? presentationSubmissionLocation : models_1.DifPresentationExchangeSubmissionLocation.PRESENTATION,
|
|
190
|
+
});
|
|
191
|
+
verifiablePresentationResultsWithFormat.push({ verifiablePresentationResult, format });
|
|
192
|
+
}
|
|
193
|
+
if (!verifiablePresentationResultsWithFormat[0]) {
|
|
194
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError('No verifiable presentations created');
|
|
195
|
+
}
|
|
196
|
+
if (subjectToInputDescriptors.length !== verifiablePresentationResultsWithFormat.length) {
|
|
197
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError('Invalid amount of verifiable presentations created');
|
|
198
|
+
}
|
|
199
|
+
const presentationSubmission = {
|
|
200
|
+
id: verifiablePresentationResultsWithFormat[0].verifiablePresentationResult.presentationSubmission.id,
|
|
201
|
+
definition_id: verifiablePresentationResultsWithFormat[0].verifiablePresentationResult.presentationSubmission.definition_id,
|
|
202
|
+
descriptor_map: [],
|
|
203
|
+
};
|
|
204
|
+
for (const vpf of verifiablePresentationResultsWithFormat) {
|
|
205
|
+
const { verifiablePresentationResult } = vpf;
|
|
206
|
+
presentationSubmission.descriptor_map.push(...verifiablePresentationResult.presentationSubmission.descriptor_map);
|
|
207
|
+
}
|
|
208
|
+
return {
|
|
209
|
+
verifiablePresentations: verifiablePresentationResultsWithFormat.map((r) => (0, utils_2.getW3cVerifiablePresentationInstance)(r.verifiablePresentationResult.verifiablePresentation)),
|
|
210
|
+
presentationSubmission,
|
|
211
|
+
presentationSubmissionLocation: verifiablePresentationResultsWithFormat[0].verifiablePresentationResult.presentationSubmissionLocation,
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
getSigningAlgorithmFromVerificationMethod(verificationMethod, suitableAlgorithms) {
|
|
215
|
+
const key = (0, dids_1.getKeyFromVerificationMethod)(verificationMethod);
|
|
216
|
+
const jwk = (0, crypto_1.getJwkFromKey)(key);
|
|
217
|
+
if (suitableAlgorithms) {
|
|
218
|
+
const possibleAlgorithms = jwk.supportedSignatureAlgorithms.filter((alg) => suitableAlgorithms === null || suitableAlgorithms === void 0 ? void 0 : suitableAlgorithms.includes(alg));
|
|
219
|
+
if (!possibleAlgorithms || possibleAlgorithms.length === 0) {
|
|
220
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError([
|
|
221
|
+
`Found no suitable signing algorithm.`,
|
|
222
|
+
`Algorithms supported by Verification method: ${jwk.supportedSignatureAlgorithms.join(', ')}`,
|
|
223
|
+
`Suitable algorithms: ${suitableAlgorithms.join(', ')}`,
|
|
224
|
+
].join('\n'));
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
const alg = jwk.supportedSignatureAlgorithms[0];
|
|
228
|
+
if (!alg)
|
|
229
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError(`No supported algs for key type: ${key.keyType}`);
|
|
230
|
+
return alg;
|
|
231
|
+
}
|
|
232
|
+
getSigningAlgorithmsForPresentationDefinitionAndInputDescriptors(algorithmsSatisfyingDefinition, inputDescriptorAlgorithms) {
|
|
233
|
+
const allDescriptorAlgorithms = inputDescriptorAlgorithms.flat();
|
|
234
|
+
const algorithmsSatisfyingDescriptors = allDescriptorAlgorithms.filter((alg) => inputDescriptorAlgorithms.every((descriptorAlgorithmSet) => descriptorAlgorithmSet.includes(alg)));
|
|
235
|
+
const algorithmsSatisfyingPdAndDescriptorRestrictions = algorithmsSatisfyingDefinition.filter((alg) => algorithmsSatisfyingDescriptors.includes(alg));
|
|
236
|
+
if (algorithmsSatisfyingDefinition.length > 0 &&
|
|
237
|
+
algorithmsSatisfyingDescriptors.length > 0 &&
|
|
238
|
+
algorithmsSatisfyingPdAndDescriptorRestrictions.length === 0) {
|
|
239
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError(`No signature algorithm found for satisfying restrictions of the presentation definition and input descriptors`);
|
|
240
|
+
}
|
|
241
|
+
if (allDescriptorAlgorithms.length > 0 && algorithmsSatisfyingDescriptors.length === 0) {
|
|
242
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError(`No signature algorithm found for satisfying restrictions of the input descriptors`);
|
|
243
|
+
}
|
|
244
|
+
let suitableAlgorithms;
|
|
245
|
+
if (algorithmsSatisfyingPdAndDescriptorRestrictions.length > 0) {
|
|
246
|
+
suitableAlgorithms = algorithmsSatisfyingPdAndDescriptorRestrictions;
|
|
247
|
+
}
|
|
248
|
+
else if (algorithmsSatisfyingDescriptors.length > 0) {
|
|
249
|
+
suitableAlgorithms = algorithmsSatisfyingDescriptors;
|
|
250
|
+
}
|
|
251
|
+
else if (algorithmsSatisfyingDefinition.length > 0) {
|
|
252
|
+
suitableAlgorithms = algorithmsSatisfyingDefinition;
|
|
253
|
+
}
|
|
254
|
+
return suitableAlgorithms;
|
|
255
|
+
}
|
|
256
|
+
getSigningAlgorithmForJwtVc(presentationDefinition, verificationMethod) {
|
|
257
|
+
var _a, _b, _c;
|
|
258
|
+
const algorithmsSatisfyingDefinition = (_c = (_b = (_a = presentationDefinition.format) === null || _a === void 0 ? void 0 : _a.jwt_vc) === null || _b === void 0 ? void 0 : _b.alg) !== null && _c !== void 0 ? _c : [];
|
|
259
|
+
const inputDescriptorAlgorithms = presentationDefinition.input_descriptors
|
|
260
|
+
.map((descriptor) => { var _a, _b, _c; return (_c = (_b = (_a = descriptor.format) === null || _a === void 0 ? void 0 : _a.jwt_vc) === null || _b === void 0 ? void 0 : _b.alg) !== null && _c !== void 0 ? _c : []; })
|
|
261
|
+
.filter((alg) => alg.length > 0);
|
|
262
|
+
const suitableAlgorithms = this.getSigningAlgorithmsForPresentationDefinitionAndInputDescriptors(algorithmsSatisfyingDefinition, inputDescriptorAlgorithms);
|
|
263
|
+
return this.getSigningAlgorithmFromVerificationMethod(verificationMethod, suitableAlgorithms);
|
|
264
|
+
}
|
|
265
|
+
getProofTypeForLdpVc(agentContext, presentationDefinition, verificationMethod) {
|
|
266
|
+
var _a, _b, _c;
|
|
267
|
+
const algorithmsSatisfyingDefinition = (_c = (_b = (_a = presentationDefinition.format) === null || _a === void 0 ? void 0 : _a.ldp_vc) === null || _b === void 0 ? void 0 : _b.proof_type) !== null && _c !== void 0 ? _c : [];
|
|
268
|
+
const inputDescriptorAlgorithms = presentationDefinition.input_descriptors
|
|
269
|
+
.map((descriptor) => { var _a, _b, _c; return (_c = (_b = (_a = descriptor.format) === null || _a === void 0 ? void 0 : _a.ldp_vc) === null || _b === void 0 ? void 0 : _b.proof_type) !== null && _c !== void 0 ? _c : []; })
|
|
270
|
+
.filter((alg) => alg.length > 0);
|
|
271
|
+
const suitableSignatureSuites = this.getSigningAlgorithmsForPresentationDefinitionAndInputDescriptors(algorithmsSatisfyingDefinition, inputDescriptorAlgorithms);
|
|
272
|
+
// For each of the supported algs, find the key types, then find the proof types
|
|
273
|
+
const signatureSuiteRegistry = agentContext.dependencyManager.resolve(vc_1.SignatureSuiteRegistry);
|
|
274
|
+
const supportedSignatureSuite = signatureSuiteRegistry.getByVerificationMethodType(verificationMethod.type);
|
|
275
|
+
if (!supportedSignatureSuite) {
|
|
276
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError(`Couldn't find a supported signature suite for the given verification method type '${verificationMethod.type}'`);
|
|
277
|
+
}
|
|
278
|
+
if (suitableSignatureSuites) {
|
|
279
|
+
if (suitableSignatureSuites.includes(supportedSignatureSuite.proofType) === false) {
|
|
280
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError([
|
|
281
|
+
'No possible signature suite found for the given verification method.',
|
|
282
|
+
`Verification method type: ${verificationMethod.type}`,
|
|
283
|
+
`SupportedSignatureSuite '${supportedSignatureSuite.proofType}'`,
|
|
284
|
+
`SuitableSignatureSuites: ${suitableSignatureSuites.join(', ')}`,
|
|
285
|
+
].join('\n'));
|
|
286
|
+
}
|
|
287
|
+
return supportedSignatureSuite.proofType;
|
|
288
|
+
}
|
|
289
|
+
return supportedSignatureSuite.proofType;
|
|
290
|
+
}
|
|
291
|
+
getPresentationSignCallback(agentContext, verificationMethod, vpFormat) {
|
|
292
|
+
const w3cCredentialService = agentContext.dependencyManager.resolve(vc_1.W3cCredentialService);
|
|
293
|
+
return async (callBackParams) => {
|
|
294
|
+
var _a, _b, _c, _d;
|
|
295
|
+
// The created partial proof and presentation, as well as original supplied options
|
|
296
|
+
const { presentation: presentationJson, options, presentationDefinition } = callBackParams;
|
|
297
|
+
const { challenge, domain, nonce } = (_a = options.proofOptions) !== null && _a !== void 0 ? _a : {};
|
|
298
|
+
const { verificationMethod: verificationMethodId } = (_b = options.signatureOptions) !== null && _b !== void 0 ? _b : {};
|
|
299
|
+
if (verificationMethodId && verificationMethodId !== verificationMethod.id) {
|
|
300
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError(`Verification method from signing options ${verificationMethodId} does not match verification method ${verificationMethod.id}`);
|
|
301
|
+
}
|
|
302
|
+
let signedPresentation;
|
|
303
|
+
if (vpFormat === 'jwt_vp') {
|
|
304
|
+
signedPresentation = await w3cCredentialService.signPresentation(agentContext, {
|
|
305
|
+
format: vc_1.ClaimFormat.JwtVp,
|
|
306
|
+
alg: this.getSigningAlgorithmForJwtVc(presentationDefinition, verificationMethod),
|
|
307
|
+
verificationMethod: verificationMethod.id,
|
|
308
|
+
presentation: utils_1.JsonTransformer.fromJSON(presentationJson, vc_1.W3cPresentation),
|
|
309
|
+
challenge: (_c = challenge !== null && challenge !== void 0 ? challenge : nonce) !== null && _c !== void 0 ? _c : (await agentContext.wallet.generateNonce()),
|
|
310
|
+
domain,
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
else if (vpFormat === 'ldp_vp') {
|
|
314
|
+
signedPresentation = await w3cCredentialService.signPresentation(agentContext, {
|
|
315
|
+
format: vc_1.ClaimFormat.LdpVp,
|
|
316
|
+
proofType: this.getProofTypeForLdpVc(agentContext, presentationDefinition, verificationMethod),
|
|
317
|
+
proofPurpose: 'authentication',
|
|
318
|
+
verificationMethod: verificationMethod.id,
|
|
319
|
+
presentation: utils_1.JsonTransformer.fromJSON(presentationJson, vc_1.W3cPresentation),
|
|
320
|
+
challenge: (_d = challenge !== null && challenge !== void 0 ? challenge : nonce) !== null && _d !== void 0 ? _d : (await agentContext.wallet.generateNonce()),
|
|
321
|
+
domain,
|
|
322
|
+
});
|
|
323
|
+
}
|
|
324
|
+
else {
|
|
325
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError(`Only JWT credentials or JSONLD credentials are supported for a single presentation`);
|
|
326
|
+
}
|
|
327
|
+
return (0, utils_2.getSphereonW3cVerifiablePresentation)(signedPresentation);
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
async getVerificationMethodForSubjectId(agentContext, subjectId) {
|
|
331
|
+
const didsApi = agentContext.dependencyManager.resolve(dids_1.DidsApi);
|
|
332
|
+
if (!subjectId.startsWith('did:')) {
|
|
333
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError(`Only dids are supported as credentialSubject id. ${subjectId} is not a valid did`);
|
|
334
|
+
}
|
|
335
|
+
const didDocument = await didsApi.resolveDidDocument(subjectId);
|
|
336
|
+
if (!didDocument.authentication || didDocument.authentication.length === 0) {
|
|
337
|
+
throw new DifPresentationExchangeError_1.DifPresentationExchangeError(`No authentication verificationMethods found for did ${subjectId} in did document`);
|
|
338
|
+
}
|
|
339
|
+
// the signature suite to use for the presentation is dependant on the credentials we share.
|
|
340
|
+
// 1. Get the verification method for this given proof purpose in this DID document
|
|
341
|
+
let [verificationMethod] = didDocument.authentication;
|
|
342
|
+
if (typeof verificationMethod === 'string') {
|
|
343
|
+
verificationMethod = didDocument.dereferenceKey(verificationMethod, ['authentication']);
|
|
344
|
+
}
|
|
345
|
+
return verificationMethod;
|
|
346
|
+
}
|
|
347
|
+
};
|
|
348
|
+
DifPresentationExchangeService = __decorate([
|
|
349
|
+
(0, tsyringe_1.injectable)()
|
|
350
|
+
], DifPresentationExchangeService);
|
|
351
|
+
exports.DifPresentationExchangeService = DifPresentationExchangeService;
|
|
352
|
+
//# sourceMappingURL=DifPresentationExchangeService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DifPresentationExchangeService.js","sourceRoot":"","sources":["../../../src/modules/dif-presentation-exchange/DifPresentationExchangeService.ts"],"names":[],"mappings":";;;;;;;;;AAgBA,uCAAsD;AACtD,uCAAqC;AAErC,yCAA4C;AAC5C,uCAAiD;AACjD,uCAA6C;AAC7C,kCAA+D;AAC/D,8BAMc;AAEd,iFAA6E;AAC7E,qCAAoE;AACpE,mCAKgB;AAKT,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAApC;QACG,QAAG,GAAG,IAAI,SAAG,EAAE,CAAA;IAufzB,CAAC;IArfQ,KAAK,CAAC,wBAAwB,CACnC,YAA0B,EAC1B,sBAAyD;QAEzD,MAAM,iBAAiB,GAAG,MAA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,CACpC,oDAAoD,SAAS,qBAAqB,CACnF,CAAA;SACF;QAED,MAAM,WAAW,GAAG,MAAM,OAAO,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAA;QAE/D,IAAI,CAAC,WAAW,CAAC,cAAc,IAAI,WAAW,CAAC,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE;YAC1E,MAAM,IAAI,2DAA4B,CACpC,uDAAuD,SAAS,kBAAkB,CACnF,CAAA;SACF;QAED,4FAA4F;QAC5F,mFAAmF;QACnF,IAAI,CAAC,kBAAkB,CAAC,GAAG,WAAW,CAAC,cAAc,CAAA;QACrD,IAAI,OAAO,kBAAkB,KAAK,QAAQ,EAAE;YAC1C,kBAAkB,GAAG,WAAW,CAAC,cAAc,CAAC,kBAAkB,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAA;SACxF;QAED,OAAO,kBAAkB,CAAA;IAC3B,CAAC;CACF,CAAA;AAxfY,8BAA8B;IAD1C,IAAA,qBAAU,GAAE;GACA,8BAA8B,CAwf1C;AAxfY,wEAA8B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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("./DifPresentationExchangeError"), exports);
|
|
18
|
+
__exportStar(require("./DifPresentationExchangeModule"), exports);
|
|
19
|
+
__exportStar(require("./DifPresentationExchangeService"), exports);
|
|
20
|
+
__exportStar(require("./models"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/dif-presentation-exchange/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA8C;AAC9C,kEAA+C;AAC/C,mEAAgD;AAChD,2CAAwB"}
|