@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.
Files changed (1519) hide show
  1. package/build/agent/Agent.d.ts +0 -15
  2. package/build/agent/Agent.js +5 -102
  3. package/build/agent/Agent.js.map +1 -1
  4. package/build/agent/AgentConfig.d.ts +0 -24
  5. package/build/agent/AgentConfig.js +19 -53
  6. package/build/agent/AgentConfig.js.map +1 -1
  7. package/build/agent/AgentModules.d.ts +3 -26
  8. package/build/agent/AgentModules.js +4 -19
  9. package/build/agent/AgentModules.js.map +1 -1
  10. package/build/agent/BaseAgent.d.ts +1 -36
  11. package/build/agent/BaseAgent.js +0 -48
  12. package/build/agent/BaseAgent.js.map +1 -1
  13. package/build/agent/EventEmitter.js +5 -2
  14. package/build/agent/EventEmitter.js.map +1 -1
  15. package/build/agent/Events.d.ts +0 -36
  16. package/build/agent/Events.js +0 -7
  17. package/build/agent/Events.js.map +1 -1
  18. package/build/agent/context/DefaultAgentContextProvider.js +1 -1
  19. package/build/agent/context/DefaultAgentContextProvider.js.map +1 -1
  20. package/build/constants.d.ts +0 -1
  21. package/build/constants.js +2 -3
  22. package/build/constants.js.map +1 -1
  23. package/build/crypto/JwsService.d.ts +3 -2
  24. package/build/crypto/JwsService.js +18 -9
  25. package/build/crypto/JwsService.js.map +1 -1
  26. package/build/crypto/Key.d.ts +3 -3
  27. package/build/crypto/Key.js +10 -5
  28. package/build/crypto/Key.js.map +1 -1
  29. package/build/crypto/WalletKeyPair.js +1 -2
  30. package/build/crypto/WalletKeyPair.js.map +1 -1
  31. package/build/crypto/index.d.ts +1 -1
  32. package/build/crypto/jose/jwk/Ed25519Jwk.d.ts +5 -5
  33. package/build/crypto/jose/jwk/Ed25519Jwk.js +11 -6
  34. package/build/crypto/jose/jwk/Ed25519Jwk.js.map +1 -1
  35. package/build/crypto/jose/jwk/Jwk.d.ts +1 -2
  36. package/build/crypto/jose/jwk/Jwk.js.map +1 -1
  37. package/build/crypto/jose/jwk/K256Jwk.d.ts +12 -11
  38. package/build/crypto/jose/jwk/K256Jwk.js +34 -18
  39. package/build/crypto/jose/jwk/K256Jwk.js.map +1 -1
  40. package/build/crypto/jose/jwk/P256Jwk.d.ts +12 -11
  41. package/build/crypto/jose/jwk/P256Jwk.js +34 -18
  42. package/build/crypto/jose/jwk/P256Jwk.js.map +1 -1
  43. package/build/crypto/jose/jwk/P384Jwk.d.ts +12 -11
  44. package/build/crypto/jose/jwk/P384Jwk.js +34 -18
  45. package/build/crypto/jose/jwk/P384Jwk.js.map +1 -1
  46. package/build/crypto/jose/jwk/P521Jwk.d.ts +12 -11
  47. package/build/crypto/jose/jwk/P521Jwk.js +34 -18
  48. package/build/crypto/jose/jwk/P521Jwk.js.map +1 -1
  49. package/build/crypto/jose/jwk/X25519Jwk.d.ts +5 -5
  50. package/build/crypto/jose/jwk/X25519Jwk.js +11 -6
  51. package/build/crypto/jose/jwk/X25519Jwk.js.map +1 -1
  52. package/build/crypto/jose/jwk/transform.d.ts +3 -3
  53. package/build/crypto/jose/jwt/Jwt.d.ts +1 -0
  54. package/build/crypto/jose/jwt/Jwt.js.map +1 -1
  55. package/build/crypto/jose/jwt/JwtPayload.js +20 -25
  56. package/build/crypto/jose/jwt/JwtPayload.js.map +1 -1
  57. package/build/error/ClassValidationError.js +5 -4
  58. package/build/error/ClassValidationError.js.map +1 -1
  59. package/build/error/index.d.ts +0 -1
  60. package/build/error/index.js +0 -1
  61. package/build/error/index.js.map +1 -1
  62. package/build/index.d.ts +24 -35
  63. package/build/index.js +39 -56
  64. package/build/index.js.map +1 -1
  65. package/build/modules/cache/CacheModule.js +7 -4
  66. package/build/modules/cache/CacheModule.js.map +1 -1
  67. package/build/modules/cache/InMemoryLruCache.js +1 -1
  68. package/build/modules/cache/InMemoryLruCache.js.map +1 -1
  69. package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.js +6 -5
  70. package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.js.map +1 -1
  71. package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.js +1 -1
  72. package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.js.map +1 -1
  73. package/build/modules/dcql/DcqlError.d.ts +8 -0
  74. package/build/modules/dcql/DcqlError.js +12 -0
  75. package/build/modules/dcql/DcqlError.js.map +1 -0
  76. package/build/modules/dcql/DcqlModule.d.ts +10 -0
  77. package/build/modules/dcql/DcqlModule.js +23 -0
  78. package/build/modules/dcql/DcqlModule.js.map +1 -0
  79. package/build/modules/dcql/DcqlService.d.ts +339 -0
  80. package/build/modules/dcql/DcqlService.js +301 -0
  81. package/build/modules/dcql/DcqlService.js.map +1 -0
  82. package/build/modules/dcql/index.d.ts +5 -0
  83. package/build/modules/{problem-reports → dcql}/index.js +4 -2
  84. package/build/modules/dcql/index.js.map +1 -0
  85. package/build/modules/dcql/models/DcqlCredentialsForRequest.d.ts +20 -0
  86. package/build/modules/{connections/models/InvitationDetails.js → dcql/models/DcqlCredentialsForRequest.js} +1 -1
  87. package/build/modules/dcql/models/DcqlCredentialsForRequest.js.map +1 -0
  88. package/build/modules/dcql/models/index.d.ts +23 -0
  89. package/build/modules/{basic-messages/services → dcql/models}/index.js +1 -1
  90. package/build/modules/dcql/models/index.js.map +1 -0
  91. package/build/modules/dcql/utils/DcqlPresentationsToCreate.d.ts +34 -0
  92. package/build/modules/dcql/utils/DcqlPresentationsToCreate.js +42 -0
  93. package/build/modules/dcql/utils/DcqlPresentationsToCreate.js.map +1 -0
  94. package/build/modules/dcql/utils/index.d.ts +1 -0
  95. package/build/modules/{basic-messages/handlers → dcql/utils}/index.js +1 -1
  96. package/build/modules/dcql/utils/index.js.map +1 -0
  97. package/build/modules/dids/DidsModuleConfig.js +3 -5
  98. package/build/modules/dids/DidsModuleConfig.js.map +1 -1
  99. package/build/modules/dids/domain/DidDocument.js +14 -52
  100. package/build/modules/dids/domain/DidDocument.js.map +1 -1
  101. package/build/modules/dids/domain/key-type/keyDidMapping.js +8 -2
  102. package/build/modules/dids/domain/key-type/keyDidMapping.js.map +1 -1
  103. package/build/modules/dids/domain/service/DidCommV1Service.js +1 -1
  104. package/build/modules/dids/domain/service/DidCommV1Service.js.map +1 -1
  105. package/build/modules/dids/domain/service/DidCommV2Service.js +1 -1
  106. package/build/modules/dids/domain/service/DidCommV2Service.js.map +1 -1
  107. package/build/modules/dids/domain/service/IndyAgentService.js +1 -1
  108. package/build/modules/dids/domain/service/IndyAgentService.js.map +1 -1
  109. package/build/modules/dids/domain/service/NewDidCommV2Service.js +1 -1
  110. package/build/modules/dids/domain/service/NewDidCommV2Service.js.map +1 -1
  111. package/build/modules/dids/domain/service/ServiceTransformer.js +3 -3
  112. package/build/modules/dids/domain/service/ServiceTransformer.js.map +1 -1
  113. package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.js +2 -3
  114. package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.js.map +1 -1
  115. package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.js +2 -2
  116. package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.js.map +1 -1
  117. package/build/modules/dids/methods/jwk/JwkDidRegistrar.js +4 -5
  118. package/build/modules/dids/methods/jwk/JwkDidRegistrar.js.map +1 -1
  119. package/build/modules/dids/methods/key/KeyDidRegistrar.js +4 -5
  120. package/build/modules/dids/methods/key/KeyDidRegistrar.js.map +1 -1
  121. package/build/modules/dids/methods/peer/PeerDidRegistrar.js +7 -8
  122. package/build/modules/dids/methods/peer/PeerDidRegistrar.js.map +1 -1
  123. package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.d.ts +1 -1
  124. package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.js +1 -2
  125. package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.js.map +1 -1
  126. package/build/modules/dids/methods/peer/peerDidNumAlgo1.js +1 -1
  127. package/build/modules/dids/methods/peer/peerDidNumAlgo1.js.map +1 -1
  128. package/build/modules/dids/methods/peer/peerDidNumAlgo2.d.ts +0 -3
  129. package/build/modules/dids/methods/peer/peerDidNumAlgo2.js +15 -48
  130. package/build/modules/dids/methods/peer/peerDidNumAlgo2.js.map +1 -1
  131. package/build/modules/dids/methods/peer/peerDidNumAlgo4.d.ts +0 -5
  132. package/build/modules/dids/methods/peer/peerDidNumAlgo4.js +0 -25
  133. package/build/modules/dids/methods/peer/peerDidNumAlgo4.js.map +1 -1
  134. package/build/modules/dids/methods/web/WebDidResolver.js +5 -3
  135. package/build/modules/dids/methods/web/WebDidResolver.js.map +1 -1
  136. package/build/modules/dids/repository/DidRecord.js +12 -6
  137. package/build/modules/dids/repository/DidRecord.js.map +1 -1
  138. package/build/modules/dids/services/DidRegistrarService.js +54 -16
  139. package/build/modules/dids/services/DidRegistrarService.js.map +1 -1
  140. package/build/modules/dids/services/DidResolverService.js +30 -10
  141. package/build/modules/dids/services/DidResolverService.js.map +1 -1
  142. package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.d.ts +8 -5
  143. package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js +37 -22
  144. package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js.map +1 -1
  145. package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.ts +4 -8
  146. package/build/modules/dif-presentation-exchange/models/TransactionData.d.ts +36 -0
  147. package/build/{agent/MessageHandler.js → modules/dif-presentation-exchange/models/TransactionData.js} +1 -1
  148. package/build/modules/dif-presentation-exchange/models/TransactionData.js.map +1 -0
  149. package/build/modules/dif-presentation-exchange/models/index.d.ts +3 -2
  150. package/build/modules/dif-presentation-exchange/models/index.js.map +1 -1
  151. package/build/modules/dif-presentation-exchange/utils/credentialSelection.js +27 -23
  152. package/build/modules/dif-presentation-exchange/utils/credentialSelection.js.map +1 -1
  153. package/build/modules/dif-presentation-exchange/utils/presentationSelection.d.ts +1 -1
  154. package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.d.ts +6 -4
  155. package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.js +11 -3
  156. package/build/modules/dif-presentation-exchange/utils/presentationsToCreate.js.map +1 -1
  157. package/build/modules/dif-presentation-exchange/utils/transform.d.ts +1 -1
  158. package/build/modules/dif-presentation-exchange/utils/transform.js +2 -19
  159. package/build/modules/dif-presentation-exchange/utils/transform.js.map +1 -1
  160. package/build/modules/generic-records/repository/GenericRecord.js +6 -5
  161. package/build/modules/generic-records/repository/GenericRecord.js.map +1 -1
  162. package/build/modules/mdoc/Mdoc.d.ts +15 -1
  163. package/build/modules/mdoc/Mdoc.js +43 -21
  164. package/build/modules/mdoc/Mdoc.js.map +1 -1
  165. package/build/modules/mdoc/MdocContext.js +4 -1
  166. package/build/modules/mdoc/MdocContext.js.map +1 -1
  167. package/build/modules/mdoc/MdocDeviceResponse.d.ts +15 -1
  168. package/build/modules/mdoc/MdocDeviceResponse.js +163 -38
  169. package/build/modules/mdoc/MdocDeviceResponse.js.map +1 -1
  170. package/build/modules/mdoc/MdocOptions.d.ts +23 -11
  171. package/build/modules/mdoc/MdocOptions.js +3 -0
  172. package/build/modules/mdoc/MdocOptions.js.map +1 -1
  173. package/build/modules/mdoc/MdocService.d.ts +2 -1
  174. package/build/modules/mdoc/MdocService.js +3 -0
  175. package/build/modules/mdoc/MdocService.js.map +1 -1
  176. package/build/modules/mdoc/index.d.ts +2 -0
  177. package/build/modules/mdoc/index.js +5 -0
  178. package/build/modules/mdoc/index.js.map +1 -1
  179. package/build/modules/mdoc/mdocSupportedAlgs.d.ts +4 -0
  180. package/build/modules/mdoc/mdocSupportedAlgs.js +15 -0
  181. package/build/modules/mdoc/mdocSupportedAlgs.js.map +1 -0
  182. package/build/modules/mdoc/mdocUtil.d.ts +1 -0
  183. package/build/modules/mdoc/mdocUtil.js +7 -0
  184. package/build/modules/mdoc/mdocUtil.js.map +1 -0
  185. package/build/modules/mdoc/repository/MdocRecord.d.ts +8 -0
  186. package/build/modules/mdoc/repository/MdocRecord.js +20 -6
  187. package/build/modules/mdoc/repository/MdocRecord.js.map +1 -1
  188. package/build/modules/sd-jwt-vc/SdJwtVcApi.d.ts +6 -0
  189. package/build/modules/sd-jwt-vc/SdJwtVcOptions.d.ts +5 -1
  190. package/build/modules/sd-jwt-vc/SdJwtVcService.d.ts +23 -2
  191. package/build/modules/sd-jwt-vc/SdJwtVcService.js +84 -34
  192. package/build/modules/sd-jwt-vc/SdJwtVcService.js.map +1 -1
  193. package/build/modules/sd-jwt-vc/SdJwtVcTransactionData.d.ts +10 -0
  194. package/build/modules/sd-jwt-vc/SdJwtVcTransactionData.js +43 -0
  195. package/build/modules/sd-jwt-vc/SdJwtVcTransactionData.js.map +1 -0
  196. package/build/modules/sd-jwt-vc/decodeSdJwtVc.d.ts +2 -7
  197. package/build/modules/sd-jwt-vc/decodeSdJwtVc.js +7 -2
  198. package/build/modules/sd-jwt-vc/decodeSdJwtVc.js.map +1 -1
  199. package/build/modules/sd-jwt-vc/disclosureFrame.d.ts +6 -0
  200. package/build/modules/sd-jwt-vc/disclosureFrame.js +21 -0
  201. package/build/modules/sd-jwt-vc/disclosureFrame.js.map +1 -0
  202. package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.d.ts +8 -0
  203. package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.js +21 -5
  204. package/build/modules/sd-jwt-vc/repository/SdJwtVcRecord.js.map +1 -1
  205. package/build/modules/vc/W3cCredentialService.js +1 -1
  206. package/build/modules/vc/W3cCredentialService.js.map +1 -1
  207. package/build/modules/vc/W3cCredentialServiceOptions.d.ts +2 -12
  208. package/build/modules/vc/W3cCredentialsModuleConfig.js +2 -3
  209. package/build/modules/vc/W3cCredentialsModuleConfig.js.map +1 -1
  210. package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.js +15 -27
  211. package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.js.map +1 -1
  212. package/build/modules/vc/data-integrity/deriveProof.js +2 -3
  213. package/build/modules/vc/data-integrity/deriveProof.js.map +1 -1
  214. package/build/modules/vc/data-integrity/index.d.ts +1 -0
  215. package/build/modules/vc/data-integrity/index.js +3 -1
  216. package/build/modules/vc/data-integrity/index.js.map +1 -1
  217. package/build/modules/vc/data-integrity/jsonldUtil.js +4 -1
  218. package/build/modules/vc/data-integrity/jsonldUtil.js.map +1 -1
  219. package/build/modules/vc/data-integrity/libraries/index.js +8 -2
  220. package/build/modules/vc/data-integrity/libraries/index.js.map +1 -1
  221. package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.js +2 -4
  222. package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.js.map +1 -1
  223. package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.js +2 -4
  224. package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.js.map +1 -1
  225. package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.js +5 -1
  226. package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.js.map +1 -1
  227. package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.js +5 -1
  228. package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2020.js.map +1 -1
  229. package/build/modules/vc/jwt-vc/W3cJwtCredentialService.js +28 -12
  230. package/build/modules/vc/jwt-vc/W3cJwtCredentialService.js.map +1 -1
  231. package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.d.ts +1 -1
  232. package/build/modules/vc/jwt-vc/credentialTransformer.js +10 -4
  233. package/build/modules/vc/jwt-vc/credentialTransformer.js.map +1 -1
  234. package/build/modules/vc/jwt-vc/presentationTransformer.js +5 -1
  235. package/build/modules/vc/jwt-vc/presentationTransformer.js.map +1 -1
  236. package/build/modules/vc/models/credential/W3cCredential.js +1 -2
  237. package/build/modules/vc/models/credential/W3cCredential.js.map +1 -1
  238. package/build/modules/vc/models/credential/W3cCredentialSubject.js +3 -15
  239. package/build/modules/vc/models/credential/W3cCredentialSubject.js.map +1 -1
  240. package/build/modules/vc/models/presentation/W3cPresentation.js +2 -3
  241. package/build/modules/vc/models/presentation/W3cPresentation.js.map +1 -1
  242. package/build/modules/vc/models/presentation/index.d.ts +1 -0
  243. package/build/modules/vc/models/presentation/index.js +1 -0
  244. package/build/modules/vc/models/presentation/index.js.map +1 -1
  245. package/build/modules/vc/repository/W3cCredentialRecord.d.ts +4 -0
  246. package/build/modules/vc/repository/W3cCredentialRecord.js +18 -4
  247. package/build/modules/vc/repository/W3cCredentialRecord.js.map +1 -1
  248. package/build/modules/x509/X509Api.d.ts +2 -4
  249. package/build/modules/x509/X509Api.js +3 -6
  250. package/build/modules/x509/X509Api.js.map +1 -1
  251. package/build/modules/x509/X509Certificate.d.ts +13 -4
  252. package/build/modules/x509/X509Certificate.js +31 -31
  253. package/build/modules/x509/X509Certificate.js.map +1 -1
  254. package/build/modules/x509/X509ModuleConfig.d.ts +46 -8
  255. package/build/modules/x509/X509ModuleConfig.js +31 -9
  256. package/build/modules/x509/X509ModuleConfig.js.map +1 -1
  257. package/build/modules/x509/X509ServiceOptions.d.ts +6 -2
  258. package/build/modules/x509/extraction.d.ts +3 -0
  259. package/build/modules/x509/extraction.js +8 -0
  260. package/build/modules/x509/extraction.js.map +1 -0
  261. package/build/modules/x509/index.d.ts +1 -0
  262. package/build/modules/x509/index.js +1 -0
  263. package/build/modules/x509/index.js.map +1 -1
  264. package/build/plugins/DependencyManager.d.ts +0 -11
  265. package/build/plugins/DependencyManager.js +6 -30
  266. package/build/plugins/DependencyManager.js.map +1 -1
  267. package/build/plugins/Module.d.ts +2 -2
  268. package/build/storage/BaseRecord.js +4 -1
  269. package/build/storage/BaseRecord.js.map +1 -1
  270. package/build/storage/Metadata.js +5 -3
  271. package/build/storage/Metadata.js.map +1 -1
  272. package/build/storage/index.d.ts +0 -1
  273. package/build/storage/index.js +0 -1
  274. package/build/storage/index.js.map +1 -1
  275. package/build/storage/migration/UpdateAssistant.d.ts +2 -2
  276. package/build/storage/migration/UpdateAssistant.js +5 -7
  277. package/build/storage/migration/UpdateAssistant.js.map +1 -1
  278. package/build/storage/migration/isUpToDate.js +1 -1
  279. package/build/storage/migration/isUpToDate.js.map +1 -1
  280. package/build/storage/migration/repository/StorageVersionRecord.js +2 -3
  281. package/build/storage/migration/repository/StorageVersionRecord.js.map +1 -1
  282. package/build/storage/migration/updates/0.4-0.5/index.js +0 -4
  283. package/build/storage/migration/updates/0.4-0.5/index.js.map +1 -1
  284. package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.js +1 -2
  285. package/build/storage/migration/updates/0.4-0.5/w3cCredentialRecord.js.map +1 -1
  286. package/build/storage/migration/updates.d.ts +7 -7
  287. package/build/storage/migration/updates.js +2 -4
  288. package/build/storage/migration/updates.js.map +1 -1
  289. package/build/types.d.ts +22 -52
  290. package/build/types.js +1 -6
  291. package/build/types.js.map +1 -1
  292. package/build/utils/MultiHashEncoder.js +1 -1
  293. package/build/utils/MultiHashEncoder.js.map +1 -1
  294. package/build/utils/fetch.js +5 -3
  295. package/build/utils/fetch.js.map +1 -1
  296. package/build/utils/index.d.ts +1 -1
  297. package/build/utils/index.js +1 -1
  298. package/build/utils/index.js.map +1 -1
  299. package/build/utils/transformers.d.ts +0 -1
  300. package/build/utils/transformers.js +2 -19
  301. package/build/utils/transformers.js.map +1 -1
  302. package/build/utils/validators.js +3 -4
  303. package/build/utils/validators.js.map +1 -1
  304. package/build/utils/version.js +1 -1
  305. package/build/utils/version.js.map +1 -1
  306. package/build/wallet/Wallet.d.ts +1 -1
  307. package/build/wallet/WalletApi.js +8 -2
  308. package/build/wallet/WalletApi.js.map +1 -1
  309. package/package.json +19 -20
  310. package/build/agent/AgentMessage.d.ts +0 -92
  311. package/build/agent/AgentMessage.js +0 -66
  312. package/build/agent/AgentMessage.js.map +0 -1
  313. package/build/agent/BaseMessage.d.ts +0 -11
  314. package/build/agent/BaseMessage.js +0 -34
  315. package/build/agent/BaseMessage.js.map +0 -1
  316. package/build/agent/Dispatcher.d.ts +0 -15
  317. package/build/agent/Dispatcher.js +0 -132
  318. package/build/agent/Dispatcher.js.map +0 -1
  319. package/build/agent/EnvelopeService.d.ts +0 -21
  320. package/build/agent/EnvelopeService.js +0 -66
  321. package/build/agent/EnvelopeService.js.map +0 -1
  322. package/build/agent/FeatureRegistry.d.ts +0 -21
  323. package/build/agent/FeatureRegistry.js +0 -66
  324. package/build/agent/FeatureRegistry.js.map +0 -1
  325. package/build/agent/MessageHandler.d.ts +0 -14
  326. package/build/agent/MessageHandler.js.map +0 -1
  327. package/build/agent/MessageHandlerMiddleware.d.ts +0 -7
  328. package/build/agent/MessageHandlerMiddleware.js +0 -26
  329. package/build/agent/MessageHandlerMiddleware.js.map +0 -1
  330. package/build/agent/MessageHandlerRegistry.d.ts +0 -30
  331. package/build/agent/MessageHandlerRegistry.js +0 -98
  332. package/build/agent/MessageHandlerRegistry.js.map +0 -1
  333. package/build/agent/MessageReceiver.d.ts +0 -63
  334. package/build/agent/MessageReceiver.js +0 -245
  335. package/build/agent/MessageReceiver.js.map +0 -1
  336. package/build/agent/MessageSender.d.ts +0 -56
  337. package/build/agent/MessageSender.js +0 -472
  338. package/build/agent/MessageSender.js.map +0 -1
  339. package/build/agent/TransportService.d.ts +0 -32
  340. package/build/agent/TransportService.js +0 -78
  341. package/build/agent/TransportService.js.map +0 -1
  342. package/build/agent/getOutboundMessageContext.d.ts +0 -27
  343. package/build/agent/getOutboundMessageContext.js +0 -198
  344. package/build/agent/getOutboundMessageContext.js.map +0 -1
  345. package/build/agent/models/InboundMessageContext.d.ts +0 -46
  346. package/build/agent/models/InboundMessageContext.js +0 -48
  347. package/build/agent/models/InboundMessageContext.js.map +0 -1
  348. package/build/agent/models/OutboundMessageContext.d.ts +0 -51
  349. package/build/agent/models/OutboundMessageContext.js +0 -46
  350. package/build/agent/models/OutboundMessageContext.js.map +0 -1
  351. package/build/agent/models/OutboundMessageSendStatus.d.ts +0 -6
  352. package/build/agent/models/OutboundMessageSendStatus.js +0 -11
  353. package/build/agent/models/OutboundMessageSendStatus.js.map +0 -1
  354. package/build/agent/models/features/Feature.d.ts +0 -18
  355. package/build/agent/models/features/Feature.js +0 -62
  356. package/build/agent/models/features/Feature.js.map +0 -1
  357. package/build/agent/models/features/FeatureQuery.d.ts +0 -9
  358. package/build/agent/models/features/FeatureQuery.js +0 -33
  359. package/build/agent/models/features/FeatureQuery.js.map +0 -1
  360. package/build/agent/models/features/GoalCode.d.ts +0 -7
  361. package/build/agent/models/features/GoalCode.js +0 -12
  362. package/build/agent/models/features/GoalCode.js.map +0 -1
  363. package/build/agent/models/features/GovernanceFramework.d.ts +0 -7
  364. package/build/agent/models/features/GovernanceFramework.js +0 -12
  365. package/build/agent/models/features/GovernanceFramework.js.map +0 -1
  366. package/build/agent/models/features/Protocol.d.ts +0 -10
  367. package/build/agent/models/features/Protocol.js +0 -30
  368. package/build/agent/models/features/Protocol.js.map +0 -1
  369. package/build/agent/models/features/index.d.ts +0 -5
  370. package/build/agent/models/features/index.js +0 -22
  371. package/build/agent/models/features/index.js.map +0 -1
  372. package/build/agent/models/index.d.ts +0 -4
  373. package/build/agent/models/index.js +0 -21
  374. package/build/agent/models/index.js.map +0 -1
  375. package/build/crypto/jose/jwk/ecCompression.d.ts +0 -5
  376. package/build/crypto/jose/jwk/ecCompression.js +0 -108
  377. package/build/crypto/jose/jwk/ecCompression.js.map +0 -1
  378. package/build/decorators/ack/AckDecorator.d.ts +0 -13
  379. package/build/decorators/ack/AckDecorator.js +0 -38
  380. package/build/decorators/ack/AckDecorator.js.map +0 -1
  381. package/build/decorators/ack/AckDecoratorExtension.d.ts +0 -13
  382. package/build/decorators/ack/AckDecoratorExtension.js +0 -38
  383. package/build/decorators/ack/AckDecoratorExtension.js.map +0 -1
  384. package/build/decorators/attachment/Attachment.d.ts +0 -75
  385. package/build/decorators/attachment/Attachment.js +0 -168
  386. package/build/decorators/attachment/Attachment.js.map +0 -1
  387. package/build/decorators/attachment/AttachmentExtension.d.ts +0 -15
  388. package/build/decorators/attachment/AttachmentExtension.js +0 -41
  389. package/build/decorators/attachment/AttachmentExtension.js.map +0 -1
  390. package/build/decorators/l10n/L10nDecorator.d.ts +0 -7
  391. package/build/decorators/l10n/L10nDecorator.js +0 -13
  392. package/build/decorators/l10n/L10nDecorator.js.map +0 -1
  393. package/build/decorators/l10n/L10nDecoratorExtension.d.ts +0 -12
  394. package/build/decorators/l10n/L10nDecoratorExtension.js +0 -40
  395. package/build/decorators/l10n/L10nDecoratorExtension.js.map +0 -1
  396. package/build/decorators/service/ServiceDecorator.d.ts +0 -20
  397. package/build/decorators/service/ServiceDecorator.js +0 -63
  398. package/build/decorators/service/ServiceDecorator.js.map +0 -1
  399. package/build/decorators/service/ServiceDecoratorExtension.d.ts +0 -12
  400. package/build/decorators/service/ServiceDecoratorExtension.js +0 -31
  401. package/build/decorators/service/ServiceDecoratorExtension.js.map +0 -1
  402. package/build/decorators/signature/SignatureDecorator.d.ts +0 -11
  403. package/build/decorators/signature/SignatureDecorator.js +0 -55
  404. package/build/decorators/signature/SignatureDecorator.js.map +0 -1
  405. package/build/decorators/signature/SignatureDecoratorUtils.d.ts +0 -21
  406. package/build/decorators/signature/SignatureDecoratorUtils.js +0 -58
  407. package/build/decorators/signature/SignatureDecoratorUtils.js.map +0 -1
  408. package/build/decorators/thread/ThreadDecorator.d.ts +0 -26
  409. package/build/decorators/thread/ThreadDecorator.js +0 -52
  410. package/build/decorators/thread/ThreadDecorator.js.map +0 -1
  411. package/build/decorators/thread/ThreadDecoratorExtension.d.ts +0 -15
  412. package/build/decorators/thread/ThreadDecoratorExtension.js +0 -36
  413. package/build/decorators/thread/ThreadDecoratorExtension.js.map +0 -1
  414. package/build/decorators/timing/TimingDecorator.d.ts +0 -38
  415. package/build/decorators/timing/TimingDecorator.js +0 -93
  416. package/build/decorators/timing/TimingDecorator.js.map +0 -1
  417. package/build/decorators/timing/TimingDecoratorExtension.d.ts +0 -14
  418. package/build/decorators/timing/TimingDecoratorExtension.js +0 -32
  419. package/build/decorators/timing/TimingDecoratorExtension.js.map +0 -1
  420. package/build/decorators/transport/TransportDecorator.d.ts +0 -20
  421. package/build/decorators/transport/TransportDecorator.js +0 -51
  422. package/build/decorators/transport/TransportDecorator.js.map +0 -1
  423. package/build/decorators/transport/TransportDecoratorExtension.d.ts +0 -13
  424. package/build/decorators/transport/TransportDecoratorExtension.js +0 -54
  425. package/build/decorators/transport/TransportDecoratorExtension.js.map +0 -1
  426. package/build/error/MessageSendingError.d.ts +0 -9
  427. package/build/error/MessageSendingError.js +0 -12
  428. package/build/error/MessageSendingError.js.map +0 -1
  429. package/build/modules/basic-messages/BasicMessageEvents.d.ts +0 -13
  430. package/build/modules/basic-messages/BasicMessageEvents.js +0 -8
  431. package/build/modules/basic-messages/BasicMessageEvents.js.map +0 -1
  432. package/build/modules/basic-messages/BasicMessageRole.d.ts +0 -4
  433. package/build/modules/basic-messages/BasicMessageRole.js +0 -9
  434. package/build/modules/basic-messages/BasicMessageRole.js.map +0 -1
  435. package/build/modules/basic-messages/BasicMessagesApi.d.ts +0 -58
  436. package/build/modules/basic-messages/BasicMessagesApi.js +0 -103
  437. package/build/modules/basic-messages/BasicMessagesApi.js.map +0 -1
  438. package/build/modules/basic-messages/BasicMessagesModule.d.ts +0 -10
  439. package/build/modules/basic-messages/BasicMessagesModule.js +0 -29
  440. package/build/modules/basic-messages/BasicMessagesModule.js.map +0 -1
  441. package/build/modules/basic-messages/handlers/BasicMessageHandler.d.ts +0 -9
  442. package/build/modules/basic-messages/handlers/BasicMessageHandler.js +0 -16
  443. package/build/modules/basic-messages/handlers/BasicMessageHandler.js.map +0 -1
  444. package/build/modules/basic-messages/handlers/index.d.ts +0 -1
  445. package/build/modules/basic-messages/handlers/index.js.map +0 -1
  446. package/build/modules/basic-messages/index.d.ts +0 -7
  447. package/build/modules/basic-messages/index.js +0 -24
  448. package/build/modules/basic-messages/index.js.map +0 -1
  449. package/build/modules/basic-messages/messages/BasicMessage.d.ts +0 -19
  450. package/build/modules/basic-messages/messages/BasicMessage.js +0 -53
  451. package/build/modules/basic-messages/messages/BasicMessage.js.map +0 -1
  452. package/build/modules/basic-messages/messages/index.d.ts +0 -1
  453. package/build/modules/basic-messages/messages/index.js +0 -18
  454. package/build/modules/basic-messages/messages/index.js.map +0 -1
  455. package/build/modules/basic-messages/repository/BasicMessageRecord.d.ts +0 -39
  456. package/build/modules/basic-messages/repository/BasicMessageRecord.js +0 -29
  457. package/build/modules/basic-messages/repository/BasicMessageRecord.js.map +0 -1
  458. package/build/modules/basic-messages/repository/BasicMessageRepository.d.ts +0 -7
  459. package/build/modules/basic-messages/repository/BasicMessageRepository.js +0 -32
  460. package/build/modules/basic-messages/repository/BasicMessageRepository.js.map +0 -1
  461. package/build/modules/basic-messages/repository/index.d.ts +0 -2
  462. package/build/modules/basic-messages/repository/index.js +0 -19
  463. package/build/modules/basic-messages/repository/index.js.map +0 -1
  464. package/build/modules/basic-messages/services/BasicMessageService.d.ts +0 -26
  465. package/build/modules/basic-messages/services/BasicMessageService.js +0 -86
  466. package/build/modules/basic-messages/services/BasicMessageService.js.map +0 -1
  467. package/build/modules/basic-messages/services/index.d.ts +0 -1
  468. package/build/modules/basic-messages/services/index.js.map +0 -1
  469. package/build/modules/common/index.d.ts +0 -1
  470. package/build/modules/common/index.js +0 -18
  471. package/build/modules/common/index.js.map +0 -1
  472. package/build/modules/common/messages/AckMessage.d.ts +0 -26
  473. package/build/modules/common/messages/AckMessage.js +0 -54
  474. package/build/modules/common/messages/AckMessage.js.map +0 -1
  475. package/build/modules/connections/ConnectionEvents.d.ts +0 -28
  476. package/build/modules/connections/ConnectionEvents.js +0 -9
  477. package/build/modules/connections/ConnectionEvents.js.map +0 -1
  478. package/build/modules/connections/ConnectionsApi.d.ts +0 -195
  479. package/build/modules/connections/ConnectionsApi.js +0 -450
  480. package/build/modules/connections/ConnectionsApi.js.map +0 -1
  481. package/build/modules/connections/ConnectionsModule.d.ts +0 -14
  482. package/build/modules/connections/ConnectionsModule.js +0 -43
  483. package/build/modules/connections/ConnectionsModule.js.map +0 -1
  484. package/build/modules/connections/ConnectionsModuleConfig.d.ts +0 -47
  485. package/build/modules/connections/ConnectionsModuleConfig.js +0 -57
  486. package/build/modules/connections/ConnectionsModuleConfig.js.map +0 -1
  487. package/build/modules/connections/DidExchangeProtocol.d.ts +0 -60
  488. package/build/modules/connections/DidExchangeProtocol.js +0 -484
  489. package/build/modules/connections/DidExchangeProtocol.js.map +0 -1
  490. package/build/modules/connections/DidExchangeStateMachine.d.ts +0 -10
  491. package/build/modules/connections/DidExchangeStateMachine.js +0 -78
  492. package/build/modules/connections/DidExchangeStateMachine.js.map +0 -1
  493. package/build/modules/connections/TrustPingEvents.d.ts +0 -21
  494. package/build/modules/connections/TrustPingEvents.js +0 -9
  495. package/build/modules/connections/TrustPingEvents.js.map +0 -1
  496. package/build/modules/connections/errors/ConnectionProblemReportError.d.ts +0 -13
  497. package/build/modules/connections/errors/ConnectionProblemReportError.js +0 -19
  498. package/build/modules/connections/errors/ConnectionProblemReportError.js.map +0 -1
  499. package/build/modules/connections/errors/ConnectionProblemReportReason.d.ts +0 -11
  500. package/build/modules/connections/errors/ConnectionProblemReportReason.js +0 -16
  501. package/build/modules/connections/errors/ConnectionProblemReportReason.js.map +0 -1
  502. package/build/modules/connections/errors/DidExchangeProblemReportError.d.ts +0 -13
  503. package/build/modules/connections/errors/DidExchangeProblemReportError.js +0 -19
  504. package/build/modules/connections/errors/DidExchangeProblemReportError.js.map +0 -1
  505. package/build/modules/connections/errors/DidExchangeProblemReportReason.d.ts +0 -12
  506. package/build/modules/connections/errors/DidExchangeProblemReportReason.js +0 -17
  507. package/build/modules/connections/errors/DidExchangeProblemReportReason.js.map +0 -1
  508. package/build/modules/connections/errors/index.d.ts +0 -4
  509. package/build/modules/connections/errors/index.js +0 -21
  510. package/build/modules/connections/errors/index.js.map +0 -1
  511. package/build/modules/connections/handlers/AckMessageHandler.d.ts +0 -9
  512. package/build/modules/connections/handlers/AckMessageHandler.js +0 -15
  513. package/build/modules/connections/handlers/AckMessageHandler.js.map +0 -1
  514. package/build/modules/connections/handlers/ConnectionProblemReportHandler.d.ts +0 -9
  515. package/build/modules/connections/handlers/ConnectionProblemReportHandler.js +0 -15
  516. package/build/modules/connections/handlers/ConnectionProblemReportHandler.js.map +0 -1
  517. package/build/modules/connections/handlers/ConnectionRequestHandler.d.ts +0 -18
  518. package/build/modules/connections/handlers/ConnectionRequestHandler.js +0 -69
  519. package/build/modules/connections/handlers/ConnectionRequestHandler.js.map +0 -1
  520. package/build/modules/connections/handlers/ConnectionResponseHandler.d.ts +0 -16
  521. package/build/modules/connections/handlers/ConnectionResponseHandler.js +0 -62
  522. package/build/modules/connections/handlers/ConnectionResponseHandler.js.map +0 -1
  523. package/build/modules/connections/handlers/DidExchangeCompleteHandler.d.ts +0 -11
  524. package/build/modules/connections/handlers/DidExchangeCompleteHandler.js +0 -41
  525. package/build/modules/connections/handlers/DidExchangeCompleteHandler.js.map +0 -1
  526. package/build/modules/connections/handlers/DidExchangeRequestHandler.d.ts +0 -18
  527. package/build/modules/connections/handlers/DidExchangeRequestHandler.js +0 -77
  528. package/build/modules/connections/handlers/DidExchangeRequestHandler.js.map +0 -1
  529. package/build/modules/connections/handlers/DidExchangeResponseHandler.d.ts +0 -18
  530. package/build/modules/connections/handlers/DidExchangeResponseHandler.js +0 -78
  531. package/build/modules/connections/handlers/DidExchangeResponseHandler.js.map +0 -1
  532. package/build/modules/connections/handlers/DidRotateAckHandler.d.ts +0 -9
  533. package/build/modules/connections/handlers/DidRotateAckHandler.js +0 -15
  534. package/build/modules/connections/handlers/DidRotateAckHandler.js.map +0 -1
  535. package/build/modules/connections/handlers/DidRotateHandler.d.ts +0 -11
  536. package/build/modules/connections/handlers/DidRotateHandler.js +0 -21
  537. package/build/modules/connections/handlers/DidRotateHandler.js.map +0 -1
  538. package/build/modules/connections/handlers/DidRotateProblemReportHandler.d.ts +0 -9
  539. package/build/modules/connections/handlers/DidRotateProblemReportHandler.js +0 -15
  540. package/build/modules/connections/handlers/DidRotateProblemReportHandler.js.map +0 -1
  541. package/build/modules/connections/handlers/HangupHandler.d.ts +0 -9
  542. package/build/modules/connections/handlers/HangupHandler.js +0 -15
  543. package/build/modules/connections/handlers/HangupHandler.js.map +0 -1
  544. package/build/modules/connections/handlers/TrustPingMessageHandler.d.ts +0 -11
  545. package/build/modules/connections/handlers/TrustPingMessageHandler.js +0 -27
  546. package/build/modules/connections/handlers/TrustPingMessageHandler.js.map +0 -1
  547. package/build/modules/connections/handlers/TrustPingResponseMessageHandler.d.ts +0 -9
  548. package/build/modules/connections/handlers/TrustPingResponseMessageHandler.js +0 -15
  549. package/build/modules/connections/handlers/TrustPingResponseMessageHandler.js.map +0 -1
  550. package/build/modules/connections/handlers/index.d.ts +0 -13
  551. package/build/modules/connections/handlers/index.js +0 -30
  552. package/build/modules/connections/handlers/index.js.map +0 -1
  553. package/build/modules/connections/index.d.ts +0 -10
  554. package/build/modules/connections/index.js +0 -27
  555. package/build/modules/connections/index.js.map +0 -1
  556. package/build/modules/connections/messages/ConnectionInvitationMessage.d.ts +0 -55
  557. package/build/modules/connections/messages/ConnectionInvitationMessage.js +0 -141
  558. package/build/modules/connections/messages/ConnectionInvitationMessage.js.map +0 -1
  559. package/build/modules/connections/messages/ConnectionProblemReportMessage.d.ts +0 -16
  560. package/build/modules/connections/messages/ConnectionProblemReportMessage.js +0 -35
  561. package/build/modules/connections/messages/ConnectionProblemReportMessage.js.map +0 -1
  562. package/build/modules/connections/messages/ConnectionRequestMessage.d.ts +0 -28
  563. package/build/modules/connections/messages/ConnectionRequestMessage.js +0 -64
  564. package/build/modules/connections/messages/ConnectionRequestMessage.js.map +0 -1
  565. package/build/modules/connections/messages/ConnectionResponseMessage.d.ts +0 -23
  566. package/build/modules/connections/messages/ConnectionResponseMessage.js +0 -52
  567. package/build/modules/connections/messages/ConnectionResponseMessage.js.map +0 -1
  568. package/build/modules/connections/messages/DidExchangeCompleteMessage.d.ts +0 -14
  569. package/build/modules/connections/messages/DidExchangeCompleteMessage.js +0 -38
  570. package/build/modules/connections/messages/DidExchangeCompleteMessage.js.map +0 -1
  571. package/build/modules/connections/messages/DidExchangeProblemReportMessage.d.ts +0 -11
  572. package/build/modules/connections/messages/DidExchangeProblemReportMessage.js +0 -30
  573. package/build/modules/connections/messages/DidExchangeProblemReportMessage.js.map +0 -1
  574. package/build/modules/connections/messages/DidExchangeRequestMessage.d.ts +0 -29
  575. package/build/modules/connections/messages/DidExchangeRequestMessage.js +0 -73
  576. package/build/modules/connections/messages/DidExchangeRequestMessage.js.map +0 -1
  577. package/build/modules/connections/messages/DidExchangeResponseMessage.d.ts +0 -24
  578. package/build/modules/connections/messages/DidExchangeResponseMessage.js +0 -64
  579. package/build/modules/connections/messages/DidExchangeResponseMessage.js.map +0 -1
  580. package/build/modules/connections/messages/DidRotateAckMessage.d.ts +0 -12
  581. package/build/modules/connections/messages/DidRotateAckMessage.js +0 -31
  582. package/build/modules/connections/messages/DidRotateAckMessage.js.map +0 -1
  583. package/build/modules/connections/messages/DidRotateMessage.d.ts +0 -20
  584. package/build/modules/connections/messages/DidRotateMessage.js +0 -47
  585. package/build/modules/connections/messages/DidRotateMessage.js.map +0 -1
  586. package/build/modules/connections/messages/DidRotateProblemReportMessage.d.ts +0 -11
  587. package/build/modules/connections/messages/DidRotateProblemReportMessage.js +0 -30
  588. package/build/modules/connections/messages/DidRotateProblemReportMessage.js.map +0 -1
  589. package/build/modules/connections/messages/HangupMessage.d.ts +0 -19
  590. package/build/modules/connections/messages/HangupMessage.js +0 -40
  591. package/build/modules/connections/messages/HangupMessage.js.map +0 -1
  592. package/build/modules/connections/messages/TrustPingMessage.d.ts +0 -26
  593. package/build/modules/connections/messages/TrustPingMessage.js +0 -63
  594. package/build/modules/connections/messages/TrustPingMessage.js.map +0 -1
  595. package/build/modules/connections/messages/TrustPingResponseMessage.d.ts +0 -25
  596. package/build/modules/connections/messages/TrustPingResponseMessage.js +0 -57
  597. package/build/modules/connections/messages/TrustPingResponseMessage.js.map +0 -1
  598. package/build/modules/connections/messages/index.d.ts +0 -14
  599. package/build/modules/connections/messages/index.js +0 -31
  600. package/build/modules/connections/messages/index.js.map +0 -1
  601. package/build/modules/connections/models/Connection.d.ts +0 -10
  602. package/build/modules/connections/models/Connection.js +0 -38
  603. package/build/modules/connections/models/Connection.js.map +0 -1
  604. package/build/modules/connections/models/ConnectionRole.d.ts +0 -4
  605. package/build/modules/connections/models/ConnectionRole.js +0 -9
  606. package/build/modules/connections/models/ConnectionRole.js.map +0 -1
  607. package/build/modules/connections/models/ConnectionState.d.ts +0 -14
  608. package/build/modules/connections/models/ConnectionState.js +0 -33
  609. package/build/modules/connections/models/ConnectionState.js.map +0 -1
  610. package/build/modules/connections/models/ConnectionType.d.ts +0 -3
  611. package/build/modules/connections/models/ConnectionType.js +0 -8
  612. package/build/modules/connections/models/ConnectionType.js.map +0 -1
  613. package/build/modules/connections/models/DidExchangeRole.d.ts +0 -4
  614. package/build/modules/connections/models/DidExchangeRole.js +0 -9
  615. package/build/modules/connections/models/DidExchangeRole.js.map +0 -1
  616. package/build/modules/connections/models/DidExchangeState.d.ts +0 -16
  617. package/build/modules/connections/models/DidExchangeState.js +0 -21
  618. package/build/modules/connections/models/DidExchangeState.js.map +0 -1
  619. package/build/modules/connections/models/DidRotateRole.d.ts +0 -4
  620. package/build/modules/connections/models/DidRotateRole.js +0 -9
  621. package/build/modules/connections/models/DidRotateRole.js.map +0 -1
  622. package/build/modules/connections/models/HandshakeProtocol.d.ts +0 -8
  623. package/build/modules/connections/models/HandshakeProtocol.js +0 -13
  624. package/build/modules/connections/models/HandshakeProtocol.js.map +0 -1
  625. package/build/modules/connections/models/InvitationDetails.d.ts +0 -6
  626. package/build/modules/connections/models/InvitationDetails.js.map +0 -1
  627. package/build/modules/connections/models/did/DidDoc.d.ts +0 -37
  628. package/build/modules/connections/models/did/DidDoc.js +0 -94
  629. package/build/modules/connections/models/did/DidDoc.js.map +0 -1
  630. package/build/modules/connections/models/did/authentication/Authentication.d.ts +0 -4
  631. package/build/modules/connections/models/did/authentication/Authentication.js +0 -7
  632. package/build/modules/connections/models/did/authentication/Authentication.js.map +0 -1
  633. package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.d.ts +0 -6
  634. package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.js +0 -29
  635. package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.js.map +0 -1
  636. package/build/modules/connections/models/did/authentication/ReferencedAuthentication.d.ts +0 -7
  637. package/build/modules/connections/models/did/authentication/ReferencedAuthentication.js +0 -35
  638. package/build/modules/connections/models/did/authentication/ReferencedAuthentication.js.map +0 -1
  639. package/build/modules/connections/models/did/authentication/index.d.ts +0 -19
  640. package/build/modules/connections/models/did/authentication/index.js +0 -59
  641. package/build/modules/connections/models/did/authentication/index.js.map +0 -1
  642. package/build/modules/connections/models/did/index.d.ts +0 -3
  643. package/build/modules/connections/models/did/index.js +0 -20
  644. package/build/modules/connections/models/did/index.js.map +0 -1
  645. package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.d.ts +0 -10
  646. package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.js +0 -35
  647. package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.js.map +0 -1
  648. package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.d.ts +0 -10
  649. package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.js +0 -35
  650. package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.js.map +0 -1
  651. package/build/modules/connections/models/did/publicKey/PublicKey.d.ts +0 -12
  652. package/build/modules/connections/models/did/publicKey/PublicKey.js +0 -42
  653. package/build/modules/connections/models/did/publicKey/PublicKey.js.map +0 -1
  654. package/build/modules/connections/models/did/publicKey/RsaSig2018.d.ts +0 -10
  655. package/build/modules/connections/models/did/publicKey/RsaSig2018.js +0 -35
  656. package/build/modules/connections/models/did/publicKey/RsaSig2018.js.map +0 -1
  657. package/build/modules/connections/models/did/publicKey/index.d.ts +0 -18
  658. package/build/modules/connections/models/did/publicKey/index.js +0 -40
  659. package/build/modules/connections/models/did/publicKey/index.js.map +0 -1
  660. package/build/modules/connections/models/index.d.ts +0 -9
  661. package/build/modules/connections/models/index.js +0 -26
  662. package/build/modules/connections/models/index.js.map +0 -1
  663. package/build/modules/connections/repository/ConnectionMetadataTypes.d.ts +0 -14
  664. package/build/modules/connections/repository/ConnectionMetadataTypes.js +0 -9
  665. package/build/modules/connections/repository/ConnectionMetadataTypes.js.map +0 -1
  666. package/build/modules/connections/repository/ConnectionRecord.d.ts +0 -70
  667. package/build/modules/connections/repository/ConnectionRecord.js +0 -90
  668. package/build/modules/connections/repository/ConnectionRecord.js.map +0 -1
  669. package/build/modules/connections/repository/ConnectionRepository.d.ts +0 -15
  670. package/build/modules/connections/repository/ConnectionRepository.js +0 -50
  671. package/build/modules/connections/repository/ConnectionRepository.js.map +0 -1
  672. package/build/modules/connections/repository/index.d.ts +0 -2
  673. package/build/modules/connections/repository/index.js +0 -19
  674. package/build/modules/connections/repository/index.js.map +0 -1
  675. package/build/modules/connections/services/ConnectionService.d.ts +0 -181
  676. package/build/modules/connections/services/ConnectionService.js +0 -692
  677. package/build/modules/connections/services/ConnectionService.js.map +0 -1
  678. package/build/modules/connections/services/DidRotateService.d.ts +0 -54
  679. package/build/modules/connections/services/DidRotateService.js +0 -242
  680. package/build/modules/connections/services/DidRotateService.js.map +0 -1
  681. package/build/modules/connections/services/TrustPingService.d.ts +0 -12
  682. package/build/modules/connections/services/TrustPingService.js +0 -54
  683. package/build/modules/connections/services/TrustPingService.js.map +0 -1
  684. package/build/modules/connections/services/helpers.d.ts +0 -16
  685. package/build/modules/connections/services/helpers.js +0 -155
  686. package/build/modules/connections/services/helpers.js.map +0 -1
  687. package/build/modules/connections/services/index.d.ts +0 -3
  688. package/build/modules/connections/services/index.js +0 -20
  689. package/build/modules/connections/services/index.js.map +0 -1
  690. package/build/modules/credentials/CredentialEvents.d.ts +0 -20
  691. package/build/modules/credentials/CredentialEvents.js +0 -9
  692. package/build/modules/credentials/CredentialEvents.js.map +0 -1
  693. package/build/modules/credentials/CredentialsApi.d.ts +0 -60
  694. package/build/modules/credentials/CredentialsApi.js +0 -511
  695. package/build/modules/credentials/CredentialsApi.js.map +0 -1
  696. package/build/modules/credentials/CredentialsApiOptions.d.ts +0 -128
  697. package/build/modules/credentials/CredentialsApiOptions.js +0 -3
  698. package/build/modules/credentials/CredentialsApiOptions.js.map +0 -1
  699. package/build/modules/credentials/CredentialsModule.d.ts +0 -22
  700. package/build/modules/credentials/CredentialsModule.js +0 -45
  701. package/build/modules/credentials/CredentialsModule.js.map +0 -1
  702. package/build/modules/credentials/CredentialsModuleConfig.d.ts +0 -34
  703. package/build/modules/credentials/CredentialsModuleConfig.js +0 -20
  704. package/build/modules/credentials/CredentialsModuleConfig.js.map +0 -1
  705. package/build/modules/credentials/formats/CredentialFormat.d.ts +0 -40
  706. package/build/modules/credentials/formats/CredentialFormat.js +0 -3
  707. package/build/modules/credentials/formats/CredentialFormat.js.map +0 -1
  708. package/build/modules/credentials/formats/CredentialFormatService.d.ts +0 -23
  709. package/build/modules/credentials/formats/CredentialFormatService.js +0 -3
  710. package/build/modules/credentials/formats/CredentialFormatService.js.map +0 -1
  711. package/build/modules/credentials/formats/CredentialFormatServiceOptions.d.ts +0 -117
  712. package/build/modules/credentials/formats/CredentialFormatServiceOptions.js +0 -3
  713. package/build/modules/credentials/formats/CredentialFormatServiceOptions.js.map +0 -1
  714. package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.d.ts +0 -51
  715. package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.js +0 -3
  716. package/build/modules/credentials/formats/dataIntegrity/DataIntegrityCredentialFormat.js.map +0 -1
  717. package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.d.ts +0 -77
  718. package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.js +0 -129
  719. package/build/modules/credentials/formats/dataIntegrity/dataIntegrityExchange.js.map +0 -1
  720. package/build/modules/credentials/formats/dataIntegrity/index.d.ts +0 -2
  721. package/build/modules/credentials/formats/dataIntegrity/index.js +0 -19
  722. package/build/modules/credentials/formats/dataIntegrity/index.js.map +0 -1
  723. package/build/modules/credentials/formats/index.d.ts +0 -5
  724. package/build/modules/credentials/formats/index.js +0 -22
  725. package/build/modules/credentials/formats/index.js.map +0 -1
  726. package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.d.ts +0 -15
  727. package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.js +0 -38
  728. package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.js.map +0 -1
  729. package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.d.ts +0 -24
  730. package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.js +0 -67
  731. package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.js.map +0 -1
  732. package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.d.ts +0 -92
  733. package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.js +0 -3
  734. package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.js.map +0 -1
  735. package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.d.ts +0 -71
  736. package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.js +0 -300
  737. package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.js.map +0 -1
  738. package/build/modules/credentials/formats/jsonld/index.d.ts +0 -4
  739. package/build/modules/credentials/formats/jsonld/index.js +0 -21
  740. package/build/modules/credentials/formats/jsonld/index.js.map +0 -1
  741. package/build/modules/credentials/index.d.ts +0 -9
  742. package/build/modules/credentials/index.js +0 -26
  743. package/build/modules/credentials/index.js.map +0 -1
  744. package/build/modules/credentials/models/CredentialAutoAcceptType.d.ts +0 -11
  745. package/build/modules/credentials/models/CredentialAutoAcceptType.js +0 -16
  746. package/build/modules/credentials/models/CredentialAutoAcceptType.js.map +0 -1
  747. package/build/modules/credentials/models/CredentialFormatSpec.d.ts +0 -9
  748. package/build/modules/credentials/models/CredentialFormatSpec.js +0 -35
  749. package/build/modules/credentials/models/CredentialFormatSpec.js.map +0 -1
  750. package/build/modules/credentials/models/CredentialPreviewAttribute.d.ts +0 -15
  751. package/build/modules/credentials/models/CredentialPreviewAttribute.js +0 -44
  752. package/build/modules/credentials/models/CredentialPreviewAttribute.js.map +0 -1
  753. package/build/modules/credentials/models/CredentialProblemReportReason.d.ts +0 -8
  754. package/build/modules/credentials/models/CredentialProblemReportReason.js +0 -13
  755. package/build/modules/credentials/models/CredentialProblemReportReason.js.map +0 -1
  756. package/build/modules/credentials/models/CredentialRole.d.ts +0 -4
  757. package/build/modules/credentials/models/CredentialRole.js +0 -9
  758. package/build/modules/credentials/models/CredentialRole.js.map +0 -1
  759. package/build/modules/credentials/models/CredentialState.d.ts +0 -18
  760. package/build/modules/credentials/models/CredentialState.js +0 -23
  761. package/build/modules/credentials/models/CredentialState.js.map +0 -1
  762. package/build/modules/credentials/models/RevocationNotification.d.ts +0 -5
  763. package/build/modules/credentials/models/RevocationNotification.js +0 -11
  764. package/build/modules/credentials/models/RevocationNotification.js.map +0 -1
  765. package/build/modules/credentials/models/index.d.ts +0 -7
  766. package/build/modules/credentials/models/index.js +0 -24
  767. package/build/modules/credentials/models/index.js.map +0 -1
  768. package/build/modules/credentials/protocol/BaseCredentialProtocol.d.ts +0 -112
  769. package/build/modules/credentials/protocol/BaseCredentialProtocol.js +0 -169
  770. package/build/modules/credentials/protocol/BaseCredentialProtocol.js.map +0 -1
  771. package/build/modules/credentials/protocol/CredentialProtocol.d.ts +0 -54
  772. package/build/modules/credentials/protocol/CredentialProtocol.js +0 -3
  773. package/build/modules/credentials/protocol/CredentialProtocol.js.map +0 -1
  774. package/build/modules/credentials/protocol/CredentialProtocolOptions.d.ts +0 -143
  775. package/build/modules/credentials/protocol/CredentialProtocolOptions.js +0 -3
  776. package/build/modules/credentials/protocol/CredentialProtocolOptions.js.map +0 -1
  777. package/build/modules/credentials/protocol/index.d.ts +0 -6
  778. package/build/modules/credentials/protocol/index.js +0 -40
  779. package/build/modules/credentials/protocol/index.js.map +0 -1
  780. package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.d.ts +0 -9
  781. package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.js +0 -15
  782. package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.js.map +0 -1
  783. package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.d.ts +0 -9
  784. package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.js +0 -15
  785. package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.js.map +0 -1
  786. package/build/modules/credentials/protocol/revocation-notification/handlers/index.d.ts +0 -2
  787. package/build/modules/credentials/protocol/revocation-notification/handlers/index.js +0 -19
  788. package/build/modules/credentials/protocol/revocation-notification/handlers/index.js.map +0 -1
  789. package/build/modules/credentials/protocol/revocation-notification/index.d.ts +0 -1
  790. package/build/modules/credentials/protocol/revocation-notification/index.js +0 -18
  791. package/build/modules/credentials/protocol/revocation-notification/index.js.map +0 -1
  792. package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.d.ts +0 -15
  793. package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.js +0 -46
  794. package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.js.map +0 -1
  795. package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.d.ts +0 -17
  796. package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.js +0 -52
  797. package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.js.map +0 -1
  798. package/build/modules/credentials/protocol/revocation-notification/messages/index.d.ts +0 -2
  799. package/build/modules/credentials/protocol/revocation-notification/messages/index.js +0 -19
  800. package/build/modules/credentials/protocol/revocation-notification/messages/index.js.map +0 -1
  801. package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.d.ts +0 -36
  802. package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.js +0 -143
  803. package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.js.map +0 -1
  804. package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.d.ts +0 -6
  805. package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.js +0 -3
  806. package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.js.map +0 -1
  807. package/build/modules/credentials/protocol/revocation-notification/services/index.d.ts +0 -2
  808. package/build/modules/credentials/protocol/revocation-notification/services/index.js +0 -19
  809. package/build/modules/credentials/protocol/revocation-notification/services/index.js.map +0 -1
  810. package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.d.ts +0 -5
  811. package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.js +0 -13
  812. package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.js.map +0 -1
  813. package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.d.ts +0 -100
  814. package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.js +0 -365
  815. package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.js.map +0 -1
  816. package/build/modules/credentials/protocol/v2/V2CredentialProtocol.d.ts +0 -178
  817. package/build/modules/credentials/protocol/v2/V2CredentialProtocol.js +0 -946
  818. package/build/modules/credentials/protocol/v2/V2CredentialProtocol.js.map +0 -1
  819. package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.d.ts +0 -11
  820. package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.js +0 -18
  821. package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.js.map +0 -1
  822. package/build/modules/credentials/protocol/v2/errors/index.d.ts +0 -1
  823. package/build/modules/credentials/protocol/v2/errors/index.js +0 -6
  824. package/build/modules/credentials/protocol/v2/errors/index.js.map +0 -1
  825. package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.d.ts +0 -9
  826. package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.js +0 -15
  827. package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.js.map +0 -1
  828. package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.d.ts +0 -9
  829. package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.js +0 -15
  830. package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.js.map +0 -1
  831. package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.d.ts +0 -11
  832. package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.js +0 -41
  833. package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.js.map +0 -1
  834. package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.d.ts +0 -11
  835. package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.js +0 -33
  836. package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.js.map +0 -1
  837. package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.d.ts +0 -12
  838. package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.js +0 -36
  839. package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.js.map +0 -1
  840. package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.d.ts +0 -11
  841. package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.js +0 -41
  842. package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.js.map +0 -1
  843. package/build/modules/credentials/protocol/v2/handlers/index.d.ts +0 -6
  844. package/build/modules/credentials/protocol/v2/handlers/index.js +0 -23
  845. package/build/modules/credentials/protocol/v2/handlers/index.js.map +0 -1
  846. package/build/modules/credentials/protocol/v2/index.d.ts +0 -3
  847. package/build/modules/credentials/protocol/v2/index.js +0 -20
  848. package/build/modules/credentials/protocol/v2/index.js.map +0 -1
  849. package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.d.ts +0 -15
  850. package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.js +0 -34
  851. package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.js.map +0 -1
  852. package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.d.ts +0 -26
  853. package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.js +0 -71
  854. package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.js.map +0 -1
  855. package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.d.ts +0 -15
  856. package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.js +0 -34
  857. package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.js.map +0 -1
  858. package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.d.ts +0 -22
  859. package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.js +0 -76
  860. package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.js.map +0 -1
  861. package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.d.ts +0 -27
  862. package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.js +0 -92
  863. package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.js.map +0 -1
  864. package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.d.ts +0 -30
  865. package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.js +0 -87
  866. package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.js.map +0 -1
  867. package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.d.ts +0 -27
  868. package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.js +0 -77
  869. package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.js.map +0 -1
  870. package/build/modules/credentials/protocol/v2/messages/index.d.ts +0 -7
  871. package/build/modules/credentials/protocol/v2/messages/index.js +0 -24
  872. package/build/modules/credentials/protocol/v2/messages/index.js.map +0 -1
  873. package/build/modules/credentials/repository/CredentialExchangeRecord.d.ts +0 -66
  874. package/build/modules/credentials/repository/CredentialExchangeRecord.js +0 -80
  875. package/build/modules/credentials/repository/CredentialExchangeRecord.js.map +0 -1
  876. package/build/modules/credentials/repository/CredentialRepository.d.ts +0 -7
  877. package/build/modules/credentials/repository/CredentialRepository.js +0 -32
  878. package/build/modules/credentials/repository/CredentialRepository.js.map +0 -1
  879. package/build/modules/credentials/repository/index.d.ts +0 -2
  880. package/build/modules/credentials/repository/index.js +0 -19
  881. package/build/modules/credentials/repository/index.js.map +0 -1
  882. package/build/modules/credentials/util/composeAutoAccept.d.ts +0 -8
  883. package/build/modules/credentials/util/composeAutoAccept.js +0 -15
  884. package/build/modules/credentials/util/composeAutoAccept.js.map +0 -1
  885. package/build/modules/credentials/util/previewAttributes.d.ts +0 -2
  886. package/build/modules/credentials/util/previewAttributes.js +0 -24
  887. package/build/modules/credentials/util/previewAttributes.js.map +0 -1
  888. package/build/modules/didcomm/index.d.ts +0 -2
  889. package/build/modules/didcomm/index.js +0 -19
  890. package/build/modules/didcomm/index.js.map +0 -1
  891. package/build/modules/didcomm/services/DidCommDocumentService.d.ts +0 -8
  892. package/build/modules/didcomm/services/DidCommDocumentService.js +0 -83
  893. package/build/modules/didcomm/services/DidCommDocumentService.js.map +0 -1
  894. package/build/modules/didcomm/services/index.d.ts +0 -1
  895. package/build/modules/didcomm/services/index.js +0 -18
  896. package/build/modules/didcomm/services/index.js.map +0 -1
  897. package/build/modules/didcomm/types.d.ts +0 -7
  898. package/build/modules/didcomm/types.js +0 -3
  899. package/build/modules/didcomm/types.js.map +0 -1
  900. package/build/modules/didcomm/util/matchingEd25519Key.d.ts +0 -9
  901. package/build/modules/didcomm/util/matchingEd25519Key.js +0 -33
  902. package/build/modules/didcomm/util/matchingEd25519Key.js.map +0 -1
  903. package/build/modules/discover-features/DiscoverFeaturesApi.d.ts +0 -31
  904. package/build/modules/discover-features/DiscoverFeaturesApi.js +0 -133
  905. package/build/modules/discover-features/DiscoverFeaturesApi.js.map +0 -1
  906. package/build/modules/discover-features/DiscoverFeaturesApiOptions.d.ts +0 -39
  907. package/build/modules/discover-features/DiscoverFeaturesApiOptions.js +0 -3
  908. package/build/modules/discover-features/DiscoverFeaturesApiOptions.js.map +0 -1
  909. package/build/modules/discover-features/DiscoverFeaturesEvents.d.ts +0 -28
  910. package/build/modules/discover-features/DiscoverFeaturesEvents.js +0 -9
  911. package/build/modules/discover-features/DiscoverFeaturesEvents.js.map +0 -1
  912. package/build/modules/discover-features/DiscoverFeaturesModule.d.ts +0 -14
  913. package/build/modules/discover-features/DiscoverFeaturesModule.js +0 -34
  914. package/build/modules/discover-features/DiscoverFeaturesModule.js.map +0 -1
  915. package/build/modules/discover-features/DiscoverFeaturesModuleConfig.d.ts +0 -18
  916. package/build/modules/discover-features/DiscoverFeaturesModuleConfig.js +0 -15
  917. package/build/modules/discover-features/DiscoverFeaturesModuleConfig.js.map +0 -1
  918. package/build/modules/discover-features/DiscoverFeaturesServiceOptions.d.ts +0 -13
  919. package/build/modules/discover-features/DiscoverFeaturesServiceOptions.js +0 -3
  920. package/build/modules/discover-features/DiscoverFeaturesServiceOptions.js.map +0 -1
  921. package/build/modules/discover-features/index.d.ts +0 -4
  922. package/build/modules/discover-features/index.js +0 -21
  923. package/build/modules/discover-features/index.js.map +0 -1
  924. package/build/modules/discover-features/protocol/index.d.ts +0 -2
  925. package/build/modules/discover-features/protocol/index.js +0 -19
  926. package/build/modules/discover-features/protocol/index.js.map +0 -1
  927. package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.d.ts +0 -22
  928. package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.js +0 -116
  929. package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.js.map +0 -1
  930. package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.d.ts +0 -9
  931. package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.js +0 -15
  932. package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.js.map +0 -1
  933. package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.d.ts +0 -10
  934. package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.js +0 -23
  935. package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.js.map +0 -1
  936. package/build/modules/discover-features/protocol/v1/handlers/index.d.ts +0 -2
  937. package/build/modules/discover-features/protocol/v1/handlers/index.js +0 -19
  938. package/build/modules/discover-features/protocol/v1/handlers/index.js.map +0 -1
  939. package/build/modules/discover-features/protocol/v1/index.d.ts +0 -2
  940. package/build/modules/discover-features/protocol/v1/index.js +0 -19
  941. package/build/modules/discover-features/protocol/v1/index.js.map +0 -1
  942. package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.d.ts +0 -21
  943. package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.js +0 -61
  944. package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.js.map +0 -1
  945. package/build/modules/discover-features/protocol/v1/messages/QueryMessage.d.ts +0 -13
  946. package/build/modules/discover-features/protocol/v1/messages/QueryMessage.js +0 -43
  947. package/build/modules/discover-features/protocol/v1/messages/QueryMessage.js.map +0 -1
  948. package/build/modules/discover-features/protocol/v1/messages/index.d.ts +0 -2
  949. package/build/modules/discover-features/protocol/v1/messages/index.js +0 -19
  950. package/build/modules/discover-features/protocol/v1/messages/index.js.map +0 -1
  951. package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.d.ts +0 -21
  952. package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.js +0 -96
  953. package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.js.map +0 -1
  954. package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.d.ts +0 -9
  955. package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.js +0 -15
  956. package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.js.map +0 -1
  957. package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.d.ts +0 -10
  958. package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.js +0 -23
  959. package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.js.map +0 -1
  960. package/build/modules/discover-features/protocol/v2/handlers/index.d.ts +0 -2
  961. package/build/modules/discover-features/protocol/v2/handlers/index.js +0 -19
  962. package/build/modules/discover-features/protocol/v2/handlers/index.js.map +0 -1
  963. package/build/modules/discover-features/protocol/v2/index.d.ts +0 -2
  964. package/build/modules/discover-features/protocol/v2/index.js +0 -19
  965. package/build/modules/discover-features/protocol/v2/index.js.map +0 -1
  966. package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.d.ts +0 -13
  967. package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.js +0 -45
  968. package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.js.map +0 -1
  969. package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.d.ts +0 -14
  970. package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.js +0 -41
  971. package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.js.map +0 -1
  972. package/build/modules/discover-features/protocol/v2/messages/index.d.ts +0 -2
  973. package/build/modules/discover-features/protocol/v2/messages/index.js +0 -19
  974. package/build/modules/discover-features/protocol/v2/messages/index.js.map +0 -1
  975. package/build/modules/discover-features/services/DiscoverFeaturesService.d.ts +0 -19
  976. package/build/modules/discover-features/services/DiscoverFeaturesService.js +0 -13
  977. package/build/modules/discover-features/services/DiscoverFeaturesService.js.map +0 -1
  978. package/build/modules/discover-features/services/index.d.ts +0 -1
  979. package/build/modules/discover-features/services/index.js +0 -18
  980. package/build/modules/discover-features/services/index.js.map +0 -1
  981. package/build/modules/message-pickup/MessagePickupApi.d.ts +0 -36
  982. package/build/modules/message-pickup/MessagePickupApi.js +0 -208
  983. package/build/modules/message-pickup/MessagePickupApi.js.map +0 -1
  984. package/build/modules/message-pickup/MessagePickupApiOptions.d.ts +0 -39
  985. package/build/modules/message-pickup/MessagePickupApiOptions.js +0 -3
  986. package/build/modules/message-pickup/MessagePickupApiOptions.js.map +0 -1
  987. package/build/modules/message-pickup/MessagePickupEvents.d.ts +0 -27
  988. package/build/modules/message-pickup/MessagePickupEvents.js +0 -10
  989. package/build/modules/message-pickup/MessagePickupEvents.js.map +0 -1
  990. package/build/modules/message-pickup/MessagePickupModule.d.ts +0 -23
  991. package/build/modules/message-pickup/MessagePickupModule.js +0 -41
  992. package/build/modules/message-pickup/MessagePickupModule.js.map +0 -1
  993. package/build/modules/message-pickup/MessagePickupModuleConfig.d.ts +0 -41
  994. package/build/modules/message-pickup/MessagePickupModuleConfig.js +0 -23
  995. package/build/modules/message-pickup/MessagePickupModuleConfig.js.map +0 -1
  996. package/build/modules/message-pickup/MessagePickupSession.d.ts +0 -12
  997. package/build/modules/message-pickup/MessagePickupSession.js +0 -9
  998. package/build/modules/message-pickup/MessagePickupSession.js.map +0 -1
  999. package/build/modules/message-pickup/index.d.ts +0 -8
  1000. package/build/modules/message-pickup/index.js +0 -27
  1001. package/build/modules/message-pickup/index.js.map +0 -1
  1002. package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.d.ts +0 -17
  1003. package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.js +0 -11
  1004. package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.js.map +0 -1
  1005. package/build/modules/message-pickup/protocol/MessagePickupProtocol.d.ts +0 -12
  1006. package/build/modules/message-pickup/protocol/MessagePickupProtocol.js +0 -3
  1007. package/build/modules/message-pickup/protocol/MessagePickupProtocol.js.map +0 -1
  1008. package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.d.ts +0 -27
  1009. package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.js +0 -3
  1010. package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.js.map +0 -1
  1011. package/build/modules/message-pickup/protocol/index.d.ts +0 -2
  1012. package/build/modules/message-pickup/protocol/index.js +0 -19
  1013. package/build/modules/message-pickup/protocol/index.js.map +0 -1
  1014. package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.d.ts +0 -24
  1015. package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.js +0 -126
  1016. package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.js.map +0 -1
  1017. package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.d.ts +0 -10
  1018. package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.js +0 -23
  1019. package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.js.map +0 -1
  1020. package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.d.ts +0 -9
  1021. package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.js +0 -16
  1022. package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.js.map +0 -1
  1023. package/build/modules/message-pickup/protocol/v1/handlers/index.d.ts +0 -2
  1024. package/build/modules/message-pickup/protocol/v1/handlers/index.js +0 -19
  1025. package/build/modules/message-pickup/protocol/v1/handlers/index.js.map +0 -1
  1026. package/build/modules/message-pickup/protocol/v1/index.d.ts +0 -2
  1027. package/build/modules/message-pickup/protocol/v1/index.js +0 -19
  1028. package/build/modules/message-pickup/protocol/v1/index.js.map +0 -1
  1029. package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.d.ts +0 -27
  1030. package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.js +0 -71
  1031. package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.js.map +0 -1
  1032. package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.d.ts +0 -22
  1033. package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.js +0 -49
  1034. package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.js.map +0 -1
  1035. package/build/modules/message-pickup/protocol/v1/messages/index.d.ts +0 -2
  1036. package/build/modules/message-pickup/protocol/v1/messages/index.js +0 -19
  1037. package/build/modules/message-pickup/protocol/v1/messages/index.js.map +0 -1
  1038. package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.d.ts +0 -28
  1039. package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js +0 -240
  1040. package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js.map +0 -1
  1041. package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.d.ts +0 -10
  1042. package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.js +0 -16
  1043. package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.js.map +0 -1
  1044. package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.d.ts +0 -10
  1045. package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.js +0 -16
  1046. package/build/modules/message-pickup/protocol/v2/handlers/V2LiveDeliveryChangeHandler.js.map +0 -1
  1047. package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.d.ts +0 -11
  1048. package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.js +0 -23
  1049. package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.js.map +0 -1
  1050. package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.d.ts +0 -10
  1051. package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.js +0 -16
  1052. package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.js.map +0 -1
  1053. package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.d.ts +0 -11
  1054. package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.js +0 -23
  1055. package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.js.map +0 -1
  1056. package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.d.ts +0 -10
  1057. package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.js +0 -16
  1058. package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.js.map +0 -1
  1059. package/build/modules/message-pickup/protocol/v2/handlers/index.d.ts +0 -6
  1060. package/build/modules/message-pickup/protocol/v2/handlers/index.js +0 -23
  1061. package/build/modules/message-pickup/protocol/v2/handlers/index.js.map +0 -1
  1062. package/build/modules/message-pickup/protocol/v2/index.d.ts +0 -2
  1063. package/build/modules/message-pickup/protocol/v2/index.js +0 -19
  1064. package/build/modules/message-pickup/protocol/v2/index.js.map +0 -1
  1065. package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.d.ts +0 -14
  1066. package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.js +0 -47
  1067. package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.js.map +0 -1
  1068. package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.d.ts +0 -12
  1069. package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.js +0 -41
  1070. package/build/modules/message-pickup/protocol/v2/messages/V2LiveDeliveryChangeMessage.js.map +0 -1
  1071. package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.d.ts +0 -15
  1072. package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.js +0 -48
  1073. package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.js.map +0 -1
  1074. package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.d.ts +0 -12
  1075. package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.js +0 -41
  1076. package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.js.map +0 -1
  1077. package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.d.ts +0 -25
  1078. package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.js +0 -89
  1079. package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.js.map +0 -1
  1080. package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.d.ts +0 -12
  1081. package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.js +0 -40
  1082. package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.js.map +0 -1
  1083. package/build/modules/message-pickup/protocol/v2/messages/index.d.ts +0 -6
  1084. package/build/modules/message-pickup/protocol/v2/messages/index.js +0 -23
  1085. package/build/modules/message-pickup/protocol/v2/messages/index.js.map +0 -1
  1086. package/build/modules/message-pickup/services/MessagePickupSessionService.d.ts +0 -27
  1087. package/build/modules/message-pickup/services/MessagePickupSessionService.js +0 -91
  1088. package/build/modules/message-pickup/services/MessagePickupSessionService.js.map +0 -1
  1089. package/build/modules/message-pickup/services/index.d.ts +0 -1
  1090. package/build/modules/message-pickup/services/index.js +0 -18
  1091. package/build/modules/message-pickup/services/index.js.map +0 -1
  1092. package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.d.ts +0 -13
  1093. package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.js +0 -77
  1094. package/build/modules/message-pickup/storage/InMemoryMessagePickupRepository.js.map +0 -1
  1095. package/build/modules/message-pickup/storage/MessagePickupRepository.d.ts +0 -8
  1096. package/build/modules/message-pickup/storage/MessagePickupRepository.js +0 -3
  1097. package/build/modules/message-pickup/storage/MessagePickupRepository.js.map +0 -1
  1098. package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.d.ts +0 -20
  1099. package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.js +0 -3
  1100. package/build/modules/message-pickup/storage/MessagePickupRepositoryOptions.js.map +0 -1
  1101. package/build/modules/message-pickup/storage/QueuedMessage.d.ts +0 -12
  1102. package/build/modules/message-pickup/storage/QueuedMessage.js +0 -3
  1103. package/build/modules/message-pickup/storage/QueuedMessage.js.map +0 -1
  1104. package/build/modules/message-pickup/storage/index.d.ts +0 -4
  1105. package/build/modules/message-pickup/storage/index.js +0 -21
  1106. package/build/modules/message-pickup/storage/index.js.map +0 -1
  1107. package/build/modules/oob/OutOfBandApi.d.ts +0 -276
  1108. package/build/modules/oob/OutOfBandApi.js +0 -722
  1109. package/build/modules/oob/OutOfBandApi.js.map +0 -1
  1110. package/build/modules/oob/OutOfBandModule.d.ts +0 -10
  1111. package/build/modules/oob/OutOfBandModule.js +0 -28
  1112. package/build/modules/oob/OutOfBandModule.js.map +0 -1
  1113. package/build/modules/oob/OutOfBandService.d.ts +0 -51
  1114. package/build/modules/oob/OutOfBandService.js +0 -224
  1115. package/build/modules/oob/OutOfBandService.js.map +0 -1
  1116. package/build/modules/oob/domain/OutOfBandDidCommService.d.ts +0 -18
  1117. package/build/modules/oob/domain/OutOfBandDidCommService.js +0 -77
  1118. package/build/modules/oob/domain/OutOfBandDidCommService.js.map +0 -1
  1119. package/build/modules/oob/domain/OutOfBandEvents.d.ts +0 -23
  1120. package/build/modules/oob/domain/OutOfBandEvents.js +0 -9
  1121. package/build/modules/oob/domain/OutOfBandEvents.js.map +0 -1
  1122. package/build/modules/oob/domain/OutOfBandRole.d.ts +0 -4
  1123. package/build/modules/oob/domain/OutOfBandRole.js +0 -9
  1124. package/build/modules/oob/domain/OutOfBandRole.js.map +0 -1
  1125. package/build/modules/oob/domain/OutOfBandState.d.ts +0 -6
  1126. package/build/modules/oob/domain/OutOfBandState.js +0 -11
  1127. package/build/modules/oob/domain/OutOfBandState.js.map +0 -1
  1128. package/build/modules/oob/domain/index.d.ts +0 -4
  1129. package/build/modules/oob/domain/index.js +0 -21
  1130. package/build/modules/oob/domain/index.js.map +0 -1
  1131. package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.d.ts +0 -10
  1132. package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.js +0 -16
  1133. package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.js.map +0 -1
  1134. package/build/modules/oob/handlers/HandshakeReuseHandler.d.ts +0 -11
  1135. package/build/modules/oob/handlers/HandshakeReuseHandler.js +0 -21
  1136. package/build/modules/oob/handlers/HandshakeReuseHandler.js.map +0 -1
  1137. package/build/modules/oob/handlers/index.d.ts +0 -1
  1138. package/build/modules/oob/handlers/index.js +0 -18
  1139. package/build/modules/oob/handlers/index.js.map +0 -1
  1140. package/build/modules/oob/helpers.d.ts +0 -4
  1141. package/build/modules/oob/helpers.js +0 -71
  1142. package/build/modules/oob/helpers.js.map +0 -1
  1143. package/build/modules/oob/index.d.ts +0 -6
  1144. package/build/modules/oob/index.js +0 -23
  1145. package/build/modules/oob/index.js.map +0 -1
  1146. package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.d.ts +0 -11
  1147. package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.js +0 -35
  1148. package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.js.map +0 -1
  1149. package/build/modules/oob/messages/HandshakeReuseMessage.d.ts +0 -10
  1150. package/build/modules/oob/messages/HandshakeReuseMessage.js +0 -34
  1151. package/build/modules/oob/messages/HandshakeReuseMessage.js.map +0 -1
  1152. package/build/modules/oob/messages/OutOfBandInvitation.d.ts +0 -55
  1153. package/build/modules/oob/messages/OutOfBandInvitation.js +0 -181
  1154. package/build/modules/oob/messages/OutOfBandInvitation.js.map +0 -1
  1155. package/build/modules/oob/messages/index.d.ts +0 -2
  1156. package/build/modules/oob/messages/index.js +0 -19
  1157. package/build/modules/oob/messages/index.js.map +0 -1
  1158. package/build/modules/oob/repository/OutOfBandRecord.d.ts +0 -59
  1159. package/build/modules/oob/repository/OutOfBandRecord.js +0 -63
  1160. package/build/modules/oob/repository/OutOfBandRecord.js.map +0 -1
  1161. package/build/modules/oob/repository/OutOfBandRepository.d.ts +0 -7
  1162. package/build/modules/oob/repository/OutOfBandRepository.js +0 -32
  1163. package/build/modules/oob/repository/OutOfBandRepository.js.map +0 -1
  1164. package/build/modules/oob/repository/index.d.ts +0 -2
  1165. package/build/modules/oob/repository/index.js +0 -19
  1166. package/build/modules/oob/repository/index.js.map +0 -1
  1167. package/build/modules/oob/repository/outOfBandRecordMetadataTypes.d.ts +0 -19
  1168. package/build/modules/oob/repository/outOfBandRecordMetadataTypes.js +0 -9
  1169. package/build/modules/oob/repository/outOfBandRecordMetadataTypes.js.map +0 -1
  1170. package/build/modules/problem-reports/errors/ProblemReportError.d.ts +0 -9
  1171. package/build/modules/problem-reports/errors/ProblemReportError.js +0 -18
  1172. package/build/modules/problem-reports/errors/ProblemReportError.js.map +0 -1
  1173. package/build/modules/problem-reports/errors/index.d.ts +0 -1
  1174. package/build/modules/problem-reports/errors/index.js +0 -18
  1175. package/build/modules/problem-reports/errors/index.js.map +0 -1
  1176. package/build/modules/problem-reports/index.d.ts +0 -3
  1177. package/build/modules/problem-reports/index.js.map +0 -1
  1178. package/build/modules/problem-reports/messages/ProblemReportMessage.d.ts +0 -63
  1179. package/build/modules/problem-reports/messages/ProblemReportMessage.js +0 -119
  1180. package/build/modules/problem-reports/messages/ProblemReportMessage.js.map +0 -1
  1181. package/build/modules/problem-reports/messages/index.d.ts +0 -1
  1182. package/build/modules/problem-reports/messages/index.js +0 -18
  1183. package/build/modules/problem-reports/messages/index.js.map +0 -1
  1184. package/build/modules/problem-reports/models/ProblemReportReason.d.ts +0 -3
  1185. package/build/modules/problem-reports/models/ProblemReportReason.js +0 -8
  1186. package/build/modules/problem-reports/models/ProblemReportReason.js.map +0 -1
  1187. package/build/modules/problem-reports/models/index.d.ts +0 -1
  1188. package/build/modules/problem-reports/models/index.js +0 -18
  1189. package/build/modules/problem-reports/models/index.js.map +0 -1
  1190. package/build/modules/proofs/ProofEvents.d.ts +0 -13
  1191. package/build/modules/proofs/ProofEvents.js +0 -8
  1192. package/build/modules/proofs/ProofEvents.js.map +0 -1
  1193. package/build/modules/proofs/ProofsApi.d.ts +0 -68
  1194. package/build/modules/proofs/ProofsApi.js +0 -478
  1195. package/build/modules/proofs/ProofsApi.js.map +0 -1
  1196. package/build/modules/proofs/ProofsApiOptions.d.ts +0 -141
  1197. package/build/modules/proofs/ProofsApiOptions.js +0 -3
  1198. package/build/modules/proofs/ProofsApiOptions.js.map +0 -1
  1199. package/build/modules/proofs/ProofsModule.d.ts +0 -23
  1200. package/build/modules/proofs/ProofsModule.js +0 -31
  1201. package/build/modules/proofs/ProofsModule.js.map +0 -1
  1202. package/build/modules/proofs/ProofsModuleConfig.d.ts +0 -34
  1203. package/build/modules/proofs/ProofsModuleConfig.js +0 -20
  1204. package/build/modules/proofs/ProofsModuleConfig.js.map +0 -1
  1205. package/build/modules/proofs/errors/PresentationProblemReportReason.d.ts +0 -8
  1206. package/build/modules/proofs/errors/PresentationProblemReportReason.js +0 -13
  1207. package/build/modules/proofs/errors/PresentationProblemReportReason.js.map +0 -1
  1208. package/build/modules/proofs/errors/index.d.ts +0 -1
  1209. package/build/modules/proofs/errors/index.js +0 -18
  1210. package/build/modules/proofs/errors/index.js.map +0 -1
  1211. package/build/modules/proofs/formats/ProofFormat.d.ts +0 -66
  1212. package/build/modules/proofs/formats/ProofFormat.js +0 -3
  1213. package/build/modules/proofs/formats/ProofFormat.js.map +0 -1
  1214. package/build/modules/proofs/formats/ProofFormatService.d.ts +0 -19
  1215. package/build/modules/proofs/formats/ProofFormatService.js +0 -3
  1216. package/build/modules/proofs/formats/ProofFormatService.js.map +0 -1
  1217. package/build/modules/proofs/formats/ProofFormatServiceOptions.d.ts +0 -103
  1218. package/build/modules/proofs/formats/ProofFormatServiceOptions.js +0 -3
  1219. package/build/modules/proofs/formats/ProofFormatServiceOptions.js.map +0 -1
  1220. package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.d.ts +0 -53
  1221. package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.js +0 -3
  1222. package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.js.map +0 -1
  1223. package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.d.ts +0 -32
  1224. package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.js +0 -285
  1225. package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.js.map +0 -1
  1226. package/build/modules/proofs/formats/dif-presentation-exchange/index.d.ts +0 -2
  1227. package/build/modules/proofs/formats/dif-presentation-exchange/index.js +0 -19
  1228. package/build/modules/proofs/formats/dif-presentation-exchange/index.js.map +0 -1
  1229. package/build/modules/proofs/formats/index.d.ts +0 -6
  1230. package/build/modules/proofs/formats/index.js +0 -36
  1231. package/build/modules/proofs/formats/index.js.map +0 -1
  1232. package/build/modules/proofs/index.d.ts +0 -10
  1233. package/build/modules/proofs/index.js +0 -29
  1234. package/build/modules/proofs/index.js.map +0 -1
  1235. package/build/modules/proofs/models/ProofAutoAcceptType.d.ts +0 -8
  1236. package/build/modules/proofs/models/ProofAutoAcceptType.js +0 -16
  1237. package/build/modules/proofs/models/ProofAutoAcceptType.js.map +0 -1
  1238. package/build/modules/proofs/models/ProofFormatSpec.d.ts +0 -9
  1239. package/build/modules/proofs/models/ProofFormatSpec.js +0 -35
  1240. package/build/modules/proofs/models/ProofFormatSpec.js.map +0 -1
  1241. package/build/modules/proofs/models/ProofRole.d.ts +0 -4
  1242. package/build/modules/proofs/models/ProofRole.js +0 -9
  1243. package/build/modules/proofs/models/ProofRole.js.map +0 -1
  1244. package/build/modules/proofs/models/ProofState.d.ts +0 -16
  1245. package/build/modules/proofs/models/ProofState.js +0 -21
  1246. package/build/modules/proofs/models/ProofState.js.map +0 -1
  1247. package/build/modules/proofs/models/index.d.ts +0 -4
  1248. package/build/modules/proofs/models/index.js +0 -21
  1249. package/build/modules/proofs/models/index.js.map +0 -1
  1250. package/build/modules/proofs/protocol/BaseProofProtocol.d.ts +0 -98
  1251. package/build/modules/proofs/protocol/BaseProofProtocol.js +0 -151
  1252. package/build/modules/proofs/protocol/BaseProofProtocol.js.map +0 -1
  1253. package/build/modules/proofs/protocol/ProofProtocol.d.ts +0 -52
  1254. package/build/modules/proofs/protocol/ProofProtocol.js +0 -3
  1255. package/build/modules/proofs/protocol/ProofProtocol.js.map +0 -1
  1256. package/build/modules/proofs/protocol/ProofProtocolOptions.d.ts +0 -128
  1257. package/build/modules/proofs/protocol/ProofProtocolOptions.js +0 -3
  1258. package/build/modules/proofs/protocol/ProofProtocolOptions.js.map +0 -1
  1259. package/build/modules/proofs/protocol/index.d.ts +0 -5
  1260. package/build/modules/proofs/protocol/index.js +0 -39
  1261. package/build/modules/proofs/protocol/index.js.map +0 -1
  1262. package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.d.ts +0 -93
  1263. package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.js +0 -307
  1264. package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.js.map +0 -1
  1265. package/build/modules/proofs/protocol/v2/V2ProofProtocol.d.ts +0 -114
  1266. package/build/modules/proofs/protocol/v2/V2ProofProtocol.js +0 -800
  1267. package/build/modules/proofs/protocol/v2/V2ProofProtocol.js.map +0 -1
  1268. package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.d.ts +0 -13
  1269. package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.js +0 -19
  1270. package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.js.map +0 -1
  1271. package/build/modules/proofs/protocol/v2/errors/index.d.ts +0 -1
  1272. package/build/modules/proofs/protocol/v2/errors/index.js +0 -18
  1273. package/build/modules/proofs/protocol/v2/errors/index.js.map +0 -1
  1274. package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.d.ts +0 -9
  1275. package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.js +0 -15
  1276. package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.js.map +0 -1
  1277. package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.d.ts +0 -10
  1278. package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.js +0 -43
  1279. package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.js.map +0 -1
  1280. package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.d.ts +0 -9
  1281. package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.js +0 -15
  1282. package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.js.map +0 -1
  1283. package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.d.ts +0 -11
  1284. package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.js +0 -36
  1285. package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.js.map +0 -1
  1286. package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.d.ts +0 -10
  1287. package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.js +0 -36
  1288. package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.js.map +0 -1
  1289. package/build/modules/proofs/protocol/v2/index.d.ts +0 -3
  1290. package/build/modules/proofs/protocol/v2/index.js +0 -20
  1291. package/build/modules/proofs/protocol/v2/index.js.map +0 -1
  1292. package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.d.ts +0 -5
  1293. package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.js +0 -27
  1294. package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.js.map +0 -1
  1295. package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.d.ts +0 -24
  1296. package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.js +0 -85
  1297. package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.js.map +0 -1
  1298. package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.d.ts +0 -8
  1299. package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.js +0 -30
  1300. package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.js.map +0 -1
  1301. package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.d.ts +0 -22
  1302. package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.js +0 -77
  1303. package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.js.map +0 -1
  1304. package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.d.ts +0 -26
  1305. package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.js +0 -92
  1306. package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.js.map +0 -1
  1307. package/build/modules/proofs/protocol/v2/messages/index.d.ts +0 -5
  1308. package/build/modules/proofs/protocol/v2/messages/index.js +0 -22
  1309. package/build/modules/proofs/protocol/v2/messages/index.js.map +0 -1
  1310. package/build/modules/proofs/repository/ProofExchangeRecord.d.ts +0 -50
  1311. package/build/modules/proofs/repository/ProofExchangeRecord.js +0 -54
  1312. package/build/modules/proofs/repository/ProofExchangeRecord.js.map +0 -1
  1313. package/build/modules/proofs/repository/ProofRepository.d.ts +0 -26
  1314. package/build/modules/proofs/repository/ProofRepository.js +0 -54
  1315. package/build/modules/proofs/repository/ProofRepository.js.map +0 -1
  1316. package/build/modules/proofs/repository/index.d.ts +0 -2
  1317. package/build/modules/proofs/repository/index.js +0 -19
  1318. package/build/modules/proofs/repository/index.js.map +0 -1
  1319. package/build/modules/proofs/utils/composeAutoAccept.d.ts +0 -8
  1320. package/build/modules/proofs/utils/composeAutoAccept.js +0 -15
  1321. package/build/modules/proofs/utils/composeAutoAccept.js.map +0 -1
  1322. package/build/modules/proofs/utils/index.d.ts +0 -1
  1323. package/build/modules/proofs/utils/index.js +0 -18
  1324. package/build/modules/proofs/utils/index.js.map +0 -1
  1325. package/build/modules/routing/MediationRecipientApi.d.ts +0 -89
  1326. package/build/modules/routing/MediationRecipientApi.js +0 -425
  1327. package/build/modules/routing/MediationRecipientApi.js.map +0 -1
  1328. package/build/modules/routing/MediationRecipientModule.d.ts +0 -14
  1329. package/build/modules/routing/MediationRecipientModule.js +0 -34
  1330. package/build/modules/routing/MediationRecipientModule.js.map +0 -1
  1331. package/build/modules/routing/MediationRecipientModuleConfig.d.ts +0 -79
  1332. package/build/modules/routing/MediationRecipientModuleConfig.js +0 -38
  1333. package/build/modules/routing/MediationRecipientModuleConfig.js.map +0 -1
  1334. package/build/modules/routing/MediatorApi.d.ts +0 -18
  1335. package/build/modules/routing/MediatorApi.js +0 -69
  1336. package/build/modules/routing/MediatorApi.js.map +0 -1
  1337. package/build/modules/routing/MediatorModule.d.ts +0 -14
  1338. package/build/modules/routing/MediatorModule.js +0 -34
  1339. package/build/modules/routing/MediatorModule.js.map +0 -1
  1340. package/build/modules/routing/MediatorModuleConfig.d.ts +0 -33
  1341. package/build/modules/routing/MediatorModuleConfig.js +0 -21
  1342. package/build/modules/routing/MediatorModuleConfig.js.map +0 -1
  1343. package/build/modules/routing/MediatorPickupStrategy.d.ts +0 -7
  1344. package/build/modules/routing/MediatorPickupStrategy.js +0 -19
  1345. package/build/modules/routing/MediatorPickupStrategy.js.map +0 -1
  1346. package/build/modules/routing/MessageForwardingStrategy.d.ts +0 -5
  1347. package/build/modules/routing/MessageForwardingStrategy.js +0 -16
  1348. package/build/modules/routing/MessageForwardingStrategy.js.map +0 -1
  1349. package/build/modules/routing/RoutingEvents.d.ts +0 -30
  1350. package/build/modules/routing/RoutingEvents.js +0 -10
  1351. package/build/modules/routing/RoutingEvents.js.map +0 -1
  1352. package/build/modules/routing/error/RoutingProblemReportReason.d.ts +0 -3
  1353. package/build/modules/routing/error/RoutingProblemReportReason.js +0 -8
  1354. package/build/modules/routing/error/RoutingProblemReportReason.js.map +0 -1
  1355. package/build/modules/routing/error/index.d.ts +0 -1
  1356. package/build/modules/routing/error/index.js +0 -18
  1357. package/build/modules/routing/error/index.js.map +0 -1
  1358. package/build/modules/routing/handlers/ForwardHandler.d.ts +0 -9
  1359. package/build/modules/routing/handlers/ForwardHandler.js +0 -15
  1360. package/build/modules/routing/handlers/ForwardHandler.js.map +0 -1
  1361. package/build/modules/routing/handlers/KeylistUpdateHandler.d.ts +0 -10
  1362. package/build/modules/routing/handlers/KeylistUpdateHandler.js +0 -21
  1363. package/build/modules/routing/handlers/KeylistUpdateHandler.js.map +0 -1
  1364. package/build/modules/routing/handlers/KeylistUpdateResponseHandler.d.ts +0 -9
  1365. package/build/modules/routing/handlers/KeylistUpdateResponseHandler.js +0 -16
  1366. package/build/modules/routing/handlers/KeylistUpdateResponseHandler.js.map +0 -1
  1367. package/build/modules/routing/handlers/MediationDenyHandler.d.ts +0 -9
  1368. package/build/modules/routing/handlers/MediationDenyHandler.js +0 -16
  1369. package/build/modules/routing/handlers/MediationDenyHandler.js.map +0 -1
  1370. package/build/modules/routing/handlers/MediationGrantHandler.d.ts +0 -9
  1371. package/build/modules/routing/handlers/MediationGrantHandler.js +0 -16
  1372. package/build/modules/routing/handlers/MediationGrantHandler.js.map +0 -1
  1373. package/build/modules/routing/handlers/MediationRequestHandler.d.ts +0 -12
  1374. package/build/modules/routing/handlers/MediationRequestHandler.js +0 -26
  1375. package/build/modules/routing/handlers/MediationRequestHandler.js.map +0 -1
  1376. package/build/modules/routing/handlers/index.d.ts +0 -6
  1377. package/build/modules/routing/handlers/index.js +0 -23
  1378. package/build/modules/routing/handlers/index.js.map +0 -1
  1379. package/build/modules/routing/index.d.ts +0 -10
  1380. package/build/modules/routing/index.js +0 -27
  1381. package/build/modules/routing/index.js.map +0 -1
  1382. package/build/modules/routing/messages/ForwardMessage.d.ts +0 -23
  1383. package/build/modules/routing/messages/ForwardMessage.js +0 -52
  1384. package/build/modules/routing/messages/ForwardMessage.js.map +0 -1
  1385. package/build/modules/routing/messages/KeylistMessage.d.ts +0 -20
  1386. package/build/modules/routing/messages/KeylistMessage.js +0 -49
  1387. package/build/modules/routing/messages/KeylistMessage.js.map +0 -1
  1388. package/build/modules/routing/messages/KeylistUpdateMessage.d.ts +0 -29
  1389. package/build/modules/routing/messages/KeylistUpdateMessage.js +0 -68
  1390. package/build/modules/routing/messages/KeylistUpdateMessage.js.map +0 -1
  1391. package/build/modules/routing/messages/KeylistUpdateResponseMessage.d.ts +0 -34
  1392. package/build/modules/routing/messages/KeylistUpdateResponseMessage.js +0 -79
  1393. package/build/modules/routing/messages/KeylistUpdateResponseMessage.js.map +0 -1
  1394. package/build/modules/routing/messages/MediationDenyMessage.d.ts +0 -14
  1395. package/build/modules/routing/messages/MediationDenyMessage.js +0 -35
  1396. package/build/modules/routing/messages/MediationDenyMessage.js.map +0 -1
  1397. package/build/modules/routing/messages/MediationGrantMessage.d.ts +0 -20
  1398. package/build/modules/routing/messages/MediationGrantMessage.js +0 -55
  1399. package/build/modules/routing/messages/MediationGrantMessage.js.map +0 -1
  1400. package/build/modules/routing/messages/MediationRequestMessage.d.ts +0 -22
  1401. package/build/modules/routing/messages/MediationRequestMessage.js +0 -42
  1402. package/build/modules/routing/messages/MediationRequestMessage.js.map +0 -1
  1403. package/build/modules/routing/messages/index.d.ts +0 -6
  1404. package/build/modules/routing/messages/index.js +0 -23
  1405. package/build/modules/routing/messages/index.js.map +0 -1
  1406. package/build/modules/routing/models/MediationRole.d.ts +0 -9
  1407. package/build/modules/routing/models/MediationRole.js +0 -14
  1408. package/build/modules/routing/models/MediationRole.js.map +0 -1
  1409. package/build/modules/routing/models/MediationState.d.ts +0 -10
  1410. package/build/modules/routing/models/MediationState.js +0 -15
  1411. package/build/modules/routing/models/MediationState.js.map +0 -1
  1412. package/build/modules/routing/models/index.d.ts +0 -2
  1413. package/build/modules/routing/models/index.js +0 -19
  1414. package/build/modules/routing/models/index.js.map +0 -1
  1415. package/build/modules/routing/repository/MediationRecord.d.ts +0 -53
  1416. package/build/modules/routing/repository/MediationRecord.js +0 -87
  1417. package/build/modules/routing/repository/MediationRecord.js.map +0 -1
  1418. package/build/modules/routing/repository/MediationRepository.d.ts +0 -10
  1419. package/build/modules/routing/repository/MediationRepository.js +0 -40
  1420. package/build/modules/routing/repository/MediationRepository.js.map +0 -1
  1421. package/build/modules/routing/repository/MediatorRoutingRecord.d.ts +0 -15
  1422. package/build/modules/routing/repository/MediatorRoutingRecord.js +0 -23
  1423. package/build/modules/routing/repository/MediatorRoutingRecord.js.map +0 -1
  1424. package/build/modules/routing/repository/MediatorRoutingRepository.d.ts +0 -8
  1425. package/build/modules/routing/repository/MediatorRoutingRepository.js +0 -33
  1426. package/build/modules/routing/repository/MediatorRoutingRepository.js.map +0 -1
  1427. package/build/modules/routing/repository/index.d.ts +0 -4
  1428. package/build/modules/routing/repository/index.js +0 -21
  1429. package/build/modules/routing/repository/index.js.map +0 -1
  1430. package/build/modules/routing/services/MediationRecipientService.d.ts +0 -57
  1431. package/build/modules/routing/services/MediationRecipientService.js +0 -276
  1432. package/build/modules/routing/services/MediationRecipientService.js.map +0 -1
  1433. package/build/modules/routing/services/MediatorService.d.ts +0 -39
  1434. package/build/modules/routing/services/MediatorService.js +0 -253
  1435. package/build/modules/routing/services/MediatorService.js.map +0 -1
  1436. package/build/modules/routing/services/RoutingService.d.ts +0 -33
  1437. package/build/modules/routing/services/RoutingService.js +0 -54
  1438. package/build/modules/routing/services/RoutingService.js.map +0 -1
  1439. package/build/modules/routing/services/helpers.d.ts +0 -3
  1440. package/build/modules/routing/services/helpers.js +0 -13
  1441. package/build/modules/routing/services/helpers.js.map +0 -1
  1442. package/build/modules/routing/services/index.d.ts +0 -3
  1443. package/build/modules/routing/services/index.js +0 -20
  1444. package/build/modules/routing/services/index.js.map +0 -1
  1445. package/build/storage/didcomm/DidCommMessageRecord.d.ts +0 -48
  1446. package/build/storage/didcomm/DidCommMessageRecord.js +0 -49
  1447. package/build/storage/didcomm/DidCommMessageRecord.js.map +0 -1
  1448. package/build/storage/didcomm/DidCommMessageRepository.d.ts +0 -24
  1449. package/build/storage/didcomm/DidCommMessageRepository.js +0 -78
  1450. package/build/storage/didcomm/DidCommMessageRepository.js.map +0 -1
  1451. package/build/storage/didcomm/DidCommMessageRole.d.ts +0 -4
  1452. package/build/storage/didcomm/DidCommMessageRole.js +0 -9
  1453. package/build/storage/didcomm/DidCommMessageRole.js.map +0 -1
  1454. package/build/storage/didcomm/index.d.ts +0 -3
  1455. package/build/storage/didcomm/index.js +0 -20
  1456. package/build/storage/didcomm/index.js.map +0 -1
  1457. package/build/storage/migration/updates/0.1-0.2/connection.d.ts +0 -119
  1458. package/build/storage/migration/updates/0.1-0.2/connection.js +0 -380
  1459. package/build/storage/migration/updates/0.1-0.2/connection.js.map +0 -1
  1460. package/build/storage/migration/updates/0.1-0.2/credential.d.ts +0 -80
  1461. package/build/storage/migration/updates/0.1-0.2/credential.js +0 -215
  1462. package/build/storage/migration/updates/0.1-0.2/credential.js.map +0 -1
  1463. package/build/storage/migration/updates/0.1-0.2/index.d.ts +0 -6
  1464. package/build/storage/migration/updates/0.1-0.2/index.js +0 -12
  1465. package/build/storage/migration/updates/0.1-0.2/index.js.map +0 -1
  1466. package/build/storage/migration/updates/0.1-0.2/mediation.d.ts +0 -30
  1467. package/build/storage/migration/updates/0.1-0.2/mediation.js +0 -67
  1468. package/build/storage/migration/updates/0.1-0.2/mediation.js.map +0 -1
  1469. package/build/storage/migration/updates/0.2-0.3/connection.d.ts +0 -14
  1470. package/build/storage/migration/updates/0.2-0.3/connection.js +0 -47
  1471. package/build/storage/migration/updates/0.2-0.3/connection.js.map +0 -1
  1472. package/build/storage/migration/updates/0.2-0.3/index.d.ts +0 -2
  1473. package/build/storage/migration/updates/0.2-0.3/index.js +0 -10
  1474. package/build/storage/migration/updates/0.2-0.3/index.js.map +0 -1
  1475. package/build/storage/migration/updates/0.2-0.3/proof.d.ts +0 -42
  1476. package/build/storage/migration/updates/0.2-0.3/proof.js +0 -131
  1477. package/build/storage/migration/updates/0.2-0.3/proof.js.map +0 -1
  1478. package/build/storage/migration/updates/0.4-0.5/credentialExchangeRecord.d.ts +0 -17
  1479. package/build/storage/migration/updates/0.4-0.5/credentialExchangeRecord.js +0 -106
  1480. package/build/storage/migration/updates/0.4-0.5/credentialExchangeRecord.js.map +0 -1
  1481. package/build/storage/migration/updates/0.4-0.5/proofExchangeRecord.d.ts +0 -17
  1482. package/build/storage/migration/updates/0.4-0.5/proofExchangeRecord.js +0 -87
  1483. package/build/storage/migration/updates/0.4-0.5/proofExchangeRecord.js.map +0 -1
  1484. package/build/transport/HttpOutboundTransport.d.ts +0 -15
  1485. package/build/transport/HttpOutboundTransport.js +0 -123
  1486. package/build/transport/HttpOutboundTransport.js.map +0 -1
  1487. package/build/transport/InboundTransport.d.ts +0 -5
  1488. package/build/transport/InboundTransport.js +0 -3
  1489. package/build/transport/InboundTransport.js.map +0 -1
  1490. package/build/transport/OutboundTransport.d.ts +0 -8
  1491. package/build/transport/OutboundTransport.js +0 -3
  1492. package/build/transport/OutboundTransport.js.map +0 -1
  1493. package/build/transport/TransportEventTypes.d.ts +0 -34
  1494. package/build/transport/TransportEventTypes.js +0 -11
  1495. package/build/transport/TransportEventTypes.js.map +0 -1
  1496. package/build/transport/WsOutboundTransport.d.ts +0 -19
  1497. package/build/transport/WsOutboundTransport.js +0 -139
  1498. package/build/transport/WsOutboundTransport.js.map +0 -1
  1499. package/build/transport/index.d.ts +0 -5
  1500. package/build/transport/index.js +0 -22
  1501. package/build/transport/index.js.map +0 -1
  1502. package/build/utils/JWE.d.ts +0 -2
  1503. package/build/utils/JWE.js +0 -14
  1504. package/build/utils/JWE.js.map +0 -1
  1505. package/build/utils/LinkedAttachment.d.ts +0 -23
  1506. package/build/utils/LinkedAttachment.js +0 -51
  1507. package/build/utils/LinkedAttachment.js.map +0 -1
  1508. package/build/utils/attachment.d.ts +0 -19
  1509. package/build/utils/attachment.js +0 -39
  1510. package/build/utils/attachment.js.map +0 -1
  1511. package/build/utils/messageType.d.ts +0 -138
  1512. package/build/utils/messageType.js +0 -179
  1513. package/build/utils/messageType.js.map +0 -1
  1514. package/build/utils/parseInvitation.d.ts +0 -30
  1515. package/build/utils/parseInvitation.js +0 -173
  1516. package/build/utils/parseInvitation.js.map +0 -1
  1517. package/build/utils/thread.d.ts +0 -2
  1518. package/build/utils/thread.js +0 -8
  1519. package/build/utils/thread.js.map +0 -1
@@ -1,6 +1,5 @@
1
1
  import type { JwkJson } from './Jwk';
2
2
  import type { JwaEncryptionAlgorithm } from '../jwa/alg';
3
- import { Buffer } from '../../../utils';
4
3
  import { KeyType } from '../../KeyType';
5
4
  import { JwaCurve, JwaKeyType } from '../jwa';
6
5
  import { JwaSignatureAlgorithm } from '../jwa/alg';
@@ -9,27 +8,29 @@ export declare class K256Jwk extends Jwk {
9
8
  static readonly supportedEncryptionAlgorithms: JwaEncryptionAlgorithm[];
10
9
  static readonly supportedSignatureAlgorithms: JwaSignatureAlgorithm[];
11
10
  static readonly keyType = KeyType.K256;
12
- readonly x: string;
13
- readonly y: string;
11
+ private readonly affinePoint;
14
12
  constructor({ x, y }: {
15
- x: string;
16
- y: string;
13
+ x: string | Uint8Array;
14
+ y: string | Uint8Array;
17
15
  });
18
16
  get kty(): JwaKeyType.EC;
19
17
  get crv(): JwaCurve.Secp256k1;
18
+ get x(): string;
19
+ get y(): string;
20
20
  /**
21
- * Returns the public key of the K-256 JWK.
22
- *
23
- * NOTE: this is the compressed variant. We still need to add support for the
24
- * uncompressed variant.
21
+ * Returns the uncompressed public key of the P-256 JWK.
25
22
  */
26
- get publicKey(): Buffer;
23
+ get publicKey(): Uint8Array;
24
+ /**
25
+ * Returns the compressed public key of the K-256 JWK.
26
+ */
27
+ get publicKeyCompressed(): Uint8Array;
27
28
  get keyType(): KeyType;
28
29
  get supportedEncryptionAlgorithms(): JwaEncryptionAlgorithm[];
29
30
  get supportedSignatureAlgorithms(): JwaSignatureAlgorithm[];
30
31
  toJson(): K256JwkJson;
31
32
  static fromJson(jwkJson: JwkJson): K256Jwk;
32
- static fromPublicKey(publicKey: Buffer): K256Jwk;
33
+ static fromPublicKey(publicKey: Uint8Array): K256Jwk;
33
34
  }
34
35
  export interface K256JwkJson extends JwkJson {
35
36
  kty: JwaKeyType.EC;
@@ -2,18 +2,20 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.K256Jwk = void 0;
4
4
  exports.isValidK256JwkPublicKey = isValidK256JwkPublicKey;
5
+ const ec_compression_1 = require("ec-compression");
6
+ const error_1 = require("../../../error");
5
7
  const utils_1 = require("../../../utils");
6
8
  const KeyType_1 = require("../../KeyType");
7
9
  const jwa_1 = require("../jwa");
8
10
  const alg_1 = require("../jwa/alg");
9
11
  const Jwk_1 = require("./Jwk");
10
- const ecCompression_1 = require("./ecCompression");
11
12
  const validate_1 = require("./validate");
12
13
  class K256Jwk extends Jwk_1.Jwk {
13
14
  constructor({ x, y }) {
14
15
  super();
15
- this.x = x;
16
- this.y = y;
16
+ const xAsBytes = typeof x === 'string' ? Uint8Array.from(utils_1.TypedArrayEncoder.fromBase64(x)) : x;
17
+ const yAsBytes = typeof y === 'string' ? Uint8Array.from(utils_1.TypedArrayEncoder.fromBase64(y)) : y;
18
+ this.affinePoint = new ec_compression_1.AffinePoint(xAsBytes, yAsBytes);
17
19
  }
18
20
  get kty() {
19
21
  return jwa_1.JwaKeyType.EC;
@@ -21,16 +23,23 @@ class K256Jwk extends Jwk_1.Jwk {
21
23
  get crv() {
22
24
  return jwa_1.JwaCurve.Secp256k1;
23
25
  }
26
+ get x() {
27
+ return utils_1.TypedArrayEncoder.toBase64URL(this.affinePoint.xBytes);
28
+ }
29
+ get y() {
30
+ return utils_1.TypedArrayEncoder.toBase64URL(this.affinePoint.yBytes);
31
+ }
24
32
  /**
25
- * Returns the public key of the K-256 JWK.
26
- *
27
- * NOTE: this is the compressed variant. We still need to add support for the
28
- * uncompressed variant.
33
+ * Returns the uncompressed public key of the P-256 JWK.
29
34
  */
30
35
  get publicKey() {
31
- const publicKeyBuffer = utils_1.Buffer.concat([utils_1.TypedArrayEncoder.fromBase64(this.x), utils_1.TypedArrayEncoder.fromBase64(this.y)]);
32
- const compressedPublicKey = (0, ecCompression_1.compress)(publicKeyBuffer);
33
- return utils_1.Buffer.from(compressedPublicKey);
36
+ return this.affinePoint.decompressedForm;
37
+ }
38
+ /**
39
+ * Returns the compressed public key of the K-256 JWK.
40
+ */
41
+ get publicKeyCompressed() {
42
+ return this.affinePoint.compressedForm;
34
43
  }
35
44
  get keyType() {
36
45
  return K256Jwk.keyType;
@@ -42,7 +51,12 @@ class K256Jwk extends Jwk_1.Jwk {
42
51
  return K256Jwk.supportedSignatureAlgorithms;
43
52
  }
44
53
  toJson() {
45
- return Object.assign(Object.assign({}, super.toJson()), { crv: this.crv, x: this.x, y: this.y });
54
+ return {
55
+ ...super.toJson(),
56
+ crv: this.crv,
57
+ x: this.x,
58
+ y: this.y,
59
+ };
46
60
  }
47
61
  static fromJson(jwkJson) {
48
62
  if (!isValidK256JwkPublicKey(jwkJson)) {
@@ -54,13 +68,15 @@ class K256Jwk extends Jwk_1.Jwk {
54
68
  });
55
69
  }
56
70
  static fromPublicKey(publicKey) {
57
- const expanded = (0, ecCompression_1.expand)(publicKey, jwa_1.JwaCurve.Secp256k1);
58
- const x = expanded.slice(0, expanded.length / 2);
59
- const y = expanded.slice(expanded.length / 2);
60
- return new K256Jwk({
61
- x: utils_1.TypedArrayEncoder.toBase64URL(x),
62
- y: utils_1.TypedArrayEncoder.toBase64URL(y),
63
- });
71
+ if ((0, ec_compression_1.isValidCompressedPublicKeyFormat)(publicKey, ec_compression_1.Secp256k1)) {
72
+ const affinePoint = ec_compression_1.AffinePoint.fromCompressedPoint(publicKey, ec_compression_1.Secp256k1);
73
+ return new K256Jwk({ x: affinePoint.xBytes, y: affinePoint.yBytes });
74
+ }
75
+ if ((0, ec_compression_1.isValidDecompressedPublicKeyFormat)(publicKey, ec_compression_1.Secp256k1)) {
76
+ const affinePoint = ec_compression_1.AffinePoint.fromDecompressedPoint(publicKey, ec_compression_1.Secp256k1);
77
+ return new K256Jwk({ x: affinePoint.xBytes, y: affinePoint.yBytes });
78
+ }
79
+ throw new error_1.CredoError(`${this.keyType} public key is neither a valid compressed or uncompressed key. Key prefix '${publicKey[0]}', key length '${publicKey.length}'`);
64
80
  }
65
81
  }
66
82
  exports.K256Jwk = K256Jwk;
@@ -1 +1 @@
1
- {"version":3,"file":"K256Jwk.js","sourceRoot":"","sources":["../../../../src/crypto/jose/jwk/K256Jwk.ts"],"names":[],"mappings":";;;AAoGA,0DAWC;AA5GD,0CAA0D;AAC1D,2CAAuC;AACvC,gCAA6C;AAC7C,oCAAkD;AAElD,+BAA2B;AAC3B,mDAAkD;AAClD,yCAAoE;AAEpE,MAAa,OAAQ,SAAQ,SAAG;IAQ9B,YAAmB,EAAE,CAAC,EAAE,CAAC,EAA4B;QACnD,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,CAAC,GAAG,CAAC,CAAA;QACV,IAAI,CAAC,CAAC,GAAG,CAAC,CAAA;IACZ,CAAC;IAED,IAAW,GAAG;QACZ,OAAO,gBAAU,CAAC,EAAW,CAAA;IAC/B,CAAC;IAED,IAAW,GAAG;QACZ,OAAO,cAAQ,CAAC,SAAkB,CAAA;IACpC,CAAC;IAED;;;;;OAKG;IACH,IAAW,SAAS;QAClB,MAAM,eAAe,GAAG,cAAM,CAAC,MAAM,CAAC,CAAC,yBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,yBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QACnH,MAAM,mBAAmB,GAAG,IAAA,wBAAQ,EAAC,eAAe,CAAC,CAAA;QAErD,OAAO,cAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAA;IACzC,CAAC;IAED,IAAW,OAAO;QAChB,OAAO,OAAO,CAAC,OAAO,CAAA;IACxB,CAAC;IAED,IAAW,6BAA6B;QACtC,OAAO,OAAO,CAAC,6BAA6B,CAAA;IAC9C,CAAC;IAED,IAAW,4BAA4B;QACrC,OAAO,OAAO,CAAC,4BAA4B,CAAA;IAC7C,CAAC;IAEM,MAAM;QACX,OAAO,gCACF,KAAK,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M,EAAE,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC,CAAA;QACtE,CAAC;QAED,IAAI,IAAA,mDAAkC,EAAC,SAAS,EAAE,0BAAS,CAAC,EAAE,CAAC;YAC7D,MAAM,WAAW,GAAG,4BAAW,CAAC,qBAAqB,CAAC,SAAS,EAAE,0BAAS,CAAC,CAAA;YAC3E,OAAO,IAAI,OAAO,CAAC,EAAE,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC,CAAA;QACtE,CAAC;QAED,MAAM,IAAI,kBAAU,CAClB,GAAG,IAAI,CAAC,OAAO,8EAA8E,SAAS,CAAC,CAAC,CAAC,kBAAkB,SAAS,CAAC,MAAM,GAAG,CAC/I,CAAA;IACH,CAAC;;AA5FH,0BA6FC;AA5FwB,qCAA6B,GAA6B,EAAE,CAAA;AAC5D,oCAA4B,GAA4B,CAAC,2BAAqB,CAAC,MAAM,CAAC,CAAA;AACtF,eAAO,GAAG,iBAAO,CAAC,IAAI,CAAA;AAoG/C,SAAgB,uBAAuB,CAAC,GAAY;IAClD,OAAO,CACL,IAAA,iBAAM,EAAC,GAAG,EAAE,gBAAU,CAAC,EAAE,CAAC;QAC1B,IAAA,iBAAM,EAAC,GAAG,EAAE,cAAQ,CAAC,SAAS,CAAC;QAC/B,IAAA,eAAI,EAAC,GAAG,CAAC;QACT,IAAA,eAAI,EAAC,GAAG,CAAC;QACT,IAAA,sBAAW,EAAC,GAAG,EAAE;YACf,kBAAkB,EAAE,IAAI;YACxB,eAAe,EAAE,IAAI;SACtB,CAAC,CACH,CAAA;AACH,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import type { JwkJson } from './Jwk';
2
2
  import type { JwaEncryptionAlgorithm } from '../jwa/alg';
3
- import { Buffer } from '../../../utils';
4
3
  import { KeyType } from '../../KeyType';
5
4
  import { JwaCurve, JwaKeyType } from '../jwa';
6
5
  import { JwaSignatureAlgorithm } from '../jwa/alg';
@@ -9,27 +8,29 @@ export declare class P256Jwk extends Jwk {
9
8
  static readonly supportedEncryptionAlgorithms: JwaEncryptionAlgorithm[];
10
9
  static readonly supportedSignatureAlgorithms: JwaSignatureAlgorithm[];
11
10
  static readonly keyType = KeyType.P256;
12
- readonly x: string;
13
- readonly y: string;
11
+ private readonly affinePoint;
14
12
  constructor({ x, y }: {
15
- x: string;
16
- y: string;
13
+ x: string | Uint8Array;
14
+ y: string | Uint8Array;
17
15
  });
18
16
  get kty(): JwaKeyType.EC;
19
17
  get crv(): JwaCurve.P256;
18
+ get x(): string;
19
+ get y(): string;
20
20
  /**
21
- * Returns the public key of the P-256 JWK.
22
- *
23
- * NOTE: this is the compressed variant. We still need to add support for the
24
- * uncompressed variant.
21
+ * Returns the uncompressed public key of the P-256 JWK.
25
22
  */
26
- get publicKey(): Buffer;
23
+ get publicKey(): Uint8Array;
24
+ /**
25
+ * Returns the compressed public key of the P-256 JWK.
26
+ */
27
+ get publicKeyCompressed(): Uint8Array;
27
28
  get keyType(): KeyType;
28
29
  get supportedEncryptionAlgorithms(): JwaEncryptionAlgorithm[];
29
30
  get supportedSignatureAlgorithms(): JwaSignatureAlgorithm[];
30
31
  toJson(): P256JwkJson;
31
32
  static fromJson(jwkJson: JwkJson): P256Jwk;
32
- static fromPublicKey(publicKey: Buffer): P256Jwk;
33
+ static fromPublicKey(publicKey: Uint8Array): P256Jwk;
33
34
  }
34
35
  export interface P256JwkJson extends JwkJson {
35
36
  kty: JwaKeyType.EC;
@@ -2,18 +2,20 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.P256Jwk = void 0;
4
4
  exports.isValidP256JwkPublicKey = isValidP256JwkPublicKey;
5
+ const ec_compression_1 = require("ec-compression");
6
+ const error_1 = require("../../../error");
5
7
  const utils_1 = require("../../../utils");
6
8
  const KeyType_1 = require("../../KeyType");
7
9
  const jwa_1 = require("../jwa");
8
10
  const alg_1 = require("../jwa/alg");
9
11
  const Jwk_1 = require("./Jwk");
10
- const ecCompression_1 = require("./ecCompression");
11
12
  const validate_1 = require("./validate");
12
13
  class P256Jwk extends Jwk_1.Jwk {
13
14
  constructor({ x, y }) {
14
15
  super();
15
- this.x = x;
16
- this.y = y;
16
+ const xAsBytes = typeof x === 'string' ? Uint8Array.from(utils_1.TypedArrayEncoder.fromBase64(x)) : x;
17
+ const yAsBytes = typeof y === 'string' ? Uint8Array.from(utils_1.TypedArrayEncoder.fromBase64(y)) : y;
18
+ this.affinePoint = new ec_compression_1.AffinePoint(xAsBytes, yAsBytes);
17
19
  }
18
20
  get kty() {
19
21
  return jwa_1.JwaKeyType.EC;
@@ -21,16 +23,23 @@ class P256Jwk extends Jwk_1.Jwk {
21
23
  get crv() {
22
24
  return jwa_1.JwaCurve.P256;
23
25
  }
26
+ get x() {
27
+ return utils_1.TypedArrayEncoder.toBase64URL(this.affinePoint.xBytes);
28
+ }
29
+ get y() {
30
+ return utils_1.TypedArrayEncoder.toBase64URL(this.affinePoint.yBytes);
31
+ }
24
32
  /**
25
- * Returns the public key of the P-256 JWK.
26
- *
27
- * NOTE: this is the compressed variant. We still need to add support for the
28
- * uncompressed variant.
33
+ * Returns the uncompressed public key of the P-256 JWK.
29
34
  */
30
35
  get publicKey() {
31
- const publicKeyBuffer = utils_1.Buffer.concat([utils_1.TypedArrayEncoder.fromBase64(this.x), utils_1.TypedArrayEncoder.fromBase64(this.y)]);
32
- const compressedPublicKey = (0, ecCompression_1.compress)(publicKeyBuffer);
33
- return utils_1.Buffer.from(compressedPublicKey);
36
+ return this.affinePoint.decompressedForm;
37
+ }
38
+ /**
39
+ * Returns the compressed public key of the P-256 JWK.
40
+ */
41
+ get publicKeyCompressed() {
42
+ return this.affinePoint.compressedForm;
34
43
  }
35
44
  get keyType() {
36
45
  return P256Jwk.keyType;
@@ -42,7 +51,12 @@ class P256Jwk extends Jwk_1.Jwk {
42
51
  return P256Jwk.supportedSignatureAlgorithms;
43
52
  }
44
53
  toJson() {
45
- return Object.assign(Object.assign({}, super.toJson()), { crv: this.crv, x: this.x, y: this.y });
54
+ return {
55
+ ...super.toJson(),
56
+ crv: this.crv,
57
+ x: this.x,
58
+ y: this.y,
59
+ };
46
60
  }
47
61
  static fromJson(jwkJson) {
48
62
  if (!isValidP256JwkPublicKey(jwkJson)) {
@@ -54,13 +68,15 @@ class P256Jwk extends Jwk_1.Jwk {
54
68
  });
55
69
  }
56
70
  static fromPublicKey(publicKey) {
57
- const expanded = (0, ecCompression_1.expand)(publicKey, jwa_1.JwaCurve.P256);
58
- const x = expanded.slice(0, expanded.length / 2);
59
- const y = expanded.slice(expanded.length / 2);
60
- return new P256Jwk({
61
- x: utils_1.TypedArrayEncoder.toBase64URL(x),
62
- y: utils_1.TypedArrayEncoder.toBase64URL(y),
63
- });
71
+ if ((0, ec_compression_1.isValidCompressedPublicKeyFormat)(publicKey, ec_compression_1.Secp256r1)) {
72
+ const affinePoint = ec_compression_1.AffinePoint.fromCompressedPoint(publicKey, ec_compression_1.Secp256r1);
73
+ return new P256Jwk({ x: affinePoint.xBytes, y: affinePoint.yBytes });
74
+ }
75
+ if ((0, ec_compression_1.isValidDecompressedPublicKeyFormat)(publicKey, ec_compression_1.Secp256r1)) {
76
+ const affinePoint = ec_compression_1.AffinePoint.fromDecompressedPoint(publicKey, ec_compression_1.Secp256r1);
77
+ return new P256Jwk({ x: affinePoint.xBytes, y: affinePoint.yBytes });
78
+ }
79
+ throw new error_1.CredoError(`${this.keyType} public key is neither a valid compressed or uncompressed key. Key prefix '${publicKey[0]}', key length '${publicKey.length}'`);
64
80
  }
65
81
  }
66
82
  exports.P256Jwk = P256Jwk;
@@ -1 +1 @@
1
- {"version":3,"file":"P256Jwk.js","sourceRoot":"","sources":["../../../../src/crypto/jose/jwk/P256Jwk.ts"],"names":[],"mappings":";;;AAoGA,0DAWC;AA5GD,0CAA0D;AAC1D,2CAAuC;AACvC,gCAA6C;AAC7C,oCAAkD;AAElD,+BAA2B;AAC3B,mDAAkD;AAClD,yCAAoE;AA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CAAC,MAAM,EAAE,CAAC,CAAA;QACtE,CAAC;QAED,MAAM,IAAI,kBAAU,CAClB,GAAG,IAAI,CAAC,OAAO,8EAA8E,SAAS,CAAC,CAAC,CAAC,kBAAkB,SAAS,CAAC,MAAM,GAAG,CAC/I,CAAA;IACH,CAAC;;AA5FH,0BA6FC;AA5FwB,qCAA6B,GAA6B,EAAE,CAAA;AAC5D,oCAA4B,GAA4B,CAAC,2BAAqB,CAAC,KAAK,CAAC,CAAA;AACrF,eAAO,GAAG,iBAAO,CAAC,IAAI,CAAA;AAoG/C,SAAgB,uBAAuB,CAAC,GAAY;IAClD,OAAO,CACL,IAAA,iBAAM,EAAC,GAAG,EAAE,gBAAU,CAAC,EAAE,CAAC;QAC1B,IAAA,iBAAM,EAAC,GAAG,EAAE,cAAQ,CAAC,IAAI,CAAC;QAC1B,IAAA,eAAI,EAAC,GAAG,CAAC;QACT,IAAA,eAAI,EAAC,GAAG,CAAC;QACT,IAAA,sBAAW,EAAC,GAAG,EAAE;YACf,kBAAkB,EAAE,IAAI;YACxB,eAAe,EAAE,IAAI;SACtB,CAAC,CACH,CAAA;AACH,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import type { JwkJson } from './Jwk';
2
2
  import type { JwaEncryptionAlgorithm } from '../jwa/alg';
3
- import { Buffer } from '../../../utils';
4
3
  import { KeyType } from '../../KeyType';
5
4
  import { JwaCurve, JwaKeyType } from '../jwa';
6
5
  import { JwaSignatureAlgorithm } from '../jwa/alg';
@@ -9,27 +8,29 @@ export declare class P384Jwk extends Jwk {
9
8
  static readonly supportedEncryptionAlgorithms: JwaEncryptionAlgorithm[];
10
9
  static readonly supportedSignatureAlgorithms: JwaSignatureAlgorithm[];
11
10
  static readonly keyType = KeyType.P384;
12
- readonly x: string;
13
- readonly y: string;
11
+ private readonly affinePoint;
14
12
  constructor({ x, y }: {
15
- x: string;
16
- y: string;
13
+ x: string | Uint8Array;
14
+ y: string | Uint8Array;
17
15
  });
18
16
  get kty(): JwaKeyType.EC;
19
17
  get crv(): JwaCurve.P384;
20
18
  get keyType(): KeyType;
21
19
  get supportedEncryptionAlgorithms(): JwaEncryptionAlgorithm[];
22
20
  get supportedSignatureAlgorithms(): JwaSignatureAlgorithm[];
21
+ get x(): string;
22
+ get y(): string;
23
23
  /**
24
- * Returns the public key of the P-384 JWK.
25
- *
26
- * NOTE: this is the compressed variant. We still need to add support for the
27
- * uncompressed variant.
24
+ * Returns the uncompressed public key of the P-384 JWK.
28
25
  */
29
- get publicKey(): Buffer;
26
+ get publicKey(): Uint8Array;
27
+ /**
28
+ * Returns the compressed public key of the P-384 JWK.
29
+ */
30
+ get publicKeyCompressed(): Uint8Array;
30
31
  toJson(): P384JwkJson;
31
32
  static fromJson(jwk: JwkJson): P384Jwk;
32
- static fromPublicKey(publicKey: Buffer): P384Jwk;
33
+ static fromPublicKey(publicKey: Uint8Array): P384Jwk;
33
34
  }
34
35
  export interface P384JwkJson extends JwkJson {
35
36
  kty: JwaKeyType.EC;
@@ -2,18 +2,20 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.P384Jwk = void 0;
4
4
  exports.isValidP384JwkPublicKey = isValidP384JwkPublicKey;
5
+ const ec_compression_1 = require("ec-compression");
6
+ const error_1 = require("../../../error");
5
7
  const utils_1 = require("../../../utils");
6
8
  const KeyType_1 = require("../../KeyType");
7
9
  const jwa_1 = require("../jwa");
8
10
  const alg_1 = require("../jwa/alg");
9
11
  const Jwk_1 = require("./Jwk");
10
- const ecCompression_1 = require("./ecCompression");
11
12
  const validate_1 = require("./validate");
12
13
  class P384Jwk extends Jwk_1.Jwk {
13
14
  constructor({ x, y }) {
14
15
  super();
15
- this.x = x;
16
- this.y = y;
16
+ const xAsBytes = typeof x === 'string' ? Uint8Array.from(utils_1.TypedArrayEncoder.fromBase64(x)) : x;
17
+ const yAsBytes = typeof y === 'string' ? Uint8Array.from(utils_1.TypedArrayEncoder.fromBase64(y)) : y;
18
+ this.affinePoint = new ec_compression_1.AffinePoint(xAsBytes, yAsBytes);
17
19
  }
18
20
  get kty() {
19
21
  return jwa_1.JwaKeyType.EC;
@@ -30,19 +32,31 @@ class P384Jwk extends Jwk_1.Jwk {
30
32
  get supportedSignatureAlgorithms() {
31
33
  return P384Jwk.supportedSignatureAlgorithms;
32
34
  }
35
+ get x() {
36
+ return utils_1.TypedArrayEncoder.toBase64URL(this.affinePoint.xBytes);
37
+ }
38
+ get y() {
39
+ return utils_1.TypedArrayEncoder.toBase64URL(this.affinePoint.yBytes);
40
+ }
33
41
  /**
34
- * Returns the public key of the P-384 JWK.
35
- *
36
- * NOTE: this is the compressed variant. We still need to add support for the
37
- * uncompressed variant.
42
+ * Returns the uncompressed public key of the P-384 JWK.
38
43
  */
39
44
  get publicKey() {
40
- const publicKeyBuffer = utils_1.Buffer.concat([utils_1.TypedArrayEncoder.fromBase64(this.x), utils_1.TypedArrayEncoder.fromBase64(this.y)]);
41
- const compressedPublicKey = (0, ecCompression_1.compress)(publicKeyBuffer);
42
- return utils_1.Buffer.from(compressedPublicKey);
45
+ return this.affinePoint.decompressedForm;
46
+ }
47
+ /**
48
+ * Returns the compressed public key of the P-384 JWK.
49
+ */
50
+ get publicKeyCompressed() {
51
+ return this.affinePoint.compressedForm;
43
52
  }
44
53
  toJson() {
45
- return Object.assign(Object.assign({}, super.toJson()), { crv: this.crv, x: this.x, y: this.y });
54
+ return {
55
+ ...super.toJson(),
56
+ crv: this.crv,
57
+ x: this.x,
58
+ y: this.y,
59
+ };
46
60
  }
47
61
  static fromJson(jwk) {
48
62
  if (!isValidP384JwkPublicKey(jwk)) {
@@ -54,13 +68,15 @@ class P384Jwk extends Jwk_1.Jwk {
54
68
  });
55
69
  }
56
70
  static fromPublicKey(publicKey) {
57
- const expanded = (0, ecCompression_1.expand)(publicKey, jwa_1.JwaCurve.P384);
58
- const x = expanded.slice(0, expanded.length / 2);
59
- const y = expanded.slice(expanded.length / 2);
60
- return new P384Jwk({
61
- x: utils_1.TypedArrayEncoder.toBase64URL(x),
62
- y: utils_1.TypedArrayEncoder.toBase64URL(y),
63
- });
71
+ if ((0, ec_compression_1.isValidCompressedPublicKeyFormat)(publicKey, ec_compression_1.Secp384r1)) {
72
+ const affinePoint = ec_compression_1.AffinePoint.fromCompressedPoint(publicKey, ec_compression_1.Secp384r1);
73
+ return new P384Jwk({ x: affinePoint.xBytes, y: affinePoint.yBytes });
74
+ }
75
+ if ((0, ec_compression_1.isValidDecompressedPublicKeyFormat)(publicKey, ec_compression_1.Secp384r1)) {
76
+ const affinePoint = ec_compression_1.AffinePoint.fromDecompressedPoint(publicKey, ec_compression_1.Secp384r1);
77
+ return new P384Jwk({ x: affinePoint.xBytes, y: affinePoint.yBytes });
78
+ }
79
+ throw new error_1.CredoError(`${this.keyType} public key is neither a valid compressed or uncompressed key. Key prefix '${publicKey[0]}', key length '${publicKey.length}'`);
64
80
  }
65
81
  }
66
82
  exports.P384Jwk = P384Jwk;
@@ -1 +1 @@
1
- {"version":3,"file":"P384Jwk.js","sourceRoot":"","sources":["../../../../src/crypto/jose/jwk/P384Jwk.ts"],"names":[],"mappings":";;;AAoGA,0DAWC;AA5GD,0CAA0D;AAC1D,2CAAuC;AACvC,gCAA6C;AAC7C,oCAAkD;AAElD,+BAA2B;AAC3B,mDAAkD;AAClD,yCAAoE;AAEpE,MAAa,OAAQ,SAAQ,SAAG;IAQ9B,YAAmB,EAAE,CAAC,EAAE,CAAC,EAA4B;QACnD,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,CAAC,GAAG,CAAC,CAAA;QACV,IAAI,CAAC,CAAC,GAAG,CAAC,CAAA;IACZ,CAAC;IAED,IAAW,GAAG;QACZ,OAAO,gBAAU,CAAC,EAAW,CAAA;IAC/B,CAAC;IAED,IAAW,GAAG;QACZ,OAAO,cAAQ,CAAC,IAAa,CAAA;IAC/B,CAAC;IAED,IAAW,OAAO;QAChB,OAAO,OAAO,CAAC,OAAO,CAAA;IACxB,CAAC;IAED,IAAW,6BAA6B;QACtC,OA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AAU,CAAC,EAAE,CAAC;QAC1B,IAAA,iBAAM,EAAC,GAAG,EAAE,cAAQ,CAAC,IAAI,CAAC;QAC1B,IAAA,eAAI,EAAC,GAAG,CAAC;QACT,IAAA,eAAI,EAAC,GAAG,CAAC;QACT,IAAA,sBAAW,EAAC,GAAG,EAAE;YACf,kBAAkB,EAAE,IAAI;YACxB,eAAe,EAAE,IAAI;SACtB,CAAC,CACH,CAAA;AACH,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import type { JwkJson } from './Jwk';
2
2
  import type { JwaEncryptionAlgorithm } from '../jwa/alg';
3
- import { Buffer } from '../../../utils';
4
3
  import { KeyType } from '../../KeyType';
5
4
  import { JwaCurve, JwaKeyType } from '../jwa';
6
5
  import { JwaSignatureAlgorithm } from '../jwa/alg';
@@ -9,27 +8,29 @@ export declare class P521Jwk extends Jwk {
9
8
  static readonly supportedEncryptionAlgorithms: JwaEncryptionAlgorithm[];
10
9
  static readonly supportedSignatureAlgorithms: JwaSignatureAlgorithm[];
11
10
  static readonly keyType = KeyType.P521;
12
- readonly x: string;
13
- readonly y: string;
11
+ private readonly affinePoint;
14
12
  constructor({ x, y }: {
15
- x: string;
16
- y: string;
13
+ x: string | Uint8Array;
14
+ y: string | Uint8Array;
17
15
  });
18
16
  get kty(): JwaKeyType.EC;
19
17
  get crv(): JwaCurve.P521;
20
18
  get keyType(): KeyType;
21
19
  get supportedEncryptionAlgorithms(): JwaEncryptionAlgorithm[];
22
20
  get supportedSignatureAlgorithms(): JwaSignatureAlgorithm[];
21
+ get x(): string;
22
+ get y(): string;
23
23
  /**
24
- * Returns the public key of the P-521 JWK.
25
- *
26
- * NOTE: this is the compressed variant. We still need to add support for the
27
- * uncompressed variant.
24
+ * Returns the uncompressed public key of the P-521 JWK.
28
25
  */
29
- get publicKey(): Buffer;
26
+ get publicKey(): Uint8Array;
27
+ /**
28
+ * Returns the compressed public key of the P-521 JWK.
29
+ */
30
+ get publicKeyCompressed(): Uint8Array;
30
31
  toJson(): P521JwkJson;
31
32
  static fromJson(jwk: JwkJson): P521Jwk;
32
- static fromPublicKey(publicKey: Buffer): P521Jwk;
33
+ static fromPublicKey(publicKey: Uint8Array): P521Jwk;
33
34
  }
34
35
  export interface P521JwkJson extends JwkJson {
35
36
  kty: JwaKeyType.EC;
@@ -2,18 +2,20 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.P521Jwk = void 0;
4
4
  exports.isValidP521JwkPublicKey = isValidP521JwkPublicKey;
5
+ const ec_compression_1 = require("ec-compression");
6
+ const error_1 = require("../../../error");
5
7
  const utils_1 = require("../../../utils");
6
8
  const KeyType_1 = require("../../KeyType");
7
9
  const jwa_1 = require("../jwa");
8
10
  const alg_1 = require("../jwa/alg");
9
11
  const Jwk_1 = require("./Jwk");
10
- const ecCompression_1 = require("./ecCompression");
11
12
  const validate_1 = require("./validate");
12
13
  class P521Jwk extends Jwk_1.Jwk {
13
14
  constructor({ x, y }) {
14
15
  super();
15
- this.x = x;
16
- this.y = y;
16
+ const xAsBytes = typeof x === 'string' ? Uint8Array.from(utils_1.TypedArrayEncoder.fromBase64(x)) : x;
17
+ const yAsBytes = typeof y === 'string' ? Uint8Array.from(utils_1.TypedArrayEncoder.fromBase64(y)) : y;
18
+ this.affinePoint = new ec_compression_1.AffinePoint(xAsBytes, yAsBytes);
17
19
  }
18
20
  get kty() {
19
21
  return jwa_1.JwaKeyType.EC;
@@ -30,19 +32,31 @@ class P521Jwk extends Jwk_1.Jwk {
30
32
  get supportedSignatureAlgorithms() {
31
33
  return P521Jwk.supportedSignatureAlgorithms;
32
34
  }
35
+ get x() {
36
+ return utils_1.TypedArrayEncoder.toBase64URL(this.affinePoint.xBytes);
37
+ }
38
+ get y() {
39
+ return utils_1.TypedArrayEncoder.toBase64URL(this.affinePoint.yBytes);
40
+ }
33
41
  /**
34
- * Returns the public key of the P-521 JWK.
35
- *
36
- * NOTE: this is the compressed variant. We still need to add support for the
37
- * uncompressed variant.
42
+ * Returns the uncompressed public key of the P-521 JWK.
38
43
  */
39
44
  get publicKey() {
40
- const publicKeyBuffer = utils_1.Buffer.concat([utils_1.TypedArrayEncoder.fromBase64(this.x), utils_1.TypedArrayEncoder.fromBase64(this.y)]);
41
- const compressedPublicKey = (0, ecCompression_1.compress)(publicKeyBuffer);
42
- return utils_1.Buffer.from(compressedPublicKey);
45
+ return this.affinePoint.decompressedForm;
46
+ }
47
+ /**
48
+ * Returns the compressed public key of the P-521 JWK.
49
+ */
50
+ get publicKeyCompressed() {
51
+ return this.affinePoint.compressedForm;
43
52
  }
44
53
  toJson() {
45
- return Object.assign(Object.assign({}, super.toJson()), { crv: this.crv, x: this.x, y: this.y });
54
+ return {
55
+ ...super.toJson(),
56
+ crv: this.crv,
57
+ x: this.x,
58
+ y: this.y,
59
+ };
46
60
  }
47
61
  static fromJson(jwk) {
48
62
  if (!isValidP521JwkPublicKey(jwk)) {
@@ -54,13 +68,15 @@ class P521Jwk extends Jwk_1.Jwk {
54
68
  });
55
69
  }
56
70
  static fromPublicKey(publicKey) {
57
- const expanded = (0, ecCompression_1.expand)(publicKey, jwa_1.JwaCurve.P521);
58
- const x = expanded.slice(0, expanded.length / 2);
59
- const y = expanded.slice(expanded.length / 2);
60
- return new P521Jwk({
61
- x: utils_1.TypedArrayEncoder.toBase64URL(x),
62
- y: utils_1.TypedArrayEncoder.toBase64URL(y),
63
- });
71
+ if ((0, ec_compression_1.isValidCompressedPublicKeyFormat)(publicKey, ec_compression_1.Secp521r1)) {
72
+ const affinePoint = ec_compression_1.AffinePoint.fromCompressedPoint(publicKey, ec_compression_1.Secp521r1);
73
+ return new P521Jwk({ x: affinePoint.xBytes, y: affinePoint.yBytes });
74
+ }
75
+ if ((0, ec_compression_1.isValidDecompressedPublicKeyFormat)(publicKey, ec_compression_1.Secp521r1)) {
76
+ const affinePoint = ec_compression_1.AffinePoint.fromDecompressedPoint(publicKey, ec_compression_1.Secp521r1);
77
+ return new P521Jwk({ x: affinePoint.xBytes, y: affinePoint.yBytes });
78
+ }
79
+ throw new error_1.CredoError(`${this.keyType} public key is neither a valid compressed or uncompressed key. Key prefix '${publicKey[0]}', key length '${publicKey.length}'`);
64
80
  }
65
81
  }
66
82
  exports.P521Jwk = P521Jwk;
@@ -1 +1 @@
1
- {"version":3,"file":"P521Jwk.js","sourceRoot":"","sources":["../../../../src/crypto/jose/jwk/P521Jwk.ts"],"names":[],"mappings":";;;AAoGA,0DAWC;AA5GD,0CAA0D;AAC1D,2CAAuC;AACvC,gCAA6C;AAC7C,oCAAkD;AAElD,+BAA2B;AAC3B,mDAAkD;AAClD,yCAAoE;AAEpE,MAAa,OAAQ,SAAQ,SAAG;IAQ9B,YAAmB,EAAE,CAAC,EAAE,CAAC,EAA4B;QACnD,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,CAAC,GAAG,CAAC,CAAA;QACV,IAAI,CAAC,CAAC,GAAG,CAAC,CAAA;IACZ,CAAC;IAED,IAAW,GAAG;QACZ,OAAO,gBAAU,CAAC,EAAW,CAAA;IAC/B,CAAC;IAED,IAAW,GAAG;QACZ,OAAO,cAAQ,CAAC,IAAa,CAAA;IAC/B,CAAC;IAED,IAAW,OAAO;QAChB,OAAO,OAAO,CAAC,OAAO,CAAA;IACxB,CAAC;IAED,IAAW,6BAA6B;QACtC,OAAO,OAAO,CAAC,6BAA6B,CAAA;IAC9C,CAAC;IAED,IAAW,4BAA4B;QACrC,OAAO,OAAO,CAAC,4BAA4B,CAAA;IAC7C,CAAC;IAED;;;;;OAKG;IACH,IAAW,SAAS;QAClB,MAAM,eAAe,GAAG,cAAM,CAAC,MAAM,CAAC,CAAC,yBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,yBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QACnH,MAAM,mBAAmB,GAAG,IAAA,wBAAQ,EAAC,eAAe,CAAC,CAAA;QAErD,OAAO,cAAM,CAAC,IAAI,CAAC,mB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