@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"W3cJwtCredentialService.js","sourceRoot":"","sources":["../../../../src/modules/vc/jwt-vc/W3cJwtCredentialService.ts"],"names":[],"mappings":";;;;;;;;;;;;AAWA,4CAA4C;AAC5C,kDAA8F;AAC9F,0CAA2C;AAC3C,8CAA6C;AAC7C,0CAAiE;AACjE,qCAAwG;AACxG,qCAA6C;AAC7C,sDAAiE;AAEjE,6EAAyE;AACzE,iFAA6E;AAC7E,mEAAqE;AACrE,uEAAyE;AAEzE;;;GAGG;AAEI,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAGlC,YAAmB,UAAsB;QACvC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;IAC9B,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,cAAc,CACzB,YAA0B,E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"}
|
|
@@ -23,7 +23,7 @@ export declare class W3cJwtVerifiablePresentation {
|
|
|
23
23
|
get id(): string | undefined;
|
|
24
24
|
get type(): string[];
|
|
25
25
|
get holder(): string | import("../models/presentation/W3cHolder").W3cHolder | undefined;
|
|
26
|
-
get verifiableCredential(): import("
|
|
26
|
+
get verifiableCredential(): import("../../..").SingleOrArray<import("..").W3cJsonLdVerifiableCredential | import("./W3cJwtVerifiableCredential").W3cJwtVerifiableCredential>;
|
|
27
27
|
get holderId(): string | null;
|
|
28
28
|
/**
|
|
29
29
|
* The {@link ClaimFormat} of the presentation. For JWT presentations this is always `jwt_vp`.
|
|
@@ -9,7 +9,6 @@ const utils_1 = require("../../../utils");
|
|
|
9
9
|
const W3cCredential_1 = require("../models/credential/W3cCredential");
|
|
10
10
|
const util_1 = require("../util");
|
|
11
11
|
function getJwtPayloadFromCredential(credential) {
|
|
12
|
-
var _a;
|
|
13
12
|
const vc = utils_1.JsonTransformer.toJSON(credential);
|
|
14
13
|
const payloadOptions = {
|
|
15
14
|
additionalClaims: {
|
|
@@ -58,7 +57,7 @@ function getJwtPayloadFromCredential(credential) {
|
|
|
58
57
|
delete vc.credentialSubject[0].id;
|
|
59
58
|
}
|
|
60
59
|
else {
|
|
61
|
-
|
|
60
|
+
delete vc.credentialSubject?.id;
|
|
62
61
|
}
|
|
63
62
|
}
|
|
64
63
|
return new jwt_1.JwtPayload(payloadOptions);
|
|
@@ -83,7 +82,7 @@ function getCredentialFromJwtPayload(jwtPayload) {
|
|
|
83
82
|
if (!(0, utils_1.isJsonObject)(credentialSubject)) {
|
|
84
83
|
throw new error_1.CredoError('JWT VC does not have a valid credential subject');
|
|
85
84
|
}
|
|
86
|
-
const subjectWithId = jwtPayload.sub ?
|
|
85
|
+
const subjectWithId = jwtPayload.sub ? { ...credentialSubject, id: jwtPayload.sub } : credentialSubject;
|
|
87
86
|
// Validate vc.id and jti
|
|
88
87
|
if (jwtVc.id && jwtPayload.jti !== jwtVc.id) {
|
|
89
88
|
throw new error_1.CredoError('JWT jti and vc.id do not match');
|
|
@@ -124,7 +123,14 @@ function getCredentialFromJwtPayload(jwtPayload) {
|
|
|
124
123
|
throw new error_1.CredoError('JWT sub and vc.credentialSubject.id do not match');
|
|
125
124
|
}
|
|
126
125
|
// Create a verifiable credential structure that is compatible with the VC data model
|
|
127
|
-
const dataModelVc =
|
|
126
|
+
const dataModelVc = {
|
|
127
|
+
...jwtVc,
|
|
128
|
+
issuanceDate: (0, util_1.w3cDate)(jwtPayload.nbf * 1000),
|
|
129
|
+
expirationDate: jwtPayload.exp ? (0, util_1.w3cDate)(jwtPayload.exp * 1000) : undefined,
|
|
130
|
+
issuer: typeof jwtVc.issuer === 'object' ? { ...jwtVc.issuer, id: jwtPayload.iss } : jwtPayload.iss,
|
|
131
|
+
id: jwtPayload.jti,
|
|
132
|
+
credentialSubject: Array.isArray(jwtVc.credentialSubject) ? [subjectWithId] : subjectWithId,
|
|
133
|
+
};
|
|
128
134
|
const vcInstance = utils_1.JsonTransformer.fromJSON(dataModelVc, W3cCredential_1.W3cCredential);
|
|
129
135
|
return vcInstance;
|
|
130
136
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentialTransformer.js","sourceRoot":"","sources":["../../../../src/modules/vc/jwt-vc/credentialTransformer.ts"],"names":[],"mappings":";;AAWA,kEA4DC;AAED,kEA0FC;AAhKD,qDAA0C;AAE1C,kDAAqD;AACrD,0CAA2C;AAC3C,0CAA8D;AAC9D,sEAAkE;AAClE,kCAAiC;AAEjC,SAAgB,2BAA2B,CAAC,UAAyB
|
|
1
|
+
{"version":3,"file":"credentialTransformer.js","sourceRoot":"","sources":["../../../../src/modules/vc/jwt-vc/credentialTransformer.ts"],"names":[],"mappings":";;AAWA,kEA4DC;AAED,kEA0FC;AAhKD,qDAA0C;AAE1C,kDAAqD;AACrD,0CAA2C;AAC3C,0CAA8D;AAC9D,sEAAkE;AAClE,kCAAiC;AAEjC,SAAgB,2BAA2B,CAA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K,CAAC,iBAAiB,CAAC;YACrC,IAAA,oBAAY,EAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;YACxC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,EAAE;YAC7B,UAAU,CAAC,GAAG,KAAK,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EACnD,CAAC;QACD,MAAM,IAAI,kBAAU,CAAC,kDAAkD,CAAC,CAAA;IAC1E,CAAC;IAED,qFAAqF;IACrF,MAAM,WAAW,GAAG;QAClB,GAAG,KAAK;QACR,YAAY,EAAE,IAAA,cAAO,EAAC,UAAU,CAAC,GAAG,GAAG,IAAI,CAAC;QAC5C,cAAc,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,IAAA,cAAO,EAAC,UAAU,CAAC,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;QAC3E,MAAM,EAAE,OAAO,KAAK,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,MAAM,EAAE,EAAE,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG;QACnG,EAAE,EAAE,UAAU,CAAC,GAAG;QAClB,iBAAiB,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,aAAa;KAC5F,CAAA;IAED,MAAM,UAAU,GAAG,uBAAe,CAAC,QAAQ,CAAC,WAAW,EAAE,6BAAa,CAAC,CAAA;IAEvE,OAAO,UAAU,CAAA;AACnB,CAAC"}
|
|
@@ -47,7 +47,11 @@ function getPresentationFromJwtPayload(jwtPayload) {
|
|
|
47
47
|
((0, utils_1.isJsonObject)(jwtVp.holder) && jwtVp.holder.id && jwtPayload.iss !== jwtVp.holder.id)) {
|
|
48
48
|
throw new error_1.CredoError('JWT iss and vp.holder(.id) do not match');
|
|
49
49
|
}
|
|
50
|
-
const dataModelVp =
|
|
50
|
+
const dataModelVp = {
|
|
51
|
+
...jwtVp,
|
|
52
|
+
id: jwtPayload.jti,
|
|
53
|
+
holder: jwtPayload.iss,
|
|
54
|
+
};
|
|
51
55
|
const vpInstance = utils_1.JsonTransformer.fromJSON(dataModelVp, W3cPresentation_1.W3cPresentation);
|
|
52
56
|
return vpInstance;
|
|
53
57
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presentationTransformer.js","sourceRoot":"","sources":["../../../../src/modules/vc/jwt-vc/presentationTransformer.ts"],"names":[],"mappings":";;AAQA,sEA8BC;AAED,sEA6BC;AAlED,kDAAqD;AACrD,0CAA2C;AAC3C,0CAA8D;AAC9D,4EAAwE;AAExE,SAAgB,6BAA6B,CAAC,YAA6B;IACzE,MAAM,EAAE,GAAG,uBAAe,CAAC,MAAM,CAAC,YAAY,CAAiC,CAAA;IAE/E,MAAM,cAAc,GAAsB;QACxC,gBAAgB,EAAE;YAChB,EAAE;SACH;KACF,CAAA;IAED,6CAA6C;IAC7C,IAAI,YAAY,CAAC,QAAQ,EAAE,CAAC;QAC1B,cAAc,CAAC,GAAG,GAAG,YAAY,CAAC,QAAQ,CAAA;QAE1C,IAAI,OAAO,EAAE,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;YAClC,OAAO,EAAE,CAAC,MAAM,CAAA;QAClB,CAAC;aAAM,IAAI,OAAO,EAAE,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;YACzC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,CAAA;YACnB,IAAI,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACxC,OAAO,EAAE,CAAC,MAAM,CAAA;YAClB,CAAC;QACH,CAAC;IACH,CAAC;IAED,sCAAsC;IACtC,IAAI,YAAY,CAAC,EAAE,EAAE,CAAC;QACpB,cAAc,CAAC,GAAG,GAAG,YAAY,CAAC,EAAE,CAAA;QACpC,OAAO,EAAE,CAAC,EAAE,CAAA;IACd,CAAC;IAED,OAAO,IAAI,gBAAU,CAAC,cAAc,CAAC,CAAA;AACvC,CAAC;AAED,SAAgB,6BAA6B,CAAC,UAAsB;IAClE,IAAI,CAAC,CAAC,IAAI,IAAI,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAA,oBAAY,EAAC,UAAU,CAAC,gBAAgB,CAAC,EAAE,CAAC,EAAE,CAAC;QAC5F,MAAM,IAAI,kBAAU,CAAC,yCAAyC,CAAC,CAAA;IACjE,CAAC;IAED,MAAM,KAAK,GAAG,UAAU,CAAC,gBAAgB,CAAC,EAAE,CAAA;IAE5C,yBAAyB;IACzB,IAAI,KAAK,CAAC,EAAE,IAAI,UAAU,CAAC,GAAG,KAAK,KAAK,CAAC,EAAE,EAAE,CAAC;QAC5C,MAAM,IAAI,kBAAU,CAAC,gCAAgC,CAAC,CAAA;IACxD,CAAC;IAED,6BAA6B;IAC7B,IACE,CAAC,OAAO,KAAK,CAAC,MAAM,KAAK,QAAQ,IAAI,UAAU,CAAC,GAAG,KAAK,KAAK,CAAC,MAAM,CAAC;QACrE,CAAC,IAAA,oBAAY,EAAC,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE,IAAI,UAAU,CAAC,GAAG,KAAK,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EACrF,CAAC;QACD,MAAM,IAAI,kBAAU,CAAC,yCAAyC,CAAC,CAAA;IACjE,CAAC;IAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"presentationTransformer.js","sourceRoot":"","sources":["../../../../src/modules/vc/jwt-vc/presentationTransformer.ts"],"names":[],"mappings":";;AAQA,sEA8BC;AAED,sEA6BC;AAlED,kDAAqD;AACrD,0CAA2C;AAC3C,0CAA8D;AAC9D,4EAAwE;AAExE,SAAgB,6BAA6B,CAAC,YAA6B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AAG,KAAK,KAAK,CAAC,EAAE,EAAE,CAAC;QAC5C,MAAM,IAAI,kBAAU,CAAC,gCAAgC,CAAC,CAAA;IACxD,CAAC;IAED,6BAA6B;IAC7B,IACE,CAAC,OAAO,KAAK,CAAC,MAAM,KAAK,QAAQ,IAAI,UAAU,CAAC,GAAG,KAAK,KAAK,CAAC,MAAM,CAAC;QACrE,CAAC,IAAA,oBAAY,EAAC,KAAK,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE,IAAI,UAAU,CAAC,GAAG,KAAK,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EACrF,CAAC;QACD,MAAM,IAAI,kBAAU,CAAC,yCAAyC,CAAC,CAAA;IACjE,CAAC;IAED,MAAM,WAAW,GAAG;QAClB,GAAG,KAAK;QACR,EAAE,EAAE,UAAU,CAAC,GAAG;QAClB,MAAM,EAAE,UAAU,CAAC,GAAG;KACvB,CAAA;IAED,MAAM,UAAU,GAAG,uBAAe,CAAC,QAAQ,CAAC,WAAW,EAAE,iCAAe,CAAC,CAAA;IAEzE,OAAO,UAAU,CAAA;AACnB,CAAC"}
|
|
@@ -23,9 +23,8 @@ const W3cCredentialSubject_1 = require("./W3cCredentialSubject");
|
|
|
23
23
|
const W3cIssuer_1 = require("./W3cIssuer");
|
|
24
24
|
class W3cCredential {
|
|
25
25
|
constructor(options) {
|
|
26
|
-
var _a;
|
|
27
26
|
if (options) {
|
|
28
|
-
this.context =
|
|
27
|
+
this.context = options.context ?? [constants_1.CREDENTIALS_CONTEXT_V1_URL];
|
|
29
28
|
this.id = options.id;
|
|
30
29
|
this.type = options.type || ['VerifiableCredential'];
|
|
31
30
|
this.issuer =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"W3cCredential.js","sourceRoot":"","sources":["../../../../../src/modules/vc/models/credential/W3cCredential.ts"],"names":[],"mappings":";;;;;;;;;;;;AAgIA,4CAmBC;AA9ID,yDAAgD;AAChD,qDAA6G;AAE7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AAA;AAmC/C,mBAAmB;AAEnB,SAAgB,gBAAgB,CAAC,iBAAqC;IACpE,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,4BAA4B;QAClC,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAW,EAAE;gBAC3B,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;oBACzB,OAAO,KAAK,CAAC,QAAQ,CAAC,sCAA0B,CAAC,CAAA;gBACnD,CAAC;gBACD,OAAO,KAAK,CAAA;YACd,CAAC;YACD,cAAc,EAAE,IAAA,8BAAY,EAC1B,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,GAAG,6EAA6E,EAC1G,iBAAiB,CAClB;SACF;KACF,EACD,iBAAiB,CAClB,CAAA;AACH,CAAC"}
|
|
@@ -8,17 +8,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
12
|
-
var t = {};
|
|
13
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
14
|
-
t[p] = s[p];
|
|
15
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
16
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
17
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
18
|
-
t[p[i]] = s[p[i]];
|
|
19
|
-
}
|
|
20
|
-
return t;
|
|
21
|
-
};
|
|
22
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
12
|
exports.W3cCredentialSubject = void 0;
|
|
24
13
|
exports.W3cCredentialSubjectTransformer = W3cCredentialSubjectTransformer;
|
|
@@ -28,11 +17,10 @@ const class_validator_1 = require("class-validator");
|
|
|
28
17
|
const error_1 = require("../../../../error");
|
|
29
18
|
class W3cCredentialSubject {
|
|
30
19
|
constructor(options) {
|
|
31
|
-
var _a;
|
|
32
20
|
if (options) {
|
|
33
21
|
this.id = options.id;
|
|
34
22
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
35
|
-
const
|
|
23
|
+
const { id, ...claims } = options.claims ?? {};
|
|
36
24
|
this.claims = Object.keys(claims).length > 0 ? claims : undefined;
|
|
37
25
|
}
|
|
38
26
|
}
|
|
@@ -54,7 +42,7 @@ function W3cCredentialSubjectTransformer() {
|
|
|
54
42
|
throw new error_1.CredoError('Invalid credential subject');
|
|
55
43
|
if ((0, class_validator_1.isInstance)(v, W3cCredentialSubject))
|
|
56
44
|
return v;
|
|
57
|
-
const
|
|
45
|
+
const { id, ...claims } = v;
|
|
58
46
|
if (id !== undefined && typeof id !== 'string')
|
|
59
47
|
throw new error_1.CredoError('Invalid credential subject id');
|
|
60
48
|
return new W3cCredentialSubject({ id, claims });
|
|
@@ -67,7 +55,7 @@ function W3cCredentialSubjectTransformer() {
|
|
|
67
55
|
else if (type === class_transformer_1.TransformationType.CLASS_TO_PLAIN) {
|
|
68
56
|
const vToJson = (v) => {
|
|
69
57
|
if (v instanceof W3cCredentialSubject)
|
|
70
|
-
return v.id ?
|
|
58
|
+
return v.id ? { ...v.claims, id: v.id } : { ...v.claims };
|
|
71
59
|
return v;
|
|
72
60
|
};
|
|
73
61
|
return Array.isArray(value) ? value.map(vToJson) : vToJson(value);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"W3cCredentialSubject.js","sourceRoot":"","sources":["../../../../../src/modules/vc/models/credential/W3cCredentialSubject.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"W3cCredentialSubject.js","sourceRoot":"","sources":["../../../../../src/modules/vc/models/credential/W3cCredentialSubject.ts"],"names":[],"mappings":";;;;;;;;;;;;AAmCA,0EA2BC;A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AAU,GAAG,iFAAiF,EAChG,iBAAiB,CAClB;SACF;KACF,EACD,iBAAiB,CAClB,CAAA;AACH,CAAC"}
|
|
@@ -23,11 +23,10 @@ const W3cVerifiableCredential_1 = require("../credential/W3cVerifiableCredential
|
|
|
23
23
|
const W3cHolder_1 = require("./W3cHolder");
|
|
24
24
|
class W3cPresentation {
|
|
25
25
|
constructor(options) {
|
|
26
|
-
var _a, _b;
|
|
27
26
|
if (options) {
|
|
28
27
|
this.id = options.id;
|
|
29
|
-
this.context =
|
|
30
|
-
this.type =
|
|
28
|
+
this.context = options.context ?? [constants_1.CREDENTIALS_CONTEXT_V1_URL];
|
|
29
|
+
this.type = options.type ?? [constants_1.VERIFIABLE_PRESENTATION_TYPE];
|
|
31
30
|
this.verifiableCredential = options.verifiableCredential;
|
|
32
31
|
if (options.holder) {
|
|
33
32
|
this.holder = typeof options.holder === 'string' ? options.holder : new W3cHolder_1.W3cHolder(options.holder);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"W3cPresentation.js","sourceRoot":"","sources":["../../../../../src/modules/vc/models/presentation/W3cPresentation.ts"],"names":[],"mappings":";;;;;;;;;;;;AA4EA,oEAmBC;AAzFD,yDAA0C;AAC1C,qDAAsF;AAEtF,6CAAmD;AAEnD,6DAAkF;AAClF,+CAA0F;AAC1F,6GAAyG;AACzG,wFAAoF;AACpF,iDAA4D;AAC5D,mFAA0F;AAE1F,2CAA0E;AAU1E,MAAa,eAAe;IAC1B,YAAmB,OAA+B
|
|
1
|
+
{"version":3,"file":"W3cPresentation.js","sourceRoot":"","sources":["../../../../../src/modules/vc/models/presentation/W3cPresentation.ts"],"names":[],"mappings":";;;;;;;;;;;;AA4EA,oEAmBC;AAzFD,yDAA0C;AAC1C,qDAAsF;AAEtF,6CAAmD;AAEnD,6DAAkF;AAClF,+CAA0F;AAC1F,6GAAyG;AACzG,wFAAoF;AACpF,iDAA4D;AAC5D,mFAA0F;AAE1F,2CAA0E;AAU1E,MAAa,eA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K3B;IAHN,IAAA,4DAAkC,GAAE;IACpC,IAAA,yCAA4B,EAAC,EAAE,SAAS,EAAE,CAAC,6DAA6B,EAAE,uDAA0B,CAAC,EAAE,CAAC;IACxG,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;6DACqC;AAatE,oBAAoB;AAEpB,SAAgB,4BAA4B,CAAC,iBAAqC;IAChF,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,8BAA8B;QACpC,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAW,EAAE;gBAC3B,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;oBACzB,OAAO,KAAK,CAAC,QAAQ,CAAC,wCAA4B,CAAC,CAAA;gBACrD,CAAC;gBACD,OAAO,KAAK,CAAA;YACd,CAAC;YACD,cAAc,EAAE,IAAA,8BAAY,EAC1B,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,GAAG,+EAA+E,EAC5G,iBAAiB,CAClB;SACF;KACF,EACD,iBAAiB,CAClB,CAAA;AACH,CAAC"}
|
|
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./W3cPresentation"), exports);
|
|
18
|
+
__exportStar(require("./W3cJsonPresentation"), exports);
|
|
18
19
|
__exportStar(require("./W3cVerifiablePresentation"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/vc/models/presentation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,8DAA2C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/vc/models/presentation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,wDAAqC;AACrC,8DAA2C"}
|
|
@@ -39,4 +39,8 @@ export declare class W3cCredentialRecord extends BaseRecord<DefaultW3cCredential
|
|
|
39
39
|
* we find an alternative.
|
|
40
40
|
*/
|
|
41
41
|
clone(): this;
|
|
42
|
+
/**
|
|
43
|
+
* encoded is convenience method added to all credential records
|
|
44
|
+
*/
|
|
45
|
+
get encoded(): string | Record<string, any>;
|
|
42
46
|
}
|
|
@@ -16,12 +16,11 @@ const uuid_1 = require("../../../utils/uuid");
|
|
|
16
16
|
const models_1 = require("../models");
|
|
17
17
|
class W3cCredentialRecord extends BaseRecord_1.BaseRecord {
|
|
18
18
|
constructor(props) {
|
|
19
|
-
var _a, _b;
|
|
20
19
|
super();
|
|
21
20
|
this.type = W3cCredentialRecord.type;
|
|
22
21
|
if (props) {
|
|
23
|
-
this.id =
|
|
24
|
-
this.createdAt =
|
|
22
|
+
this.id = props.id ?? (0, uuid_1.uuid)();
|
|
23
|
+
this.createdAt = props.createdAt ?? new Date();
|
|
25
24
|
this._tags = props.tags;
|
|
26
25
|
this.credential = props.credential;
|
|
27
26
|
}
|
|
@@ -30,7 +29,16 @@ class W3cCredentialRecord extends BaseRecord_1.BaseRecord {
|
|
|
30
29
|
// Contexts are usually strings, but can sometimes be objects. We're unable to use objects as tags,
|
|
31
30
|
// so we filter out the objects before setting the tags.
|
|
32
31
|
const stringContexts = this.credential.contexts.filter((ctx) => typeof ctx === 'string');
|
|
33
|
-
const tags =
|
|
32
|
+
const tags = {
|
|
33
|
+
...this._tags,
|
|
34
|
+
issuerId: this.credential.issuerId,
|
|
35
|
+
subjectIds: this.credential.credentialSubjectIds,
|
|
36
|
+
schemaIds: this.credential.credentialSchemaIds,
|
|
37
|
+
contexts: stringContexts,
|
|
38
|
+
givenId: this.credential.id,
|
|
39
|
+
claimFormat: this.credential.claimFormat,
|
|
40
|
+
types: this.credential.type,
|
|
41
|
+
};
|
|
34
42
|
// Proof types is used for ldp_vc credentials
|
|
35
43
|
if (this.credential.claimFormat === models_1.ClaimFormat.LdpVc) {
|
|
36
44
|
tags.proofTypes = this.credential.proofTypes;
|
|
@@ -52,6 +60,12 @@ class W3cCredentialRecord extends BaseRecord_1.BaseRecord {
|
|
|
52
60
|
clone() {
|
|
53
61
|
return utils_1.JsonTransformer.fromJSON(utils_1.JsonTransformer.toJSON(this), this.constructor);
|
|
54
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* encoded is convenience method added to all credential records
|
|
65
|
+
*/
|
|
66
|
+
get encoded() {
|
|
67
|
+
return this.credential.encoded;
|
|
68
|
+
}
|
|
55
69
|
}
|
|
56
70
|
exports.W3cCredentialRecord = W3cCredentialRecord;
|
|
57
71
|
W3cCredentialRecord.type = 'W3cCredentialRecord';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"W3cCredentialRecord.js","sourceRoot":"","sources":["../../../../src/modules/vc/repository/W3cCredentialRecord.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,4DAAwD;AACxD,0CAAgD;AAChD,8CAA0C;AAC1C,sCAAoG;AAgCpG,MAAa,mBAAoB,SAAQ,uBAA6D;IAOpG,YAAmB,KAAiC
|
|
1
|
+
{"version":3,"file":"W3cCredentialRecord.js","sourceRoot":"","sources":["../../../../src/modules/vc/repository/W3cCredentialRecord.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,4DAAwD;AACxD,0CAAgD;AAChD,8CAA0C;AAC1C,sCAAoG;AAgCpG,MAAa,mBAAoB,SAAQ,uBAA6D;IAOpG,YAAmB,KAAiC;QAClD,KAAK,EAAE,CAAA;QANO,SAAI,GAAG,mBAAmB,CAAC,IAAI,CAAA;QAO7C,IAAI,KAAK,EAAE,CAAC;YACV,IAAI,CAAC,EAAE,GAAG,KAAK,CAAC,EAAE,IAAI,IAAA,WAAI,GAAE,CAAA;YAC5B,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,IAAI,IAAI,IAAI,EAAE,CAAA;YAC9C,IAAI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,QAAQ,CAAC,uBAAe,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,WAAkC,CAAC,CAAA;IACxG,CAAC;IAED;;OAEG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,UAAU,CAAC,OAAO,CAAA;IAChC,CAAC;;AA/DH,kDAgEC;AA/DwB,wBAAI,GAAG,qBAAqB,AAAxB,CAAwB;AAI5C;IADN,IAAA,2CAAkC,GAAE;;uDACM"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AgentContext } from '../../agent';
|
|
2
2
|
import { X509ModuleConfig } from './X509ModuleConfig';
|
|
3
|
-
import { X509Service } from './X509Service';
|
|
4
3
|
import { X509CreateSelfSignedCertificateOptions, X509ValidateCertificateChainOptions } from './X509ServiceOptions';
|
|
5
4
|
/**
|
|
6
5
|
* @public
|
|
@@ -8,14 +7,13 @@ import { X509CreateSelfSignedCertificateOptions, X509ValidateCertificateChainOpt
|
|
|
8
7
|
export declare class X509Api {
|
|
9
8
|
private agentContext;
|
|
10
9
|
private x509ModuleConfig;
|
|
11
|
-
|
|
12
|
-
constructor(agentContext: AgentContext, x509ModuleConfig: X509ModuleConfig, x509Service: X509Service);
|
|
10
|
+
constructor(agentContext: AgentContext, x509ModuleConfig: X509ModuleConfig);
|
|
13
11
|
/**
|
|
14
12
|
* Adds a trusted certificate to the X509 Module Config.
|
|
15
13
|
*
|
|
16
14
|
* @param certificate
|
|
17
15
|
*/
|
|
18
|
-
addTrustedCertificate(certificate: string):
|
|
16
|
+
addTrustedCertificate(certificate: string): void;
|
|
19
17
|
/**
|
|
20
18
|
* Overwrites the trusted certificates in the X509 Module Config.
|
|
21
19
|
*
|
|
@@ -18,17 +18,16 @@ const X509Service_1 = require("./X509Service");
|
|
|
18
18
|
* @public
|
|
19
19
|
*/
|
|
20
20
|
let X509Api = class X509Api {
|
|
21
|
-
constructor(agentContext, x509ModuleConfig
|
|
21
|
+
constructor(agentContext, x509ModuleConfig) {
|
|
22
22
|
this.agentContext = agentContext;
|
|
23
23
|
this.x509ModuleConfig = x509ModuleConfig;
|
|
24
|
-
this.x509Service = x509Service;
|
|
25
24
|
}
|
|
26
25
|
/**
|
|
27
26
|
* Adds a trusted certificate to the X509 Module Config.
|
|
28
27
|
*
|
|
29
28
|
* @param certificate
|
|
30
29
|
*/
|
|
31
|
-
|
|
30
|
+
addTrustedCertificate(certificate) {
|
|
32
31
|
this.x509ModuleConfig.addTrustedCertificate(certificate);
|
|
33
32
|
}
|
|
34
33
|
/**
|
|
@@ -59,8 +58,6 @@ let X509Api = class X509Api {
|
|
|
59
58
|
exports.X509Api = X509Api;
|
|
60
59
|
exports.X509Api = X509Api = __decorate([
|
|
61
60
|
(0, plugins_1.injectable)(),
|
|
62
|
-
__metadata("design:paramtypes", [agent_1.AgentContext,
|
|
63
|
-
X509ModuleConfig_1.X509ModuleConfig,
|
|
64
|
-
X509Service_1.X509Service])
|
|
61
|
+
__metadata("design:paramtypes", [agent_1.AgentContext, X509ModuleConfig_1.X509ModuleConfig])
|
|
65
62
|
], X509Api);
|
|
66
63
|
//# sourceMappingURL=X509Api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"X509Api.js","sourceRoot":"","sources":["../../../src/modules/x509/X509Api.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA0C;AAC1C,2CAA0C;AAE1C,yDAAqD;AACrD,+CAA2C;AAG3C;;GAEG;AAEI,IAAM,OAAO,GAAb,MAAM,OAAO;IAClB,
|
|
1
|
+
{"version":3,"file":"X509Api.js","sourceRoot":"","sources":["../../../src/modules/x509/X509Api.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA0C;AAC1C,2CAA0C;AAE1C,yDAAqD;AACrD,+CAA2C;AAG3C;;GAEG;AAEI,IAAM,OAAO,GAAb,MAAM,OAAO;IAClB,YAA2B,YAA0B,EAAU,gBAAkC;QAAtE,iBAAY,GAAZ,YAAY,CAAc;QAAU,qBAAgB,GAAhB,gBAAgB,CAAkB;IAAG,CAAC;IAErG;;;;OAIG;IACI,qBAAqB,CAAC,WAAmB;QAC9C,IAAI,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,WAAW,CAAC,CAAA;IAC1D,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,sBAAsB,CAAC,YAAoC;QACtE,IAAI,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,YAAY,CAAC,CAAA;IAC5D,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,2BAA2B,CAAC,OAA+C;QACtF,OAAO,MAAM,yBAAW,CAAC,2BAA2B,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,CAAA;IAClF,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,wBAAwB,CAAC,OAA4C;QAChF,OAAO,MAAM,yBAAW,CAAC,wBAAwB,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,CAAA;IAC/E,CAAC;CACF,CAAA;AAtCY,0BAAO;kBAAP,OAAO;IADnB,IAAA,oBAAU,GAAE;qCAE8B,oBAAY,EAA4B,mCAAgB;GADtF,OAAO,CAsCnB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { X509CreateSelfSignedCertificateOptions } from './X509ServiceOptions';
|
|
2
|
-
import type {
|
|
2
|
+
import type { AgentContext } from '../../agent';
|
|
3
3
|
import { Key } from '../../crypto/Key';
|
|
4
|
+
import { CredoWebCrypto } from '../../crypto/webcrypto';
|
|
4
5
|
type ExtensionObjectIdentifier = string;
|
|
5
6
|
type SubjectAlternativeNameExtension = Array<{
|
|
6
7
|
type: 'url' | 'dns';
|
|
@@ -59,15 +60,23 @@ export declare class X509Certificate {
|
|
|
59
60
|
verificationDate: Date;
|
|
60
61
|
publicKey?: Key;
|
|
61
62
|
}, webCrypto: CredoWebCrypto): Promise<void>;
|
|
62
|
-
|
|
63
|
+
/**
|
|
64
|
+
* Get the thumprint of the X509 certificate in hex format.
|
|
65
|
+
*/
|
|
66
|
+
getThumprint(agentContext: AgentContext): Promise<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Get the data elements of the x509 certificate
|
|
69
|
+
*/
|
|
70
|
+
get data(): {
|
|
63
71
|
issuerName: string;
|
|
72
|
+
issuer: string;
|
|
64
73
|
subjectName: string;
|
|
74
|
+
subject: string;
|
|
65
75
|
serialNumber: string;
|
|
66
|
-
thumbprint: string;
|
|
67
76
|
pem: string;
|
|
68
77
|
notBefore: Date;
|
|
69
78
|
notAfter: Date;
|
|
70
|
-
}
|
|
79
|
+
};
|
|
71
80
|
getIssuerNameField(field: string): string[];
|
|
72
81
|
toString(format: 'asn' | 'pem' | 'hex' | 'base64' | 'text' | 'base64url'): string;
|
|
73
82
|
equal(certificate: X509Certificate): boolean;
|
|
@@ -28,8 +28,6 @@ const asn1_schema_1 = require("@peculiar/asn1-schema");
|
|
|
28
28
|
const asn1_x509_1 = require("@peculiar/asn1-x509");
|
|
29
29
|
const x509 = __importStar(require("@peculiar/x509"));
|
|
30
30
|
const Key_1 = require("../../crypto/Key");
|
|
31
|
-
const KeyType_1 = require("../../crypto/KeyType");
|
|
32
|
-
const ecCompression_1 = require("../../crypto/jose/jwk/ecCompression");
|
|
33
31
|
const webcrypto_1 = require("../../crypto/webcrypto");
|
|
34
32
|
const utils_1 = require("../../crypto/webcrypto/utils");
|
|
35
33
|
const utils_2 = require("../../utils");
|
|
@@ -65,17 +63,8 @@ class X509Certificate {
|
|
|
65
63
|
const publicKey = asn1_schema_1.AsnParser.parse(certificate.publicKey.rawData, asn1_x509_1.SubjectPublicKeyInfo);
|
|
66
64
|
const privateKey = certificate.privateKey ? new Uint8Array(certificate.privateKey.rawData) : undefined;
|
|
67
65
|
const keyType = (0, utils_1.spkiAlgorithmIntoCredoKeyType)(publicKey.algorithm);
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
let keyBytes = new Uint8Array(publicKey.subjectPublicKey);
|
|
71
|
-
if (publicKey.subjectPublicKey.byteLength === 65 && keyType === KeyType_1.KeyType.P256) {
|
|
72
|
-
if (keyBytes[0] !== 0x04) {
|
|
73
|
-
throw new X509Error_1.X509Error('Received P256 key with 65 bytes, but key did not start with 0x04. Invalid key');
|
|
74
|
-
}
|
|
75
|
-
// TODO(crypto): the compress method is bugged because it does not expect the required `0x04` prefix. Here we strip that and receive the expected result
|
|
76
|
-
keyBytes = (0, ecCompression_1.compress)(keyBytes.slice(1));
|
|
77
|
-
}
|
|
78
|
-
const key = new Key_1.Key(keyBytes, keyType);
|
|
66
|
+
const publicKeyBytes = new Uint8Array(publicKey.subjectPublicKey);
|
|
67
|
+
const key = new Key_1.Key(publicKeyBytes, keyType);
|
|
79
68
|
const extensions = certificate.extensions
|
|
80
69
|
.map((e) => {
|
|
81
70
|
if (e instanceof x509.AuthorityKeyIdentifierExtension) {
|
|
@@ -103,38 +92,38 @@ class X509Certificate {
|
|
|
103
92
|
});
|
|
104
93
|
}
|
|
105
94
|
getMatchingExtensions(objectIdentifier) {
|
|
106
|
-
|
|
107
|
-
return (_b = (_a = this.extensions) === null || _a === void 0 ? void 0 : _a.map((e) => e[objectIdentifier])) === null || _b === void 0 ? void 0 : _b.filter(Boolean);
|
|
95
|
+
return this.extensions?.map((e) => e[objectIdentifier])?.filter(Boolean);
|
|
108
96
|
}
|
|
109
97
|
get sanDnsNames() {
|
|
110
|
-
var _a, _b, _c;
|
|
111
98
|
const san = this.getMatchingExtensions(asn1_x509_1.id_ce_subjectAltName);
|
|
112
|
-
return (
|
|
99
|
+
return (san
|
|
100
|
+
?.flatMap((e) => e)
|
|
101
|
+
?.filter((e) => e.type === 'dns')
|
|
102
|
+
?.map((e) => e.value) ?? []);
|
|
113
103
|
}
|
|
114
104
|
get sanUriNames() {
|
|
115
|
-
var _a, _b, _c;
|
|
116
105
|
const san = this.getMatchingExtensions(asn1_x509_1.id_ce_subjectAltName);
|
|
117
|
-
return (
|
|
106
|
+
return (san
|
|
107
|
+
?.flatMap((e) => e)
|
|
108
|
+
?.filter((e) => e.type === 'url')
|
|
109
|
+
?.map((e) => e.value) ?? []);
|
|
118
110
|
}
|
|
119
111
|
get authorityKeyIdentifier() {
|
|
120
|
-
|
|
121
|
-
const keyIds = (_a = this.getMatchingExtensions(asn1_x509_1.id_ce_authorityKeyIdentifier)) === null || _a === void 0 ? void 0 : _a.map((e) => e.keyId);
|
|
112
|
+
const keyIds = this.getMatchingExtensions(asn1_x509_1.id_ce_authorityKeyIdentifier)?.map((e) => e.keyId);
|
|
122
113
|
if (keyIds && keyIds.length > 1) {
|
|
123
114
|
throw new X509Error_1.X509Error('Multiple Authority Key Identifiers are not allowed');
|
|
124
115
|
}
|
|
125
|
-
return keyIds
|
|
116
|
+
return keyIds?.[0];
|
|
126
117
|
}
|
|
127
118
|
get subjectKeyIdentifier() {
|
|
128
|
-
|
|
129
|
-
const keyIds = (_a = this.getMatchingExtensions(asn1_x509_1.id_ce_subjectKeyIdentifier)) === null || _a === void 0 ? void 0 : _a.map((e) => e.keyId);
|
|
119
|
+
const keyIds = this.getMatchingExtensions(asn1_x509_1.id_ce_subjectKeyIdentifier)?.map((e) => e.keyId);
|
|
130
120
|
if (keyIds && keyIds.length > 1) {
|
|
131
121
|
throw new X509Error_1.X509Error('Multiple Subject Key Identifiers are not allowed');
|
|
132
122
|
}
|
|
133
|
-
return keyIds
|
|
123
|
+
return keyIds?.[0];
|
|
134
124
|
}
|
|
135
125
|
get keyUsage() {
|
|
136
|
-
|
|
137
|
-
const keyUsages = (_a = this.getMatchingExtensions(asn1_x509_1.id_ce_keyUsage)) === null || _a === void 0 ? void 0 : _a.map((e) => e.usage);
|
|
126
|
+
const keyUsages = this.getMatchingExtensions(asn1_x509_1.id_ce_keyUsage)?.map((e) => e.usage);
|
|
138
127
|
if (keyUsages && keyUsages.length > 1) {
|
|
139
128
|
throw new X509Error_1.X509Error('Multiple Key Usages are not allowed');
|
|
140
129
|
}
|
|
@@ -158,7 +147,7 @@ class X509Certificate {
|
|
|
158
147
|
if (includeAuthorityKeyIdentifier) {
|
|
159
148
|
x509Extensions.push(new x509.AuthorityKeyIdentifierExtension(hexPublicKey));
|
|
160
149
|
}
|
|
161
|
-
for (const extension of extensions
|
|
150
|
+
for (const extension of extensions ?? []) {
|
|
162
151
|
x509Extensions.push(new x509.SubjectAlternativeNameExtension(extension));
|
|
163
152
|
}
|
|
164
153
|
const certificate = await x509.X509CertificateGenerator.createSelfSigned({
|
|
@@ -196,15 +185,26 @@ class X509Certificate {
|
|
|
196
185
|
throw new X509Error_1.X509Error(`Certificate: '${certificate.subject}' used after it is allowed`);
|
|
197
186
|
}
|
|
198
187
|
}
|
|
199
|
-
|
|
188
|
+
/**
|
|
189
|
+
* Get the thumprint of the X509 certificate in hex format.
|
|
190
|
+
*/
|
|
191
|
+
async getThumprint(agentContext) {
|
|
200
192
|
const certificate = new x509.X509Certificate(this.rawCertificate);
|
|
201
|
-
const thumbprint = await certificate.getThumbprint(
|
|
193
|
+
const thumbprint = await certificate.getThumbprint(new webcrypto_1.CredoWebCrypto(agentContext));
|
|
202
194
|
const thumbprintHex = utils_2.TypedArrayEncoder.toHex(new Uint8Array(thumbprint));
|
|
195
|
+
return thumbprintHex;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Get the data elements of the x509 certificate
|
|
199
|
+
*/
|
|
200
|
+
get data() {
|
|
201
|
+
const certificate = new x509.X509Certificate(this.rawCertificate);
|
|
203
202
|
return {
|
|
204
203
|
issuerName: certificate.issuerName.toString(),
|
|
204
|
+
issuer: certificate.issuer,
|
|
205
205
|
subjectName: certificate.subjectName.toString(),
|
|
206
|
+
subject: certificate.subject,
|
|
206
207
|
serialNumber: certificate.serialNumber,
|
|
207
|
-
thumbprint: thumbprintHex,
|
|
208
208
|
pem: certificate.toString(),
|
|
209
209
|
notBefore: certificate.notBefore,
|
|
210
210
|
notAfter: certificate.notAfter,
|