@credo-ts/anoncreds 0.6.1-pr-2091-20241119140918 → 0.6.1

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 (837) hide show
  1. package/build/AnonCredsApi.d.mts +113 -0
  2. package/build/AnonCredsApi.d.mts.map +1 -0
  3. package/build/AnonCredsApi.mjs +439 -0
  4. package/build/AnonCredsApi.mjs.map +1 -0
  5. package/build/AnonCredsApiOptions.d.mts +28 -0
  6. package/build/AnonCredsApiOptions.d.mts.map +1 -0
  7. package/build/AnonCredsModule.d.mts +29 -0
  8. package/build/AnonCredsModule.d.mts.map +1 -0
  9. package/build/AnonCredsModule.mjs +62 -0
  10. package/build/AnonCredsModule.mjs.map +1 -0
  11. package/build/AnonCredsModuleConfig.d.mts +79 -0
  12. package/build/AnonCredsModuleConfig.d.mts.map +1 -0
  13. package/build/AnonCredsModuleConfig.mjs +31 -0
  14. package/build/AnonCredsModuleConfig.mjs.map +1 -0
  15. package/build/_virtual/_@oxc-project_runtime@0.99.0/helpers/decorate.mjs +10 -0
  16. package/build/_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateMetadata.mjs +7 -0
  17. package/build/_virtual/_@oxc-project_runtime@0.99.0/helpers/decorateParam.mjs +9 -0
  18. package/build/anoncreds-rs/AnonCredsDataIntegrityService.mjs +203 -0
  19. package/build/anoncreds-rs/AnonCredsDataIntegrityService.mjs.map +1 -0
  20. package/build/anoncreds-rs/AnonCredsRsHolderService.mjs +488 -0
  21. package/build/anoncreds-rs/AnonCredsRsHolderService.mjs.map +1 -0
  22. package/build/anoncreds-rs/AnonCredsRsIssuerService.mjs +213 -0
  23. package/build/anoncreds-rs/AnonCredsRsIssuerService.mjs.map +1 -0
  24. package/build/anoncreds-rs/AnonCredsRsVerifierService.mjs +122 -0
  25. package/build/anoncreds-rs/AnonCredsRsVerifierService.mjs.map +1 -0
  26. package/build/anoncreds-rs/index.mjs +3 -0
  27. package/build/anoncreds-rs/utils.mjs +60 -0
  28. package/build/anoncreds-rs/utils.mjs.map +1 -0
  29. package/build/error/AnonCredsError.d.mts +13 -0
  30. package/build/error/AnonCredsError.d.mts.map +1 -0
  31. package/build/error/AnonCredsError.mjs +12 -0
  32. package/build/error/AnonCredsError.mjs.map +1 -0
  33. package/build/error/AnonCredsRsError.d.mts +13 -0
  34. package/build/error/AnonCredsRsError.d.mts.map +1 -0
  35. package/build/error/AnonCredsRsError.mjs +12 -0
  36. package/build/error/AnonCredsRsError.mjs.map +1 -0
  37. package/build/error/AnonCredsStoreRecordError.d.mts +13 -0
  38. package/build/error/AnonCredsStoreRecordError.d.mts.map +1 -0
  39. package/build/error/AnonCredsStoreRecordError.mjs +12 -0
  40. package/build/error/AnonCredsStoreRecordError.mjs.map +1 -0
  41. package/build/error/index.d.mts +3 -0
  42. package/build/error/index.mjs +3 -0
  43. package/build/formats/AnonCredsDidCommCredentialFormat.d.mts +82 -0
  44. package/build/formats/AnonCredsDidCommCredentialFormat.d.mts.map +1 -0
  45. package/build/formats/AnonCredsDidCommCredentialFormatService.d.mts +120 -0
  46. package/build/formats/AnonCredsDidCommCredentialFormatService.d.mts.map +1 -0
  47. package/build/formats/AnonCredsDidCommCredentialFormatService.mjs +331 -0
  48. package/build/formats/AnonCredsDidCommCredentialFormatService.mjs.map +1 -0
  49. package/build/formats/AnonCredsDidCommProofFormat.d.mts +77 -0
  50. package/build/formats/AnonCredsDidCommProofFormat.d.mts.map +1 -0
  51. package/build/formats/AnonCredsDidCommProofFormatService.d.mts +93 -0
  52. package/build/formats/AnonCredsDidCommProofFormatService.d.mts.map +1 -0
  53. package/build/formats/AnonCredsDidCommProofFormatService.mjs +250 -0
  54. package/build/formats/AnonCredsDidCommProofFormatService.mjs.map +1 -0
  55. package/build/formats/DataIntegrityDidCommCredentialFormatService.d.mts +118 -0
  56. package/build/formats/DataIntegrityDidCommCredentialFormatService.d.mts.map +1 -0
  57. package/build/formats/DataIntegrityDidCommCredentialFormatService.mjs +587 -0
  58. package/build/formats/DataIntegrityDidCommCredentialFormatService.mjs.map +1 -0
  59. package/build/formats/LegacyIndyDidCommCredentialFormat.d.mts +38 -0
  60. package/build/formats/LegacyIndyDidCommCredentialFormat.d.mts.map +1 -0
  61. package/build/formats/LegacyIndyDidCommCredentialFormatService.d.mts +122 -0
  62. package/build/formats/LegacyIndyDidCommCredentialFormatService.d.mts.map +1 -0
  63. package/build/formats/LegacyIndyDidCommCredentialFormatService.mjs +309 -0
  64. package/build/formats/LegacyIndyDidCommCredentialFormatService.mjs.map +1 -0
  65. package/build/formats/LegacyIndyDidCommProofFormat.d.mts +36 -0
  66. package/build/formats/LegacyIndyDidCommProofFormat.d.mts.map +1 -0
  67. package/build/formats/LegacyIndyDidCommProofFormatService.d.mts +98 -0
  68. package/build/formats/LegacyIndyDidCommProofFormatService.d.mts.map +1 -0
  69. package/build/formats/LegacyIndyDidCommProofFormatService.mjs +322 -0
  70. package/build/formats/LegacyIndyDidCommProofFormatService.mjs.map +1 -0
  71. package/build/formats/index.d.mts +9 -0
  72. package/build/formats/index.mjs +5 -0
  73. package/build/index.d.mts +86 -0
  74. package/build/index.mjs +69 -0
  75. package/build/models/AnonCredsCredentialProposal.mjs +75 -0
  76. package/build/models/AnonCredsCredentialProposal.mjs.map +1 -0
  77. package/build/models/AnonCredsProofRequest.mjs +62 -0
  78. package/build/models/AnonCredsProofRequest.mjs.map +1 -0
  79. package/build/models/AnonCredsRequestedAttribute.mjs +50 -0
  80. package/build/models/AnonCredsRequestedAttribute.mjs.map +1 -0
  81. package/build/models/AnonCredsRequestedPredicate.mjs +53 -0
  82. package/build/models/AnonCredsRequestedPredicate.mjs.map +1 -0
  83. package/build/models/AnonCredsRestriction.d.mts +29 -0
  84. package/build/models/AnonCredsRestriction.d.mts.map +1 -0
  85. package/build/models/AnonCredsRestriction.mjs +137 -0
  86. package/build/models/AnonCredsRestriction.mjs.map +1 -0
  87. package/build/models/AnonCredsRestrictionWrapper.d.mts +9 -0
  88. package/build/models/AnonCredsRestrictionWrapper.d.mts.map +1 -0
  89. package/build/models/AnonCredsRestrictionWrapper.mjs +18 -0
  90. package/build/models/AnonCredsRestrictionWrapper.mjs.map +1 -0
  91. package/build/models/AnonCredsRevocationInterval.mjs +27 -0
  92. package/build/models/AnonCredsRevocationInterval.mjs.map +1 -0
  93. package/build/models/exchange.d.mts +104 -0
  94. package/build/models/exchange.d.mts.map +1 -0
  95. package/build/models/exchange.mjs +11 -0
  96. package/build/models/exchange.mjs.map +1 -0
  97. package/build/models/index.d.mts +4 -0
  98. package/build/models/index.mjs +2 -0
  99. package/build/models/internal.d.mts +40 -0
  100. package/build/models/internal.d.mts.map +1 -0
  101. package/build/models/registry.d.mts +44 -0
  102. package/build/models/registry.d.mts.map +1 -0
  103. package/build/models/utils.d.mts +27 -0
  104. package/build/models/utils.d.mts.map +1 -0
  105. package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.d.mts +215 -0
  106. package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.d.mts.map +1 -0
  107. package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.mjs +827 -0
  108. package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.mjs.map +1 -0
  109. package/build/protocols/credentials/v1/handlers/DidCommCredentialV1AckHandler.mjs +17 -0
  110. package/build/protocols/credentials/v1/handlers/DidCommCredentialV1AckHandler.mjs.map +1 -0
  111. package/build/protocols/credentials/v1/handlers/DidCommCredentialV1ProblemReportHandler.mjs +17 -0
  112. package/build/protocols/credentials/v1/handlers/DidCommCredentialV1ProblemReportHandler.mjs.map +1 -0
  113. package/build/protocols/credentials/v1/handlers/DidCommIssueCredentialV1Handler.mjs +36 -0
  114. package/build/protocols/credentials/v1/handlers/DidCommIssueCredentialV1Handler.mjs.map +1 -0
  115. package/build/protocols/credentials/v1/handlers/DidCommOfferCredentialV1Handler.mjs +32 -0
  116. package/build/protocols/credentials/v1/handlers/DidCommOfferCredentialV1Handler.mjs.map +1 -0
  117. package/build/protocols/credentials/v1/handlers/DidCommProposeCredentialV1Handler.mjs +35 -0
  118. package/build/protocols/credentials/v1/handlers/DidCommProposeCredentialV1Handler.mjs.map +1 -0
  119. package/build/protocols/credentials/v1/handlers/DidCommRequestCredentialV1Handler.mjs +36 -0
  120. package/build/protocols/credentials/v1/handlers/DidCommRequestCredentialV1Handler.mjs.map +1 -0
  121. package/build/protocols/credentials/v1/handlers/index.mjs +6 -0
  122. package/build/protocols/credentials/v1/index.d.mts +9 -0
  123. package/build/protocols/credentials/v1/index.mjs +9 -0
  124. package/build/protocols/credentials/v1/messages/DidCommCredentialV1AckMessage.d.mts +16 -0
  125. package/build/protocols/credentials/v1/messages/DidCommCredentialV1AckMessage.d.mts.map +1 -0
  126. package/build/protocols/credentials/v1/messages/DidCommCredentialV1AckMessage.mjs +21 -0
  127. package/build/protocols/credentials/v1/messages/DidCommCredentialV1AckMessage.mjs.map +1 -0
  128. package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.d.mts +32 -0
  129. package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.d.mts.map +1 -0
  130. package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.mjs +57 -0
  131. package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.mjs.map +1 -0
  132. package/build/protocols/credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.d.mts +16 -0
  133. package/build/protocols/credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.d.mts.map +1 -0
  134. package/build/protocols/credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.mjs +21 -0
  135. package/build/protocols/credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.mjs.map +1 -0
  136. package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.d.mts +26 -0
  137. package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.d.mts.map +1 -0
  138. package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.mjs +46 -0
  139. package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.mjs.map +1 -0
  140. package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.d.mts +34 -0
  141. package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.d.mts.map +1 -0
  142. package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.mjs +61 -0
  143. package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.mjs.map +1 -0
  144. package/build/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.d.mts +64 -0
  145. package/build/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.d.mts.map +1 -0
  146. package/build/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.mjs +95 -0
  147. package/build/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.mjs.map +1 -0
  148. package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.d.mts +26 -0
  149. package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.d.mts.map +1 -0
  150. package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.mjs +46 -0
  151. package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.mjs.map +1 -0
  152. package/build/protocols/credentials/v1/messages/index.d.mts +7 -0
  153. package/build/protocols/credentials/v1/messages/index.mjs +7 -0
  154. package/build/protocols/index.d.mts +18 -0
  155. package/build/protocols/index.mjs +18 -0
  156. package/build/protocols/proofs/v1/DidCommProofV1Protocol.d.mts +105 -0
  157. package/build/protocols/proofs/v1/DidCommProofV1Protocol.d.mts.map +1 -0
  158. package/build/protocols/proofs/v1/DidCommProofV1Protocol.mjs +723 -0
  159. package/build/protocols/proofs/v1/DidCommProofV1Protocol.mjs.map +1 -0
  160. package/build/protocols/proofs/v1/errors/DidCommPresentationV1ProblemReportError.d.mts +18 -0
  161. package/build/protocols/proofs/v1/errors/DidCommPresentationV1ProblemReportError.d.mts.map +1 -0
  162. package/build/protocols/proofs/v1/errors/DidCommPresentationV1ProblemReportError.mjs +19 -0
  163. package/build/protocols/proofs/v1/errors/DidCommPresentationV1ProblemReportError.mjs.map +1 -0
  164. package/build/protocols/proofs/v1/errors/index.d.mts +1 -0
  165. package/build/protocols/proofs/v1/errors/index.mjs +1 -0
  166. package/build/protocols/proofs/v1/handlers/DidCommPresentationV1AckHandler.mjs +17 -0
  167. package/build/protocols/proofs/v1/handlers/DidCommPresentationV1AckHandler.mjs.map +1 -0
  168. package/build/protocols/proofs/v1/handlers/DidCommPresentationV1Handler.mjs +36 -0
  169. package/build/protocols/proofs/v1/handlers/DidCommPresentationV1Handler.mjs.map +1 -0
  170. package/build/protocols/proofs/v1/handlers/DidCommPresentationV1ProblemReportHandler.mjs +16 -0
  171. package/build/protocols/proofs/v1/handlers/DidCommPresentationV1ProblemReportHandler.mjs.map +1 -0
  172. package/build/protocols/proofs/v1/handlers/DidCommProposePresentationV1Handler.mjs +35 -0
  173. package/build/protocols/proofs/v1/handlers/DidCommProposePresentationV1Handler.mjs.map +1 -0
  174. package/build/protocols/proofs/v1/handlers/DidCommRequestPresentationV1Handler.mjs +32 -0
  175. package/build/protocols/proofs/v1/handlers/DidCommRequestPresentationV1Handler.mjs.map +1 -0
  176. package/build/protocols/proofs/v1/handlers/index.mjs +5 -0
  177. package/build/protocols/proofs/v1/index.d.mts +11 -0
  178. package/build/protocols/proofs/v1/index.mjs +11 -0
  179. package/build/protocols/proofs/v1/messages/DidCommPresentationV1AckMessage.d.mts +12 -0
  180. package/build/protocols/proofs/v1/messages/DidCommPresentationV1AckMessage.d.mts.map +1 -0
  181. package/build/protocols/proofs/v1/messages/DidCommPresentationV1AckMessage.mjs +18 -0
  182. package/build/protocols/proofs/v1/messages/DidCommPresentationV1AckMessage.mjs.map +1 -0
  183. package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.d.mts +38 -0
  184. package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.d.mts.map +1 -0
  185. package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.mjs +52 -0
  186. package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.mjs.map +1 -0
  187. package/build/protocols/proofs/v1/messages/DidCommPresentationV1ProblemReportMessage.d.mts +16 -0
  188. package/build/protocols/proofs/v1/messages/DidCommPresentationV1ProblemReportMessage.d.mts.map +1 -0
  189. package/build/protocols/proofs/v1/messages/DidCommPresentationV1ProblemReportMessage.mjs +21 -0
  190. package/build/protocols/proofs/v1/messages/DidCommPresentationV1ProblemReportMessage.mjs.map +1 -0
  191. package/build/protocols/proofs/v1/messages/DidCommProposePresentationV1Message.d.mts +32 -0
  192. package/build/protocols/proofs/v1/messages/DidCommProposePresentationV1Message.d.mts.map +1 -0
  193. package/build/protocols/proofs/v1/messages/DidCommProposePresentationV1Message.mjs +44 -0
  194. package/build/protocols/proofs/v1/messages/DidCommProposePresentationV1Message.mjs.map +1 -0
  195. package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.d.mts +36 -0
  196. package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.d.mts.map +1 -0
  197. package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.mjs +50 -0
  198. package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.mjs.map +1 -0
  199. package/build/protocols/proofs/v1/messages/index.d.mts +5 -0
  200. package/build/protocols/proofs/v1/messages/index.mjs +5 -0
  201. package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.d.mts +57 -0
  202. package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.d.mts.map +1 -0
  203. package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.mjs +113 -0
  204. package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.mjs.map +1 -0
  205. package/build/protocols/proofs/v1/models/index.d.mts +1 -0
  206. package/build/protocols/proofs/v1/models/index.mjs +1 -0
  207. package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.d.mts +25 -0
  208. package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.d.mts.map +1 -0
  209. package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.mjs +26 -0
  210. package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.mjs.map +1 -0
  211. package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.d.mts +12 -0
  212. package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.d.mts.map +1 -0
  213. package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.mjs +28 -0
  214. package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.mjs.map +1 -0
  215. package/build/repository/AnonCredsCredentialDefinitionRecord.d.mts +44 -0
  216. package/build/repository/AnonCredsCredentialDefinitionRecord.d.mts.map +1 -0
  217. package/build/repository/AnonCredsCredentialDefinitionRecord.mjs +38 -0
  218. package/build/repository/AnonCredsCredentialDefinitionRecord.mjs.map +1 -0
  219. package/build/repository/AnonCredsCredentialDefinitionRepository.d.mts +12 -0
  220. package/build/repository/AnonCredsCredentialDefinitionRepository.d.mts.map +1 -0
  221. package/build/repository/AnonCredsCredentialDefinitionRepository.mjs +28 -0
  222. package/build/repository/AnonCredsCredentialDefinitionRepository.mjs.map +1 -0
  223. package/build/repository/AnonCredsCredentialRecord.d.mts +53 -0
  224. package/build/repository/AnonCredsCredentialRecord.d.mts.map +1 -0
  225. package/build/repository/AnonCredsCredentialRecord.mjs +46 -0
  226. package/build/repository/AnonCredsCredentialRecord.mjs.map +1 -0
  227. package/build/repository/AnonCredsCredentialRepository.d.mts +14 -0
  228. package/build/repository/AnonCredsCredentialRepository.d.mts.map +1 -0
  229. package/build/repository/AnonCredsCredentialRepository.mjs +34 -0
  230. package/build/repository/AnonCredsCredentialRepository.mjs.map +1 -0
  231. package/build/repository/AnonCredsKeyCorrectnessProofRecord.d.mts +25 -0
  232. package/build/repository/AnonCredsKeyCorrectnessProofRecord.d.mts.map +1 -0
  233. package/build/repository/AnonCredsKeyCorrectnessProofRecord.mjs +26 -0
  234. package/build/repository/AnonCredsKeyCorrectnessProofRecord.mjs.map +1 -0
  235. package/build/repository/AnonCredsKeyCorrectnessProofRepository.d.mts +12 -0
  236. package/build/repository/AnonCredsKeyCorrectnessProofRepository.d.mts.map +1 -0
  237. package/build/repository/AnonCredsKeyCorrectnessProofRepository.mjs +28 -0
  238. package/build/repository/AnonCredsKeyCorrectnessProofRepository.mjs.map +1 -0
  239. package/build/repository/AnonCredsLinkSecretRecord.d.mts +28 -0
  240. package/build/repository/AnonCredsLinkSecretRecord.d.mts.map +1 -0
  241. package/build/repository/AnonCredsLinkSecretRecord.mjs +25 -0
  242. package/build/repository/AnonCredsLinkSecretRecord.mjs.map +1 -0
  243. package/build/repository/AnonCredsLinkSecretRepository.d.mts +14 -0
  244. package/build/repository/AnonCredsLinkSecretRepository.d.mts.map +1 -0
  245. package/build/repository/AnonCredsLinkSecretRepository.mjs +34 -0
  246. package/build/repository/AnonCredsLinkSecretRepository.mjs.map +1 -0
  247. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.d.mts +37 -0
  248. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.d.mts.map +1 -0
  249. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.mjs +35 -0
  250. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.mjs.map +1 -0
  251. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.d.mts +13 -0
  252. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.d.mts.map +1 -0
  253. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.mjs +34 -0
  254. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.mjs.map +1 -0
  255. package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.d.mts +30 -0
  256. package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.d.mts.map +1 -0
  257. package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.mjs +27 -0
  258. package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.mjs.map +1 -0
  259. package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.d.mts +13 -0
  260. package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.d.mts.map +1 -0
  261. package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.mjs +31 -0
  262. package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.mjs.map +1 -0
  263. package/build/repository/AnonCredsSchemaRecord.d.mts +44 -0
  264. package/build/repository/AnonCredsSchemaRecord.d.mts.map +1 -0
  265. package/build/repository/AnonCredsSchemaRecord.mjs +38 -0
  266. package/build/repository/AnonCredsSchemaRecord.mjs.map +1 -0
  267. package/build/repository/AnonCredsSchemaRepository.d.mts +12 -0
  268. package/build/repository/AnonCredsSchemaRepository.d.mts.map +1 -0
  269. package/build/repository/AnonCredsSchemaRepository.mjs +28 -0
  270. package/build/repository/AnonCredsSchemaRepository.mjs.map +1 -0
  271. package/build/repository/anonCredsCredentialDefinitionRecordMetadataTypes.d.mts +14 -0
  272. package/build/repository/anonCredsCredentialDefinitionRecordMetadataTypes.d.mts.map +1 -0
  273. package/build/repository/anonCredsCredentialDefinitionRecordMetadataTypes.mjs +10 -0
  274. package/build/repository/anonCredsCredentialDefinitionRecordMetadataTypes.mjs.map +1 -0
  275. package/build/repository/anonCredsRevocationRegistryDefinitionRecordMetadataTypes.d.mts +14 -0
  276. package/build/repository/anonCredsRevocationRegistryDefinitionRecordMetadataTypes.d.mts.map +1 -0
  277. package/build/repository/anonCredsRevocationRegistryDefinitionRecordMetadataTypes.mjs +10 -0
  278. package/build/repository/anonCredsRevocationRegistryDefinitionRecordMetadataTypes.mjs.map +1 -0
  279. package/build/repository/anonCredsSchemaRecordMetadataTypes.d.mts +14 -0
  280. package/build/repository/anonCredsSchemaRecordMetadataTypes.d.mts.map +1 -0
  281. package/build/repository/index.d.mts +16 -0
  282. package/build/repository/index.mjs +16 -0
  283. package/build/services/AnonCredsHolderService.d.mts +28 -0
  284. package/build/services/AnonCredsHolderService.d.mts.map +1 -0
  285. package/build/services/AnonCredsHolderService.mjs +6 -0
  286. package/build/services/AnonCredsHolderService.mjs.map +1 -0
  287. package/build/services/AnonCredsHolderServiceOptions.d.mts +107 -0
  288. package/build/services/AnonCredsHolderServiceOptions.d.mts.map +1 -0
  289. package/build/services/AnonCredsIssuerService.d.mts +19 -0
  290. package/build/services/AnonCredsIssuerService.d.mts.map +1 -0
  291. package/build/services/AnonCredsIssuerService.mjs +6 -0
  292. package/build/services/AnonCredsIssuerService.mjs.map +1 -0
  293. package/build/services/AnonCredsIssuerServiceOptions.d.mts +66 -0
  294. package/build/services/AnonCredsIssuerServiceOptions.d.mts.map +1 -0
  295. package/build/services/AnonCredsVerifierService.d.mts +12 -0
  296. package/build/services/AnonCredsVerifierService.d.mts.map +1 -0
  297. package/build/services/AnonCredsVerifierService.mjs +6 -0
  298. package/build/services/AnonCredsVerifierService.mjs.map +1 -0
  299. package/build/services/AnonCredsVerifierServiceOptions.d.mts +30 -0
  300. package/build/services/AnonCredsVerifierServiceOptions.d.mts.map +1 -0
  301. package/build/services/index.d.mts +17 -0
  302. package/build/services/index.mjs +7 -0
  303. package/build/services/registry/AnonCredsRegistry.d.mts +43 -0
  304. package/build/services/registry/AnonCredsRegistry.d.mts.map +1 -0
  305. package/build/services/registry/AnonCredsRegistryService.d.mts +27 -0
  306. package/build/services/registry/AnonCredsRegistryService.d.mts.map +1 -0
  307. package/build/services/registry/AnonCredsRegistryService.mjs +226 -0
  308. package/build/services/registry/AnonCredsRegistryService.mjs.map +1 -0
  309. package/build/services/registry/CredentialDefinitionOptions.d.mts +39 -0
  310. package/build/services/registry/CredentialDefinitionOptions.d.mts.map +1 -0
  311. package/build/services/registry/RevocationRegistryDefinitionOptions.d.mts +39 -0
  312. package/build/services/registry/RevocationRegistryDefinitionOptions.d.mts.map +1 -0
  313. package/build/services/registry/RevocationStatusListOptions.d.mts +37 -0
  314. package/build/services/registry/RevocationStatusListOptions.d.mts.map +1 -0
  315. package/build/services/registry/SchemaOptions.d.mts +39 -0
  316. package/build/services/registry/SchemaOptions.d.mts.map +1 -0
  317. package/build/services/registry/base.d.mts +65 -0
  318. package/build/services/registry/base.d.mts.map +1 -0
  319. package/build/services/registry/index.d.mts +7 -0
  320. package/build/services/registry/index.mjs +1 -0
  321. package/build/services/tails/BasicTailsFileService.d.mts +29 -0
  322. package/build/services/tails/BasicTailsFileService.d.mts.map +1 -0
  323. package/build/services/tails/BasicTailsFileService.mjs +52 -0
  324. package/build/services/tails/BasicTailsFileService.mjs.map +1 -0
  325. package/build/services/tails/TailsFileService.d.mts +48 -0
  326. package/build/services/tails/TailsFileService.d.mts.map +1 -0
  327. package/build/services/tails/index.d.mts +2 -0
  328. package/build/services/tails/index.mjs +1 -0
  329. package/build/updates/0.3.1-0.4/credentialDefinition.mjs +49 -0
  330. package/build/updates/0.3.1-0.4/credentialDefinition.mjs.map +1 -0
  331. package/build/updates/0.3.1-0.4/credentialExchangeRecord.mjs +118 -0
  332. package/build/updates/0.3.1-0.4/credentialExchangeRecord.mjs.map +1 -0
  333. package/build/updates/0.3.1-0.4/index.d.mts +7 -0
  334. package/build/updates/0.3.1-0.4/index.d.mts.map +1 -0
  335. package/build/updates/0.3.1-0.4/index.mjs +16 -0
  336. package/build/updates/0.3.1-0.4/index.mjs.map +1 -0
  337. package/build/updates/0.3.1-0.4/linkSecret.mjs +21 -0
  338. package/build/updates/0.3.1-0.4/linkSecret.mjs.map +1 -0
  339. package/build/updates/0.3.1-0.4/schema.mjs +39 -0
  340. package/build/updates/0.3.1-0.4/schema.mjs.map +1 -0
  341. package/build/updates/0.4-0.5/anonCredsCredentialRecord.mjs +126 -0
  342. package/build/updates/0.4-0.5/anonCredsCredentialRecord.mjs.map +1 -0
  343. package/build/updates/0.4-0.5/index.d.mts +7 -0
  344. package/build/updates/0.4-0.5/index.d.mts.map +1 -0
  345. package/build/updates/0.4-0.5/index.mjs +10 -0
  346. package/build/updates/0.4-0.5/index.mjs.map +1 -0
  347. package/build/utils/anonCredsObjects.d.mts +27 -0
  348. package/build/utils/anonCredsObjects.d.mts.map +1 -0
  349. package/build/utils/anonCredsObjects.mjs +57 -0
  350. package/build/utils/anonCredsObjects.mjs.map +1 -0
  351. package/build/utils/areRequestsEqual.d.mts +1 -0
  352. package/build/utils/areRequestsEqual.mjs +86 -0
  353. package/build/utils/areRequestsEqual.mjs.map +1 -0
  354. package/build/utils/bytesToBigint.mjs +11 -0
  355. package/build/utils/bytesToBigint.mjs.map +1 -0
  356. package/build/utils/composeAutoAccept.d.mts +1 -0
  357. package/build/utils/composeAutoAccept.mjs +25 -0
  358. package/build/utils/composeAutoAccept.mjs.map +1 -0
  359. package/build/utils/createRequestFromPreview.d.mts +2 -0
  360. package/build/utils/createRequestFromPreview.mjs +50 -0
  361. package/build/utils/createRequestFromPreview.mjs.map +1 -0
  362. package/build/utils/credential.d.mts +12 -0
  363. package/build/utils/credential.d.mts.map +1 -0
  364. package/build/utils/credential.mjs +119 -0
  365. package/build/utils/credential.mjs.map +1 -0
  366. package/build/utils/credentialPreviewAttributes.d.mts +1 -0
  367. package/build/utils/credentialPreviewAttributes.mjs +21 -0
  368. package/build/utils/credentialPreviewAttributes.mjs.map +1 -0
  369. package/build/utils/getCredentialsForAnonCredsRequest.d.mts +11 -0
  370. package/build/utils/getCredentialsForAnonCredsRequest.d.mts.map +1 -0
  371. package/build/utils/getCredentialsForAnonCredsRequest.mjs +70 -0
  372. package/build/utils/getCredentialsForAnonCredsRequest.mjs.map +1 -0
  373. package/build/utils/getRevocationRegistries.d.mts +4 -0
  374. package/build/utils/getRevocationRegistries.mjs +121 -0
  375. package/build/utils/getRevocationRegistries.mjs.map +1 -0
  376. package/build/utils/hasDuplicateGroupNames.d.mts +1 -0
  377. package/build/utils/hasDuplicateGroupNames.mjs +22 -0
  378. package/build/utils/hasDuplicateGroupNames.mjs.map +1 -0
  379. package/build/utils/index.d.mts +17 -0
  380. package/build/utils/index.mjs +17 -0
  381. package/build/utils/indyIdentifiers.d.mts +71 -0
  382. package/build/utils/indyIdentifiers.d.mts.map +1 -0
  383. package/build/utils/indyIdentifiers.mjs +249 -0
  384. package/build/utils/indyIdentifiers.mjs.map +1 -0
  385. package/build/utils/isMap.d.mts +1 -0
  386. package/build/utils/isMap.mjs +19 -0
  387. package/build/utils/isMap.mjs.map +1 -0
  388. package/build/utils/linkSecret.d.mts +13 -0
  389. package/build/utils/linkSecret.d.mts.map +1 -0
  390. package/build/utils/linkSecret.mjs +35 -0
  391. package/build/utils/linkSecret.mjs.map +1 -0
  392. package/build/utils/metadata.d.mts +30 -0
  393. package/build/utils/metadata.d.mts.map +1 -0
  394. package/build/utils/metadata.mjs +23 -0
  395. package/build/utils/metadata.mjs.map +1 -0
  396. package/build/utils/proofRequest.mjs +10 -0
  397. package/build/utils/proofRequest.mjs.map +1 -0
  398. package/build/utils/proverDid.d.mts +12 -0
  399. package/build/utils/proverDid.d.mts.map +1 -0
  400. package/build/utils/proverDid.mjs +17 -0
  401. package/build/utils/proverDid.mjs.map +1 -0
  402. package/build/utils/revocationInterval.d.mts +12 -0
  403. package/build/utils/revocationInterval.d.mts.map +1 -0
  404. package/build/utils/revocationInterval.mjs +11 -0
  405. package/build/utils/revocationInterval.mjs.map +1 -0
  406. package/build/utils/sortRequestedCredentialsMatches.d.mts +1 -0
  407. package/build/utils/sortRequestedCredentialsMatches.mjs +22 -0
  408. package/build/utils/sortRequestedCredentialsMatches.mjs.map +1 -0
  409. package/build/utils/timestamp.d.mts +5 -0
  410. package/build/utils/timestamp.d.mts.map +1 -0
  411. package/build/utils/timestamp.mjs +6 -0
  412. package/build/utils/timestamp.mjs.map +1 -0
  413. package/build/utils/w3cAnonCredsUtils.d.mts +28 -0
  414. package/build/utils/w3cAnonCredsUtils.d.mts.map +1 -0
  415. package/build/utils/w3cAnonCredsUtils.mjs +101 -0
  416. package/build/utils/w3cAnonCredsUtils.mjs.map +1 -0
  417. package/package.json +20 -21
  418. package/build/AnonCredsApi.d.ts +0 -97
  419. package/build/AnonCredsApi.js +0 -582
  420. package/build/AnonCredsApi.js.map +0 -1
  421. package/build/AnonCredsApiOptions.d.ts +0 -24
  422. package/build/AnonCredsApiOptions.js +0 -3
  423. package/build/AnonCredsApiOptions.js.map +0 -1
  424. package/build/AnonCredsModule.d.ts +0 -24
  425. package/build/AnonCredsModule.js +0 -56
  426. package/build/AnonCredsModule.js.map +0 -1
  427. package/build/AnonCredsModuleConfig.d.ts +0 -72
  428. package/build/AnonCredsModuleConfig.js +0 -31
  429. package/build/AnonCredsModuleConfig.js.map +0 -1
  430. package/build/anoncreds-rs/AnonCredsDataIntegrityService.d.ts +0 -27
  431. package/build/anoncreds-rs/AnonCredsDataIntegrityService.js +0 -241
  432. package/build/anoncreds-rs/AnonCredsDataIntegrityService.js.map +0 -1
  433. package/build/anoncreds-rs/AnonCredsRsHolderService.d.ts +0 -38
  434. package/build/anoncreds-rs/AnonCredsRsHolderService.js +0 -622
  435. package/build/anoncreds-rs/AnonCredsRsHolderService.js.map +0 -1
  436. package/build/anoncreds-rs/AnonCredsRsIssuerService.d.ts +0 -12
  437. package/build/anoncreds-rs/AnonCredsRsIssuerService.js +0 -253
  438. package/build/anoncreds-rs/AnonCredsRsIssuerService.js.map +0 -1
  439. package/build/anoncreds-rs/AnonCredsRsVerifierService.d.ts +0 -8
  440. package/build/anoncreds-rs/AnonCredsRsVerifierService.js +0 -157
  441. package/build/anoncreds-rs/AnonCredsRsVerifierService.js.map +0 -1
  442. package/build/anoncreds-rs/index.d.ts +0 -3
  443. package/build/anoncreds-rs/index.js +0 -10
  444. package/build/anoncreds-rs/index.js.map +0 -1
  445. package/build/anoncreds-rs/utils.d.ts +0 -23
  446. package/build/anoncreds-rs/utils.js +0 -71
  447. package/build/anoncreds-rs/utils.js.map +0 -1
  448. package/build/error/AnonCredsError.d.ts +0 -6
  449. package/build/error/AnonCredsError.js +0 -11
  450. package/build/error/AnonCredsError.js.map +0 -1
  451. package/build/error/AnonCredsRsError.d.ts +0 -6
  452. package/build/error/AnonCredsRsError.js +0 -11
  453. package/build/error/AnonCredsRsError.js.map +0 -1
  454. package/build/error/AnonCredsStoreRecordError.d.ts +0 -6
  455. package/build/error/AnonCredsStoreRecordError.js +0 -11
  456. package/build/error/AnonCredsStoreRecordError.js.map +0 -1
  457. package/build/error/index.d.ts +0 -3
  458. package/build/error/index.js +0 -20
  459. package/build/error/index.js.map +0 -1
  460. package/build/formats/AnonCredsCredentialFormat.d.ts +0 -79
  461. package/build/formats/AnonCredsCredentialFormat.js +0 -3
  462. package/build/formats/AnonCredsCredentialFormat.js.map +0 -1
  463. package/build/formats/AnonCredsCredentialFormatService.d.ts +0 -80
  464. package/build/formats/AnonCredsCredentialFormatService.js +0 -433
  465. package/build/formats/AnonCredsCredentialFormatService.js.map +0 -1
  466. package/build/formats/AnonCredsProofFormat.d.ts +0 -70
  467. package/build/formats/AnonCredsProofFormat.js +0 -3
  468. package/build/formats/AnonCredsProofFormat.js.map +0 -1
  469. package/build/formats/AnonCredsProofFormatService.d.ts +0 -55
  470. package/build/formats/AnonCredsProofFormatService.js +0 -289
  471. package/build/formats/AnonCredsProofFormatService.js.map +0 -1
  472. package/build/formats/DataIntegrityCredentialFormatService.d.ts +0 -89
  473. package/build/formats/DataIntegrityCredentialFormatService.js +0 -773
  474. package/build/formats/DataIntegrityCredentialFormatService.js.map +0 -1
  475. package/build/formats/LegacyIndyCredentialFormat.d.ts +0 -32
  476. package/build/formats/LegacyIndyCredentialFormat.js +0 -3
  477. package/build/formats/LegacyIndyCredentialFormat.js.map +0 -1
  478. package/build/formats/LegacyIndyCredentialFormatService.d.ts +0 -80
  479. package/build/formats/LegacyIndyCredentialFormatService.js +0 -379
  480. package/build/formats/LegacyIndyCredentialFormatService.js.map +0 -1
  481. package/build/formats/LegacyIndyProofFormat.d.ts +0 -29
  482. package/build/formats/LegacyIndyProofFormat.js +0 -3
  483. package/build/formats/LegacyIndyProofFormat.js.map +0 -1
  484. package/build/formats/LegacyIndyProofFormatService.d.ts +0 -58
  485. package/build/formats/LegacyIndyProofFormatService.js +0 -374
  486. package/build/formats/LegacyIndyProofFormatService.js.map +0 -1
  487. package/build/formats/index.d.ts +0 -9
  488. package/build/formats/index.js +0 -32
  489. package/build/formats/index.js.map +0 -1
  490. package/build/index.d.ts +0 -21
  491. package/build/index.js +0 -54
  492. package/build/index.js.map +0 -1
  493. package/build/models/AnonCredsCredentialProposal.d.ts +0 -62
  494. package/build/models/AnonCredsCredentialProposal.js +0 -81
  495. package/build/models/AnonCredsCredentialProposal.js.map +0 -1
  496. package/build/models/AnonCredsProofRequest.d.ts +0 -27
  497. package/build/models/AnonCredsProofRequest.js +0 -82
  498. package/build/models/AnonCredsProofRequest.js.map +0 -1
  499. package/build/models/AnonCredsRequestedAttribute.d.ts +0 -16
  500. package/build/models/AnonCredsRequestedAttribute.js +0 -56
  501. package/build/models/AnonCredsRequestedAttribute.js.map +0 -1
  502. package/build/models/AnonCredsRequestedPredicate.d.ts +0 -19
  503. package/build/models/AnonCredsRequestedPredicate.js +0 -61
  504. package/build/models/AnonCredsRequestedPredicate.js.map +0 -1
  505. package/build/models/AnonCredsRestriction.d.ts +0 -55
  506. package/build/models/AnonCredsRestriction.js +0 -160
  507. package/build/models/AnonCredsRestriction.js.map +0 -1
  508. package/build/models/AnonCredsRestrictionWrapper.d.ts +0 -4
  509. package/build/models/AnonCredsRestrictionWrapper.js +0 -25
  510. package/build/models/AnonCredsRestrictionWrapper.js.map +0 -1
  511. package/build/models/AnonCredsRevocationInterval.d.ts +0 -5
  512. package/build/models/AnonCredsRevocationInterval.js +0 -33
  513. package/build/models/AnonCredsRevocationInterval.js.map +0 -1
  514. package/build/models/exchange.d.ts +0 -99
  515. package/build/models/exchange.js +0 -5
  516. package/build/models/exchange.js.map +0 -1
  517. package/build/models/index.d.ts +0 -4
  518. package/build/models/index.js +0 -21
  519. package/build/models/index.js.map +0 -1
  520. package/build/models/internal.d.ts +0 -35
  521. package/build/models/internal.js +0 -3
  522. package/build/models/internal.js.map +0 -1
  523. package/build/models/registry.d.ts +0 -39
  524. package/build/models/registry.js +0 -3
  525. package/build/models/registry.js.map +0 -1
  526. package/build/models/utils.d.ts +0 -22
  527. package/build/models/utils.js +0 -3
  528. package/build/models/utils.js.map +0 -1
  529. package/build/protocols/credentials/v1/V1CredentialProtocol.d.ts +0 -162
  530. package/build/protocols/credentials/v1/V1CredentialProtocol.js +0 -948
  531. package/build/protocols/credentials/v1/V1CredentialProtocol.js.map +0 -1
  532. package/build/protocols/credentials/v1/errors/V1CredentialProblemReportError.d.ts +0 -10
  533. package/build/protocols/credentials/v1/errors/V1CredentialProblemReportError.js +0 -18
  534. package/build/protocols/credentials/v1/errors/V1CredentialProblemReportError.js.map +0 -1
  535. package/build/protocols/credentials/v1/errors/index.d.ts +0 -1
  536. package/build/protocols/credentials/v1/errors/index.js +0 -6
  537. package/build/protocols/credentials/v1/errors/index.js.map +0 -1
  538. package/build/protocols/credentials/v1/handlers/V1CredentialAckHandler.d.ts +0 -9
  539. package/build/protocols/credentials/v1/handlers/V1CredentialAckHandler.js +0 -15
  540. package/build/protocols/credentials/v1/handlers/V1CredentialAckHandler.js.map +0 -1
  541. package/build/protocols/credentials/v1/handlers/V1CredentialProblemReportHandler.d.ts +0 -9
  542. package/build/protocols/credentials/v1/handlers/V1CredentialProblemReportHandler.js +0 -15
  543. package/build/protocols/credentials/v1/handlers/V1CredentialProblemReportHandler.js.map +0 -1
  544. package/build/protocols/credentials/v1/handlers/V1IssueCredentialHandler.d.ts +0 -10
  545. package/build/protocols/credentials/v1/handlers/V1IssueCredentialHandler.js +0 -40
  546. package/build/protocols/credentials/v1/handlers/V1IssueCredentialHandler.js.map +0 -1
  547. package/build/protocols/credentials/v1/handlers/V1OfferCredentialHandler.d.ts +0 -10
  548. package/build/protocols/credentials/v1/handlers/V1OfferCredentialHandler.js +0 -33
  549. package/build/protocols/credentials/v1/handlers/V1OfferCredentialHandler.js.map +0 -1
  550. package/build/protocols/credentials/v1/handlers/V1ProposeCredentialHandler.d.ts +0 -10
  551. package/build/protocols/credentials/v1/handlers/V1ProposeCredentialHandler.js +0 -38
  552. package/build/protocols/credentials/v1/handlers/V1ProposeCredentialHandler.js.map +0 -1
  553. package/build/protocols/credentials/v1/handlers/V1RequestCredentialHandler.d.ts +0 -10
  554. package/build/protocols/credentials/v1/handlers/V1RequestCredentialHandler.js +0 -40
  555. package/build/protocols/credentials/v1/handlers/V1RequestCredentialHandler.js.map +0 -1
  556. package/build/protocols/credentials/v1/handlers/index.d.ts +0 -6
  557. package/build/protocols/credentials/v1/handlers/index.js +0 -23
  558. package/build/protocols/credentials/v1/handlers/index.js.map +0 -1
  559. package/build/protocols/credentials/v1/index.d.ts +0 -2
  560. package/build/protocols/credentials/v1/index.js +0 -19
  561. package/build/protocols/credentials/v1/index.js.map +0 -1
  562. package/build/protocols/credentials/v1/messages/V1CredentialAckMessage.d.ts +0 -16
  563. package/build/protocols/credentials/v1/messages/V1CredentialAckMessage.js +0 -34
  564. package/build/protocols/credentials/v1/messages/V1CredentialAckMessage.js.map +0 -1
  565. package/build/protocols/credentials/v1/messages/V1CredentialPreview.d.ts +0 -26
  566. package/build/protocols/credentials/v1/messages/V1CredentialPreview.js +0 -69
  567. package/build/protocols/credentials/v1/messages/V1CredentialPreview.js.map +0 -1
  568. package/build/protocols/credentials/v1/messages/V1CredentialProblemReportMessage.d.ts +0 -16
  569. package/build/protocols/credentials/v1/messages/V1CredentialProblemReportMessage.js +0 -34
  570. package/build/protocols/credentials/v1/messages/V1CredentialProblemReportMessage.js.map +0 -1
  571. package/build/protocols/credentials/v1/messages/V1IssueCredentialMessage.d.ts +0 -19
  572. package/build/protocols/credentials/v1/messages/V1IssueCredentialMessage.js +0 -62
  573. package/build/protocols/credentials/v1/messages/V1IssueCredentialMessage.js.map +0 -1
  574. package/build/protocols/credentials/v1/messages/V1OfferCredentialMessage.d.ts +0 -27
  575. package/build/protocols/credentials/v1/messages/V1OfferCredentialMessage.js +0 -75
  576. package/build/protocols/credentials/v1/messages/V1OfferCredentialMessage.js.map +0 -1
  577. package/build/protocols/credentials/v1/messages/V1ProposeCredentialMessage.d.ts +0 -59
  578. package/build/protocols/credentials/v1/messages/V1ProposeCredentialMessage.js +0 -109
  579. package/build/protocols/credentials/v1/messages/V1ProposeCredentialMessage.js.map +0 -1
  580. package/build/protocols/credentials/v1/messages/V1RequestCredentialMessage.d.ts +0 -19
  581. package/build/protocols/credentials/v1/messages/V1RequestCredentialMessage.js +0 -61
  582. package/build/protocols/credentials/v1/messages/V1RequestCredentialMessage.js.map +0 -1
  583. package/build/protocols/credentials/v1/messages/index.d.ts +0 -7
  584. package/build/protocols/credentials/v1/messages/index.js +0 -24
  585. package/build/protocols/credentials/v1/messages/index.js.map +0 -1
  586. package/build/protocols/index.d.ts +0 -2
  587. package/build/protocols/index.js +0 -19
  588. package/build/protocols/index.js.map +0 -1
  589. package/build/protocols/proofs/v1/V1ProofProtocol.d.ts +0 -50
  590. package/build/protocols/proofs/v1/V1ProofProtocol.js +0 -864
  591. package/build/protocols/proofs/v1/V1ProofProtocol.js.map +0 -1
  592. package/build/protocols/proofs/v1/errors/V1PresentationProblemReportError.d.ts +0 -12
  593. package/build/protocols/proofs/v1/errors/V1PresentationProblemReportError.js +0 -19
  594. package/build/protocols/proofs/v1/errors/V1PresentationProblemReportError.js.map +0 -1
  595. package/build/protocols/proofs/v1/errors/index.d.ts +0 -1
  596. package/build/protocols/proofs/v1/errors/index.js +0 -18
  597. package/build/protocols/proofs/v1/errors/index.js.map +0 -1
  598. package/build/protocols/proofs/v1/handlers/V1PresentationAckHandler.d.ts +0 -9
  599. package/build/protocols/proofs/v1/handlers/V1PresentationAckHandler.js +0 -15
  600. package/build/protocols/proofs/v1/handlers/V1PresentationAckHandler.js.map +0 -1
  601. package/build/protocols/proofs/v1/handlers/V1PresentationHandler.d.ts +0 -10
  602. package/build/protocols/proofs/v1/handlers/V1PresentationHandler.js +0 -40
  603. package/build/protocols/proofs/v1/handlers/V1PresentationHandler.js.map +0 -1
  604. package/build/protocols/proofs/v1/handlers/V1PresentationProblemReportHandler.d.ts +0 -9
  605. package/build/protocols/proofs/v1/handlers/V1PresentationProblemReportHandler.js +0 -15
  606. package/build/protocols/proofs/v1/handlers/V1PresentationProblemReportHandler.js.map +0 -1
  607. package/build/protocols/proofs/v1/handlers/V1ProposePresentationHandler.d.ts +0 -11
  608. package/build/protocols/proofs/v1/handlers/V1ProposePresentationHandler.js +0 -38
  609. package/build/protocols/proofs/v1/handlers/V1ProposePresentationHandler.js.map +0 -1
  610. package/build/protocols/proofs/v1/handlers/V1RequestPresentationHandler.d.ts +0 -10
  611. package/build/protocols/proofs/v1/handlers/V1RequestPresentationHandler.js +0 -35
  612. package/build/protocols/proofs/v1/handlers/V1RequestPresentationHandler.js.map +0 -1
  613. package/build/protocols/proofs/v1/handlers/index.d.ts +0 -5
  614. package/build/protocols/proofs/v1/handlers/index.js +0 -22
  615. package/build/protocols/proofs/v1/handlers/index.js.map +0 -1
  616. package/build/protocols/proofs/v1/index.d.ts +0 -4
  617. package/build/protocols/proofs/v1/index.js +0 -21
  618. package/build/protocols/proofs/v1/index.js.map +0 -1
  619. package/build/protocols/proofs/v1/messages/V1PresentationAckMessage.d.ts +0 -8
  620. package/build/protocols/proofs/v1/messages/V1PresentationAckMessage.js +0 -27
  621. package/build/protocols/proofs/v1/messages/V1PresentationAckMessage.js.map +0 -1
  622. package/build/protocols/proofs/v1/messages/V1PresentationMessage.d.ts +0 -31
  623. package/build/protocols/proofs/v1/messages/V1PresentationMessage.js +0 -67
  624. package/build/protocols/proofs/v1/messages/V1PresentationMessage.js.map +0 -1
  625. package/build/protocols/proofs/v1/messages/V1PresentationProblemReportMessage.d.ts +0 -16
  626. package/build/protocols/proofs/v1/messages/V1PresentationProblemReportMessage.js +0 -34
  627. package/build/protocols/proofs/v1/messages/V1PresentationProblemReportMessage.js.map +0 -1
  628. package/build/protocols/proofs/v1/messages/V1ProposePresentationMessage.d.ts +0 -26
  629. package/build/protocols/proofs/v1/messages/V1ProposePresentationMessage.js +0 -53
  630. package/build/protocols/proofs/v1/messages/V1ProposePresentationMessage.js.map +0 -1
  631. package/build/protocols/proofs/v1/messages/V1RequestPresentationMessage.d.ts +0 -29
  632. package/build/protocols/proofs/v1/messages/V1RequestPresentationMessage.js +0 -65
  633. package/build/protocols/proofs/v1/messages/V1RequestPresentationMessage.js.map +0 -1
  634. package/build/protocols/proofs/v1/messages/index.d.ts +0 -5
  635. package/build/protocols/proofs/v1/messages/index.js +0 -22
  636. package/build/protocols/proofs/v1/messages/index.js.map +0 -1
  637. package/build/protocols/proofs/v1/models/V1PresentationPreview.d.ts +0 -50
  638. package/build/protocols/proofs/v1/models/V1PresentationPreview.js +0 -130
  639. package/build/protocols/proofs/v1/models/V1PresentationPreview.js.map +0 -1
  640. package/build/protocols/proofs/v1/models/index.d.ts +0 -1
  641. package/build/protocols/proofs/v1/models/index.js +0 -18
  642. package/build/protocols/proofs/v1/models/index.js.map +0 -1
  643. package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.d.ts +0 -21
  644. package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.js +0 -23
  645. package/build/repository/AnonCredsCredentialDefinitionPrivateRecord.js.map +0 -1
  646. package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.d.ts +0 -8
  647. package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.js +0 -35
  648. package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.js.map +0 -1
  649. package/build/repository/AnonCredsCredentialDefinitionRecord.d.ts +0 -39
  650. package/build/repository/AnonCredsCredentialDefinitionRecord.js +0 -30
  651. package/build/repository/AnonCredsCredentialDefinitionRecord.js.map +0 -1
  652. package/build/repository/AnonCredsCredentialDefinitionRepository.d.ts +0 -8
  653. package/build/repository/AnonCredsCredentialDefinitionRepository.js +0 -53
  654. package/build/repository/AnonCredsCredentialDefinitionRepository.js.map +0 -1
  655. package/build/repository/AnonCredsCredentialRecord.d.ts +0 -48
  656. package/build/repository/AnonCredsCredentialRecord.js +0 -37
  657. package/build/repository/AnonCredsCredentialRecord.js.map +0 -1
  658. package/build/repository/AnonCredsCredentialRepository.d.ts +0 -10
  659. package/build/repository/AnonCredsCredentialRepository.js +0 -41
  660. package/build/repository/AnonCredsCredentialRepository.js.map +0 -1
  661. package/build/repository/AnonCredsKeyCorrectnessProofRecord.d.ts +0 -21
  662. package/build/repository/AnonCredsKeyCorrectnessProofRecord.js +0 -23
  663. package/build/repository/AnonCredsKeyCorrectnessProofRecord.js.map +0 -1
  664. package/build/repository/AnonCredsKeyCorrectnessProofRepository.d.ts +0 -8
  665. package/build/repository/AnonCredsKeyCorrectnessProofRepository.js +0 -35
  666. package/build/repository/AnonCredsKeyCorrectnessProofRepository.js.map +0 -1
  667. package/build/repository/AnonCredsLinkSecretRecord.d.ts +0 -23
  668. package/build/repository/AnonCredsLinkSecretRecord.js +0 -22
  669. package/build/repository/AnonCredsLinkSecretRecord.js.map +0 -1
  670. package/build/repository/AnonCredsLinkSecretRepository.d.ts +0 -10
  671. package/build/repository/AnonCredsLinkSecretRepository.js +0 -41
  672. package/build/repository/AnonCredsLinkSecretRepository.js.map +0 -1
  673. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.d.ts +0 -34
  674. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.js +0 -30
  675. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.js.map +0 -1
  676. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.d.ts +0 -10
  677. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.js +0 -38
  678. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.js.map +0 -1
  679. package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.d.ts +0 -25
  680. package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.js +0 -23
  681. package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.js.map +0 -1
  682. package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.d.ts +0 -9
  683. package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.js +0 -38
  684. package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.js.map +0 -1
  685. package/build/repository/AnonCredsSchemaRecord.d.ts +0 -39
  686. package/build/repository/AnonCredsSchemaRecord.js +0 -30
  687. package/build/repository/AnonCredsSchemaRecord.js.map +0 -1
  688. package/build/repository/AnonCredsSchemaRepository.d.ts +0 -8
  689. package/build/repository/AnonCredsSchemaRepository.js +0 -53
  690. package/build/repository/AnonCredsSchemaRepository.js.map +0 -1
  691. package/build/repository/anonCredsCredentialDefinitionRecordMetadataTypes.d.ts +0 -9
  692. package/build/repository/anonCredsCredentialDefinitionRecordMetadataTypes.js +0 -9
  693. package/build/repository/anonCredsCredentialDefinitionRecordMetadataTypes.js.map +0 -1
  694. package/build/repository/anonCredsRevocationRegistryDefinitionRecordMetadataTypes.d.ts +0 -9
  695. package/build/repository/anonCredsRevocationRegistryDefinitionRecordMetadataTypes.js +0 -9
  696. package/build/repository/anonCredsRevocationRegistryDefinitionRecordMetadataTypes.js.map +0 -1
  697. package/build/repository/anonCredsSchemaRecordMetadataTypes.d.ts +0 -9
  698. package/build/repository/anonCredsSchemaRecordMetadataTypes.js +0 -9
  699. package/build/repository/anonCredsSchemaRecordMetadataTypes.js.map +0 -1
  700. package/build/repository/index.d.ts +0 -16
  701. package/build/repository/index.js +0 -33
  702. package/build/repository/index.js.map +0 -1
  703. package/build/services/AnonCredsHolderService.d.ts +0 -18
  704. package/build/services/AnonCredsHolderService.js +0 -5
  705. package/build/services/AnonCredsHolderService.js.map +0 -1
  706. package/build/services/AnonCredsHolderServiceOptions.d.ts +0 -101
  707. package/build/services/AnonCredsHolderServiceOptions.js +0 -3
  708. package/build/services/AnonCredsHolderServiceOptions.js.map +0 -1
  709. package/build/services/AnonCredsIssuerService.d.ts +0 -14
  710. package/build/services/AnonCredsIssuerService.js +0 -5
  711. package/build/services/AnonCredsIssuerService.js.map +0 -1
  712. package/build/services/AnonCredsIssuerServiceOptions.d.ts +0 -61
  713. package/build/services/AnonCredsIssuerServiceOptions.js +0 -3
  714. package/build/services/AnonCredsIssuerServiceOptions.js.map +0 -1
  715. package/build/services/AnonCredsVerifierService.d.ts +0 -7
  716. package/build/services/AnonCredsVerifierService.js +0 -5
  717. package/build/services/AnonCredsVerifierService.js.map +0 -1
  718. package/build/services/AnonCredsVerifierServiceOptions.d.ts +0 -25
  719. package/build/services/AnonCredsVerifierServiceOptions.js +0 -3
  720. package/build/services/AnonCredsVerifierServiceOptions.js.map +0 -1
  721. package/build/services/index.d.ts +0 -8
  722. package/build/services/index.js +0 -27
  723. package/build/services/index.js.map +0 -1
  724. package/build/services/registry/AnonCredsRegistry.d.ts +0 -25
  725. package/build/services/registry/AnonCredsRegistry.js +0 -3
  726. package/build/services/registry/AnonCredsRegistry.js.map +0 -1
  727. package/build/services/registry/AnonCredsRegistryService.d.ts +0 -10
  728. package/build/services/registry/AnonCredsRegistryService.js +0 -33
  729. package/build/services/registry/AnonCredsRegistryService.js.map +0 -1
  730. package/build/services/registry/CredentialDefinitionOptions.d.ts +0 -34
  731. package/build/services/registry/CredentialDefinitionOptions.js +0 -3
  732. package/build/services/registry/CredentialDefinitionOptions.js.map +0 -1
  733. package/build/services/registry/RevocationRegistryDefinitionOptions.d.ts +0 -34
  734. package/build/services/registry/RevocationRegistryDefinitionOptions.js +0 -3
  735. package/build/services/registry/RevocationRegistryDefinitionOptions.js.map +0 -1
  736. package/build/services/registry/RevocationStatusListOptions.d.ts +0 -32
  737. package/build/services/registry/RevocationStatusListOptions.js +0 -3
  738. package/build/services/registry/RevocationStatusListOptions.js.map +0 -1
  739. package/build/services/registry/SchemaOptions.d.ts +0 -34
  740. package/build/services/registry/SchemaOptions.js +0 -3
  741. package/build/services/registry/SchemaOptions.js.map +0 -1
  742. package/build/services/registry/base.d.ts +0 -19
  743. package/build/services/registry/base.js +0 -3
  744. package/build/services/registry/base.js.map +0 -1
  745. package/build/services/registry/index.d.ts +0 -7
  746. package/build/services/registry/index.js +0 -23
  747. package/build/services/registry/index.js.map +0 -1
  748. package/build/services/tails/BasicTailsFileService.d.ts +0 -23
  749. package/build/services/tails/BasicTailsFileService.js +0 -65
  750. package/build/services/tails/BasicTailsFileService.js.map +0 -1
  751. package/build/services/tails/TailsFileService.d.ts +0 -42
  752. package/build/services/tails/TailsFileService.js +0 -3
  753. package/build/services/tails/TailsFileService.js.map +0 -1
  754. package/build/services/tails/index.d.ts +0 -2
  755. package/build/services/tails/index.js +0 -19
  756. package/build/services/tails/index.js.map +0 -1
  757. package/build/updates/0.3.1-0.4/credentialDefinition.d.ts +0 -18
  758. package/build/updates/0.3.1-0.4/credentialDefinition.js +0 -56
  759. package/build/updates/0.3.1-0.4/credentialDefinition.js.map +0 -1
  760. package/build/updates/0.3.1-0.4/credentialExchangeRecord.d.ts +0 -69
  761. package/build/updates/0.3.1-0.4/credentialExchangeRecord.js +0 -121
  762. package/build/updates/0.3.1-0.4/credentialExchangeRecord.js.map +0 -1
  763. package/build/updates/0.3.1-0.4/index.d.ts +0 -2
  764. package/build/updates/0.3.1-0.4/index.js +0 -14
  765. package/build/updates/0.3.1-0.4/index.js.map +0 -1
  766. package/build/updates/0.3.1-0.4/linkSecret.d.ts +0 -6
  767. package/build/updates/0.3.1-0.4/linkSecret.js +0 -35
  768. package/build/updates/0.3.1-0.4/linkSecret.js.map +0 -1
  769. package/build/updates/0.3.1-0.4/schema.d.ts +0 -15
  770. package/build/updates/0.3.1-0.4/schema.js +0 -41
  771. package/build/updates/0.3.1-0.4/schema.js.map +0 -1
  772. package/build/updates/0.4-0.5/anonCredsCredentialRecord.d.ts +0 -5
  773. package/build/updates/0.4-0.5/anonCredsCredentialRecord.js +0 -149
  774. package/build/updates/0.4-0.5/anonCredsCredentialRecord.js.map +0 -1
  775. package/build/updates/0.4-0.5/index.d.ts +0 -2
  776. package/build/updates/0.4-0.5/index.js +0 -8
  777. package/build/updates/0.4-0.5/index.js.map +0 -1
  778. package/build/utils/anonCredsObjects.d.ts +0 -26
  779. package/build/utils/anonCredsObjects.js +0 -81
  780. package/build/utils/anonCredsObjects.js.map +0 -1
  781. package/build/utils/areRequestsEqual.d.ts +0 -6
  782. package/build/utils/areRequestsEqual.js +0 -135
  783. package/build/utils/areRequestsEqual.js.map +0 -1
  784. package/build/utils/composeAutoAccept.d.ts +0 -15
  785. package/build/utils/composeAutoAccept.js +0 -26
  786. package/build/utils/composeAutoAccept.js.map +0 -1
  787. package/build/utils/createRequestFromPreview.d.ts +0 -10
  788. package/build/utils/createRequestFromPreview.js +0 -71
  789. package/build/utils/createRequestFromPreview.js.map +0 -1
  790. package/build/utils/credential.d.ts +0 -68
  791. package/build/utils/credential.js +0 -188
  792. package/build/utils/credential.js.map +0 -1
  793. package/build/utils/credentialPreviewAttributes.d.ts +0 -2
  794. package/build/utils/credentialPreviewAttributes.js +0 -24
  795. package/build/utils/credentialPreviewAttributes.js.map +0 -1
  796. package/build/utils/getCredentialsForAnonCredsRequest.d.ts +0 -4
  797. package/build/utils/getCredentialsForAnonCredsRequest.js +0 -81
  798. package/build/utils/getCredentialsForAnonCredsRequest.js.map +0 -1
  799. package/build/utils/getRevocationRegistries.d.ts +0 -14
  800. package/build/utils/getRevocationRegistries.js +0 -151
  801. package/build/utils/getRevocationRegistries.js.map +0 -1
  802. package/build/utils/hasDuplicateGroupNames.d.ts +0 -2
  803. package/build/utils/hasDuplicateGroupNames.js +0 -22
  804. package/build/utils/hasDuplicateGroupNames.js.map +0 -1
  805. package/build/utils/index.d.ts +0 -17
  806. package/build/utils/index.js +0 -48
  807. package/build/utils/index.js.map +0 -1
  808. package/build/utils/indyIdentifiers.d.ts +0 -66
  809. package/build/utils/indyIdentifiers.js +0 -298
  810. package/build/utils/indyIdentifiers.js.map +0 -1
  811. package/build/utils/isMap.d.ts +0 -5
  812. package/build/utils/isMap.js +0 -17
  813. package/build/utils/isMap.js.map +0 -1
  814. package/build/utils/linkSecret.d.ts +0 -9
  815. package/build/utils/linkSecret.js +0 -43
  816. package/build/utils/linkSecret.js.map +0 -1
  817. package/build/utils/metadata.d.ts +0 -35
  818. package/build/utils/metadata.js +0 -24
  819. package/build/utils/metadata.js.map +0 -1
  820. package/build/utils/proofRequest.d.ts +0 -2
  821. package/build/utils/proofRequest.js +0 -21
  822. package/build/utils/proofRequest.js.map +0 -1
  823. package/build/utils/proverDid.d.ts +0 -8
  824. package/build/utils/proverDid.js +0 -15
  825. package/build/utils/proverDid.js.map +0 -1
  826. package/build/utils/revocationInterval.d.ts +0 -7
  827. package/build/utils/revocationInterval.js +0 -14
  828. package/build/utils/revocationInterval.js.map +0 -1
  829. package/build/utils/sortRequestedCredentialsMatches.d.ts +0 -8
  830. package/build/utils/sortRequestedCredentialsMatches.js +0 -31
  831. package/build/utils/sortRequestedCredentialsMatches.js.map +0 -1
  832. package/build/utils/timestamp.d.ts +0 -1
  833. package/build/utils/timestamp.js +0 -7
  834. package/build/utils/timestamp.js.map +0 -1
  835. package/build/utils/w3cAnonCredsUtils.d.ts +0 -37
  836. package/build/utils/w3cAnonCredsUtils.js +0 -132
  837. package/build/utils/w3cAnonCredsUtils.js.map +0 -1
@@ -1,58 +0,0 @@
1
- import type { LegacyIndyProofFormat } from './LegacyIndyProofFormat';
2
- import type { ProofFormatService, AgentContext, ProofFormatCreateReturn, FormatCreateRequestOptions, ProofFormatCreateProposalOptions, ProofFormatProcessOptions, ProofFormatAcceptProposalOptions, ProofFormatAcceptRequestOptions, ProofFormatProcessPresentationOptions, ProofFormatGetCredentialsForRequestOptions, ProofFormatGetCredentialsForRequestReturn, ProofFormatSelectCredentialsForRequestOptions, ProofFormatSelectCredentialsForRequestReturn, ProofFormatAutoRespondProposalOptions, ProofFormatAutoRespondRequestOptions, ProofFormatAutoRespondPresentationOptions } from '@credo-ts/core';
3
- export declare class LegacyIndyProofFormatService implements ProofFormatService<LegacyIndyProofFormat> {
4
- readonly formatKey: "indy";
5
- createProposal(agentContext: AgentContext, { attachmentId, proofFormats }: ProofFormatCreateProposalOptions<LegacyIndyProofFormat>): Promise<ProofFormatCreateReturn>;
6
- processProposal(agentContext: AgentContext, { attachment }: ProofFormatProcessOptions): Promise<void>;
7
- acceptProposal(agentContext: AgentContext, { proposalAttachment, attachmentId }: ProofFormatAcceptProposalOptions<LegacyIndyProofFormat>): Promise<ProofFormatCreateReturn>;
8
- createRequest(agentContext: AgentContext, { attachmentId, proofFormats }: FormatCreateRequestOptions<LegacyIndyProofFormat>): Promise<ProofFormatCreateReturn>;
9
- processRequest(agentContext: AgentContext, { attachment }: ProofFormatProcessOptions): Promise<void>;
10
- acceptRequest(agentContext: AgentContext, { proofFormats, requestAttachment, attachmentId }: ProofFormatAcceptRequestOptions<LegacyIndyProofFormat>): Promise<ProofFormatCreateReturn>;
11
- processPresentation(agentContext: AgentContext, { requestAttachment, attachment }: ProofFormatProcessPresentationOptions): Promise<boolean>;
12
- getCredentialsForRequest(agentContext: AgentContext, { requestAttachment, proofFormats }: ProofFormatGetCredentialsForRequestOptions<LegacyIndyProofFormat>): Promise<ProofFormatGetCredentialsForRequestReturn<LegacyIndyProofFormat>>;
13
- selectCredentialsForRequest(agentContext: AgentContext, { requestAttachment, proofFormats }: ProofFormatSelectCredentialsForRequestOptions<LegacyIndyProofFormat>): Promise<ProofFormatSelectCredentialsForRequestReturn<LegacyIndyProofFormat>>;
14
- shouldAutoRespondToProposal(agentContext: AgentContext, { proposalAttachment, requestAttachment }: ProofFormatAutoRespondProposalOptions): Promise<boolean>;
15
- shouldAutoRespondToRequest(agentContext: AgentContext, { proposalAttachment, requestAttachment }: ProofFormatAutoRespondRequestOptions): Promise<boolean>;
16
- shouldAutoRespondToPresentation(_agentContext: AgentContext, _options: ProofFormatAutoRespondPresentationOptions): Promise<boolean>;
17
- supportsFormat(formatIdentifier: string): boolean;
18
- private _getCredentialsForRequest;
19
- private _selectCredentialsForRequest;
20
- private getCredentialsForProofRequestReferent;
21
- /**
22
- * Build schemas object needed to create and verify proof objects.
23
- *
24
- * Creates object with `{ schemaId: AnonCredsSchema }` mapping
25
- *
26
- * @param schemaIds List of schema ids
27
- * @returns Object containing schemas for specified schema ids
28
- *
29
- */
30
- private getSchemas;
31
- /**
32
- * Build credential definitions object needed to create and verify proof objects.
33
- *
34
- * Creates object with `{ credentialDefinitionId: AnonCredsCredentialDefinition }` mapping
35
- *
36
- * @param credentialDefinitionIds List of credential definition ids
37
- * @returns Object containing credential definitions for specified credential definition ids
38
- *
39
- */
40
- private getCredentialDefinitions;
41
- private getRevocationStatus;
42
- /**
43
- * Create indy proof from a given proof request and requested credential object.
44
- *
45
- * @param proofRequest The proof request to create the proof for
46
- * @param requestedCredentials The requested credentials object specifying which credentials to use for the proof
47
- * @returns indy proof object
48
- */
49
- private createProof;
50
- /**
51
- * Returns an object of type {@link Attachment} for use in credential exchange messages.
52
- * It looks up the correct format identifier and encodes the data as a base64 attachment.
53
- *
54
- * @param data The data to include in the attach object
55
- * @param id the attach id from the formats component of the message
56
- */
57
- private getFormatData;
58
- }
@@ -1,374 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LegacyIndyProofFormatService = void 0;
4
- const core_1 = require("@credo-ts/core");
5
- const AnonCredsProofRequest_1 = require("../models/AnonCredsProofRequest");
6
- const services_1 = require("../services");
7
- const utils_1 = require("../utils");
8
- const credential_1 = require("../utils/credential");
9
- const indyIdentifiers_1 = require("../utils/indyIdentifiers");
10
- const timestamp_1 = require("../utils/timestamp");
11
- const V2_INDY_PRESENTATION_PROPOSAL = 'hlindy/proof-req@v2.0';
12
- const V2_INDY_PRESENTATION_REQUEST = 'hlindy/proof-req@v2.0';
13
- const V2_INDY_PRESENTATION = 'hlindy/proof@v2.0';
14
- class LegacyIndyProofFormatService {
15
- constructor() {
16
- this.formatKey = 'indy';
17
- }
18
- async createProposal(agentContext, { attachmentId, proofFormats }) {
19
- var _a, _b, _c, _d;
20
- const format = new core_1.ProofFormatSpec({
21
- format: V2_INDY_PRESENTATION_PROPOSAL,
22
- attachmentId,
23
- });
24
- const indyFormat = proofFormats.indy;
25
- if (!indyFormat) {
26
- throw Error('Missing indy format to create proposal attachment format');
27
- }
28
- const proofRequest = (0, utils_1.createRequestFromPreview)({
29
- attributes: (_a = indyFormat.attributes) !== null && _a !== void 0 ? _a : [],
30
- predicates: (_b = indyFormat.predicates) !== null && _b !== void 0 ? _b : [],
31
- name: (_c = indyFormat.name) !== null && _c !== void 0 ? _c : 'Proof request',
32
- version: (_d = indyFormat.version) !== null && _d !== void 0 ? _d : '1.0',
33
- nonce: await agentContext.wallet.generateNonce(),
34
- });
35
- const attachment = this.getFormatData(proofRequest, format.attachmentId);
36
- return { attachment, format };
37
- }
38
- async processProposal(agentContext, { attachment }) {
39
- const proposalJson = attachment.getDataAsJson();
40
- // fromJson also validates
41
- core_1.JsonTransformer.fromJSON(proposalJson, AnonCredsProofRequest_1.AnonCredsProofRequest);
42
- // Assert attribute and predicate (group) names do not match
43
- (0, utils_1.assertNoDuplicateGroupsNamesInProofRequest)(proposalJson);
44
- }
45
- async acceptProposal(agentContext, { proposalAttachment, attachmentId }) {
46
- const format = new core_1.ProofFormatSpec({
47
- format: V2_INDY_PRESENTATION_REQUEST,
48
- attachmentId,
49
- });
50
- const proposalJson = proposalAttachment.getDataAsJson();
51
- const request = Object.assign(Object.assign({}, proposalJson), {
52
- // We never want to reuse the nonce from the proposal, as this will allow replay attacks
53
- nonce: await agentContext.wallet.generateNonce() });
54
- const attachment = this.getFormatData(request, format.attachmentId);
55
- return { attachment, format };
56
- }
57
- async createRequest(agentContext, { attachmentId, proofFormats }) {
58
- var _a, _b;
59
- const format = new core_1.ProofFormatSpec({
60
- format: V2_INDY_PRESENTATION_REQUEST,
61
- attachmentId,
62
- });
63
- const indyFormat = proofFormats.indy;
64
- if (!indyFormat) {
65
- throw Error('Missing indy format in create request attachment format');
66
- }
67
- const request = {
68
- name: indyFormat.name,
69
- version: indyFormat.version,
70
- nonce: await agentContext.wallet.generateNonce(),
71
- requested_attributes: (_a = indyFormat.requested_attributes) !== null && _a !== void 0 ? _a : {},
72
- requested_predicates: (_b = indyFormat.requested_predicates) !== null && _b !== void 0 ? _b : {},
73
- non_revoked: indyFormat.non_revoked,
74
- };
75
- // Assert attribute and predicate (group) names do not match
76
- (0, utils_1.assertNoDuplicateGroupsNamesInProofRequest)(request);
77
- const attachment = this.getFormatData(request, format.attachmentId);
78
- return { attachment, format };
79
- }
80
- async processRequest(agentContext, { attachment }) {
81
- const requestJson = attachment.getDataAsJson();
82
- // fromJson also validates
83
- core_1.JsonTransformer.fromJSON(requestJson, AnonCredsProofRequest_1.AnonCredsProofRequest);
84
- // Assert attribute and predicate (group) names do not match
85
- (0, utils_1.assertNoDuplicateGroupsNamesInProofRequest)(requestJson);
86
- }
87
- async acceptRequest(agentContext, { proofFormats, requestAttachment, attachmentId }) {
88
- const format = new core_1.ProofFormatSpec({
89
- format: V2_INDY_PRESENTATION,
90
- attachmentId,
91
- });
92
- const requestJson = requestAttachment.getDataAsJson();
93
- const indyFormat = proofFormats === null || proofFormats === void 0 ? void 0 : proofFormats.indy;
94
- const selectedCredentials = indyFormat !== null && indyFormat !== void 0 ? indyFormat : (await this._selectCredentialsForRequest(agentContext, requestJson, {
95
- filterByNonRevocationRequirements: true,
96
- }));
97
- const proof = await this.createProof(agentContext, requestJson, selectedCredentials);
98
- const attachment = this.getFormatData(proof, format.attachmentId);
99
- return {
100
- attachment,
101
- format,
102
- };
103
- }
104
- async processPresentation(agentContext, { requestAttachment, attachment }) {
105
- var _a;
106
- const verifierService = agentContext.dependencyManager.resolve(services_1.AnonCredsVerifierServiceSymbol);
107
- const proofRequestJson = requestAttachment.getDataAsJson();
108
- // NOTE: we don't do validation here, as this is handled by the AnonCreds implementation, however
109
- // this can lead to confusing error messages. We should consider doing validation here as well.
110
- // Defining a class-transformer/class-validator class seems a bit overkill, and the usage of interfaces
111
- // for the anoncreds package keeps things simple. Maybe we can try to use something like zod to validate
112
- const proofJson = attachment.getDataAsJson();
113
- for (const [referent, attribute] of Object.entries(proofJson.requested_proof.revealed_attrs)) {
114
- if (!(0, utils_1.checkValidCredentialValueEncoding)(attribute.raw, attribute.encoded)) {
115
- throw new core_1.CredoError(`The encoded value for '${referent}' is invalid. ` +
116
- `Expected '${(0, credential_1.encodeCredentialValue)(attribute.raw)}'. ` +
117
- `Actual '${attribute.encoded}'`);
118
- }
119
- }
120
- for (const [, attributeGroup] of Object.entries((_a = proofJson.requested_proof.revealed_attr_groups) !== null && _a !== void 0 ? _a : {})) {
121
- for (const [attributeName, attribute] of Object.entries(attributeGroup.values)) {
122
- if (!(0, utils_1.checkValidCredentialValueEncoding)(attribute.raw, attribute.encoded)) {
123
- throw new core_1.CredoError(`The encoded value for '${attributeName}' is invalid. ` +
124
- `Expected '${(0, credential_1.encodeCredentialValue)(attribute.raw)}'. ` +
125
- `Actual '${attribute.encoded}'`);
126
- }
127
- }
128
- }
129
- // TODO: pre verify proof json
130
- // I'm not 100% sure how much indy does. Also if it checks whether the proof requests matches the proof
131
- // @see https://github.com/hyperledger/aries-cloudagent-python/blob/master/aries_cloudagent/indy/sdk/verifier.py#L79-L164
132
- const schemas = await this.getSchemas(agentContext, new Set(proofJson.identifiers.map((i) => i.schema_id)));
133
- const credentialDefinitions = await this.getCredentialDefinitions(agentContext, new Set(proofJson.identifiers.map((i) => i.cred_def_id)));
134
- const revocationRegistries = await (0, utils_1.getRevocationRegistriesForProof)(agentContext, proofJson);
135
- return await verifierService.verifyProof(agentContext, {
136
- proofRequest: proofRequestJson,
137
- proof: proofJson,
138
- schemas,
139
- credentialDefinitions,
140
- revocationRegistries,
141
- });
142
- }
143
- async getCredentialsForRequest(agentContext, { requestAttachment, proofFormats }) {
144
- var _a;
145
- const proofRequestJson = requestAttachment.getDataAsJson();
146
- // Set default values
147
- const { filterByNonRevocationRequirements = true } = (_a = proofFormats === null || proofFormats === void 0 ? void 0 : proofFormats.indy) !== null && _a !== void 0 ? _a : {};
148
- const credentialsForRequest = await this._getCredentialsForRequest(agentContext, proofRequestJson, {
149
- filterByNonRevocationRequirements,
150
- });
151
- return credentialsForRequest;
152
- }
153
- async selectCredentialsForRequest(agentContext, { requestAttachment, proofFormats }) {
154
- var _a;
155
- const proofRequestJson = requestAttachment.getDataAsJson();
156
- // Set default values
157
- const { filterByNonRevocationRequirements = true } = (_a = proofFormats === null || proofFormats === void 0 ? void 0 : proofFormats.indy) !== null && _a !== void 0 ? _a : {};
158
- const selectedCredentials = this._selectCredentialsForRequest(agentContext, proofRequestJson, {
159
- filterByNonRevocationRequirements,
160
- });
161
- return selectedCredentials;
162
- }
163
- async shouldAutoRespondToProposal(agentContext, { proposalAttachment, requestAttachment }) {
164
- const proposalJson = proposalAttachment.getDataAsJson();
165
- const requestJson = requestAttachment.getDataAsJson();
166
- const areRequestsEqual = (0, utils_1.areAnonCredsProofRequestsEqual)(proposalJson, requestJson);
167
- agentContext.config.logger.debug(`AnonCreds request and proposal are are equal: ${areRequestsEqual}`, {
168
- proposalJson,
169
- requestJson,
170
- });
171
- return areRequestsEqual;
172
- }
173
- async shouldAutoRespondToRequest(agentContext, { proposalAttachment, requestAttachment }) {
174
- const proposalJson = proposalAttachment.getDataAsJson();
175
- const requestJson = requestAttachment.getDataAsJson();
176
- return (0, utils_1.areAnonCredsProofRequestsEqual)(proposalJson, requestJson);
177
- }
178
- async shouldAutoRespondToPresentation(
179
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
180
- _agentContext,
181
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
182
- _options) {
183
- // The presentation is already verified in processPresentation, so we can just return true here.
184
- // It's only an ack, so it's just that we received the presentation.
185
- return true;
186
- }
187
- supportsFormat(formatIdentifier) {
188
- const supportedFormats = [V2_INDY_PRESENTATION_PROPOSAL, V2_INDY_PRESENTATION_REQUEST, V2_INDY_PRESENTATION];
189
- return supportedFormats.includes(formatIdentifier);
190
- }
191
- async _getCredentialsForRequest(agentContext, proofRequest, options) {
192
- const credentialsForProofRequest = {
193
- attributes: {},
194
- predicates: {},
195
- };
196
- for (const [referent, requestedAttribute] of Object.entries(proofRequest.requested_attributes)) {
197
- const credentials = await this.getCredentialsForProofRequestReferent(agentContext, proofRequest, referent);
198
- credentialsForProofRequest.attributes[referent] = (0, utils_1.sortRequestedCredentialsMatches)(await Promise.all(credentials.map(async (credential) => {
199
- const { isRevoked, timestamp } = await this.getRevocationStatus(agentContext, proofRequest, requestedAttribute, credential.credentialInfo);
200
- return {
201
- credentialId: credential.credentialInfo.credentialId,
202
- revealed: true,
203
- credentialInfo: credential.credentialInfo,
204
- timestamp,
205
- revoked: isRevoked,
206
- };
207
- })));
208
- // We only attach revoked state if non-revocation is requested. So if revoked is true it means
209
- // the credential is not applicable to the proof request
210
- if (options.filterByNonRevocationRequirements) {
211
- credentialsForProofRequest.attributes[referent] = credentialsForProofRequest.attributes[referent].filter((r) => !r.revoked);
212
- }
213
- }
214
- for (const [referent, requestedPredicate] of Object.entries(proofRequest.requested_predicates)) {
215
- const credentials = await this.getCredentialsForProofRequestReferent(agentContext, proofRequest, referent);
216
- credentialsForProofRequest.predicates[referent] = (0, utils_1.sortRequestedCredentialsMatches)(await Promise.all(credentials.map(async (credential) => {
217
- const { isRevoked, timestamp } = await this.getRevocationStatus(agentContext, proofRequest, requestedPredicate, credential.credentialInfo);
218
- return {
219
- credentialId: credential.credentialInfo.credentialId,
220
- credentialInfo: credential.credentialInfo,
221
- timestamp,
222
- revoked: isRevoked,
223
- };
224
- })));
225
- // We only attach revoked state if non-revocation is requested. So if revoked is true it means
226
- // the credential is not applicable to the proof request
227
- if (options.filterByNonRevocationRequirements) {
228
- credentialsForProofRequest.predicates[referent] = credentialsForProofRequest.predicates[referent].filter((r) => !r.revoked);
229
- }
230
- }
231
- return credentialsForProofRequest;
232
- }
233
- async _selectCredentialsForRequest(agentContext, proofRequest, options) {
234
- const credentialsForRequest = await this._getCredentialsForRequest(agentContext, proofRequest, options);
235
- const selectedCredentials = {
236
- attributes: {},
237
- predicates: {},
238
- selfAttestedAttributes: {},
239
- };
240
- Object.keys(credentialsForRequest.attributes).forEach((attributeName) => {
241
- const attributeArray = credentialsForRequest.attributes[attributeName];
242
- if (attributeArray.length === 0) {
243
- throw new core_1.CredoError('Unable to automatically select requested attributes.');
244
- }
245
- selectedCredentials.attributes[attributeName] = attributeArray[0];
246
- });
247
- Object.keys(credentialsForRequest.predicates).forEach((attributeName) => {
248
- if (credentialsForRequest.predicates[attributeName].length === 0) {
249
- throw new core_1.CredoError('Unable to automatically select requested predicates.');
250
- }
251
- else {
252
- selectedCredentials.predicates[attributeName] = credentialsForRequest.predicates[attributeName][0];
253
- }
254
- });
255
- return selectedCredentials;
256
- }
257
- async getCredentialsForProofRequestReferent(agentContext, proofRequest, attributeReferent) {
258
- const holderService = agentContext.dependencyManager.resolve(services_1.AnonCredsHolderServiceSymbol);
259
- const credentials = await holderService.getCredentialsForProofRequest(agentContext, {
260
- proofRequest,
261
- attributeReferent,
262
- });
263
- return credentials;
264
- }
265
- /**
266
- * Build schemas object needed to create and verify proof objects.
267
- *
268
- * Creates object with `{ schemaId: AnonCredsSchema }` mapping
269
- *
270
- * @param schemaIds List of schema ids
271
- * @returns Object containing schemas for specified schema ids
272
- *
273
- */
274
- async getSchemas(agentContext, schemaIds) {
275
- const schemas = {};
276
- for (const schemaId of schemaIds) {
277
- const schemaResult = await (0, utils_1.fetchSchema)(agentContext, schemaId);
278
- if ((0, indyIdentifiers_1.isUnqualifiedSchemaId)(schemaResult.schemaId)) {
279
- schemas[schemaId] = schemaResult.schema;
280
- }
281
- else {
282
- schemas[(0, indyIdentifiers_1.getUnQualifiedDidIndyDid)(schemaId)] = (0, indyIdentifiers_1.getUnqualifiedDidIndySchema)(schemaResult.schema);
283
- }
284
- }
285
- return schemas;
286
- }
287
- /**
288
- * Build credential definitions object needed to create and verify proof objects.
289
- *
290
- * Creates object with `{ credentialDefinitionId: AnonCredsCredentialDefinition }` mapping
291
- *
292
- * @param credentialDefinitionIds List of credential definition ids
293
- * @returns Object containing credential definitions for specified credential definition ids
294
- *
295
- */
296
- async getCredentialDefinitions(agentContext, credentialDefinitionIds) {
297
- const credentialDefinitions = {};
298
- for (const credentialDefinitionId of credentialDefinitionIds) {
299
- const credentialDefinitionResult = await (0, utils_1.fetchCredentialDefinition)(agentContext, credentialDefinitionId);
300
- if ((0, indyIdentifiers_1.isUnqualifiedCredentialDefinitionId)(credentialDefinitionResult.credentialDefinitionId)) {
301
- credentialDefinitions[credentialDefinitionId] = credentialDefinitionResult.credentialDefinition;
302
- }
303
- else {
304
- credentialDefinitions[(0, indyIdentifiers_1.getUnQualifiedDidIndyDid)(credentialDefinitionId)] =
305
- (0, indyIdentifiers_1.getUnqualifiedDidIndyCredentialDefinition)(credentialDefinitionResult.credentialDefinition);
306
- }
307
- }
308
- return credentialDefinitions;
309
- }
310
- async getRevocationStatus(agentContext, proofRequest, requestedItem, credentialInfo) {
311
- var _a, _b;
312
- const requestNonRevoked = (_a = requestedItem.non_revoked) !== null && _a !== void 0 ? _a : proofRequest.non_revoked;
313
- const credentialRevocationId = credentialInfo.credentialRevocationId;
314
- const revocationRegistryId = credentialInfo.revocationRegistryId;
315
- // If revocation interval is not present or the credential is not revocable then we
316
- // don't need to fetch the revocation status
317
- if (!requestNonRevoked || credentialRevocationId === null || !revocationRegistryId) {
318
- return { isRevoked: undefined, timestamp: undefined };
319
- }
320
- agentContext.config.logger.trace(`Fetching credential revocation status for credential revocation id '${credentialRevocationId}' with revocation interval with from '${requestNonRevoked.from}' and to '${requestNonRevoked.to}'`);
321
- // Make sure the revocation interval follows best practices from Aries RFC 0441
322
- (0, utils_1.assertBestPracticeRevocationInterval)(requestNonRevoked);
323
- const { revocationStatusList } = await (0, utils_1.fetchRevocationStatusList)(agentContext, revocationRegistryId, (_b = requestNonRevoked.to) !== null && _b !== void 0 ? _b : (0, timestamp_1.dateToTimestamp)(new Date()));
324
- // Item is revoked when the value at the index is 1
325
- const isRevoked = revocationStatusList.revocationList[parseInt(credentialRevocationId)] === 1;
326
- agentContext.config.logger.trace(`Credential with credential revocation index '${credentialRevocationId}' is ${isRevoked ? '' : 'not '}revoked with revocation interval with to '${requestNonRevoked.to}' & from '${requestNonRevoked.from}'`);
327
- return {
328
- isRevoked,
329
- timestamp: revocationStatusList.timestamp,
330
- };
331
- }
332
- /**
333
- * Create indy proof from a given proof request and requested credential object.
334
- *
335
- * @param proofRequest The proof request to create the proof for
336
- * @param requestedCredentials The requested credentials object specifying which credentials to use for the proof
337
- * @returns indy proof object
338
- */
339
- async createProof(agentContext, proofRequest, selectedCredentials) {
340
- const holderService = agentContext.dependencyManager.resolve(services_1.AnonCredsHolderServiceSymbol);
341
- const credentialObjects = await Promise.all([...Object.values(selectedCredentials.attributes), ...Object.values(selectedCredentials.predicates)].map(async (c) => { var _a; return (_a = c.credentialInfo) !== null && _a !== void 0 ? _a : holderService.getCredential(agentContext, { id: c.credentialId }); }));
342
- const schemas = await this.getSchemas(agentContext, new Set(credentialObjects.map((c) => c.schemaId)));
343
- const credentialDefinitions = await this.getCredentialDefinitions(agentContext, new Set(credentialObjects.map((c) => c.credentialDefinitionId)));
344
- // selectedCredentials are overridden with specified timestamps of the revocation status list that
345
- // should be used for the selected credentials.
346
- const { revocationRegistries, updatedSelectedCredentials } = await (0, utils_1.getRevocationRegistriesForRequest)(agentContext, proofRequest, selectedCredentials);
347
- return await holderService.createProof(agentContext, {
348
- proofRequest,
349
- selectedCredentials: updatedSelectedCredentials,
350
- schemas,
351
- credentialDefinitions,
352
- revocationRegistries,
353
- });
354
- }
355
- /**
356
- * Returns an object of type {@link Attachment} for use in credential exchange messages.
357
- * It looks up the correct format identifier and encodes the data as a base64 attachment.
358
- *
359
- * @param data The data to include in the attach object
360
- * @param id the attach id from the formats component of the message
361
- */
362
- getFormatData(data, id) {
363
- const attachment = new core_1.Attachment({
364
- id,
365
- mimeType: 'application/json',
366
- data: new core_1.AttachmentData({
367
- base64: core_1.JsonEncoder.toBase64(data),
368
- }),
369
- });
370
- return attachment;
371
- }
372
- }
373
- exports.LegacyIndyProofFormatService = LegacyIndyProofFormatService;
374
- //# sourceMappingURL=LegacyIndyProofFormatService.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LegacyIndyProofFormatService.js","sourceRoot":"","sources":["../../src/formats/LegacyIndyProofFormatService.ts"],"names":[],"mappings":";;;AAqCA,yCAAsH;AAEtH,2EAAqG;AACrG,0CAA0F;AAC1F,oCAYiB;AACjB,oDAA2D;AAC3D,8DAMiC;AACjC,kDAAoD;AAEpD,MAAM,6BAA6B,GAAG,uBAAuB,CAAA;AAC7D,MAAM,4BAA4B,GAAG,uBAAuB,CAAA;AAC5D,MAAM,oBAAoB,GAAG,mBAAmB,CAAA;AAEhD,MAAa,4BAA4B;IAAzC;QACkB,cAAS,GAAG,MAAe,CAAA;IA6hB7C,CAAC;IA3hBQ,KAAK,CAAC,cAAc,CACzB,YAA0B,EAC1B,EAAE,YAAY,EAAE,YAAY,EAA2D;;QAEvF,MAAM,MAAM,GAAG,IAAI,sBAAe,CAAC;YACjC,MAAM,EAAE,6BAA6B;YACrC,YAAY;SACb,CAAC,CAAA;QAEF,MAAM,UAAU,GAAG,YAAY,CAAC,IAAI,CAAA;QACpC,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,MAAM,KAAK,CAAC,0DAA0D,CAAC,CAAA;QACzE,CAAC;QAED,MAAM,YAAY,GAAG,IAAA,gCAAwB,EAAC;YAC5C,UAAU,EAAE,MAAA,UAAU,CAAC,UAAU,mCAAI,EAAE;YACvC,UAAU,EAAE,MAAA,UAAU,CAAC,UAAU,mCAAI,EAAE;YACvC,IAAI,EAAE,MAAA,UAAU,CAAC,IAAI,mCAAI,eAAe;YACxC,OAAO,EAAE,MAAA,UAAU,CAAC,OAAO,mCAAI,KAAK;YACpC,KAAK,EAAE,MAAM,YAAY,CAAC,MAAM,CAAC,aAAa,EAAE;SACjD,CAAC,CAAA;QACF,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,CAAC,YAAY,EAAE,MAAM,CAAC,YAAY,CAAC,CAAA;QAExE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;I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EAAE,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAChE,CAAA;QAED,kGAAkG;QAClG,+CAA+C;QAC/C,MAAM,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,GAAG,MAAM,IAAA,yCAAiC,EAClG,YAAY,EACZ,YAAY,EACZ,mBAAmB,CACpB,CAAA;QAED,OAAO,MAAM,aAAa,CAAC,WAAW,CAAC,YAAY,EAAE;YACnD,YAAY;YACZ,mBAAmB,EAAE,0BAA0B;YAC/C,OAAO;YACP,qBAAqB;YACrB,oBAAoB;SACrB,CAAC,CAAA;IACJ,CAAC;IAED;;;;;;OAMG;IACK,aAAa,CAAC,IAAa,EAAE,EAAU;QAC7C,MAAM,UAAU,GAAG,IAAI,iBAAU,CAAC;YAChC,EAAE;YACF,QAAQ,EAAE,kBAAkB;YAC5B,IAAI,EAAE,IAAI,qBAAc,CAAC;gBACvB,MAAM,EAAE,kBAAW,CAAC,QAAQ,CAAC,IAAI,CAAC;aACnC,CAAC;SACH,CAAC,CAAA;QAEF,OAAO,UAAU,CAAA;IACnB,CAAC;CACF;AA9hBD,oEA8hBC"}
@@ -1,9 +0,0 @@
1
- export * from './AnonCredsCredentialFormat';
2
- export * from './LegacyIndyCredentialFormat';
3
- export { AnonCredsCredentialFormatService } from './AnonCredsCredentialFormatService';
4
- export { DataIntegrityCredentialFormatService } from './DataIntegrityCredentialFormatService';
5
- export { LegacyIndyCredentialFormatService } from './LegacyIndyCredentialFormatService';
6
- export * from './AnonCredsProofFormat';
7
- export * from './LegacyIndyProofFormat';
8
- export { AnonCredsProofFormatService } from './AnonCredsProofFormatService';
9
- export { LegacyIndyProofFormatService } from './LegacyIndyProofFormatService';
@@ -1,32 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.LegacyIndyProofFormatService = exports.AnonCredsProofFormatService = exports.LegacyIndyCredentialFormatService = exports.DataIntegrityCredentialFormatService = exports.AnonCredsCredentialFormatService = void 0;
18
- __exportStar(require("./AnonCredsCredentialFormat"), exports);
19
- __exportStar(require("./LegacyIndyCredentialFormat"), exports);
20
- var AnonCredsCredentialFormatService_1 = require("./AnonCredsCredentialFormatService");
21
- Object.defineProperty(exports, "AnonCredsCredentialFormatService", { enumerable: true, get: function () { return AnonCredsCredentialFormatService_1.AnonCredsCredentialFormatService; } });
22
- var DataIntegrityCredentialFormatService_1 = require("./DataIntegrityCredentialFormatService");
23
- Object.defineProperty(exports, "DataIntegrityCredentialFormatService", { enumerable: true, get: function () { return DataIntegrityCredentialFormatService_1.DataIntegrityCredentialFormatService; } });
24
- var LegacyIndyCredentialFormatService_1 = require("./LegacyIndyCredentialFormatService");
25
- Object.defineProperty(exports, "LegacyIndyCredentialFormatService", { enumerable: true, get: function () { return LegacyIndyCredentialFormatService_1.LegacyIndyCredentialFormatService; } });
26
- __exportStar(require("./AnonCredsProofFormat"), exports);
27
- __exportStar(require("./LegacyIndyProofFormat"), exports);
28
- var AnonCredsProofFormatService_1 = require("./AnonCredsProofFormatService");
29
- Object.defineProperty(exports, "AnonCredsProofFormatService", { enumerable: true, get: function () { return AnonCredsProofFormatService_1.AnonCredsProofFormatService; } });
30
- var LegacyIndyProofFormatService_1 = require("./LegacyIndyProofFormatService");
31
- Object.defineProperty(exports, "LegacyIndyProofFormatService", { enumerable: true, get: function () { return LegacyIndyProofFormatService_1.LegacyIndyProofFormatService; } });
32
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/formats/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,8DAA2C;AAC3C,+DAA4C;AAC5C,uFAAqF;AAA5E,oJAAA,gCAAgC,OAAA;AACzC,+FAA6F;AAApF,4JAAA,oCAAoC,OAAA;AAC7C,yFAAuF;AAA9E,sJAAA,iCAAiC,OAAA;AAE1C,yDAAsC;AACtC,0DAAuC;AACvC,6EAA2E;AAAlE,0IAAA,2BAA2B,OAAA;AACpC,+EAA6E;AAApE,4IAAA,4BAA4B,OAAA"}
package/build/index.d.ts DELETED
@@ -1,21 +0,0 @@
1
- import 'reflect-metadata';
2
- export * from './models';
3
- export * from './services';
4
- export * from './error';
5
- export * from './repository';
6
- export * from './formats';
7
- export * from './protocols';
8
- export { AnonCredsModule } from './AnonCredsModule';
9
- export { AnonCredsModuleConfig, AnonCredsModuleConfigOptions } from './AnonCredsModuleConfig';
10
- export { AnonCredsApi } from './AnonCredsApi';
11
- export * from './AnonCredsApiOptions';
12
- export { generateLegacyProverDidLikeString } from './utils/proverDid';
13
- export * from './utils/indyIdentifiers';
14
- export { assertBestPracticeRevocationInterval } from './utils/revocationInterval';
15
- export { storeLinkSecret } from './utils/linkSecret';
16
- export { dateToTimestamp, AnonCredsCredentialValue, AnonCredsCredentialMetadata } from './utils';
17
- export { fetchCredentialDefinition, fetchRevocationRegistryDefinition, fetchSchema, fetchRevocationStatusList, } from './utils/anonCredsObjects';
18
- export { AnonCredsCredentialMetadataKey } from './utils/metadata';
19
- export { getAnonCredsTagsFromRecord, AnonCredsCredentialTags } from './utils/w3cAnonCredsUtils';
20
- export { W3cAnonCredsCredentialMetadataKey } from './utils/metadata';
21
- export { getCredentialsForAnonCredsProofRequest } from './utils/getCredentialsForAnonCredsRequest';
package/build/index.js DELETED
@@ -1,54 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.getCredentialsForAnonCredsProofRequest = exports.W3cAnonCredsCredentialMetadataKey = exports.getAnonCredsTagsFromRecord = exports.AnonCredsCredentialMetadataKey = exports.fetchRevocationStatusList = exports.fetchSchema = exports.fetchRevocationRegistryDefinition = exports.fetchCredentialDefinition = exports.dateToTimestamp = exports.storeLinkSecret = exports.assertBestPracticeRevocationInterval = exports.generateLegacyProverDidLikeString = exports.AnonCredsApi = exports.AnonCredsModuleConfig = exports.AnonCredsModule = void 0;
18
- require("reflect-metadata");
19
- __exportStar(require("./models"), exports);
20
- __exportStar(require("./services"), exports);
21
- __exportStar(require("./error"), exports);
22
- __exportStar(require("./repository"), exports);
23
- __exportStar(require("./formats"), exports);
24
- __exportStar(require("./protocols"), exports);
25
- var AnonCredsModule_1 = require("./AnonCredsModule");
26
- Object.defineProperty(exports, "AnonCredsModule", { enumerable: true, get: function () { return AnonCredsModule_1.AnonCredsModule; } });
27
- var AnonCredsModuleConfig_1 = require("./AnonCredsModuleConfig");
28
- Object.defineProperty(exports, "AnonCredsModuleConfig", { enumerable: true, get: function () { return AnonCredsModuleConfig_1.AnonCredsModuleConfig; } });
29
- var AnonCredsApi_1 = require("./AnonCredsApi");
30
- Object.defineProperty(exports, "AnonCredsApi", { enumerable: true, get: function () { return AnonCredsApi_1.AnonCredsApi; } });
31
- __exportStar(require("./AnonCredsApiOptions"), exports);
32
- var proverDid_1 = require("./utils/proverDid");
33
- Object.defineProperty(exports, "generateLegacyProverDidLikeString", { enumerable: true, get: function () { return proverDid_1.generateLegacyProverDidLikeString; } });
34
- __exportStar(require("./utils/indyIdentifiers"), exports);
35
- var revocationInterval_1 = require("./utils/revocationInterval");
36
- Object.defineProperty(exports, "assertBestPracticeRevocationInterval", { enumerable: true, get: function () { return revocationInterval_1.assertBestPracticeRevocationInterval; } });
37
- var linkSecret_1 = require("./utils/linkSecret");
38
- Object.defineProperty(exports, "storeLinkSecret", { enumerable: true, get: function () { return linkSecret_1.storeLinkSecret; } });
39
- var utils_1 = require("./utils");
40
- Object.defineProperty(exports, "dateToTimestamp", { enumerable: true, get: function () { return utils_1.dateToTimestamp; } });
41
- var anonCredsObjects_1 = require("./utils/anonCredsObjects");
42
- Object.defineProperty(exports, "fetchCredentialDefinition", { enumerable: true, get: function () { return anonCredsObjects_1.fetchCredentialDefinition; } });
43
- Object.defineProperty(exports, "fetchRevocationRegistryDefinition", { enumerable: true, get: function () { return anonCredsObjects_1.fetchRevocationRegistryDefinition; } });
44
- Object.defineProperty(exports, "fetchSchema", { enumerable: true, get: function () { return anonCredsObjects_1.fetchSchema; } });
45
- Object.defineProperty(exports, "fetchRevocationStatusList", { enumerable: true, get: function () { return anonCredsObjects_1.fetchRevocationStatusList; } });
46
- var metadata_1 = require("./utils/metadata");
47
- Object.defineProperty(exports, "AnonCredsCredentialMetadataKey", { enumerable: true, get: function () { return metadata_1.AnonCredsCredentialMetadataKey; } });
48
- var w3cAnonCredsUtils_1 = require("./utils/w3cAnonCredsUtils");
49
- Object.defineProperty(exports, "getAnonCredsTagsFromRecord", { enumerable: true, get: function () { return w3cAnonCredsUtils_1.getAnonCredsTagsFromRecord; } });
50
- var metadata_2 = require("./utils/metadata");
51
- Object.defineProperty(exports, "W3cAnonCredsCredentialMetadataKey", { enumerable: true, get: function () { return metadata_2.W3cAnonCredsCredentialMetadataKey; } });
52
- var getCredentialsForAnonCredsRequest_1 = require("./utils/getCredentialsForAnonCredsRequest");
53
- Object.defineProperty(exports, "getCredentialsForAnonCredsProofRequest", { enumerable: true, get: function () { return getCredentialsForAnonCredsRequest_1.getCredentialsForAnonCredsProofRequest; } });
54
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4BAAyB;AAEzB,2CAAwB;AACxB,6CAA0B;AAC1B,0CAAuB;AACvB,+CAA4B;AAC5B,4CAAyB;AACzB,8CAA2B;AAE3B,qDAAmD;AAA1C,kHAAA,eAAe,OAAA;AACxB,iEAA6F;AAApF,8HAAA,qBAAqB,OAAA;AAC9B,+CAA6C;AAApC,4GAAA,YAAY,OAAA;AACrB,wDAAqC;AACrC,+CAAqE;AAA5D,8HAAA,iCAAiC,OAAA;AAC1C,0DAAuC;AACvC,iEAAiF;AAAxE,0IAAA,oCAAoC,OAAA;AAC7C,iDAAoD;AAA3C,6GAAA,eAAe,OAAA;AAExB,iCAAgG;AAAvF,wGAAA,eAAe,OAAA;AACxB,6DAKiC;AAJ/B,6HAAA,yBAAyB,OAAA;AACzB,qIAAA,iCAAiC,OAAA;AACjC,+GAAA,WAAW,OAAA;AACX,6HAAA,yBAAyB,OAAA;AAG3B,6CAAiE;AAAxD,0HAAA,8BAA8B,OAAA;AACvC,+DAA+F;AAAtF,+HAAA,0BAA0B,OAAA;AACnC,6CAAoE;AAA3D,6HAAA,iCAAiC,OAAA;AAC1C,+FAAkG;AAAzF,2JAAA,sCAAsC,OAAA"}