@credo-ts/core 0.5.0-alpha.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2112) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +31 -0
  3. package/build/agent/Agent.d.ts +33 -0
  4. package/build/agent/Agent.js +189 -0
  5. package/build/agent/Agent.js.map +1 -0
  6. package/build/agent/AgentConfig.d.ts +54 -0
  7. package/build/agent/AgentConfig.js +70 -0
  8. package/build/agent/AgentConfig.js.map +1 -0
  9. package/build/agent/AgentDependencies.d.ts +13 -0
  10. package/build/agent/AgentDependencies.js +3 -0
  11. package/build/agent/AgentDependencies.js.map +1 -0
  12. package/build/agent/AgentMessage.d.ts +85 -0
  13. package/build/agent/AgentMessage.js +55 -0
  14. package/build/agent/AgentMessage.js.map +1 -0
  15. package/build/agent/AgentModules.d.ts +154 -0
  16. package/build/agent/AgentModules.js +110 -0
  17. package/build/agent/AgentModules.js.map +1 -0
  18. package/build/agent/BaseAgent.d.ts +63 -0
  19. package/build/agent/BaseAgent.js +139 -0
  20. package/build/agent/BaseAgent.js.map +1 -0
  21. package/build/agent/BaseMessage.d.ts +11 -0
  22. package/build/agent/BaseMessage.js +34 -0
  23. package/build/agent/BaseMessage.js.map +1 -0
  24. package/build/agent/Dispatcher.d.ts +14 -0
  25. package/build/agent/Dispatcher.js +107 -0
  26. package/build/agent/Dispatcher.js.map +1 -0
  27. package/build/agent/EnvelopeService.d.ts +21 -0
  28. package/build/agent/EnvelopeService.js +66 -0
  29. package/build/agent/EnvelopeService.js.map +1 -0
  30. package/build/agent/EventEmitter.d.ts +15 -0
  31. package/build/agent/EventEmitter.js +48 -0
  32. package/build/agent/EventEmitter.js.map +1 -0
  33. package/build/agent/Events.d.ts +40 -0
  34. package/build/agent/Events.js +17 -0
  35. package/build/agent/Events.js.map +1 -0
  36. package/build/agent/FeatureRegistry.d.ts +21 -0
  37. package/build/agent/FeatureRegistry.js +66 -0
  38. package/build/agent/FeatureRegistry.js.map +1 -0
  39. package/build/agent/MessageHandler.d.ts +14 -0
  40. package/build/agent/MessageHandler.js +3 -0
  41. package/build/agent/MessageHandler.js.map +1 -0
  42. package/build/agent/MessageHandlerRegistry.d.ts +19 -0
  43. package/build/agent/MessageHandlerRegistry.js +61 -0
  44. package/build/agent/MessageHandlerRegistry.js.map +1 -0
  45. package/build/agent/MessageReceiver.d.ts +62 -0
  46. package/build/agent/MessageReceiver.js +246 -0
  47. package/build/agent/MessageReceiver.js.map +1 -0
  48. package/build/agent/MessageSender.d.ts +58 -0
  49. package/build/agent/MessageSender.js +476 -0
  50. package/build/agent/MessageSender.js.map +1 -0
  51. package/build/agent/TransportService.d.ts +28 -0
  52. package/build/agent/TransportService.js +57 -0
  53. package/build/agent/TransportService.js.map +1 -0
  54. package/build/agent/context/AgentContext.d.ts +39 -0
  55. package/build/agent/context/AgentContext.js +37 -0
  56. package/build/agent/context/AgentContext.js.map +1 -0
  57. package/build/agent/context/AgentContextProvider.d.ts +26 -0
  58. package/build/agent/context/AgentContextProvider.js +3 -0
  59. package/build/agent/context/AgentContextProvider.js.map +1 -0
  60. package/build/agent/context/DefaultAgentContextProvider.d.ts +17 -0
  61. package/build/agent/context/DefaultAgentContextProvider.js +54 -0
  62. package/build/agent/context/DefaultAgentContextProvider.js.map +1 -0
  63. package/build/agent/context/index.d.ts +3 -0
  64. package/build/agent/context/index.js +20 -0
  65. package/build/agent/context/index.js.map +1 -0
  66. package/build/agent/getOutboundMessageContext.d.ts +27 -0
  67. package/build/agent/getOutboundMessageContext.js +199 -0
  68. package/build/agent/getOutboundMessageContext.js.map +1 -0
  69. package/build/agent/index.d.ts +1 -0
  70. package/build/agent/index.js +18 -0
  71. package/build/agent/index.js.map +1 -0
  72. package/build/agent/models/InboundMessageContext.d.ts +35 -0
  73. package/build/agent/models/InboundMessageContext.js +39 -0
  74. package/build/agent/models/InboundMessageContext.js.map +1 -0
  75. package/build/agent/models/OutboundMessageContext.d.ts +51 -0
  76. package/build/agent/models/OutboundMessageContext.js +46 -0
  77. package/build/agent/models/OutboundMessageContext.js.map +1 -0
  78. package/build/agent/models/OutboundMessageSendStatus.d.ts +6 -0
  79. package/build/agent/models/OutboundMessageSendStatus.js +11 -0
  80. package/build/agent/models/OutboundMessageSendStatus.js.map +1 -0
  81. package/build/agent/models/features/Feature.d.ts +18 -0
  82. package/build/agent/models/features/Feature.js +62 -0
  83. package/build/agent/models/features/Feature.js.map +1 -0
  84. package/build/agent/models/features/FeatureQuery.d.ts +9 -0
  85. package/build/agent/models/features/FeatureQuery.js +33 -0
  86. package/build/agent/models/features/FeatureQuery.js.map +1 -0
  87. package/build/agent/models/features/GoalCode.d.ts +7 -0
  88. package/build/agent/models/features/GoalCode.js +12 -0
  89. package/build/agent/models/features/GoalCode.js.map +1 -0
  90. package/build/agent/models/features/GovernanceFramework.d.ts +7 -0
  91. package/build/agent/models/features/GovernanceFramework.js +12 -0
  92. package/build/agent/models/features/GovernanceFramework.js.map +1 -0
  93. package/build/agent/models/features/Protocol.d.ts +10 -0
  94. package/build/agent/models/features/Protocol.js +30 -0
  95. package/build/agent/models/features/Protocol.js.map +1 -0
  96. package/build/agent/models/features/index.d.ts +5 -0
  97. package/build/agent/models/features/index.js +22 -0
  98. package/build/agent/models/features/index.js.map +1 -0
  99. package/build/agent/models/index.d.ts +4 -0
  100. package/build/agent/models/index.js +21 -0
  101. package/build/agent/models/index.js.map +1 -0
  102. package/build/constants.d.ts +11 -0
  103. package/build/constants.js +15 -0
  104. package/build/constants.js.map +1 -0
  105. package/build/crypto/JwsService.d.ts +44 -0
  106. package/build/crypto/JwsService.js +182 -0
  107. package/build/crypto/JwsService.js.map +1 -0
  108. package/build/crypto/JwsTypes.d.ts +51 -0
  109. package/build/crypto/JwsTypes.js +5 -0
  110. package/build/crypto/JwsTypes.js.map +1 -0
  111. package/build/crypto/Key.d.ts +16 -0
  112. package/build/crypto/Key.js +55 -0
  113. package/build/crypto/Key.js.map +1 -0
  114. package/build/crypto/KeyType.d.ts +10 -0
  115. package/build/crypto/KeyType.js +15 -0
  116. package/build/crypto/KeyType.js.map +1 -0
  117. package/build/crypto/WalletKeyPair.d.ts +107 -0
  118. package/build/crypto/WalletKeyPair.js +95 -0
  119. package/build/crypto/WalletKeyPair.js.map +1 -0
  120. package/build/crypto/__tests__/__fixtures__/didJwsz6Mkf.d.ts +24 -0
  121. package/build/crypto/__tests__/__fixtures__/didJwsz6Mkf.js +29 -0
  122. package/build/crypto/__tests__/__fixtures__/didJwsz6Mkf.js.map +1 -0
  123. package/build/crypto/__tests__/__fixtures__/didJwsz6Mkv.d.ts +24 -0
  124. package/build/crypto/__tests__/__fixtures__/didJwsz6Mkv.js +29 -0
  125. package/build/crypto/__tests__/__fixtures__/didJwsz6Mkv.js.map +1 -0
  126. package/build/crypto/__tests__/__fixtures__/didJwszDnaey.d.ts +24 -0
  127. package/build/crypto/__tests__/__fixtures__/didJwszDnaey.js +29 -0
  128. package/build/crypto/__tests__/__fixtures__/didJwszDnaey.js.map +1 -0
  129. package/build/crypto/index.d.ts +6 -0
  130. package/build/crypto/index.js +27 -0
  131. package/build/crypto/index.js.map +1 -0
  132. package/build/crypto/jose/index.d.ts +3 -0
  133. package/build/crypto/jose/index.js +20 -0
  134. package/build/crypto/jose/index.js.map +1 -0
  135. package/build/crypto/jose/jwa/alg.d.ts +36 -0
  136. package/build/crypto/jose/jwa/alg.js +41 -0
  137. package/build/crypto/jose/jwa/alg.js.map +1 -0
  138. package/build/crypto/jose/jwa/crv.d.ts +7 -0
  139. package/build/crypto/jose/jwa/crv.js +12 -0
  140. package/build/crypto/jose/jwa/crv.js.map +1 -0
  141. package/build/crypto/jose/jwa/index.d.ts +3 -0
  142. package/build/crypto/jose/jwa/index.js +11 -0
  143. package/build/crypto/jose/jwa/index.js.map +1 -0
  144. package/build/crypto/jose/jwa/kty.d.ts +6 -0
  145. package/build/crypto/jose/jwa/kty.js +11 -0
  146. package/build/crypto/jose/jwa/kty.js.map +1 -0
  147. package/build/crypto/jose/jwk/Ed25519Jwk.d.ts +31 -0
  148. package/build/crypto/jose/jwk/Ed25519Jwk.js +63 -0
  149. package/build/crypto/jose/jwk/Ed25519Jwk.js.map +1 -0
  150. package/build/crypto/jose/jwk/Jwk.d.ts +28 -0
  151. package/build/crypto/jose/jwk/Jwk.js +20 -0
  152. package/build/crypto/jose/jwk/Jwk.js.map +1 -0
  153. package/build/crypto/jose/jwk/P256Jwk.d.ts +41 -0
  154. package/build/crypto/jose/jwk/P256Jwk.js +80 -0
  155. package/build/crypto/jose/jwk/P256Jwk.js.map +1 -0
  156. package/build/crypto/jose/jwk/P384Jwk.d.ts +41 -0
  157. package/build/crypto/jose/jwk/P384Jwk.js +80 -0
  158. package/build/crypto/jose/jwk/P384Jwk.js.map +1 -0
  159. package/build/crypto/jose/jwk/P521Jwk.d.ts +41 -0
  160. package/build/crypto/jose/jwk/P521Jwk.js +80 -0
  161. package/build/crypto/jose/jwk/P521Jwk.js.map +1 -0
  162. package/build/crypto/jose/jwk/X25519Jwk.d.ts +30 -0
  163. package/build/crypto/jose/jwk/X25519Jwk.js +67 -0
  164. package/build/crypto/jose/jwk/X25519Jwk.js.map +1 -0
  165. package/build/crypto/jose/jwk/ecCompression.d.ts +5 -0
  166. package/build/crypto/jose/jwk/ecCompression.js +86 -0
  167. package/build/crypto/jose/jwk/ecCompression.js.map +1 -0
  168. package/build/crypto/jose/jwk/index.d.ts +7 -0
  169. package/build/crypto/jose/jwk/index.js +31 -0
  170. package/build/crypto/jose/jwk/index.js.map +1 -0
  171. package/build/crypto/jose/jwk/transform.d.ts +13 -0
  172. package/build/crypto/jose/jwk/transform.js +54 -0
  173. package/build/crypto/jose/jwk/transform.js.map +1 -0
  174. package/build/crypto/jose/jwk/validate.d.ts +16 -0
  175. package/build/crypto/jose/jwk/validate.js +24 -0
  176. package/build/crypto/jose/jwk/validate.js.map +1 -0
  177. package/build/crypto/jose/jwt/Jwt.d.ts +20 -0
  178. package/build/crypto/jose/jwt/Jwt.js +34 -0
  179. package/build/crypto/jose/jwt/Jwt.js.map +1 -0
  180. package/build/crypto/jose/jwt/JwtPayload.d.ts +101 -0
  181. package/build/crypto/jose/jwt/JwtPayload.js +127 -0
  182. package/build/crypto/jose/jwt/JwtPayload.js.map +1 -0
  183. package/build/crypto/jose/jwt/index.d.ts +2 -0
  184. package/build/crypto/jose/jwt/index.js +8 -0
  185. package/build/crypto/jose/jwt/index.js.map +1 -0
  186. package/build/crypto/keyUtils.d.ts +6 -0
  187. package/build/crypto/keyUtils.js +62 -0
  188. package/build/crypto/keyUtils.js.map +1 -0
  189. package/build/crypto/multiCodecKey.d.ts +3 -0
  190. package/build/crypto/multiCodecKey.js +33 -0
  191. package/build/crypto/multiCodecKey.js.map +1 -0
  192. package/build/crypto/signing-provider/SigningProvider.d.ts +27 -0
  193. package/build/crypto/signing-provider/SigningProvider.js +3 -0
  194. package/build/crypto/signing-provider/SigningProvider.js.map +1 -0
  195. package/build/crypto/signing-provider/SigningProviderError.d.ts +3 -0
  196. package/build/crypto/signing-provider/SigningProviderError.js +8 -0
  197. package/build/crypto/signing-provider/SigningProviderError.js.map +1 -0
  198. package/build/crypto/signing-provider/SigningProviderRegistry.d.ts +10 -0
  199. package/build/crypto/signing-provider/SigningProviderRegistry.js +49 -0
  200. package/build/crypto/signing-provider/SigningProviderRegistry.js.map +1 -0
  201. package/build/crypto/signing-provider/index.d.ts +3 -0
  202. package/build/crypto/signing-provider/index.js +20 -0
  203. package/build/crypto/signing-provider/index.js.map +1 -0
  204. package/build/decorators/ack/AckDecorator.d.ts +13 -0
  205. package/build/decorators/ack/AckDecorator.js +38 -0
  206. package/build/decorators/ack/AckDecorator.js.map +1 -0
  207. package/build/decorators/ack/AckDecoratorExtension.d.ts +13 -0
  208. package/build/decorators/ack/AckDecoratorExtension.js +39 -0
  209. package/build/decorators/ack/AckDecoratorExtension.js.map +1 -0
  210. package/build/decorators/attachment/Attachment.d.ts +75 -0
  211. package/build/decorators/attachment/Attachment.js +168 -0
  212. package/build/decorators/attachment/Attachment.js.map +1 -0
  213. package/build/decorators/attachment/AttachmentExtension.d.ts +15 -0
  214. package/build/decorators/attachment/AttachmentExtension.js +42 -0
  215. package/build/decorators/attachment/AttachmentExtension.js.map +1 -0
  216. package/build/decorators/l10n/L10nDecorator.d.ts +7 -0
  217. package/build/decorators/l10n/L10nDecorator.js +13 -0
  218. package/build/decorators/l10n/L10nDecorator.js.map +1 -0
  219. package/build/decorators/l10n/L10nDecoratorExtension.d.ts +12 -0
  220. package/build/decorators/l10n/L10nDecoratorExtension.js +41 -0
  221. package/build/decorators/l10n/L10nDecoratorExtension.js.map +1 -0
  222. package/build/decorators/service/ServiceDecorator.d.ts +20 -0
  223. package/build/decorators/service/ServiceDecorator.js +63 -0
  224. package/build/decorators/service/ServiceDecorator.js.map +1 -0
  225. package/build/decorators/service/ServiceDecoratorExtension.d.ts +12 -0
  226. package/build/decorators/service/ServiceDecoratorExtension.js +32 -0
  227. package/build/decorators/service/ServiceDecoratorExtension.js.map +1 -0
  228. package/build/decorators/signature/SignatureDecorator.d.ts +11 -0
  229. package/build/decorators/signature/SignatureDecorator.js +55 -0
  230. package/build/decorators/signature/SignatureDecorator.js.map +1 -0
  231. package/build/decorators/signature/SignatureDecoratorUtils.d.ts +21 -0
  232. package/build/decorators/signature/SignatureDecoratorUtils.js +59 -0
  233. package/build/decorators/signature/SignatureDecoratorUtils.js.map +1 -0
  234. package/build/decorators/thread/ThreadDecorator.d.ts +26 -0
  235. package/build/decorators/thread/ThreadDecorator.js +52 -0
  236. package/build/decorators/thread/ThreadDecorator.js.map +1 -0
  237. package/build/decorators/thread/ThreadDecoratorExtension.d.ts +15 -0
  238. package/build/decorators/thread/ThreadDecoratorExtension.js +37 -0
  239. package/build/decorators/thread/ThreadDecoratorExtension.js.map +1 -0
  240. package/build/decorators/timing/TimingDecorator.d.ts +38 -0
  241. package/build/decorators/timing/TimingDecorator.js +93 -0
  242. package/build/decorators/timing/TimingDecorator.js.map +1 -0
  243. package/build/decorators/timing/TimingDecoratorExtension.d.ts +14 -0
  244. package/build/decorators/timing/TimingDecoratorExtension.js +33 -0
  245. package/build/decorators/timing/TimingDecoratorExtension.js.map +1 -0
  246. package/build/decorators/transport/TransportDecorator.d.ts +20 -0
  247. package/build/decorators/transport/TransportDecorator.js +51 -0
  248. package/build/decorators/transport/TransportDecorator.js.map +1 -0
  249. package/build/decorators/transport/TransportDecoratorExtension.d.ts +13 -0
  250. package/build/decorators/transport/TransportDecoratorExtension.js +55 -0
  251. package/build/decorators/transport/TransportDecoratorExtension.js.map +1 -0
  252. package/build/error/AriesFrameworkError.d.ts +11 -0
  253. package/build/error/AriesFrameworkError.js +16 -0
  254. package/build/error/AriesFrameworkError.js.map +1 -0
  255. package/build/error/BaseError.d.ts +42 -0
  256. package/build/error/BaseError.js +70 -0
  257. package/build/error/BaseError.js.map +1 -0
  258. package/build/error/ClassValidationError.d.ts +11 -0
  259. package/build/error/ClassValidationError.js +18 -0
  260. package/build/error/ClassValidationError.js.map +1 -0
  261. package/build/error/MessageSendingError.d.ts +9 -0
  262. package/build/error/MessageSendingError.js +12 -0
  263. package/build/error/MessageSendingError.js.map +1 -0
  264. package/build/error/RecordDuplicateError.d.ts +7 -0
  265. package/build/error/RecordDuplicateError.js +11 -0
  266. package/build/error/RecordDuplicateError.js.map +1 -0
  267. package/build/error/RecordNotFoundError.d.ts +7 -0
  268. package/build/error/RecordNotFoundError.js +11 -0
  269. package/build/error/RecordNotFoundError.js.map +1 -0
  270. package/build/error/ValidationErrorUtils.d.ts +2 -0
  271. package/build/error/ValidationErrorUtils.js +13 -0
  272. package/build/error/ValidationErrorUtils.js.map +1 -0
  273. package/build/error/index.d.ts +5 -0
  274. package/build/error/index.js +22 -0
  275. package/build/error/index.js.map +1 -0
  276. package/build/index.d.ts +69 -0
  277. package/build/index.js +121 -0
  278. package/build/index.js.map +1 -0
  279. package/build/logger/BaseLogger.d.ts +14 -0
  280. package/build/logger/BaseLogger.js +14 -0
  281. package/build/logger/BaseLogger.js.map +1 -0
  282. package/build/logger/ConsoleLogger.d.ts +12 -0
  283. package/build/logger/ConsoleLogger.js +61 -0
  284. package/build/logger/ConsoleLogger.js.map +1 -0
  285. package/build/logger/Logger.d.ts +20 -0
  286. package/build/logger/Logger.js +16 -0
  287. package/build/logger/Logger.js.map +1 -0
  288. package/build/logger/index.d.ts +3 -0
  289. package/build/logger/index.js +20 -0
  290. package/build/logger/index.js.map +1 -0
  291. package/build/logger/replaceError.d.ts +1 -0
  292. package/build/logger/replaceError.js +18 -0
  293. package/build/logger/replaceError.js.map +1 -0
  294. package/build/modules/basic-messages/BasicMessageEvents.d.ts +13 -0
  295. package/build/modules/basic-messages/BasicMessageEvents.js +8 -0
  296. package/build/modules/basic-messages/BasicMessageEvents.js.map +1 -0
  297. package/build/modules/basic-messages/BasicMessageRole.d.ts +4 -0
  298. package/build/modules/basic-messages/BasicMessageRole.js +9 -0
  299. package/build/modules/basic-messages/BasicMessageRole.js.map +1 -0
  300. package/build/modules/basic-messages/BasicMessagesApi.d.ts +57 -0
  301. package/build/modules/basic-messages/BasicMessagesApi.js +102 -0
  302. package/build/modules/basic-messages/BasicMessagesApi.js.map +1 -0
  303. package/build/modules/basic-messages/BasicMessagesModule.d.ts +10 -0
  304. package/build/modules/basic-messages/BasicMessagesModule.js +31 -0
  305. package/build/modules/basic-messages/BasicMessagesModule.js.map +1 -0
  306. package/build/modules/basic-messages/handlers/BasicMessageHandler.d.ts +9 -0
  307. package/build/modules/basic-messages/handlers/BasicMessageHandler.js +16 -0
  308. package/build/modules/basic-messages/handlers/BasicMessageHandler.js.map +1 -0
  309. package/build/modules/basic-messages/handlers/index.d.ts +1 -0
  310. package/build/modules/basic-messages/handlers/index.js +18 -0
  311. package/build/modules/basic-messages/handlers/index.js.map +1 -0
  312. package/build/modules/basic-messages/index.d.ts +7 -0
  313. package/build/modules/basic-messages/index.js +24 -0
  314. package/build/modules/basic-messages/index.js.map +1 -0
  315. package/build/modules/basic-messages/messages/BasicMessage.d.ts +19 -0
  316. package/build/modules/basic-messages/messages/BasicMessage.js +53 -0
  317. package/build/modules/basic-messages/messages/BasicMessage.js.map +1 -0
  318. package/build/modules/basic-messages/messages/index.d.ts +1 -0
  319. package/build/modules/basic-messages/messages/index.js +18 -0
  320. package/build/modules/basic-messages/messages/index.js.map +1 -0
  321. package/build/modules/basic-messages/repository/BasicMessageRecord.d.ts +39 -0
  322. package/build/modules/basic-messages/repository/BasicMessageRecord.js +29 -0
  323. package/build/modules/basic-messages/repository/BasicMessageRecord.js.map +1 -0
  324. package/build/modules/basic-messages/repository/BasicMessageRepository.d.ts +7 -0
  325. package/build/modules/basic-messages/repository/BasicMessageRepository.js +32 -0
  326. package/build/modules/basic-messages/repository/BasicMessageRepository.js.map +1 -0
  327. package/build/modules/basic-messages/repository/index.d.ts +2 -0
  328. package/build/modules/basic-messages/repository/index.js +19 -0
  329. package/build/modules/basic-messages/repository/index.js.map +1 -0
  330. package/build/modules/basic-messages/services/BasicMessageService.d.ts +26 -0
  331. package/build/modules/basic-messages/services/BasicMessageService.js +86 -0
  332. package/build/modules/basic-messages/services/BasicMessageService.js.map +1 -0
  333. package/build/modules/basic-messages/services/index.d.ts +1 -0
  334. package/build/modules/basic-messages/services/index.js +18 -0
  335. package/build/modules/basic-messages/services/index.js.map +1 -0
  336. package/build/modules/cache/Cache.d.ts +6 -0
  337. package/build/modules/cache/Cache.js +3 -0
  338. package/build/modules/cache/Cache.js.map +1 -0
  339. package/build/modules/cache/CacheModule.d.ts +10 -0
  340. package/build/modules/cache/CacheModule.js +23 -0
  341. package/build/modules/cache/CacheModule.js.map +1 -0
  342. package/build/modules/cache/CacheModuleConfig.d.ts +21 -0
  343. package/build/modules/cache/CacheModuleConfig.js +14 -0
  344. package/build/modules/cache/CacheModuleConfig.js.map +1 -0
  345. package/build/modules/cache/InMemoryLruCache.d.ts +21 -0
  346. package/build/modules/cache/InMemoryLruCache.js +51 -0
  347. package/build/modules/cache/InMemoryLruCache.js.map +1 -0
  348. package/build/modules/cache/index.d.ts +5 -0
  349. package/build/modules/cache/index.js +14 -0
  350. package/build/modules/cache/index.js.map +1 -0
  351. package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.d.ts +22 -0
  352. package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.js +38 -0
  353. package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRecord.js.map +1 -0
  354. package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRepository.d.ts +7 -0
  355. package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRepository.js +32 -0
  356. package/build/modules/cache/singleContextLruCache/SingleContextLruCacheRepository.js.map +1 -0
  357. package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.d.ts +34 -0
  358. package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.js +126 -0
  359. package/build/modules/cache/singleContextLruCache/SingleContextStorageLruCache.js.map +1 -0
  360. package/build/modules/cache/singleContextLruCache/index.d.ts +1 -0
  361. package/build/modules/cache/singleContextLruCache/index.js +6 -0
  362. package/build/modules/cache/singleContextLruCache/index.js.map +1 -0
  363. package/build/modules/common/index.d.ts +1 -0
  364. package/build/modules/common/index.js +18 -0
  365. package/build/modules/common/index.js.map +1 -0
  366. package/build/modules/common/messages/AckMessage.d.ts +26 -0
  367. package/build/modules/common/messages/AckMessage.js +54 -0
  368. package/build/modules/common/messages/AckMessage.js.map +1 -0
  369. package/build/modules/connections/ConnectionEvents.d.ts +13 -0
  370. package/build/modules/connections/ConnectionEvents.js +8 -0
  371. package/build/modules/connections/ConnectionEvents.js.map +1 -0
  372. package/build/modules/connections/ConnectionsApi.d.ts +194 -0
  373. package/build/modules/connections/ConnectionsApi.js +428 -0
  374. package/build/modules/connections/ConnectionsApi.js.map +1 -0
  375. package/build/modules/connections/ConnectionsModule.d.ts +14 -0
  376. package/build/modules/connections/ConnectionsModule.js +45 -0
  377. package/build/modules/connections/ConnectionsModule.js.map +1 -0
  378. package/build/modules/connections/ConnectionsModuleConfig.d.ts +47 -0
  379. package/build/modules/connections/ConnectionsModuleConfig.js +57 -0
  380. package/build/modules/connections/ConnectionsModuleConfig.js.map +1 -0
  381. package/build/modules/connections/DidExchangeProtocol.d.ts +60 -0
  382. package/build/modules/connections/DidExchangeProtocol.js +480 -0
  383. package/build/modules/connections/DidExchangeProtocol.js.map +1 -0
  384. package/build/modules/connections/DidExchangeStateMachine.d.ts +10 -0
  385. package/build/modules/connections/DidExchangeStateMachine.js +78 -0
  386. package/build/modules/connections/DidExchangeStateMachine.js.map +1 -0
  387. package/build/modules/connections/TrustPingEvents.d.ts +21 -0
  388. package/build/modules/connections/TrustPingEvents.js +9 -0
  389. package/build/modules/connections/TrustPingEvents.js.map +1 -0
  390. package/build/modules/connections/errors/ConnectionProblemReportError.d.ts +13 -0
  391. package/build/modules/connections/errors/ConnectionProblemReportError.js +19 -0
  392. package/build/modules/connections/errors/ConnectionProblemReportError.js.map +1 -0
  393. package/build/modules/connections/errors/ConnectionProblemReportReason.d.ts +11 -0
  394. package/build/modules/connections/errors/ConnectionProblemReportReason.js +16 -0
  395. package/build/modules/connections/errors/ConnectionProblemReportReason.js.map +1 -0
  396. package/build/modules/connections/errors/DidExchangeProblemReportError.d.ts +13 -0
  397. package/build/modules/connections/errors/DidExchangeProblemReportError.js +19 -0
  398. package/build/modules/connections/errors/DidExchangeProblemReportError.js.map +1 -0
  399. package/build/modules/connections/errors/DidExchangeProblemReportReason.d.ts +12 -0
  400. package/build/modules/connections/errors/DidExchangeProblemReportReason.js +17 -0
  401. package/build/modules/connections/errors/DidExchangeProblemReportReason.js.map +1 -0
  402. package/build/modules/connections/errors/index.d.ts +4 -0
  403. package/build/modules/connections/errors/index.js +21 -0
  404. package/build/modules/connections/errors/index.js.map +1 -0
  405. package/build/modules/connections/handlers/AckMessageHandler.d.ts +9 -0
  406. package/build/modules/connections/handlers/AckMessageHandler.js +15 -0
  407. package/build/modules/connections/handlers/AckMessageHandler.js.map +1 -0
  408. package/build/modules/connections/handlers/ConnectionProblemReportHandler.d.ts +9 -0
  409. package/build/modules/connections/handlers/ConnectionProblemReportHandler.js +15 -0
  410. package/build/modules/connections/handlers/ConnectionProblemReportHandler.js.map +1 -0
  411. package/build/modules/connections/handlers/ConnectionRequestHandler.d.ts +18 -0
  412. package/build/modules/connections/handlers/ConnectionRequestHandler.js +63 -0
  413. package/build/modules/connections/handlers/ConnectionRequestHandler.js.map +1 -0
  414. package/build/modules/connections/handlers/ConnectionResponseHandler.d.ts +16 -0
  415. package/build/modules/connections/handlers/ConnectionResponseHandler.js +62 -0
  416. package/build/modules/connections/handlers/ConnectionResponseHandler.js.map +1 -0
  417. package/build/modules/connections/handlers/DidExchangeCompleteHandler.d.ts +11 -0
  418. package/build/modules/connections/handlers/DidExchangeCompleteHandler.js +41 -0
  419. package/build/modules/connections/handlers/DidExchangeCompleteHandler.js.map +1 -0
  420. package/build/modules/connections/handlers/DidExchangeRequestHandler.d.ts +18 -0
  421. package/build/modules/connections/handlers/DidExchangeRequestHandler.js +72 -0
  422. package/build/modules/connections/handlers/DidExchangeRequestHandler.js.map +1 -0
  423. package/build/modules/connections/handlers/DidExchangeResponseHandler.d.ts +18 -0
  424. package/build/modules/connections/handlers/DidExchangeResponseHandler.js +78 -0
  425. package/build/modules/connections/handlers/DidExchangeResponseHandler.js.map +1 -0
  426. package/build/modules/connections/handlers/DidRotateAckHandler.d.ts +9 -0
  427. package/build/modules/connections/handlers/DidRotateAckHandler.js +15 -0
  428. package/build/modules/connections/handlers/DidRotateAckHandler.js.map +1 -0
  429. package/build/modules/connections/handlers/DidRotateHandler.d.ts +11 -0
  430. package/build/modules/connections/handlers/DidRotateHandler.js +21 -0
  431. package/build/modules/connections/handlers/DidRotateHandler.js.map +1 -0
  432. package/build/modules/connections/handlers/DidRotateProblemReportHandler.d.ts +9 -0
  433. package/build/modules/connections/handlers/DidRotateProblemReportHandler.js +15 -0
  434. package/build/modules/connections/handlers/DidRotateProblemReportHandler.js.map +1 -0
  435. package/build/modules/connections/handlers/HangupHandler.d.ts +9 -0
  436. package/build/modules/connections/handlers/HangupHandler.js +15 -0
  437. package/build/modules/connections/handlers/HangupHandler.js.map +1 -0
  438. package/build/modules/connections/handlers/TrustPingMessageHandler.d.ts +11 -0
  439. package/build/modules/connections/handlers/TrustPingMessageHandler.js +27 -0
  440. package/build/modules/connections/handlers/TrustPingMessageHandler.js.map +1 -0
  441. package/build/modules/connections/handlers/TrustPingResponseMessageHandler.d.ts +9 -0
  442. package/build/modules/connections/handlers/TrustPingResponseMessageHandler.js +15 -0
  443. package/build/modules/connections/handlers/TrustPingResponseMessageHandler.js.map +1 -0
  444. package/build/modules/connections/handlers/index.d.ts +13 -0
  445. package/build/modules/connections/handlers/index.js +30 -0
  446. package/build/modules/connections/handlers/index.js.map +1 -0
  447. package/build/modules/connections/index.d.ts +10 -0
  448. package/build/modules/connections/index.js +27 -0
  449. package/build/modules/connections/index.js.map +1 -0
  450. package/build/modules/connections/messages/ConnectionInvitationMessage.d.ts +55 -0
  451. package/build/modules/connections/messages/ConnectionInvitationMessage.js +141 -0
  452. package/build/modules/connections/messages/ConnectionInvitationMessage.js.map +1 -0
  453. package/build/modules/connections/messages/ConnectionProblemReportMessage.d.ts +16 -0
  454. package/build/modules/connections/messages/ConnectionProblemReportMessage.js +35 -0
  455. package/build/modules/connections/messages/ConnectionProblemReportMessage.js.map +1 -0
  456. package/build/modules/connections/messages/ConnectionRequestMessage.d.ts +28 -0
  457. package/build/modules/connections/messages/ConnectionRequestMessage.js +64 -0
  458. package/build/modules/connections/messages/ConnectionRequestMessage.js.map +1 -0
  459. package/build/modules/connections/messages/ConnectionResponseMessage.d.ts +23 -0
  460. package/build/modules/connections/messages/ConnectionResponseMessage.js +52 -0
  461. package/build/modules/connections/messages/ConnectionResponseMessage.js.map +1 -0
  462. package/build/modules/connections/messages/DidExchangeCompleteMessage.d.ts +14 -0
  463. package/build/modules/connections/messages/DidExchangeCompleteMessage.js +38 -0
  464. package/build/modules/connections/messages/DidExchangeCompleteMessage.js.map +1 -0
  465. package/build/modules/connections/messages/DidExchangeProblemReportMessage.d.ts +11 -0
  466. package/build/modules/connections/messages/DidExchangeProblemReportMessage.js +30 -0
  467. package/build/modules/connections/messages/DidExchangeProblemReportMessage.js.map +1 -0
  468. package/build/modules/connections/messages/DidExchangeRequestMessage.d.ts +29 -0
  469. package/build/modules/connections/messages/DidExchangeRequestMessage.js +73 -0
  470. package/build/modules/connections/messages/DidExchangeRequestMessage.js.map +1 -0
  471. package/build/modules/connections/messages/DidExchangeResponseMessage.d.ts +24 -0
  472. package/build/modules/connections/messages/DidExchangeResponseMessage.js +64 -0
  473. package/build/modules/connections/messages/DidExchangeResponseMessage.js.map +1 -0
  474. package/build/modules/connections/messages/DidRotateAckMessage.d.ts +12 -0
  475. package/build/modules/connections/messages/DidRotateAckMessage.js +31 -0
  476. package/build/modules/connections/messages/DidRotateAckMessage.js.map +1 -0
  477. package/build/modules/connections/messages/DidRotateMessage.d.ts +20 -0
  478. package/build/modules/connections/messages/DidRotateMessage.js +47 -0
  479. package/build/modules/connections/messages/DidRotateMessage.js.map +1 -0
  480. package/build/modules/connections/messages/DidRotateProblemReportMessage.d.ts +11 -0
  481. package/build/modules/connections/messages/DidRotateProblemReportMessage.js +30 -0
  482. package/build/modules/connections/messages/DidRotateProblemReportMessage.js.map +1 -0
  483. package/build/modules/connections/messages/HangupMessage.d.ts +19 -0
  484. package/build/modules/connections/messages/HangupMessage.js +40 -0
  485. package/build/modules/connections/messages/HangupMessage.js.map +1 -0
  486. package/build/modules/connections/messages/TrustPingMessage.d.ts +26 -0
  487. package/build/modules/connections/messages/TrustPingMessage.js +63 -0
  488. package/build/modules/connections/messages/TrustPingMessage.js.map +1 -0
  489. package/build/modules/connections/messages/TrustPingResponseMessage.d.ts +25 -0
  490. package/build/modules/connections/messages/TrustPingResponseMessage.js +57 -0
  491. package/build/modules/connections/messages/TrustPingResponseMessage.js.map +1 -0
  492. package/build/modules/connections/messages/index.d.ts +14 -0
  493. package/build/modules/connections/messages/index.js +31 -0
  494. package/build/modules/connections/messages/index.js.map +1 -0
  495. package/build/modules/connections/models/Connection.d.ts +10 -0
  496. package/build/modules/connections/models/Connection.js +38 -0
  497. package/build/modules/connections/models/Connection.js.map +1 -0
  498. package/build/modules/connections/models/ConnectionRole.d.ts +4 -0
  499. package/build/modules/connections/models/ConnectionRole.js +9 -0
  500. package/build/modules/connections/models/ConnectionRole.js.map +1 -0
  501. package/build/modules/connections/models/ConnectionState.d.ts +14 -0
  502. package/build/modules/connections/models/ConnectionState.js +33 -0
  503. package/build/modules/connections/models/ConnectionState.js.map +1 -0
  504. package/build/modules/connections/models/ConnectionType.d.ts +3 -0
  505. package/build/modules/connections/models/ConnectionType.js +8 -0
  506. package/build/modules/connections/models/ConnectionType.js.map +1 -0
  507. package/build/modules/connections/models/DidExchangeRole.d.ts +4 -0
  508. package/build/modules/connections/models/DidExchangeRole.js +9 -0
  509. package/build/modules/connections/models/DidExchangeRole.js.map +1 -0
  510. package/build/modules/connections/models/DidExchangeState.d.ts +16 -0
  511. package/build/modules/connections/models/DidExchangeState.js +21 -0
  512. package/build/modules/connections/models/DidExchangeState.js.map +1 -0
  513. package/build/modules/connections/models/DidRotateRole.d.ts +4 -0
  514. package/build/modules/connections/models/DidRotateRole.js +9 -0
  515. package/build/modules/connections/models/DidRotateRole.js.map +1 -0
  516. package/build/modules/connections/models/HandshakeProtocol.d.ts +4 -0
  517. package/build/modules/connections/models/HandshakeProtocol.js +9 -0
  518. package/build/modules/connections/models/HandshakeProtocol.js.map +1 -0
  519. package/build/modules/connections/models/InvitationDetails.d.ts +6 -0
  520. package/build/modules/connections/models/InvitationDetails.js +3 -0
  521. package/build/modules/connections/models/InvitationDetails.js.map +1 -0
  522. package/build/modules/connections/models/did/DidDoc.d.ts +37 -0
  523. package/build/modules/connections/models/did/DidDoc.js +94 -0
  524. package/build/modules/connections/models/did/DidDoc.js.map +1 -0
  525. package/build/modules/connections/models/did/authentication/Authentication.d.ts +4 -0
  526. package/build/modules/connections/models/did/authentication/Authentication.js +7 -0
  527. package/build/modules/connections/models/did/authentication/Authentication.js.map +1 -0
  528. package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.d.ts +6 -0
  529. package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.js +29 -0
  530. package/build/modules/connections/models/did/authentication/EmbeddedAuthentication.js.map +1 -0
  531. package/build/modules/connections/models/did/authentication/ReferencedAuthentication.d.ts +7 -0
  532. package/build/modules/connections/models/did/authentication/ReferencedAuthentication.js +35 -0
  533. package/build/modules/connections/models/did/authentication/ReferencedAuthentication.js.map +1 -0
  534. package/build/modules/connections/models/did/authentication/index.d.ts +19 -0
  535. package/build/modules/connections/models/did/authentication/index.js +59 -0
  536. package/build/modules/connections/models/did/authentication/index.js.map +1 -0
  537. package/build/modules/connections/models/did/index.d.ts +3 -0
  538. package/build/modules/connections/models/did/index.js +20 -0
  539. package/build/modules/connections/models/did/index.js.map +1 -0
  540. package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.d.ts +10 -0
  541. package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.js +35 -0
  542. package/build/modules/connections/models/did/publicKey/Ed25119Sig2018.js.map +1 -0
  543. package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.d.ts +10 -0
  544. package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.js +35 -0
  545. package/build/modules/connections/models/did/publicKey/EddsaSaSigSecp256k1.js.map +1 -0
  546. package/build/modules/connections/models/did/publicKey/PublicKey.d.ts +12 -0
  547. package/build/modules/connections/models/did/publicKey/PublicKey.js +42 -0
  548. package/build/modules/connections/models/did/publicKey/PublicKey.js.map +1 -0
  549. package/build/modules/connections/models/did/publicKey/RsaSig2018.d.ts +10 -0
  550. package/build/modules/connections/models/did/publicKey/RsaSig2018.js +35 -0
  551. package/build/modules/connections/models/did/publicKey/RsaSig2018.js.map +1 -0
  552. package/build/modules/connections/models/did/publicKey/index.d.ts +18 -0
  553. package/build/modules/connections/models/did/publicKey/index.js +40 -0
  554. package/build/modules/connections/models/did/publicKey/index.js.map +1 -0
  555. package/build/modules/connections/models/index.d.ts +9 -0
  556. package/build/modules/connections/models/index.js +26 -0
  557. package/build/modules/connections/models/index.js.map +1 -0
  558. package/build/modules/connections/repository/ConnectionMetadataTypes.d.ts +14 -0
  559. package/build/modules/connections/repository/ConnectionMetadataTypes.js +9 -0
  560. package/build/modules/connections/repository/ConnectionMetadataTypes.js.map +1 -0
  561. package/build/modules/connections/repository/ConnectionRecord.d.ts +71 -0
  562. package/build/modules/connections/repository/ConnectionRecord.js +72 -0
  563. package/build/modules/connections/repository/ConnectionRecord.js.map +1 -0
  564. package/build/modules/connections/repository/ConnectionRepository.d.ts +15 -0
  565. package/build/modules/connections/repository/ConnectionRepository.js +50 -0
  566. package/build/modules/connections/repository/ConnectionRepository.js.map +1 -0
  567. package/build/modules/connections/repository/index.d.ts +2 -0
  568. package/build/modules/connections/repository/index.js +19 -0
  569. package/build/modules/connections/repository/index.js.map +1 -0
  570. package/build/modules/connections/services/ConnectionService.d.ts +180 -0
  571. package/build/modules/connections/services/ConnectionService.js +679 -0
  572. package/build/modules/connections/services/ConnectionService.js.map +1 -0
  573. package/build/modules/connections/services/DidRotateService.d.ts +51 -0
  574. package/build/modules/connections/services/DidRotateService.js +211 -0
  575. package/build/modules/connections/services/DidRotateService.js.map +1 -0
  576. package/build/modules/connections/services/TrustPingService.d.ts +12 -0
  577. package/build/modules/connections/services/TrustPingService.js +54 -0
  578. package/build/modules/connections/services/TrustPingService.js.map +1 -0
  579. package/build/modules/connections/services/helpers.d.ts +9 -0
  580. package/build/modules/connections/services/helpers.js +131 -0
  581. package/build/modules/connections/services/helpers.js.map +1 -0
  582. package/build/modules/connections/services/index.d.ts +3 -0
  583. package/build/modules/connections/services/index.js +20 -0
  584. package/build/modules/connections/services/index.js.map +1 -0
  585. package/build/modules/credentials/CredentialEvents.d.ts +20 -0
  586. package/build/modules/credentials/CredentialEvents.js +9 -0
  587. package/build/modules/credentials/CredentialEvents.js.map +1 -0
  588. package/build/modules/credentials/CredentialsApi.d.ts +60 -0
  589. package/build/modules/credentials/CredentialsApi.js +485 -0
  590. package/build/modules/credentials/CredentialsApi.js.map +1 -0
  591. package/build/modules/credentials/CredentialsApiOptions.d.ts +104 -0
  592. package/build/modules/credentials/CredentialsApiOptions.js +3 -0
  593. package/build/modules/credentials/CredentialsApiOptions.js.map +1 -0
  594. package/build/modules/credentials/CredentialsModule.d.ts +22 -0
  595. package/build/modules/credentials/CredentialsModule.js +47 -0
  596. package/build/modules/credentials/CredentialsModule.js.map +1 -0
  597. package/build/modules/credentials/CredentialsModuleConfig.d.ts +34 -0
  598. package/build/modules/credentials/CredentialsModuleConfig.js +20 -0
  599. package/build/modules/credentials/CredentialsModuleConfig.js.map +1 -0
  600. package/build/modules/credentials/formats/CredentialFormat.d.ts +40 -0
  601. package/build/modules/credentials/formats/CredentialFormat.js +3 -0
  602. package/build/modules/credentials/formats/CredentialFormat.js.map +1 -0
  603. package/build/modules/credentials/formats/CredentialFormatService.d.ts +23 -0
  604. package/build/modules/credentials/formats/CredentialFormatService.js +3 -0
  605. package/build/modules/credentials/formats/CredentialFormatService.js.map +1 -0
  606. package/build/modules/credentials/formats/CredentialFormatServiceOptions.d.ts +113 -0
  607. package/build/modules/credentials/formats/CredentialFormatServiceOptions.js +3 -0
  608. package/build/modules/credentials/formats/CredentialFormatServiceOptions.js.map +1 -0
  609. package/build/modules/credentials/formats/index.d.ts +4 -0
  610. package/build/modules/credentials/formats/index.js +21 -0
  611. package/build/modules/credentials/formats/index.js.map +1 -0
  612. package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.d.ts +15 -0
  613. package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.js +38 -0
  614. package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetail.js.map +1 -0
  615. package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.d.ts +24 -0
  616. package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.js +67 -0
  617. package/build/modules/credentials/formats/jsonld/JsonLdCredentialDetailOptions.js.map +1 -0
  618. package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.d.ts +92 -0
  619. package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.js +3 -0
  620. package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormat.js.map +1 -0
  621. package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.d.ts +71 -0
  622. package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.js +300 -0
  623. package/build/modules/credentials/formats/jsonld/JsonLdCredentialFormatService.js.map +1 -0
  624. package/build/modules/credentials/formats/jsonld/index.d.ts +4 -0
  625. package/build/modules/credentials/formats/jsonld/index.js +21 -0
  626. package/build/modules/credentials/formats/jsonld/index.js.map +1 -0
  627. package/build/modules/credentials/index.d.ts +9 -0
  628. package/build/modules/credentials/index.js +26 -0
  629. package/build/modules/credentials/index.js.map +1 -0
  630. package/build/modules/credentials/models/CredentialAutoAcceptType.d.ts +11 -0
  631. package/build/modules/credentials/models/CredentialAutoAcceptType.js +16 -0
  632. package/build/modules/credentials/models/CredentialAutoAcceptType.js.map +1 -0
  633. package/build/modules/credentials/models/CredentialFormatSpec.d.ts +9 -0
  634. package/build/modules/credentials/models/CredentialFormatSpec.js +35 -0
  635. package/build/modules/credentials/models/CredentialFormatSpec.js.map +1 -0
  636. package/build/modules/credentials/models/CredentialPreviewAttribute.d.ts +15 -0
  637. package/build/modules/credentials/models/CredentialPreviewAttribute.js +44 -0
  638. package/build/modules/credentials/models/CredentialPreviewAttribute.js.map +1 -0
  639. package/build/modules/credentials/models/CredentialProblemReportReason.d.ts +8 -0
  640. package/build/modules/credentials/models/CredentialProblemReportReason.js +13 -0
  641. package/build/modules/credentials/models/CredentialProblemReportReason.js.map +1 -0
  642. package/build/modules/credentials/models/CredentialState.d.ts +18 -0
  643. package/build/modules/credentials/models/CredentialState.js +23 -0
  644. package/build/modules/credentials/models/CredentialState.js.map +1 -0
  645. package/build/modules/credentials/models/RevocationNotification.d.ts +5 -0
  646. package/build/modules/credentials/models/RevocationNotification.js +11 -0
  647. package/build/modules/credentials/models/RevocationNotification.js.map +1 -0
  648. package/build/modules/credentials/models/index.d.ts +6 -0
  649. package/build/modules/credentials/models/index.js +23 -0
  650. package/build/modules/credentials/models/index.js.map +1 -0
  651. package/build/modules/credentials/protocol/BaseCredentialProtocol.d.ts +101 -0
  652. package/build/modules/credentials/protocol/BaseCredentialProtocol.js +149 -0
  653. package/build/modules/credentials/protocol/BaseCredentialProtocol.js.map +1 -0
  654. package/build/modules/credentials/protocol/CredentialProtocol.d.ts +45 -0
  655. package/build/modules/credentials/protocol/CredentialProtocol.js +3 -0
  656. package/build/modules/credentials/protocol/CredentialProtocol.js.map +1 -0
  657. package/build/modules/credentials/protocol/CredentialProtocolOptions.d.ts +136 -0
  658. package/build/modules/credentials/protocol/CredentialProtocolOptions.js +3 -0
  659. package/build/modules/credentials/protocol/CredentialProtocolOptions.js.map +1 -0
  660. package/build/modules/credentials/protocol/index.d.ts +6 -0
  661. package/build/modules/credentials/protocol/index.js +40 -0
  662. package/build/modules/credentials/protocol/index.js.map +1 -0
  663. package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.d.ts +9 -0
  664. package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.js +15 -0
  665. package/build/modules/credentials/protocol/revocation-notification/handlers/V1RevocationNotificationHandler.js.map +1 -0
  666. package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.d.ts +9 -0
  667. package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.js +15 -0
  668. package/build/modules/credentials/protocol/revocation-notification/handlers/V2RevocationNotificationHandler.js.map +1 -0
  669. package/build/modules/credentials/protocol/revocation-notification/handlers/index.d.ts +2 -0
  670. package/build/modules/credentials/protocol/revocation-notification/handlers/index.js +19 -0
  671. package/build/modules/credentials/protocol/revocation-notification/handlers/index.js.map +1 -0
  672. package/build/modules/credentials/protocol/revocation-notification/index.d.ts +1 -0
  673. package/build/modules/credentials/protocol/revocation-notification/index.js +18 -0
  674. package/build/modules/credentials/protocol/revocation-notification/index.js.map +1 -0
  675. package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.d.ts +15 -0
  676. package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.js +46 -0
  677. package/build/modules/credentials/protocol/revocation-notification/messages/V1RevocationNotificationMessage.js.map +1 -0
  678. package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.d.ts +17 -0
  679. package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.js +52 -0
  680. package/build/modules/credentials/protocol/revocation-notification/messages/V2RevocationNotificationMessage.js.map +1 -0
  681. package/build/modules/credentials/protocol/revocation-notification/messages/index.d.ts +2 -0
  682. package/build/modules/credentials/protocol/revocation-notification/messages/index.js +19 -0
  683. package/build/modules/credentials/protocol/revocation-notification/messages/index.js.map +1 -0
  684. package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.d.ts +36 -0
  685. package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.js +129 -0
  686. package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationService.js.map +1 -0
  687. package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.d.ts +6 -0
  688. package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.js +3 -0
  689. package/build/modules/credentials/protocol/revocation-notification/services/RevocationNotificationServiceOptions.js.map +1 -0
  690. package/build/modules/credentials/protocol/revocation-notification/services/index.d.ts +2 -0
  691. package/build/modules/credentials/protocol/revocation-notification/services/index.js +19 -0
  692. package/build/modules/credentials/protocol/revocation-notification/services/index.js.map +1 -0
  693. package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.d.ts +5 -0
  694. package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.js +13 -0
  695. package/build/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.js.map +1 -0
  696. package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.d.ts +88 -0
  697. package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.js +336 -0
  698. package/build/modules/credentials/protocol/v2/CredentialFormatCoordinator.js.map +1 -0
  699. package/build/modules/credentials/protocol/v2/V2CredentialProtocol.d.ts +178 -0
  700. package/build/modules/credentials/protocol/v2/V2CredentialProtocol.js +881 -0
  701. package/build/modules/credentials/protocol/v2/V2CredentialProtocol.js.map +1 -0
  702. package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.d.ts +11 -0
  703. package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.js +18 -0
  704. package/build/modules/credentials/protocol/v2/errors/V2CredentialProblemReportError.js.map +1 -0
  705. package/build/modules/credentials/protocol/v2/errors/index.d.ts +1 -0
  706. package/build/modules/credentials/protocol/v2/errors/index.js +6 -0
  707. package/build/modules/credentials/protocol/v2/errors/index.js.map +1 -0
  708. package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.d.ts +9 -0
  709. package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.js +15 -0
  710. package/build/modules/credentials/protocol/v2/handlers/V2CredentialAckHandler.js.map +1 -0
  711. package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.d.ts +9 -0
  712. package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.js +15 -0
  713. package/build/modules/credentials/protocol/v2/handlers/V2CredentialProblemReportHandler.js.map +1 -0
  714. package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.d.ts +11 -0
  715. package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.js +41 -0
  716. package/build/modules/credentials/protocol/v2/handlers/V2IssueCredentialHandler.js.map +1 -0
  717. package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.d.ts +11 -0
  718. package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.js +33 -0
  719. package/build/modules/credentials/protocol/v2/handlers/V2OfferCredentialHandler.js.map +1 -0
  720. package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.d.ts +12 -0
  721. package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.js +36 -0
  722. package/build/modules/credentials/protocol/v2/handlers/V2ProposeCredentialHandler.js.map +1 -0
  723. package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.d.ts +11 -0
  724. package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.js +41 -0
  725. package/build/modules/credentials/protocol/v2/handlers/V2RequestCredentialHandler.js.map +1 -0
  726. package/build/modules/credentials/protocol/v2/handlers/index.d.ts +6 -0
  727. package/build/modules/credentials/protocol/v2/handlers/index.js +23 -0
  728. package/build/modules/credentials/protocol/v2/handlers/index.js.map +1 -0
  729. package/build/modules/credentials/protocol/v2/index.d.ts +3 -0
  730. package/build/modules/credentials/protocol/v2/index.js +20 -0
  731. package/build/modules/credentials/protocol/v2/index.js.map +1 -0
  732. package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.d.ts +15 -0
  733. package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.js +34 -0
  734. package/build/modules/credentials/protocol/v2/messages/V2CredentialAckMessage.js.map +1 -0
  735. package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.d.ts +26 -0
  736. package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.js +71 -0
  737. package/build/modules/credentials/protocol/v2/messages/V2CredentialPreview.js.map +1 -0
  738. package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.d.ts +15 -0
  739. package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.js +34 -0
  740. package/build/modules/credentials/protocol/v2/messages/V2CredentialProblemReportMessage.js.map +1 -0
  741. package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.d.ts +18 -0
  742. package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.js +63 -0
  743. package/build/modules/credentials/protocol/v2/messages/V2IssueCredentialMessage.js.map +1 -0
  744. package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.d.ts +23 -0
  745. package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.js +78 -0
  746. package/build/modules/credentials/protocol/v2/messages/V2OfferCredentialMessage.js.map +1 -0
  747. package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.d.ts +26 -0
  748. package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.js +74 -0
  749. package/build/modules/credentials/protocol/v2/messages/V2ProposeCredentialMessage.js.map +1 -0
  750. package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.d.ts +22 -0
  751. package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.js +63 -0
  752. package/build/modules/credentials/protocol/v2/messages/V2RequestCredentialMessage.js.map +1 -0
  753. package/build/modules/credentials/protocol/v2/messages/index.d.ts +7 -0
  754. package/build/modules/credentials/protocol/v2/messages/index.js +24 -0
  755. package/build/modules/credentials/protocol/v2/messages/index.js.map +1 -0
  756. package/build/modules/credentials/repository/CredentialExchangeRecord.d.ts +61 -0
  757. package/build/modules/credentials/repository/CredentialExchangeRecord.js +79 -0
  758. package/build/modules/credentials/repository/CredentialExchangeRecord.js.map +1 -0
  759. package/build/modules/credentials/repository/CredentialRepository.d.ts +7 -0
  760. package/build/modules/credentials/repository/CredentialRepository.js +32 -0
  761. package/build/modules/credentials/repository/CredentialRepository.js.map +1 -0
  762. package/build/modules/credentials/repository/index.d.ts +2 -0
  763. package/build/modules/credentials/repository/index.js +19 -0
  764. package/build/modules/credentials/repository/index.js.map +1 -0
  765. package/build/modules/credentials/util/composeAutoAccept.d.ts +8 -0
  766. package/build/modules/credentials/util/composeAutoAccept.js +16 -0
  767. package/build/modules/credentials/util/composeAutoAccept.js.map +1 -0
  768. package/build/modules/credentials/util/previewAttributes.d.ts +2 -0
  769. package/build/modules/credentials/util/previewAttributes.js +25 -0
  770. package/build/modules/credentials/util/previewAttributes.js.map +1 -0
  771. package/build/modules/didcomm/index.d.ts +2 -0
  772. package/build/modules/didcomm/index.js +19 -0
  773. package/build/modules/didcomm/index.js.map +1 -0
  774. package/build/modules/didcomm/services/DidCommDocumentService.d.ts +8 -0
  775. package/build/modules/didcomm/services/DidCommDocumentService.js +78 -0
  776. package/build/modules/didcomm/services/DidCommDocumentService.js.map +1 -0
  777. package/build/modules/didcomm/services/index.d.ts +1 -0
  778. package/build/modules/didcomm/services/index.js +18 -0
  779. package/build/modules/didcomm/services/index.js.map +1 -0
  780. package/build/modules/didcomm/types.d.ts +7 -0
  781. package/build/modules/didcomm/types.js +3 -0
  782. package/build/modules/didcomm/types.js.map +1 -0
  783. package/build/modules/didcomm/util/matchingEd25519Key.d.ts +9 -0
  784. package/build/modules/didcomm/util/matchingEd25519Key.js +34 -0
  785. package/build/modules/didcomm/util/matchingEd25519Key.js.map +1 -0
  786. package/build/modules/dids/DidsApi.d.ts +69 -0
  787. package/build/modules/dids/DidsApi.js +154 -0
  788. package/build/modules/dids/DidsApi.js.map +1 -0
  789. package/build/modules/dids/DidsApiOptions.d.ts +29 -0
  790. package/build/modules/dids/DidsApiOptions.js +3 -0
  791. package/build/modules/dids/DidsApiOptions.js.map +1 -0
  792. package/build/modules/dids/DidsModule.d.ts +13 -0
  793. package/build/modules/dids/DidsModule.js +28 -0
  794. package/build/modules/dids/DidsModule.js.map +1 -0
  795. package/build/modules/dids/DidsModuleConfig.d.ts +41 -0
  796. package/build/modules/dids/DidsModuleConfig.js +62 -0
  797. package/build/modules/dids/DidsModuleConfig.js.map +1 -0
  798. package/build/modules/dids/domain/DidDocument.d.ts +62 -0
  799. package/build/modules/dids/domain/DidDocument.js +276 -0
  800. package/build/modules/dids/domain/DidDocument.js.map +1 -0
  801. package/build/modules/dids/domain/DidDocumentBuilder.d.ts +16 -0
  802. package/build/modules/dids/domain/DidDocumentBuilder.js +90 -0
  803. package/build/modules/dids/domain/DidDocumentBuilder.js.map +1 -0
  804. package/build/modules/dids/domain/DidDocumentRole.d.ts +4 -0
  805. package/build/modules/dids/domain/DidDocumentRole.js +9 -0
  806. package/build/modules/dids/domain/DidDocumentRole.js.map +1 -0
  807. package/build/modules/dids/domain/DidRegistrar.d.ts +8 -0
  808. package/build/modules/dids/domain/DidRegistrar.js +3 -0
  809. package/build/modules/dids/domain/DidRegistrar.js.map +1 -0
  810. package/build/modules/dids/domain/DidResolver.d.ts +7 -0
  811. package/build/modules/dids/domain/DidResolver.js +3 -0
  812. package/build/modules/dids/domain/DidResolver.js.map +1 -0
  813. package/build/modules/dids/domain/index.d.ts +9 -0
  814. package/build/modules/dids/domain/index.js +28 -0
  815. package/build/modules/dids/domain/index.js.map +1 -0
  816. package/build/modules/dids/domain/key-type/bls12381g1.d.ts +2 -0
  817. package/build/modules/dids/domain/key-type/bls12381g1.js +19 -0
  818. package/build/modules/dids/domain/key-type/bls12381g1.js.map +1 -0
  819. package/build/modules/dids/domain/key-type/bls12381g1g2.d.ts +4 -0
  820. package/build/modules/dids/domain/key-type/bls12381g1g2.js +34 -0
  821. package/build/modules/dids/domain/key-type/bls12381g1g2.js.map +1 -0
  822. package/build/modules/dids/domain/key-type/bls12381g2.d.ts +2 -0
  823. package/build/modules/dids/domain/key-type/bls12381g2.js +19 -0
  824. package/build/modules/dids/domain/key-type/bls12381g2.js.map +1 -0
  825. package/build/modules/dids/domain/key-type/ed25519.d.ts +3 -0
  826. package/build/modules/dids/domain/key-type/ed25519.js +31 -0
  827. package/build/modules/dids/domain/key-type/ed25519.js.map +1 -0
  828. package/build/modules/dids/domain/key-type/index.d.ts +6 -0
  829. package/build/modules/dids/domain/key-type/index.js +27 -0
  830. package/build/modules/dids/domain/key-type/index.js.map +1 -0
  831. package/build/modules/dids/domain/key-type/keyDidJsonWebKey.d.ts +2 -0
  832. package/build/modules/dids/domain/key-type/keyDidJsonWebKey.js +18 -0
  833. package/build/modules/dids/domain/key-type/keyDidJsonWebKey.js.map +1 -0
  834. package/build/modules/dids/domain/key-type/keyDidMapping.d.ts +11 -0
  835. package/build/modules/dids/domain/key-type/keyDidMapping.js +69 -0
  836. package/build/modules/dids/domain/key-type/keyDidMapping.js.map +1 -0
  837. package/build/modules/dids/domain/key-type/x25519.d.ts +2 -0
  838. package/build/modules/dids/domain/key-type/x25519.js +25 -0
  839. package/build/modules/dids/domain/key-type/x25519.js.map +1 -0
  840. package/build/modules/dids/domain/keyDidDocument.d.ts +4 -0
  841. package/build/modules/dids/domain/keyDidDocument.js +114 -0
  842. package/build/modules/dids/domain/keyDidDocument.js.map +1 -0
  843. package/build/modules/dids/domain/parse.d.ts +3 -0
  844. package/build/modules/dids/domain/parse.js +18 -0
  845. package/build/modules/dids/domain/parse.js.map +1 -0
  846. package/build/modules/dids/domain/service/DidCommV1Service.d.ts +16 -0
  847. package/build/modules/dids/domain/service/DidCommV1Service.js +45 -0
  848. package/build/modules/dids/domain/service/DidCommV1Service.js.map +1 -0
  849. package/build/modules/dids/domain/service/DidCommV2Service.d.ts +12 -0
  850. package/build/modules/dids/domain/service/DidCommV2Service.js +36 -0
  851. package/build/modules/dids/domain/service/DidCommV2Service.js.map +1 -0
  852. package/build/modules/dids/domain/service/DidDocumentService.d.ts +11 -0
  853. package/build/modules/dids/domain/service/DidDocumentService.js +40 -0
  854. package/build/modules/dids/domain/service/DidDocumentService.js.map +1 -0
  855. package/build/modules/dids/domain/service/IndyAgentService.d.ts +14 -0
  856. package/build/modules/dids/domain/service/IndyAgentService.js +39 -0
  857. package/build/modules/dids/domain/service/IndyAgentService.js.map +1 -0
  858. package/build/modules/dids/domain/service/ServiceTransformer.d.ts +13 -0
  859. package/build/modules/dids/domain/service/ServiceTransformer.js +36 -0
  860. package/build/modules/dids/domain/service/ServiceTransformer.js.map +1 -0
  861. package/build/modules/dids/domain/service/index.d.ts +6 -0
  862. package/build/modules/dids/domain/service/index.js +15 -0
  863. package/build/modules/dids/domain/service/index.js.map +1 -0
  864. package/build/modules/dids/domain/verificationMethod/Bls12381G1Key2020.d.ts +23 -0
  865. package/build/modules/dids/domain/verificationMethod/Bls12381G1Key2020.js +38 -0
  866. package/build/modules/dids/domain/verificationMethod/Bls12381G1Key2020.js.map +1 -0
  867. package/build/modules/dids/domain/verificationMethod/Bls12381G2Key2020.d.ts +23 -0
  868. package/build/modules/dids/domain/verificationMethod/Bls12381G2Key2020.js +38 -0
  869. package/build/modules/dids/domain/verificationMethod/Bls12381G2Key2020.js.map +1 -0
  870. package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.d.ts +23 -0
  871. package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.js +38 -0
  872. package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2018.js.map +1 -0
  873. package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.d.ts +23 -0
  874. package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.js +42 -0
  875. package/build/modules/dids/domain/verificationMethod/Ed25519VerificationKey2020.js.map +1 -0
  876. package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.d.ts +37 -0
  877. package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.js +40 -0
  878. package/build/modules/dids/domain/verificationMethod/JsonWebKey2020.js.map +1 -0
  879. package/build/modules/dids/domain/verificationMethod/VerificationMethod.d.ts +28 -0
  880. package/build/modules/dids/domain/verificationMethod/VerificationMethod.js +79 -0
  881. package/build/modules/dids/domain/verificationMethod/VerificationMethod.js.map +1 -0
  882. package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.d.ts +16 -0
  883. package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.js +50 -0
  884. package/build/modules/dids/domain/verificationMethod/VerificationMethodTransformer.js.map +1 -0
  885. package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.d.ts +23 -0
  886. package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.js +38 -0
  887. package/build/modules/dids/domain/verificationMethod/X25519KeyAgreementKey2019.js.map +1 -0
  888. package/build/modules/dids/domain/verificationMethod/index.d.ts +8 -0
  889. package/build/modules/dids/domain/verificationMethod/index.js +29 -0
  890. package/build/modules/dids/domain/verificationMethod/index.js.map +1 -0
  891. package/build/modules/dids/helpers.d.ts +6 -0
  892. package/build/modules/dids/helpers.js +38 -0
  893. package/build/modules/dids/helpers.js.map +1 -0
  894. package/build/modules/dids/index.d.ts +9 -0
  895. package/build/modules/dids/index.js +26 -0
  896. package/build/modules/dids/index.js.map +1 -0
  897. package/build/modules/dids/methods/index.d.ts +4 -0
  898. package/build/modules/dids/methods/index.js +21 -0
  899. package/build/modules/dids/methods/index.js.map +1 -0
  900. package/build/modules/dids/methods/jwk/DidJwk.d.ts +18 -0
  901. package/build/modules/dids/methods/jwk/DidJwk.js +53 -0
  902. package/build/modules/dids/methods/jwk/DidJwk.js.map +1 -0
  903. package/build/modules/dids/methods/jwk/JwkDidRegistrar.d.ts +25 -0
  904. package/build/modules/dids/methods/jwk/JwkDidRegistrar.js +94 -0
  905. package/build/modules/dids/methods/jwk/JwkDidRegistrar.js.map +1 -0
  906. package/build/modules/dids/methods/jwk/JwkDidResolver.d.ts +11 -0
  907. package/build/modules/dids/methods/jwk/JwkDidResolver.js +36 -0
  908. package/build/modules/dids/methods/jwk/JwkDidResolver.js.map +1 -0
  909. package/build/modules/dids/methods/jwk/__tests__/__fixtures__/p256DidJwkEyJjcnYi0i.d.ts +20 -0
  910. package/build/modules/dids/methods/jwk/__tests__/__fixtures__/p256DidJwkEyJjcnYi0i.js +36 -0
  911. package/build/modules/dids/methods/jwk/__tests__/__fixtures__/p256DidJwkEyJjcnYi0i.js.map +1 -0
  912. package/build/modules/dids/methods/jwk/__tests__/__fixtures__/x25519DidJwkEyJrdHkiOiJ.d.ts +16 -0
  913. package/build/modules/dids/methods/jwk/__tests__/__fixtures__/x25519DidJwkEyJrdHkiOiJ.js +24 -0
  914. package/build/modules/dids/methods/jwk/__tests__/__fixtures__/x25519DidJwkEyJrdHkiOiJ.js.map +1 -0
  915. package/build/modules/dids/methods/jwk/didJwkDidDocument.d.ts +2 -0
  916. package/build/modules/dids/methods/jwk/didJwkDidDocument.js +36 -0
  917. package/build/modules/dids/methods/jwk/didJwkDidDocument.js.map +1 -0
  918. package/build/modules/dids/methods/jwk/index.d.ts +3 -0
  919. package/build/modules/dids/methods/jwk/index.js +22 -0
  920. package/build/modules/dids/methods/jwk/index.js.map +1 -0
  921. package/build/modules/dids/methods/key/DidKey.d.ts +8 -0
  922. package/build/modules/dids/methods/key/DidKey.js +24 -0
  923. package/build/modules/dids/methods/key/DidKey.js.map +1 -0
  924. package/build/modules/dids/methods/key/KeyDidRegistrar.d.ts +25 -0
  925. package/build/modules/dids/methods/key/KeyDidRegistrar.js +92 -0
  926. package/build/modules/dids/methods/key/KeyDidRegistrar.js.map +1 -0
  927. package/build/modules/dids/methods/key/KeyDidResolver.d.ts +11 -0
  928. package/build/modules/dids/methods/key/KeyDidResolver.js +36 -0
  929. package/build/modules/dids/methods/key/KeyDidResolver.js.map +1 -0
  930. package/build/modules/dids/methods/key/index.d.ts +3 -0
  931. package/build/modules/dids/methods/key/index.js +22 -0
  932. package/build/modules/dids/methods/key/index.js.map +1 -0
  933. package/build/modules/dids/methods/peer/PeerDidRegistrar.d.ts +56 -0
  934. package/build/modules/dids/methods/peer/PeerDidRegistrar.js +149 -0
  935. package/build/modules/dids/methods/peer/PeerDidRegistrar.js.map +1 -0
  936. package/build/modules/dids/methods/peer/PeerDidResolver.d.ts +11 -0
  937. package/build/modules/dids/methods/peer/PeerDidResolver.js +80 -0
  938. package/build/modules/dids/methods/peer/PeerDidResolver.js.map +1 -0
  939. package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.d.ts +2 -0
  940. package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.js +59 -0
  941. package/build/modules/dids/methods/peer/createPeerDidDocumentFromServices.js.map +1 -0
  942. package/build/modules/dids/methods/peer/didPeer.d.ts +15 -0
  943. package/build/modules/dids/methods/peer/didPeer.js +42 -0
  944. package/build/modules/dids/methods/peer/didPeer.js.map +1 -0
  945. package/build/modules/dids/methods/peer/index.d.ts +4 -0
  946. package/build/modules/dids/methods/peer/index.js +21 -0
  947. package/build/modules/dids/methods/peer/index.js.map +1 -0
  948. package/build/modules/dids/methods/peer/peerDidNumAlgo0.d.ts +3 -0
  949. package/build/modules/dids/methods/peer/peerDidNumAlgo0.js +27 -0
  950. package/build/modules/dids/methods/peer/peerDidNumAlgo0.js.map +1 -0
  951. package/build/modules/dids/methods/peer/peerDidNumAlgo1.d.ts +1 -0
  952. package/build/modules/dids/methods/peer/peerDidNumAlgo1.js +13 -0
  953. package/build/modules/dids/methods/peer/peerDidNumAlgo1.js.map +1 -0
  954. package/build/modules/dids/methods/peer/peerDidNumAlgo2.d.ts +5 -0
  955. package/build/modules/dids/methods/peer/peerDidNumAlgo2.js +180 -0
  956. package/build/modules/dids/methods/peer/peerDidNumAlgo2.js.map +1 -0
  957. package/build/modules/dids/methods/peer/peerDidNumAlgo4.d.ts +14 -0
  958. package/build/modules/dids/methods/peer/peerDidNumAlgo4.js +118 -0
  959. package/build/modules/dids/methods/peer/peerDidNumAlgo4.js.map +1 -0
  960. package/build/modules/dids/methods/web/WebDidResolver.d.ts +11 -0
  961. package/build/modules/dids/methods/web/WebDidResolver.js +49 -0
  962. package/build/modules/dids/methods/web/WebDidResolver.js.map +1 -0
  963. package/build/modules/dids/methods/web/index.d.ts +1 -0
  964. package/build/modules/dids/methods/web/index.js +18 -0
  965. package/build/modules/dids/methods/web/index.js.map +1 -0
  966. package/build/modules/dids/repository/DidRecord.d.ts +42 -0
  967. package/build/modules/dids/repository/DidRecord.js +52 -0
  968. package/build/modules/dids/repository/DidRecord.js.map +1 -0
  969. package/build/modules/dids/repository/DidRepository.d.ts +37 -0
  970. package/build/modules/dids/repository/DidRepository.js +98 -0
  971. package/build/modules/dids/repository/DidRepository.js.map +1 -0
  972. package/build/modules/dids/repository/didRecordMetadataTypes.d.ts +9 -0
  973. package/build/modules/dids/repository/didRecordMetadataTypes.js +8 -0
  974. package/build/modules/dids/repository/didRecordMetadataTypes.js.map +1 -0
  975. package/build/modules/dids/repository/index.d.ts +2 -0
  976. package/build/modules/dids/repository/index.js +19 -0
  977. package/build/modules/dids/repository/index.js.map +1 -0
  978. package/build/modules/dids/services/DidRegistrarService.d.ts +13 -0
  979. package/build/modules/dids/services/DidRegistrarService.js +102 -0
  980. package/build/modules/dids/services/DidRegistrarService.js.map +1 -0
  981. package/build/modules/dids/services/DidResolverService.d.ts +17 -0
  982. package/build/modules/dids/services/DidResolverService.js +103 -0
  983. package/build/modules/dids/services/DidResolverService.js.map +1 -0
  984. package/build/modules/dids/services/index.d.ts +2 -0
  985. package/build/modules/dids/services/index.js +19 -0
  986. package/build/modules/dids/services/index.js.map +1 -0
  987. package/build/modules/dids/types.d.ts +100 -0
  988. package/build/modules/dids/types.js +3 -0
  989. package/build/modules/dids/types.js.map +1 -0
  990. package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.d.ts +8 -0
  991. package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.js +12 -0
  992. package/build/modules/dif-presentation-exchange/DifPresentationExchangeError.js.map +1 -0
  993. package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.d.ts +10 -0
  994. package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.js +23 -0
  995. package/build/modules/dif-presentation-exchange/DifPresentationExchangeModule.js.map +1 -0
  996. package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.d.ts +49 -0
  997. package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js +352 -0
  998. package/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js.map +1 -0
  999. package/build/modules/dif-presentation-exchange/index.d.ts +4 -0
  1000. package/build/modules/dif-presentation-exchange/index.js +21 -0
  1001. package/build/modules/dif-presentation-exchange/index.js.map +1 -0
  1002. package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.ts +104 -0
  1003. package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.js +3 -0
  1004. package/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.js.map +1 -0
  1005. package/build/modules/dif-presentation-exchange/models/index.d.ts +8 -0
  1006. package/build/modules/dif-presentation-exchange/models/index.js +21 -0
  1007. package/build/modules/dif-presentation-exchange/models/index.js.map +1 -0
  1008. package/build/modules/dif-presentation-exchange/utils/credentialSelection.d.ts +10 -0
  1009. package/build/modules/dif-presentation-exchange/utils/credentialSelection.js +207 -0
  1010. package/build/modules/dif-presentation-exchange/utils/credentialSelection.js.map +1 -0
  1011. package/build/modules/dif-presentation-exchange/utils/index.d.ts +2 -0
  1012. package/build/modules/dif-presentation-exchange/utils/index.js +19 -0
  1013. package/build/modules/dif-presentation-exchange/utils/index.js.map +1 -0
  1014. package/build/modules/dif-presentation-exchange/utils/transform.d.ts +7 -0
  1015. package/build/modules/dif-presentation-exchange/utils/transform.js +61 -0
  1016. package/build/modules/dif-presentation-exchange/utils/transform.js.map +1 -0
  1017. package/build/modules/discover-features/DiscoverFeaturesApi.d.ts +31 -0
  1018. package/build/modules/discover-features/DiscoverFeaturesApi.js +131 -0
  1019. package/build/modules/discover-features/DiscoverFeaturesApi.js.map +1 -0
  1020. package/build/modules/discover-features/DiscoverFeaturesApiOptions.d.ts +39 -0
  1021. package/build/modules/discover-features/DiscoverFeaturesApiOptions.js +3 -0
  1022. package/build/modules/discover-features/DiscoverFeaturesApiOptions.js.map +1 -0
  1023. package/build/modules/discover-features/DiscoverFeaturesEvents.d.ts +28 -0
  1024. package/build/modules/discover-features/DiscoverFeaturesEvents.js +9 -0
  1025. package/build/modules/discover-features/DiscoverFeaturesEvents.js.map +1 -0
  1026. package/build/modules/discover-features/DiscoverFeaturesModule.d.ts +14 -0
  1027. package/build/modules/discover-features/DiscoverFeaturesModule.js +36 -0
  1028. package/build/modules/discover-features/DiscoverFeaturesModule.js.map +1 -0
  1029. package/build/modules/discover-features/DiscoverFeaturesModuleConfig.d.ts +18 -0
  1030. package/build/modules/discover-features/DiscoverFeaturesModuleConfig.js +15 -0
  1031. package/build/modules/discover-features/DiscoverFeaturesModuleConfig.js.map +1 -0
  1032. package/build/modules/discover-features/DiscoverFeaturesServiceOptions.d.ts +13 -0
  1033. package/build/modules/discover-features/DiscoverFeaturesServiceOptions.js +3 -0
  1034. package/build/modules/discover-features/DiscoverFeaturesServiceOptions.js.map +1 -0
  1035. package/build/modules/discover-features/index.d.ts +4 -0
  1036. package/build/modules/discover-features/index.js +21 -0
  1037. package/build/modules/discover-features/index.js.map +1 -0
  1038. package/build/modules/discover-features/protocol/index.d.ts +2 -0
  1039. package/build/modules/discover-features/protocol/index.js +19 -0
  1040. package/build/modules/discover-features/protocol/index.js.map +1 -0
  1041. package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.d.ts +22 -0
  1042. package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.js +116 -0
  1043. package/build/modules/discover-features/protocol/v1/V1DiscoverFeaturesService.js.map +1 -0
  1044. package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.d.ts +9 -0
  1045. package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.js +15 -0
  1046. package/build/modules/discover-features/protocol/v1/handlers/V1DiscloseMessageHandler.js.map +1 -0
  1047. package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.d.ts +10 -0
  1048. package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.js +23 -0
  1049. package/build/modules/discover-features/protocol/v1/handlers/V1QueryMessageHandler.js.map +1 -0
  1050. package/build/modules/discover-features/protocol/v1/handlers/index.d.ts +2 -0
  1051. package/build/modules/discover-features/protocol/v1/handlers/index.js +19 -0
  1052. package/build/modules/discover-features/protocol/v1/handlers/index.js.map +1 -0
  1053. package/build/modules/discover-features/protocol/v1/index.d.ts +2 -0
  1054. package/build/modules/discover-features/protocol/v1/index.js +19 -0
  1055. package/build/modules/discover-features/protocol/v1/index.js.map +1 -0
  1056. package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.d.ts +21 -0
  1057. package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.js +61 -0
  1058. package/build/modules/discover-features/protocol/v1/messages/DiscloseMessage.js.map +1 -0
  1059. package/build/modules/discover-features/protocol/v1/messages/QueryMessage.d.ts +13 -0
  1060. package/build/modules/discover-features/protocol/v1/messages/QueryMessage.js +43 -0
  1061. package/build/modules/discover-features/protocol/v1/messages/QueryMessage.js.map +1 -0
  1062. package/build/modules/discover-features/protocol/v1/messages/index.d.ts +2 -0
  1063. package/build/modules/discover-features/protocol/v1/messages/index.js +19 -0
  1064. package/build/modules/discover-features/protocol/v1/messages/index.js.map +1 -0
  1065. package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.d.ts +21 -0
  1066. package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.js +96 -0
  1067. package/build/modules/discover-features/protocol/v2/V2DiscoverFeaturesService.js.map +1 -0
  1068. package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.d.ts +9 -0
  1069. package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.js +15 -0
  1070. package/build/modules/discover-features/protocol/v2/handlers/V2DisclosuresMessageHandler.js.map +1 -0
  1071. package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.d.ts +10 -0
  1072. package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.js +23 -0
  1073. package/build/modules/discover-features/protocol/v2/handlers/V2QueriesMessageHandler.js.map +1 -0
  1074. package/build/modules/discover-features/protocol/v2/handlers/index.d.ts +2 -0
  1075. package/build/modules/discover-features/protocol/v2/handlers/index.js +19 -0
  1076. package/build/modules/discover-features/protocol/v2/handlers/index.js.map +1 -0
  1077. package/build/modules/discover-features/protocol/v2/index.d.ts +2 -0
  1078. package/build/modules/discover-features/protocol/v2/index.js +19 -0
  1079. package/build/modules/discover-features/protocol/v2/index.js.map +1 -0
  1080. package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.d.ts +13 -0
  1081. package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.js +45 -0
  1082. package/build/modules/discover-features/protocol/v2/messages/V2DisclosuresMessage.js.map +1 -0
  1083. package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.d.ts +14 -0
  1084. package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.js +41 -0
  1085. package/build/modules/discover-features/protocol/v2/messages/V2QueriesMessage.js.map +1 -0
  1086. package/build/modules/discover-features/protocol/v2/messages/index.d.ts +2 -0
  1087. package/build/modules/discover-features/protocol/v2/messages/index.js +19 -0
  1088. package/build/modules/discover-features/protocol/v2/messages/index.js.map +1 -0
  1089. package/build/modules/discover-features/services/DiscoverFeaturesService.d.ts +19 -0
  1090. package/build/modules/discover-features/services/DiscoverFeaturesService.js +13 -0
  1091. package/build/modules/discover-features/services/DiscoverFeaturesService.js.map +1 -0
  1092. package/build/modules/discover-features/services/index.d.ts +1 -0
  1093. package/build/modules/discover-features/services/index.js +18 -0
  1094. package/build/modules/discover-features/services/index.js.map +1 -0
  1095. package/build/modules/generic-records/GenericRecordsApi.d.ts +21 -0
  1096. package/build/modules/generic-records/GenericRecordsApi.js +89 -0
  1097. package/build/modules/generic-records/GenericRecordsApi.js.map +1 -0
  1098. package/build/modules/generic-records/GenericRecordsModule.d.ts +9 -0
  1099. package/build/modules/generic-records/GenericRecordsModule.js +24 -0
  1100. package/build/modules/generic-records/GenericRecordsModule.js.map +1 -0
  1101. package/build/modules/generic-records/index.d.ts +2 -0
  1102. package/build/modules/generic-records/index.js +19 -0
  1103. package/build/modules/generic-records/index.js.map +1 -0
  1104. package/build/modules/generic-records/repository/GenericRecord.d.ts +24 -0
  1105. package/build/modules/generic-records/repository/GenericRecord.js +24 -0
  1106. package/build/modules/generic-records/repository/GenericRecord.js.map +1 -0
  1107. package/build/modules/generic-records/repository/GenericRecordsRepository.d.ts +7 -0
  1108. package/build/modules/generic-records/repository/GenericRecordsRepository.js +32 -0
  1109. package/build/modules/generic-records/repository/GenericRecordsRepository.js.map +1 -0
  1110. package/build/modules/generic-records/services/GenericRecordService.d.ts +16 -0
  1111. package/build/modules/generic-records/services/GenericRecordService.js +69 -0
  1112. package/build/modules/generic-records/services/GenericRecordService.js.map +1 -0
  1113. package/build/modules/message-pickup/MessagePickupApi.d.ts +21 -0
  1114. package/build/modules/message-pickup/MessagePickupApi.js +79 -0
  1115. package/build/modules/message-pickup/MessagePickupApi.js.map +1 -0
  1116. package/build/modules/message-pickup/MessagePickupApiOptions.d.ts +18 -0
  1117. package/build/modules/message-pickup/MessagePickupApiOptions.js +3 -0
  1118. package/build/modules/message-pickup/MessagePickupApiOptions.js.map +1 -0
  1119. package/build/modules/message-pickup/MessagePickupModule.d.ts +23 -0
  1120. package/build/modules/message-pickup/MessagePickupModule.js +34 -0
  1121. package/build/modules/message-pickup/MessagePickupModule.js.map +1 -0
  1122. package/build/modules/message-pickup/MessagePickupModuleConfig.d.ts +41 -0
  1123. package/build/modules/message-pickup/MessagePickupModuleConfig.js +23 -0
  1124. package/build/modules/message-pickup/MessagePickupModuleConfig.js.map +1 -0
  1125. package/build/modules/message-pickup/index.d.ts +5 -0
  1126. package/build/modules/message-pickup/index.js +22 -0
  1127. package/build/modules/message-pickup/index.js.map +1 -0
  1128. package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.d.ts +15 -0
  1129. package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.js +11 -0
  1130. package/build/modules/message-pickup/protocol/BaseMessagePickupProtocol.js.map +1 -0
  1131. package/build/modules/message-pickup/protocol/MessagePickupProtocol.d.ts +10 -0
  1132. package/build/modules/message-pickup/protocol/MessagePickupProtocol.js +3 -0
  1133. package/build/modules/message-pickup/protocol/MessagePickupProtocol.js.map +1 -0
  1134. package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.d.ts +10 -0
  1135. package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.js +3 -0
  1136. package/build/modules/message-pickup/protocol/MessagePickupProtocolOptions.js.map +1 -0
  1137. package/build/modules/message-pickup/protocol/index.d.ts +2 -0
  1138. package/build/modules/message-pickup/protocol/index.js +19 -0
  1139. package/build/modules/message-pickup/protocol/index.js.map +1 -0
  1140. package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.d.ts +22 -0
  1141. package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.js +69 -0
  1142. package/build/modules/message-pickup/protocol/v1/V1MessagePickupProtocol.js.map +1 -0
  1143. package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.d.ts +6 -0
  1144. package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.js +28 -0
  1145. package/build/modules/message-pickup/protocol/v1/handlers/V1BatchHandler.js.map +1 -0
  1146. package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.d.ts +9 -0
  1147. package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.js +16 -0
  1148. package/build/modules/message-pickup/protocol/v1/handlers/V1BatchPickupHandler.js.map +1 -0
  1149. package/build/modules/message-pickup/protocol/v1/handlers/index.d.ts +2 -0
  1150. package/build/modules/message-pickup/protocol/v1/handlers/index.js +19 -0
  1151. package/build/modules/message-pickup/protocol/v1/handlers/index.js.map +1 -0
  1152. package/build/modules/message-pickup/protocol/v1/index.d.ts +2 -0
  1153. package/build/modules/message-pickup/protocol/v1/index.js +19 -0
  1154. package/build/modules/message-pickup/protocol/v1/index.js.map +1 -0
  1155. package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.d.ts +25 -0
  1156. package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.js +65 -0
  1157. package/build/modules/message-pickup/protocol/v1/messages/V1BatchMessage.js.map +1 -0
  1158. package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.d.ts +21 -0
  1159. package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.js +48 -0
  1160. package/build/modules/message-pickup/protocol/v1/messages/V1BatchPickupMessage.js.map +1 -0
  1161. package/build/modules/message-pickup/protocol/v1/messages/index.d.ts +2 -0
  1162. package/build/modules/message-pickup/protocol/v1/messages/index.js +19 -0
  1163. package/build/modules/message-pickup/protocol/v1/messages/index.js.map +1 -0
  1164. package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.d.ts +25 -0
  1165. package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js +186 -0
  1166. package/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js.map +1 -0
  1167. package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.d.ts +10 -0
  1168. package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.js +16 -0
  1169. package/build/modules/message-pickup/protocol/v2/handlers/V2DeliveryRequestHandler.js.map +1 -0
  1170. package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.d.ts +11 -0
  1171. package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.js +23 -0
  1172. package/build/modules/message-pickup/protocol/v2/handlers/V2MessageDeliveryHandler.js.map +1 -0
  1173. package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.d.ts +10 -0
  1174. package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.js +16 -0
  1175. package/build/modules/message-pickup/protocol/v2/handlers/V2MessagesReceivedHandler.js.map +1 -0
  1176. package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.d.ts +11 -0
  1177. package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.js +23 -0
  1178. package/build/modules/message-pickup/protocol/v2/handlers/V2StatusHandler.js.map +1 -0
  1179. package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.d.ts +10 -0
  1180. package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.js +16 -0
  1181. package/build/modules/message-pickup/protocol/v2/handlers/V2StatusRequestHandler.js.map +1 -0
  1182. package/build/modules/message-pickup/protocol/v2/handlers/index.d.ts +5 -0
  1183. package/build/modules/message-pickup/protocol/v2/handlers/index.js +22 -0
  1184. package/build/modules/message-pickup/protocol/v2/handlers/index.js.map +1 -0
  1185. package/build/modules/message-pickup/protocol/v2/index.d.ts +2 -0
  1186. package/build/modules/message-pickup/protocol/v2/index.js +19 -0
  1187. package/build/modules/message-pickup/protocol/v2/index.js.map +1 -0
  1188. package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.d.ts +13 -0
  1189. package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.js +46 -0
  1190. package/build/modules/message-pickup/protocol/v2/messages/V2DeliveryRequestMessage.js.map +1 -0
  1191. package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.d.ts +14 -0
  1192. package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.js +45 -0
  1193. package/build/modules/message-pickup/protocol/v2/messages/V2MessageDeliveryMessage.js.map +1 -0
  1194. package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.d.ts +11 -0
  1195. package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.js +41 -0
  1196. package/build/modules/message-pickup/protocol/v2/messages/V2MessagesReceivedMessage.js.map +1 -0
  1197. package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.d.ts +24 -0
  1198. package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.js +88 -0
  1199. package/build/modules/message-pickup/protocol/v2/messages/V2StatusMessage.js.map +1 -0
  1200. package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.d.ts +11 -0
  1201. package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.js +39 -0
  1202. package/build/modules/message-pickup/protocol/v2/messages/V2StatusRequestMessage.js.map +1 -0
  1203. package/build/modules/message-pickup/protocol/v2/messages/index.d.ts +5 -0
  1204. package/build/modules/message-pickup/protocol/v2/messages/index.js +22 -0
  1205. package/build/modules/message-pickup/protocol/v2/messages/index.js.map +1 -0
  1206. package/build/modules/oob/OutOfBandApi.d.ts +262 -0
  1207. package/build/modules/oob/OutOfBandApi.js +682 -0
  1208. package/build/modules/oob/OutOfBandApi.js.map +1 -0
  1209. package/build/modules/oob/OutOfBandModule.d.ts +10 -0
  1210. package/build/modules/oob/OutOfBandModule.js +30 -0
  1211. package/build/modules/oob/OutOfBandModule.js.map +1 -0
  1212. package/build/modules/oob/OutOfBandService.d.ts +51 -0
  1213. package/build/modules/oob/OutOfBandService.js +224 -0
  1214. package/build/modules/oob/OutOfBandService.js.map +1 -0
  1215. package/build/modules/oob/domain/OutOfBandDidCommService.d.ts +17 -0
  1216. package/build/modules/oob/domain/OutOfBandDidCommService.js +72 -0
  1217. package/build/modules/oob/domain/OutOfBandDidCommService.js.map +1 -0
  1218. package/build/modules/oob/domain/OutOfBandEvents.d.ts +23 -0
  1219. package/build/modules/oob/domain/OutOfBandEvents.js +9 -0
  1220. package/build/modules/oob/domain/OutOfBandEvents.js.map +1 -0
  1221. package/build/modules/oob/domain/OutOfBandRole.d.ts +4 -0
  1222. package/build/modules/oob/domain/OutOfBandRole.js +9 -0
  1223. package/build/modules/oob/domain/OutOfBandRole.js.map +1 -0
  1224. package/build/modules/oob/domain/OutOfBandState.d.ts +6 -0
  1225. package/build/modules/oob/domain/OutOfBandState.js +11 -0
  1226. package/build/modules/oob/domain/OutOfBandState.js.map +1 -0
  1227. package/build/modules/oob/domain/index.d.ts +4 -0
  1228. package/build/modules/oob/domain/index.js +21 -0
  1229. package/build/modules/oob/domain/index.js.map +1 -0
  1230. package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.d.ts +10 -0
  1231. package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.js +16 -0
  1232. package/build/modules/oob/handlers/HandshakeReuseAcceptedHandler.js.map +1 -0
  1233. package/build/modules/oob/handlers/HandshakeReuseHandler.d.ts +11 -0
  1234. package/build/modules/oob/handlers/HandshakeReuseHandler.js +21 -0
  1235. package/build/modules/oob/handlers/HandshakeReuseHandler.js.map +1 -0
  1236. package/build/modules/oob/handlers/index.d.ts +1 -0
  1237. package/build/modules/oob/handlers/index.js +18 -0
  1238. package/build/modules/oob/handlers/index.js.map +1 -0
  1239. package/build/modules/oob/helpers.d.ts +4 -0
  1240. package/build/modules/oob/helpers.js +70 -0
  1241. package/build/modules/oob/helpers.js.map +1 -0
  1242. package/build/modules/oob/index.d.ts +6 -0
  1243. package/build/modules/oob/index.js +23 -0
  1244. package/build/modules/oob/index.js.map +1 -0
  1245. package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.d.ts +11 -0
  1246. package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.js +35 -0
  1247. package/build/modules/oob/messages/HandshakeReuseAcceptedMessage.js.map +1 -0
  1248. package/build/modules/oob/messages/HandshakeReuseMessage.d.ts +10 -0
  1249. package/build/modules/oob/messages/HandshakeReuseMessage.js +34 -0
  1250. package/build/modules/oob/messages/HandshakeReuseMessage.js.map +1 -0
  1251. package/build/modules/oob/messages/OutOfBandInvitation.d.ts +56 -0
  1252. package/build/modules/oob/messages/OutOfBandInvitation.js +181 -0
  1253. package/build/modules/oob/messages/OutOfBandInvitation.js.map +1 -0
  1254. package/build/modules/oob/messages/index.d.ts +2 -0
  1255. package/build/modules/oob/messages/index.js +19 -0
  1256. package/build/modules/oob/messages/index.js.map +1 -0
  1257. package/build/modules/oob/repository/OutOfBandRecord.d.ts +59 -0
  1258. package/build/modules/oob/repository/OutOfBandRecord.js +63 -0
  1259. package/build/modules/oob/repository/OutOfBandRecord.js.map +1 -0
  1260. package/build/modules/oob/repository/OutOfBandRepository.d.ts +7 -0
  1261. package/build/modules/oob/repository/OutOfBandRepository.js +32 -0
  1262. package/build/modules/oob/repository/OutOfBandRepository.js.map +1 -0
  1263. package/build/modules/oob/repository/index.d.ts +2 -0
  1264. package/build/modules/oob/repository/index.js +19 -0
  1265. package/build/modules/oob/repository/index.js.map +1 -0
  1266. package/build/modules/oob/repository/outOfBandRecordMetadataTypes.d.ts +19 -0
  1267. package/build/modules/oob/repository/outOfBandRecordMetadataTypes.js +9 -0
  1268. package/build/modules/oob/repository/outOfBandRecordMetadataTypes.js.map +1 -0
  1269. package/build/modules/problem-reports/errors/ProblemReportError.d.ts +9 -0
  1270. package/build/modules/problem-reports/errors/ProblemReportError.js +18 -0
  1271. package/build/modules/problem-reports/errors/ProblemReportError.js.map +1 -0
  1272. package/build/modules/problem-reports/errors/index.d.ts +1 -0
  1273. package/build/modules/problem-reports/errors/index.js +18 -0
  1274. package/build/modules/problem-reports/errors/index.js.map +1 -0
  1275. package/build/modules/problem-reports/index.d.ts +3 -0
  1276. package/build/modules/problem-reports/index.js +20 -0
  1277. package/build/modules/problem-reports/index.js.map +1 -0
  1278. package/build/modules/problem-reports/messages/ProblemReportMessage.d.ts +63 -0
  1279. package/build/modules/problem-reports/messages/ProblemReportMessage.js +119 -0
  1280. package/build/modules/problem-reports/messages/ProblemReportMessage.js.map +1 -0
  1281. package/build/modules/problem-reports/messages/index.d.ts +1 -0
  1282. package/build/modules/problem-reports/messages/index.js +18 -0
  1283. package/build/modules/problem-reports/messages/index.js.map +1 -0
  1284. package/build/modules/problem-reports/models/ProblemReportReason.d.ts +3 -0
  1285. package/build/modules/problem-reports/models/ProblemReportReason.js +8 -0
  1286. package/build/modules/problem-reports/models/ProblemReportReason.js.map +1 -0
  1287. package/build/modules/problem-reports/models/index.d.ts +1 -0
  1288. package/build/modules/problem-reports/models/index.js +18 -0
  1289. package/build/modules/problem-reports/models/index.js.map +1 -0
  1290. package/build/modules/proofs/ProofEvents.d.ts +13 -0
  1291. package/build/modules/proofs/ProofEvents.js +8 -0
  1292. package/build/modules/proofs/ProofEvents.js.map +1 -0
  1293. package/build/modules/proofs/ProofsApi.d.ts +68 -0
  1294. package/build/modules/proofs/ProofsApi.js +467 -0
  1295. package/build/modules/proofs/ProofsApi.js.map +1 -0
  1296. package/build/modules/proofs/ProofsApiOptions.d.ts +129 -0
  1297. package/build/modules/proofs/ProofsApiOptions.js +3 -0
  1298. package/build/modules/proofs/ProofsApiOptions.js.map +1 -0
  1299. package/build/modules/proofs/ProofsModule.d.ts +23 -0
  1300. package/build/modules/proofs/ProofsModule.js +33 -0
  1301. package/build/modules/proofs/ProofsModule.js.map +1 -0
  1302. package/build/modules/proofs/ProofsModuleConfig.d.ts +34 -0
  1303. package/build/modules/proofs/ProofsModuleConfig.js +20 -0
  1304. package/build/modules/proofs/ProofsModuleConfig.js.map +1 -0
  1305. package/build/modules/proofs/errors/PresentationProblemReportReason.d.ts +8 -0
  1306. package/build/modules/proofs/errors/PresentationProblemReportReason.js +13 -0
  1307. package/build/modules/proofs/errors/PresentationProblemReportReason.js.map +1 -0
  1308. package/build/modules/proofs/errors/index.d.ts +1 -0
  1309. package/build/modules/proofs/errors/index.js +18 -0
  1310. package/build/modules/proofs/errors/index.js.map +1 -0
  1311. package/build/modules/proofs/formats/ProofFormat.d.ts +66 -0
  1312. package/build/modules/proofs/formats/ProofFormat.js +3 -0
  1313. package/build/modules/proofs/formats/ProofFormat.js.map +1 -0
  1314. package/build/modules/proofs/formats/ProofFormatService.d.ts +19 -0
  1315. package/build/modules/proofs/formats/ProofFormatService.js +3 -0
  1316. package/build/modules/proofs/formats/ProofFormatService.js.map +1 -0
  1317. package/build/modules/proofs/formats/ProofFormatServiceOptions.d.ts +103 -0
  1318. package/build/modules/proofs/formats/ProofFormatServiceOptions.js +3 -0
  1319. package/build/modules/proofs/formats/ProofFormatServiceOptions.js.map +1 -0
  1320. package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.d.ts +51 -0
  1321. package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.js +3 -0
  1322. package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormat.js.map +1 -0
  1323. package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.d.ts +31 -0
  1324. package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.js +235 -0
  1325. package/build/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.js.map +1 -0
  1326. package/build/modules/proofs/formats/dif-presentation-exchange/index.d.ts +2 -0
  1327. package/build/modules/proofs/formats/dif-presentation-exchange/index.js +19 -0
  1328. package/build/modules/proofs/formats/dif-presentation-exchange/index.js.map +1 -0
  1329. package/build/modules/proofs/formats/index.d.ts +6 -0
  1330. package/build/modules/proofs/formats/index.js +36 -0
  1331. package/build/modules/proofs/formats/index.js.map +1 -0
  1332. package/build/modules/proofs/index.d.ts +10 -0
  1333. package/build/modules/proofs/index.js +29 -0
  1334. package/build/modules/proofs/index.js.map +1 -0
  1335. package/build/modules/proofs/models/ProofAutoAcceptType.d.ts +8 -0
  1336. package/build/modules/proofs/models/ProofAutoAcceptType.js +16 -0
  1337. package/build/modules/proofs/models/ProofAutoAcceptType.js.map +1 -0
  1338. package/build/modules/proofs/models/ProofFormatSpec.d.ts +9 -0
  1339. package/build/modules/proofs/models/ProofFormatSpec.js +35 -0
  1340. package/build/modules/proofs/models/ProofFormatSpec.js.map +1 -0
  1341. package/build/modules/proofs/models/ProofState.d.ts +16 -0
  1342. package/build/modules/proofs/models/ProofState.js +21 -0
  1343. package/build/modules/proofs/models/ProofState.js.map +1 -0
  1344. package/build/modules/proofs/models/index.d.ts +3 -0
  1345. package/build/modules/proofs/models/index.js +20 -0
  1346. package/build/modules/proofs/models/index.js.map +1 -0
  1347. package/build/modules/proofs/protocol/BaseProofProtocol.d.ts +88 -0
  1348. package/build/modules/proofs/protocol/BaseProofProtocol.js +131 -0
  1349. package/build/modules/proofs/protocol/BaseProofProtocol.js.map +1 -0
  1350. package/build/modules/proofs/protocol/ProofProtocol.d.ts +43 -0
  1351. package/build/modules/proofs/protocol/ProofProtocol.js +3 -0
  1352. package/build/modules/proofs/protocol/ProofProtocol.js.map +1 -0
  1353. package/build/modules/proofs/protocol/ProofProtocolOptions.d.ts +121 -0
  1354. package/build/modules/proofs/protocol/ProofProtocolOptions.js +3 -0
  1355. package/build/modules/proofs/protocol/ProofProtocolOptions.js.map +1 -0
  1356. package/build/modules/proofs/protocol/index.d.ts +5 -0
  1357. package/build/modules/proofs/protocol/index.js +39 -0
  1358. package/build/modules/proofs/protocol/index.js.map +1 -0
  1359. package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.d.ts +89 -0
  1360. package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.js +296 -0
  1361. package/build/modules/proofs/protocol/v2/ProofFormatCoordinator.js.map +1 -0
  1362. package/build/modules/proofs/protocol/v2/V2ProofProtocol.d.ts +115 -0
  1363. package/build/modules/proofs/protocol/v2/V2ProofProtocol.js +759 -0
  1364. package/build/modules/proofs/protocol/v2/V2ProofProtocol.js.map +1 -0
  1365. package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.d.ts +13 -0
  1366. package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.js +19 -0
  1367. package/build/modules/proofs/protocol/v2/errors/V2PresentationProblemReportError.js.map +1 -0
  1368. package/build/modules/proofs/protocol/v2/errors/index.d.ts +1 -0
  1369. package/build/modules/proofs/protocol/v2/errors/index.js +18 -0
  1370. package/build/modules/proofs/protocol/v2/errors/index.js.map +1 -0
  1371. package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.d.ts +9 -0
  1372. package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.js +15 -0
  1373. package/build/modules/proofs/protocol/v2/handlers/V2PresentationAckHandler.js.map +1 -0
  1374. package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.d.ts +10 -0
  1375. package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.js +42 -0
  1376. package/build/modules/proofs/protocol/v2/handlers/V2PresentationHandler.js.map +1 -0
  1377. package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.d.ts +9 -0
  1378. package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.js +15 -0
  1379. package/build/modules/proofs/protocol/v2/handlers/V2PresentationProblemReportHandler.js.map +1 -0
  1380. package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.d.ts +11 -0
  1381. package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.js +36 -0
  1382. package/build/modules/proofs/protocol/v2/handlers/V2ProposePresentationHandler.js.map +1 -0
  1383. package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.d.ts +10 -0
  1384. package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.js +36 -0
  1385. package/build/modules/proofs/protocol/v2/handlers/V2RequestPresentationHandler.js.map +1 -0
  1386. package/build/modules/proofs/protocol/v2/index.d.ts +3 -0
  1387. package/build/modules/proofs/protocol/v2/index.js +20 -0
  1388. package/build/modules/proofs/protocol/v2/index.js.map +1 -0
  1389. package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.d.ts +5 -0
  1390. package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.js +27 -0
  1391. package/build/modules/proofs/protocol/v2/messages/V2PresentationAckMessage.js.map +1 -0
  1392. package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.d.ts +22 -0
  1393. package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.js +79 -0
  1394. package/build/modules/proofs/protocol/v2/messages/V2PresentationMessage.js.map +1 -0
  1395. package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.d.ts +8 -0
  1396. package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.js +30 -0
  1397. package/build/modules/proofs/protocol/v2/messages/V2PresentationProblemReportMessage.js.map +1 -0
  1398. package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.d.ts +20 -0
  1399. package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.js +71 -0
  1400. package/build/modules/proofs/protocol/v2/messages/V2ProposePresentationMessage.js.map +1 -0
  1401. package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.d.ts +24 -0
  1402. package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.js +86 -0
  1403. package/build/modules/proofs/protocol/v2/messages/V2RequestPresentationMessage.js.map +1 -0
  1404. package/build/modules/proofs/protocol/v2/messages/index.d.ts +5 -0
  1405. package/build/modules/proofs/protocol/v2/messages/index.js +22 -0
  1406. package/build/modules/proofs/protocol/v2/messages/index.js.map +1 -0
  1407. package/build/modules/proofs/repository/ProofExchangeRecord.d.ts +46 -0
  1408. package/build/modules/proofs/repository/ProofExchangeRecord.js +53 -0
  1409. package/build/modules/proofs/repository/ProofExchangeRecord.js.map +1 -0
  1410. package/build/modules/proofs/repository/ProofRepository.d.ts +26 -0
  1411. package/build/modules/proofs/repository/ProofRepository.js +54 -0
  1412. package/build/modules/proofs/repository/ProofRepository.js.map +1 -0
  1413. package/build/modules/proofs/repository/index.d.ts +2 -0
  1414. package/build/modules/proofs/repository/index.js +19 -0
  1415. package/build/modules/proofs/repository/index.js.map +1 -0
  1416. package/build/modules/proofs/utils/composeAutoAccept.d.ts +8 -0
  1417. package/build/modules/proofs/utils/composeAutoAccept.js +16 -0
  1418. package/build/modules/proofs/utils/composeAutoAccept.js.map +1 -0
  1419. package/build/modules/proofs/utils/index.d.ts +1 -0
  1420. package/build/modules/proofs/utils/index.js +18 -0
  1421. package/build/modules/proofs/utils/index.js.map +1 -0
  1422. package/build/modules/routing/MediationRecipientApi.d.ts +77 -0
  1423. package/build/modules/routing/MediationRecipientApi.js +414 -0
  1424. package/build/modules/routing/MediationRecipientApi.js.map +1 -0
  1425. package/build/modules/routing/MediationRecipientModule.d.ts +14 -0
  1426. package/build/modules/routing/MediationRecipientModule.js +36 -0
  1427. package/build/modules/routing/MediationRecipientModule.js.map +1 -0
  1428. package/build/modules/routing/MediationRecipientModuleConfig.d.ts +79 -0
  1429. package/build/modules/routing/MediationRecipientModuleConfig.js +38 -0
  1430. package/build/modules/routing/MediationRecipientModuleConfig.js.map +1 -0
  1431. package/build/modules/routing/MediatorApi.d.ts +23 -0
  1432. package/build/modules/routing/MediatorApi.js +77 -0
  1433. package/build/modules/routing/MediatorApi.js.map +1 -0
  1434. package/build/modules/routing/MediatorModule.d.ts +14 -0
  1435. package/build/modules/routing/MediatorModule.js +36 -0
  1436. package/build/modules/routing/MediatorModule.js.map +1 -0
  1437. package/build/modules/routing/MediatorModuleConfig.d.ts +18 -0
  1438. package/build/modules/routing/MediatorModuleConfig.js +15 -0
  1439. package/build/modules/routing/MediatorModuleConfig.js.map +1 -0
  1440. package/build/modules/routing/MediatorPickupStrategy.d.ts +6 -0
  1441. package/build/modules/routing/MediatorPickupStrategy.js +16 -0
  1442. package/build/modules/routing/MediatorPickupStrategy.js.map +1 -0
  1443. package/build/modules/routing/RoutingEvents.d.ts +30 -0
  1444. package/build/modules/routing/RoutingEvents.js +10 -0
  1445. package/build/modules/routing/RoutingEvents.js.map +1 -0
  1446. package/build/modules/routing/error/RoutingProblemReportReason.d.ts +3 -0
  1447. package/build/modules/routing/error/RoutingProblemReportReason.js +8 -0
  1448. package/build/modules/routing/error/RoutingProblemReportReason.js.map +1 -0
  1449. package/build/modules/routing/error/index.d.ts +1 -0
  1450. package/build/modules/routing/error/index.js +18 -0
  1451. package/build/modules/routing/error/index.js.map +1 -0
  1452. package/build/modules/routing/handlers/ForwardHandler.d.ts +13 -0
  1453. package/build/modules/routing/handlers/ForwardHandler.js +24 -0
  1454. package/build/modules/routing/handlers/ForwardHandler.js.map +1 -0
  1455. package/build/modules/routing/handlers/KeylistUpdateHandler.d.ts +10 -0
  1456. package/build/modules/routing/handlers/KeylistUpdateHandler.js +21 -0
  1457. package/build/modules/routing/handlers/KeylistUpdateHandler.js.map +1 -0
  1458. package/build/modules/routing/handlers/KeylistUpdateResponseHandler.d.ts +9 -0
  1459. package/build/modules/routing/handlers/KeylistUpdateResponseHandler.js +16 -0
  1460. package/build/modules/routing/handlers/KeylistUpdateResponseHandler.js.map +1 -0
  1461. package/build/modules/routing/handlers/MediationDenyHandler.d.ts +9 -0
  1462. package/build/modules/routing/handlers/MediationDenyHandler.js +16 -0
  1463. package/build/modules/routing/handlers/MediationDenyHandler.js.map +1 -0
  1464. package/build/modules/routing/handlers/MediationGrantHandler.d.ts +9 -0
  1465. package/build/modules/routing/handlers/MediationGrantHandler.js +16 -0
  1466. package/build/modules/routing/handlers/MediationGrantHandler.js.map +1 -0
  1467. package/build/modules/routing/handlers/MediationRequestHandler.d.ts +12 -0
  1468. package/build/modules/routing/handlers/MediationRequestHandler.js +26 -0
  1469. package/build/modules/routing/handlers/MediationRequestHandler.js.map +1 -0
  1470. package/build/modules/routing/handlers/index.d.ts +6 -0
  1471. package/build/modules/routing/handlers/index.js +23 -0
  1472. package/build/modules/routing/handlers/index.js.map +1 -0
  1473. package/build/modules/routing/index.d.ts +10 -0
  1474. package/build/modules/routing/index.js +27 -0
  1475. package/build/modules/routing/index.js.map +1 -0
  1476. package/build/modules/routing/messages/ForwardMessage.d.ts +23 -0
  1477. package/build/modules/routing/messages/ForwardMessage.js +52 -0
  1478. package/build/modules/routing/messages/ForwardMessage.js.map +1 -0
  1479. package/build/modules/routing/messages/KeylistMessage.d.ts +20 -0
  1480. package/build/modules/routing/messages/KeylistMessage.js +49 -0
  1481. package/build/modules/routing/messages/KeylistMessage.js.map +1 -0
  1482. package/build/modules/routing/messages/KeylistUpdateMessage.d.ts +29 -0
  1483. package/build/modules/routing/messages/KeylistUpdateMessage.js +68 -0
  1484. package/build/modules/routing/messages/KeylistUpdateMessage.js.map +1 -0
  1485. package/build/modules/routing/messages/KeylistUpdateResponseMessage.d.ts +34 -0
  1486. package/build/modules/routing/messages/KeylistUpdateResponseMessage.js +79 -0
  1487. package/build/modules/routing/messages/KeylistUpdateResponseMessage.js.map +1 -0
  1488. package/build/modules/routing/messages/MediationDenyMessage.d.ts +14 -0
  1489. package/build/modules/routing/messages/MediationDenyMessage.js +35 -0
  1490. package/build/modules/routing/messages/MediationDenyMessage.js.map +1 -0
  1491. package/build/modules/routing/messages/MediationGrantMessage.d.ts +20 -0
  1492. package/build/modules/routing/messages/MediationGrantMessage.js +55 -0
  1493. package/build/modules/routing/messages/MediationGrantMessage.js.map +1 -0
  1494. package/build/modules/routing/messages/MediationRequestMessage.d.ts +22 -0
  1495. package/build/modules/routing/messages/MediationRequestMessage.js +42 -0
  1496. package/build/modules/routing/messages/MediationRequestMessage.js.map +1 -0
  1497. package/build/modules/routing/messages/index.d.ts +6 -0
  1498. package/build/modules/routing/messages/index.js +23 -0
  1499. package/build/modules/routing/messages/index.js.map +1 -0
  1500. package/build/modules/routing/models/MediationRole.d.ts +9 -0
  1501. package/build/modules/routing/models/MediationRole.js +14 -0
  1502. package/build/modules/routing/models/MediationRole.js.map +1 -0
  1503. package/build/modules/routing/models/MediationState.d.ts +10 -0
  1504. package/build/modules/routing/models/MediationState.js +15 -0
  1505. package/build/modules/routing/models/MediationState.js.map +1 -0
  1506. package/build/modules/routing/models/index.d.ts +2 -0
  1507. package/build/modules/routing/models/index.js +19 -0
  1508. package/build/modules/routing/models/index.js.map +1 -0
  1509. package/build/modules/routing/repository/MediationRecord.d.ts +53 -0
  1510. package/build/modules/routing/repository/MediationRecord.js +87 -0
  1511. package/build/modules/routing/repository/MediationRecord.js.map +1 -0
  1512. package/build/modules/routing/repository/MediationRepository.d.ts +10 -0
  1513. package/build/modules/routing/repository/MediationRepository.js +40 -0
  1514. package/build/modules/routing/repository/MediationRepository.js.map +1 -0
  1515. package/build/modules/routing/repository/MediatorRoutingRecord.d.ts +15 -0
  1516. package/build/modules/routing/repository/MediatorRoutingRecord.js +23 -0
  1517. package/build/modules/routing/repository/MediatorRoutingRecord.js.map +1 -0
  1518. package/build/modules/routing/repository/MediatorRoutingRepository.d.ts +8 -0
  1519. package/build/modules/routing/repository/MediatorRoutingRepository.js +33 -0
  1520. package/build/modules/routing/repository/MediatorRoutingRepository.js.map +1 -0
  1521. package/build/modules/routing/repository/index.d.ts +4 -0
  1522. package/build/modules/routing/repository/index.js +21 -0
  1523. package/build/modules/routing/repository/index.js.map +1 -0
  1524. package/build/modules/routing/services/MediationRecipientService.d.ts +57 -0
  1525. package/build/modules/routing/services/MediationRecipientService.js +276 -0
  1526. package/build/modules/routing/services/MediationRecipientService.js.map +1 -0
  1527. package/build/modules/routing/services/MediatorService.d.ts +41 -0
  1528. package/build/modules/routing/services/MediatorService.js +211 -0
  1529. package/build/modules/routing/services/MediatorService.js.map +1 -0
  1530. package/build/modules/routing/services/RoutingService.d.ts +33 -0
  1531. package/build/modules/routing/services/RoutingService.js +54 -0
  1532. package/build/modules/routing/services/RoutingService.js.map +1 -0
  1533. package/build/modules/routing/services/helpers.d.ts +3 -0
  1534. package/build/modules/routing/services/helpers.js +14 -0
  1535. package/build/modules/routing/services/helpers.js.map +1 -0
  1536. package/build/modules/routing/services/index.d.ts +3 -0
  1537. package/build/modules/routing/services/index.js +20 -0
  1538. package/build/modules/routing/services/index.js.map +1 -0
  1539. package/build/modules/vc/W3cCredentialService.d.ts +59 -0
  1540. package/build/modules/vc/W3cCredentialService.js +159 -0
  1541. package/build/modules/vc/W3cCredentialService.js.map +1 -0
  1542. package/build/modules/vc/W3cCredentialServiceOptions.d.ts +148 -0
  1543. package/build/modules/vc/W3cCredentialServiceOptions.js +3 -0
  1544. package/build/modules/vc/W3cCredentialServiceOptions.js.map +1 -0
  1545. package/build/modules/vc/W3cCredentialsApi.d.ts +19 -0
  1546. package/build/modules/vc/W3cCredentialsApi.js +45 -0
  1547. package/build/modules/vc/W3cCredentialsApi.js.map +1 -0
  1548. package/build/modules/vc/W3cCredentialsModule.d.ts +13 -0
  1549. package/build/modules/vc/W3cCredentialsModule.js +44 -0
  1550. package/build/modules/vc/W3cCredentialsModule.js.map +1 -0
  1551. package/build/modules/vc/W3cCredentialsModuleConfig.d.ts +36 -0
  1552. package/build/modules/vc/W3cCredentialsModuleConfig.js +16 -0
  1553. package/build/modules/vc/W3cCredentialsModuleConfig.js.map +1 -0
  1554. package/build/modules/vc/__tests__/dids/did_example_489398593.d.ts +10 -0
  1555. package/build/modules/vc/__tests__/dids/did_example_489398593.js +16 -0
  1556. package/build/modules/vc/__tests__/dids/did_example_489398593.js.map +1 -0
  1557. package/build/modules/vc/__tests__/dids/did_sov_QqEfJxe752NCmWqR5TssZ5.d.ts +20 -0
  1558. package/build/modules/vc/__tests__/dids/did_sov_QqEfJxe752NCmWqR5TssZ5.js +28 -0
  1559. package/build/modules/vc/__tests__/dids/did_sov_QqEfJxe752NCmWqR5TssZ5.js.map +1 -0
  1560. package/build/modules/vc/__tests__/dids/did_web_launchpad.d.ts +20 -0
  1561. package/build/modules/vc/__tests__/dids/did_web_launchpad.js +28 -0
  1562. package/build/modules/vc/__tests__/dids/did_web_launchpad.js.map +1 -0
  1563. package/build/modules/vc/__tests__/dids/did_z6Mkgg342Ycpuk263R9d8Aq6MUaxPn1DDeHyGo38EefXmgDL.d.ts +23 -0
  1564. package/build/modules/vc/__tests__/dids/did_z6Mkgg342Ycpuk263R9d8Aq6MUaxPn1DDeHyGo38EefXmgDL.js +49 -0
  1565. package/build/modules/vc/__tests__/dids/did_z6Mkgg342Ycpuk263R9d8Aq6MUaxPn1DDeHyGo38EefXmgDL.js.map +1 -0
  1566. package/build/modules/vc/__tests__/dids/did_z6MkvePyWAApUVeDboZhNbckaWHnqtD6pCETd6xoqGbcpEBV.d.ts +23 -0
  1567. package/build/modules/vc/__tests__/dids/did_z6MkvePyWAApUVeDboZhNbckaWHnqtD6pCETd6xoqGbcpEBV.js +49 -0
  1568. package/build/modules/vc/__tests__/dids/did_z6MkvePyWAApUVeDboZhNbckaWHnqtD6pCETd6xoqGbcpEBV.js.map +1 -0
  1569. package/build/modules/vc/__tests__/dids/did_zUC729nNiUKQ4pHHNYovae25gkkuvtsZmtpjnLYUj1r8Yd4ZRn3FaswicUWs2NYNuWXxQ7MgzAX7dqXxAFZXFvn2jhqGKpjm5xLwESYfhcDGdSrc9mgfu51w939BjmKmng5HvYK.d.ts +18 -0
  1570. package/build/modules/vc/__tests__/dids/did_zUC729nNiUKQ4pHHNYovae25gkkuvtsZmtpjnLYUj1r8Yd4ZRn3FaswicUWs2NYNuWXxQ7MgzAX7dqXxAFZXFvn2jhqGKpjm5xLwESYfhcDGdSrc9mgfu51w939BjmKmng5HvYK.js +32 -0
  1571. package/build/modules/vc/__tests__/dids/did_zUC729nNiUKQ4pHHNYovae25gkkuvtsZmtpjnLYUj1r8Yd4ZRn3FaswicUWs2NYNuWXxQ7MgzAX7dqXxAFZXFvn2jhqGKpjm5xLwESYfhcDGdSrc9mgfu51w939BjmKmng5HvYK.js.map +1 -0
  1572. package/build/modules/vc/__tests__/dids/did_zUC72Q7XD4PE4CrMiDVXuvZng3sBvMmaGgNeTUJuzavH2BS7ThbHL9FhsZM9QYY5fqAQ4MB8M9oudz3tfuaX36Ajr97QRW7LBt6WWmrtESe6Bs5NYzFtLWEmeVtvRYVAgjFcJSa.d.ts +37 -0
  1573. package/build/modules/vc/__tests__/dids/did_zUC72Q7XD4PE4CrMiDVXuvZng3sBvMmaGgNeTUJuzavH2BS7ThbHL9FhsZM9QYY5fqAQ4MB8M9oudz3tfuaX36Ajr97QRW7LBt6WWmrtESe6Bs5NYzFtLWEmeVtvRYVAgjFcJSa.js +53 -0
  1574. package/build/modules/vc/__tests__/dids/did_zUC72Q7XD4PE4CrMiDVXuvZng3sBvMmaGgNeTUJuzavH2BS7ThbHL9FhsZM9QYY5fqAQ4MB8M9oudz3tfuaX36Ajr97QRW7LBt6WWmrtESe6Bs5NYzFtLWEmeVtvRYVAgjFcJSa.js.map +1 -0
  1575. package/build/modules/vc/__tests__/dids/did_zUC72to2eJiFMrt8a89LoaEPHC76QcfAxQdFys3nFGCmDKAmLbdE4ByyQ54kh42XgECCyZfVKe3m41Kk35nzrBKYbk6s9K7EjyLJcGGPkA7N15tDNBQJaY7cHD4RRaTwF6qXpmD.d.ts +18 -0
  1576. package/build/modules/vc/__tests__/dids/did_zUC72to2eJiFMrt8a89LoaEPHC76QcfAxQdFys3nFGCmDKAmLbdE4ByyQ54kh42XgECCyZfVKe3m41Kk35nzrBKYbk6s9K7EjyLJcGGPkA7N15tDNBQJaY7cHD4RRaTwF6qXpmD.js +32 -0
  1577. package/build/modules/vc/__tests__/dids/did_zUC72to2eJiFMrt8a89LoaEPHC76QcfAxQdFys3nFGCmDKAmLbdE4ByyQ54kh42XgECCyZfVKe3m41Kk35nzrBKYbk6s9K7EjyLJcGGPkA7N15tDNBQJaY7cHD4RRaTwF6qXpmD.js.map +1 -0
  1578. package/build/modules/vc/__tests__/dids/did_zUC73JKGpX1WG4CWbFM15ni3faANPet6m8WJ6vaF5xyFsM3MeoBVNgQ6jjVPCcUnTAnJy6RVKqsUXa4AvdRKwV5hhQhwhMWFT9so9jrPekKmqpikTjYBXa3RYWqRpCWHY4u4hxh.d.ts +18 -0
  1579. package/build/modules/vc/__tests__/dids/did_zUC73JKGpX1WG4CWbFM15ni3faANPet6m8WJ6vaF5xyFsM3MeoBVNgQ6jjVPCcUnTAnJy6RVKqsUXa4AvdRKwV5hhQhwhMWFT9so9jrPekKmqpikTjYBXa3RYWqRpCWHY4u4hxh.js +32 -0
  1580. package/build/modules/vc/__tests__/dids/did_zUC73JKGpX1WG4CWbFM15ni3faANPet6m8WJ6vaF5xyFsM3MeoBVNgQ6jjVPCcUnTAnJy6RVKqsUXa4AvdRKwV5hhQhwhMWFT9so9jrPekKmqpikTjYBXa3RYWqRpCWHY4u4hxh.js.map +1 -0
  1581. package/build/modules/vc/__tests__/dids/did_zUC73YqdRJ3t8bZsFUoxYFPNVruHzn4o7u78GSrMXVSkcb3xAYtUxRD2kSt2bDcmQpRjKfygwLJ1HEGfkosSN7gr4acjGkXLbLRXREueknFN4AU19m8BxEgWnLM84CAvsw6bhYn.d.ts +18 -0
  1582. package/build/modules/vc/__tests__/dids/did_zUC73YqdRJ3t8bZsFUoxYFPNVruHzn4o7u78GSrMXVSkcb3xAYtUxRD2kSt2bDcmQpRjKfygwLJ1HEGfkosSN7gr4acjGkXLbLRXREueknFN4AU19m8BxEgWnLM84CAvsw6bhYn.js +32 -0
  1583. package/build/modules/vc/__tests__/dids/did_zUC73YqdRJ3t8bZsFUoxYFPNVruHzn4o7u78GSrMXVSkcb3xAYtUxRD2kSt2bDcmQpRjKfygwLJ1HEGfkosSN7gr4acjGkXLbLRXREueknFN4AU19m8BxEgWnLM84CAvsw6bhYn.js.map +1 -0
  1584. package/build/modules/vc/__tests__/dids/did_zUC74VEqqhEHQcgv4zagSPkqFJxuNWuoBPKjJuHETEUeHLoSqWt92viSsmaWjy82y2cgguc8e9hsGBifnVK67pQ4gve3m6iSboDkmJjxVEb1d6mRAx5fpMAejooNzNqqbTMVeUN.d.ts +14 -0
  1585. package/build/modules/vc/__tests__/dids/did_zUC74VEqqhEHQcgv4zagSPkqFJxuNWuoBPKjJuHETEUeHLoSqWt92viSsmaWjy82y2cgguc8e9hsGBifnVK67pQ4gve3m6iSboDkmJjxVEb1d6mRAx5fpMAejooNzNqqbTMVeUN.js +28 -0
  1586. package/build/modules/vc/__tests__/dids/did_zUC74VEqqhEHQcgv4zagSPkqFJxuNWuoBPKjJuHETEUeHLoSqWt92viSsmaWjy82y2cgguc8e9hsGBifnVK67pQ4gve3m6iSboDkmJjxVEb1d6mRAx5fpMAejooNzNqqbTMVeUN.js.map +1 -0
  1587. package/build/modules/vc/__tests__/dids/did_zUC76qMTDAaupy19pEk8JKH5LJwPwmscNQn24SYpqrgqEoYWPFgCSm4CnTfupADRfbB6CxdwYhVaTFjT4fmPvMh7gWY87LauhaLmNpPamCv4LAepcRfBDndSdtCpZKSTELMjzGJ.d.ts +18 -0
  1588. package/build/modules/vc/__tests__/dids/did_zUC76qMTDAaupy19pEk8JKH5LJwPwmscNQn24SYpqrgqEoYWPFgCSm4CnTfupADRfbB6CxdwYhVaTFjT4fmPvMh7gWY87LauhaLmNpPamCv4LAepcRfBDndSdtCpZKSTELMjzGJ.js +32 -0
  1589. package/build/modules/vc/__tests__/dids/did_zUC76qMTDAaupy19pEk8JKH5LJwPwmscNQn24SYpqrgqEoYWPFgCSm4CnTfupADRfbB6CxdwYhVaTFjT4fmPvMh7gWY87LauhaLmNpPamCv4LAepcRfBDndSdtCpZKSTELMjzGJ.js.map +1 -0
  1590. package/build/modules/vc/__tests__/dids/did_zUC7DMETzdZM6woUjvs2fieEyFTbHABXwBvLYPBs4NDWKut4H41h8V3KTqGNRUziXLYqa1sFYYw9Zjpt6pFUf7hra4Q1zXMA9JjXcXxDpxuDNpUKEpiDPSYYUztVchUJHQJJhox.d.ts +18 -0
  1591. package/build/modules/vc/__tests__/dids/did_zUC7DMETzdZM6woUjvs2fieEyFTbHABXwBvLYPBs4NDWKut4H41h8V3KTqGNRUziXLYqa1sFYYw9Zjpt6pFUf7hra4Q1zXMA9JjXcXxDpxuDNpUKEpiDPSYYUztVchUJHQJJhox.js +32 -0
  1592. package/build/modules/vc/__tests__/dids/did_zUC7DMETzdZM6woUjvs2fieEyFTbHABXwBvLYPBs4NDWKut4H41h8V3KTqGNRUziXLYqa1sFYYw9Zjpt6pFUf7hra4Q1zXMA9JjXcXxDpxuDNpUKEpiDPSYYUztVchUJHQJJhox.js.map +1 -0
  1593. package/build/modules/vc/__tests__/dids/did_zUC7F9Jt6YzVW9fGhwYjVrjdS8Xzg7oQc2CeDcVNgEcEAaJXAtPz3eXu2sewq4xtwRK3DAhQRYwwoYiT3nNzLCPsrKoP72UGZKhh4cNuZD7RkmwzAa1Bye4C5a9DcyYBGKZrE5F.d.ts +18 -0
  1594. package/build/modules/vc/__tests__/dids/did_zUC7F9Jt6YzVW9fGhwYjVrjdS8Xzg7oQc2CeDcVNgEcEAaJXAtPz3eXu2sewq4xtwRK3DAhQRYwwoYiT3nNzLCPsrKoP72UGZKhh4cNuZD7RkmwzAa1Bye4C5a9DcyYBGKZrE5F.js +32 -0
  1595. package/build/modules/vc/__tests__/dids/did_zUC7F9Jt6YzVW9fGhwYjVrjdS8Xzg7oQc2CeDcVNgEcEAaJXAtPz3eXu2sewq4xtwRK3DAhQRYwwoYiT3nNzLCPsrKoP72UGZKhh4cNuZD7RkmwzAa1Bye4C5a9DcyYBGKZrE5F.js.map +1 -0
  1596. package/build/modules/vc/__tests__/dids/did_zUC7H7TxvhWmvfptpu2zSwo5EZ1kr3MPNsjovaD2ipbuzj6zi1vk4FHTiunCJrFvUYV77Mk3QcWUUAHojPZdU8oG476cvMK2ozP1gVq63x5ovj6e4oQ9qg9eF4YjPhWJs6FPuT4.d.ts +18 -0
  1597. package/build/modules/vc/__tests__/dids/did_zUC7H7TxvhWmvfptpu2zSwo5EZ1kr3MPNsjovaD2ipbuzj6zi1vk4FHTiunCJrFvUYV77Mk3QcWUUAHojPZdU8oG476cvMK2ozP1gVq63x5ovj6e4oQ9qg9eF4YjPhWJs6FPuT4.js +32 -0
  1598. package/build/modules/vc/__tests__/dids/did_zUC7H7TxvhWmvfptpu2zSwo5EZ1kr3MPNsjovaD2ipbuzj6zi1vk4FHTiunCJrFvUYV77Mk3QcWUUAHojPZdU8oG476cvMK2ozP1gVq63x5ovj6e4oQ9qg9eF4YjPhWJs6FPuT4.js.map +1 -0
  1599. package/build/modules/vc/constants.d.ts +15 -0
  1600. package/build/modules/vc/constants.js +19 -0
  1601. package/build/modules/vc/constants.js.map +1 -0
  1602. package/build/modules/vc/data-integrity/SignatureSuiteRegistry.d.ts +19 -0
  1603. package/build/modules/vc/data-integrity/SignatureSuiteRegistry.js +55 -0
  1604. package/build/modules/vc/data-integrity/SignatureSuiteRegistry.js.map +1 -0
  1605. package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.d.ts +49 -0
  1606. package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.js +318 -0
  1607. package/build/modules/vc/data-integrity/W3cJsonLdCredentialService.js.map +1 -0
  1608. package/build/modules/vc/data-integrity/__tests__/contexts/X25519_v1.d.ts +26 -0
  1609. package/build/modules/vc/data-integrity/__tests__/contexts/X25519_v1.js +30 -0
  1610. package/build/modules/vc/data-integrity/__tests__/contexts/X25519_v1.js.map +1 -0
  1611. package/build/modules/vc/data-integrity/__tests__/contexts/bbs_v1.d.ts +128 -0
  1612. package/build/modules/vc/data-integrity/__tests__/contexts/bbs_v1.js +132 -0
  1613. package/build/modules/vc/data-integrity/__tests__/contexts/bbs_v1.js.map +1 -0
  1614. package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v1.d.ts +57 -0
  1615. package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v1.js +49 -0
  1616. package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v1.js.map +1 -0
  1617. package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v2.d.ts +57 -0
  1618. package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v2.js +49 -0
  1619. package/build/modules/vc/data-integrity/__tests__/contexts/citizenship_v2.js.map +1 -0
  1620. package/build/modules/vc/data-integrity/__tests__/contexts/credentials_v1.d.ts +315 -0
  1621. package/build/modules/vc/data-integrity/__tests__/contexts/credentials_v1.js +254 -0
  1622. package/build/modules/vc/data-integrity/__tests__/contexts/credentials_v1.js.map +1 -0
  1623. package/build/modules/vc/data-integrity/__tests__/contexts/did_v1.d.ts +56 -0
  1624. package/build/modules/vc/data-integrity/__tests__/contexts/did_v1.js +60 -0
  1625. package/build/modules/vc/data-integrity/__tests__/contexts/did_v1.js.map +1 -0
  1626. package/build/modules/vc/data-integrity/__tests__/contexts/ed25519_v1.d.ts +91 -0
  1627. package/build/modules/vc/data-integrity/__tests__/contexts/ed25519_v1.js +95 -0
  1628. package/build/modules/vc/data-integrity/__tests__/contexts/ed25519_v1.js.map +1 -0
  1629. package/build/modules/vc/data-integrity/__tests__/contexts/examples_v1.d.ts +98 -0
  1630. package/build/modules/vc/data-integrity/__tests__/contexts/examples_v1.js +50 -0
  1631. package/build/modules/vc/data-integrity/__tests__/contexts/examples_v1.js.map +1 -0
  1632. package/build/modules/vc/data-integrity/__tests__/contexts/index.d.ts +13 -0
  1633. package/build/modules/vc/data-integrity/__tests__/contexts/index.js +30 -0
  1634. package/build/modules/vc/data-integrity/__tests__/contexts/index.js.map +1 -0
  1635. package/build/modules/vc/data-integrity/__tests__/contexts/mattr_vc_extension_v1.d.ts +17 -0
  1636. package/build/modules/vc/data-integrity/__tests__/contexts/mattr_vc_extension_v1.js +21 -0
  1637. package/build/modules/vc/data-integrity/__tests__/contexts/mattr_vc_extension_v1.js.map +1 -0
  1638. package/build/modules/vc/data-integrity/__tests__/contexts/odrl.d.ts +301 -0
  1639. package/build/modules/vc/data-integrity/__tests__/contexts/odrl.js +185 -0
  1640. package/build/modules/vc/data-integrity/__tests__/contexts/odrl.js.map +1 -0
  1641. package/build/modules/vc/data-integrity/__tests__/contexts/purl_ob_v3po.d.ts +438 -0
  1642. package/build/modules/vc/data-integrity/__tests__/contexts/purl_ob_v3po.js +442 -0
  1643. package/build/modules/vc/data-integrity/__tests__/contexts/purl_ob_v3po.js.map +1 -0
  1644. package/build/modules/vc/data-integrity/__tests__/contexts/schema_org.d.ts +8242 -0
  1645. package/build/modules/vc/data-integrity/__tests__/contexts/schema_org.js +2842 -0
  1646. package/build/modules/vc/data-integrity/__tests__/contexts/schema_org.js.map +1 -0
  1647. package/build/modules/vc/data-integrity/__tests__/contexts/security_v1.d.ts +74 -0
  1648. package/build/modules/vc/data-integrity/__tests__/contexts/security_v1.js +51 -0
  1649. package/build/modules/vc/data-integrity/__tests__/contexts/security_v1.js.map +1 -0
  1650. package/build/modules/vc/data-integrity/__tests__/contexts/security_v2.d.ts +175 -0
  1651. package/build/modules/vc/data-integrity/__tests__/contexts/security_v2.js +94 -0
  1652. package/build/modules/vc/data-integrity/__tests__/contexts/security_v2.js.map +1 -0
  1653. package/build/modules/vc/data-integrity/__tests__/contexts/security_v3_unstable.d.ts +701 -0
  1654. package/build/modules/vc/data-integrity/__tests__/contexts/security_v3_unstable.js +684 -0
  1655. package/build/modules/vc/data-integrity/__tests__/contexts/security_v3_unstable.js.map +1 -0
  1656. package/build/modules/vc/data-integrity/__tests__/contexts/submission.d.ts +15 -0
  1657. package/build/modules/vc/data-integrity/__tests__/contexts/submission.js +19 -0
  1658. package/build/modules/vc/data-integrity/__tests__/contexts/submission.js.map +1 -0
  1659. package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v1.d.ts +88 -0
  1660. package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v1.js +92 -0
  1661. package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v1.js.map +1 -0
  1662. package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v2.d.ts +88 -0
  1663. package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v2.js +92 -0
  1664. package/build/modules/vc/data-integrity/__tests__/contexts/vaccination_v2.js.map +1 -0
  1665. package/build/modules/vc/data-integrity/__tests__/contexts/vc_revocation_list_2020.d.ts +37 -0
  1666. package/build/modules/vc/data-integrity/__tests__/contexts/vc_revocation_list_2020.js +41 -0
  1667. package/build/modules/vc/data-integrity/__tests__/contexts/vc_revocation_list_2020.js.map +1 -0
  1668. package/build/modules/vc/data-integrity/deriveProof.d.ts +17 -0
  1669. package/build/modules/vc/data-integrity/deriveProof.js +110 -0
  1670. package/build/modules/vc/data-integrity/deriveProof.js.map +1 -0
  1671. package/build/modules/vc/data-integrity/index.d.ts +7 -0
  1672. package/build/modules/vc/data-integrity/index.js +26 -0
  1673. package/build/modules/vc/data-integrity/index.js.map +1 -0
  1674. package/build/modules/vc/data-integrity/jsonldUtil.d.ts +46 -0
  1675. package/build/modules/vc/data-integrity/jsonldUtil.js +103 -0
  1676. package/build/modules/vc/data-integrity/jsonldUtil.js.map +1 -0
  1677. package/build/modules/vc/data-integrity/libraries/documentLoader.d.ts +4 -0
  1678. package/build/modules/vc/data-integrity/libraries/documentLoader.js +42 -0
  1679. package/build/modules/vc/data-integrity/libraries/documentLoader.js.map +1 -0
  1680. package/build/modules/vc/data-integrity/libraries/index.d.ts +24 -0
  1681. package/build/modules/vc/data-integrity/libraries/index.js +40 -0
  1682. package/build/modules/vc/data-integrity/libraries/index.js.map +1 -0
  1683. package/build/modules/vc/data-integrity/libraries/jsonld-signatures.d.ts +10 -0
  1684. package/build/modules/vc/data-integrity/libraries/jsonld-signatures.js +9 -0
  1685. package/build/modules/vc/data-integrity/libraries/jsonld-signatures.js.map +1 -0
  1686. package/build/modules/vc/data-integrity/libraries/jsonld.d.ts +17 -0
  1687. package/build/modules/vc/data-integrity/libraries/jsonld.js +12 -0
  1688. package/build/modules/vc/data-integrity/libraries/jsonld.js.map +1 -0
  1689. package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.d.ts +2 -0
  1690. package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.js +10 -0
  1691. package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.js.map +1 -0
  1692. package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.native.d.ts +2 -0
  1693. package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.native.js +10 -0
  1694. package/build/modules/vc/data-integrity/libraries/nativeDocumentLoader.native.js.map +1 -0
  1695. package/build/modules/vc/data-integrity/libraries/vc.d.ts +28 -0
  1696. package/build/modules/vc/data-integrity/libraries/vc.js +12 -0
  1697. package/build/modules/vc/data-integrity/libraries/vc.js.map +1 -0
  1698. package/build/modules/vc/data-integrity/models/GetProofsOptions.d.ts +23 -0
  1699. package/build/modules/vc/data-integrity/models/GetProofsOptions.js +15 -0
  1700. package/build/modules/vc/data-integrity/models/GetProofsOptions.js.map +1 -0
  1701. package/build/modules/vc/data-integrity/models/GetProofsResult.d.ts +14 -0
  1702. package/build/modules/vc/data-integrity/models/GetProofsResult.js +15 -0
  1703. package/build/modules/vc/data-integrity/models/GetProofsResult.js.map +1 -0
  1704. package/build/modules/vc/data-integrity/models/GetTypeOptions.d.ts +10 -0
  1705. package/build/modules/vc/data-integrity/models/GetTypeOptions.js +15 -0
  1706. package/build/modules/vc/data-integrity/models/GetTypeOptions.js.map +1 -0
  1707. package/build/modules/vc/data-integrity/models/LdKeyPair.d.ts +31 -0
  1708. package/build/modules/vc/data-integrity/models/LdKeyPair.js +29 -0
  1709. package/build/modules/vc/data-integrity/models/LdKeyPair.js.map +1 -0
  1710. package/build/modules/vc/data-integrity/models/LinkedDataProof.d.ts +30 -0
  1711. package/build/modules/vc/data-integrity/models/LinkedDataProof.js +97 -0
  1712. package/build/modules/vc/data-integrity/models/LinkedDataProof.js.map +1 -0
  1713. package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.d.ts +24 -0
  1714. package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.js +54 -0
  1715. package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiableCredential.js.map +1 -0
  1716. package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.d.ts +24 -0
  1717. package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.js +52 -0
  1718. package/build/modules/vc/data-integrity/models/W3cJsonLdVerifiablePresentation.js.map +1 -0
  1719. package/build/modules/vc/data-integrity/models/index.d.ts +3 -0
  1720. package/build/modules/vc/data-integrity/models/index.js +20 -0
  1721. package/build/modules/vc/data-integrity/models/index.js.map +1 -0
  1722. package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.d.ts +56 -0
  1723. package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.js +74 -0
  1724. package/build/modules/vc/data-integrity/proof-purposes/CredentialIssuancePurpose.js.map +1 -0
  1725. package/build/modules/vc/data-integrity/proof-purposes/ProofPurpose.d.ts +1 -0
  1726. package/build/modules/vc/data-integrity/proof-purposes/ProofPurpose.js +3 -0
  1727. package/build/modules/vc/data-integrity/proof-purposes/ProofPurpose.js.map +1 -0
  1728. package/build/modules/vc/data-integrity/proof-purposes/index.d.ts +2 -0
  1729. package/build/modules/vc/data-integrity/proof-purposes/index.js +19 -0
  1730. package/build/modules/vc/data-integrity/proof-purposes/index.js.map +1 -0
  1731. package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.d.ts +98 -0
  1732. package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.js +209 -0
  1733. package/build/modules/vc/data-integrity/signature-suites/JwsLinkedDataSignature.js.map +1 -0
  1734. package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.d.ts +80 -0
  1735. package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.js +190 -0
  1736. package/build/modules/vc/data-integrity/signature-suites/ed25519/Ed25519Signature2018.js.map +1 -0
  1737. package/build/modules/vc/data-integrity/signature-suites/ed25519/constants.d.ts +2 -0
  1738. package/build/modules/vc/data-integrity/signature-suites/ed25519/constants.js +6 -0
  1739. package/build/modules/vc/data-integrity/signature-suites/ed25519/constants.js.map +1 -0
  1740. package/build/modules/vc/data-integrity/signature-suites/ed25519/context.d.ts +93 -0
  1741. package/build/modules/vc/data-integrity/signature-suites/ed25519/context.js +99 -0
  1742. package/build/modules/vc/data-integrity/signature-suites/ed25519/context.js.map +1 -0
  1743. package/build/modules/vc/data-integrity/signature-suites/index.d.ts +2 -0
  1744. package/build/modules/vc/data-integrity/signature-suites/index.js +19 -0
  1745. package/build/modules/vc/data-integrity/signature-suites/index.js.map +1 -0
  1746. package/build/modules/vc/index.d.ts +10 -0
  1747. package/build/modules/vc/index.js +29 -0
  1748. package/build/modules/vc/index.js.map +1 -0
  1749. package/build/modules/vc/jwt-vc/W3cJwtCredentialService.d.ts +65 -0
  1750. package/build/modules/vc/jwt-vc/W3cJwtCredentialService.js +444 -0
  1751. package/build/modules/vc/jwt-vc/W3cJwtCredentialService.js.map +1 -0
  1752. package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.d.ts +44 -0
  1753. package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.js +93 -0
  1754. package/build/modules/vc/jwt-vc/W3cJwtVerifiableCredential.js.map +1 -0
  1755. package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.d.ts +37 -0
  1756. package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.js +76 -0
  1757. package/build/modules/vc/jwt-vc/W3cJwtVerifiablePresentation.js.map +1 -0
  1758. package/build/modules/vc/jwt-vc/__tests__/fixtures/credo-jwt-vc.d.ts +38 -0
  1759. package/build/modules/vc/jwt-vc/__tests__/fixtures/credo-jwt-vc.js +43 -0
  1760. package/build/modules/vc/jwt-vc/__tests__/fixtures/credo-jwt-vc.js.map +1 -0
  1761. package/build/modules/vc/jwt-vc/__tests__/fixtures/jwt-vc-presentation-profile.d.ts +1 -0
  1762. package/build/modules/vc/jwt-vc/__tests__/fixtures/jwt-vc-presentation-profile.js +5 -0
  1763. package/build/modules/vc/jwt-vc/__tests__/fixtures/jwt-vc-presentation-profile.js.map +1 -0
  1764. package/build/modules/vc/jwt-vc/__tests__/fixtures/transmute-verifiable-data.d.ts +10 -0
  1765. package/build/modules/vc/jwt-vc/__tests__/fixtures/transmute-verifiable-data.js +15 -0
  1766. package/build/modules/vc/jwt-vc/__tests__/fixtures/transmute-verifiable-data.js.map +1 -0
  1767. package/build/modules/vc/jwt-vc/credentialTransformer.d.ts +4 -0
  1768. package/build/modules/vc/jwt-vc/credentialTransformer.js +132 -0
  1769. package/build/modules/vc/jwt-vc/credentialTransformer.js.map +1 -0
  1770. package/build/modules/vc/jwt-vc/index.d.ts +3 -0
  1771. package/build/modules/vc/jwt-vc/index.js +20 -0
  1772. package/build/modules/vc/jwt-vc/index.js.map +1 -0
  1773. package/build/modules/vc/jwt-vc/presentationTransformer.d.ts +4 -0
  1774. package/build/modules/vc/jwt-vc/presentationTransformer.js +55 -0
  1775. package/build/modules/vc/jwt-vc/presentationTransformer.js.map +1 -0
  1776. package/build/modules/vc/models/ClaimFormat.d.ts +12 -0
  1777. package/build/modules/vc/models/ClaimFormat.js +17 -0
  1778. package/build/modules/vc/models/ClaimFormat.js.map +1 -0
  1779. package/build/modules/vc/models/W3cVerifyResult.d.ts +109 -0
  1780. package/build/modules/vc/models/W3cVerifyResult.js +3 -0
  1781. package/build/modules/vc/models/W3cVerifyResult.js.map +1 -0
  1782. package/build/modules/vc/models/credential/W3cCredential.d.ts +37 -0
  1783. package/build/modules/vc/models/credential/W3cCredential.js +136 -0
  1784. package/build/modules/vc/models/credential/W3cCredential.js.map +1 -0
  1785. package/build/modules/vc/models/credential/W3cCredentialSchema.d.ts +9 -0
  1786. package/build/modules/vc/models/credential/W3cCredentialSchema.js +32 -0
  1787. package/build/modules/vc/models/credential/W3cCredentialSchema.js.map +1 -0
  1788. package/build/modules/vc/models/credential/W3cCredentialStatus.d.ts +9 -0
  1789. package/build/modules/vc/models/credential/W3cCredentialStatus.js +32 -0
  1790. package/build/modules/vc/models/credential/W3cCredentialStatus.js.map +1 -0
  1791. package/build/modules/vc/models/credential/W3cCredentialSubject.d.ts +12 -0
  1792. package/build/modules/vc/models/credential/W3cCredentialSubject.js +47 -0
  1793. package/build/modules/vc/models/credential/W3cCredentialSubject.js.map +1 -0
  1794. package/build/modules/vc/models/credential/W3cIssuer.d.ts +14 -0
  1795. package/build/modules/vc/models/credential/W3cIssuer.js +65 -0
  1796. package/build/modules/vc/models/credential/W3cIssuer.js.map +1 -0
  1797. package/build/modules/vc/models/credential/W3cJsonCredential.d.ts +14 -0
  1798. package/build/modules/vc/models/credential/W3cJsonCredential.js +3 -0
  1799. package/build/modules/vc/models/credential/W3cJsonCredential.js.map +1 -0
  1800. package/build/modules/vc/models/credential/W3cVerifiableCredential.d.ts +5 -0
  1801. package/build/modules/vc/models/credential/W3cVerifiableCredential.js +39 -0
  1802. package/build/modules/vc/models/credential/W3cVerifiableCredential.js.map +1 -0
  1803. package/build/modules/vc/models/credential/index.d.ts +5 -0
  1804. package/build/modules/vc/models/credential/index.js +22 -0
  1805. package/build/modules/vc/models/credential/index.js.map +1 -0
  1806. package/build/modules/vc/models/index.d.ts +4 -0
  1807. package/build/modules/vc/models/index.js +21 -0
  1808. package/build/modules/vc/models/index.js.map +1 -0
  1809. package/build/modules/vc/models/presentation/W3cHolder.d.ts +13 -0
  1810. package/build/modules/vc/models/presentation/W3cHolder.js +65 -0
  1811. package/build/modules/vc/models/presentation/W3cHolder.js.map +1 -0
  1812. package/build/modules/vc/models/presentation/W3cJsonPresentation.d.ts +14 -0
  1813. package/build/modules/vc/models/presentation/W3cJsonPresentation.js +3 -0
  1814. package/build/modules/vc/models/presentation/W3cJsonPresentation.js.map +1 -0
  1815. package/build/modules/vc/models/presentation/W3cPresentation.d.ts +25 -0
  1816. package/build/modules/vc/models/presentation/W3cPresentation.js +88 -0
  1817. package/build/modules/vc/models/presentation/W3cPresentation.js.map +1 -0
  1818. package/build/modules/vc/models/presentation/W3cVerifiablePresentation.d.ts +4 -0
  1819. package/build/modules/vc/models/presentation/W3cVerifiablePresentation.js +3 -0
  1820. package/build/modules/vc/models/presentation/W3cVerifiablePresentation.js.map +1 -0
  1821. package/build/modules/vc/models/presentation/index.d.ts +2 -0
  1822. package/build/modules/vc/models/presentation/index.js +19 -0
  1823. package/build/modules/vc/models/presentation/index.js.map +1 -0
  1824. package/build/modules/vc/repository/W3cCredentialRecord.d.ts +40 -0
  1825. package/build/modules/vc/repository/W3cCredentialRecord.js +61 -0
  1826. package/build/modules/vc/repository/W3cCredentialRecord.js.map +1 -0
  1827. package/build/modules/vc/repository/W3cCredentialRepository.d.ts +7 -0
  1828. package/build/modules/vc/repository/W3cCredentialRepository.js +32 -0
  1829. package/build/modules/vc/repository/W3cCredentialRepository.js.map +1 -0
  1830. package/build/modules/vc/repository/index.d.ts +2 -0
  1831. package/build/modules/vc/repository/index.js +19 -0
  1832. package/build/modules/vc/repository/index.js.map +1 -0
  1833. package/build/modules/vc/util.d.ts +7 -0
  1834. package/build/modules/vc/util.js +19 -0
  1835. package/build/modules/vc/util.js.map +1 -0
  1836. package/build/modules/vc/validators.d.ts +2 -0
  1837. package/build/modules/vc/validators.js +25 -0
  1838. package/build/modules/vc/validators.js.map +1 -0
  1839. package/build/plugins/DependencyManager.d.ts +27 -0
  1840. package/build/plugins/DependencyManager.js +62 -0
  1841. package/build/plugins/DependencyManager.js.map +1 -0
  1842. package/build/plugins/Module.d.ts +17 -0
  1843. package/build/plugins/Module.js +3 -0
  1844. package/build/plugins/Module.js.map +1 -0
  1845. package/build/plugins/index.d.ts +3 -0
  1846. package/build/plugins/index.js +24 -0
  1847. package/build/plugins/index.js.map +1 -0
  1848. package/build/storage/BaseRecord.d.ts +54 -0
  1849. package/build/storage/BaseRecord.js +85 -0
  1850. package/build/storage/BaseRecord.js.map +1 -0
  1851. package/build/storage/FileSystem.d.ts +19 -0
  1852. package/build/storage/FileSystem.js +3 -0
  1853. package/build/storage/FileSystem.js.map +1 -0
  1854. package/build/storage/InMemoryMessageRepository.d.ts +11 -0
  1855. package/build/storage/InMemoryMessageRepository.js +49 -0
  1856. package/build/storage/InMemoryMessageRepository.js.map +1 -0
  1857. package/build/storage/MessageRepository.d.ts +6 -0
  1858. package/build/storage/MessageRepository.js +3 -0
  1859. package/build/storage/MessageRepository.js.map +1 -0
  1860. package/build/storage/Metadata.d.ts +58 -0
  1861. package/build/storage/Metadata.js +70 -0
  1862. package/build/storage/Metadata.js.map +1 -0
  1863. package/build/storage/Repository.d.ts +49 -0
  1864. package/build/storage/Repository.js +123 -0
  1865. package/build/storage/Repository.js.map +1 -0
  1866. package/build/storage/RepositoryEvents.d.ts +28 -0
  1867. package/build/storage/RepositoryEvents.js +10 -0
  1868. package/build/storage/RepositoryEvents.js.map +1 -0
  1869. package/build/storage/StorageService.d.ts +66 -0
  1870. package/build/storage/StorageService.js +3 -0
  1871. package/build/storage/StorageService.js.map +1 -0
  1872. package/build/storage/didcomm/DidCommMessageRecord.d.ts +48 -0
  1873. package/build/storage/didcomm/DidCommMessageRecord.js +49 -0
  1874. package/build/storage/didcomm/DidCommMessageRecord.js.map +1 -0
  1875. package/build/storage/didcomm/DidCommMessageRepository.d.ts +23 -0
  1876. package/build/storage/didcomm/DidCommMessageRepository.js +76 -0
  1877. package/build/storage/didcomm/DidCommMessageRepository.js.map +1 -0
  1878. package/build/storage/didcomm/DidCommMessageRole.d.ts +4 -0
  1879. package/build/storage/didcomm/DidCommMessageRole.js +9 -0
  1880. package/build/storage/didcomm/DidCommMessageRole.js.map +1 -0
  1881. package/build/storage/didcomm/index.d.ts +3 -0
  1882. package/build/storage/didcomm/index.js +20 -0
  1883. package/build/storage/didcomm/index.js.map +1 -0
  1884. package/build/storage/index.d.ts +2 -0
  1885. package/build/storage/index.js +19 -0
  1886. package/build/storage/index.js.map +1 -0
  1887. package/build/storage/migration/StorageUpdateService.d.ts +22 -0
  1888. package/build/storage/migration/StorageUpdateService.js +80 -0
  1889. package/build/storage/migration/StorageUpdateService.js.map +1 -0
  1890. package/build/storage/migration/UpdateAssistant.d.ts +34 -0
  1891. package/build/storage/migration/UpdateAssistant.js +191 -0
  1892. package/build/storage/migration/UpdateAssistant.js.map +1 -0
  1893. package/build/storage/migration/error/StorageUpdateError.d.ts +6 -0
  1894. package/build/storage/migration/error/StorageUpdateError.js +11 -0
  1895. package/build/storage/migration/error/StorageUpdateError.js.map +1 -0
  1896. package/build/storage/migration/index.d.ts +5 -0
  1897. package/build/storage/migration/index.js +21 -0
  1898. package/build/storage/migration/index.js.map +1 -0
  1899. package/build/storage/migration/repository/StorageVersionRecord.d.ts +14 -0
  1900. package/build/storage/migration/repository/StorageVersionRecord.js +23 -0
  1901. package/build/storage/migration/repository/StorageVersionRecord.js.map +1 -0
  1902. package/build/storage/migration/repository/StorageVersionRepository.d.ts +7 -0
  1903. package/build/storage/migration/repository/StorageVersionRepository.js +32 -0
  1904. package/build/storage/migration/repository/StorageVersionRepository.js.map +1 -0
  1905. package/build/storage/migration/updates/0.1-0.2/connection.d.ts +119 -0
  1906. package/build/storage/migration/updates/0.1-0.2/connection.js +382 -0
  1907. package/build/storage/migration/updates/0.1-0.2/connection.js.map +1 -0
  1908. package/build/storage/migration/updates/0.1-0.2/credential.d.ts +80 -0
  1909. package/build/storage/migration/updates/0.1-0.2/credential.js +215 -0
  1910. package/build/storage/migration/updates/0.1-0.2/credential.js.map +1 -0
  1911. package/build/storage/migration/updates/0.1-0.2/index.d.ts +6 -0
  1912. package/build/storage/migration/updates/0.1-0.2/index.js +13 -0
  1913. package/build/storage/migration/updates/0.1-0.2/index.js.map +1 -0
  1914. package/build/storage/migration/updates/0.1-0.2/mediation.d.ts +30 -0
  1915. package/build/storage/migration/updates/0.1-0.2/mediation.js +68 -0
  1916. package/build/storage/migration/updates/0.1-0.2/mediation.js.map +1 -0
  1917. package/build/storage/migration/updates/0.2-0.3/connection.d.ts +14 -0
  1918. package/build/storage/migration/updates/0.2-0.3/connection.js +48 -0
  1919. package/build/storage/migration/updates/0.2-0.3/connection.js.map +1 -0
  1920. package/build/storage/migration/updates/0.2-0.3/index.d.ts +2 -0
  1921. package/build/storage/migration/updates/0.2-0.3/index.js +11 -0
  1922. package/build/storage/migration/updates/0.2-0.3/index.js.map +1 -0
  1923. package/build/storage/migration/updates/0.2-0.3/proof.d.ts +42 -0
  1924. package/build/storage/migration/updates/0.2-0.3/proof.js +131 -0
  1925. package/build/storage/migration/updates/0.2-0.3/proof.js.map +1 -0
  1926. package/build/storage/migration/updates/0.3-0.3.1/did.d.ts +10 -0
  1927. package/build/storage/migration/updates/0.3-0.3.1/did.js +35 -0
  1928. package/build/storage/migration/updates/0.3-0.3.1/did.js.map +1 -0
  1929. package/build/storage/migration/updates/0.3-0.3.1/index.d.ts +2 -0
  1930. package/build/storage/migration/updates/0.3-0.3.1/index.js +9 -0
  1931. package/build/storage/migration/updates/0.3-0.3.1/index.js.map +1 -0
  1932. package/build/storage/migration/updates/0.3.1-0.4/cache.d.ts +5 -0
  1933. package/build/storage/migration/updates/0.3.1-0.4/cache.js +31 -0
  1934. package/build/storage/migration/updates/0.3.1-0.4/cache.js.map +1 -0
  1935. package/build/storage/migration/updates/0.3.1-0.4/did.d.ts +12 -0
  1936. package/build/storage/migration/updates/0.3.1-0.4/did.js +40 -0
  1937. package/build/storage/migration/updates/0.3.1-0.4/did.js.map +1 -0
  1938. package/build/storage/migration/updates/0.3.1-0.4/index.d.ts +2 -0
  1939. package/build/storage/migration/updates/0.3.1-0.4/index.js +13 -0
  1940. package/build/storage/migration/updates/0.3.1-0.4/index.js.map +1 -0
  1941. package/build/storage/migration/updates/0.3.1-0.4/w3cCredentialRecord.d.ts +5 -0
  1942. package/build/storage/migration/updates/0.3.1-0.4/w3cCredentialRecord.js +22 -0
  1943. package/build/storage/migration/updates/0.3.1-0.4/w3cCredentialRecord.js.map +1 -0
  1944. package/build/storage/migration/updates.d.ts +36 -0
  1945. package/build/storage/migration/updates.js +38 -0
  1946. package/build/storage/migration/updates.js.map +1 -0
  1947. package/build/transport/HttpOutboundTransport.d.ts +12 -0
  1948. package/build/transport/HttpOutboundTransport.js +94 -0
  1949. package/build/transport/HttpOutboundTransport.js.map +1 -0
  1950. package/build/transport/InboundTransport.d.ts +5 -0
  1951. package/build/transport/InboundTransport.js +3 -0
  1952. package/build/transport/InboundTransport.js.map +1 -0
  1953. package/build/transport/OutboundTransport.d.ts +8 -0
  1954. package/build/transport/OutboundTransport.js +3 -0
  1955. package/build/transport/OutboundTransport.js.map +1 -0
  1956. package/build/transport/TransportEventTypes.d.ts +19 -0
  1957. package/build/transport/TransportEventTypes.js +9 -0
  1958. package/build/transport/TransportEventTypes.js.map +1 -0
  1959. package/build/transport/WsOutboundTransport.d.ts +18 -0
  1960. package/build/transport/WsOutboundTransport.js +125 -0
  1961. package/build/transport/WsOutboundTransport.js.map +1 -0
  1962. package/build/transport/index.d.ts +5 -0
  1963. package/build/transport/index.js +22 -0
  1964. package/build/transport/index.js.map +1 -0
  1965. package/build/types.d.ts +114 -0
  1966. package/build/types.js +18 -0
  1967. package/build/types.js.map +1 -0
  1968. package/build/utils/Hasher.d.ts +4 -0
  1969. package/build/utils/Hasher.js +18 -0
  1970. package/build/utils/Hasher.js.map +1 -0
  1971. package/build/utils/HashlinkEncoder.d.ts +45 -0
  1972. package/build/utils/HashlinkEncoder.js +111 -0
  1973. package/build/utils/HashlinkEncoder.js.map +1 -0
  1974. package/build/utils/JWE.d.ts +2 -0
  1975. package/build/utils/JWE.js +15 -0
  1976. package/build/utils/JWE.js.map +1 -0
  1977. package/build/utils/JsonEncoder.d.ts +45 -0
  1978. package/build/utils/JsonEncoder.js +65 -0
  1979. package/build/utils/JsonEncoder.js.map +1 -0
  1980. package/build/utils/JsonTransformer.d.ts +16 -0
  1981. package/build/utils/JsonTransformer.js +46 -0
  1982. package/build/utils/JsonTransformer.js.map +1 -0
  1983. package/build/utils/LinkedAttachment.d.ts +23 -0
  1984. package/build/utils/LinkedAttachment.js +51 -0
  1985. package/build/utils/LinkedAttachment.js.map +1 -0
  1986. package/build/utils/MessageValidator.d.ts +9 -0
  1987. package/build/utils/MessageValidator.js +33 -0
  1988. package/build/utils/MessageValidator.js.map +1 -0
  1989. package/build/utils/MultiBaseEncoder.d.ts +24 -0
  1990. package/build/utils/MultiBaseEncoder.js +53 -0
  1991. package/build/utils/MultiBaseEncoder.js.map +1 -0
  1992. package/build/utils/MultiHashEncoder.d.ts +34 -0
  1993. package/build/utils/MultiHashEncoder.js +69 -0
  1994. package/build/utils/MultiHashEncoder.js.map +1 -0
  1995. package/build/utils/TypedArrayEncoder.d.ts +60 -0
  1996. package/build/utils/TypedArrayEncoder.js +90 -0
  1997. package/build/utils/TypedArrayEncoder.js.map +1 -0
  1998. package/build/utils/VarintEncoder.d.ts +6 -0
  1999. package/build/utils/VarintEncoder.js +21 -0
  2000. package/build/utils/VarintEncoder.js.map +1 -0
  2001. package/build/utils/array.d.ts +5 -0
  2002. package/build/utils/array.js +18 -0
  2003. package/build/utils/array.js.map +1 -0
  2004. package/build/utils/attachment.d.ts +18 -0
  2005. package/build/utils/attachment.js +40 -0
  2006. package/build/utils/attachment.js.map +1 -0
  2007. package/build/utils/base58.d.ts +2 -0
  2008. package/build/utils/base58.js +18 -0
  2009. package/build/utils/base58.js.map +1 -0
  2010. package/build/utils/base64.d.ts +1 -0
  2011. package/build/utils/base64.js +8 -0
  2012. package/build/utils/base64.js.map +1 -0
  2013. package/build/utils/buffer.d.ts +2 -0
  2014. package/build/utils/buffer.js +6 -0
  2015. package/build/utils/buffer.js.map +1 -0
  2016. package/build/utils/deepEquality.d.ts +1 -0
  2017. package/build/utils/deepEquality.js +57 -0
  2018. package/build/utils/deepEquality.js.map +1 -0
  2019. package/build/utils/did.d.ts +9 -0
  2020. package/build/utils/did.js +22 -0
  2021. package/build/utils/did.js.map +1 -0
  2022. package/build/utils/error.d.ts +1 -0
  2023. package/build/utils/error.js +6 -0
  2024. package/build/utils/error.js.map +1 -0
  2025. package/build/utils/index.d.ts +16 -0
  2026. package/build/utils/index.js +33 -0
  2027. package/build/utils/index.js.map +1 -0
  2028. package/build/utils/messageType.d.ts +102 -0
  2029. package/build/utils/messageType.js +118 -0
  2030. package/build/utils/messageType.js.map +1 -0
  2031. package/build/utils/mixins.d.ts +17 -0
  2032. package/build/utils/mixins.js +21 -0
  2033. package/build/utils/mixins.js.map +1 -0
  2034. package/build/utils/objectEquality.d.ts +1 -0
  2035. package/build/utils/objectEquality.js +28 -0
  2036. package/build/utils/objectEquality.js.map +1 -0
  2037. package/build/utils/parseInvitation.d.ts +30 -0
  2038. package/build/utils/parseInvitation.js +174 -0
  2039. package/build/utils/parseInvitation.js.map +1 -0
  2040. package/build/utils/path.d.ts +7 -0
  2041. package/build/utils/path.js +14 -0
  2042. package/build/utils/path.js.map +1 -0
  2043. package/build/utils/promises.d.ts +11 -0
  2044. package/build/utils/promises.js +27 -0
  2045. package/build/utils/promises.js.map +1 -0
  2046. package/build/utils/sleep.d.ts +1 -0
  2047. package/build/utils/sleep.js +8 -0
  2048. package/build/utils/sleep.js.map +1 -0
  2049. package/build/utils/string.d.ts +1 -0
  2050. package/build/utils/string.js +9 -0
  2051. package/build/utils/string.js.map +1 -0
  2052. package/build/utils/thread.d.ts +2 -0
  2053. package/build/utils/thread.js +9 -0
  2054. package/build/utils/thread.js.map +1 -0
  2055. package/build/utils/timestamp.d.ts +1 -0
  2056. package/build/utils/timestamp.js +16 -0
  2057. package/build/utils/timestamp.js.map +1 -0
  2058. package/build/utils/transformers.d.ts +15 -0
  2059. package/build/utils/transformers.js +84 -0
  2060. package/build/utils/transformers.js.map +1 -0
  2061. package/build/utils/type.d.ts +4 -0
  2062. package/build/utils/type.js +8 -0
  2063. package/build/utils/type.js.map +1 -0
  2064. package/build/utils/uri.d.ts +1 -0
  2065. package/build/utils/uri.js +9 -0
  2066. package/build/utils/uri.js.map +1 -0
  2067. package/build/utils/uuid.d.ts +2 -0
  2068. package/build/utils/uuid.js +13 -0
  2069. package/build/utils/uuid.js.map +1 -0
  2070. package/build/utils/validators.d.ts +20 -0
  2071. package/build/utils/validators.js +71 -0
  2072. package/build/utils/validators.js.map +1 -0
  2073. package/build/utils/version.d.ts +8 -0
  2074. package/build/utils/version.js +19 -0
  2075. package/build/utils/version.js.map +1 -0
  2076. package/build/wallet/Wallet.d.ts +63 -0
  2077. package/build/wallet/Wallet.js +3 -0
  2078. package/build/wallet/Wallet.js.map +1 -0
  2079. package/build/wallet/WalletApi.d.ts +40 -0
  2080. package/build/wallet/WalletApi.js +118 -0
  2081. package/build/wallet/WalletApi.js.map +1 -0
  2082. package/build/wallet/WalletModule.d.ts +9 -0
  2083. package/build/wallet/WalletModule.js +19 -0
  2084. package/build/wallet/WalletModule.js.map +1 -0
  2085. package/build/wallet/error/WalletDuplicateError.d.ts +7 -0
  2086. package/build/wallet/error/WalletDuplicateError.js +11 -0
  2087. package/build/wallet/error/WalletDuplicateError.js.map +1 -0
  2088. package/build/wallet/error/WalletError.d.ts +6 -0
  2089. package/build/wallet/error/WalletError.js +11 -0
  2090. package/build/wallet/error/WalletError.js.map +1 -0
  2091. package/build/wallet/error/WalletExportPathExistsError.d.ts +6 -0
  2092. package/build/wallet/error/WalletExportPathExistsError.js +11 -0
  2093. package/build/wallet/error/WalletExportPathExistsError.js.map +1 -0
  2094. package/build/wallet/error/WalletImportPathExistsError.d.ts +6 -0
  2095. package/build/wallet/error/WalletImportPathExistsError.js +11 -0
  2096. package/build/wallet/error/WalletImportPathExistsError.js.map +1 -0
  2097. package/build/wallet/error/WalletInvalidKeyError.d.ts +7 -0
  2098. package/build/wallet/error/WalletInvalidKeyError.js +11 -0
  2099. package/build/wallet/error/WalletInvalidKeyError.js.map +1 -0
  2100. package/build/wallet/error/WalletKeyExistsError.d.ts +6 -0
  2101. package/build/wallet/error/WalletKeyExistsError.js +11 -0
  2102. package/build/wallet/error/WalletKeyExistsError.js.map +1 -0
  2103. package/build/wallet/error/WalletNotFoundError.d.ts +7 -0
  2104. package/build/wallet/error/WalletNotFoundError.js +11 -0
  2105. package/build/wallet/error/WalletNotFoundError.js.map +1 -0
  2106. package/build/wallet/error/index.d.ts +7 -0
  2107. package/build/wallet/error/index.js +18 -0
  2108. package/build/wallet/error/index.js.map +1 -0
  2109. package/build/wallet/index.d.ts +3 -0
  2110. package/build/wallet/index.js +20 -0
  2111. package/build/wallet/index.js.map +1 -0
  2112. package/package.json +70 -0
@@ -0,0 +1,318 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __rest = (this && this.__rest) || function (s, e) {
12
+ var t = {};
13
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
14
+ t[p] = s[p];
15
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
16
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
17
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
18
+ t[p[i]] = s[p[i]];
19
+ }
20
+ return t;
21
+ };
22
+ var __importDefault = (this && this.__importDefault) || function (mod) {
23
+ return (mod && mod.__esModule) ? mod : { "default": mod };
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.W3cJsonLdCredentialService = void 0;
27
+ const WalletKeyPair_1 = require("../../../crypto/WalletKeyPair");
28
+ const error_1 = require("../../../error");
29
+ const plugins_1 = require("../../../plugins");
30
+ const utils_1 = require("../../../utils");
31
+ const dids_1 = require("../../dids");
32
+ const key_type_1 = require("../../dids/domain/key-type");
33
+ const W3cCredentialsModuleConfig_1 = require("../W3cCredentialsModuleConfig");
34
+ const util_1 = require("../util");
35
+ const SignatureSuiteRegistry_1 = require("./SignatureSuiteRegistry");
36
+ const deriveProof_1 = require("./deriveProof");
37
+ const jsonldUtil_1 = require("./jsonldUtil");
38
+ const jsonld_1 = __importDefault(require("./libraries/jsonld"));
39
+ const vc_1 = __importDefault(require("./libraries/vc"));
40
+ const models_1 = require("./models");
41
+ const W3cJsonLdVerifiablePresentation_1 = require("./models/W3cJsonLdVerifiablePresentation");
42
+ /**
43
+ * Supports signing and verification of credentials according to the [Verifiable Credential Data Model](https://www.w3.org/TR/vc-data-model)
44
+ * using [Data Integrity Proof](https://www.w3.org/TR/vc-data-model/#data-integrity-proofs).
45
+ */
46
+ let W3cJsonLdCredentialService = class W3cJsonLdCredentialService {
47
+ constructor(signatureSuiteRegistry, w3cCredentialsModuleConfig) {
48
+ this.signatureSuiteRegistry = signatureSuiteRegistry;
49
+ this.w3cCredentialsModuleConfig = w3cCredentialsModuleConfig;
50
+ }
51
+ /**
52
+ * Signs a credential
53
+ */
54
+ async signCredential(agentContext, options) {
55
+ var _a;
56
+ const WalletKeyPair = (0, WalletKeyPair_1.createWalletKeyPairClass)(agentContext.wallet);
57
+ const signingKey = await this.getPublicKeyFromVerificationMethod(agentContext, options.verificationMethod);
58
+ const suiteInfo = this.signatureSuiteRegistry.getByProofType(options.proofType);
59
+ if (!suiteInfo.keyTypes.includes(signingKey.keyType)) {
60
+ throw new error_1.AriesFrameworkError('The key type of the verification method does not match the suite');
61
+ }
62
+ const keyPair = new WalletKeyPair({
63
+ controller: options.credential.issuerId,
64
+ id: options.verificationMethod,
65
+ key: signingKey,
66
+ wallet: agentContext.wallet,
67
+ });
68
+ const SuiteClass = suiteInfo.suiteClass;
69
+ const suite = new SuiteClass({
70
+ key: keyPair,
71
+ LDKeyClass: WalletKeyPair,
72
+ proof: {
73
+ verificationMethod: options.verificationMethod,
74
+ },
75
+ useNativeCanonize: false,
76
+ date: (_a = options.created) !== null && _a !== void 0 ? _a : (0, util_1.w3cDate)(),
77
+ });
78
+ const result = await vc_1.default.issue({
79
+ credential: utils_1.JsonTransformer.toJSON(options.credential),
80
+ suite: suite,
81
+ purpose: options.proofPurpose,
82
+ documentLoader: this.w3cCredentialsModuleConfig.documentLoader(agentContext),
83
+ });
84
+ return utils_1.JsonTransformer.fromJSON(result, models_1.W3cJsonLdVerifiableCredential);
85
+ }
86
+ /**
87
+ * Verifies the signature(s) of a credential
88
+ *
89
+ * @param credential the credential to be verified
90
+ * @returns the verification result
91
+ */
92
+ async verifyCredential(agentContext, options) {
93
+ var _a, _b, _c;
94
+ try {
95
+ const verifyCredentialStatus = (_a = options.verifyCredentialStatus) !== null && _a !== void 0 ? _a : true;
96
+ const suites = this.getSignatureSuitesForCredential(agentContext, options.credential);
97
+ const verifyOptions = {
98
+ credential: utils_1.JsonTransformer.toJSON(options.credential),
99
+ suite: suites,
100
+ documentLoader: this.w3cCredentialsModuleConfig.documentLoader(agentContext),
101
+ checkStatus: ({ credential }) => {
102
+ // Only throw error if credentialStatus is present
103
+ if (verifyCredentialStatus && 'credentialStatus' in credential) {
104
+ throw new error_1.AriesFrameworkError('Verifying credential status for JSON-LD credentials is currently not supported');
105
+ }
106
+ return {
107
+ verified: true,
108
+ };
109
+ },
110
+ };
111
+ // this is a hack because vcjs throws if purpose is passed as undefined or null
112
+ if (options.proofPurpose) {
113
+ verifyOptions['purpose'] = options.proofPurpose;
114
+ }
115
+ const result = await vc_1.default.verifyCredential(verifyOptions);
116
+ const { verified: isValid } = result, remainingResult = __rest(result, ["verified"]);
117
+ if (!isValid) {
118
+ agentContext.config.logger.debug(`Credential verification failed: ${(_b = result.error) === null || _b === void 0 ? void 0 : _b.message}`, {
119
+ stack: (_c = result.error) === null || _c === void 0 ? void 0 : _c.stack,
120
+ });
121
+ }
122
+ // We map the result to our own result type to make it easier to work with
123
+ // however, for now we just add a single vcJs validation result as we don't
124
+ // have access to the internal validation results of vc-js
125
+ return {
126
+ isValid,
127
+ validations: {
128
+ vcJs: Object.assign({ isValid }, remainingResult),
129
+ },
130
+ error: result.error,
131
+ };
132
+ }
133
+ catch (error) {
134
+ return {
135
+ isValid: false,
136
+ validations: {},
137
+ error,
138
+ };
139
+ }
140
+ }
141
+ /**
142
+ * Signs a presentation including the credentials it includes
143
+ *
144
+ * @param presentation the presentation to be signed
145
+ * @returns the signed presentation
146
+ */
147
+ async signPresentation(agentContext, options) {
148
+ // create keyPair
149
+ const WalletKeyPair = (0, WalletKeyPair_1.createWalletKeyPairClass)(agentContext.wallet);
150
+ const suiteInfo = this.signatureSuiteRegistry.getByProofType(options.proofType);
151
+ if (!suiteInfo) {
152
+ throw new error_1.AriesFrameworkError(`The requested proofType ${options.proofType} is not supported`);
153
+ }
154
+ const signingKey = await this.getPublicKeyFromVerificationMethod(agentContext, options.verificationMethod);
155
+ if (!suiteInfo.keyTypes.includes(signingKey.keyType)) {
156
+ throw new error_1.AriesFrameworkError('The key type of the verification method does not match the suite');
157
+ }
158
+ const documentLoader = this.w3cCredentialsModuleConfig.documentLoader(agentContext);
159
+ const verificationMethodObject = (await documentLoader(options.verificationMethod)).document;
160
+ const keyPair = new WalletKeyPair({
161
+ controller: verificationMethodObject['controller'],
162
+ id: options.verificationMethod,
163
+ key: signingKey,
164
+ wallet: agentContext.wallet,
165
+ });
166
+ const suite = new suiteInfo.suiteClass({
167
+ LDKeyClass: WalletKeyPair,
168
+ proof: {
169
+ verificationMethod: options.verificationMethod,
170
+ },
171
+ date: new Date().toISOString(),
172
+ key: keyPair,
173
+ useNativeCanonize: false,
174
+ });
175
+ const result = await vc_1.default.signPresentation({
176
+ presentation: utils_1.JsonTransformer.toJSON(options.presentation),
177
+ suite: suite,
178
+ challenge: options.challenge,
179
+ domain: options.domain,
180
+ documentLoader: this.w3cCredentialsModuleConfig.documentLoader(agentContext),
181
+ });
182
+ return utils_1.JsonTransformer.fromJSON(result, W3cJsonLdVerifiablePresentation_1.W3cJsonLdVerifiablePresentation);
183
+ }
184
+ /**
185
+ * Verifies a presentation including the credentials it includes
186
+ *
187
+ * @param presentation the presentation to be verified
188
+ * @returns the verification result
189
+ */
190
+ async verifyPresentation(agentContext, options) {
191
+ try {
192
+ // create keyPair
193
+ const WalletKeyPair = (0, WalletKeyPair_1.createWalletKeyPairClass)(agentContext.wallet);
194
+ let proofs = options.presentation.proof;
195
+ if (!Array.isArray(proofs)) {
196
+ proofs = [proofs];
197
+ }
198
+ if (options.purpose) {
199
+ proofs = proofs.filter((proof) => proof.proofPurpose === options.purpose.term);
200
+ }
201
+ const presentationSuites = proofs.map((proof) => {
202
+ const SuiteClass = this.signatureSuiteRegistry.getByProofType(proof.type).suiteClass;
203
+ return new SuiteClass({
204
+ LDKeyClass: WalletKeyPair,
205
+ proof: {
206
+ verificationMethod: proof.verificationMethod,
207
+ },
208
+ date: proof.created,
209
+ useNativeCanonize: false,
210
+ });
211
+ });
212
+ const credentials = (0, utils_1.asArray)(options.presentation.verifiableCredential);
213
+ (0, jsonldUtil_1.assertOnlyW3cJsonLdVerifiableCredentials)(credentials);
214
+ const credentialSuites = credentials.map((credential) => this.getSignatureSuitesForCredential(agentContext, credential));
215
+ const allSuites = presentationSuites.concat(...credentialSuites);
216
+ const verifyOptions = {
217
+ presentation: utils_1.JsonTransformer.toJSON(options.presentation),
218
+ suite: allSuites,
219
+ challenge: options.challenge,
220
+ domain: options.domain,
221
+ documentLoader: this.w3cCredentialsModuleConfig.documentLoader(agentContext),
222
+ };
223
+ // this is a hack because vcjs throws if purpose is passed as undefined or null
224
+ if (options.purpose) {
225
+ verifyOptions['presentationPurpose'] = options.purpose;
226
+ }
227
+ const result = await vc_1.default.verify(verifyOptions);
228
+ const { verified: isValid } = result, remainingResult = __rest(result
229
+ // We map the result to our own result type to make it easier to work with
230
+ // however, for now we just add a single vcJs validation result as we don't
231
+ // have access to the internal validation results of vc-js
232
+ , ["verified"]);
233
+ // We map the result to our own result type to make it easier to work with
234
+ // however, for now we just add a single vcJs validation result as we don't
235
+ // have access to the internal validation results of vc-js
236
+ return {
237
+ isValid,
238
+ validations: {
239
+ vcJs: Object.assign({ isValid }, remainingResult),
240
+ },
241
+ error: result.error,
242
+ };
243
+ }
244
+ catch (error) {
245
+ return {
246
+ isValid: false,
247
+ validations: {},
248
+ error,
249
+ };
250
+ }
251
+ }
252
+ async deriveProof(agentContext, options) {
253
+ // TODO: make suite dynamic
254
+ const suiteInfo = this.signatureSuiteRegistry.getByProofType('BbsBlsSignatureProof2020');
255
+ const SuiteClass = suiteInfo.suiteClass;
256
+ const suite = new SuiteClass();
257
+ const proof = await (0, deriveProof_1.deriveProof)(utils_1.JsonTransformer.toJSON(options.credential), options.revealDocument, {
258
+ suite: suite,
259
+ documentLoader: this.w3cCredentialsModuleConfig.documentLoader(agentContext),
260
+ });
261
+ return proof;
262
+ }
263
+ getVerificationMethodTypesByProofType(proofType) {
264
+ return this.signatureSuiteRegistry.getByProofType(proofType).verificationMethodTypes;
265
+ }
266
+ getKeyTypesByProofType(proofType) {
267
+ return this.signatureSuiteRegistry.getByProofType(proofType).keyTypes;
268
+ }
269
+ getProofTypeByVerificationMethodType(verificationMethodType) {
270
+ const suite = this.signatureSuiteRegistry.getByVerificationMethodType(verificationMethodType);
271
+ if (!suite) {
272
+ throw new error_1.AriesFrameworkError(`No suite found for verification method type ${verificationMethodType}}`);
273
+ }
274
+ return suite.proofType;
275
+ }
276
+ async getExpandedTypesForCredential(agentContext, credential) {
277
+ // Get the expanded types
278
+ const expandedTypes = (await jsonld_1.default.expand(utils_1.JsonTransformer.toJSON(credential), {
279
+ documentLoader: this.w3cCredentialsModuleConfig.documentLoader(agentContext),
280
+ }))[0]['@type'];
281
+ return (0, utils_1.asArray)(expandedTypes);
282
+ }
283
+ async getPublicKeyFromVerificationMethod(agentContext, verificationMethod) {
284
+ const documentLoader = this.w3cCredentialsModuleConfig.documentLoader(agentContext);
285
+ const verificationMethodObject = await documentLoader(verificationMethod);
286
+ const verificationMethodClass = utils_1.JsonTransformer.fromJSON(verificationMethodObject.document, dids_1.VerificationMethod);
287
+ const key = (0, key_type_1.getKeyFromVerificationMethod)(verificationMethodClass);
288
+ return key;
289
+ }
290
+ getSignatureSuitesForCredential(agentContext, credential) {
291
+ const WalletKeyPair = (0, WalletKeyPair_1.createWalletKeyPairClass)(agentContext.wallet);
292
+ let proofs = credential.proof;
293
+ if (!Array.isArray(proofs)) {
294
+ proofs = [proofs];
295
+ }
296
+ return proofs.map((proof) => {
297
+ var _a;
298
+ const SuiteClass = (_a = this.signatureSuiteRegistry.getByProofType(proof.type)) === null || _a === void 0 ? void 0 : _a.suiteClass;
299
+ if (SuiteClass) {
300
+ return new SuiteClass({
301
+ LDKeyClass: WalletKeyPair,
302
+ proof: {
303
+ verificationMethod: proof.verificationMethod,
304
+ },
305
+ date: proof.created,
306
+ useNativeCanonize: false,
307
+ });
308
+ }
309
+ });
310
+ }
311
+ };
312
+ W3cJsonLdCredentialService = __decorate([
313
+ (0, plugins_1.injectable)(),
314
+ __metadata("design:paramtypes", [SignatureSuiteRegistry_1.SignatureSuiteRegistry,
315
+ W3cCredentialsModuleConfig_1.W3cCredentialsModuleConfig])
316
+ ], W3cJsonLdCredentialService);
317
+ exports.W3cJsonLdCredentialService = W3cJsonLdCredentialService;
318
+ //# sourceMappingURL=W3cJsonLdCredentialService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"W3cJsonLdCredentialService.js","sourceRoot":"","sources":["../../../../src/modules/vc/data-integrity/W3cJsonLdCredentialService.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,26 @@
1
+ export declare const X25519_V1: {
2
+ '@context': {
3
+ id: string;
4
+ type: string;
5
+ '@protected': boolean;
6
+ X25519KeyAgreementKey2019: {
7
+ '@id': string;
8
+ '@context': {
9
+ '@protected': boolean;
10
+ id: string;
11
+ type: string;
12
+ controller: {
13
+ '@id': string;
14
+ '@type': string;
15
+ };
16
+ revoked: {
17
+ '@id': string;
18
+ '@type': string;
19
+ };
20
+ publicKeyBase58: {
21
+ '@id': string;
22
+ };
23
+ };
24
+ };
25
+ };
26
+ };
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.X25519_V1 = void 0;
4
+ exports.X25519_V1 = {
5
+ '@context': {
6
+ id: '@id',
7
+ type: '@type',
8
+ '@protected': true,
9
+ X25519KeyAgreementKey2019: {
10
+ '@id': 'https://w3id.org/security#X25519KeyAgreementKey2019',
11
+ '@context': {
12
+ '@protected': true,
13
+ id: '@id',
14
+ type: '@type',
15
+ controller: {
16
+ '@id': 'https://w3id.org/security#controller',
17
+ '@type': '@id',
18
+ },
19
+ revoked: {
20
+ '@id': 'https://w3id.org/security#revoked',
21
+ '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',
22
+ },
23
+ publicKeyBase58: {
24
+ '@id': 'https://w3id.org/security#publicKeyBase58',
25
+ },
26
+ },
27
+ },
28
+ },
29
+ };
30
+ //# sourceMappingURL=X25519_v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"X25519_v1.js","sourceRoot":"","sources":["../../../../../../src/modules/vc/data-integrity/__tests__/contexts/X25519_v1.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACvB,UAAU,EAAE;QACV,EAAE,EAAE,KAAK;QACT,IAAI,EAAE,OAAO;QACb,YAAY,EAAE,IAAI;QAClB,yBAAyB,EAAE;YACzB,KAAK,EAAE,qDAAqD;YAC5D,UAAU,EAAE;gBACV,YAAY,EAAE,IAAI;gBAClB,EAAE,EAAE,KAAK;gBACT,IAAI,EAAE,OAAO;gBACb,UAAU,EAAE;oBACV,KAAK,EAAE,sCAAsC;oBAC7C,OAAO,EAAE,KAAK;iBACf;gBACD,OAAO,EAAE;oBACP,KAAK,EAAE,mCAAmC;oBAC1C,OAAO,EAAE,2CAA2C;iBACrD;gBACD,eAAe,EAAE;oBACf,KAAK,EAAE,2CAA2C;iBACnD;aACF;SACF;KACF;CACF,CAAA"}
@@ -0,0 +1,128 @@
1
+ export declare const BBS_V1: {
2
+ '@context': {
3
+ '@version': number;
4
+ id: string;
5
+ type: string;
6
+ BbsBlsSignature2020: {
7
+ '@id': string;
8
+ '@context': {
9
+ '@version': number;
10
+ '@protected': boolean;
11
+ id: string;
12
+ type: string;
13
+ challenge: string;
14
+ created: {
15
+ '@id': string;
16
+ '@type': string;
17
+ };
18
+ domain: string;
19
+ proofValue: string;
20
+ nonce: string;
21
+ proofPurpose: {
22
+ '@id': string;
23
+ '@type': string;
24
+ '@context': {
25
+ '@version': number;
26
+ '@protected': boolean;
27
+ id: string;
28
+ type: string;
29
+ assertionMethod: {
30
+ '@id': string;
31
+ '@type': string;
32
+ '@container': string;
33
+ };
34
+ authentication: {
35
+ '@id': string;
36
+ '@type': string;
37
+ '@container': string;
38
+ };
39
+ };
40
+ };
41
+ verificationMethod: {
42
+ '@id': string;
43
+ '@type': string;
44
+ };
45
+ };
46
+ };
47
+ BbsBlsSignatureProof2020: {
48
+ '@id': string;
49
+ '@context': {
50
+ '@version': number;
51
+ '@protected': boolean;
52
+ id: string;
53
+ type: string;
54
+ challenge: string;
55
+ created: {
56
+ '@id': string;
57
+ '@type': string;
58
+ };
59
+ domain: string;
60
+ nonce: string;
61
+ proofPurpose: {
62
+ '@id': string;
63
+ '@type': string;
64
+ '@context': {
65
+ '@version': number;
66
+ '@protected': boolean;
67
+ id: string;
68
+ type: string;
69
+ sec: string;
70
+ assertionMethod: {
71
+ '@id': string;
72
+ '@type': string;
73
+ '@container': string;
74
+ };
75
+ authentication: {
76
+ '@id': string;
77
+ '@type': string;
78
+ '@container': string;
79
+ };
80
+ };
81
+ };
82
+ proofValue: string;
83
+ verificationMethod: {
84
+ '@id': string;
85
+ '@type': string;
86
+ };
87
+ };
88
+ };
89
+ Bls12381G1Key2020: {
90
+ '@id': string;
91
+ '@context': {
92
+ '@protected': boolean;
93
+ id: string;
94
+ type: string;
95
+ controller: {
96
+ '@id': string;
97
+ '@type': string;
98
+ };
99
+ revoked: {
100
+ '@id': string;
101
+ '@type': string;
102
+ };
103
+ publicKeyBase58: {
104
+ '@id': string;
105
+ };
106
+ };
107
+ };
108
+ Bls12381G2Key2020: {
109
+ '@id': string;
110
+ '@context': {
111
+ '@protected': boolean;
112
+ id: string;
113
+ type: string;
114
+ controller: {
115
+ '@id': string;
116
+ '@type': string;
117
+ };
118
+ revoked: {
119
+ '@id': string;
120
+ '@type': string;
121
+ };
122
+ publicKeyBase58: {
123
+ '@id': string;
124
+ };
125
+ };
126
+ };
127
+ };
128
+ };
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BBS_V1 = void 0;
4
+ exports.BBS_V1 = {
5
+ '@context': {
6
+ '@version': 1.1,
7
+ id: '@id',
8
+ type: '@type',
9
+ BbsBlsSignature2020: {
10
+ '@id': 'https://w3id.org/security#BbsBlsSignature2020',
11
+ '@context': {
12
+ '@version': 1.1,
13
+ '@protected': true,
14
+ id: '@id',
15
+ type: '@type',
16
+ challenge: 'https://w3id.org/security#challenge',
17
+ created: {
18
+ '@id': 'http://purl.org/dc/terms/created',
19
+ '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',
20
+ },
21
+ domain: 'https://w3id.org/security#domain',
22
+ proofValue: 'https://w3id.org/security#proofValue',
23
+ nonce: 'https://w3id.org/security#nonce',
24
+ proofPurpose: {
25
+ '@id': 'https://w3id.org/security#proofPurpose',
26
+ '@type': '@vocab',
27
+ '@context': {
28
+ '@version': 1.1,
29
+ '@protected': true,
30
+ id: '@id',
31
+ type: '@type',
32
+ assertionMethod: {
33
+ '@id': 'https://w3id.org/security#assertionMethod',
34
+ '@type': '@id',
35
+ '@container': '@set',
36
+ },
37
+ authentication: {
38
+ '@id': 'https://w3id.org/security#authenticationMethod',
39
+ '@type': '@id',
40
+ '@container': '@set',
41
+ },
42
+ },
43
+ },
44
+ verificationMethod: {
45
+ '@id': 'https://w3id.org/security#verificationMethod',
46
+ '@type': '@id',
47
+ },
48
+ },
49
+ },
50
+ BbsBlsSignatureProof2020: {
51
+ '@id': 'https://w3id.org/security#BbsBlsSignatureProof2020',
52
+ '@context': {
53
+ '@version': 1.1,
54
+ '@protected': true,
55
+ id: '@id',
56
+ type: '@type',
57
+ challenge: 'https://w3id.org/security#challenge',
58
+ created: {
59
+ '@id': 'http://purl.org/dc/terms/created',
60
+ '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',
61
+ },
62
+ domain: 'https://w3id.org/security#domain',
63
+ nonce: 'https://w3id.org/security#nonce',
64
+ proofPurpose: {
65
+ '@id': 'https://w3id.org/security#proofPurpose',
66
+ '@type': '@vocab',
67
+ '@context': {
68
+ '@version': 1.1,
69
+ '@protected': true,
70
+ id: '@id',
71
+ type: '@type',
72
+ sec: 'https://w3id.org/security#',
73
+ assertionMethod: {
74
+ '@id': 'https://w3id.org/security#assertionMethod',
75
+ '@type': '@id',
76
+ '@container': '@set',
77
+ },
78
+ authentication: {
79
+ '@id': 'https://w3id.org/security#authenticationMethod',
80
+ '@type': '@id',
81
+ '@container': '@set',
82
+ },
83
+ },
84
+ },
85
+ proofValue: 'https://w3id.org/security#proofValue',
86
+ verificationMethod: {
87
+ '@id': 'https://w3id.org/security#verificationMethod',
88
+ '@type': '@id',
89
+ },
90
+ },
91
+ },
92
+ Bls12381G1Key2020: {
93
+ '@id': 'https://w3id.org/security#Bls12381G1Key2020',
94
+ '@context': {
95
+ '@protected': true,
96
+ id: '@id',
97
+ type: '@type',
98
+ controller: {
99
+ '@id': 'https://w3id.org/security#controller',
100
+ '@type': '@id',
101
+ },
102
+ revoked: {
103
+ '@id': 'https://w3id.org/security#revoked',
104
+ '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',
105
+ },
106
+ publicKeyBase58: {
107
+ '@id': 'https://w3id.org/security#publicKeyBase58',
108
+ },
109
+ },
110
+ },
111
+ Bls12381G2Key2020: {
112
+ '@id': 'https://w3id.org/security#Bls12381G2Key2020',
113
+ '@context': {
114
+ '@protected': true,
115
+ id: '@id',
116
+ type: '@type',
117
+ controller: {
118
+ '@id': 'https://w3id.org/security#controller',
119
+ '@type': '@id',
120
+ },
121
+ revoked: {
122
+ '@id': 'https://w3id.org/security#revoked',
123
+ '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',
124
+ },
125
+ publicKeyBase58: {
126
+ '@id': 'https://w3id.org/security#publicKeyBase58',
127
+ },
128
+ },
129
+ },
130
+ },
131
+ };
132
+ //# sourceMappingURL=bbs_v1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bbs_v1.js","sourceRoot":"","sources":["../../../../../../src/modules/vc/data-integrity/__tests__/contexts/bbs_v1.ts"],"names":[],"mappings":"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"}