@credo-ts/anoncreds 0.6.0-pr-2444-20251010162514 → 0.6.0-pr-2454-20251015095608

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 (276) hide show
  1. package/build/AnonCredsApi.d.mts +4 -4
  2. package/build/AnonCredsApi.d.mts.map +1 -1
  3. package/build/AnonCredsApi.d.ts +4 -4
  4. package/build/AnonCredsApi.d.ts.map +1 -1
  5. package/build/AnonCredsApi.js +14 -14
  6. package/build/AnonCredsApi.mjs +14 -14
  7. package/build/AnonCredsApi.mjs.map +1 -1
  8. package/build/AnonCredsModule.d.mts.map +1 -1
  9. package/build/AnonCredsModule.d.ts.map +1 -1
  10. package/build/AnonCredsModule.js +7 -7
  11. package/build/AnonCredsModule.mjs +7 -7
  12. package/build/AnonCredsModule.mjs.map +1 -1
  13. package/build/anoncreds-rs/AnonCredsDataIntegrityService.js +1 -1
  14. package/build/anoncreds-rs/AnonCredsDataIntegrityService.mjs +1 -1
  15. package/build/anoncreds-rs/AnonCredsDataIntegrityService.mjs.map +1 -1
  16. package/build/anoncreds-rs/AnonCredsRsHolderService.js +6 -6
  17. package/build/anoncreds-rs/AnonCredsRsHolderService.mjs +6 -6
  18. package/build/anoncreds-rs/AnonCredsRsHolderService.mjs.map +1 -1
  19. package/build/anoncreds-rs/AnonCredsRsIssuerService.js +3 -3
  20. package/build/anoncreds-rs/AnonCredsRsIssuerService.mjs +3 -3
  21. package/build/anoncreds-rs/AnonCredsRsIssuerService.mjs.map +1 -1
  22. package/build/anoncreds-rs/AnonCredsRsVerifierService.mjs.map +1 -1
  23. package/build/anoncreds-rs/utils.js +1 -1
  24. package/build/anoncreds-rs/utils.mjs +1 -1
  25. package/build/anoncreds-rs/utils.mjs.map +1 -1
  26. package/build/error/index.js +1 -1
  27. package/build/error/index.mjs +1 -1
  28. package/build/formats/AnonCredsDidCommCredentialFormatService.d.mts.map +1 -1
  29. package/build/formats/AnonCredsDidCommCredentialFormatService.d.ts.map +1 -1
  30. package/build/formats/AnonCredsDidCommCredentialFormatService.js +5 -5
  31. package/build/formats/AnonCredsDidCommCredentialFormatService.mjs +5 -5
  32. package/build/formats/AnonCredsDidCommCredentialFormatService.mjs.map +1 -1
  33. package/build/formats/AnonCredsDidCommProofFormat.d.mts +1 -1
  34. package/build/formats/AnonCredsDidCommProofFormat.d.ts +1 -1
  35. package/build/formats/AnonCredsDidCommProofFormatService.d.mts.map +1 -1
  36. package/build/formats/AnonCredsDidCommProofFormatService.d.ts.map +1 -1
  37. package/build/formats/AnonCredsDidCommProofFormatService.js +5 -5
  38. package/build/formats/AnonCredsDidCommProofFormatService.mjs +5 -5
  39. package/build/formats/AnonCredsDidCommProofFormatService.mjs.map +1 -1
  40. package/build/formats/DataIntegrityDidCommCredentialFormatService.d.mts +4 -18
  41. package/build/formats/DataIntegrityDidCommCredentialFormatService.d.mts.map +1 -1
  42. package/build/formats/DataIntegrityDidCommCredentialFormatService.d.ts +4 -18
  43. package/build/formats/DataIntegrityDidCommCredentialFormatService.d.ts.map +1 -1
  44. package/build/formats/DataIntegrityDidCommCredentialFormatService.js +16 -16
  45. package/build/formats/DataIntegrityDidCommCredentialFormatService.mjs +16 -16
  46. package/build/formats/DataIntegrityDidCommCredentialFormatService.mjs.map +1 -1
  47. package/build/formats/LegacyIndyDidCommCredentialFormatService.d.mts.map +1 -1
  48. package/build/formats/LegacyIndyDidCommCredentialFormatService.d.ts.map +1 -1
  49. package/build/formats/LegacyIndyDidCommCredentialFormatService.js +3 -3
  50. package/build/formats/LegacyIndyDidCommCredentialFormatService.mjs +3 -3
  51. package/build/formats/LegacyIndyDidCommCredentialFormatService.mjs.map +1 -1
  52. package/build/formats/LegacyIndyDidCommProofFormat.d.mts +1 -1
  53. package/build/formats/LegacyIndyDidCommProofFormat.d.ts +1 -1
  54. package/build/formats/LegacyIndyDidCommProofFormatService.d.mts.map +1 -1
  55. package/build/formats/LegacyIndyDidCommProofFormatService.d.ts.map +1 -1
  56. package/build/formats/LegacyIndyDidCommProofFormatService.js +8 -8
  57. package/build/formats/LegacyIndyDidCommProofFormatService.mjs +8 -8
  58. package/build/formats/LegacyIndyDidCommProofFormatService.mjs.map +1 -1
  59. package/build/formats/index.js +1 -1
  60. package/build/formats/index.mjs +1 -1
  61. package/build/index.d.mts +30 -30
  62. package/build/index.d.ts +30 -30
  63. package/build/index.js +25 -25
  64. package/build/index.mjs +25 -25
  65. package/build/models/AnonCredsCredentialProposal.js +2 -2
  66. package/build/models/AnonCredsCredentialProposal.mjs +1 -1
  67. package/build/models/AnonCredsProofRequest.js +2 -2
  68. package/build/models/AnonCredsProofRequest.mjs +1 -1
  69. package/build/models/AnonCredsProofRequest.mjs.map +1 -1
  70. package/build/models/AnonCredsRequestedAttribute.js +2 -2
  71. package/build/models/AnonCredsRequestedAttribute.mjs +1 -1
  72. package/build/models/AnonCredsRequestedAttribute.mjs.map +1 -1
  73. package/build/models/AnonCredsRequestedPredicate.js +3 -3
  74. package/build/models/AnonCredsRequestedPredicate.mjs +2 -2
  75. package/build/models/AnonCredsRequestedPredicate.mjs.map +1 -1
  76. package/build/models/AnonCredsRestriction.js +2 -2
  77. package/build/models/AnonCredsRestriction.mjs +1 -1
  78. package/build/models/AnonCredsRestrictionWrapper.js +2 -2
  79. package/build/models/AnonCredsRestrictionWrapper.mjs +1 -1
  80. package/build/models/exchange.mjs.map +1 -1
  81. package/build/models/index.js +1 -1
  82. package/build/models/index.mjs +1 -1
  83. package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.d.mts +1 -1
  84. package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.d.mts.map +1 -1
  85. package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.d.ts +1 -1
  86. package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.d.ts.map +1 -1
  87. package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.js +4 -4
  88. package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.mjs +4 -4
  89. package/build/protocols/credentials/v1/DidCommCredentialV1Protocol.mjs.map +1 -1
  90. package/build/protocols/credentials/v1/handlers/DidCommIssueCredentialV1Handler.mjs.map +1 -1
  91. package/build/protocols/credentials/v1/handlers/DidCommOfferCredentialV1Handler.mjs.map +1 -1
  92. package/build/protocols/credentials/v1/handlers/DidCommProposeCredentialV1Handler.mjs.map +1 -1
  93. package/build/protocols/credentials/v1/handlers/DidCommRequestCredentialV1Handler.mjs.map +1 -1
  94. package/build/protocols/credentials/v1/handlers/index.js +1 -1
  95. package/build/protocols/credentials/v1/handlers/index.mjs +1 -1
  96. package/build/protocols/credentials/v1/index.js +2 -2
  97. package/build/protocols/credentials/v1/index.mjs +2 -2
  98. package/build/protocols/credentials/v1/messages/DidCommCredentialV1AckMessage.d.mts +2 -2
  99. package/build/protocols/credentials/v1/messages/DidCommCredentialV1AckMessage.d.ts +2 -2
  100. package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.d.mts +2 -2
  101. package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.d.mts.map +1 -1
  102. package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.d.ts +2 -2
  103. package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.d.ts.map +1 -1
  104. package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.js +4 -4
  105. package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.mjs +2 -2
  106. package/build/protocols/credentials/v1/messages/DidCommCredentialV1Preview.mjs.map +1 -1
  107. package/build/protocols/credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.d.mts +2 -2
  108. package/build/protocols/credentials/v1/messages/DidCommCredentialV1ProblemReportMessage.d.ts +2 -2
  109. package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.d.mts +2 -2
  110. package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.d.mts.map +1 -1
  111. package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.d.ts +2 -2
  112. package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.d.ts.map +1 -1
  113. package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.js +4 -4
  114. package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.mjs +2 -2
  115. package/build/protocols/credentials/v1/messages/DidCommIssueCredentialV1Message.mjs.map +1 -1
  116. package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.d.mts +2 -2
  117. package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.d.mts.map +1 -1
  118. package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.d.ts +2 -2
  119. package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.d.ts.map +1 -1
  120. package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.js +4 -4
  121. package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.mjs +2 -2
  122. package/build/protocols/credentials/v1/messages/DidCommOfferCredentialV1Message.mjs.map +1 -1
  123. package/build/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.d.mts +2 -2
  124. package/build/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.d.mts.map +1 -1
  125. package/build/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.d.ts +2 -2
  126. package/build/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.js +4 -4
  127. package/build/protocols/credentials/v1/messages/DidCommProposeCredentialV1Message.mjs +2 -2
  128. package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.d.mts +2 -2
  129. package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.d.mts.map +1 -1
  130. package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.d.ts +2 -2
  131. package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.d.ts.map +1 -1
  132. package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.js +4 -4
  133. package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.mjs +2 -2
  134. package/build/protocols/credentials/v1/messages/DidCommRequestCredentialV1Message.mjs.map +1 -1
  135. package/build/protocols/credentials/v1/messages/index.js +2 -2
  136. package/build/protocols/credentials/v1/messages/index.mjs +2 -2
  137. package/build/protocols/index.js +5 -5
  138. package/build/protocols/index.mjs +5 -5
  139. package/build/protocols/proofs/v1/DidCommProofV1Protocol.d.mts +2 -2
  140. package/build/protocols/proofs/v1/DidCommProofV1Protocol.d.mts.map +1 -1
  141. package/build/protocols/proofs/v1/DidCommProofV1Protocol.d.ts +2 -2
  142. package/build/protocols/proofs/v1/DidCommProofV1Protocol.d.ts.map +1 -1
  143. package/build/protocols/proofs/v1/DidCommProofV1Protocol.js +6 -6
  144. package/build/protocols/proofs/v1/DidCommProofV1Protocol.mjs +6 -6
  145. package/build/protocols/proofs/v1/DidCommProofV1Protocol.mjs.map +1 -1
  146. package/build/protocols/proofs/v1/handlers/DidCommPresentationV1Handler.mjs.map +1 -1
  147. package/build/protocols/proofs/v1/handlers/DidCommProposePresentationV1Handler.mjs.map +1 -1
  148. package/build/protocols/proofs/v1/handlers/DidCommRequestPresentationV1Handler.mjs.map +1 -1
  149. package/build/protocols/proofs/v1/handlers/index.js +1 -1
  150. package/build/protocols/proofs/v1/handlers/index.mjs +1 -1
  151. package/build/protocols/proofs/v1/index.js +4 -4
  152. package/build/protocols/proofs/v1/index.mjs +4 -4
  153. package/build/protocols/proofs/v1/messages/DidCommPresentationV1AckMessage.d.mts +2 -2
  154. package/build/protocols/proofs/v1/messages/DidCommPresentationV1AckMessage.d.ts +2 -2
  155. package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.d.mts +2 -2
  156. package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.d.mts.map +1 -1
  157. package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.d.ts +2 -2
  158. package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.d.ts.map +1 -1
  159. package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.js +4 -4
  160. package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.mjs +2 -2
  161. package/build/protocols/proofs/v1/messages/DidCommPresentationV1Message.mjs.map +1 -1
  162. package/build/protocols/proofs/v1/messages/DidCommPresentationV1ProblemReportMessage.d.mts +2 -2
  163. package/build/protocols/proofs/v1/messages/DidCommPresentationV1ProblemReportMessage.d.mts.map +1 -1
  164. package/build/protocols/proofs/v1/messages/DidCommProposePresentationV1Message.d.mts +2 -2
  165. package/build/protocols/proofs/v1/messages/DidCommProposePresentationV1Message.d.mts.map +1 -1
  166. package/build/protocols/proofs/v1/messages/DidCommProposePresentationV1Message.d.ts +2 -2
  167. package/build/protocols/proofs/v1/messages/DidCommProposePresentationV1Message.d.ts.map +1 -1
  168. package/build/protocols/proofs/v1/messages/DidCommProposePresentationV1Message.js +4 -4
  169. package/build/protocols/proofs/v1/messages/DidCommProposePresentationV1Message.mjs +2 -2
  170. package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.d.mts +2 -2
  171. package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.d.mts.map +1 -1
  172. package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.d.ts +2 -2
  173. package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.d.ts.map +1 -1
  174. package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.js +4 -4
  175. package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.mjs +2 -2
  176. package/build/protocols/proofs/v1/messages/DidCommRequestPresentationV1Message.mjs.map +1 -1
  177. package/build/protocols/proofs/v1/messages/index.js +3 -3
  178. package/build/protocols/proofs/v1/messages/index.mjs +3 -3
  179. package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.d.mts +1 -1
  180. package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.d.mts.map +1 -1
  181. package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.d.ts +2 -2
  182. package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.d.ts.map +1 -1
  183. package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.js +6 -6
  184. package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.mjs +4 -4
  185. package/build/protocols/proofs/v1/models/DidCommPresentationV1Preview.mjs.map +1 -1
  186. package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.js +2 -2
  187. package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.mjs +2 -2
  188. package/build/repository/AnonCredsCredentialDefinitionPrivateRepository.mjs.map +1 -1
  189. package/build/repository/AnonCredsCredentialDefinitionRecord.d.mts.map +1 -1
  190. package/build/repository/AnonCredsCredentialDefinitionRecord.d.ts.map +1 -1
  191. package/build/repository/AnonCredsCredentialDefinitionRecord.js +1 -1
  192. package/build/repository/AnonCredsCredentialDefinitionRecord.mjs +1 -1
  193. package/build/repository/AnonCredsCredentialDefinitionRecord.mjs.map +1 -1
  194. package/build/repository/AnonCredsCredentialDefinitionRepository.js +1 -1
  195. package/build/repository/AnonCredsCredentialDefinitionRepository.mjs +1 -1
  196. package/build/repository/AnonCredsCredentialDefinitionRepository.mjs.map +1 -1
  197. package/build/repository/AnonCredsCredentialRecord.d.mts.map +1 -1
  198. package/build/repository/AnonCredsCredentialRecord.d.ts.map +1 -1
  199. package/build/repository/AnonCredsCredentialRecord.mjs.map +1 -1
  200. package/build/repository/AnonCredsCredentialRepository.js +1 -1
  201. package/build/repository/AnonCredsCredentialRepository.mjs +1 -1
  202. package/build/repository/AnonCredsCredentialRepository.mjs.map +1 -1
  203. package/build/repository/AnonCredsKeyCorrectnessProofRepository.js +1 -1
  204. package/build/repository/AnonCredsKeyCorrectnessProofRepository.mjs +1 -1
  205. package/build/repository/AnonCredsKeyCorrectnessProofRepository.mjs.map +1 -1
  206. package/build/repository/AnonCredsLinkSecretRepository.js +1 -1
  207. package/build/repository/AnonCredsLinkSecretRepository.mjs +1 -1
  208. package/build/repository/AnonCredsLinkSecretRepository.mjs.map +1 -1
  209. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.d.mts.map +1 -1
  210. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.d.ts.map +1 -1
  211. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.js +1 -1
  212. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.mjs +1 -1
  213. package/build/repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.mjs.map +1 -1
  214. package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.d.mts.map +1 -1
  215. package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.d.ts.map +1 -1
  216. package/build/repository/AnonCredsRevocationRegistryDefinitionRecord.mjs.map +1 -1
  217. package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.js +1 -1
  218. package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.mjs +1 -1
  219. package/build/repository/AnonCredsRevocationRegistryDefinitionRepository.mjs.map +1 -1
  220. package/build/repository/AnonCredsSchemaRecord.d.mts.map +1 -1
  221. package/build/repository/AnonCredsSchemaRecord.d.ts.map +1 -1
  222. package/build/repository/AnonCredsSchemaRecord.js +1 -1
  223. package/build/repository/AnonCredsSchemaRecord.mjs +1 -1
  224. package/build/repository/AnonCredsSchemaRecord.mjs.map +1 -1
  225. package/build/repository/AnonCredsSchemaRepository.js +1 -1
  226. package/build/repository/AnonCredsSchemaRepository.mjs +1 -1
  227. package/build/repository/AnonCredsSchemaRepository.mjs.map +1 -1
  228. package/build/repository/index.js +6 -6
  229. package/build/repository/index.mjs +6 -6
  230. package/build/services/AnonCredsHolderService.d.mts +1 -1
  231. package/build/services/AnonCredsHolderService.d.ts +1 -1
  232. package/build/services/AnonCredsHolderServiceOptions.d.mts +1 -1
  233. package/build/services/AnonCredsHolderServiceOptions.d.ts +1 -1
  234. package/build/services/index.js +3 -3
  235. package/build/services/index.mjs +3 -3
  236. package/build/services/registry/AnonCredsRegistryService.d.mts.map +1 -1
  237. package/build/services/registry/AnonCredsRegistryService.d.ts.map +1 -1
  238. package/build/services/registry/AnonCredsRegistryService.js +1 -1
  239. package/build/services/registry/AnonCredsRegistryService.mjs +1 -1
  240. package/build/services/registry/AnonCredsRegistryService.mjs.map +1 -1
  241. package/build/services/tails/BasicTailsFileService.d.mts.map +1 -1
  242. package/build/services/tails/BasicTailsFileService.d.ts.map +1 -1
  243. package/build/services/tails/BasicTailsFileService.mjs.map +1 -1
  244. package/build/updates/0.3.1-0.4/credentialDefinition.js +1 -1
  245. package/build/updates/0.3.1-0.4/credentialDefinition.mjs +1 -1
  246. package/build/updates/0.3.1-0.4/credentialDefinition.mjs.map +1 -1
  247. package/build/updates/0.4-0.5/anonCredsCredentialRecord.js +3 -3
  248. package/build/updates/0.4-0.5/anonCredsCredentialRecord.mjs +3 -3
  249. package/build/updates/0.4-0.5/anonCredsCredentialRecord.mjs.map +1 -1
  250. package/build/utils/anonCredsObjects.d.mts.map +1 -1
  251. package/build/utils/anonCredsObjects.d.ts.map +1 -1
  252. package/build/utils/anonCredsObjects.mjs.map +1 -1
  253. package/build/utils/areRequestsEqual.mjs.map +1 -1
  254. package/build/utils/bytesToBigint.mjs.map +1 -1
  255. package/build/utils/createRequestFromPreview.mjs.map +1 -1
  256. package/build/utils/credential.d.mts.map +1 -1
  257. package/build/utils/credential.d.ts.map +1 -1
  258. package/build/utils/credential.mjs.map +1 -1
  259. package/build/utils/getCredentialsForAnonCredsRequest.js +3 -3
  260. package/build/utils/getCredentialsForAnonCredsRequest.mjs +3 -3
  261. package/build/utils/getCredentialsForAnonCredsRequest.mjs.map +1 -1
  262. package/build/utils/getRevocationRegistries.mjs.map +1 -1
  263. package/build/utils/hasDuplicateGroupNames.mjs.map +1 -1
  264. package/build/utils/index.js +9 -9
  265. package/build/utils/index.mjs +9 -9
  266. package/build/utils/indyIdentifiers.d.mts.map +1 -1
  267. package/build/utils/indyIdentifiers.d.ts.map +1 -1
  268. package/build/utils/indyIdentifiers.mjs.map +1 -1
  269. package/build/utils/isMap.mjs.map +1 -1
  270. package/build/utils/revocationInterval.d.mts.map +1 -1
  271. package/build/utils/revocationInterval.d.ts.map +1 -1
  272. package/build/utils/revocationInterval.mjs.map +1 -1
  273. package/build/utils/w3cAnonCredsUtils.d.mts.map +1 -1
  274. package/build/utils/w3cAnonCredsUtils.d.ts.map +1 -1
  275. package/build/utils/w3cAnonCredsUtils.mjs.map +1 -1
  276. package/package.json +5 -5
@@ -17,13 +17,8 @@ declare class DataIntegrityDidCommCredentialFormatService implements DidCommCred
17
17
  * @returns object containing associated attachment, format and optionally the credential preview
18
18
  *
19
19
  */
20
- createProposal(_agentContext: AgentContext, {
21
- credentialFormats,
22
- credentialExchangeRecord
23
- }: DidCommCredentialFormatCreateProposalOptions<DidCommDataIntegrityCredentialFormat>): Promise<DidCommCredentialFormatCreateProposalReturn>;
24
- processProposal(_agentContext: AgentContext, {
25
- attachment
26
- }: DidCommCredentialFormatProcessOptions): Promise<void>;
20
+ createProposal(_agentContext: AgentContext, options: DidCommCredentialFormatCreateProposalOptions<DidCommDataIntegrityCredentialFormat>): Promise<DidCommCredentialFormatCreateProposalReturn>;
21
+ processProposal(_agentContext: AgentContext, options: DidCommCredentialFormatProcessOptions): Promise<void>;
27
22
  acceptProposal(_agentContext: AgentContext, _input: DidCommCredentialFormatAcceptProposalOptions<DidCommDataIntegrityCredentialFormat>): Promise<DidCommCredentialFormatCreateOfferReturn>;
28
23
  /**
29
24
  * Create a credential attachment format for a credential request.
@@ -93,12 +88,7 @@ declare class DataIntegrityDidCommCredentialFormatService implements DidCommCred
93
88
  */
94
89
  getAttachment(formats: DidCommCredentialFormatSpec[], messageAttachments: DidCommAttachment[]): DidCommAttachment | undefined;
95
90
  deleteCredentialById(agentContext: AgentContext, credentialRecordId: string): Promise<void>;
96
- shouldAutoRespondToProposal(_agentContext: AgentContext,
97
- // biome-ignore lint/correctness/noUnusedVariables: <explanation>
98
- {
99
- offerAttachment,
100
- proposalAttachment
101
- }: DidCommCredentialFormatAutoRespondProposalOptions): Promise<boolean>;
91
+ shouldAutoRespondToProposal(_agentContext: AgentContext, options: DidCommCredentialFormatAutoRespondProposalOptions): Promise<boolean>;
102
92
  shouldAutoRespondToOffer(_agentContext: AgentContext, {
103
93
  offerAttachment
104
94
  }: DidCommCredentialFormatAutoRespondOfferOptions): Promise<boolean>;
@@ -106,11 +96,7 @@ declare class DataIntegrityDidCommCredentialFormatService implements DidCommCred
106
96
  offerAttachment,
107
97
  requestAttachment
108
98
  }: DidCommCredentialFormatAutoRespondRequestOptions): Promise<boolean>;
109
- shouldAutoRespondToCredential(_agentContext: AgentContext, {
110
- credentialExchangeRecord,
111
- requestAttachment,
112
- credentialAttachment
113
- }: DidCommCredentialFormatAutoRespondCredentialOptions): Promise<boolean>;
99
+ shouldAutoRespondToCredential(_agentContext: AgentContext, options: DidCommCredentialFormatAutoRespondCredentialOptions): Promise<boolean>;
114
100
  private createDataIntegrityCredentialOffer;
115
101
  private previewAttributesFromCredential;
116
102
  private assertCredentialAttributesMatchSchemaAttributes;
@@ -1 +1 @@
1
- {"version":3,"file":"DataIntegrityDidCommCredentialFormatService.d.mts","names":[],"sources":["../../src/formats/DataIntegrityDidCommCredentialFormatService.ts"],"sourcesContent":[],"mappings":";;;;cA8Fa,2CAAA,YACA,+BAA+B;EAD/B;EACX,SAAA,SAAA,EAAA,eAAA;;;;;WAyBkD,oBAAA,EAAA,KAAA;;;;;;;;gBAcjC,CAAA,aAAA,EApBA,YAoBA,EAAA;IAAA,iBAAA;IAAA;EAAA,CAAA,EAdZ,4CAcY,CAdiC,oCAcjC,CAAA,CAAA,EAbd,OAac,CAbN,2CAaM,CAAA;iBACsC,CAAA,aAAA,EATtC,YASsC,EAAA;IAAA;EAAA,CAAA,EAPrC,qCAOqC,CAAA,EANpD,OAMoD,CAAA,IAAA,CAAA;gBAA7C,CAAA,aAAA,EADO,YACP,EAAA,MAAA,EAAA,4CAAA,CAA6C,oCAA7C,CAAA,CAAA,EACP,OADO,CACC,wCADD,CAAA;;;;;;;;aAkBL,CAAA,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,iBA5HC,GAAA,SAAA;sBACA,CAAA,YAAA,EAkI4C,YAlI5C,EAAA,kBAAA,EAAA,MAAA,CAAA,EAkIuF,OAlIvF,CAAA,IAAA,CAAA;6BACA,CAAA,aAAA,EAyIa,YAzIb;EAAA;;mBACC;IAAA;EAAA,CAAA,EAyIsC,iDAzItC,CAAA,EA0IF,OA1IE,CAAA,OAAA,CAAA;0BACF,CAAA,aAAA,EA8Ic,YA9Id,EAAA;IAAA;EAAA,CAAA,EA+IoB,8CA/IpB,CAAA,EA+IkE,OA/IlE,CAAA,OAAA,CAAA;4BAsHQ,CAAA,aAAA,EAiCM,YAjCN,EAAA;IAAA,eAAA;IAAA;EAAA,CAAA,EAkC+B,gDAlC/B,CAAA,EAkC+E,OAlC/E,CAAA,OAAA,CAAA;+BACW,CAAA,aAAA,EA8EL,YA9EK,EAAA;IAAA,wBAAA;IAAA,iBAAA;IAAA;EAAA,CAAA,EAsFjB,mDAtFiB,CAAA,EAsFkC,OAtFlC,CAAA,OAAA,CAAA;UACnB,kCAAA;UAO6C,+BAAA;UAA2C,+CAAA;;;;;;;;eAgBpE,CAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,MAAA,CAAA,EA6N0B,iBA7N1B;;;;UASF,kCAAA"}
1
+ {"version":3,"file":"DataIntegrityDidCommCredentialFormatService.d.mts","names":[],"sources":["../../src/formats/DataIntegrityDidCommCredentialFormatService.ts"],"sourcesContent":[],"mappings":";;;;cA4Fa,2CAAA,YACA,+BAA+B;EAD/B;EACX,SAAA,SAAA,EAAA,eAAA;;;;;WAqBW,oBAAA,EAAA,KAAA;;;;;;;;gBAcA,CAAA,aAAA,EAhBM,YAgBN,EAAA,OAAA,EAfA,4CAeA,CAf6C,oCAe7C,CAAA,CAAA,EAdR,OAcQ,CAdA,2CAcA,CAAA;iBAAR,CAAA,aAAA,EATc,YASd,EAAA,OAAA,EARQ,qCAQR,CAAA,EAPA,OAOA,CAAA,IAAA,CAAA;gBAYa,CAAA,aAAA,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OAAA;;;;;;;;;eAgK5C,CAAA,OAAA,EAuHM,2BAvHN,EAAA,EAAA,kBAAA,EAwHiB,iBAxHjB,EAAA,CAAA,EAyHF,iBAzHE,GAAA,SAAA;sBACF,CAAA,YAAA,EA+H6C,YA/H7C,EAAA,kBAAA,EAAA,MAAA,CAAA,EA+HwF,OA/HxF,CAAA,IAAA,CAAA;6BAsHQ,CAAA,aAAA,EAiBM,YAjBN,EAAA,OAAA,EAkBA,iDAlBA,CAAA,EAmBR,OAnBQ,CAAA,OAAA,CAAA;0BACW,CAAA,aAAA,EAuBL,YAvBK,EAAA;IAAA;EAAA,CAAA,EAwBC,8CAxBD,CAAA,EAwB+C,OAxB/C,CAAA,OAAA,CAAA;4BACnB,CAAA,aAAA,EA+Bc,YA/Bd,EAAA;IAAA,eAAA;IAAA;EAAA,CAAA,EAgCuC,gDAhCvC,CAAA,EAgCuF,OAhCvF,CAAA,OAAA,CAAA;+BAO6C,CAAA,aAAA,EAsE/B,YAtE+B,EAAA,OAAA,EAuErC,mDAvEqC,CAAA,EAuEc,OAvEd,CAAA,OAAA,CAAA;UAA2C,kCAAA;UAQ1E,+BAAA;UACN,+CAAA;;;;;;;;eAgBU,CAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,MAAA,CAAA,EA6M4B,iBA7M5B;;;;UA8CV,kCAAA"}
@@ -17,13 +17,8 @@ declare class DataIntegrityDidCommCredentialFormatService implements DidCommCred
17
17
  * @returns object containing associated attachment, format and optionally the credential preview
18
18
  *
19
19
  */
20
- createProposal(_agentContext: AgentContext, {
21
- credentialFormats,
22
- credentialExchangeRecord
23
- }: DidCommCredentialFormatCreateProposalOptions<DidCommDataIntegrityCredentialFormat>): Promise<DidCommCredentialFormatCreateProposalReturn>;
24
- processProposal(_agentContext: AgentContext, {
25
- attachment
26
- }: DidCommCredentialFormatProcessOptions): Promise<void>;
20
+ createProposal(_agentContext: AgentContext, options: DidCommCredentialFormatCreateProposalOptions<DidCommDataIntegrityCredentialFormat>): Promise<DidCommCredentialFormatCreateProposalReturn>;
21
+ processProposal(_agentContext: AgentContext, options: DidCommCredentialFormatProcessOptions): Promise<void>;
27
22
  acceptProposal(_agentContext: AgentContext, _input: DidCommCredentialFormatAcceptProposalOptions<DidCommDataIntegrityCredentialFormat>): Promise<DidCommCredentialFormatCreateOfferReturn>;
28
23
  /**
29
24
  * Create a credential attachment format for a credential request.
@@ -93,12 +88,7 @@ declare class DataIntegrityDidCommCredentialFormatService implements DidCommCred
93
88
  */
94
89
  getAttachment(formats: DidCommCredentialFormatSpec[], messageAttachments: DidCommAttachment[]): DidCommAttachment | undefined;
95
90
  deleteCredentialById(agentContext: AgentContext, credentialRecordId: string): Promise<void>;
96
- shouldAutoRespondToProposal(_agentContext: AgentContext,
97
- // biome-ignore lint/correctness/noUnusedVariables: <explanation>
98
- {
99
- offerAttachment,
100
- proposalAttachment
101
- }: DidCommCredentialFormatAutoRespondProposalOptions): Promise<boolean>;
91
+ shouldAutoRespondToProposal(_agentContext: AgentContext, options: DidCommCredentialFormatAutoRespondProposalOptions): Promise<boolean>;
102
92
  shouldAutoRespondToOffer(_agentContext: AgentContext, {
103
93
  offerAttachment
104
94
  }: DidCommCredentialFormatAutoRespondOfferOptions): Promise<boolean>;
@@ -106,11 +96,7 @@ declare class DataIntegrityDidCommCredentialFormatService implements DidCommCred
106
96
  offerAttachment,
107
97
  requestAttachment
108
98
  }: DidCommCredentialFormatAutoRespondRequestOptions): Promise<boolean>;
109
- shouldAutoRespondToCredential(_agentContext: AgentContext, {
110
- credentialExchangeRecord,
111
- requestAttachment,
112
- credentialAttachment
113
- }: DidCommCredentialFormatAutoRespondCredentialOptions): Promise<boolean>;
99
+ shouldAutoRespondToCredential(_agentContext: AgentContext, options: DidCommCredentialFormatAutoRespondCredentialOptions): Promise<boolean>;
114
100
  private createDataIntegrityCredentialOffer;
115
101
  private previewAttributesFromCredential;
116
102
  private assertCredentialAttributesMatchSchemaAttributes;
@@ -1 +1 @@
1
- {"version":3,"file":"DataIntegrityDidCommCredentialFormatService.d.ts","names":[],"sources":["../../src/formats/DataIntegrityDidCommCredentialFormatService.ts"],"sourcesContent":[],"mappings":";;;;cA8Fa,2CAAA,YACA,+BAA+B;EAD/B;EACX,SAAA,SAAA,EAAA,eAAA;;;;;WAyBkD,oBAAA,EAAA,KAAA;;;;;;;;gBAcjC,CAAA,aAAA,EApBA,YAoBA,EAAA;IAAA,iBAAA;IAAA;EAAA,CAAA,EAdZ,4CAcY,CAdiC,oCAcjC,CAAA,CAAA,EAbd,OAac,CAbN,2CAaM,CAAA;iBACsC,CAAA,aAAA,EATtC,YASsC,EAAA;IAAA;EAAA,CAAA,EAPrC,qCAOqC,CAAA,EANpD,OAMoD,CAAA,IAAA,CAAA;gBAA7C,CAAA,aAAA,EADO,YACP,EAAA,MAAA,EAAA,4CAAA,CAA6C,oCAA7C,CAAA,CAAA,EACP,OADO,CACC,wCADD,CAAA;;;;;;;;aAkBL,CAAA,YAAA,EALW,YAKX,EAAA;IAAA,iBAAA;IAAA,wBAAA;IAAA;EAAA,CAAA,EAAA,yCAAA,CAA0C,oCAA1C,CAAA,CAAA,EACF,OADE,CACM,wCADN,CAAA;UACM,oBAAA;cAAR,CAAA,YAAA,EAmCa,YAnCb,EAAA;IAAA,UAAA;IAAA;EAAA,CAAA,EAoCyC,qCApCzC,CAAA,EAoC8E,OApC9E,CAAA,IAAA,CAAA;UAmCa,sBAAA;UACZ,0BAAA;aAAY,CAAA,YAAA,EAyIA,YAzIA,EAAA;IAAA,wBAAA;IAAA,YAAA;IAAA,eAAA;IAAA;EAAA,CAAA,EA+IX,yCA/IW,CA+I+B,oCA/I/B,CAAA,CAAA,EAgJb,OAhJa,CAgJL,mCAhJK,CAAA;;;;eA2IZ,CAAA,CAAA,EAyG0B,OAzG1B,CAyGkC,mCAzGlC,CAAA;;;;gBAI2C,CAAA,aAAA,EA6G9B,YA7G8B,EAAA,QAAA,EA8GnC,qCA9GmC,CAAA,EA+G5C,OA/G4C,CAAA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CAAA;UAO6C,+BAAA;UAA2C,+CAAA;;;;;;;;eAgBpE,CAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,MAAA,CAAA,EA6N0B,iBA7N1B;;;;UASF,kCAAA"}
1
+ {"version":3,"file":"DataIntegrityDidCommCredentialFormatService.d.ts","names":[],"sources":["../../src/formats/DataIntegrityDidCommCredentialFormatService.ts"],"sourcesContent":[],"mappings":";;;;cA4Fa,2CAAA,YACA,+BAA+B;EAD/B;EACX,SAAA,SAAA,EAAA,eAAA;;;;;WAqBW,oBAAA,EAAA,KAAA;;;;;;;;gBAcA,CAAA,aAAA,EAhBM,YAgBN,EAAA,OAAA,EAfA,4CAeA,CAf6C,oCAe7C,CAAA,CAAA,EAdR,OAcQ,CAdA,2CAcA,CAAA;iBAAR,CAAA,aAAA,EATc,YASd,EAAA,OAAA,EARQ,qCAQR,CAAA,EAPA,OAOA,CAAA,IAAA,CAAA;gBAYa,CAAA,aAAA,EAdC,YAcD,EAAA,MAAA,EAbN,4CAaM,CAbuC,oCAavC,CAAA,CAAA,EAZb,OAYa,CAZL,wCAYK,CAAA;;;;;;;;aAyCA,CAAA,YAAA,EAzCA,YAyCA,EAAA;IAAA,iBAAA;IAAA,wBAAA;IAAA;EAAA,CAAA,EApCX,yCAoCW,CApC+B,oCAoC/B,CAAA,CAAA,EAnCb,OAmCa,CAnCL,wCAmCK,CAAA;UACZ,oBAAA;cAAY,CAAA,YAAA,EADA,YACA,EAAA;IAAA,UAAA;IAAA;EAAA,CAAA,EAA4B,qCAA5B,CAAA,EAAiE,OAAjE,CAAA,IAAA,CAAA;UAA4B,sBAAA;UAAqC,0BAAA;aAyIjE,CAAA,YAAA,EAAA,YAAA,EAAA;IAAA,wBAAA;IAAA,YAAA;IAAA,eAAA;IAAA;EAAA,CAAA,EAMX,yCANW,CAM+B,oCAN/B,CAAA,CAAA,EAOb,OAPa,CAOL,mCAPK,CAAA;;;;eAKZ,CAAA,CAAA,EAqG0B,OArG1B,CAqGkC,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EqC,CAAA,EAuEc,OAvEd,CAAA,OAAA,CAAA;UAA2C,kCAAA;UAQ1E,+BAAA;UACN,+CAAA;;;;;;;;eAgBU,CAAA,IAAA,EAAA,OAAA,EAAA,EAAA,EAAA,MAAA,CAAA,EA6M4B,iBA7M5B;;;;UA8CV,kCAAA"}
@@ -1,14 +1,14 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.js');
2
- const require_AnonCredsHolderService = require('../services/AnonCredsHolderService.js');
3
- const require_AnonCredsIssuerService = require('../services/AnonCredsIssuerService.js');
4
- require('../services/index.js');
5
2
  const require_AnonCredsCredentialDefinitionRepository = require('../repository/AnonCredsCredentialDefinitionRepository.js');
6
3
  const require_AnonCredsRevocationRegistryDefinitionPrivateRecord = require('../repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.js');
7
4
  const require_AnonCredsRevocationRegistryDefinitionPrivateRepository = require('../repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.js');
8
5
  require('../repository/index.js');
6
+ const require_AnonCredsHolderService = require('../services/AnonCredsHolderService.js');
7
+ const require_AnonCredsIssuerService = require('../services/AnonCredsIssuerService.js');
8
+ require('../services/index.js');
9
+ const require_anonCredsObjects = require('../utils/anonCredsObjects.js');
9
10
  const require_credential = require('../utils/credential.js');
10
11
  const require_timestamp = require('../utils/timestamp.js');
11
- const require_anonCredsObjects = require('../utils/anonCredsObjects.js');
12
12
  const require_metadata = require('../utils/metadata.js');
13
13
  const require_w3cAnonCredsUtils = require('../utils/w3cAnonCredsUtils.js');
14
14
  require('../utils/index.js');
@@ -33,10 +33,10 @@ var DataIntegrityDidCommCredentialFormatService = class {
33
33
  * @returns object containing associated attachment, format and optionally the credential preview
34
34
  *
35
35
  */
36
- async createProposal(_agentContext, { credentialFormats, credentialExchangeRecord }) {
36
+ async createProposal(_agentContext, options) {
37
37
  throw new __credo_ts_core.CredoError("Not defined");
38
38
  }
39
- async processProposal(_agentContext, { attachment }) {
39
+ async processProposal(_agentContext, options) {
40
40
  throw new __credo_ts_core.CredoError("Not defined");
41
41
  }
42
42
  async acceptProposal(_agentContext, _input) {
@@ -145,7 +145,7 @@ var DataIntegrityDidCommCredentialFormatService = class {
145
145
  async acceptOffer(agentContext, { credentialExchangeRecord, attachmentId, offerAttachment, credentialFormats }) {
146
146
  const dataIntegrityFormat = credentialFormats?.dataIntegrity;
147
147
  const credentialOffer = __credo_ts_core.JsonTransformer.fromJSON(offerAttachment.getDataAsJson(), __credo_ts_didcomm.DataIntegrityCredentialOffer);
148
- let anonCredsLinkSecretDataIntegrityBindingProof = void 0;
148
+ let anonCredsLinkSecretDataIntegrityBindingProof;
149
149
  const autoAcceptOfferWithAnonCredsLinkSecretMethod = credentialOffer.bindingRequired && !dataIntegrityFormat?.didCommSignedAttachment && credentialOffer.bindingMethod?.anoncredsLinkSecret;
150
150
  if (dataIntegrityFormat?.anonCredsLinkSecret || autoAcceptOfferWithAnonCredsLinkSecretMethod) {
151
151
  if (!credentialOffer.bindingMethod?.anoncredsLinkSecret) throw new __credo_ts_core.CredoError("Cannot request credential with a binding method that was not offered.");
@@ -170,8 +170,8 @@ var DataIntegrityDidCommCredentialFormatService = class {
170
170
  });
171
171
  credentialExchangeRecord.metadata.set(require_metadata.AnonCredsCredentialRequestMetadataKey, anonCredsCredentialRequestMetadata);
172
172
  }
173
- let didCommSignedAttachmentBindingProof = void 0;
174
- let didCommSignedAttachment = void 0;
173
+ let didCommSignedAttachmentBindingProof;
174
+ let didCommSignedAttachment;
175
175
  if (dataIntegrityFormat?.didCommSignedAttachment) {
176
176
  if (!credentialOffer.bindingMethod?.didcommSignedAttachment) throw new __credo_ts_core.CredoError("Cannot request credential with a binding method that was not offered.");
177
177
  didCommSignedAttachment = await this.createSignedAttachment(agentContext, { nonce: credentialOffer.bindingMethod.didcommSignedAttachment.nonce }, dataIntegrityFormat.didCommSignedAttachment, credentialOffer.bindingMethod.didcommSignedAttachment.algsSupported);
@@ -220,9 +220,9 @@ var DataIntegrityDidCommCredentialFormatService = class {
220
220
  }));
221
221
  const anonCredsIssuerService = agentContext.dependencyManager.resolve(require_AnonCredsIssuerService.AnonCredsIssuerServiceSymbol);
222
222
  const credentialDefinition = (await agentContext.dependencyManager.resolve(require_AnonCredsCredentialDefinitionRepository.AnonCredsCredentialDefinitionRepository).getByCredentialDefinitionId(agentContext, linkSecretMetadata.credentialDefinitionId)).credentialDefinition.value;
223
- let revocationRegistryDefinitionId = void 0;
224
- let revocationRegistryIndex = void 0;
225
- let revocationStatusList = void 0;
223
+ let revocationRegistryDefinitionId;
224
+ let revocationRegistryIndex;
225
+ let revocationStatusList;
226
226
  if (credentialDefinition.revocation) {
227
227
  const { credentialRevocationId, revocationRegistryId } = linkSecretMetadata;
228
228
  if (!credentialRevocationId || !revocationRegistryId) throw new __credo_ts_core.CredoError("Revocation registry definition id and revocation index are mandatory to issue AnonCreds revocable credentials");
@@ -453,7 +453,7 @@ var DataIntegrityDidCommCredentialFormatService = class {
453
453
  async deleteCredentialById(agentContext, credentialRecordId) {
454
454
  await agentContext.dependencyManager.resolve(require_AnonCredsHolderService.AnonCredsHolderServiceSymbol).deleteCredential(agentContext, credentialRecordId);
455
455
  }
456
- async shouldAutoRespondToProposal(_agentContext, { offerAttachment, proposalAttachment }) {
456
+ async shouldAutoRespondToProposal(_agentContext, options) {
457
457
  throw new __credo_ts_core.CredoError("Not implemented");
458
458
  }
459
459
  async shouldAutoRespondToOffer(_agentContext, { offerAttachment }) {
@@ -475,7 +475,7 @@ var DataIntegrityDidCommCredentialFormatService = class {
475
475
  const validDidCommSignedAttachmetRequest = !credentialRequest.binding_proof?.didcomm_signed_attachment || credentialRequest.binding_proof?.didcomm_signed_attachment && credentialOffer.bindingMethod?.didcommSignedAttachment;
476
476
  return Boolean(validLinkSecretRequest && validDidCommSignedAttachmetRequest);
477
477
  }
478
- async shouldAutoRespondToCredential(_agentContext, { credentialExchangeRecord, requestAttachment, credentialAttachment }) {
478
+ async shouldAutoRespondToCredential(_agentContext, options) {
479
479
  return true;
480
480
  }
481
481
  async createDataIntegrityCredentialOffer(agentContext, credentialExchangeRecord, options) {
@@ -484,7 +484,7 @@ var DataIntegrityDidCommCredentialFormatService = class {
484
484
  const credentialJson = credential instanceof __credo_ts_core.W3cCredential ? __credo_ts_core.JsonTransformer.toJSON(credential) : credential;
485
485
  const validW3cCredential = __credo_ts_core.JsonTransformer.fromJSON(credentialJson, __credo_ts_core.W3cCredential);
486
486
  const previewAttributes = this.previewAttributesFromCredential(validW3cCredential);
487
- let anonCredsLinkSecretBindingMethod = void 0;
487
+ let anonCredsLinkSecretBindingMethod;
488
488
  if (anonCredsLinkSecretBindingMethodOptions) {
489
489
  const { credentialDefinitionId, revocationRegistryDefinitionId, revocationRegistryIndex } = anonCredsLinkSecretBindingMethodOptions;
490
490
  const anoncredsCredentialOffer = await agentContext.dependencyManager.resolve(require_AnonCredsIssuerService.AnonCredsIssuerServiceSymbol).createCredentialOffer(agentContext, { credentialDefinitionId });
@@ -509,7 +509,7 @@ var DataIntegrityDidCommCredentialFormatService = class {
509
509
  revocationRegistryId: revocationRegistryDefinitionId
510
510
  });
511
511
  }
512
- let didCommSignedAttachmentBindingMethod = void 0;
512
+ let didCommSignedAttachmentBindingMethod;
513
513
  if (didCommSignedAttachmentBindingMethodOptions) {
514
514
  const kms = agentContext.dependencyManager.resolve(__credo_ts_core.Kms.KeyManagementApi);
515
515
  const { didMethodsSupported, algsSupported } = didCommSignedAttachmentBindingMethodOptions;
@@ -1,13 +1,13 @@
1
- import { AnonCredsHolderServiceSymbol } from "../services/AnonCredsHolderService.mjs";
2
- import { AnonCredsIssuerServiceSymbol } from "../services/AnonCredsIssuerService.mjs";
3
- import "../services/index.mjs";
4
1
  import { AnonCredsCredentialDefinitionRepository } from "../repository/AnonCredsCredentialDefinitionRepository.mjs";
5
2
  import { AnonCredsRevocationRegistryState } from "../repository/AnonCredsRevocationRegistryDefinitionPrivateRecord.mjs";
6
3
  import { AnonCredsRevocationRegistryDefinitionPrivateRepository } from "../repository/AnonCredsRevocationRegistryDefinitionPrivateRepository.mjs";
7
4
  import "../repository/index.mjs";
5
+ import { AnonCredsHolderServiceSymbol } from "../services/AnonCredsHolderService.mjs";
6
+ import { AnonCredsIssuerServiceSymbol } from "../services/AnonCredsIssuerService.mjs";
7
+ import "../services/index.mjs";
8
+ import { fetchCredentialDefinition, fetchRevocationRegistryDefinition, fetchRevocationStatusList, fetchSchema } from "../utils/anonCredsObjects.mjs";
8
9
  import { assertAttributesMatch, convertAttributesToCredentialValues } from "../utils/credential.mjs";
9
10
  import { dateToTimestamp } from "../utils/timestamp.mjs";
10
- import { fetchCredentialDefinition, fetchRevocationRegistryDefinition, fetchRevocationStatusList, fetchSchema } from "../utils/anonCredsObjects.mjs";
11
11
  import { AnonCredsCredentialMetadataKey, AnonCredsCredentialRequestMetadataKey } from "../utils/metadata.mjs";
12
12
  import { getAnonCredsTagsFromRecord } from "../utils/w3cAnonCredsUtils.mjs";
13
13
  import "../utils/index.mjs";
@@ -30,10 +30,10 @@ var DataIntegrityDidCommCredentialFormatService = class {
30
30
  * @returns object containing associated attachment, format and optionally the credential preview
31
31
  *
32
32
  */
33
- async createProposal(_agentContext, { credentialFormats, credentialExchangeRecord }) {
33
+ async createProposal(_agentContext, options) {
34
34
  throw new CredoError("Not defined");
35
35
  }
36
- async processProposal(_agentContext, { attachment }) {
36
+ async processProposal(_agentContext, options) {
37
37
  throw new CredoError("Not defined");
38
38
  }
39
39
  async acceptProposal(_agentContext, _input) {
@@ -142,7 +142,7 @@ var DataIntegrityDidCommCredentialFormatService = class {
142
142
  async acceptOffer(agentContext, { credentialExchangeRecord, attachmentId, offerAttachment, credentialFormats }) {
143
143
  const dataIntegrityFormat = credentialFormats?.dataIntegrity;
144
144
  const credentialOffer = JsonTransformer.fromJSON(offerAttachment.getDataAsJson(), DataIntegrityCredentialOffer);
145
- let anonCredsLinkSecretDataIntegrityBindingProof = void 0;
145
+ let anonCredsLinkSecretDataIntegrityBindingProof;
146
146
  const autoAcceptOfferWithAnonCredsLinkSecretMethod = credentialOffer.bindingRequired && !dataIntegrityFormat?.didCommSignedAttachment && credentialOffer.bindingMethod?.anoncredsLinkSecret;
147
147
  if (dataIntegrityFormat?.anonCredsLinkSecret || autoAcceptOfferWithAnonCredsLinkSecretMethod) {
148
148
  if (!credentialOffer.bindingMethod?.anoncredsLinkSecret) throw new CredoError("Cannot request credential with a binding method that was not offered.");
@@ -167,8 +167,8 @@ var DataIntegrityDidCommCredentialFormatService = class {
167
167
  });
168
168
  credentialExchangeRecord.metadata.set(AnonCredsCredentialRequestMetadataKey, anonCredsCredentialRequestMetadata);
169
169
  }
170
- let didCommSignedAttachmentBindingProof = void 0;
171
- let didCommSignedAttachment = void 0;
170
+ let didCommSignedAttachmentBindingProof;
171
+ let didCommSignedAttachment;
172
172
  if (dataIntegrityFormat?.didCommSignedAttachment) {
173
173
  if (!credentialOffer.bindingMethod?.didcommSignedAttachment) throw new CredoError("Cannot request credential with a binding method that was not offered.");
174
174
  didCommSignedAttachment = await this.createSignedAttachment(agentContext, { nonce: credentialOffer.bindingMethod.didcommSignedAttachment.nonce }, dataIntegrityFormat.didCommSignedAttachment, credentialOffer.bindingMethod.didcommSignedAttachment.algsSupported);
@@ -217,9 +217,9 @@ var DataIntegrityDidCommCredentialFormatService = class {
217
217
  }));
218
218
  const anonCredsIssuerService = agentContext.dependencyManager.resolve(AnonCredsIssuerServiceSymbol);
219
219
  const credentialDefinition = (await agentContext.dependencyManager.resolve(AnonCredsCredentialDefinitionRepository).getByCredentialDefinitionId(agentContext, linkSecretMetadata.credentialDefinitionId)).credentialDefinition.value;
220
- let revocationRegistryDefinitionId = void 0;
221
- let revocationRegistryIndex = void 0;
222
- let revocationStatusList = void 0;
220
+ let revocationRegistryDefinitionId;
221
+ let revocationRegistryIndex;
222
+ let revocationStatusList;
223
223
  if (credentialDefinition.revocation) {
224
224
  const { credentialRevocationId, revocationRegistryId } = linkSecretMetadata;
225
225
  if (!credentialRevocationId || !revocationRegistryId) throw new CredoError("Revocation registry definition id and revocation index are mandatory to issue AnonCreds revocable credentials");
@@ -450,7 +450,7 @@ var DataIntegrityDidCommCredentialFormatService = class {
450
450
  async deleteCredentialById(agentContext, credentialRecordId) {
451
451
  await agentContext.dependencyManager.resolve(AnonCredsHolderServiceSymbol).deleteCredential(agentContext, credentialRecordId);
452
452
  }
453
- async shouldAutoRespondToProposal(_agentContext, { offerAttachment, proposalAttachment }) {
453
+ async shouldAutoRespondToProposal(_agentContext, options) {
454
454
  throw new CredoError("Not implemented");
455
455
  }
456
456
  async shouldAutoRespondToOffer(_agentContext, { offerAttachment }) {
@@ -472,7 +472,7 @@ var DataIntegrityDidCommCredentialFormatService = class {
472
472
  const validDidCommSignedAttachmetRequest = !credentialRequest.binding_proof?.didcomm_signed_attachment || credentialRequest.binding_proof?.didcomm_signed_attachment && credentialOffer.bindingMethod?.didcommSignedAttachment;
473
473
  return Boolean(validLinkSecretRequest && validDidCommSignedAttachmetRequest);
474
474
  }
475
- async shouldAutoRespondToCredential(_agentContext, { credentialExchangeRecord, requestAttachment, credentialAttachment }) {
475
+ async shouldAutoRespondToCredential(_agentContext, options) {
476
476
  return true;
477
477
  }
478
478
  async createDataIntegrityCredentialOffer(agentContext, credentialExchangeRecord, options) {
@@ -481,7 +481,7 @@ var DataIntegrityDidCommCredentialFormatService = class {
481
481
  const credentialJson = credential instanceof W3cCredential ? JsonTransformer.toJSON(credential) : credential;
482
482
  const validW3cCredential = JsonTransformer.fromJSON(credentialJson, W3cCredential);
483
483
  const previewAttributes = this.previewAttributesFromCredential(validW3cCredential);
484
- let anonCredsLinkSecretBindingMethod = void 0;
484
+ let anonCredsLinkSecretBindingMethod;
485
485
  if (anonCredsLinkSecretBindingMethodOptions) {
486
486
  const { credentialDefinitionId, revocationRegistryDefinitionId, revocationRegistryIndex } = anonCredsLinkSecretBindingMethodOptions;
487
487
  const anoncredsCredentialOffer = await agentContext.dependencyManager.resolve(AnonCredsIssuerServiceSymbol).createCredentialOffer(agentContext, { credentialDefinitionId });
@@ -506,7 +506,7 @@ var DataIntegrityDidCommCredentialFormatService = class {
506
506
  revocationRegistryId: revocationRegistryDefinitionId
507
507
  });
508
508
  }
509
- let didCommSignedAttachmentBindingMethod = void 0;
509
+ let didCommSignedAttachmentBindingMethod;
510
510
  if (didCommSignedAttachmentBindingMethodOptions) {
511
511
  const kms = agentContext.dependencyManager.resolve(Kms.KeyManagementApi);
512
512
  const { didMethodsSupported, algsSupported } = didCommSignedAttachmentBindingMethodOptions;