@credo-ts/core 0.6.0-pr-2134-20241217213340 → 0.6.0-pr-2195-20250217170804
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/agent/Agent.d.ts +0 -15
- package/build/agent/Agent.js +5 -102
- package/build/agent/Agent.js.map +1 -1
- package/build/agent/AgentConfig.d.ts +0 -24
- package/build/agent/AgentConfig.js +19 -53
- package/build/agent/AgentConfig.js.map +1 -1
- package/build/agent/AgentModules.d.ts +3 -26
- package/build/agent/AgentModules.js +4 -19
- package/build/agent/AgentModules.js.map +1 -1
- package/build/agent/BaseAgent.d.ts +1 -36
- package/build/agent/BaseAgent.js +0 -48
- package/build/agent/BaseAgent.js.map +1 -1
- package/build/agent/EventEmitter.js +5 -2
- package/build/agent/EventEmitter.js.map +1 -1
- package/build/agent/Events.d.ts +0 -36
- package/build/agent/Events.js +0 -7
- package/build/agent/Events.js.map +1 -1
- package/build/agent/context/DefaultAgentContextProvider.js +1 -1
- package/build/agent/context/DefaultAgentContextProvider.js.map +1 -1
- package/build/constants.d.ts +0 -1
- package/build/constants.js +2 -3
- package/build/constants.js.map +1 -1
- package/build/crypto/JwsService.d.ts +3 -2
- package/build/crypto/JwsService.js +18 -9
- package/build/crypto/JwsService.js.map +1 -1
- package/build/crypto/Key.d.ts +3 -3
- package/build/crypto/Key.js +10 -5
- package/build/crypto/Key.js.map +1 -1
- package/build/crypto/WalletKeyPair.js +1 -2
- package/build/crypto/WalletKeyPair.js.map +1 -1
- package/build/crypto/index.d.ts +1 -1
- package/build/crypto/jose/jwk/Ed25519Jwk.d.ts +5 -5
- package/build/crypto/jose/jwk/Ed25519Jwk.js +11 -6
- package/build/crypto/jose/jwk/Ed25519Jwk.js.map +1 -1
- package/build/crypto/jose/jwk/Jwk.d.ts +1 -2
- package/build/crypto/jose/jwk/Jwk.js.map +1 -1
- package/build/crypto/jose/jwk/K256Jwk.d.ts +12 -11
- package/build/crypto/jose/jwk/K256Jwk.js +34 -18
- package/build/crypto/jose/jwk/K256Jwk.js.map +1 -1
- package/build/crypto/jose/jwk/P256Jwk.d.ts +12 -11
- package/build/crypto/jose/jwk/P256Jwk.js +34 -18
- package/build/crypto/jose/jwk/P256Jwk.js.map +1 -1
- package/build/crypto/jose/jwk/P384Jwk.d.ts +12 -11
- package/build/crypto/jose/jwk/P384Jwk.js +34 -18
- package/build/crypto/jose/jwk/P384Jwk.js.map +1 -1
- package/build/crypto/jose/jwk/P521Jwk.d.ts +12 -11
- package/build/crypto/jose/jwk/P521Jwk.js +34 -18
- package/build/crypto/jose/jwk/P521Jwk.js.map +1 -1
- package/build/crypto/jose/jwk/X25519Jwk.d.ts +5 -5
- package/build/crypto/jose/jwk/X25519Jwk.js +11 -6
- package/build/crypto/jose/jwk/X25519Jwk.js.map +1 -1
- package/build/crypto/jose/jwk/transform.d.ts +3 -3
- package/build/crypto/jose/jwt/Jwt.d.ts +1 -0
- package/build/crypto/jose/jwt/Jwt.js.map +1 -1
- package/build/crypto/jose/jwt/JwtPayload.js +20 -25
- package/build/crypto/jose/jwt/JwtPayload.js.map +1 -1
- package/build/error/ClassValidationError.js +5 -4
- package/build/error/ClassValidationError.js.map +1 -1
- package/build/error/index.d.ts +0 -1
- package/build/error/index.js +0 -1
- package/build/error/index.js.map +1 -1
- package/build/index.d.ts +24 -35
- package/build/index.js +39 -56
- package/build/index.js.map +1 -1
- package/build/modules/cache/CacheModule.js +7 -4
- package/build/modules/cache/CacheModule.js.map +1 -1
- package/build/modules/cache/InMemoryLruCache.js +1 -1
- package/build/modules/cache/InMemoryLruCache.js.map +1 -1
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.js +6 -5
- package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.js.map +1 -1
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.js +1 -1
- package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.js.map +1 -1
- package/build/modules/dcql/DcqlError.d.ts +8 -0
- package/build/modules/dcql/DcqlError.js +12 -0
- package/build/modules/dcql/DcqlError.js.map +1 -0
- package/build/modules/dcql/DcqlModule.d.ts +10 -0
- package/build/modules/dcql/DcqlModule.js +23 -0
- package/build/modules/dcql/DcqlModule.js.map +1 -0
- package/build/modules/dcql/DcqlService.d.ts +339 -0
- package/build/modules/dcql/DcqlService.js +301 -0
- package/build/modules/dcql/DcqlService.js.map +1 -0
- package/build/modules/dcql/index.d.ts +5 -0
- package/build/modules/{problem-reports → dcql}/index.js +4 -2
- package/build/modules/dcql/index.js.map +1 -0
- package/build/modules/dcql/models/DcqlCredentialsForRequest.d.ts +20 -0
- package/build/modules/{connections/models/InvitationDetails.js → dcql/models/DcqlCredentialsForRequest.js} +1 -1
- package/build/modules/dcql/models/DcqlCredentialsForRequest.js.map +1 -0
- package/build/modules/dcql/models/index.d.ts +23 -0
- package/build/modules/{basic-messages/services → dcql/models}/index.js +1 -1
- package/build/modules/dcql/models/index.js.map +1 -0
- package/build/modules/dcql/utils/DcqlPresentationsToCreate.d.ts +34 -0
- package/build/modules/dcql/utils/DcqlPresentationsToCreate.js +42 -0
- package/build/modules/dcql/utils/DcqlPresentationsToCreate.js.map +1 -0
- package/build/modules/dcql/utils/index.d.ts +1 -0
- package/build/modules/{basic-messages/handlers → dcql/utils}/index.js +1 -1
- package/build/modules/dcql/utils/index.js.map +1 -0
- package/build/modules/dids/DidsModuleConfig.js +3 -5
- package/build/modules/dids/DidsModuleConfig.js.map +1 -1
- package/build/modules/dids/domain/DidDocument.js +14 -52
- package/build/modules/dids/domain/DidDocument.js.map +1 -1
- package/build/modules/dids/domain/key-type/keyDidMapping.js +8 -2
- package/build/modules/dids/domain/key-type/keyDidMapping.js.map +1 -1
- package/build/modules/dids/domain/service/DidCommV1Service.js +1 -1
- package/build/modules/dids/domain/service/DidCommV1Service.js.map +1 -1
- package/build/modules/dids/domain/service/DidCommV2Service.js +1 -1
- package/build/modules/dids/domain/service/DidCommV2Service.js.map +1 -1
- package/build/modules/dids/domain/service/IndyAgentService.js +1 -1
- package/build/modules/dids/domain/service/IndyAgentService.js.map +1 -1
- package/build/modules/dids/domain/service/NewDidCommV2Service.js +1 -1
- package/build/modules/dids/domain/service/NewDidCommV2Service.js.map +1 -1
- package/build/modules/dids/domain/service/ServiceTransformer.js +3 -3
- package/build/modules/dids/domain/service/ServiceTransformer.js.map +1 -1
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.js +2 -3
- package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.js.map +1 -1
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.js +2 -2
- package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.js.map +1 -1
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.js +4 -5
- package/build/modules/dids/methods/jwk/JwkDidRegistrar.js.map +1 -1
- package/build/modules/dids/methods/key/KeyDidRegistrar.js +4 -5
- package/build/modules/dids/methods/key/KeyDidRegistrar.js.map +1 -1
- package/build/modules/dids/methods/peer/PeerDidRegistrar.js +7 -8
- package/build/modules/dids/methods/peer/PeerDidRegistrar.js.map +1 -1
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.d.ts +1 -1
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.js +1 -2
- package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.js.map +1 -1
- package/build/modules/dids/methods/peer/peerDidNumAlgo1.js +1 -1
- package/build/modules/dids/methods/peer/peerDidNumAlgo1.js.map +1 -1
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.d.ts +0 -3
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.js +15 -48
- package/build/modules/dids/methods/peer/peerDidNumAlgo2.js.map +1 -1
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.d.ts +0 -5
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.js +0 -25
- package/build/modules/dids/methods/peer/peerDidNumAlgo4.js.map +1 -1
- package/build/modules/dids/methods/web/WebDidResolver.js +5 -3
- package/build/modules/dids/methods/web/WebDidResolver.js.map +1 -1
- package/build/modules/dids/repository/DidRecord.js +12 -6
- package/build/modules/dids/repository/DidRecord.js.map +1 -1
- package/build/modules/dids/services/DidRegistrarService.js +54 -16
- package/build/modules/dids/services/DidRegistrarService.js.map +1 -1
- package/build/modules/dids/services/DidResolverService.js +30 -10
- package/build/modules/dids/services/DidResolverService.js.map +1 -1
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.d.ts +8 -5
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js +37 -22
- package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js.map +1 -1
- package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.ts +4 -8
- package/build/modules/dif-presentation-exchange/models/TransactionData.d.ts +36 -0
- package/build/{agent/MessageHandler.js → modules/dif-presentation-exchange/models/TransactionData.js} +1 -1
- package/build/modules/dif-presentation-exchange/models/TransactionData.js.map +1 -0
- package/build/modules/dif-presentation-exchange/models/index.d.ts +3 -2
- package/build/modules/dif-presentation-exchange/models/index.js.map +1 -1
- package/build/modules/dif-presentation-exchange/utils/credentialSelection.js +27 -23
- package/build/modules/dif-presentation-exchange/utils/credentialSelection.js.map +1 -1
- package/build/modules/dif-presentation-exchange/utils/presentationSelection.d.ts +1 -1
- package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.d.ts +6 -4
- package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.js +11 -3
- package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.js.map +1 -1
- package/build/modules/dif-presentation-exchange/utils/transform.d.ts +1 -1
- package/build/modules/dif-presentation-exchange/utils/transform.js +2 -19
- package/build/modules/dif-presentation-exchange/utils/transform.js.map +1 -1
- package/build/modules/generic-records/repository/GenericRecord.js +6 -5
- package/build/modules/generic-records/repository/GenericRecord.js.map +1 -1
- package/build/modules/mdoc/Mdoc.d.ts +15 -1
- package/build/modules/mdoc/Mdoc.js +43 -21
- package/build/modules/mdoc/Mdoc.js.map +1 -1
- package/build/modules/mdoc/MdocContext.js +4 -1
- package/build/modules/mdoc/MdocContext.js.map +1 -1
- package/build/modules/mdoc/MdocDeviceResponse.d.ts +15 -1
- package/build/modules/mdoc/MdocDeviceResponse.js +163 -38
- package/build/modules/mdoc/MdocDeviceResponse.js.map +1 -1
- package/build/modules/mdoc/MdocOptions.d.ts +23 -11
- package/build/modules/mdoc/MdocOptions.js +3 -0
- package/build/modules/mdoc/MdocOptions.js.map +1 -1
- package/build/modules/mdoc/MdocService.d.ts +2 -1
- package/build/modules/mdoc/MdocService.js +3 -0
- package/build/modules/mdoc/MdocService.js.map +1 -1
- package/build/modules/mdoc/index.d.ts +2 -0
- package/build/modules/mdoc/index.js +5 -0
- package/build/modules/mdoc/index.js.map +1 -1
- package/build/modules/mdoc/mdocSupportedAlgs.d.ts +4 -0
- package/build/modules/mdoc/mdocSupportedAlgs.js +15 -0
- package/build/modules/mdoc/mdocSupportedAlgs.js.map +1 -0
- package/build/modules/mdoc/mdocUtil.d.ts +1 -0
- package/build/modules/mdoc/mdocUtil.js +7 -0
- package/build/modules/mdoc/mdocUtil.js.map +1 -0
- package/build/modules/mdoc/repository/MdocRecord.d.ts +8 -0
- package/build/modules/mdoc/repository/MdocRecord.js +20 -6
- package/build/modules/mdoc/repository/MdocRecord.js.map +1 -1
- package/build/modules/sd-jwt-vc/SdJwtVcApi.d.ts +6 -0
- package/build/modules/sd-jwt-vc/SdJwtVcOptions.d.ts +5 -1
- package/build/modules/sd-jwt-vc/SdJwtVcService.d.ts +23 -2
- package/build/modules/sd-jwt-vc/SdJwtVcService.js +84 -34
- package/build/modules/sd-jwt-vc/SdJwtVcService.js.map +1 -1
- package/build/modules/sd-jwt-vc/SdJwtVcTransactionData.d.ts +10 -0
- package/build/modules/sd-jwt-vc/SdJwtVcTransactionData.js +43 -0
- package/build/modules/sd-jwt-vc/SdJwtVcTransactionData.js.map +1 -0
- package/build/modules/sd-jwt-vc/decodeSdJwtVc.d.ts +2 -7
- package/build/modules/sd-jwt-vc/decodeSdJwtVc.js +7 -2
- package/build/modules/sd-jwt-vc/decodeSdJwtVc.js.map +1 -1
- package/build/modules/sd-jwt-vc/disclosureFrame.d.ts +6 -0
- package/build/modules/sd-jwt-vc/disclosureFrame.js +21 -0
- package/build/modules/sd-jwt-vc/disclosureFrame.js.map +1 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.d.ts +8 -0
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.js +21 -5
- package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.js.map +1 -1
- package/build/modules/vc/W3cCredentialService.js +1 -1
- package/build/modules/vc/W3cCredentialService.js.map +1 -1
- package/build/modules/vc/W3cCredentialServiceOptions.d.ts +2 -12
- package/build/modules/vc/W3cCredentialsModuleConfig.js +2 -3
- package/build/modules/vc/W3cCredentialsModuleConfig.js.map +1 -1
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.js +15 -27
- package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.js.map +1 -1
- package/build/modules/vc/data-integrity/deriveProof.js +2 -3
- package/build/modules/vc/data-integrity/deriveProof.js.map +1 -1
- package/build/modules/vc/data-integrity/index.d.ts +1 -0
- package/build/modules/vc/data-integrity/index.js +3 -1
- package/build/modules/vc/data-integrity/index.js.map +1 -1
- package/build/modules/vc/data-integrity/jsonldUtil.js +4 -1
- package/build/modules/vc/data-integrity/jsonldUtil.js.map +1 -1
- package/build/modules/vc/data-integrity/libraries/index.js +8 -2
- package/build/modules/vc/data-integrity/libraries/index.js.map +1 -1
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.js +2 -4
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.js.map +1 -1
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.js +2 -4
- package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.js.map +1 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.js +5 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.js.map +1 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.js +5 -1
- package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.js.map +1 -1
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.js +28 -12
- package/build/modules/vc/jwt-vc/W3cJwtCredentialService.js.map +1 -1
- package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.d.ts +1 -1
- package/build/modules/vc/jwt-vc/credentialTransformer.js +10 -4
- package/build/modules/vc/jwt-vc/credentialTransformer.js.map +1 -1
- package/build/modules/vc/jwt-vc/presentationTransformer.js +5 -1
- package/build/modules/vc/jwt-vc/presentationTransformer.js.map +1 -1
- package/build/modules/vc/models/credential/W3cCredential.js +1 -2
- package/build/modules/vc/models/credential/W3cCredential.js.map +1 -1
- package/build/modules/vc/models/credential/W3cCredentialSubject.js +3 -15
- package/build/modules/vc/models/credential/W3cCredentialSubject.js.map +1 -1
- package/build/modules/vc/models/presentation/W3cPresentation.js +2 -3
- package/build/modules/vc/models/presentation/W3cPresentation.js.map +1 -1
- package/build/modules/vc/models/presentation/index.d.ts +1 -0
- package/build/modules/vc/models/presentation/index.js +1 -0
- package/build/modules/vc/models/presentation/index.js.map +1 -1
- package/build/modules/vc/repository/W3cCredentialRecord.d.ts +4 -0
- package/build/modules/vc/repository/W3cCredentialRecord.js +18 -4
- package/build/modules/vc/repository/W3cCredentialRecord.js.map +1 -1
- package/build/modules/x509/X509Api.d.ts +2 -4
- package/build/modules/x509/X509Api.js +3 -6
- package/build/modules/x509/X509Api.js.map +1 -1
- package/build/modules/x509/X509Certificate.d.ts +13 -4
- package/build/modules/x509/X509Certificate.js +31 -31
- package/build/modules/x509/X509Certificate.js.map +1 -1
- package/build/modules/x509/X509ModuleConfig.d.ts +46 -8
- package/build/modules/x509/X509ModuleConfig.js +31 -9
- package/build/modules/x509/X509ModuleConfig.js.map +1 -1
- package/build/modules/x509/X509ServiceOptions.d.ts +6 -2
- package/build/modules/x509/extraction.d.ts +3 -0
- package/build/modules/x509/extraction.js +8 -0
- package/build/modules/x509/extraction.js.map +1 -0
- package/build/modules/x509/index.d.ts +1 -0
- package/build/modules/x509/index.js +1 -0
- package/build/modules/x509/index.js.map +1 -1
- package/build/plugins/DependencyManager.d.ts +0 -11
- package/build/plugins/DependencyManager.js +6 -30
- package/build/plugins/DependencyManager.js.map +1 -1
- package/build/plugins/Module.d.ts +2 -2
- package/build/storage/BaseRecord.js +4 -1
- package/build/storage/BaseRecord.js.map +1 -1
- package/build/storage/Metadata.js +5 -3
- package/build/storage/Metadata.js.map +1 -1
- package/build/storage/index.d.ts +0 -1
- package/build/storage/index.js +0 -1
- package/build/storage/index.js.map +1 -1
- package/build/storage/migration/UpdateAssistant.d.ts +2 -2
- package/build/storage/migration/UpdateAssistant.js +5 -7
- package/build/storage/migration/UpdateAssistant.js.map +1 -1
- package/build/storage/migration/isUpToDate.js +1 -1
- package/build/storage/migration/isUpToDate.js.map +1 -1
- package/build/storage/migration/repository/StorageVersionRecord.js +2 -3
- package/build/storage/migration/repository/StorageVersionRecord.js.map +1 -1
- package/build/storage/migration/updates/0.4-0.5/index.js +0 -4
- package/build/storage/migration/updates/0.4-0.5/index.js.map +1 -1
- package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.js +1 -2
- package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.js.map +1 -1
- package/build/storage/migration/updates.d.ts +7 -7
- package/build/storage/migration/updates.js +2 -4
- package/build/storage/migration/updates.js.map +1 -1
- package/build/types.d.ts +22 -52
- package/build/types.js +1 -6
- package/build/types.js.map +1 -1
- package/build/utils/MultiHashEncoder.js +1 -1
- package/build/utils/MultiHashEncoder.js.map +1 -1
- package/build/utils/fetch.js +5 -3
- package/build/utils/fetch.js.map +1 -1
- package/build/utils/index.d.ts +1 -1
- package/build/utils/index.js +1 -1
- package/build/utils/index.js.map +1 -1
- package/build/utils/transformers.d.ts +0 -1
- package/build/utils/transformers.js +2 -19
- package/build/utils/transformers.js.map +1 -1
- package/build/utils/validators.js +3 -4
- package/build/utils/validators.js.map +1 -1
- package/build/utils/version.js +1 -1
- package/build/utils/version.js.map +1 -1
- package/build/wallet/Wallet.d.ts +1 -1
- package/build/wallet/WalletApi.js +8 -2
- package/build/wallet/WalletApi.js.map +1 -1
- package/package.json +19 -20
- package/build/agent/AgentMessage.d.ts +0 -92
- package/build/agent/AgentMessage.js +0 -66
- package/build/agent/AgentMessage.js.map +0 -1
- package/build/agent/BaseMessage.d.ts +0 -11
- package/build/agent/BaseMessage.js +0 -34
- package/build/agent/BaseMessage.js.map +0 -1
- package/build/agent/Dispatcher.d.ts +0 -15
- package/build/agent/Dispatcher.js +0 -132
- package/build/agent/Dispatcher.js.map +0 -1
- package/build/agent/EnvelopeService.d.ts +0 -21
- package/build/agent/EnvelopeService.js +0 -66
- package/build/agent/EnvelopeService.js.map +0 -1
- package/build/agent/FeatureRegistry.d.ts +0 -21
- package/build/agent/FeatureRegistry.js +0 -66
- package/build/agent/FeatureRegistry.js.map +0 -1
- package/build/agent/MessageHandler.d.ts +0 -14
- package/build/agent/MessageHandler.js.map +0 -1
- package/build/agent/MessageHandlerMiddleware.d.ts +0 -7
- package/build/agent/MessageHandlerMiddleware.js +0 -26
- package/build/agent/MessageHandlerMiddleware.js.map +0 -1
- package/build/agent/MessageHandlerRegistry.d.ts +0 -30
- package/build/agent/MessageHandlerRegistry.js +0 -98
- package/build/agent/MessageHandlerRegistry.js.map +0 -1
- package/build/agent/MessageReceiver.d.ts +0 -63
- package/build/agent/MessageReceiver.js +0 -245
- package/build/agent/MessageReceiver.js.map +0 -1
- package/build/agent/MessageSender.d.ts +0 -56
- package/build/agent/MessageSender.js +0 -472
- package/build/agent/MessageSender.js.map +0 -1
- package/build/agent/TransportService.d.ts +0 -32
- package/build/agent/TransportService.js +0 -78
- package/build/agent/TransportService.js.map +0 -1
- package/build/agent/getOutboundMessageContext.d.ts +0 -27
- package/build/agent/getOutboundMessageContext.js +0 -198
- package/build/agent/getOutboundMessageContext.js.map +0 -1
- package/build/agent/models/InboundMessageContext.d.ts +0 -46
- package/build/agent/models/InboundMessageContext.js +0 -48
- package/build/agent/models/InboundMessageContext.js.map +0 -1
- package/build/agent/models/OutboundMessageContext.d.ts +0 -51
- package/build/agent/models/OutboundMessageContext.js +0 -46
- package/build/agent/models/OutboundMessageContext.js.map +0 -1
- package/build/agent/models/OutboundMessageSendStatus.d.ts +0 -6
- package/build/agent/models/OutboundMessageSendStatus.js +0 -11
- package/build/agent/models/OutboundMessageSendStatus.js.map +0 -1
- package/build/agent/models/features/Feature.d.ts +0 -18
- package/build/agent/models/features/Feature.js +0 -62
- package/build/agent/models/features/Feature.js.map +0 -1
- package/build/agent/models/features/FeatureQuery.d.ts +0 -9
- package/build/agent/models/features/FeatureQuery.js +0 -33
- package/build/agent/models/features/FeatureQuery.js.map +0 -1
- package/build/agent/models/features/GoalCode.d.ts +0 -7
- package/build/agent/models/features/GoalCode.js +0 -12
- package/build/agent/models/features/GoalCode.js.map +0 -1
- package/build/agent/models/features/GovernanceFramework.d.ts +0 -7
- package/build/agent/models/features/GovernanceFramework.js +0 -12
- package/build/agent/models/features/GovernanceFramework.js.map +0 -1
- package/build/agent/models/features/Protocol.d.ts +0 -10
- package/build/agent/models/features/Protocol.js +0 -30
- package/build/agent/models/features/Protocol.js.map +0 -1
- package/build/agent/models/features/index.d.ts +0 -5
- package/build/agent/models/features/index.js +0 -22
- package/build/agent/models/features/index.js.map +0 -1
- package/build/agent/models/index.d.ts +0 -4
- package/build/agent/models/index.js +0 -21
- package/build/agent/models/index.js.map +0 -1
- package/build/crypto/jose/jwk/ecCompression.d.ts +0 -5
- package/build/crypto/jose/jwk/ecCompression.js +0 -108
- package/build/crypto/jose/jwk/ecCompression.js.map +0 -1
- package/build/decorators/ack/AckDecorator.d.ts +0 -13
- package/build/decorators/ack/AckDecorator.js +0 -38
- package/build/decorators/ack/AckDecorator.js.map +0 -1
- package/build/decorators/ack/AckDecoratorExtension.d.ts +0 -13
- package/build/decorators/ack/AckDecoratorExtension.js +0 -38
- package/build/decorators/ack/AckDecoratorExtension.js.map +0 -1
- package/build/decorators/attachment/Attachment.d.ts +0 -75
- package/build/decorators/attachment/Attachment.js +0 -168
- package/build/decorators/attachment/Attachment.js.map +0 -1
- package/build/decorators/attachment/AttachmentExtension.d.ts +0 -15
- package/build/decorators/attachment/AttachmentExtension.js +0 -41
- package/build/decorators/attachment/AttachmentExtension.js.map +0 -1
- package/build/decorators/l10n/L10nDecorator.d.ts +0 -7
- package/build/decorators/l10n/L10nDecorator.js +0 -13
- package/build/decorators/l10n/L10nDecorator.js.map +0 -1
- package/build/decorators/l10n/L10nDecoratorExtension.d.ts +0 -12
- package/build/decorators/l10n/L10nDecoratorExtension.js +0 -40
- package/build/decorators/l10n/L10nDecoratorExtension.js.map +0 -1
- package/build/decorators/service/ServiceDecorator.d.ts +0 -20
- package/build/decorators/service/ServiceDecorator.js +0 -63
- package/build/decorators/service/ServiceDecorator.js.map +0 -1
- package/build/decorators/service/ServiceDecoratorExtension.d.ts +0 -12
- package/build/decorators/service/ServiceDecoratorExtension.js +0 -31
- package/build/decorators/service/ServiceDecoratorExtension.js.map +0 -1
- package/build/decorators/signature/SignatureDecorator.d.ts +0 -11
- package/build/decorators/signature/SignatureDecorator.js +0 -55
- package/build/decorators/signature/SignatureDecorator.js.map +0 -1
- package/build/decorators/signature/SignatureDecoratorUtils.d.ts +0 -21
- package/build/decorators/signature/SignatureDecoratorUtils.js +0 -58
- package/build/decorators/signature/SignatureDecoratorUtils.js.map +0 -1
- package/build/decorators/thread/ThreadDecorator.d.ts +0 -26
- package/build/decorators/thread/ThreadDecorator.js +0 -52
- package/build/decorators/thread/ThreadDecorator.js.map +0 -1
- package/build/decorators/thread/ThreadDecoratorExtension.d.ts +0 -15
- package/build/decorators/thread/ThreadDecoratorExtension.js +0 -36
- package/build/decorators/thread/ThreadDecoratorExtension.js.map +0 -1
- package/build/decorators/timing/TimingDecorator.d.ts +0 -38
- package/build/decorators/timing/TimingDecorator.js +0 -93
- package/build/decorators/timing/TimingDecorator.js.map +0 -1
- package/build/decorators/timing/TimingDecoratorExtension.d.ts +0 -14
- package/build/decorators/timing/TimingDecoratorExtension.js +0 -32
- package/build/decorators/timing/TimingDecoratorExtension.js.map +0 -1
- package/build/decorators/transport/TransportDecorator.d.ts +0 -20
- package/build/decorators/transport/TransportDecorator.js +0 -51
- package/build/decorators/transport/TransportDecorator.js.map +0 -1
- package/build/decorators/transport/TransportDecoratorExtension.d.ts +0 -13
- package/build/decorators/transport/TransportDecoratorExtension.js +0 -54
- package/build/decorators/transport/TransportDecoratorExtension.js.map +0 -1
- package/build/error/MessageSendingError.d.ts +0 -9
- package/build/error/MessageSendingError.js +0 -12
- package/build/error/MessageSendingError.js.map +0 -1
- package/build/modules/basic-messages/BasicMessageEvents.d.ts +0 -13
- package/build/modules/basic-messages/BasicMessageEvents.js +0 -8
- package/build/modules/basic-messages/BasicMessageEvents.js.map +0 -1
- package/build/modules/basic-messages/BasicMessageRole.d.ts +0 -4
- package/build/modules/basic-messages/BasicMessageRole.js +0 -9
- package/build/modules/basic-messages/BasicMessageRole.js.map +0 -1
- package/build/modules/basic-messages/BasicMessagesApi.d.ts +0 -58
- package/build/modules/basic-messages/BasicMessagesApi.js +0 -103
- package/build/modules/basic-messages/BasicMessagesApi.js.map +0 -1
- package/build/modules/basic-messages/BasicMessagesModule.d.ts +0 -10
- package/build/modules/basic-messages/BasicMessagesModule.js +0 -29
- package/build/modules/basic-messages/BasicMessagesModule.js.map +0 -1
- package/build/modules/basic-messages/handlers/BasicMessageHandler.d.ts +0 -9
- package/build/modules/basic-messages/handlers/BasicMessageHandler.js +0 -16
- package/build/modules/basic-messages/handlers/BasicMessageHandler.js.map +0 -1
- package/build/modules/basic-messages/handlers/index.d.ts +0 -1
- package/build/modules/basic-messages/handlers/index.js.map +0 -1
- package/build/modules/basic-messages/index.d.ts +0 -7
- package/build/modules/basic-messages/index.js +0 -24
- package/build/modules/basic-messages/index.js.map +0 -1
- package/build/modules/basic-messages/messages/BasicMessage.d.ts +0 -19
- package/build/modules/basic-messages/messages/BasicMessage.js +0 -53
- package/build/modules/basic-messages/messages/BasicMessage.js.map +0 -1
- package/build/modules/basic-messages/messages/index.d.ts +0 -1
- package/build/modules/basic-messages/messages/index.js +0 -18
- package/build/modules/basic-messages/messages/index.js.map +0 -1
- package/build/modules/basic-messages/repository/BasicMessageRecord.d.ts +0 -39
- package/build/modules/basic-messages/repository/BasicMessageRecord.js +0 -29
- package/build/modules/basic-messages/repository/BasicMessageRecord.js.map +0 -1
- package/build/modules/basic-messages/repository/BasicMessageRepository.d.ts +0 -7
- package/build/modules/basic-messages/repository/BasicMessageRepository.js +0 -32
- package/build/modules/basic-messages/repository/BasicMessageRepository.js.map +0 -1
- package/build/modules/basic-messages/repository/index.d.ts +0 -2
- package/build/modules/basic-messages/repository/index.js +0 -19
- package/build/modules/basic-messages/repository/index.js.map +0 -1
- package/build/modules/basic-messages/services/BasicMessageService.d.ts +0 -26
- package/build/modules/basic-messages/services/BasicMessageService.js +0 -86
- package/build/modules/basic-messages/services/BasicMessageService.js.map +0 -1
- package/build/modules/basic-messages/services/index.d.ts +0 -1
- package/build/modules/basic-messages/services/index.js.map +0 -1
- package/build/modules/common/index.d.ts +0 -1
- package/build/modules/common/index.js +0 -18
- package/build/modules/common/index.js.map +0 -1
- package/build/modules/common/messages/AckMessage.d.ts +0 -26
- package/build/modules/common/messages/AckMessage.js +0 -54
- package/build/modules/common/messages/AckMessage.js.map +0 -1
- package/build/modules/connections/ConnectionEvents.d.ts +0 -28
- package/build/modules/connections/ConnectionEvents.js +0 -9
- package/build/modules/connections/ConnectionEvents.js.map +0 -1
- package/build/modules/connections/ConnectionsApi.d.ts +0 -195
- package/build/modules/connections/ConnectionsApi.js +0 -450
- package/build/modules/connections/ConnectionsApi.js.map +0 -1
- package/build/modules/connections/ConnectionsModule.d.ts +0 -14
- package/build/modules/connections/ConnectionsModule.js +0 -43
- package/build/modules/connections/ConnectionsModule.js.map +0 -1
- package/build/modules/connections/ConnectionsModuleConfig.d.ts +0 -47
- package/build/modules/connections/ConnectionsModuleConfig.js +0 -57
- package/build/modules/connections/ConnectionsModuleConfig.js.map +0 -1
- package/build/modules/connections/DidExchangeProtocol.d.ts +0 -60
- package/build/modules/connections/DidExchangeProtocol.js +0 -484
- package/build/modules/connections/DidExchangeProtocol.js.map +0 -1
- package/build/modules/connections/DidExchangeStateMachine.d.ts +0 -10
- package/build/modules/connections/DidExchangeStateMachine.js +0 -78
- package/build/modules/connections/DidExchangeStateMachine.js.map +0 -1
- package/build/modules/connections/TrustPingEvents.d.ts +0 -21
- package/build/modules/connections/TrustPingEvents.js +0 -9
- package/build/modules/connections/TrustPingEvents.js.map +0 -1
- package/build/modules/connections/errors/ConnectionProblemReportError.d.ts +0 -13
- package/build/modules/connections/errors/ConnectionProblemReportError.js +0 -19
- package/build/modules/connections/errors/ConnectionProblemReportError.js.map +0 -1
- package/build/modules/connections/errors/ConnectionProblemReportReason.d.ts +0 -11
- package/build/modules/connections/errors/ConnectionProblemReportReason.js +0 -16
- package/build/modules/connections/errors/ConnectionProblemReportReason.js.map +0 -1
- package/build/modules/connections/errors/DidExchangeProblemReportError.d.ts +0 -13
- package/build/modules/connections/errors/DidExchangeProblemReportError.js +0 -19
- package/build/modules/connections/errors/DidExchangeProblemReportError.js.map +0 -1
- package/build/modules/connections/errors/DidExchangeProblemReportReason.d.ts +0 -12
- package/build/modules/connections/errors/DidExchangeProblemReportReason.js +0 -17
- package/build/modules/connections/errors/DidExchangeProblemReportReason.js.map +0 -1
- package/build/modules/connections/errors/index.d.ts +0 -4
- package/build/modules/connections/errors/index.js +0 -21
- package/build/modules/connections/errors/index.js.map +0 -1
- package/build/modules/connections/handlers/AckMessageHandler.d.ts +0 -9
- package/build/modules/connections/handlers/AckMessageHandler.js +0 -15
- package/build/modules/connections/handlers/AckMessageHandler.js.map +0 -1
- package/build/modules/connections/handlers/ConnectionProblemReportHandler.d.ts +0 -9
- package/build/modules/connections/handlers/ConnectionProblemReportHandler.js +0 -15
- package/build/modules/connections/handlers/ConnectionProblemReportHandler.js.map +0 -1
- package/build/modules/connections/handlers/ConnectionRequestHandler.d.ts +0 -18
- package/build/modules/connections/handlers/ConnectionRequestHandler.js +0 -69
- package/build/modules/connections/handlers/ConnectionRequestHandler.js.map +0 -1
- package/build/modules/connections/handlers/ConnectionResponseHandler.d.ts +0 -16
- package/build/modules/connections/handlers/ConnectionResponseHandler.js +0 -62
- package/build/modules/connections/handlers/ConnectionResponseHandler.js.map +0 -1
- package/build/modules/connections/handlers/DidExchangeCompleteHandler.d.ts +0 -11
- package/build/modules/connections/handlers/DidExchangeCompleteHandler.js +0 -41
- package/build/modules/connections/handlers/DidExchangeCompleteHandler.js.map +0 -1
- package/build/modules/connections/handlers/DidExchangeRequestHandler.d.ts +0 -18
- package/build/modules/connections/handlers/DidExchangeRequestHandler.js +0 -77
- package/build/modules/connections/handlers/DidExchangeRequestHandler.js.map +0 -1
- package/build/modules/connections/handlers/DidExchangeResponseHandler.d.ts +0 -18
- package/build/modules/connections/handlers/DidExchangeResponseHandler.js +0 -78
- package/build/modules/connections/handlers/DidExchangeResponseHandler.js.map +0 -1
- package/build/modules/connections/handlers/DidRotateAckHandler.d.ts +0 -9
- package/build/modules/connections/handlers/DidRotateAckHandler.js +0 -15
- package/build/modules/connections/handlers/DidRotateAckHandler.js.map +0 -1
- package/build/modules/connections/handlers/DidRotateHandler.d.ts +0 -11
- package/build/modules/connections/handlers/DidRotateHandler.js +0 -21
- package/build/modules/connections/handlers/DidRotateHandler.js.map +0 -1
- package/build/modules/connections/handlers/DidRotateProblemReportHandler.d.ts +0 -9
- package/build/modules/connections/handlers/DidRotateProblemReportHandler.js +0 -15
- package/build/modules/connections/handlers/DidRotateProblemReportHandler.js.map +0 -1
- package/build/modules/connections/handlers/HangupHandler.d.ts +0 -9
- package/build/modules/connections/handlers/HangupHandler.js +0 -15
- package/build/modules/connections/handlers/HangupHandler.js.map +0 -1
- package/build/modules/connections/handlers/TrustPingMessageHandler.d.ts +0 -11
- package/build/modules/connections/handlers/TrustPingMessageHandler.js +0 -27
- package/build/modules/connections/handlers/TrustPingMessageHandler.js.map +0 -1
- package/build/modules/connections/handlers/TrustPingResponseMessageHandler.d.ts +0 -9
- package/build/modules/connections/handlers/TrustPingResponseMessageHandler.js +0 -15
- package/build/modules/connections/handlers/TrustPingResponseMessageHandler.js.map +0 -1
- package/build/modules/connections/handlers/index.d.ts +0 -13
- package/build/modules/connections/handlers/index.js +0 -30
- package/build/modules/connections/handlers/index.js.map +0 -1
- package/build/modules/connections/index.d.ts +0 -10
- package/build/modules/connections/index.js +0 -27
- package/build/modules/connections/index.js.map +0 -1
- package/build/modules/connections/messages/ConnectionInvitationMessage.d.ts +0 -55
- package/build/modules/connections/messages/ConnectionInvitationMessage.js +0 -141
- package/build/modules/connections/messages/ConnectionInvitationMessage.js.map +0 -1
- package/build/modules/connections/messages/ConnectionProblemReportMessage.d.ts +0 -16
- package/build/modules/connections/messages/ConnectionProblemReportMessage.js +0 -35
- package/build/modules/connections/messages/ConnectionProblemReportMessage.js.map +0 -1
- package/build/modules/connections/messages/ConnectionRequestMessage.d.ts +0 -28
- package/build/modules/connections/messages/ConnectionRequestMessage.js +0 -64
- package/build/modules/connections/messages/ConnectionRequestMessage.js.map +0 -1
- package/build/modules/connections/messages/ConnectionResponseMessage.d.ts +0 -23
- package/build/modules/connections/messages/ConnectionResponseMessage.js +0 -52
- package/build/modules/connections/messages/ConnectionResponseMessage.js.map +0 -1
- package/build/modules/connections/messages/DidExchangeCompleteMessage.d.ts +0 -14
- package/build/modules/connections/messages/DidExchangeCompleteMessage.js +0 -38
- package/build/modules/connections/messages/DidExchangeCompleteMessage.js.map +0 -1
- package/build/modules/connections/messages/DidExchangeProblemReportMessage.d.ts +0 -11
- package/build/modules/connections/messages/DidExchangeProblemReportMessage.js +0 -30
- package/build/modules/connections/messages/DidExchangeProblemReportMessage.js.map +0 -1
- package/build/modules/connections/messages/DidExchangeRequestMessage.d.ts +0 -29
- package/build/modules/connections/messages/DidExchangeRequestMessage.js +0 -73
- package/build/modules/connections/messages/DidExchangeRequestMessage.js.map +0 -1
- package/build/modules/connections/messages/DidExchangeResponseMessage.d.ts +0 -24
- package/build/modules/connections/messages/DidExchangeResponseMessage.js +0 -64
- package/build/modules/connections/messages/DidExchangeResponseMessage.js.map +0 -1
- package/build/modules/connections/messages/DidRotateAckMessage.d.ts +0 -12
- package/build/modules/connections/messages/DidRotateAckMessage.js +0 -31
- package/build/modules/connections/messages/DidRotateAckMessage.js.map +0 -1
- package/build/modules/connections/messages/DidRotateMessage.d.ts +0 -20
- package/build/modules/connections/messages/DidRotateMessage.js +0 -47
- package/build/modules/connections/messages/DidRotateMessage.js.map +0 -1
- package/build/modules/connections/messages/DidRotateProblemReportMessage.d.ts +0 -11
- package/build/modules/connections/messages/DidRotateProblemReportMessage.js +0 -30
- package/build/modules/connections/messages/DidRotateProblemReportMessage.js.map +0 -1
- package/build/modules/connections/messages/HangupMessage.d.ts +0 -19
- package/build/modules/connections/messages/HangupMessage.js +0 -40
- package/build/modules/connections/messages/HangupMessage.js.map +0 -1
- package/build/modules/connections/messages/TrustPingMessage.d.ts +0 -26
- package/build/modules/connections/messages/TrustPingMessage.js +0 -63
- package/build/modules/connections/messages/TrustPingMessage.js.map +0 -1
- package/build/modules/connections/messages/TrustPingResponseMessage.d.ts +0 -25
- package/build/modules/connections/messages/TrustPingResponseMessage.js +0 -57
- package/build/modules/connections/messages/TrustPingResponseMessage.js.map +0 -1
- package/build/modules/connections/messages/index.d.ts +0 -14
- package/build/modules/connections/messages/index.js +0 -31
- package/build/modules/connections/messages/index.js.map +0 -1
- package/build/modules/connections/models/Connection.d.ts +0 -10
- package/build/modules/connections/models/Connection.js +0 -38
- package/build/modules/connections/models/Connection.js.map +0 -1
- package/build/modules/connections/models/ConnectionRole.d.ts +0 -4
- package/build/modules/connections/models/ConnectionRole.js +0 -9
- package/build/modules/connections/models/ConnectionRole.js.map +0 -1
- package/build/modules/connections/models/ConnectionState.d.ts +0 -14
- package/build/modules/connections/models/ConnectionState.js +0 -33
- package/build/modules/connections/models/ConnectionState.js.map +0 -1
- package/build/modules/connections/models/ConnectionType.d.ts +0 -3
- package/build/modules/connections/models/ConnectionType.js +0 -8
- package/build/modules/connections/models/ConnectionType.js.map +0 -1
- package/build/modules/connections/models/DidExchangeRole.d.ts +0 -4
- package/build/modules/connections/models/DidExchangeRole.js +0 -9
- package/build/modules/connections/models/DidExchangeRole.js.map +0 -1
- package/build/modules/connections/models/DidExchangeState.d.ts +0 -16
- package/build/modules/connections/models/DidExchangeState.js +0 -21
- package/build/modules/connections/models/DidExchangeState.js.map +0 -1
- package/build/modules/connections/models/DidRotateRole.d.ts +0 -4
- package/build/modules/connections/models/DidRotateRole.js +0 -9
- package/build/modules/connections/models/DidRotateRole.js.map +0 -1
- package/build/modules/connections/models/HandshakeProtocol.d.ts +0 -8
- package/build/modules/connections/models/HandshakeProtocol.js +0 -13
- package/build/modules/connections/models/HandshakeProtocol.js.map +0 -1
- package/build/modules/connections/models/InvitationDetails.d.ts +0 -6
- package/build/modules/connections/models/InvitationDetails.js.map +0 -1
- package/build/modules/connections/models/did/DidDoc.d.ts +0 -37
- package/build/modules/connections/models/did/DidDoc.js +0 -94
- package/build/modules/connections/models/did/DidDoc.js.map +0 -1
- package/build/modules/connections/models/did/authentication/Authentication.d.ts +0 -4
- package/build/modules/connections/models/did/authentication/Authentication.js +0 -7
- package/build/modules/connections/models/did/authentication/Authentication.js.map +0 -1
- package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.d.ts +0 -6
- package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.js +0 -29
- package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.js.map +0 -1
- package/build/modules/connections/models/did/authentication/ReferencedAuthentication.d.ts +0 -7
- package/build/modules/connections/models/did/authentication/ReferencedAuthentication.js +0 -35
- package/build/modules/connections/models/did/authentication/ReferencedAuthentication.js.map +0 -1
- package/build/modules/connections/models/did/authentication/index.d.ts +0 -19
- package/build/modules/connections/models/did/authentication/index.js +0 -59
- package/build/modules/connections/models/did/authentication/index.js.map +0 -1
- package/build/modules/connections/models/did/index.d.ts +0 -3
- package/build/modules/connections/models/did/index.js +0 -20
- package/build/modules/connections/models/did/index.js.map +0 -1
- package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.d.ts +0 -10
- package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.js +0 -35
- package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.js.map +0 -1
- package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.d.ts +0 -10
- package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.js +0 -35
- package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.js.map +0 -1
- package/build/modules/connections/models/did/publicKey/PublicKey.d.ts +0 -12
- package/build/modules/connections/models/did/publicKey/PublicKey.js +0 -42
- package/build/modules/connections/models/did/publicKey/PublicKey.js.map +0 -1
- package/build/modules/connections/models/did/publicKey/RsaSig2018.d.ts +0 -10
- package/build/modules/connections/models/did/publicKey/RsaSig2018.js +0 -35
- package/build/modules/connections/models/did/publicKey/RsaSig2018.js.map +0 -1
- package/build/modules/connections/models/did/publicKey/index.d.ts +0 -18
- package/build/modules/connections/models/did/publicKey/index.js +0 -40
- package/build/modules/connections/models/did/publicKey/index.js.map +0 -1
- package/build/modules/connections/models/index.d.ts +0 -9
- package/build/modules/connections/models/index.js +0 -26
- package/build/modules/connections/models/index.js.map +0 -1
- package/build/modules/connections/repository/ConnectionMetadataTypes.d.ts +0 -14
- package/build/modules/connections/repository/ConnectionMetadataTypes.js +0 -9
- package/build/modules/connections/repository/ConnectionMetadataTypes.js.map +0 -1
- package/build/modules/connections/repository/ConnectionRecord.d.ts +0 -70
- package/build/modules/connections/repository/ConnectionRecord.js +0 -90
- package/build/modules/connections/repository/ConnectionRecord.js.map +0 -1
- package/build/modules/connections/repository/ConnectionRepository.d.ts +0 -15
- package/build/modules/connections/repository/ConnectionRepository.js +0 -50
- package/build/modules/connections/repository/ConnectionRepository.js.map +0 -1
- package/build/modules/connections/repository/index.d.ts +0 -2
- package/build/modules/connections/repository/index.js +0 -19
- package/build/modules/connections/repository/index.js.map +0 -1
- package/build/modules/connections/services/ConnectionService.d.ts +0 -181
- package/build/modules/connections/services/ConnectionService.js +0 -692
- package/build/modules/connections/services/ConnectionService.js.map +0 -1
- package/build/modules/connections/services/DidRotateService.d.ts +0 -54
- package/build/modules/connections/services/DidRotateService.js +0 -242
- package/build/modules/connections/services/DidRotateService.js.map +0 -1
- package/build/modules/connections/services/TrustPingService.d.ts +0 -12
- package/build/modules/connections/services/TrustPingService.js +0 -54
- package/build/modules/connections/services/TrustPingService.js.map +0 -1
- package/build/modules/connections/services/helpers.d.ts +0 -16
- package/build/modules/connections/services/helpers.js +0 -155
- package/build/modules/connections/services/helpers.js.map +0 -1
- package/build/modules/connections/services/index.d.ts +0 -3
- package/build/modules/connections/services/index.js +0 -20
- package/build/modules/connections/services/index.js.map +0 -1
- package/build/modules/credentials/CredentialEvents.d.ts +0 -20
- package/build/modules/credentials/CredentialEvents.js +0 -9
- package/build/modules/credentials/CredentialEvents.js.map +0 -1
- package/build/modules/credentials/CredentialsApi.d.ts +0 -60
- package/build/modules/credentials/CredentialsApi.js +0 -511
- package/build/modules/credentials/CredentialsApi.js.map +0 -1
- package/build/modules/credentials/CredentialsApiOptions.d.ts +0 -128
- package/build/modules/credentials/CredentialsApiOptions.js +0 -3
- package/build/modules/credentials/CredentialsApiOptions.js.map +0 -1
- package/build/modules/credentials/CredentialsModule.d.ts +0 -22
- package/build/modules/credentials/CredentialsModule.js +0 -45
- package/build/modules/credentials/CredentialsModule.js.map +0 -1
- package/build/modules/credentials/CredentialsModuleConfig.d.ts +0 -34
- package/build/modules/credentials/CredentialsModuleConfig.js +0 -20
- package/build/modules/credentials/CredentialsModuleConfig.js.map +0 -1
- package/build/modules/credentials/formats/CredentialFormat.d.ts +0 -40
- package/build/modules/credentials/formats/CredentialFormat.js +0 -3
- package/build/modules/credentials/formats/CredentialFormat.js.map +0 -1
- package/build/modules/credentials/formats/CredentialFormatService.d.ts +0 -23
- package/build/modules/credentials/formats/CredentialFormatService.js +0 -3
- package/build/modules/credentials/formats/CredentialFormatService.js.map +0 -1
- package/build/modules/credentials/formats/CredentialFormatServiceOptions.d.ts +0 -117
- package/build/modules/credentials/formats/CredentialFormatServiceOptions.js +0 -3
- package/build/modules/credentials/formats/CredentialFormatServiceOptions.js.map +0 -1
- package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.d.ts +0 -51
- package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.js +0 -3
- package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.js.map +0 -1
- package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.d.ts +0 -77
- package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.js +0 -129
- package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.js.map +0 -1
- package/build/modules/credentials/formats/dataIntegrity/index.d.ts +0 -2
- package/build/modules/credentials/formats/dataIntegrity/index.js +0 -19
- package/build/modules/credentials/formats/dataIntegrity/index.js.map +0 -1
- package/build/modules/credentials/formats/index.d.ts +0 -5
- package/build/modules/credentials/formats/index.js +0 -22
- package/build/modules/credentials/formats/index.js.map +0 -1
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.d.ts +0 -15
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.js +0 -38
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.js.map +0 -1
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.d.ts +0 -24
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.js +0 -67
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.js.map +0 -1
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.d.ts +0 -92
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.js +0 -3
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.js.map +0 -1
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.d.ts +0 -71
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.js +0 -300
- package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.js.map +0 -1
- package/build/modules/credentials/formats/jsonld/index.d.ts +0 -4
- package/build/modules/credentials/formats/jsonld/index.js +0 -21
- package/build/modules/credentials/formats/jsonld/index.js.map +0 -1
- package/build/modules/credentials/index.d.ts +0 -9
- package/build/modules/credentials/index.js +0 -26
- package/build/modules/credentials/index.js.map +0 -1
- package/build/modules/credentials/models/CredentialAutoAcceptType.d.ts +0 -11
- package/build/modules/credentials/models/CredentialAutoAcceptType.js +0 -16
- package/build/modules/credentials/models/CredentialAutoAcceptType.js.map +0 -1
- package/build/modules/credentials/models/CredentialFormatSpec.d.ts +0 -9
- package/build/modules/credentials/models/CredentialFormatSpec.js +0 -35
- package/build/modules/credentials/models/CredentialFormatSpec.js.map +0 -1
- package/build/modules/credentials/models/CredentialPreviewAttribute.d.ts +0 -15
- package/build/modules/credentials/models/CredentialPreviewAttribute.js +0 -44
- package/build/modules/credentials/models/CredentialPreviewAttribute.js.map +0 -1
- package/build/modules/credentials/models/CredentialProblemReportReason.d.ts +0 -8
- package/build/modules/credentials/models/CredentialProblemReportReason.js +0 -13
- package/build/modules/credentials/models/CredentialProblemReportReason.js.map +0 -1
- package/build/modules/credentials/models/CredentialRole.d.ts +0 -4
- package/build/modules/credentials/models/CredentialRole.js +0 -9
- package/build/modules/credentials/models/CredentialRole.js.map +0 -1
- package/build/modules/credentials/models/CredentialState.d.ts +0 -18
- package/build/modules/credentials/models/CredentialState.js +0 -23
- package/build/modules/credentials/models/CredentialState.js.map +0 -1
- package/build/modules/credentials/models/RevocationNotification.d.ts +0 -5
- package/build/modules/credentials/models/RevocationNotification.js +0 -11
- package/build/modules/credentials/models/RevocationNotification.js.map +0 -1
- package/build/modules/credentials/models/index.d.ts +0 -7
- package/build/modules/credentials/models/index.js +0 -24
- package/build/modules/credentials/models/index.js.map +0 -1
- package/build/modules/credentials/protocol/BaseCredentialProtocol.d.ts +0 -112
- package/build/modules/credentials/protocol/BaseCredentialProtocol.js +0 -169
- package/build/modules/credentials/protocol/BaseCredentialProtocol.js.map +0 -1
- package/build/modules/credentials/protocol/CredentialProtocol.d.ts +0 -54
- package/build/modules/credentials/protocol/CredentialProtocol.js +0 -3
- package/build/modules/credentials/protocol/CredentialProtocol.js.map +0 -1
- package/build/modules/credentials/protocol/CredentialProtocolOptions.d.ts +0 -143
- package/build/modules/credentials/protocol/CredentialProtocolOptions.js +0 -3
- package/build/modules/credentials/protocol/CredentialProtocolOptions.js.map +0 -1
- package/build/modules/credentials/protocol/index.d.ts +0 -6
- package/build/modules/credentials/protocol/index.js +0 -40
- package/build/modules/credentials/protocol/index.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.d.ts +0 -9
- package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.js +0 -15
- package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.d.ts +0 -9
- package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.js +0 -15
- package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/handlers/index.d.ts +0 -2
- package/build/modules/credentials/protocol/revocation-notification/handlers/index.js +0 -19
- package/build/modules/credentials/protocol/revocation-notification/handlers/index.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/index.d.ts +0 -1
- package/build/modules/credentials/protocol/revocation-notification/index.js +0 -18
- package/build/modules/credentials/protocol/revocation-notification/index.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.d.ts +0 -15
- package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.js +0 -46
- package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.d.ts +0 -17
- package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.js +0 -52
- package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/messages/index.d.ts +0 -2
- package/build/modules/credentials/protocol/revocation-notification/messages/index.js +0 -19
- package/build/modules/credentials/protocol/revocation-notification/messages/index.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.d.ts +0 -36
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.js +0 -143
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.d.ts +0 -6
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.js +0 -3
- package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/services/index.d.ts +0 -2
- package/build/modules/credentials/protocol/revocation-notification/services/index.js +0 -19
- package/build/modules/credentials/protocol/revocation-notification/services/index.js.map +0 -1
- package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.d.ts +0 -5
- package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.js +0 -13
- package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.js.map +0 -1
- package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.d.ts +0 -100
- package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.js +0 -365
- package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.js.map +0 -1
- package/build/modules/credentials/protocol/v2/V2CredentialProtocol.d.ts +0 -178
- package/build/modules/credentials/protocol/v2/V2CredentialProtocol.js +0 -946
- package/build/modules/credentials/protocol/v2/V2CredentialProtocol.js.map +0 -1
- package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.d.ts +0 -11
- package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.js +0 -18
- package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.js.map +0 -1
- package/build/modules/credentials/protocol/v2/errors/index.d.ts +0 -1
- package/build/modules/credentials/protocol/v2/errors/index.js +0 -6
- package/build/modules/credentials/protocol/v2/errors/index.js.map +0 -1
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.d.ts +0 -9
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.js +0 -15
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.js.map +0 -1
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.d.ts +0 -9
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.js +0 -15
- package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.js.map +0 -1
- package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.d.ts +0 -11
- package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.js +0 -41
- package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.js.map +0 -1
- package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.d.ts +0 -11
- package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.js +0 -33
- package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.js.map +0 -1
- package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.d.ts +0 -12
- package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.js +0 -36
- package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.js.map +0 -1
- package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.d.ts +0 -11
- package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.js +0 -41
- package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.js.map +0 -1
- package/build/modules/credentials/protocol/v2/handlers/index.d.ts +0 -6
- package/build/modules/credentials/protocol/v2/handlers/index.js +0 -23
- package/build/modules/credentials/protocol/v2/handlers/index.js.map +0 -1
- package/build/modules/credentials/protocol/v2/index.d.ts +0 -3
- package/build/modules/credentials/protocol/v2/index.js +0 -20
- package/build/modules/credentials/protocol/v2/index.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.d.ts +0 -15
- package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.js +0 -34
- package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.d.ts +0 -26
- package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.js +0 -71
- package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.d.ts +0 -15
- package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.js +0 -34
- package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.d.ts +0 -22
- package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.js +0 -76
- package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.d.ts +0 -27
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.js +0 -92
- package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.d.ts +0 -30
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.js +0 -87
- package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.d.ts +0 -27
- package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.js +0 -77
- package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.js.map +0 -1
- package/build/modules/credentials/protocol/v2/messages/index.d.ts +0 -7
- package/build/modules/credentials/protocol/v2/messages/index.js +0 -24
- package/build/modules/credentials/protocol/v2/messages/index.js.map +0 -1
- package/build/modules/credentials/repository/CredentialExchangeRecord.d.ts +0 -66
- package/build/modules/credentials/repository/CredentialExchangeRecord.js +0 -80
- package/build/modules/credentials/repository/CredentialExchangeRecord.js.map +0 -1
- package/build/modules/credentials/repository/CredentialRepository.d.ts +0 -7
- package/build/modules/credentials/repository/CredentialRepository.js +0 -32
- package/build/modules/credentials/repository/CredentialRepository.js.map +0 -1
- package/build/modules/credentials/repository/index.d.ts +0 -2
- package/build/modules/credentials/repository/index.js +0 -19
- package/build/modules/credentials/repository/index.js.map +0 -1
- package/build/modules/credentials/util/composeAutoAccept.d.ts +0 -8
- package/build/modules/credentials/util/composeAutoAccept.js +0 -15
- package/build/modules/credentials/util/composeAutoAccept.js.map +0 -1
- package/build/modules/credentials/util/previewAttributes.d.ts +0 -2
- package/build/modules/credentials/util/previewAttributes.js +0 -24
- package/build/modules/credentials/util/previewAttributes.js.map +0 -1
- package/build/modules/didcomm/index.d.ts +0 -2
- package/build/modules/didcomm/index.js +0 -19
- package/build/modules/didcomm/index.js.map +0 -1
- package/build/modules/didcomm/services/DidCommDocumentService.d.ts +0 -8
- package/build/modules/didcomm/services/DidCommDocumentService.js +0 -83
- package/build/modules/didcomm/services/DidCommDocumentService.js.map +0 -1
- package/build/modules/didcomm/services/index.d.ts +0 -1
- package/build/modules/didcomm/services/index.js +0 -18
- package/build/modules/didcomm/services/index.js.map +0 -1
- package/build/modules/didcomm/types.d.ts +0 -7
- package/build/modules/didcomm/types.js +0 -3
- package/build/modules/didcomm/types.js.map +0 -1
- package/build/modules/didcomm/util/matchingEd25519Key.d.ts +0 -9
- package/build/modules/didcomm/util/matchingEd25519Key.js +0 -33
- package/build/modules/didcomm/util/matchingEd25519Key.js.map +0 -1
- package/build/modules/discover-features/DiscoverFeaturesApi.d.ts +0 -31
- package/build/modules/discover-features/DiscoverFeaturesApi.js +0 -133
- package/build/modules/discover-features/DiscoverFeaturesApi.js.map +0 -1
- package/build/modules/discover-features/DiscoverFeaturesApiOptions.d.ts +0 -39
- package/build/modules/discover-features/DiscoverFeaturesApiOptions.js +0 -3
- package/build/modules/discover-features/DiscoverFeaturesApiOptions.js.map +0 -1
- package/build/modules/discover-features/DiscoverFeaturesEvents.d.ts +0 -28
- package/build/modules/discover-features/DiscoverFeaturesEvents.js +0 -9
- package/build/modules/discover-features/DiscoverFeaturesEvents.js.map +0 -1
- package/build/modules/discover-features/DiscoverFeaturesModule.d.ts +0 -14
- package/build/modules/discover-features/DiscoverFeaturesModule.js +0 -34
- package/build/modules/discover-features/DiscoverFeaturesModule.js.map +0 -1
- package/build/modules/discover-features/DiscoverFeaturesModuleConfig.d.ts +0 -18
- package/build/modules/discover-features/DiscoverFeaturesModuleConfig.js +0 -15
- package/build/modules/discover-features/DiscoverFeaturesModuleConfig.js.map +0 -1
- package/build/modules/discover-features/DiscoverFeaturesServiceOptions.d.ts +0 -13
- package/build/modules/discover-features/DiscoverFeaturesServiceOptions.js +0 -3
- package/build/modules/discover-features/DiscoverFeaturesServiceOptions.js.map +0 -1
- package/build/modules/discover-features/index.d.ts +0 -4
- package/build/modules/discover-features/index.js +0 -21
- package/build/modules/discover-features/index.js.map +0 -1
- package/build/modules/discover-features/protocol/index.d.ts +0 -2
- package/build/modules/discover-features/protocol/index.js +0 -19
- package/build/modules/discover-features/protocol/index.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.d.ts +0 -22
- package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.js +0 -116
- package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.d.ts +0 -9
- package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.js +0 -15
- package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.d.ts +0 -10
- package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.js +0 -23
- package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/handlers/index.d.ts +0 -2
- package/build/modules/discover-features/protocol/v1/handlers/index.js +0 -19
- package/build/modules/discover-features/protocol/v1/handlers/index.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/index.d.ts +0 -2
- package/build/modules/discover-features/protocol/v1/index.js +0 -19
- package/build/modules/discover-features/protocol/v1/index.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.d.ts +0 -21
- package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.js +0 -61
- package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/messages/QueryMessage.d.ts +0 -13
- package/build/modules/discover-features/protocol/v1/messages/QueryMessage.js +0 -43
- package/build/modules/discover-features/protocol/v1/messages/QueryMessage.js.map +0 -1
- package/build/modules/discover-features/protocol/v1/messages/index.d.ts +0 -2
- package/build/modules/discover-features/protocol/v1/messages/index.js +0 -19
- package/build/modules/discover-features/protocol/v1/messages/index.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.d.ts +0 -21
- package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.js +0 -96
- package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.d.ts +0 -9
- package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.js +0 -15
- package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.d.ts +0 -10
- package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.js +0 -23
- package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/handlers/index.d.ts +0 -2
- package/build/modules/discover-features/protocol/v2/handlers/index.js +0 -19
- package/build/modules/discover-features/protocol/v2/handlers/index.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/index.d.ts +0 -2
- package/build/modules/discover-features/protocol/v2/index.js +0 -19
- package/build/modules/discover-features/protocol/v2/index.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.d.ts +0 -13
- package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.js +0 -45
- package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.d.ts +0 -14
- package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.js +0 -41
- package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.js.map +0 -1
- package/build/modules/discover-features/protocol/v2/messages/index.d.ts +0 -2
- package/build/modules/discover-features/protocol/v2/messages/index.js +0 -19
- package/build/modules/discover-features/protocol/v2/messages/index.js.map +0 -1
- package/build/modules/discover-features/services/DiscoverFeaturesService.d.ts +0 -19
- package/build/modules/discover-features/services/DiscoverFeaturesService.js +0 -13
- package/build/modules/discover-features/services/DiscoverFeaturesService.js.map +0 -1
- package/build/modules/discover-features/services/index.d.ts +0 -1
- package/build/modules/discover-features/services/index.js +0 -18
- package/build/modules/discover-features/services/index.js.map +0 -1
- package/build/modules/message-pickup/MessagePickupApi.d.ts +0 -36
- package/build/modules/message-pickup/MessagePickupApi.js +0 -208
- package/build/modules/message-pickup/MessagePickupApi.js.map +0 -1
- package/build/modules/message-pickup/MessagePickupApiOptions.d.ts +0 -39
- package/build/modules/message-pickup/MessagePickupApiOptions.js +0 -3
- package/build/modules/message-pickup/MessagePickupApiOptions.js.map +0 -1
- package/build/modules/message-pickup/MessagePickupEvents.d.ts +0 -27
- package/build/modules/message-pickup/MessagePickupEvents.js +0 -10
- package/build/modules/message-pickup/MessagePickupEvents.js.map +0 -1
- package/build/modules/message-pickup/MessagePickupModule.d.ts +0 -23
- package/build/modules/message-pickup/MessagePickupModule.js +0 -41
- package/build/modules/message-pickup/MessagePickupModule.js.map +0 -1
- package/build/modules/message-pickup/MessagePickupModuleConfig.d.ts +0 -41
- package/build/modules/message-pickup/MessagePickupModuleConfig.js +0 -23
- package/build/modules/message-pickup/MessagePickupModuleConfig.js.map +0 -1
- package/build/modules/message-pickup/MessagePickupSession.d.ts +0 -12
- package/build/modules/message-pickup/MessagePickupSession.js +0 -9
- package/build/modules/message-pickup/MessagePickupSession.js.map +0 -1
- package/build/modules/message-pickup/index.d.ts +0 -8
- package/build/modules/message-pickup/index.js +0 -27
- package/build/modules/message-pickup/index.js.map +0 -1
- package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.d.ts +0 -17
- package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.js +0 -11
- package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.js.map +0 -1
- package/build/modules/message-pickup/protocol/MessagePickupProtocol.d.ts +0 -12
- package/build/modules/message-pickup/protocol/MessagePickupProtocol.js +0 -3
- package/build/modules/message-pickup/protocol/MessagePickupProtocol.js.map +0 -1
- package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.d.ts +0 -27
- package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.js +0 -3
- package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.js.map +0 -1
- package/build/modules/message-pickup/protocol/index.d.ts +0 -2
- package/build/modules/message-pickup/protocol/index.js +0 -19
- package/build/modules/message-pickup/protocol/index.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.d.ts +0 -24
- package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.js +0 -126
- package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.d.ts +0 -10
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.js +0 -23
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.d.ts +0 -9
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.js +0 -16
- package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/handlers/index.d.ts +0 -2
- package/build/modules/message-pickup/protocol/v1/handlers/index.js +0 -19
- package/build/modules/message-pickup/protocol/v1/handlers/index.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/index.d.ts +0 -2
- package/build/modules/message-pickup/protocol/v1/index.js +0 -19
- package/build/modules/message-pickup/protocol/v1/index.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.d.ts +0 -27
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.js +0 -71
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.d.ts +0 -22
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.js +0 -49
- package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v1/messages/index.d.ts +0 -2
- package/build/modules/message-pickup/protocol/v1/messages/index.js +0 -19
- package/build/modules/message-pickup/protocol/v1/messages/index.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.d.ts +0 -28
- package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js +0 -240
- package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.d.ts +0 -10
- package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.js +0 -16
- package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.d.ts +0 -10
- package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.js +0 -16
- package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.d.ts +0 -11
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.js +0 -23
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.d.ts +0 -10
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.js +0 -16
- package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.d.ts +0 -11
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.js +0 -23
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.d.ts +0 -10
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.js +0 -16
- package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/handlers/index.d.ts +0 -6
- package/build/modules/message-pickup/protocol/v2/handlers/index.js +0 -23
- package/build/modules/message-pickup/protocol/v2/handlers/index.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/index.d.ts +0 -2
- package/build/modules/message-pickup/protocol/v2/index.js +0 -19
- package/build/modules/message-pickup/protocol/v2/index.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.d.ts +0 -14
- package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.js +0 -47
- package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.d.ts +0 -12
- package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.js +0 -41
- package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.d.ts +0 -15
- package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.js +0 -48
- package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.d.ts +0 -12
- package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.js +0 -41
- package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.d.ts +0 -25
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.js +0 -89
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.d.ts +0 -12
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.js +0 -40
- package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.js.map +0 -1
- package/build/modules/message-pickup/protocol/v2/messages/index.d.ts +0 -6
- package/build/modules/message-pickup/protocol/v2/messages/index.js +0 -23
- package/build/modules/message-pickup/protocol/v2/messages/index.js.map +0 -1
- package/build/modules/message-pickup/services/MessagePickupSessionService.d.ts +0 -27
- package/build/modules/message-pickup/services/MessagePickupSessionService.js +0 -91
- package/build/modules/message-pickup/services/MessagePickupSessionService.js.map +0 -1
- package/build/modules/message-pickup/services/index.d.ts +0 -1
- package/build/modules/message-pickup/services/index.js +0 -18
- package/build/modules/message-pickup/services/index.js.map +0 -1
- package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.d.ts +0 -13
- package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.js +0 -77
- package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.js.map +0 -1
- package/build/modules/message-pickup/storage/MessagePickupRepository.d.ts +0 -8
- package/build/modules/message-pickup/storage/MessagePickupRepository.js +0 -3
- package/build/modules/message-pickup/storage/MessagePickupRepository.js.map +0 -1
- package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.d.ts +0 -20
- package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.js +0 -3
- package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.js.map +0 -1
- package/build/modules/message-pickup/storage/QueuedMessage.d.ts +0 -12
- package/build/modules/message-pickup/storage/QueuedMessage.js +0 -3
- package/build/modules/message-pickup/storage/QueuedMessage.js.map +0 -1
- package/build/modules/message-pickup/storage/index.d.ts +0 -4
- package/build/modules/message-pickup/storage/index.js +0 -21
- package/build/modules/message-pickup/storage/index.js.map +0 -1
- package/build/modules/oob/OutOfBandApi.d.ts +0 -276
- package/build/modules/oob/OutOfBandApi.js +0 -722
- package/build/modules/oob/OutOfBandApi.js.map +0 -1
- package/build/modules/oob/OutOfBandModule.d.ts +0 -10
- package/build/modules/oob/OutOfBandModule.js +0 -28
- package/build/modules/oob/OutOfBandModule.js.map +0 -1
- package/build/modules/oob/OutOfBandService.d.ts +0 -51
- package/build/modules/oob/OutOfBandService.js +0 -224
- package/build/modules/oob/OutOfBandService.js.map +0 -1
- package/build/modules/oob/domain/OutOfBandDidCommService.d.ts +0 -18
- package/build/modules/oob/domain/OutOfBandDidCommService.js +0 -77
- package/build/modules/oob/domain/OutOfBandDidCommService.js.map +0 -1
- package/build/modules/oob/domain/OutOfBandEvents.d.ts +0 -23
- package/build/modules/oob/domain/OutOfBandEvents.js +0 -9
- package/build/modules/oob/domain/OutOfBandEvents.js.map +0 -1
- package/build/modules/oob/domain/OutOfBandRole.d.ts +0 -4
- package/build/modules/oob/domain/OutOfBandRole.js +0 -9
- package/build/modules/oob/domain/OutOfBandRole.js.map +0 -1
- package/build/modules/oob/domain/OutOfBandState.d.ts +0 -6
- package/build/modules/oob/domain/OutOfBandState.js +0 -11
- package/build/modules/oob/domain/OutOfBandState.js.map +0 -1
- package/build/modules/oob/domain/index.d.ts +0 -4
- package/build/modules/oob/domain/index.js +0 -21
- package/build/modules/oob/domain/index.js.map +0 -1
- package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.d.ts +0 -10
- package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.js +0 -16
- package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.js.map +0 -1
- package/build/modules/oob/handlers/HandshakeReuseHandler.d.ts +0 -11
- package/build/modules/oob/handlers/HandshakeReuseHandler.js +0 -21
- package/build/modules/oob/handlers/HandshakeReuseHandler.js.map +0 -1
- package/build/modules/oob/handlers/index.d.ts +0 -1
- package/build/modules/oob/handlers/index.js +0 -18
- package/build/modules/oob/handlers/index.js.map +0 -1
- package/build/modules/oob/helpers.d.ts +0 -4
- package/build/modules/oob/helpers.js +0 -71
- package/build/modules/oob/helpers.js.map +0 -1
- package/build/modules/oob/index.d.ts +0 -6
- package/build/modules/oob/index.js +0 -23
- package/build/modules/oob/index.js.map +0 -1
- package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.d.ts +0 -11
- package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.js +0 -35
- package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.js.map +0 -1
- package/build/modules/oob/messages/HandshakeReuseMessage.d.ts +0 -10
- package/build/modules/oob/messages/HandshakeReuseMessage.js +0 -34
- package/build/modules/oob/messages/HandshakeReuseMessage.js.map +0 -1
- package/build/modules/oob/messages/OutOfBandInvitation.d.ts +0 -55
- package/build/modules/oob/messages/OutOfBandInvitation.js +0 -181
- package/build/modules/oob/messages/OutOfBandInvitation.js.map +0 -1
- package/build/modules/oob/messages/index.d.ts +0 -2
- package/build/modules/oob/messages/index.js +0 -19
- package/build/modules/oob/messages/index.js.map +0 -1
- package/build/modules/oob/repository/OutOfBandRecord.d.ts +0 -59
- package/build/modules/oob/repository/OutOfBandRecord.js +0 -63
- package/build/modules/oob/repository/OutOfBandRecord.js.map +0 -1
- package/build/modules/oob/repository/OutOfBandRepository.d.ts +0 -7
- package/build/modules/oob/repository/OutOfBandRepository.js +0 -32
- package/build/modules/oob/repository/OutOfBandRepository.js.map +0 -1
- package/build/modules/oob/repository/index.d.ts +0 -2
- package/build/modules/oob/repository/index.js +0 -19
- package/build/modules/oob/repository/index.js.map +0 -1
- package/build/modules/oob/repository/outOfBandRecordMetadataTypes.d.ts +0 -19
- package/build/modules/oob/repository/outOfBandRecordMetadataTypes.js +0 -9
- package/build/modules/oob/repository/outOfBandRecordMetadataTypes.js.map +0 -1
- package/build/modules/problem-reports/errors/ProblemReportError.d.ts +0 -9
- package/build/modules/problem-reports/errors/ProblemReportError.js +0 -18
- package/build/modules/problem-reports/errors/ProblemReportError.js.map +0 -1
- package/build/modules/problem-reports/errors/index.d.ts +0 -1
- package/build/modules/problem-reports/errors/index.js +0 -18
- package/build/modules/problem-reports/errors/index.js.map +0 -1
- package/build/modules/problem-reports/index.d.ts +0 -3
- package/build/modules/problem-reports/index.js.map +0 -1
- package/build/modules/problem-reports/messages/ProblemReportMessage.d.ts +0 -63
- package/build/modules/problem-reports/messages/ProblemReportMessage.js +0 -119
- package/build/modules/problem-reports/messages/ProblemReportMessage.js.map +0 -1
- package/build/modules/problem-reports/messages/index.d.ts +0 -1
- package/build/modules/problem-reports/messages/index.js +0 -18
- package/build/modules/problem-reports/messages/index.js.map +0 -1
- package/build/modules/problem-reports/models/ProblemReportReason.d.ts +0 -3
- package/build/modules/problem-reports/models/ProblemReportReason.js +0 -8
- package/build/modules/problem-reports/models/ProblemReportReason.js.map +0 -1
- package/build/modules/problem-reports/models/index.d.ts +0 -1
- package/build/modules/problem-reports/models/index.js +0 -18
- package/build/modules/problem-reports/models/index.js.map +0 -1
- package/build/modules/proofs/ProofEvents.d.ts +0 -13
- package/build/modules/proofs/ProofEvents.js +0 -8
- package/build/modules/proofs/ProofEvents.js.map +0 -1
- package/build/modules/proofs/ProofsApi.d.ts +0 -68
- package/build/modules/proofs/ProofsApi.js +0 -478
- package/build/modules/proofs/ProofsApi.js.map +0 -1
- package/build/modules/proofs/ProofsApiOptions.d.ts +0 -141
- package/build/modules/proofs/ProofsApiOptions.js +0 -3
- package/build/modules/proofs/ProofsApiOptions.js.map +0 -1
- package/build/modules/proofs/ProofsModule.d.ts +0 -23
- package/build/modules/proofs/ProofsModule.js +0 -31
- package/build/modules/proofs/ProofsModule.js.map +0 -1
- package/build/modules/proofs/ProofsModuleConfig.d.ts +0 -34
- package/build/modules/proofs/ProofsModuleConfig.js +0 -20
- package/build/modules/proofs/ProofsModuleConfig.js.map +0 -1
- package/build/modules/proofs/errors/PresentationProblemReportReason.d.ts +0 -8
- package/build/modules/proofs/errors/PresentationProblemReportReason.js +0 -13
- package/build/modules/proofs/errors/PresentationProblemReportReason.js.map +0 -1
- package/build/modules/proofs/errors/index.d.ts +0 -1
- package/build/modules/proofs/errors/index.js +0 -18
- package/build/modules/proofs/errors/index.js.map +0 -1
- package/build/modules/proofs/formats/ProofFormat.d.ts +0 -66
- package/build/modules/proofs/formats/ProofFormat.js +0 -3
- package/build/modules/proofs/formats/ProofFormat.js.map +0 -1
- package/build/modules/proofs/formats/ProofFormatService.d.ts +0 -19
- package/build/modules/proofs/formats/ProofFormatService.js +0 -3
- package/build/modules/proofs/formats/ProofFormatService.js.map +0 -1
- package/build/modules/proofs/formats/ProofFormatServiceOptions.d.ts +0 -103
- package/build/modules/proofs/formats/ProofFormatServiceOptions.js +0 -3
- package/build/modules/proofs/formats/ProofFormatServiceOptions.js.map +0 -1
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.d.ts +0 -53
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.js +0 -3
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.js.map +0 -1
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.d.ts +0 -32
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.js +0 -285
- package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.js.map +0 -1
- package/build/modules/proofs/formats/dif-presentation-exchange/index.d.ts +0 -2
- package/build/modules/proofs/formats/dif-presentation-exchange/index.js +0 -19
- package/build/modules/proofs/formats/dif-presentation-exchange/index.js.map +0 -1
- package/build/modules/proofs/formats/index.d.ts +0 -6
- package/build/modules/proofs/formats/index.js +0 -36
- package/build/modules/proofs/formats/index.js.map +0 -1
- package/build/modules/proofs/index.d.ts +0 -10
- package/build/modules/proofs/index.js +0 -29
- package/build/modules/proofs/index.js.map +0 -1
- package/build/modules/proofs/models/ProofAutoAcceptType.d.ts +0 -8
- package/build/modules/proofs/models/ProofAutoAcceptType.js +0 -16
- package/build/modules/proofs/models/ProofAutoAcceptType.js.map +0 -1
- package/build/modules/proofs/models/ProofFormatSpec.d.ts +0 -9
- package/build/modules/proofs/models/ProofFormatSpec.js +0 -35
- package/build/modules/proofs/models/ProofFormatSpec.js.map +0 -1
- package/build/modules/proofs/models/ProofRole.d.ts +0 -4
- package/build/modules/proofs/models/ProofRole.js +0 -9
- package/build/modules/proofs/models/ProofRole.js.map +0 -1
- package/build/modules/proofs/models/ProofState.d.ts +0 -16
- package/build/modules/proofs/models/ProofState.js +0 -21
- package/build/modules/proofs/models/ProofState.js.map +0 -1
- package/build/modules/proofs/models/index.d.ts +0 -4
- package/build/modules/proofs/models/index.js +0 -21
- package/build/modules/proofs/models/index.js.map +0 -1
- package/build/modules/proofs/protocol/BaseProofProtocol.d.ts +0 -98
- package/build/modules/proofs/protocol/BaseProofProtocol.js +0 -151
- package/build/modules/proofs/protocol/BaseProofProtocol.js.map +0 -1
- package/build/modules/proofs/protocol/ProofProtocol.d.ts +0 -52
- package/build/modules/proofs/protocol/ProofProtocol.js +0 -3
- package/build/modules/proofs/protocol/ProofProtocol.js.map +0 -1
- package/build/modules/proofs/protocol/ProofProtocolOptions.d.ts +0 -128
- package/build/modules/proofs/protocol/ProofProtocolOptions.js +0 -3
- package/build/modules/proofs/protocol/ProofProtocolOptions.js.map +0 -1
- package/build/modules/proofs/protocol/index.d.ts +0 -5
- package/build/modules/proofs/protocol/index.js +0 -39
- package/build/modules/proofs/protocol/index.js.map +0 -1
- package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.d.ts +0 -93
- package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.js +0 -307
- package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.js.map +0 -1
- package/build/modules/proofs/protocol/v2/V2ProofProtocol.d.ts +0 -114
- package/build/modules/proofs/protocol/v2/V2ProofProtocol.js +0 -800
- package/build/modules/proofs/protocol/v2/V2ProofProtocol.js.map +0 -1
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.d.ts +0 -13
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.js +0 -19
- package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.js.map +0 -1
- package/build/modules/proofs/protocol/v2/errors/index.d.ts +0 -1
- package/build/modules/proofs/protocol/v2/errors/index.js +0 -18
- package/build/modules/proofs/protocol/v2/errors/index.js.map +0 -1
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.d.ts +0 -9
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.js +0 -15
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.js.map +0 -1
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.d.ts +0 -10
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.js +0 -43
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.js.map +0 -1
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.d.ts +0 -9
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.js +0 -15
- package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.js.map +0 -1
- package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.d.ts +0 -11
- package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.js +0 -36
- package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.js.map +0 -1
- package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.d.ts +0 -10
- package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.js +0 -36
- package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.js.map +0 -1
- package/build/modules/proofs/protocol/v2/index.d.ts +0 -3
- package/build/modules/proofs/protocol/v2/index.js +0 -20
- package/build/modules/proofs/protocol/v2/index.js.map +0 -1
- package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.d.ts +0 -5
- package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.js +0 -27
- package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.js.map +0 -1
- package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.d.ts +0 -24
- package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.js +0 -85
- package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.js.map +0 -1
- package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.d.ts +0 -8
- package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.js +0 -30
- package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.js.map +0 -1
- package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.d.ts +0 -22
- package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.js +0 -77
- package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.js.map +0 -1
- package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.d.ts +0 -26
- package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.js +0 -92
- package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.js.map +0 -1
- package/build/modules/proofs/protocol/v2/messages/index.d.ts +0 -5
- package/build/modules/proofs/protocol/v2/messages/index.js +0 -22
- package/build/modules/proofs/protocol/v2/messages/index.js.map +0 -1
- package/build/modules/proofs/repository/ProofExchangeRecord.d.ts +0 -50
- package/build/modules/proofs/repository/ProofExchangeRecord.js +0 -54
- package/build/modules/proofs/repository/ProofExchangeRecord.js.map +0 -1
- package/build/modules/proofs/repository/ProofRepository.d.ts +0 -26
- package/build/modules/proofs/repository/ProofRepository.js +0 -54
- package/build/modules/proofs/repository/ProofRepository.js.map +0 -1
- package/build/modules/proofs/repository/index.d.ts +0 -2
- package/build/modules/proofs/repository/index.js +0 -19
- package/build/modules/proofs/repository/index.js.map +0 -1
- package/build/modules/proofs/utils/composeAutoAccept.d.ts +0 -8
- package/build/modules/proofs/utils/composeAutoAccept.js +0 -15
- package/build/modules/proofs/utils/composeAutoAccept.js.map +0 -1
- package/build/modules/proofs/utils/index.d.ts +0 -1
- package/build/modules/proofs/utils/index.js +0 -18
- package/build/modules/proofs/utils/index.js.map +0 -1
- package/build/modules/routing/MediationRecipientApi.d.ts +0 -89
- package/build/modules/routing/MediationRecipientApi.js +0 -425
- package/build/modules/routing/MediationRecipientApi.js.map +0 -1
- package/build/modules/routing/MediationRecipientModule.d.ts +0 -14
- package/build/modules/routing/MediationRecipientModule.js +0 -34
- package/build/modules/routing/MediationRecipientModule.js.map +0 -1
- package/build/modules/routing/MediationRecipientModuleConfig.d.ts +0 -79
- package/build/modules/routing/MediationRecipientModuleConfig.js +0 -38
- package/build/modules/routing/MediationRecipientModuleConfig.js.map +0 -1
- package/build/modules/routing/MediatorApi.d.ts +0 -18
- package/build/modules/routing/MediatorApi.js +0 -69
- package/build/modules/routing/MediatorApi.js.map +0 -1
- package/build/modules/routing/MediatorModule.d.ts +0 -14
- package/build/modules/routing/MediatorModule.js +0 -34
- package/build/modules/routing/MediatorModule.js.map +0 -1
- package/build/modules/routing/MediatorModuleConfig.d.ts +0 -33
- package/build/modules/routing/MediatorModuleConfig.js +0 -21
- package/build/modules/routing/MediatorModuleConfig.js.map +0 -1
- package/build/modules/routing/MediatorPickupStrategy.d.ts +0 -7
- package/build/modules/routing/MediatorPickupStrategy.js +0 -19
- package/build/modules/routing/MediatorPickupStrategy.js.map +0 -1
- package/build/modules/routing/MessageForwardingStrategy.d.ts +0 -5
- package/build/modules/routing/MessageForwardingStrategy.js +0 -16
- package/build/modules/routing/MessageForwardingStrategy.js.map +0 -1
- package/build/modules/routing/RoutingEvents.d.ts +0 -30
- package/build/modules/routing/RoutingEvents.js +0 -10
- package/build/modules/routing/RoutingEvents.js.map +0 -1
- package/build/modules/routing/error/RoutingProblemReportReason.d.ts +0 -3
- package/build/modules/routing/error/RoutingProblemReportReason.js +0 -8
- package/build/modules/routing/error/RoutingProblemReportReason.js.map +0 -1
- package/build/modules/routing/error/index.d.ts +0 -1
- package/build/modules/routing/error/index.js +0 -18
- package/build/modules/routing/error/index.js.map +0 -1
- package/build/modules/routing/handlers/ForwardHandler.d.ts +0 -9
- package/build/modules/routing/handlers/ForwardHandler.js +0 -15
- package/build/modules/routing/handlers/ForwardHandler.js.map +0 -1
- package/build/modules/routing/handlers/KeylistUpdateHandler.d.ts +0 -10
- package/build/modules/routing/handlers/KeylistUpdateHandler.js +0 -21
- package/build/modules/routing/handlers/KeylistUpdateHandler.js.map +0 -1
- package/build/modules/routing/handlers/KeylistUpdateResponseHandler.d.ts +0 -9
- package/build/modules/routing/handlers/KeylistUpdateResponseHandler.js +0 -16
- package/build/modules/routing/handlers/KeylistUpdateResponseHandler.js.map +0 -1
- package/build/modules/routing/handlers/MediationDenyHandler.d.ts +0 -9
- package/build/modules/routing/handlers/MediationDenyHandler.js +0 -16
- package/build/modules/routing/handlers/MediationDenyHandler.js.map +0 -1
- package/build/modules/routing/handlers/MediationGrantHandler.d.ts +0 -9
- package/build/modules/routing/handlers/MediationGrantHandler.js +0 -16
- package/build/modules/routing/handlers/MediationGrantHandler.js.map +0 -1
- package/build/modules/routing/handlers/MediationRequestHandler.d.ts +0 -12
- package/build/modules/routing/handlers/MediationRequestHandler.js +0 -26
- package/build/modules/routing/handlers/MediationRequestHandler.js.map +0 -1
- package/build/modules/routing/handlers/index.d.ts +0 -6
- package/build/modules/routing/handlers/index.js +0 -23
- package/build/modules/routing/handlers/index.js.map +0 -1
- package/build/modules/routing/index.d.ts +0 -10
- package/build/modules/routing/index.js +0 -27
- package/build/modules/routing/index.js.map +0 -1
- package/build/modules/routing/messages/ForwardMessage.d.ts +0 -23
- package/build/modules/routing/messages/ForwardMessage.js +0 -52
- package/build/modules/routing/messages/ForwardMessage.js.map +0 -1
- package/build/modules/routing/messages/KeylistMessage.d.ts +0 -20
- package/build/modules/routing/messages/KeylistMessage.js +0 -49
- package/build/modules/routing/messages/KeylistMessage.js.map +0 -1
- package/build/modules/routing/messages/KeylistUpdateMessage.d.ts +0 -29
- package/build/modules/routing/messages/KeylistUpdateMessage.js +0 -68
- package/build/modules/routing/messages/KeylistUpdateMessage.js.map +0 -1
- package/build/modules/routing/messages/KeylistUpdateResponseMessage.d.ts +0 -34
- package/build/modules/routing/messages/KeylistUpdateResponseMessage.js +0 -79
- package/build/modules/routing/messages/KeylistUpdateResponseMessage.js.map +0 -1
- package/build/modules/routing/messages/MediationDenyMessage.d.ts +0 -14
- package/build/modules/routing/messages/MediationDenyMessage.js +0 -35
- package/build/modules/routing/messages/MediationDenyMessage.js.map +0 -1
- package/build/modules/routing/messages/MediationGrantMessage.d.ts +0 -20
- package/build/modules/routing/messages/MediationGrantMessage.js +0 -55
- package/build/modules/routing/messages/MediationGrantMessage.js.map +0 -1
- package/build/modules/routing/messages/MediationRequestMessage.d.ts +0 -22
- package/build/modules/routing/messages/MediationRequestMessage.js +0 -42
- package/build/modules/routing/messages/MediationRequestMessage.js.map +0 -1
- package/build/modules/routing/messages/index.d.ts +0 -6
- package/build/modules/routing/messages/index.js +0 -23
- package/build/modules/routing/messages/index.js.map +0 -1
- package/build/modules/routing/models/MediationRole.d.ts +0 -9
- package/build/modules/routing/models/MediationRole.js +0 -14
- package/build/modules/routing/models/MediationRole.js.map +0 -1
- package/build/modules/routing/models/MediationState.d.ts +0 -10
- package/build/modules/routing/models/MediationState.js +0 -15
- package/build/modules/routing/models/MediationState.js.map +0 -1
- package/build/modules/routing/models/index.d.ts +0 -2
- package/build/modules/routing/models/index.js +0 -19
- package/build/modules/routing/models/index.js.map +0 -1
- package/build/modules/routing/repository/MediationRecord.d.ts +0 -53
- package/build/modules/routing/repository/MediationRecord.js +0 -87
- package/build/modules/routing/repository/MediationRecord.js.map +0 -1
- package/build/modules/routing/repository/MediationRepository.d.ts +0 -10
- package/build/modules/routing/repository/MediationRepository.js +0 -40
- package/build/modules/routing/repository/MediationRepository.js.map +0 -1
- package/build/modules/routing/repository/MediatorRoutingRecord.d.ts +0 -15
- package/build/modules/routing/repository/MediatorRoutingRecord.js +0 -23
- package/build/modules/routing/repository/MediatorRoutingRecord.js.map +0 -1
- package/build/modules/routing/repository/MediatorRoutingRepository.d.ts +0 -8
- package/build/modules/routing/repository/MediatorRoutingRepository.js +0 -33
- package/build/modules/routing/repository/MediatorRoutingRepository.js.map +0 -1
- package/build/modules/routing/repository/index.d.ts +0 -4
- package/build/modules/routing/repository/index.js +0 -21
- package/build/modules/routing/repository/index.js.map +0 -1
- package/build/modules/routing/services/MediationRecipientService.d.ts +0 -57
- package/build/modules/routing/services/MediationRecipientService.js +0 -276
- package/build/modules/routing/services/MediationRecipientService.js.map +0 -1
- package/build/modules/routing/services/MediatorService.d.ts +0 -39
- package/build/modules/routing/services/MediatorService.js +0 -253
- package/build/modules/routing/services/MediatorService.js.map +0 -1
- package/build/modules/routing/services/RoutingService.d.ts +0 -33
- package/build/modules/routing/services/RoutingService.js +0 -54
- package/build/modules/routing/services/RoutingService.js.map +0 -1
- package/build/modules/routing/services/helpers.d.ts +0 -3
- package/build/modules/routing/services/helpers.js +0 -13
- package/build/modules/routing/services/helpers.js.map +0 -1
- package/build/modules/routing/services/index.d.ts +0 -3
- package/build/modules/routing/services/index.js +0 -20
- package/build/modules/routing/services/index.js.map +0 -1
- package/build/storage/didcomm/DidCommMessageRecord.d.ts +0 -48
- package/build/storage/didcomm/DidCommMessageRecord.js +0 -49
- package/build/storage/didcomm/DidCommMessageRecord.js.map +0 -1
- package/build/storage/didcomm/DidCommMessageRepository.d.ts +0 -24
- package/build/storage/didcomm/DidCommMessageRepository.js +0 -78
- package/build/storage/didcomm/DidCommMessageRepository.js.map +0 -1
- package/build/storage/didcomm/DidCommMessageRole.d.ts +0 -4
- package/build/storage/didcomm/DidCommMessageRole.js +0 -9
- package/build/storage/didcomm/DidCommMessageRole.js.map +0 -1
- package/build/storage/didcomm/index.d.ts +0 -3
- package/build/storage/didcomm/index.js +0 -20
- package/build/storage/didcomm/index.js.map +0 -1
- package/build/storage/migration/updates/0.1-0.2/connection.d.ts +0 -119
- package/build/storage/migration/updates/0.1-0.2/connection.js +0 -380
- package/build/storage/migration/updates/0.1-0.2/connection.js.map +0 -1
- package/build/storage/migration/updates/0.1-0.2/credential.d.ts +0 -80
- package/build/storage/migration/updates/0.1-0.2/credential.js +0 -215
- package/build/storage/migration/updates/0.1-0.2/credential.js.map +0 -1
- package/build/storage/migration/updates/0.1-0.2/index.d.ts +0 -6
- package/build/storage/migration/updates/0.1-0.2/index.js +0 -12
- package/build/storage/migration/updates/0.1-0.2/index.js.map +0 -1
- package/build/storage/migration/updates/0.1-0.2/mediation.d.ts +0 -30
- package/build/storage/migration/updates/0.1-0.2/mediation.js +0 -67
- package/build/storage/migration/updates/0.1-0.2/mediation.js.map +0 -1
- package/build/storage/migration/updates/0.2-0.3/connection.d.ts +0 -14
- package/build/storage/migration/updates/0.2-0.3/connection.js +0 -47
- package/build/storage/migration/updates/0.2-0.3/connection.js.map +0 -1
- package/build/storage/migration/updates/0.2-0.3/index.d.ts +0 -2
- package/build/storage/migration/updates/0.2-0.3/index.js +0 -10
- package/build/storage/migration/updates/0.2-0.3/index.js.map +0 -1
- package/build/storage/migration/updates/0.2-0.3/proof.d.ts +0 -42
- package/build/storage/migration/updates/0.2-0.3/proof.js +0 -131
- package/build/storage/migration/updates/0.2-0.3/proof.js.map +0 -1
- package/build/storage/migration/updates/0.4-0.5/credentialExchangeRecord.d.ts +0 -17
- package/build/storage/migration/updates/0.4-0.5/credentialExchangeRecord.js +0 -106
- package/build/storage/migration/updates/0.4-0.5/credentialExchangeRecord.js.map +0 -1
- package/build/storage/migration/updates/0.4-0.5/proofExchangeRecord.d.ts +0 -17
- package/build/storage/migration/updates/0.4-0.5/proofExchangeRecord.js +0 -87
- package/build/storage/migration/updates/0.4-0.5/proofExchangeRecord.js.map +0 -1
- package/build/transport/HttpOutboundTransport.d.ts +0 -15
- package/build/transport/HttpOutboundTransport.js +0 -123
- package/build/transport/HttpOutboundTransport.js.map +0 -1
- package/build/transport/InboundTransport.d.ts +0 -5
- package/build/transport/InboundTransport.js +0 -3
- package/build/transport/InboundTransport.js.map +0 -1
- package/build/transport/OutboundTransport.d.ts +0 -8
- package/build/transport/OutboundTransport.js +0 -3
- package/build/transport/OutboundTransport.js.map +0 -1
- package/build/transport/TransportEventTypes.d.ts +0 -34
- package/build/transport/TransportEventTypes.js +0 -11
- package/build/transport/TransportEventTypes.js.map +0 -1
- package/build/transport/WsOutboundTransport.d.ts +0 -19
- package/build/transport/WsOutboundTransport.js +0 -139
- package/build/transport/WsOutboundTransport.js.map +0 -1
- package/build/transport/index.d.ts +0 -5
- package/build/transport/index.js +0 -22
- package/build/transport/index.js.map +0 -1
- package/build/utils/JWE.d.ts +0 -2
- package/build/utils/JWE.js +0 -14
- package/build/utils/JWE.js.map +0 -1
- package/build/utils/LinkedAttachment.d.ts +0 -23
- package/build/utils/LinkedAttachment.js +0 -51
- package/build/utils/LinkedAttachment.js.map +0 -1
- package/build/utils/attachment.d.ts +0 -19
- package/build/utils/attachment.js +0 -39
- package/build/utils/attachment.js.map +0 -1
- package/build/utils/messageType.d.ts +0 -138
- package/build/utils/messageType.js +0 -179
- package/build/utils/messageType.js.map +0 -1
- package/build/utils/parseInvitation.d.ts +0 -30
- package/build/utils/parseInvitation.js +0 -173
- package/build/utils/parseInvitation.js.map +0 -1
- package/build/utils/thread.d.ts +0 -2
- package/build/utils/thread.js +0 -8
- package/build/utils/thread.js.map +0 -1
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DifPresentationExchangeProofFormatService = void 0;
|
|
4
|
-
const Attachment_1 = require("../../../../decorators/attachment/Attachment");
|
|
5
|
-
const error_1 = require("../../../../error");
|
|
6
|
-
const utils_1 = require("../../../../utils");
|
|
7
|
-
const dif_presentation_exchange_1 = require("../../../dif-presentation-exchange");
|
|
8
|
-
const mdoc_1 = require("../../../mdoc");
|
|
9
|
-
const vc_1 = require("../../../vc");
|
|
10
|
-
const models_1 = require("../../models");
|
|
11
|
-
const PRESENTATION_EXCHANGE_PRESENTATION_PROPOSAL = 'dif/presentation-exchange/definitions@v1.0';
|
|
12
|
-
const PRESENTATION_EXCHANGE_PRESENTATION_REQUEST = 'dif/presentation-exchange/definitions@v1.0';
|
|
13
|
-
const PRESENTATION_EXCHANGE_PRESENTATION = 'dif/presentation-exchange/submission@v1.0';
|
|
14
|
-
class DifPresentationExchangeProofFormatService {
|
|
15
|
-
constructor() {
|
|
16
|
-
this.formatKey = 'presentationExchange';
|
|
17
|
-
}
|
|
18
|
-
presentationExchangeService(agentContext) {
|
|
19
|
-
return agentContext.dependencyManager.resolve(dif_presentation_exchange_1.DifPresentationExchangeService);
|
|
20
|
-
}
|
|
21
|
-
supportsFormat(formatIdentifier) {
|
|
22
|
-
return [
|
|
23
|
-
PRESENTATION_EXCHANGE_PRESENTATION_PROPOSAL,
|
|
24
|
-
PRESENTATION_EXCHANGE_PRESENTATION_REQUEST,
|
|
25
|
-
PRESENTATION_EXCHANGE_PRESENTATION,
|
|
26
|
-
].includes(formatIdentifier);
|
|
27
|
-
}
|
|
28
|
-
async createProposal(agentContext, { proofFormats, attachmentId }) {
|
|
29
|
-
const ps = this.presentationExchangeService(agentContext);
|
|
30
|
-
const pexFormat = proofFormats.presentationExchange;
|
|
31
|
-
if (!pexFormat) {
|
|
32
|
-
throw new error_1.CredoError('Missing Presentation Exchange format in create proposal attachment format');
|
|
33
|
-
}
|
|
34
|
-
const { presentationDefinition } = pexFormat;
|
|
35
|
-
ps.validatePresentationDefinition(presentationDefinition);
|
|
36
|
-
const format = new models_1.ProofFormatSpec({ format: PRESENTATION_EXCHANGE_PRESENTATION_PROPOSAL, attachmentId });
|
|
37
|
-
const attachment = this.getFormatData(presentationDefinition, format.attachmentId);
|
|
38
|
-
return { format, attachment };
|
|
39
|
-
}
|
|
40
|
-
async processProposal(agentContext, { attachment }) {
|
|
41
|
-
const ps = this.presentationExchangeService(agentContext);
|
|
42
|
-
const proposal = attachment.getDataAsJson();
|
|
43
|
-
ps.validatePresentationDefinition(proposal);
|
|
44
|
-
}
|
|
45
|
-
async acceptProposal(agentContext, { attachmentId, proposalAttachment, proofFormats, }) {
|
|
46
|
-
var _a, _b, _c;
|
|
47
|
-
const ps = this.presentationExchangeService(agentContext);
|
|
48
|
-
const presentationExchangeFormat = proofFormats === null || proofFormats === void 0 ? void 0 : proofFormats.presentationExchange;
|
|
49
|
-
const format = new models_1.ProofFormatSpec({
|
|
50
|
-
format: PRESENTATION_EXCHANGE_PRESENTATION_REQUEST,
|
|
51
|
-
attachmentId,
|
|
52
|
-
});
|
|
53
|
-
const presentationDefinition = proposalAttachment.getDataAsJson();
|
|
54
|
-
ps.validatePresentationDefinition(presentationDefinition);
|
|
55
|
-
const attachment = this.getFormatData({
|
|
56
|
-
presentation_definition: presentationDefinition,
|
|
57
|
-
options: {
|
|
58
|
-
// NOTE: we always want to include a challenge to prevent replay attacks
|
|
59
|
-
challenge: (_b = (_a = presentationExchangeFormat === null || presentationExchangeFormat === void 0 ? void 0 : presentationExchangeFormat.options) === null || _a === void 0 ? void 0 : _a.challenge) !== null && _b !== void 0 ? _b : (await agentContext.wallet.generateNonce()),
|
|
60
|
-
domain: (_c = presentationExchangeFormat === null || presentationExchangeFormat === void 0 ? void 0 : presentationExchangeFormat.options) === null || _c === void 0 ? void 0 : _c.domain,
|
|
61
|
-
},
|
|
62
|
-
}, format.attachmentId);
|
|
63
|
-
return { format, attachment };
|
|
64
|
-
}
|
|
65
|
-
async createRequest(agentContext, { attachmentId, proofFormats }) {
|
|
66
|
-
var _a;
|
|
67
|
-
const ps = this.presentationExchangeService(agentContext);
|
|
68
|
-
const presentationExchangeFormat = proofFormats.presentationExchange;
|
|
69
|
-
if (!presentationExchangeFormat) {
|
|
70
|
-
throw Error('Missing presentation exchange format in create request attachment format');
|
|
71
|
-
}
|
|
72
|
-
const { presentationDefinition, options } = presentationExchangeFormat;
|
|
73
|
-
ps.validatePresentationDefinition(presentationDefinition);
|
|
74
|
-
const format = new models_1.ProofFormatSpec({
|
|
75
|
-
format: PRESENTATION_EXCHANGE_PRESENTATION_REQUEST,
|
|
76
|
-
attachmentId,
|
|
77
|
-
});
|
|
78
|
-
const attachment = this.getFormatData({
|
|
79
|
-
presentation_definition: presentationDefinition,
|
|
80
|
-
options: {
|
|
81
|
-
// NOTE: we always want to include a challenge to prevent replay attacks
|
|
82
|
-
challenge: (_a = options === null || options === void 0 ? void 0 : options.challenge) !== null && _a !== void 0 ? _a : (await agentContext.wallet.generateNonce()),
|
|
83
|
-
domain: options === null || options === void 0 ? void 0 : options.domain,
|
|
84
|
-
},
|
|
85
|
-
}, format.attachmentId);
|
|
86
|
-
return { attachment, format };
|
|
87
|
-
}
|
|
88
|
-
async processRequest(agentContext, { attachment }) {
|
|
89
|
-
const ps = this.presentationExchangeService(agentContext);
|
|
90
|
-
const { presentation_definition: presentationDefinition } = attachment.getDataAsJson();
|
|
91
|
-
ps.validatePresentationDefinition(presentationDefinition);
|
|
92
|
-
}
|
|
93
|
-
async acceptRequest(agentContext, { attachmentId, requestAttachment, proofFormats, }) {
|
|
94
|
-
var _a, _b;
|
|
95
|
-
const ps = this.presentationExchangeService(agentContext);
|
|
96
|
-
const format = new models_1.ProofFormatSpec({
|
|
97
|
-
format: PRESENTATION_EXCHANGE_PRESENTATION,
|
|
98
|
-
attachmentId,
|
|
99
|
-
});
|
|
100
|
-
const { presentation_definition: presentationDefinition, options } = requestAttachment.getDataAsJson();
|
|
101
|
-
let credentials;
|
|
102
|
-
if ((_a = proofFormats === null || proofFormats === void 0 ? void 0 : proofFormats.presentationExchange) === null || _a === void 0 ? void 0 : _a.credentials) {
|
|
103
|
-
credentials = proofFormats.presentationExchange.credentials;
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
const credentialsForRequest = await ps.getCredentialsForRequest(agentContext, presentationDefinition);
|
|
107
|
-
credentials = ps.selectCredentialsForRequest(credentialsForRequest);
|
|
108
|
-
}
|
|
109
|
-
const presentation = await ps.createPresentation(agentContext, {
|
|
110
|
-
presentationDefinition,
|
|
111
|
-
credentialsForInputDescriptor: credentials,
|
|
112
|
-
challenge: (_b = options === null || options === void 0 ? void 0 : options.challenge) !== null && _b !== void 0 ? _b : (await agentContext.wallet.generateNonce()),
|
|
113
|
-
domain: options === null || options === void 0 ? void 0 : options.domain,
|
|
114
|
-
});
|
|
115
|
-
if (!presentation) {
|
|
116
|
-
throw new error_1.CredoError('Failed to create presentation for request.');
|
|
117
|
-
}
|
|
118
|
-
if (presentation.verifiablePresentations.length > 1) {
|
|
119
|
-
throw new error_1.CredoError('Invalid amount of verifiable presentations. Only one is allowed.');
|
|
120
|
-
}
|
|
121
|
-
if (presentation.presentationSubmissionLocation === dif_presentation_exchange_1.DifPresentationExchangeSubmissionLocation.EXTERNAL) {
|
|
122
|
-
throw new error_1.CredoError('External presentation submission is not supported.');
|
|
123
|
-
}
|
|
124
|
-
const firstPresentation = presentation.verifiablePresentations[0];
|
|
125
|
-
// TODO: they should all have `encoded` property so it's easy to use the resulting VP
|
|
126
|
-
const encodedFirstPresentation = firstPresentation instanceof vc_1.W3cJwtVerifiablePresentation ||
|
|
127
|
-
firstPresentation instanceof vc_1.W3cJsonLdVerifiablePresentation
|
|
128
|
-
? firstPresentation.encoded
|
|
129
|
-
: firstPresentation instanceof mdoc_1.MdocDeviceResponse
|
|
130
|
-
? firstPresentation.base64Url
|
|
131
|
-
: firstPresentation === null || firstPresentation === void 0 ? void 0 : firstPresentation.compact;
|
|
132
|
-
const attachment = this.getFormatData(encodedFirstPresentation, format.attachmentId);
|
|
133
|
-
return { attachment, format };
|
|
134
|
-
}
|
|
135
|
-
shouldVerifyUsingAnonCredsDataIntegrity(presentation, presentationSubmission) {
|
|
136
|
-
if (presentation.claimFormat !== vc_1.ClaimFormat.LdpVp)
|
|
137
|
-
return false;
|
|
138
|
-
const descriptorMap = presentationSubmission.descriptor_map;
|
|
139
|
-
const verifyUsingDataIntegrity = descriptorMap.every((descriptor) => descriptor.format === vc_1.ClaimFormat.DiVp);
|
|
140
|
-
if (!verifyUsingDataIntegrity)
|
|
141
|
-
return false;
|
|
142
|
-
return presentation.dataIntegrityCryptosuites.includes(vc_1.ANONCREDS_DATA_INTEGRITY_CRYPTOSUITE);
|
|
143
|
-
}
|
|
144
|
-
async processPresentation(agentContext, { requestAttachment, attachment, proofRecord }) {
|
|
145
|
-
var _a;
|
|
146
|
-
const ps = this.presentationExchangeService(agentContext);
|
|
147
|
-
const w3cCredentialService = agentContext.dependencyManager.resolve(vc_1.W3cCredentialService);
|
|
148
|
-
const request = requestAttachment.getDataAsJson();
|
|
149
|
-
const presentation = attachment.getDataAsJson();
|
|
150
|
-
let parsedPresentation;
|
|
151
|
-
let jsonPresentation;
|
|
152
|
-
// TODO: we should probably move this transformation logic into the VC module, so it
|
|
153
|
-
// can be reused in Credo when we need to go from encoded -> parsed
|
|
154
|
-
if (typeof presentation === 'string' && presentation.includes('~')) {
|
|
155
|
-
// NOTE: we need to define in the PEX RFC where to put the presentation_submission
|
|
156
|
-
throw new error_1.CredoError('Received SD-JWT VC in PEX proof format. This is not supported yet.');
|
|
157
|
-
}
|
|
158
|
-
else if (typeof presentation === 'string') {
|
|
159
|
-
// If it's a string, we expect it to be a JWT VP
|
|
160
|
-
parsedPresentation = vc_1.W3cJwtVerifiablePresentation.fromSerializedJwt(presentation);
|
|
161
|
-
jsonPresentation = parsedPresentation.presentation.toJSON();
|
|
162
|
-
}
|
|
163
|
-
else {
|
|
164
|
-
// Otherwise we expect it to be a JSON-LD VP
|
|
165
|
-
parsedPresentation = utils_1.JsonTransformer.fromJSON(presentation, vc_1.W3cJsonLdVerifiablePresentation);
|
|
166
|
-
jsonPresentation = parsedPresentation.toJSON();
|
|
167
|
-
}
|
|
168
|
-
if (!jsonPresentation.presentation_submission) {
|
|
169
|
-
agentContext.config.logger.error('Received presentation in PEX proof format without presentation submission. This should not happen.');
|
|
170
|
-
return false;
|
|
171
|
-
}
|
|
172
|
-
if (!((_a = request.options) === null || _a === void 0 ? void 0 : _a.challenge)) {
|
|
173
|
-
agentContext.config.logger.error('Received presentation in PEX proof format without challenge. This should not happen.');
|
|
174
|
-
return false;
|
|
175
|
-
}
|
|
176
|
-
try {
|
|
177
|
-
ps.validatePresentationDefinition(request.presentation_definition);
|
|
178
|
-
ps.validatePresentationSubmission(jsonPresentation.presentation_submission);
|
|
179
|
-
ps.validatePresentation(request.presentation_definition, parsedPresentation);
|
|
180
|
-
let verificationResult;
|
|
181
|
-
// FIXME: for some reason it won't accept the input if it doesn't know
|
|
182
|
-
// whether it's a JWT or JSON-LD VP even though the input is the same.
|
|
183
|
-
// Not sure how to fix
|
|
184
|
-
if (parsedPresentation.claimFormat === vc_1.ClaimFormat.JwtVp) {
|
|
185
|
-
verificationResult = await w3cCredentialService.verifyPresentation(agentContext, {
|
|
186
|
-
presentation: parsedPresentation,
|
|
187
|
-
challenge: request.options.challenge,
|
|
188
|
-
domain: request.options.domain,
|
|
189
|
-
verificationContext: {
|
|
190
|
-
didcommProofRecordId: proofRecord.id,
|
|
191
|
-
},
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
|
-
else if (parsedPresentation.claimFormat === vc_1.ClaimFormat.LdpVp) {
|
|
195
|
-
if (this.shouldVerifyUsingAnonCredsDataIntegrity(parsedPresentation, jsonPresentation.presentation_submission)) {
|
|
196
|
-
const dataIntegrityService = agentContext.dependencyManager.resolve(vc_1.AnonCredsDataIntegrityServiceSymbol);
|
|
197
|
-
const proofVerificationResult = await dataIntegrityService.verifyPresentation(agentContext, {
|
|
198
|
-
presentation: parsedPresentation,
|
|
199
|
-
presentationDefinition: request.presentation_definition,
|
|
200
|
-
presentationSubmission: jsonPresentation.presentation_submission,
|
|
201
|
-
challenge: request.options.challenge,
|
|
202
|
-
});
|
|
203
|
-
verificationResult = {
|
|
204
|
-
isValid: proofVerificationResult,
|
|
205
|
-
validations: {},
|
|
206
|
-
error: {
|
|
207
|
-
name: 'DataIntegrityError',
|
|
208
|
-
message: 'Verifying the Data Integrity Proof failed. An unknown error occurred.',
|
|
209
|
-
},
|
|
210
|
-
};
|
|
211
|
-
}
|
|
212
|
-
else {
|
|
213
|
-
verificationResult = await w3cCredentialService.verifyPresentation(agentContext, {
|
|
214
|
-
presentation: parsedPresentation,
|
|
215
|
-
challenge: request.options.challenge,
|
|
216
|
-
domain: request.options.domain,
|
|
217
|
-
});
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
else {
|
|
221
|
-
agentContext.config.logger.error(`Received presentation in PEX proof format with unsupported format ${parsedPresentation['claimFormat']}.`);
|
|
222
|
-
return false;
|
|
223
|
-
}
|
|
224
|
-
if (!verificationResult.isValid) {
|
|
225
|
-
agentContext.config.logger.error(`Received presentation in PEX proof format that could not be verified: ${verificationResult.error}`, { verificationResult });
|
|
226
|
-
return false;
|
|
227
|
-
}
|
|
228
|
-
return true;
|
|
229
|
-
}
|
|
230
|
-
catch (e) {
|
|
231
|
-
agentContext.config.logger.error(`Failed to verify presentation in PEX proof format service: ${e.message}`, {
|
|
232
|
-
cause: e,
|
|
233
|
-
});
|
|
234
|
-
return false;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
async getCredentialsForRequest(agentContext, { requestAttachment }) {
|
|
238
|
-
const ps = this.presentationExchangeService(agentContext);
|
|
239
|
-
const { presentation_definition: presentationDefinition } = requestAttachment.getDataAsJson();
|
|
240
|
-
ps.validatePresentationDefinition(presentationDefinition);
|
|
241
|
-
const presentationSubmission = await ps.getCredentialsForRequest(agentContext, presentationDefinition);
|
|
242
|
-
return presentationSubmission;
|
|
243
|
-
}
|
|
244
|
-
async selectCredentialsForRequest(agentContext, { requestAttachment }) {
|
|
245
|
-
const ps = this.presentationExchangeService(agentContext);
|
|
246
|
-
const { presentation_definition: presentationDefinition } = requestAttachment.getDataAsJson();
|
|
247
|
-
const credentialsForRequest = await ps.getCredentialsForRequest(agentContext, presentationDefinition);
|
|
248
|
-
return { credentials: ps.selectCredentialsForRequest(credentialsForRequest) };
|
|
249
|
-
}
|
|
250
|
-
async shouldAutoRespondToProposal(_agentContext, { requestAttachment, proposalAttachment }) {
|
|
251
|
-
const proposalData = proposalAttachment.getDataAsJson();
|
|
252
|
-
const requestData = requestAttachment.getDataAsJson();
|
|
253
|
-
return (0, utils_1.deepEquality)(requestData.presentation_definition, proposalData);
|
|
254
|
-
}
|
|
255
|
-
async shouldAutoRespondToRequest(_agentContext, { requestAttachment, proposalAttachment }) {
|
|
256
|
-
const proposalData = proposalAttachment.getDataAsJson();
|
|
257
|
-
const requestData = requestAttachment.getDataAsJson();
|
|
258
|
-
return (0, utils_1.deepEquality)(requestData.presentation_definition, proposalData);
|
|
259
|
-
}
|
|
260
|
-
/**
|
|
261
|
-
*
|
|
262
|
-
* The presentation is already verified in processPresentation, so we can just return true here.
|
|
263
|
-
* It's only an ack, so it's just that we received the presentation.
|
|
264
|
-
*
|
|
265
|
-
*/
|
|
266
|
-
async shouldAutoRespondToPresentation(
|
|
267
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
268
|
-
_agentContext,
|
|
269
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
270
|
-
_options) {
|
|
271
|
-
return true;
|
|
272
|
-
}
|
|
273
|
-
getFormatData(data, id) {
|
|
274
|
-
const attachment = new Attachment_1.Attachment({
|
|
275
|
-
id,
|
|
276
|
-
mimeType: 'application/json',
|
|
277
|
-
data: new Attachment_1.AttachmentData({
|
|
278
|
-
json: data,
|
|
279
|
-
}),
|
|
280
|
-
});
|
|
281
|
-
return attachment;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
exports.DifPresentationExchangeProofFormatService = DifPresentationExchangeProofFormatService;
|
|
285
|
-
//# sourceMappingURL=DifPresentationExchangeProofFormatService.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DifPresentationExchangeProofFormatService.js","sourceRoot":"","sources":["../../../../../src/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.ts"],"names":[],"mappings":";;;AAkCA,6EAAyF;AACzF,6CAA8C;AAC9C,6CAAiE;AACjE,kFAG2C;AAC3C,wCAAkD;AAClD,oCAOoB;AACpB,yCAA8C;AAE9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QAAQ,EAAE,kBAAkB;YAC5B,IAAI,EAAE,IAAI,2BAAc,CAAC;gBACvB,IAAI,EAAE,IAAiB;aACxB,CAAC;SACH,CAAC,CAAA;QAEF,OAAO,UAAU,CAAA;IACnB,CAAC;CACF;AA5XD,8FA4XC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
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("./DifPresentationExchangeProofFormat"), exports);
|
|
18
|
-
__exportStar(require("./DifPresentationExchangeProofFormatService"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/proofs/formats/dif-presentation-exchange/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAoD;AACpD,8EAA2D"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './ProofFormat';
|
|
2
|
-
export * from './ProofFormatService';
|
|
3
|
-
export * from './ProofFormatServiceOptions';
|
|
4
|
-
export * from './dif-presentation-exchange';
|
|
5
|
-
import * as ProofFormatServiceOptions from './ProofFormatServiceOptions';
|
|
6
|
-
export { ProofFormatServiceOptions };
|
|
@@ -1,36 +0,0 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
-
};
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.ProofFormatServiceOptions = void 0;
|
|
30
|
-
__exportStar(require("./ProofFormat"), exports);
|
|
31
|
-
__exportStar(require("./ProofFormatService"), exports);
|
|
32
|
-
__exportStar(require("./ProofFormatServiceOptions"), exports);
|
|
33
|
-
__exportStar(require("./dif-presentation-exchange"), exports);
|
|
34
|
-
const ProofFormatServiceOptions = __importStar(require("./ProofFormatServiceOptions"));
|
|
35
|
-
exports.ProofFormatServiceOptions = ProofFormatServiceOptions;
|
|
36
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/proofs/formats/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,uDAAoC;AACpC,8DAA2C;AAE3C,8DAA2C;AAE3C,uFAAwE;AAE/D,8DAAyB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './errors';
|
|
2
|
-
export * from './formats';
|
|
3
|
-
export * from './models';
|
|
4
|
-
export * from './protocol';
|
|
5
|
-
export * from './repository';
|
|
6
|
-
export * from './ProofEvents';
|
|
7
|
-
export * from './ProofsApi';
|
|
8
|
-
export * from './ProofsApiOptions';
|
|
9
|
-
export * from './ProofsModule';
|
|
10
|
-
export * from './ProofsModuleConfig';
|
|
@@ -1,29 +0,0 @@
|
|
|
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("./errors"), exports);
|
|
18
|
-
__exportStar(require("./formats"), exports);
|
|
19
|
-
__exportStar(require("./models"), exports);
|
|
20
|
-
__exportStar(require("./protocol"), exports);
|
|
21
|
-
__exportStar(require("./repository"), exports);
|
|
22
|
-
__exportStar(require("./ProofEvents"), exports);
|
|
23
|
-
// Api
|
|
24
|
-
__exportStar(require("./ProofsApi"), exports);
|
|
25
|
-
__exportStar(require("./ProofsApiOptions"), exports);
|
|
26
|
-
// Module
|
|
27
|
-
__exportStar(require("./ProofsModule"), exports);
|
|
28
|
-
__exportStar(require("./ProofsModuleConfig"), exports);
|
|
29
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/proofs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,4CAAyB;AACzB,2CAAwB;AACxB,6CAA0B;AAC1B,+CAA4B;AAC5B,gDAA6B;AAE7B,MAAM;AACN,8CAA2B;AAC3B,qDAAkC;AAElC,SAAS;AACT,iDAA8B;AAC9B,uDAAoC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AutoAcceptProof = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Typing of the state for auto acceptance
|
|
6
|
-
*/
|
|
7
|
-
var AutoAcceptProof;
|
|
8
|
-
(function (AutoAcceptProof) {
|
|
9
|
-
// Always auto accepts the proof no matter if it changed in subsequent steps
|
|
10
|
-
AutoAcceptProof["Always"] = "always";
|
|
11
|
-
// Needs one acceptation and the rest will be automated if nothing changes
|
|
12
|
-
AutoAcceptProof["ContentApproved"] = "contentApproved";
|
|
13
|
-
// DEFAULT: Never auto accept a proof
|
|
14
|
-
AutoAcceptProof["Never"] = "never";
|
|
15
|
-
})(AutoAcceptProof || (exports.AutoAcceptProof = AutoAcceptProof = {}));
|
|
16
|
-
//# sourceMappingURL=ProofAutoAcceptType.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProofAutoAcceptType.js","sourceRoot":"","sources":["../../../../src/modules/proofs/models/ProofAutoAcceptType.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,eASX;AATD,WAAY,eAAe;IACzB,4EAA4E;IAC5E,oCAAiB,CAAA;IAEjB,0EAA0E;IAC1E,sDAAmC,CAAA;IAEnC,qCAAqC;IACrC,kCAAe,CAAA;AACjB,CAAC,EATW,eAAe,+BAAf,eAAe,QAS1B"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ProofFormatSpec = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const uuid_1 = require("../../../utils/uuid");
|
|
16
|
-
class ProofFormatSpec {
|
|
17
|
-
constructor(options) {
|
|
18
|
-
var _a;
|
|
19
|
-
if (options) {
|
|
20
|
-
this.attachmentId = (_a = options.attachmentId) !== null && _a !== void 0 ? _a : (0, uuid_1.uuid)();
|
|
21
|
-
this.format = options.format;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
exports.ProofFormatSpec = ProofFormatSpec;
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_transformer_1.Expose)({ name: 'attach_id' }),
|
|
28
|
-
(0, class_validator_1.IsString)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], ProofFormatSpec.prototype, "attachmentId", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, class_validator_1.IsString)(),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], ProofFormatSpec.prototype, "format", void 0);
|
|
35
|
-
//# sourceMappingURL=ProofFormatSpec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProofFormatSpec.js","sourceRoot":"","sources":["../../../../src/modules/proofs/models/ProofFormatSpec.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA0C;AAC1C,qDAA0C;AAE1C,8CAA0C;AAO1C,MAAa,eAAe;IAC1B,YAAmB,OAA+B;;QAChD,IAAI,OAAO,EAAE,CAAC;YACZ,IAAI,CAAC,YAAY,GAAG,MAAA,OAAO,CAAC,YAAY,mCAAI,IAAA,WAAI,GAAE,CAAA;YAClD,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAA;QAC9B,CAAC;IACH,CAAC;CAQF;AAdD,0CAcC;AAJQ;IAFN,IAAA,0BAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;IAC7B,IAAA,0BAAQ,GAAE;;qDACiB;AAGrB;IADN,IAAA,0BAAQ,GAAE;;+CACW"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProofRole = void 0;
|
|
4
|
-
var ProofRole;
|
|
5
|
-
(function (ProofRole) {
|
|
6
|
-
ProofRole["Verifier"] = "verifier";
|
|
7
|
-
ProofRole["Prover"] = "prover";
|
|
8
|
-
})(ProofRole || (exports.ProofRole = ProofRole = {}));
|
|
9
|
-
//# sourceMappingURL=ProofRole.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProofRole.js","sourceRoot":"","sources":["../../../../src/modules/proofs/models/ProofRole.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Present Proof protocol states as defined in RFC 0037
|
|
3
|
-
*
|
|
4
|
-
* @see https://github.com/hyperledger/aries-rfcs/tree/master/features/0037-present-proof#states
|
|
5
|
-
*/
|
|
6
|
-
export declare enum ProofState {
|
|
7
|
-
ProposalSent = "proposal-sent",
|
|
8
|
-
ProposalReceived = "proposal-received",
|
|
9
|
-
RequestSent = "request-sent",
|
|
10
|
-
RequestReceived = "request-received",
|
|
11
|
-
PresentationSent = "presentation-sent",
|
|
12
|
-
PresentationReceived = "presentation-received",
|
|
13
|
-
Declined = "declined",
|
|
14
|
-
Abandoned = "abandoned",
|
|
15
|
-
Done = "done"
|
|
16
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProofState = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Present Proof protocol states as defined in RFC 0037
|
|
6
|
-
*
|
|
7
|
-
* @see https://github.com/hyperledger/aries-rfcs/tree/master/features/0037-present-proof#states
|
|
8
|
-
*/
|
|
9
|
-
var ProofState;
|
|
10
|
-
(function (ProofState) {
|
|
11
|
-
ProofState["ProposalSent"] = "proposal-sent";
|
|
12
|
-
ProofState["ProposalReceived"] = "proposal-received";
|
|
13
|
-
ProofState["RequestSent"] = "request-sent";
|
|
14
|
-
ProofState["RequestReceived"] = "request-received";
|
|
15
|
-
ProofState["PresentationSent"] = "presentation-sent";
|
|
16
|
-
ProofState["PresentationReceived"] = "presentation-received";
|
|
17
|
-
ProofState["Declined"] = "declined";
|
|
18
|
-
ProofState["Abandoned"] = "abandoned";
|
|
19
|
-
ProofState["Done"] = "done";
|
|
20
|
-
})(ProofState || (exports.ProofState = ProofState = {}));
|
|
21
|
-
//# sourceMappingURL=ProofState.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProofState.js","sourceRoot":"","sources":["../../../../src/modules/proofs/models/ProofState.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,IAAY,UAUX;AAVD,WAAY,UAAU;IACpB,4CAA8B,CAAA;IAC9B,oDAAsC,CAAA;IACtC,0CAA4B,CAAA;IAC5B,kDAAoC,CAAA;IACpC,oDAAsC,CAAA;IACtC,4DAA8C,CAAA;IAC9C,mCAAqB,CAAA;IACrB,qCAAuB,CAAA;IACvB,2BAAa,CAAA;AACf,CAAC,EAVW,UAAU,0BAAV,UAAU,QAUrB"}
|
|
@@ -1,21 +0,0 @@
|
|
|
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("./ProofAutoAcceptType"), exports);
|
|
18
|
-
__exportStar(require("./ProofState"), exports);
|
|
19
|
-
__exportStar(require("./ProofFormatSpec"), exports);
|
|
20
|
-
__exportStar(require("./ProofRole"), exports);
|
|
21
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/proofs/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAqC;AACrC,+CAA4B;AAC5B,oDAAiC;AACjC,8CAA2B"}
|