@pagopa/io-react-native-wallet 3.7.4 → 3.8.3

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 (1860) hide show
  1. package/README.md +15 -7
  2. package/lib/commonjs/IoWallet.js +5 -6
  3. package/lib/commonjs/IoWallet.js.map +1 -1
  4. package/lib/commonjs/api/index.js +12 -14
  5. package/lib/commonjs/api/index.js.map +1 -1
  6. package/lib/commonjs/client/generated/wallet-provider.js +35 -61
  7. package/lib/commonjs/client/generated/wallet-provider.js.map +1 -1
  8. package/lib/commonjs/client/index.js +7 -10
  9. package/lib/commonjs/client/index.js.map +1 -1
  10. package/lib/commonjs/credential/index.js +2 -3
  11. package/lib/commonjs/credential/index.js.map +1 -1
  12. package/lib/commonjs/credential/issuance/api/01-evaluate-issuer-trust.js.map +1 -1
  13. package/lib/commonjs/credential/issuance/api/02-start-user-authorization.js.map +1 -1
  14. package/lib/commonjs/credential/issuance/api/03-complete-user-authorization.js.map +1 -1
  15. package/lib/commonjs/credential/issuance/api/04-authorize-access.js.map +1 -1
  16. package/lib/commonjs/credential/issuance/api/05-obtain-credential.js.map +1 -1
  17. package/lib/commonjs/credential/issuance/api/06-verify-and-parse-credential.js.map +1 -1
  18. package/lib/commonjs/credential/issuance/api/IssuerConfig.js +3 -4
  19. package/lib/commonjs/credential/issuance/api/IssuerConfig.js.map +1 -1
  20. package/lib/commonjs/credential/issuance/api/index.js.map +1 -1
  21. package/lib/commonjs/credential/issuance/api/mrtd-pop/index.js +1 -1
  22. package/lib/commonjs/credential/issuance/api/mrtd-pop/index.js.map +1 -1
  23. package/lib/commonjs/credential/issuance/api/mrtd-pop/types.js.map +1 -1
  24. package/lib/commonjs/credential/issuance/api/types.js +3 -6
  25. package/lib/commonjs/credential/issuance/api/types.js.map +1 -1
  26. package/lib/commonjs/credential/issuance/common/02-start-user-authorization.js +2 -2
  27. package/lib/commonjs/credential/issuance/common/02-start-user-authorization.js.map +1 -1
  28. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.mdoc.js +44 -88
  29. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.mdoc.js.map +1 -1
  30. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js +19 -23
  31. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
  32. package/lib/commonjs/credential/issuance/common/errors.js +1 -1
  33. package/lib/commonjs/credential/issuance/common/errors.js.map +1 -1
  34. package/lib/commonjs/credential/issuance/index.js +6 -7
  35. package/lib/commonjs/credential/issuance/index.js.map +1 -1
  36. package/lib/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js +5 -6
  37. package/lib/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js.map +1 -1
  38. package/lib/commonjs/credential/issuance/mrtd-pop/02-init-challenge.js +3 -3
  39. package/lib/commonjs/credential/issuance/mrtd-pop/02-init-challenge.js.map +1 -1
  40. package/lib/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.js +2 -2
  41. package/lib/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.js.map +1 -1
  42. package/lib/commonjs/credential/issuance/mrtd-pop/index.js +6 -8
  43. package/lib/commonjs/credential/issuance/mrtd-pop/index.js.map +1 -1
  44. package/lib/commonjs/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js +3 -4
  45. package/lib/commonjs/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js.map +1 -1
  46. package/lib/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.js +5 -5
  47. package/lib/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.js.map +1 -1
  48. package/lib/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.js +28 -36
  49. package/lib/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.js.map +1 -1
  50. package/lib/commonjs/credential/issuance/v1.0.0/04-authorize-access.js +8 -9
  51. package/lib/commonjs/credential/issuance/v1.0.0/04-authorize-access.js.map +1 -1
  52. package/lib/commonjs/credential/issuance/v1.0.0/05-obtain-credential.js +7 -8
  53. package/lib/commonjs/credential/issuance/v1.0.0/05-obtain-credential.js.map +1 -1
  54. package/lib/commonjs/credential/issuance/v1.0.0/06-verify-and-parse-credential.js +7 -8
  55. package/lib/commonjs/credential/issuance/v1.0.0/06-verify-and-parse-credential.js.map +1 -1
  56. package/lib/commonjs/credential/issuance/v1.0.0/index.js +9 -10
  57. package/lib/commonjs/credential/issuance/v1.0.0/index.js.map +1 -1
  58. package/lib/commonjs/credential/issuance/v1.0.0/mappers.js +3 -4
  59. package/lib/commonjs/credential/issuance/v1.0.0/mappers.js.map +1 -1
  60. package/lib/commonjs/credential/issuance/v1.0.0/types.js +5 -9
  61. package/lib/commonjs/credential/issuance/v1.0.0/types.js.map +1 -1
  62. package/lib/commonjs/credential/issuance/v1.4.6/01-evaluate-issuer-trust.js +3 -4
  63. package/lib/commonjs/credential/issuance/v1.4.6/01-evaluate-issuer-trust.js.map +1 -1
  64. package/lib/commonjs/credential/issuance/v1.4.6/02-start-user-authorization.js +5 -5
  65. package/lib/commonjs/credential/issuance/v1.4.6/02-start-user-authorization.js.map +1 -1
  66. package/lib/commonjs/credential/issuance/v1.4.6/03-complete-user-authorization.js +31 -39
  67. package/lib/commonjs/credential/issuance/v1.4.6/03-complete-user-authorization.js.map +1 -1
  68. package/lib/commonjs/credential/issuance/v1.4.6/04-authorize-access.js +3 -3
  69. package/lib/commonjs/credential/issuance/v1.4.6/04-authorize-access.js.map +1 -1
  70. package/lib/commonjs/credential/issuance/v1.4.6/05-obtain-credential.js +37 -48
  71. package/lib/commonjs/credential/issuance/v1.4.6/05-obtain-credential.js.map +1 -1
  72. package/lib/commonjs/credential/issuance/v1.4.6/06-verify-and-parse-credential.js +7 -8
  73. package/lib/commonjs/credential/issuance/v1.4.6/06-verify-and-parse-credential.js.map +1 -1
  74. package/lib/commonjs/credential/issuance/v1.4.6/index.js +9 -10
  75. package/lib/commonjs/credential/issuance/v1.4.6/index.js.map +1 -1
  76. package/lib/commonjs/credential/issuance/v1.4.6/mappers.js +19 -27
  77. package/lib/commonjs/credential/issuance/v1.4.6/mappers.js.map +1 -1
  78. package/lib/commonjs/credential/issuance/v1.4.6/types.js +2 -4
  79. package/lib/commonjs/credential/issuance/v1.4.6/types.js.map +1 -1
  80. package/lib/commonjs/credential/offer/api/01-resolve-credential-offer.js.map +1 -1
  81. package/lib/commonjs/credential/offer/api/02-extract-grant-details.js.map +1 -1
  82. package/lib/commonjs/credential/offer/api/03-validate-credential-offer.js.map +1 -1
  83. package/lib/commonjs/credential/offer/api/index.js +1 -1
  84. package/lib/commonjs/credential/offer/api/index.js.map +1 -1
  85. package/lib/commonjs/credential/offer/api/types.js.map +1 -1
  86. package/lib/commonjs/credential/offer/common/errors.js +1 -1
  87. package/lib/commonjs/credential/offer/common/errors.js.map +1 -1
  88. package/lib/commonjs/credential/offer/index.js +6 -7
  89. package/lib/commonjs/credential/offer/index.js.map +1 -1
  90. package/lib/commonjs/credential/offer/v1.0.0/index.js +2 -3
  91. package/lib/commonjs/credential/offer/v1.0.0/index.js.map +1 -1
  92. package/lib/commonjs/credential/offer/v1.4.6/01-resolve-credential-offer.js +3 -4
  93. package/lib/commonjs/credential/offer/v1.4.6/01-resolve-credential-offer.js.map +1 -1
  94. package/lib/commonjs/credential/offer/v1.4.6/02-extract-grant-details.js +3 -3
  95. package/lib/commonjs/credential/offer/v1.4.6/02-extract-grant-details.js.map +1 -1
  96. package/lib/commonjs/credential/offer/v1.4.6/03-validate-credential-offer.js +6 -7
  97. package/lib/commonjs/credential/offer/v1.4.6/03-validate-credential-offer.js.map +1 -1
  98. package/lib/commonjs/credential/offer/v1.4.6/index.js +4 -5
  99. package/lib/commonjs/credential/offer/v1.4.6/index.js.map +1 -1
  100. package/lib/commonjs/credential/presentation/api/01-start-flow.js.map +1 -1
  101. package/lib/commonjs/credential/presentation/api/02-evaluate-rp-trust.js.map +1 -1
  102. package/lib/commonjs/credential/presentation/api/03-get-request-object.js.map +1 -1
  103. package/lib/commonjs/credential/presentation/api/04-verify-certificate-chain.js.map +1 -1
  104. package/lib/commonjs/credential/presentation/api/05-verify-request-object.js.map +1 -1
  105. package/lib/commonjs/credential/presentation/api/06-evaluate-dcql-query.js.map +1 -1
  106. package/lib/commonjs/credential/presentation/api/07-send-authorization-response.js.map +1 -1
  107. package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js +3 -5
  108. package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
  109. package/lib/commonjs/credential/presentation/api/index.js +1 -1
  110. package/lib/commonjs/credential/presentation/api/index.js.map +1 -1
  111. package/lib/commonjs/credential/presentation/api/types.js +7 -10
  112. package/lib/commonjs/credential/presentation/api/types.js.map +1 -1
  113. package/lib/commonjs/credential/presentation/common/errors.js +3 -6
  114. package/lib/commonjs/credential/presentation/common/errors.js.map +1 -1
  115. package/lib/commonjs/credential/presentation/common/utils/dcql.js +25 -44
  116. package/lib/commonjs/credential/presentation/common/utils/dcql.js.map +1 -1
  117. package/lib/commonjs/credential/presentation/common/utils/http.js +7 -11
  118. package/lib/commonjs/credential/presentation/common/utils/http.js.map +1 -1
  119. package/lib/commonjs/credential/presentation/common/utils/mdoc.js +17 -28
  120. package/lib/commonjs/credential/presentation/common/utils/mdoc.js.map +1 -1
  121. package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js +10 -16
  122. package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js.map +1 -1
  123. package/lib/commonjs/credential/presentation/index.js +6 -7
  124. package/lib/commonjs/credential/presentation/index.js.map +1 -1
  125. package/lib/commonjs/credential/presentation/v1.0.0/01-start-flow.js +2 -2
  126. package/lib/commonjs/credential/presentation/v1.0.0/01-start-flow.js.map +1 -1
  127. package/lib/commonjs/credential/presentation/v1.0.0/02-evaluate-rp-trust.js +5 -6
  128. package/lib/commonjs/credential/presentation/v1.0.0/02-evaluate-rp-trust.js.map +1 -1
  129. package/lib/commonjs/credential/presentation/v1.0.0/03-get-request-object.js +8 -9
  130. package/lib/commonjs/credential/presentation/v1.0.0/03-get-request-object.js.map +1 -1
  131. package/lib/commonjs/credential/presentation/v1.0.0/05-verify-request-object.js +12 -16
  132. package/lib/commonjs/credential/presentation/v1.0.0/05-verify-request-object.js.map +1 -1
  133. package/lib/commonjs/credential/presentation/v1.0.0/06-evaluate-dcql-query.js +14 -23
  134. package/lib/commonjs/credential/presentation/v1.0.0/06-evaluate-dcql-query.js.map +1 -1
  135. package/lib/commonjs/credential/presentation/v1.0.0/07-send-authorization-response.js +22 -28
  136. package/lib/commonjs/credential/presentation/v1.0.0/07-send-authorization-response.js.map +1 -1
  137. package/lib/commonjs/credential/presentation/v1.0.0/index.js +7 -8
  138. package/lib/commonjs/credential/presentation/v1.0.0/index.js.map +1 -1
  139. package/lib/commonjs/credential/presentation/v1.0.0/mappers.js +18 -24
  140. package/lib/commonjs/credential/presentation/v1.0.0/mappers.js.map +1 -1
  141. package/lib/commonjs/credential/presentation/v1.0.0/types.js +7 -10
  142. package/lib/commonjs/credential/presentation/v1.0.0/types.js.map +1 -1
  143. package/lib/commonjs/credential/presentation/v1.0.0/utils.js +1 -1
  144. package/lib/commonjs/credential/presentation/v1.0.0/utils.js.map +1 -1
  145. package/lib/commonjs/credential/presentation/v1.0.0/utils.jwks.js +1 -1
  146. package/lib/commonjs/credential/presentation/v1.0.0/utils.jwks.js.map +1 -1
  147. package/lib/commonjs/credential/presentation/v1.4.6/01-start-flow.js +3 -6
  148. package/lib/commonjs/credential/presentation/v1.4.6/01-start-flow.js.map +1 -1
  149. package/lib/commonjs/credential/presentation/v1.4.6/02-evaluate-rp-trust.js +5 -6
  150. package/lib/commonjs/credential/presentation/v1.4.6/02-evaluate-rp-trust.js.map +1 -1
  151. package/lib/commonjs/credential/presentation/v1.4.6/03-get-request-object.js +6 -7
  152. package/lib/commonjs/credential/presentation/v1.4.6/03-get-request-object.js.map +1 -1
  153. package/lib/commonjs/credential/presentation/v1.4.6/04-verify-certificate-chain.js +5 -6
  154. package/lib/commonjs/credential/presentation/v1.4.6/04-verify-certificate-chain.js.map +1 -1
  155. package/lib/commonjs/credential/presentation/v1.4.6/05-verify-request-object.js +11 -13
  156. package/lib/commonjs/credential/presentation/v1.4.6/05-verify-request-object.js.map +1 -1
  157. package/lib/commonjs/credential/presentation/v1.4.6/06-evaluate-dcql-query.js +15 -25
  158. package/lib/commonjs/credential/presentation/v1.4.6/06-evaluate-dcql-query.js.map +1 -1
  159. package/lib/commonjs/credential/presentation/v1.4.6/07-send-authorization-response.js +29 -38
  160. package/lib/commonjs/credential/presentation/v1.4.6/07-send-authorization-response.js.map +1 -1
  161. package/lib/commonjs/credential/presentation/v1.4.6/index.js +8 -9
  162. package/lib/commonjs/credential/presentation/v1.4.6/index.js.map +1 -1
  163. package/lib/commonjs/credential/presentation/v1.4.6/mappers.js +20 -26
  164. package/lib/commonjs/credential/presentation/v1.4.6/mappers.js.map +1 -1
  165. package/lib/commonjs/credential/presentation/v1.4.6/sdkErrorMapper.js +9 -13
  166. package/lib/commonjs/credential/presentation/v1.4.6/sdkErrorMapper.js.map +1 -1
  167. package/lib/commonjs/credential/presentation/v1.4.6/types.js +3 -6
  168. package/lib/commonjs/credential/presentation/v1.4.6/types.js.map +1 -1
  169. package/lib/commonjs/credential/status/api/index.js +1 -1
  170. package/lib/commonjs/credential/status/api/index.js.map +1 -1
  171. package/lib/commonjs/credential/status/api/status-assertion.js.map +1 -1
  172. package/lib/commonjs/credential/status/api/status-list.js.map +1 -1
  173. package/lib/commonjs/credential/status/api/types.js +3 -5
  174. package/lib/commonjs/credential/status/api/types.js.map +1 -1
  175. package/lib/commonjs/credential/status/index.js +8 -8
  176. package/lib/commonjs/credential/status/index.js.map +1 -1
  177. package/lib/commonjs/credential/status/v1.0.0/01-status-assertion.js +5 -5
  178. package/lib/commonjs/credential/status/v1.0.0/01-status-assertion.js.map +1 -1
  179. package/lib/commonjs/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js +9 -10
  180. package/lib/commonjs/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js.map +1 -1
  181. package/lib/commonjs/credential/status/v1.0.0/index.js +3 -4
  182. package/lib/commonjs/credential/status/v1.0.0/index.js.map +1 -1
  183. package/lib/commonjs/credential/status/v1.0.0/mappers.js +2 -3
  184. package/lib/commonjs/credential/status/v1.0.0/mappers.js.map +1 -1
  185. package/lib/commonjs/credential/status/v1.0.0/types.js +10 -14
  186. package/lib/commonjs/credential/status/v1.0.0/types.js.map +1 -1
  187. package/lib/commonjs/credential/status/v1.4.6/01-status-list.js +16 -21
  188. package/lib/commonjs/credential/status/v1.4.6/01-status-list.js.map +1 -1
  189. package/lib/commonjs/credential/status/v1.4.6/02-verify-and-parse-status-list.js +1 -1
  190. package/lib/commonjs/credential/status/v1.4.6/02-verify-and-parse-status-list.js.map +1 -1
  191. package/lib/commonjs/credential/status/v1.4.6/03-get-status.js +4 -3
  192. package/lib/commonjs/credential/status/v1.4.6/03-get-status.js.map +1 -1
  193. package/lib/commonjs/credential/status/v1.4.6/index.js +4 -5
  194. package/lib/commonjs/credential/status/v1.4.6/index.js.map +1 -1
  195. package/lib/commonjs/credential/trustmark/api/index.js.map +1 -1
  196. package/lib/commonjs/credential/trustmark/index.js +4 -4
  197. package/lib/commonjs/credential/trustmark/index.js.map +1 -1
  198. package/lib/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.js +12 -14
  199. package/lib/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.js.map +1 -1
  200. package/lib/commonjs/credential/trustmark/v1.0.0/index.js +2 -3
  201. package/lib/commonjs/credential/trustmark/v1.0.0/index.js.map +1 -1
  202. package/lib/commonjs/credential/trustmark/v1.4.6/get-credential-trustmark.js +1 -1
  203. package/lib/commonjs/credential/trustmark/v1.4.6/get-credential-trustmark.js.map +1 -1
  204. package/lib/commonjs/credential/trustmark/v1.4.6/index.js +2 -3
  205. package/lib/commonjs/credential/trustmark/v1.4.6/index.js.map +1 -1
  206. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js +11 -17
  207. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  208. package/lib/commonjs/credentials-catalogue/api/index.js.map +1 -1
  209. package/lib/commonjs/credentials-catalogue/common/get-status-l10n-ids.js.map +1 -1
  210. package/lib/commonjs/credentials-catalogue/index.js +4 -4
  211. package/lib/commonjs/credentials-catalogue/index.js.map +1 -1
  212. package/lib/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js +7 -8
  213. package/lib/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js.map +1 -1
  214. package/lib/commonjs/credentials-catalogue/v1.0.0/index.js +3 -4
  215. package/lib/commonjs/credentials-catalogue/v1.0.0/index.js.map +1 -1
  216. package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js +19 -24
  217. package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
  218. package/lib/commonjs/credentials-catalogue/v1.0.0/types.js +4 -7
  219. package/lib/commonjs/credentials-catalogue/v1.0.0/types.js.map +1 -1
  220. package/lib/commonjs/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.js +7 -8
  221. package/lib/commonjs/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.js.map +1 -1
  222. package/lib/commonjs/credentials-catalogue/v1.4.6/fetch-translations.js +9 -11
  223. package/lib/commonjs/credentials-catalogue/v1.4.6/fetch-translations.js.map +1 -1
  224. package/lib/commonjs/credentials-catalogue/v1.4.6/index.js +4 -5
  225. package/lib/commonjs/credentials-catalogue/v1.4.6/index.js.map +1 -1
  226. package/lib/commonjs/credentials-catalogue/v1.4.6/mappers.js +23 -28
  227. package/lib/commonjs/credentials-catalogue/v1.4.6/mappers.js.map +1 -1
  228. package/lib/commonjs/credentials-catalogue/v1.4.6/types.js +10 -19
  229. package/lib/commonjs/credentials-catalogue/v1.4.6/types.js.map +1 -1
  230. package/lib/commonjs/credentials-catalogue/v1.4.6/utils.js +7 -9
  231. package/lib/commonjs/credentials-catalogue/v1.4.6/utils.js.map +1 -1
  232. package/lib/commonjs/index.js +19 -20
  233. package/lib/commonjs/index.js.map +1 -1
  234. package/lib/commonjs/key-attestation/api/index.js.map +1 -1
  235. package/lib/commonjs/key-attestation/api/types.js +4 -6
  236. package/lib/commonjs/key-attestation/api/types.js.map +1 -1
  237. package/lib/commonjs/key-attestation/index.js +4 -4
  238. package/lib/commonjs/key-attestation/index.js.map +1 -1
  239. package/lib/commonjs/key-attestation/v1.0.0/index.js +1 -2
  240. package/lib/commonjs/key-attestation/v1.0.0/index.js.map +1 -1
  241. package/lib/commonjs/key-attestation/v1.4.6/index.js +5 -6
  242. package/lib/commonjs/key-attestation/v1.4.6/index.js.map +1 -1
  243. package/lib/commonjs/key-attestation/v1.4.6/issuing.js +15 -17
  244. package/lib/commonjs/key-attestation/v1.4.6/issuing.js.map +1 -1
  245. package/lib/commonjs/key-attestation/v1.4.6/mappers.js +3 -4
  246. package/lib/commonjs/key-attestation/v1.4.6/mappers.js.map +1 -1
  247. package/lib/commonjs/key-attestation/v1.4.6/types.js +5 -8
  248. package/lib/commonjs/key-attestation/v1.4.6/types.js.map +1 -1
  249. package/lib/commonjs/key-attestation/v1.4.6/utils.js +1 -1
  250. package/lib/commonjs/key-attestation/v1.4.6/utils.js.map +1 -1
  251. package/lib/commonjs/mdoc/const.js +2 -4
  252. package/lib/commonjs/mdoc/const.js.map +1 -1
  253. package/lib/commonjs/mdoc/converter.js +0 -1
  254. package/lib/commonjs/mdoc/converter.js.map +1 -1
  255. package/lib/commonjs/mdoc/index.js +7 -9
  256. package/lib/commonjs/mdoc/index.js.map +1 -1
  257. package/lib/commonjs/mdoc/utils.js +4 -6
  258. package/lib/commonjs/mdoc/utils.js.map +1 -1
  259. package/lib/commonjs/package.json +1 -0
  260. package/lib/commonjs/sd-jwt/index.js +8 -10
  261. package/lib/commonjs/sd-jwt/index.js.map +1 -1
  262. package/lib/commonjs/sd-jwt/types.js +8 -10
  263. package/lib/commonjs/sd-jwt/types.js.map +1 -1
  264. package/lib/commonjs/sd-jwt/utils.js +9 -10
  265. package/lib/commonjs/sd-jwt/utils.js.map +1 -1
  266. package/lib/commonjs/trust/api/TrustAnchorConfig.js +4 -6
  267. package/lib/commonjs/trust/api/TrustAnchorConfig.js.map +1 -1
  268. package/lib/commonjs/trust/api/index.js.map +1 -1
  269. package/lib/commonjs/trust/common/build-chain.js +8 -11
  270. package/lib/commonjs/trust/common/build-chain.js.map +1 -1
  271. package/lib/commonjs/trust/common/errors.js +3 -5
  272. package/lib/commonjs/trust/common/errors.js.map +1 -1
  273. package/lib/commonjs/trust/common/types.js +10 -16
  274. package/lib/commonjs/trust/common/types.js.map +1 -1
  275. package/lib/commonjs/trust/common/utils.js +12 -15
  276. package/lib/commonjs/trust/common/utils.js.map +1 -1
  277. package/lib/commonjs/trust/common/verify-chain.js +20 -25
  278. package/lib/commonjs/trust/common/verify-chain.js.map +1 -1
  279. package/lib/commonjs/trust/index.js +4 -5
  280. package/lib/commonjs/trust/index.js.map +1 -1
  281. package/lib/commonjs/trust/v1.0.0/build-chain.js +4 -5
  282. package/lib/commonjs/trust/v1.0.0/build-chain.js.map +1 -1
  283. package/lib/commonjs/trust/v1.0.0/entities.js +5 -6
  284. package/lib/commonjs/trust/v1.0.0/entities.js.map +1 -1
  285. package/lib/commonjs/trust/v1.0.0/index.js +6 -7
  286. package/lib/commonjs/trust/v1.0.0/index.js.map +1 -1
  287. package/lib/commonjs/trust/v1.0.0/mappers.js +2 -3
  288. package/lib/commonjs/trust/v1.0.0/mappers.js.map +1 -1
  289. package/lib/commonjs/trust/v1.0.0/types.js +13 -15
  290. package/lib/commonjs/trust/v1.0.0/types.js.map +1 -1
  291. package/lib/commonjs/trust/v1.0.0/verify-chain.js +4 -5
  292. package/lib/commonjs/trust/v1.0.0/verify-chain.js.map +1 -1
  293. package/lib/commonjs/trust/v1.4.6/entities.js +5 -6
  294. package/lib/commonjs/trust/v1.4.6/entities.js.map +1 -1
  295. package/lib/commonjs/trust/v1.4.6/types.js +10 -12
  296. package/lib/commonjs/trust/v1.4.6/types.js.map +1 -1
  297. package/lib/commonjs/utils/auth.js +5 -8
  298. package/lib/commonjs/utils/auth.js.map +1 -1
  299. package/lib/commonjs/utils/callbacks.js +26 -30
  300. package/lib/commonjs/utils/callbacks.js.map +1 -1
  301. package/lib/commonjs/utils/config.js +2 -4
  302. package/lib/commonjs/utils/config.js.map +1 -1
  303. package/lib/commonjs/utils/credentials.js +6 -7
  304. package/lib/commonjs/utils/credentials.js.map +1 -1
  305. package/lib/commonjs/utils/crypto.js +2 -2
  306. package/lib/commonjs/utils/crypto.js.map +1 -1
  307. package/lib/commonjs/utils/decoder.js +2 -2
  308. package/lib/commonjs/utils/decoder.js.map +1 -1
  309. package/lib/commonjs/utils/dpop.js +2 -4
  310. package/lib/commonjs/utils/dpop.js.map +1 -1
  311. package/lib/commonjs/utils/error-codes.js +3 -6
  312. package/lib/commonjs/utils/error-codes.js.map +1 -1
  313. package/lib/commonjs/utils/errors.js +29 -41
  314. package/lib/commonjs/utils/errors.js.map +1 -1
  315. package/lib/commonjs/utils/integrity.js.map +1 -1
  316. package/lib/commonjs/utils/jwk.js +2 -4
  317. package/lib/commonjs/utils/jwk.js.map +1 -1
  318. package/lib/commonjs/utils/logging.js +1 -2
  319. package/lib/commonjs/utils/logging.js.map +1 -1
  320. package/lib/commonjs/utils/mappers.js +4 -4
  321. package/lib/commonjs/utils/mappers.js.map +1 -1
  322. package/lib/commonjs/utils/misc.js +4 -8
  323. package/lib/commonjs/utils/misc.js.map +1 -1
  324. package/lib/commonjs/utils/object.js.map +1 -1
  325. package/lib/commonjs/utils/par.js +73 -81
  326. package/lib/commonjs/utils/par.js.map +1 -1
  327. package/lib/commonjs/utils/parser.js.map +1 -1
  328. package/lib/commonjs/utils/pop.js +2 -4
  329. package/lib/commonjs/utils/pop.js.map +1 -1
  330. package/lib/commonjs/utils/string.js +3 -8
  331. package/lib/commonjs/utils/string.js.map +1 -1
  332. package/lib/commonjs/utils/x509.js +6 -7
  333. package/lib/commonjs/utils/x509.js.map +1 -1
  334. package/lib/commonjs/utils/zod.js +2 -4
  335. package/lib/commonjs/utils/zod.js.map +1 -1
  336. package/lib/commonjs/wallet-instance/api/index.js.map +1 -1
  337. package/lib/commonjs/wallet-instance/common/wallet-instance.js +7 -7
  338. package/lib/commonjs/wallet-instance/common/wallet-instance.js.map +1 -1
  339. package/lib/commonjs/wallet-instance/index.js +4 -4
  340. package/lib/commonjs/wallet-instance/index.js.map +1 -1
  341. package/lib/commonjs/wallet-instance/v1.0.0/index.js +2 -3
  342. package/lib/commonjs/wallet-instance/v1.0.0/index.js.map +1 -1
  343. package/lib/commonjs/wallet-instance/v1.4.6/index.js +2 -3
  344. package/lib/commonjs/wallet-instance/v1.4.6/index.js.map +1 -1
  345. package/lib/commonjs/wallet-instance-attestation/api/index.js.map +1 -1
  346. package/lib/commonjs/wallet-instance-attestation/api/types.js +4 -6
  347. package/lib/commonjs/wallet-instance-attestation/api/types.js.map +1 -1
  348. package/lib/commonjs/wallet-instance-attestation/common/types.js +4 -6
  349. package/lib/commonjs/wallet-instance-attestation/common/types.js.map +1 -1
  350. package/lib/commonjs/wallet-instance-attestation/index.js +4 -4
  351. package/lib/commonjs/wallet-instance-attestation/index.js.map +1 -1
  352. package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js +5 -6
  353. package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
  354. package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js +12 -13
  355. package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
  356. package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js +4 -6
  357. package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
  358. package/lib/commonjs/wallet-instance-attestation/v1.0.0/types.js +6 -9
  359. package/lib/commonjs/wallet-instance-attestation/v1.0.0/types.js.map +1 -1
  360. package/lib/commonjs/wallet-instance-attestation/v1.0.0/utils.js +1 -1
  361. package/lib/commonjs/wallet-instance-attestation/v1.0.0/utils.js.map +1 -1
  362. package/lib/commonjs/wallet-instance-attestation/v1.4.6/index.js +5 -6
  363. package/lib/commonjs/wallet-instance-attestation/v1.4.6/index.js.map +1 -1
  364. package/lib/commonjs/wallet-instance-attestation/v1.4.6/issuing.js +15 -17
  365. package/lib/commonjs/wallet-instance-attestation/v1.4.6/issuing.js.map +1 -1
  366. package/lib/commonjs/wallet-instance-attestation/v1.4.6/mappers.js +3 -4
  367. package/lib/commonjs/wallet-instance-attestation/v1.4.6/mappers.js.map +1 -1
  368. package/lib/commonjs/wallet-instance-attestation/v1.4.6/types.js +4 -7
  369. package/lib/commonjs/wallet-instance-attestation/v1.4.6/types.js.map +1 -1
  370. package/lib/commonjs/wallet-instance-attestation/v1.4.6/utils.js +1 -1
  371. package/lib/commonjs/wallet-instance-attestation/v1.4.6/utils.js.map +1 -1
  372. package/lib/module/IoWallet.js +8 -6
  373. package/lib/module/IoWallet.js.map +1 -1
  374. package/lib/module/api/index.js +12 -10
  375. package/lib/module/api/index.js.map +1 -1
  376. package/lib/module/client/generated/wallet-provider.js +13 -7
  377. package/lib/module/client/generated/wallet-provider.js.map +1 -1
  378. package/lib/module/client/index.js +9 -10
  379. package/lib/module/client/index.js.map +1 -1
  380. package/lib/module/credential/index.js +3 -1
  381. package/lib/module/credential/index.js.map +1 -1
  382. package/lib/module/credential/issuance/api/01-evaluate-issuer-trust.js +2 -0
  383. package/lib/module/credential/issuance/api/01-evaluate-issuer-trust.js.map +1 -1
  384. package/lib/module/credential/issuance/api/02-start-user-authorization.js +2 -0
  385. package/lib/module/credential/issuance/api/02-start-user-authorization.js.map +1 -1
  386. package/lib/module/credential/issuance/api/03-complete-user-authorization.js +2 -0
  387. package/lib/module/credential/issuance/api/03-complete-user-authorization.js.map +1 -1
  388. package/lib/module/credential/issuance/api/04-authorize-access.js +2 -0
  389. package/lib/module/credential/issuance/api/04-authorize-access.js.map +1 -1
  390. package/lib/module/credential/issuance/api/05-obtain-credential.js +2 -0
  391. package/lib/module/credential/issuance/api/05-obtain-credential.js.map +1 -1
  392. package/lib/module/credential/issuance/api/06-verify-and-parse-credential.js +2 -0
  393. package/lib/module/credential/issuance/api/06-verify-and-parse-credential.js.map +1 -1
  394. package/lib/module/credential/issuance/api/IssuerConfig.js +4 -2
  395. package/lib/module/credential/issuance/api/IssuerConfig.js.map +1 -1
  396. package/lib/module/credential/issuance/api/index.js +2 -0
  397. package/lib/module/credential/issuance/api/index.js.map +1 -1
  398. package/lib/module/credential/issuance/api/mrtd-pop/index.js +3 -1
  399. package/lib/module/credential/issuance/api/mrtd-pop/index.js.map +1 -1
  400. package/lib/module/credential/issuance/api/mrtd-pop/types.js +1 -1
  401. package/lib/module/credential/issuance/api/mrtd-pop/types.js.map +1 -1
  402. package/lib/module/credential/issuance/api/types.js +2 -0
  403. package/lib/module/credential/issuance/api/types.js.map +1 -1
  404. package/lib/module/credential/issuance/common/02-start-user-authorization.js +4 -2
  405. package/lib/module/credential/issuance/common/02-start-user-authorization.js.map +1 -1
  406. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.js +45 -87
  407. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.js.map +1 -1
  408. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js +21 -23
  409. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
  410. package/lib/module/credential/issuance/common/errors.js +3 -1
  411. package/lib/module/credential/issuance/common/errors.js.map +1 -1
  412. package/lib/module/credential/issuance/index.js +5 -3
  413. package/lib/module/credential/issuance/index.js.map +1 -1
  414. package/lib/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js +7 -6
  415. package/lib/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js.map +1 -1
  416. package/lib/module/credential/issuance/mrtd-pop/02-init-challenge.js +5 -3
  417. package/lib/module/credential/issuance/mrtd-pop/02-init-challenge.js.map +1 -1
  418. package/lib/module/credential/issuance/mrtd-pop/03-validate-challenge.js +4 -2
  419. package/lib/module/credential/issuance/mrtd-pop/03-validate-challenge.js.map +1 -1
  420. package/lib/module/credential/issuance/mrtd-pop/index.js +6 -4
  421. package/lib/module/credential/issuance/mrtd-pop/index.js.map +1 -1
  422. package/lib/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js +5 -4
  423. package/lib/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js.map +1 -1
  424. package/lib/module/credential/issuance/v1.0.0/02-start-user-authorization.js +7 -5
  425. package/lib/module/credential/issuance/v1.0.0/02-start-user-authorization.js.map +1 -1
  426. package/lib/module/credential/issuance/v1.0.0/03-complete-user-authorization.js +28 -34
  427. package/lib/module/credential/issuance/v1.0.0/03-complete-user-authorization.js.map +1 -1
  428. package/lib/module/credential/issuance/v1.0.0/04-authorize-access.js +9 -7
  429. package/lib/module/credential/issuance/v1.0.0/04-authorize-access.js.map +1 -1
  430. package/lib/module/credential/issuance/v1.0.0/05-obtain-credential.js +9 -8
  431. package/lib/module/credential/issuance/v1.0.0/05-obtain-credential.js.map +1 -1
  432. package/lib/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.js +7 -6
  433. package/lib/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.js.map +1 -1
  434. package/lib/module/credential/issuance/v1.0.0/index.js +9 -7
  435. package/lib/module/credential/issuance/v1.0.0/index.js.map +1 -1
  436. package/lib/module/credential/issuance/v1.0.0/mappers.js +4 -2
  437. package/lib/module/credential/issuance/v1.0.0/mappers.js.map +1 -1
  438. package/lib/module/credential/issuance/v1.0.0/types.js +3 -1
  439. package/lib/module/credential/issuance/v1.0.0/types.js.map +1 -1
  440. package/lib/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.js +5 -4
  441. package/lib/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.js.map +1 -1
  442. package/lib/module/credential/issuance/v1.4.6/02-start-user-authorization.js +7 -5
  443. package/lib/module/credential/issuance/v1.4.6/02-start-user-authorization.js.map +1 -1
  444. package/lib/module/credential/issuance/v1.4.6/03-complete-user-authorization.js +31 -37
  445. package/lib/module/credential/issuance/v1.4.6/03-complete-user-authorization.js.map +1 -1
  446. package/lib/module/credential/issuance/v1.4.6/04-authorize-access.js +5 -3
  447. package/lib/module/credential/issuance/v1.4.6/04-authorize-access.js.map +1 -1
  448. package/lib/module/credential/issuance/v1.4.6/05-obtain-credential.js +39 -48
  449. package/lib/module/credential/issuance/v1.4.6/05-obtain-credential.js.map +1 -1
  450. package/lib/module/credential/issuance/v1.4.6/06-verify-and-parse-credential.js +7 -6
  451. package/lib/module/credential/issuance/v1.4.6/06-verify-and-parse-credential.js.map +1 -1
  452. package/lib/module/credential/issuance/v1.4.6/index.js +9 -7
  453. package/lib/module/credential/issuance/v1.4.6/index.js.map +1 -1
  454. package/lib/module/credential/issuance/v1.4.6/mappers.js +20 -25
  455. package/lib/module/credential/issuance/v1.4.6/mappers.js.map +1 -1
  456. package/lib/module/credential/issuance/v1.4.6/types.js +2 -0
  457. package/lib/module/credential/issuance/v1.4.6/types.js.map +1 -1
  458. package/lib/module/credential/offer/api/01-resolve-credential-offer.js +2 -0
  459. package/lib/module/credential/offer/api/01-resolve-credential-offer.js.map +1 -1
  460. package/lib/module/credential/offer/api/02-extract-grant-details.js +2 -0
  461. package/lib/module/credential/offer/api/02-extract-grant-details.js.map +1 -1
  462. package/lib/module/credential/offer/api/03-validate-credential-offer.js +2 -0
  463. package/lib/module/credential/offer/api/03-validate-credential-offer.js.map +1 -1
  464. package/lib/module/credential/offer/api/index.js +3 -1
  465. package/lib/module/credential/offer/api/index.js.map +1 -1
  466. package/lib/module/credential/offer/api/types.js +2 -0
  467. package/lib/module/credential/offer/api/types.js.map +1 -1
  468. package/lib/module/credential/offer/common/errors.js +3 -1
  469. package/lib/module/credential/offer/common/errors.js.map +1 -1
  470. package/lib/module/credential/offer/index.js +5 -3
  471. package/lib/module/credential/offer/index.js.map +1 -1
  472. package/lib/module/credential/offer/v1.0.0/index.js +3 -1
  473. package/lib/module/credential/offer/v1.0.0/index.js.map +1 -1
  474. package/lib/module/credential/offer/v1.4.6/01-resolve-credential-offer.js +5 -4
  475. package/lib/module/credential/offer/v1.4.6/01-resolve-credential-offer.js.map +1 -1
  476. package/lib/module/credential/offer/v1.4.6/02-extract-grant-details.js +5 -3
  477. package/lib/module/credential/offer/v1.4.6/02-extract-grant-details.js.map +1 -1
  478. package/lib/module/credential/offer/v1.4.6/03-validate-credential-offer.js +8 -7
  479. package/lib/module/credential/offer/v1.4.6/03-validate-credential-offer.js.map +1 -1
  480. package/lib/module/credential/offer/v1.4.6/index.js +5 -3
  481. package/lib/module/credential/offer/v1.4.6/index.js.map +1 -1
  482. package/lib/module/credential/presentation/api/01-start-flow.js +2 -0
  483. package/lib/module/credential/presentation/api/01-start-flow.js.map +1 -1
  484. package/lib/module/credential/presentation/api/02-evaluate-rp-trust.js +2 -0
  485. package/lib/module/credential/presentation/api/02-evaluate-rp-trust.js.map +1 -1
  486. package/lib/module/credential/presentation/api/03-get-request-object.js +2 -0
  487. package/lib/module/credential/presentation/api/03-get-request-object.js.map +1 -1
  488. package/lib/module/credential/presentation/api/04-verify-certificate-chain.js +2 -0
  489. package/lib/module/credential/presentation/api/04-verify-certificate-chain.js.map +1 -1
  490. package/lib/module/credential/presentation/api/05-verify-request-object.js +2 -0
  491. package/lib/module/credential/presentation/api/05-verify-request-object.js.map +1 -1
  492. package/lib/module/credential/presentation/api/06-evaluate-dcql-query.js +2 -0
  493. package/lib/module/credential/presentation/api/06-evaluate-dcql-query.js.map +1 -1
  494. package/lib/module/credential/presentation/api/07-send-authorization-response.js +2 -0
  495. package/lib/module/credential/presentation/api/07-send-authorization-response.js.map +1 -1
  496. package/lib/module/credential/presentation/api/RelyingPartyConfig.js +3 -1
  497. package/lib/module/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
  498. package/lib/module/credential/presentation/api/index.js +3 -1
  499. package/lib/module/credential/presentation/api/index.js.map +1 -1
  500. package/lib/module/credential/presentation/api/types.js +2 -0
  501. package/lib/module/credential/presentation/api/types.js.map +1 -1
  502. package/lib/module/credential/presentation/common/errors.js +5 -6
  503. package/lib/module/credential/presentation/common/errors.js.map +1 -1
  504. package/lib/module/credential/presentation/common/utils/dcql.js +27 -44
  505. package/lib/module/credential/presentation/common/utils/dcql.js.map +1 -1
  506. package/lib/module/credential/presentation/common/utils/http.js +9 -11
  507. package/lib/module/credential/presentation/common/utils/http.js.map +1 -1
  508. package/lib/module/credential/presentation/common/utils/mdoc.js +19 -28
  509. package/lib/module/credential/presentation/common/utils/mdoc.js.map +1 -1
  510. package/lib/module/credential/presentation/common/utils/sd-jwt.js +13 -17
  511. package/lib/module/credential/presentation/common/utils/sd-jwt.js.map +1 -1
  512. package/lib/module/credential/presentation/index.js +5 -3
  513. package/lib/module/credential/presentation/index.js.map +1 -1
  514. package/lib/module/credential/presentation/v1.0.0/01-start-flow.js +4 -2
  515. package/lib/module/credential/presentation/v1.0.0/01-start-flow.js.map +1 -1
  516. package/lib/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.js +7 -6
  517. package/lib/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.js.map +1 -1
  518. package/lib/module/credential/presentation/v1.0.0/03-get-request-object.js +10 -9
  519. package/lib/module/credential/presentation/v1.0.0/03-get-request-object.js.map +1 -1
  520. package/lib/module/credential/presentation/v1.0.0/05-verify-request-object.js +13 -15
  521. package/lib/module/credential/presentation/v1.0.0/05-verify-request-object.js.map +1 -1
  522. package/lib/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.js +15 -21
  523. package/lib/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.js.map +1 -1
  524. package/lib/module/credential/presentation/v1.0.0/07-send-authorization-response.js +22 -26
  525. package/lib/module/credential/presentation/v1.0.0/07-send-authorization-response.js.map +1 -1
  526. package/lib/module/credential/presentation/v1.0.0/index.js +8 -6
  527. package/lib/module/credential/presentation/v1.0.0/index.js.map +1 -1
  528. package/lib/module/credential/presentation/v1.0.0/mappers.js +20 -22
  529. package/lib/module/credential/presentation/v1.0.0/mappers.js.map +1 -1
  530. package/lib/module/credential/presentation/v1.0.0/types.js +4 -2
  531. package/lib/module/credential/presentation/v1.0.0/types.js.map +1 -1
  532. package/lib/module/credential/presentation/v1.0.0/utils.js +3 -1
  533. package/lib/module/credential/presentation/v1.0.0/utils.js.map +1 -1
  534. package/lib/module/credential/presentation/v1.0.0/utils.jwks.js +3 -1
  535. package/lib/module/credential/presentation/v1.0.0/utils.jwks.js.map +1 -1
  536. package/lib/module/credential/presentation/v1.4.6/01-start-flow.js +5 -6
  537. package/lib/module/credential/presentation/v1.4.6/01-start-flow.js.map +1 -1
  538. package/lib/module/credential/presentation/v1.4.6/02-evaluate-rp-trust.js +7 -6
  539. package/lib/module/credential/presentation/v1.4.6/02-evaluate-rp-trust.js.map +1 -1
  540. package/lib/module/credential/presentation/v1.4.6/03-get-request-object.js +8 -7
  541. package/lib/module/credential/presentation/v1.4.6/03-get-request-object.js.map +1 -1
  542. package/lib/module/credential/presentation/v1.4.6/04-verify-certificate-chain.js +7 -6
  543. package/lib/module/credential/presentation/v1.4.6/04-verify-certificate-chain.js.map +1 -1
  544. package/lib/module/credential/presentation/v1.4.6/05-verify-request-object.js +13 -13
  545. package/lib/module/credential/presentation/v1.4.6/05-verify-request-object.js.map +1 -1
  546. package/lib/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.js +16 -23
  547. package/lib/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.js.map +1 -1
  548. package/lib/module/credential/presentation/v1.4.6/07-send-authorization-response.js +29 -36
  549. package/lib/module/credential/presentation/v1.4.6/07-send-authorization-response.js.map +1 -1
  550. package/lib/module/credential/presentation/v1.4.6/index.js +9 -7
  551. package/lib/module/credential/presentation/v1.4.6/index.js.map +1 -1
  552. package/lib/module/credential/presentation/v1.4.6/mappers.js +22 -24
  553. package/lib/module/credential/presentation/v1.4.6/mappers.js.map +1 -1
  554. package/lib/module/credential/presentation/v1.4.6/sdkErrorMapper.js +11 -13
  555. package/lib/module/credential/presentation/v1.4.6/sdkErrorMapper.js.map +1 -1
  556. package/lib/module/credential/presentation/v1.4.6/types.js +2 -0
  557. package/lib/module/credential/presentation/v1.4.6/types.js.map +1 -1
  558. package/lib/module/credential/status/api/index.js +3 -1
  559. package/lib/module/credential/status/api/index.js.map +1 -1
  560. package/lib/module/credential/status/api/status-assertion.js +2 -0
  561. package/lib/module/credential/status/api/status-assertion.js.map +1 -1
  562. package/lib/module/credential/status/api/status-list.js +2 -0
  563. package/lib/module/credential/status/api/status-list.js.map +1 -1
  564. package/lib/module/credential/status/api/types.js +3 -1
  565. package/lib/module/credential/status/api/types.js.map +1 -1
  566. package/lib/module/credential/status/index.js +5 -3
  567. package/lib/module/credential/status/index.js.map +1 -1
  568. package/lib/module/credential/status/v1.0.0/01-status-assertion.js +7 -5
  569. package/lib/module/credential/status/v1.0.0/01-status-assertion.js.map +1 -1
  570. package/lib/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js +11 -10
  571. package/lib/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js.map +1 -1
  572. package/lib/module/credential/status/v1.0.0/index.js +4 -2
  573. package/lib/module/credential/status/v1.0.0/index.js.map +1 -1
  574. package/lib/module/credential/status/v1.0.0/mappers.js +3 -1
  575. package/lib/module/credential/status/v1.0.0/mappers.js.map +1 -1
  576. package/lib/module/credential/status/v1.0.0/types.js +4 -2
  577. package/lib/module/credential/status/v1.0.0/types.js.map +1 -1
  578. package/lib/module/credential/status/v1.4.6/01-status-list.js +17 -20
  579. package/lib/module/credential/status/v1.4.6/01-status-list.js.map +1 -1
  580. package/lib/module/credential/status/v1.4.6/02-verify-and-parse-status-list.js +3 -1
  581. package/lib/module/credential/status/v1.4.6/02-verify-and-parse-status-list.js.map +1 -1
  582. package/lib/module/credential/status/v1.4.6/03-get-status.js +6 -3
  583. package/lib/module/credential/status/v1.4.6/03-get-status.js.map +1 -1
  584. package/lib/module/credential/status/v1.4.6/index.js +5 -3
  585. package/lib/module/credential/status/v1.4.6/index.js.map +1 -1
  586. package/lib/module/credential/trustmark/api/index.js +2 -0
  587. package/lib/module/credential/trustmark/api/index.js.map +1 -1
  588. package/lib/module/credential/trustmark/index.js +4 -2
  589. package/lib/module/credential/trustmark/index.js.map +1 -1
  590. package/lib/module/credential/trustmark/v1.0.0/get-credential-trustmark.js +13 -12
  591. package/lib/module/credential/trustmark/v1.0.0/get-credential-trustmark.js.map +1 -1
  592. package/lib/module/credential/trustmark/v1.0.0/index.js +3 -1
  593. package/lib/module/credential/trustmark/v1.0.0/index.js.map +1 -1
  594. package/lib/module/credential/trustmark/v1.4.6/get-credential-trustmark.js +3 -1
  595. package/lib/module/credential/trustmark/v1.4.6/get-credential-trustmark.js.map +1 -1
  596. package/lib/module/credential/trustmark/v1.4.6/index.js +3 -1
  597. package/lib/module/credential/trustmark/v1.4.6/index.js.map +1 -1
  598. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js +4 -1
  599. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  600. package/lib/module/credentials-catalogue/api/index.js +2 -0
  601. package/lib/module/credentials-catalogue/api/index.js.map +1 -1
  602. package/lib/module/credentials-catalogue/common/get-status-l10n-ids.js +2 -0
  603. package/lib/module/credentials-catalogue/common/get-status-l10n-ids.js.map +1 -1
  604. package/lib/module/credentials-catalogue/index.js +4 -2
  605. package/lib/module/credentials-catalogue/index.js.map +1 -1
  606. package/lib/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js +9 -8
  607. package/lib/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js.map +1 -1
  608. package/lib/module/credentials-catalogue/v1.0.0/index.js +4 -2
  609. package/lib/module/credentials-catalogue/v1.0.0/index.js.map +1 -1
  610. package/lib/module/credentials-catalogue/v1.0.0/mappers.js +21 -23
  611. package/lib/module/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
  612. package/lib/module/credentials-catalogue/v1.0.0/types.js +3 -1
  613. package/lib/module/credentials-catalogue/v1.0.0/types.js.map +1 -1
  614. package/lib/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.js +9 -8
  615. package/lib/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.js.map +1 -1
  616. package/lib/module/credentials-catalogue/v1.4.6/fetch-translations.js +11 -11
  617. package/lib/module/credentials-catalogue/v1.4.6/fetch-translations.js.map +1 -1
  618. package/lib/module/credentials-catalogue/v1.4.6/index.js +5 -3
  619. package/lib/module/credentials-catalogue/v1.4.6/index.js.map +1 -1
  620. package/lib/module/credentials-catalogue/v1.4.6/mappers.js +25 -27
  621. package/lib/module/credentials-catalogue/v1.4.6/mappers.js.map +1 -1
  622. package/lib/module/credentials-catalogue/v1.4.6/types.js +3 -1
  623. package/lib/module/credentials-catalogue/v1.4.6/types.js.map +1 -1
  624. package/lib/module/credentials-catalogue/v1.4.6/utils.js +8 -7
  625. package/lib/module/credentials-catalogue/v1.4.6/utils.js.map +1 -1
  626. package/lib/module/index.js +20 -18
  627. package/lib/module/index.js.map +1 -1
  628. package/lib/module/key-attestation/api/index.js +2 -0
  629. package/lib/module/key-attestation/api/index.js.map +1 -1
  630. package/lib/module/key-attestation/api/types.js +4 -2
  631. package/lib/module/key-attestation/api/types.js.map +1 -1
  632. package/lib/module/key-attestation/index.js +4 -2
  633. package/lib/module/key-attestation/index.js.map +1 -1
  634. package/lib/module/key-attestation/v1.0.0/index.js +2 -0
  635. package/lib/module/key-attestation/v1.0.0/index.js.map +1 -1
  636. package/lib/module/key-attestation/v1.4.6/index.js +6 -4
  637. package/lib/module/key-attestation/v1.4.6/index.js.map +1 -1
  638. package/lib/module/key-attestation/v1.4.6/issuing.js +16 -16
  639. package/lib/module/key-attestation/v1.4.6/issuing.js.map +1 -1
  640. package/lib/module/key-attestation/v1.4.6/mappers.js +4 -2
  641. package/lib/module/key-attestation/v1.4.6/mappers.js.map +1 -1
  642. package/lib/module/key-attestation/v1.4.6/types.js +4 -3
  643. package/lib/module/key-attestation/v1.4.6/types.js.map +1 -1
  644. package/lib/module/key-attestation/v1.4.6/utils.js +3 -1
  645. package/lib/module/key-attestation/v1.4.6/utils.js.map +1 -1
  646. package/lib/module/mdoc/const.js +2 -0
  647. package/lib/module/mdoc/const.js.map +1 -1
  648. package/lib/module/mdoc/converter.js +2 -1
  649. package/lib/module/mdoc/converter.js.map +1 -1
  650. package/lib/module/mdoc/index.js +9 -9
  651. package/lib/module/mdoc/index.js.map +1 -1
  652. package/lib/module/mdoc/utils.js +6 -6
  653. package/lib/module/mdoc/utils.js.map +1 -1
  654. package/lib/module/package.json +1 -0
  655. package/lib/module/sd-jwt/index.js +10 -10
  656. package/lib/module/sd-jwt/index.js.map +1 -1
  657. package/lib/module/sd-jwt/types.js +4 -2
  658. package/lib/module/sd-jwt/types.js.map +1 -1
  659. package/lib/module/sd-jwt/utils.js +11 -10
  660. package/lib/module/sd-jwt/utils.js.map +1 -1
  661. package/lib/module/trust/api/TrustAnchorConfig.js +4 -2
  662. package/lib/module/trust/api/TrustAnchorConfig.js.map +1 -1
  663. package/lib/module/trust/api/index.js +2 -0
  664. package/lib/module/trust/api/index.js.map +1 -1
  665. package/lib/module/trust/common/build-chain.js +10 -11
  666. package/lib/module/trust/common/build-chain.js.map +1 -1
  667. package/lib/module/trust/common/errors.js +5 -5
  668. package/lib/module/trust/common/errors.js.map +1 -1
  669. package/lib/module/trust/common/types.js +4 -2
  670. package/lib/module/trust/common/types.js.map +1 -1
  671. package/lib/module/trust/common/utils.js +14 -15
  672. package/lib/module/trust/common/utils.js.map +1 -1
  673. package/lib/module/trust/common/verify-chain.js +23 -26
  674. package/lib/module/trust/common/verify-chain.js.map +1 -1
  675. package/lib/module/trust/index.js +4 -2
  676. package/lib/module/trust/index.js.map +1 -1
  677. package/lib/module/trust/v1.0.0/build-chain.js +5 -3
  678. package/lib/module/trust/v1.0.0/build-chain.js.map +1 -1
  679. package/lib/module/trust/v1.0.0/entities.js +7 -6
  680. package/lib/module/trust/v1.0.0/entities.js.map +1 -1
  681. package/lib/module/trust/v1.0.0/index.js +7 -5
  682. package/lib/module/trust/v1.0.0/index.js.map +1 -1
  683. package/lib/module/trust/v1.0.0/mappers.js +3 -1
  684. package/lib/module/trust/v1.0.0/mappers.js.map +1 -1
  685. package/lib/module/trust/v1.0.0/types.js +5 -3
  686. package/lib/module/trust/v1.0.0/types.js.map +1 -1
  687. package/lib/module/trust/v1.0.0/verify-chain.js +5 -3
  688. package/lib/module/trust/v1.0.0/verify-chain.js.map +1 -1
  689. package/lib/module/trust/v1.4.6/entities.js +7 -6
  690. package/lib/module/trust/v1.4.6/entities.js.map +1 -1
  691. package/lib/module/trust/v1.4.6/types.js +4 -2
  692. package/lib/module/trust/v1.4.6/types.js.map +1 -1
  693. package/lib/module/utils/auth.js +2 -0
  694. package/lib/module/utils/auth.js.map +1 -1
  695. package/lib/module/utils/callbacks.js +25 -26
  696. package/lib/module/utils/callbacks.js.map +1 -1
  697. package/lib/module/utils/config.js +2 -0
  698. package/lib/module/utils/config.js.map +1 -1
  699. package/lib/module/utils/credentials.js +8 -7
  700. package/lib/module/utils/credentials.js.map +1 -1
  701. package/lib/module/utils/crypto.js +4 -2
  702. package/lib/module/utils/crypto.js.map +1 -1
  703. package/lib/module/utils/decoder.js +4 -2
  704. package/lib/module/utils/decoder.js.map +1 -1
  705. package/lib/module/utils/dpop.js +2 -0
  706. package/lib/module/utils/dpop.js.map +1 -1
  707. package/lib/module/utils/error-codes.js +2 -0
  708. package/lib/module/utils/error-codes.js.map +1 -1
  709. package/lib/module/utils/errors.js +27 -35
  710. package/lib/module/utils/errors.js.map +1 -1
  711. package/lib/module/utils/integrity.js +1 -1
  712. package/lib/module/utils/integrity.js.map +1 -1
  713. package/lib/module/utils/jwk.js +2 -0
  714. package/lib/module/utils/jwk.js.map +1 -1
  715. package/lib/module/utils/logging.js +2 -0
  716. package/lib/module/utils/logging.js.map +1 -1
  717. package/lib/module/utils/mappers.js +6 -4
  718. package/lib/module/utils/mappers.js.map +1 -1
  719. package/lib/module/utils/misc.js +7 -8
  720. package/lib/module/utils/misc.js.map +1 -1
  721. package/lib/module/utils/object.js +2 -0
  722. package/lib/module/utils/object.js.map +1 -1
  723. package/lib/module/utils/par.js +71 -73
  724. package/lib/module/utils/par.js.map +1 -1
  725. package/lib/module/utils/parser.js +2 -0
  726. package/lib/module/utils/parser.js.map +1 -1
  727. package/lib/module/utils/pop.js +2 -0
  728. package/lib/module/utils/pop.js.map +1 -1
  729. package/lib/module/utils/string.js +5 -8
  730. package/lib/module/utils/string.js.map +1 -1
  731. package/lib/module/utils/x509.js +8 -7
  732. package/lib/module/utils/x509.js.map +1 -1
  733. package/lib/module/utils/zod.js +2 -0
  734. package/lib/module/utils/zod.js.map +1 -1
  735. package/lib/module/wallet-instance/api/index.js +2 -0
  736. package/lib/module/wallet-instance/api/index.js.map +1 -1
  737. package/lib/module/wallet-instance/common/wallet-instance.js +5 -3
  738. package/lib/module/wallet-instance/common/wallet-instance.js.map +1 -1
  739. package/lib/module/wallet-instance/index.js +4 -2
  740. package/lib/module/wallet-instance/index.js.map +1 -1
  741. package/lib/module/wallet-instance/v1.0.0/index.js +3 -1
  742. package/lib/module/wallet-instance/v1.0.0/index.js.map +1 -1
  743. package/lib/module/wallet-instance/v1.4.6/index.js +3 -1
  744. package/lib/module/wallet-instance/v1.4.6/index.js.map +1 -1
  745. package/lib/module/wallet-instance-attestation/api/index.js +2 -0
  746. package/lib/module/wallet-instance-attestation/api/index.js.map +1 -1
  747. package/lib/module/wallet-instance-attestation/api/types.js +4 -2
  748. package/lib/module/wallet-instance-attestation/api/types.js.map +1 -1
  749. package/lib/module/wallet-instance-attestation/common/types.js +4 -2
  750. package/lib/module/wallet-instance-attestation/common/types.js.map +1 -1
  751. package/lib/module/wallet-instance-attestation/index.js +4 -2
  752. package/lib/module/wallet-instance-attestation/index.js.map +1 -1
  753. package/lib/module/wallet-instance-attestation/v1.0.0/index.js +6 -4
  754. package/lib/module/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
  755. package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js +13 -12
  756. package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
  757. package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js +4 -2
  758. package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
  759. package/lib/module/wallet-instance-attestation/v1.0.0/types.js +4 -1
  760. package/lib/module/wallet-instance-attestation/v1.0.0/types.js.map +1 -1
  761. package/lib/module/wallet-instance-attestation/v1.0.0/utils.js +3 -1
  762. package/lib/module/wallet-instance-attestation/v1.0.0/utils.js.map +1 -1
  763. package/lib/module/wallet-instance-attestation/v1.4.6/index.js +6 -4
  764. package/lib/module/wallet-instance-attestation/v1.4.6/index.js.map +1 -1
  765. package/lib/module/wallet-instance-attestation/v1.4.6/issuing.js +16 -16
  766. package/lib/module/wallet-instance-attestation/v1.4.6/issuing.js.map +1 -1
  767. package/lib/module/wallet-instance-attestation/v1.4.6/mappers.js +4 -2
  768. package/lib/module/wallet-instance-attestation/v1.4.6/mappers.js.map +1 -1
  769. package/lib/module/wallet-instance-attestation/v1.4.6/types.js +3 -1
  770. package/lib/module/wallet-instance-attestation/v1.4.6/types.js.map +1 -1
  771. package/lib/module/wallet-instance-attestation/v1.4.6/utils.js +3 -1
  772. package/lib/module/wallet-instance-attestation/v1.4.6/utils.js.map +1 -1
  773. package/lib/typescript/commonjs/IoWallet.d.ts.map +1 -0
  774. package/lib/typescript/commonjs/api/index.d.ts.map +1 -0
  775. package/lib/typescript/commonjs/client/generated/wallet-provider.d.ts.map +1 -0
  776. package/lib/typescript/commonjs/client/index.d.ts +13 -0
  777. package/lib/typescript/commonjs/client/index.d.ts.map +1 -0
  778. package/lib/typescript/commonjs/credential/index.d.ts.map +1 -0
  779. package/lib/typescript/commonjs/credential/issuance/api/01-evaluate-issuer-trust.d.ts +22 -0
  780. package/lib/typescript/commonjs/credential/issuance/api/01-evaluate-issuer-trust.d.ts.map +1 -0
  781. package/lib/typescript/commonjs/credential/issuance/api/02-start-user-authorization.d.ts +53 -0
  782. package/lib/typescript/commonjs/credential/issuance/api/02-start-user-authorization.d.ts.map +1 -0
  783. package/lib/typescript/commonjs/credential/issuance/api/03-complete-user-authorization.d.ts +97 -0
  784. package/lib/typescript/commonjs/credential/issuance/api/03-complete-user-authorization.d.ts.map +1 -0
  785. package/lib/typescript/commonjs/credential/issuance/api/04-authorize-access.d.ts +33 -0
  786. package/lib/typescript/commonjs/credential/issuance/api/04-authorize-access.d.ts.map +1 -0
  787. package/lib/typescript/commonjs/credential/issuance/api/05-obtain-credential.d.ts +58 -0
  788. package/lib/typescript/commonjs/credential/issuance/api/05-obtain-credential.d.ts.map +1 -0
  789. package/lib/typescript/commonjs/credential/issuance/api/06-verify-and-parse-credential.d.ts.map +1 -0
  790. package/lib/typescript/commonjs/credential/issuance/api/IssuerConfig.d.ts.map +1 -0
  791. package/lib/typescript/commonjs/credential/issuance/api/index.d.ts.map +1 -0
  792. package/lib/typescript/commonjs/credential/issuance/api/mrtd-pop/index.d.ts +74 -0
  793. package/lib/typescript/commonjs/credential/issuance/api/mrtd-pop/index.d.ts.map +1 -0
  794. package/lib/typescript/commonjs/credential/issuance/api/mrtd-pop/types.d.ts.map +1 -0
  795. package/lib/typescript/commonjs/credential/issuance/api/types.d.ts.map +1 -0
  796. package/lib/typescript/commonjs/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -0
  797. package/lib/typescript/commonjs/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +1 -0
  798. package/lib/typescript/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +1 -0
  799. package/lib/typescript/commonjs/credential/issuance/common/errors.d.ts.map +1 -0
  800. package/lib/typescript/commonjs/credential/issuance/index.d.ts.map +1 -0
  801. package/lib/typescript/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +1 -0
  802. package/lib/typescript/commonjs/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +1 -0
  803. package/lib/typescript/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +1 -0
  804. package/lib/typescript/commonjs/credential/issuance/mrtd-pop/index.d.ts.map +1 -0
  805. package/lib/typescript/commonjs/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +1 -0
  806. package/lib/typescript/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +1 -0
  807. package/lib/typescript/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -0
  808. package/lib/typescript/commonjs/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +1 -0
  809. package/lib/typescript/commonjs/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -0
  810. package/lib/typescript/commonjs/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +1 -0
  811. package/lib/typescript/commonjs/credential/issuance/v1.0.0/index.d.ts.map +1 -0
  812. package/lib/typescript/commonjs/credential/issuance/v1.0.0/mappers.d.ts.map +1 -0
  813. package/lib/typescript/commonjs/credential/issuance/v1.0.0/types.d.ts.map +1 -0
  814. package/lib/typescript/commonjs/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts.map +1 -0
  815. package/lib/typescript/commonjs/credential/issuance/v1.4.6/02-start-user-authorization.d.ts.map +1 -0
  816. package/lib/typescript/commonjs/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts.map +1 -0
  817. package/lib/typescript/commonjs/credential/issuance/v1.4.6/04-authorize-access.d.ts.map +1 -0
  818. package/lib/typescript/commonjs/credential/issuance/v1.4.6/05-obtain-credential.d.ts +26 -0
  819. package/lib/typescript/commonjs/credential/issuance/v1.4.6/05-obtain-credential.d.ts.map +1 -0
  820. package/lib/typescript/commonjs/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts.map +1 -0
  821. package/lib/typescript/commonjs/credential/issuance/v1.4.6/index.d.ts.map +1 -0
  822. package/lib/typescript/commonjs/credential/issuance/v1.4.6/mappers.d.ts.map +1 -0
  823. package/lib/typescript/commonjs/credential/issuance/v1.4.6/types.d.ts.map +1 -0
  824. package/lib/typescript/commonjs/credential/offer/api/01-resolve-credential-offer.d.ts +22 -0
  825. package/lib/typescript/commonjs/credential/offer/api/01-resolve-credential-offer.d.ts.map +1 -0
  826. package/lib/typescript/commonjs/credential/offer/api/02-extract-grant-details.d.ts.map +1 -0
  827. package/lib/typescript/commonjs/credential/offer/api/03-validate-credential-offer.d.ts.map +1 -0
  828. package/lib/typescript/commonjs/credential/offer/api/index.d.ts.map +1 -0
  829. package/lib/typescript/commonjs/credential/offer/api/types.d.ts.map +1 -0
  830. package/lib/typescript/commonjs/credential/offer/common/errors.d.ts.map +1 -0
  831. package/lib/typescript/commonjs/credential/offer/index.d.ts.map +1 -0
  832. package/lib/typescript/commonjs/credential/offer/v1.0.0/index.d.ts.map +1 -0
  833. package/lib/typescript/commonjs/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts.map +1 -0
  834. package/lib/typescript/commonjs/credential/offer/v1.4.6/02-extract-grant-details.d.ts.map +1 -0
  835. package/lib/typescript/commonjs/credential/offer/v1.4.6/03-validate-credential-offer.d.ts.map +1 -0
  836. package/lib/typescript/commonjs/credential/offer/v1.4.6/index.d.ts.map +1 -0
  837. package/lib/typescript/commonjs/credential/presentation/api/01-start-flow.d.ts.map +1 -0
  838. package/lib/typescript/commonjs/credential/presentation/api/02-evaluate-rp-trust.d.ts +18 -0
  839. package/lib/typescript/commonjs/credential/presentation/api/02-evaluate-rp-trust.d.ts.map +1 -0
  840. package/lib/typescript/commonjs/credential/presentation/api/03-get-request-object.d.ts +19 -0
  841. package/lib/typescript/commonjs/credential/presentation/api/03-get-request-object.d.ts.map +1 -0
  842. package/lib/typescript/commonjs/credential/presentation/api/04-verify-certificate-chain.d.ts.map +1 -0
  843. package/lib/typescript/commonjs/credential/presentation/api/05-verify-request-object.d.ts.map +1 -0
  844. package/lib/typescript/commonjs/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +1 -0
  845. package/lib/typescript/commonjs/credential/presentation/api/07-send-authorization-response.d.ts +54 -0
  846. package/lib/typescript/commonjs/credential/presentation/api/07-send-authorization-response.d.ts.map +1 -0
  847. package/lib/typescript/commonjs/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -0
  848. package/lib/typescript/commonjs/credential/presentation/api/index.d.ts.map +1 -0
  849. package/lib/typescript/commonjs/credential/presentation/api/types.d.ts.map +1 -0
  850. package/lib/typescript/commonjs/credential/presentation/common/errors.d.ts.map +1 -0
  851. package/lib/typescript/commonjs/credential/presentation/common/utils/dcql.d.ts +54 -0
  852. package/lib/typescript/commonjs/credential/presentation/common/utils/dcql.d.ts.map +1 -0
  853. package/lib/typescript/commonjs/credential/presentation/common/utils/http.d.ts.map +1 -0
  854. package/lib/typescript/commonjs/credential/presentation/common/utils/mdoc.d.ts.map +1 -0
  855. package/lib/typescript/commonjs/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -0
  856. package/lib/typescript/commonjs/credential/presentation/index.d.ts.map +1 -0
  857. package/lib/typescript/commonjs/credential/presentation/v1.0.0/01-start-flow.d.ts.map +1 -0
  858. package/lib/typescript/commonjs/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +1 -0
  859. package/lib/typescript/commonjs/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +1 -0
  860. package/lib/typescript/commonjs/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +1 -0
  861. package/lib/typescript/commonjs/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +1 -0
  862. package/lib/typescript/commonjs/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +1 -0
  863. package/lib/typescript/commonjs/credential/presentation/v1.0.0/index.d.ts.map +1 -0
  864. package/lib/typescript/commonjs/credential/presentation/v1.0.0/mappers.d.ts.map +1 -0
  865. package/lib/typescript/commonjs/credential/presentation/v1.0.0/types.d.ts.map +1 -0
  866. package/lib/typescript/commonjs/credential/presentation/v1.0.0/utils.d.ts.map +1 -0
  867. package/lib/typescript/commonjs/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -0
  868. package/lib/typescript/commonjs/credential/presentation/v1.4.6/01-start-flow.d.ts.map +1 -0
  869. package/lib/typescript/commonjs/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts.map +1 -0
  870. package/lib/typescript/commonjs/credential/presentation/v1.4.6/03-get-request-object.d.ts.map +1 -0
  871. package/lib/typescript/commonjs/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts.map +1 -0
  872. package/lib/typescript/commonjs/credential/presentation/v1.4.6/05-verify-request-object.d.ts.map +1 -0
  873. package/lib/typescript/commonjs/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts.map +1 -0
  874. package/lib/typescript/commonjs/credential/presentation/v1.4.6/07-send-authorization-response.d.ts.map +1 -0
  875. package/lib/typescript/commonjs/credential/presentation/v1.4.6/index.d.ts.map +1 -0
  876. package/lib/typescript/commonjs/credential/presentation/v1.4.6/mappers.d.ts.map +1 -0
  877. package/lib/typescript/commonjs/credential/presentation/v1.4.6/sdkErrorMapper.d.ts.map +1 -0
  878. package/lib/typescript/commonjs/credential/presentation/v1.4.6/types.d.ts.map +1 -0
  879. package/lib/typescript/commonjs/credential/status/api/index.d.ts.map +1 -0
  880. package/lib/typescript/commonjs/credential/status/api/status-assertion.d.ts +49 -0
  881. package/lib/typescript/commonjs/credential/status/api/status-assertion.d.ts.map +1 -0
  882. package/lib/typescript/commonjs/credential/status/api/status-list.d.ts +75 -0
  883. package/lib/typescript/commonjs/credential/status/api/status-list.d.ts.map +1 -0
  884. package/lib/typescript/commonjs/credential/status/api/types.d.ts.map +1 -0
  885. package/lib/typescript/commonjs/credential/status/index.d.ts.map +1 -0
  886. package/lib/typescript/commonjs/credential/status/v1.0.0/01-status-assertion.d.ts.map +1 -0
  887. package/lib/typescript/commonjs/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +1 -0
  888. package/lib/typescript/commonjs/credential/status/v1.0.0/index.d.ts.map +1 -0
  889. package/lib/typescript/commonjs/credential/status/v1.0.0/mappers.d.ts.map +1 -0
  890. package/lib/typescript/commonjs/credential/status/v1.0.0/types.d.ts.map +1 -0
  891. package/lib/typescript/commonjs/credential/status/v1.4.6/01-status-list.d.ts.map +1 -0
  892. package/lib/typescript/commonjs/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts.map +1 -0
  893. package/lib/typescript/commonjs/credential/status/v1.4.6/03-get-status.d.ts.map +1 -0
  894. package/lib/typescript/commonjs/credential/status/v1.4.6/index.d.ts.map +1 -0
  895. package/lib/typescript/commonjs/credential/trustmark/api/index.d.ts.map +1 -0
  896. package/lib/typescript/commonjs/credential/trustmark/index.d.ts.map +1 -0
  897. package/lib/typescript/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +1 -0
  898. package/lib/typescript/commonjs/credential/trustmark/v1.0.0/index.d.ts.map +1 -0
  899. package/lib/typescript/commonjs/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts.map +1 -0
  900. package/lib/typescript/commonjs/credential/trustmark/v1.4.6/index.d.ts.map +1 -0
  901. package/lib/typescript/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +322 -0
  902. package/lib/typescript/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -0
  903. package/lib/typescript/commonjs/credentials-catalogue/api/index.d.ts +51 -0
  904. package/lib/typescript/commonjs/credentials-catalogue/api/index.d.ts.map +1 -0
  905. package/lib/typescript/commonjs/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +1 -0
  906. package/lib/typescript/commonjs/credentials-catalogue/index.d.ts.map +1 -0
  907. package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +1 -0
  908. package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/index.d.ts.map +1 -0
  909. package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/mappers.d.ts +126 -0
  910. package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -0
  911. package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/types.d.ts.map +1 -0
  912. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts.map +1 -0
  913. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/fetch-translations.d.ts.map +1 -0
  914. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/index.d.ts.map +1 -0
  915. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/mappers.d.ts +327 -0
  916. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/mappers.d.ts.map +1 -0
  917. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/types.d.ts.map +1 -0
  918. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/utils.d.ts +37 -0
  919. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/utils.d.ts.map +1 -0
  920. package/lib/typescript/commonjs/index.d.ts.map +1 -0
  921. package/lib/typescript/commonjs/key-attestation/api/index.d.ts +39 -0
  922. package/lib/typescript/commonjs/key-attestation/api/index.d.ts.map +1 -0
  923. package/lib/typescript/commonjs/key-attestation/api/types.d.ts.map +1 -0
  924. package/lib/typescript/commonjs/key-attestation/index.d.ts.map +1 -0
  925. package/lib/typescript/commonjs/key-attestation/v1.0.0/index.d.ts.map +1 -0
  926. package/lib/typescript/commonjs/key-attestation/v1.4.6/index.d.ts.map +1 -0
  927. package/lib/typescript/commonjs/key-attestation/v1.4.6/issuing.d.ts.map +1 -0
  928. package/lib/typescript/commonjs/key-attestation/v1.4.6/mappers.d.ts.map +1 -0
  929. package/lib/typescript/commonjs/key-attestation/v1.4.6/types.d.ts.map +1 -0
  930. package/lib/typescript/commonjs/key-attestation/v1.4.6/utils.d.ts.map +1 -0
  931. package/lib/typescript/commonjs/mdoc/const.d.ts.map +1 -0
  932. package/lib/typescript/commonjs/mdoc/converter.d.ts.map +1 -0
  933. package/lib/typescript/commonjs/mdoc/index.d.ts.map +1 -0
  934. package/lib/typescript/commonjs/mdoc/utils.d.ts.map +1 -0
  935. package/lib/typescript/commonjs/package.json +1 -0
  936. package/lib/typescript/commonjs/sd-jwt/index.d.ts.map +1 -0
  937. package/lib/typescript/commonjs/sd-jwt/types.d.ts.map +1 -0
  938. package/lib/typescript/commonjs/sd-jwt/utils.d.ts +19 -0
  939. package/lib/typescript/commonjs/sd-jwt/utils.d.ts.map +1 -0
  940. package/lib/typescript/commonjs/trust/api/TrustAnchorConfig.d.ts.map +1 -0
  941. package/lib/typescript/commonjs/trust/api/index.d.ts +43 -0
  942. package/lib/typescript/commonjs/trust/api/index.d.ts.map +1 -0
  943. package/lib/typescript/commonjs/trust/common/build-chain.d.ts +21 -0
  944. package/lib/typescript/commonjs/trust/common/build-chain.d.ts.map +1 -0
  945. package/lib/typescript/commonjs/trust/common/errors.d.ts.map +1 -0
  946. package/lib/typescript/commonjs/trust/common/types.d.ts.map +1 -0
  947. package/lib/typescript/commonjs/trust/common/utils.d.ts +53 -0
  948. package/lib/typescript/commonjs/trust/common/utils.d.ts.map +1 -0
  949. package/lib/typescript/commonjs/trust/common/verify-chain.d.ts.map +1 -0
  950. package/lib/typescript/commonjs/trust/index.d.ts.map +1 -0
  951. package/lib/typescript/commonjs/trust/v1.0.0/build-chain.d.ts +2 -0
  952. package/lib/typescript/commonjs/trust/v1.0.0/build-chain.d.ts.map +1 -0
  953. package/lib/typescript/commonjs/trust/v1.0.0/entities.d.ts.map +1 -0
  954. package/lib/typescript/commonjs/trust/v1.0.0/index.d.ts.map +1 -0
  955. package/lib/typescript/commonjs/trust/v1.0.0/mappers.d.ts.map +1 -0
  956. package/lib/typescript/commonjs/trust/v1.0.0/types.d.ts.map +1 -0
  957. package/lib/typescript/commonjs/trust/v1.0.0/verify-chain.d.ts +5 -0
  958. package/lib/typescript/commonjs/trust/v1.0.0/verify-chain.d.ts.map +1 -0
  959. package/lib/typescript/commonjs/trust/v1.4.6/entities.d.ts.map +1 -0
  960. package/lib/typescript/commonjs/trust/v1.4.6/types.d.ts.map +1 -0
  961. package/lib/typescript/commonjs/utils/auth.d.ts.map +1 -0
  962. package/lib/typescript/commonjs/utils/callbacks.d.ts.map +1 -0
  963. package/lib/typescript/commonjs/utils/config.d.ts.map +1 -0
  964. package/lib/typescript/commonjs/utils/credentials.d.ts.map +1 -0
  965. package/lib/typescript/commonjs/utils/crypto.d.ts.map +1 -0
  966. package/lib/typescript/commonjs/utils/decoder.d.ts.map +1 -0
  967. package/lib/typescript/commonjs/utils/dpop.d.ts.map +1 -0
  968. package/lib/typescript/commonjs/utils/error-codes.d.ts.map +1 -0
  969. package/lib/typescript/commonjs/utils/errors.d.ts.map +1 -0
  970. package/lib/typescript/commonjs/utils/integrity.d.ts.map +1 -0
  971. package/lib/typescript/commonjs/utils/jwk.d.ts.map +1 -0
  972. package/lib/typescript/commonjs/utils/logging.d.ts.map +1 -0
  973. package/lib/typescript/commonjs/utils/mappers.d.ts.map +1 -0
  974. package/lib/typescript/commonjs/utils/misc.d.ts.map +1 -0
  975. package/lib/typescript/commonjs/utils/object.d.ts.map +1 -0
  976. package/lib/typescript/commonjs/utils/par.d.ts +50 -0
  977. package/lib/typescript/commonjs/utils/par.d.ts.map +1 -0
  978. package/lib/typescript/commonjs/utils/parser.d.ts.map +1 -0
  979. package/lib/typescript/commonjs/utils/pop.d.ts.map +1 -0
  980. package/lib/typescript/commonjs/utils/string.d.ts.map +1 -0
  981. package/lib/typescript/commonjs/utils/x509.d.ts.map +1 -0
  982. package/lib/typescript/commonjs/utils/zod.d.ts.map +1 -0
  983. package/lib/typescript/commonjs/wallet-instance/api/index.d.ts +45 -0
  984. package/lib/typescript/commonjs/wallet-instance/api/index.d.ts.map +1 -0
  985. package/lib/typescript/commonjs/wallet-instance/common/wallet-instance.d.ts.map +1 -0
  986. package/lib/typescript/commonjs/wallet-instance/index.d.ts.map +1 -0
  987. package/lib/typescript/commonjs/wallet-instance/v1.0.0/index.d.ts.map +1 -0
  988. package/lib/typescript/commonjs/wallet-instance/v1.4.6/index.d.ts.map +1 -0
  989. package/lib/typescript/commonjs/wallet-instance-attestation/api/index.d.ts +47 -0
  990. package/lib/typescript/commonjs/wallet-instance-attestation/api/index.d.ts.map +1 -0
  991. package/lib/typescript/commonjs/wallet-instance-attestation/api/types.d.ts.map +1 -0
  992. package/lib/typescript/commonjs/wallet-instance-attestation/common/types.d.ts.map +1 -0
  993. package/lib/typescript/commonjs/wallet-instance-attestation/index.d.ts.map +1 -0
  994. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/index.d.ts.map +1 -0
  995. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -0
  996. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +1 -0
  997. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -0
  998. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/utils.d.ts.map +1 -0
  999. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/index.d.ts.map +1 -0
  1000. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +1 -0
  1001. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/mappers.d.ts.map +1 -0
  1002. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/types.d.ts.map +1 -0
  1003. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/utils.d.ts.map +1 -0
  1004. package/lib/typescript/module/IoWallet.d.ts +28 -0
  1005. package/lib/typescript/module/IoWallet.d.ts.map +1 -0
  1006. package/lib/typescript/module/api/index.d.ts +31 -0
  1007. package/lib/typescript/module/api/index.d.ts.map +1 -0
  1008. package/lib/typescript/module/client/generated/wallet-provider.d.ts +401 -0
  1009. package/lib/typescript/module/client/generated/wallet-provider.d.ts.map +1 -0
  1010. package/lib/typescript/module/client/index.d.ts +13 -0
  1011. package/lib/typescript/module/client/index.d.ts.map +1 -0
  1012. package/lib/typescript/module/credential/index.d.ts +3 -0
  1013. package/lib/typescript/module/credential/index.d.ts.map +1 -0
  1014. package/lib/typescript/module/credential/issuance/api/01-evaluate-issuer-trust.d.ts +22 -0
  1015. package/lib/typescript/module/credential/issuance/api/01-evaluate-issuer-trust.d.ts.map +1 -0
  1016. package/lib/typescript/module/credential/issuance/api/02-start-user-authorization.d.ts +53 -0
  1017. package/lib/typescript/module/credential/issuance/api/02-start-user-authorization.d.ts.map +1 -0
  1018. package/lib/typescript/module/credential/issuance/api/03-complete-user-authorization.d.ts +97 -0
  1019. package/lib/typescript/module/credential/issuance/api/03-complete-user-authorization.d.ts.map +1 -0
  1020. package/lib/typescript/module/credential/issuance/api/04-authorize-access.d.ts +33 -0
  1021. package/lib/typescript/module/credential/issuance/api/04-authorize-access.d.ts.map +1 -0
  1022. package/lib/typescript/module/credential/issuance/api/05-obtain-credential.d.ts +58 -0
  1023. package/lib/typescript/module/credential/issuance/api/05-obtain-credential.d.ts.map +1 -0
  1024. package/lib/typescript/module/credential/issuance/api/06-verify-and-parse-credential.d.ts +40 -0
  1025. package/lib/typescript/module/credential/issuance/api/06-verify-and-parse-credential.d.ts.map +1 -0
  1026. package/lib/typescript/module/credential/issuance/api/IssuerConfig.d.ts +90 -0
  1027. package/lib/typescript/module/credential/issuance/api/IssuerConfig.d.ts.map +1 -0
  1028. package/lib/typescript/module/credential/issuance/api/index.d.ts +15 -0
  1029. package/lib/typescript/module/credential/issuance/api/index.d.ts.map +1 -0
  1030. package/lib/typescript/module/credential/issuance/api/mrtd-pop/index.d.ts +74 -0
  1031. package/lib/typescript/module/credential/issuance/api/mrtd-pop/index.d.ts.map +1 -0
  1032. package/lib/typescript/module/credential/issuance/api/mrtd-pop/types.d.ts +34 -0
  1033. package/lib/typescript/module/credential/issuance/api/mrtd-pop/types.d.ts.map +1 -0
  1034. package/lib/typescript/module/credential/issuance/api/types.d.ts +25 -0
  1035. package/lib/typescript/module/credential/issuance/api/types.d.ts.map +1 -0
  1036. package/lib/typescript/module/credential/issuance/common/02-start-user-authorization.d.ts +21 -0
  1037. package/lib/typescript/module/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -0
  1038. package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts +3 -0
  1039. package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +1 -0
  1040. package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts +3 -0
  1041. package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +1 -0
  1042. package/lib/typescript/module/credential/issuance/common/errors.d.ts +18 -0
  1043. package/lib/typescript/module/credential/issuance/common/errors.d.ts.map +1 -0
  1044. package/lib/typescript/module/credential/issuance/index.d.ts +6 -0
  1045. package/lib/typescript/module/credential/issuance/index.d.ts.map +1 -0
  1046. package/lib/typescript/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts +3 -0
  1047. package/lib/typescript/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +1 -0
  1048. package/lib/typescript/module/credential/issuance/mrtd-pop/02-init-challenge.d.ts +14 -0
  1049. package/lib/typescript/module/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +1 -0
  1050. package/lib/typescript/module/credential/issuance/mrtd-pop/03-validate-challenge.d.ts +15 -0
  1051. package/lib/typescript/module/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +1 -0
  1052. package/lib/typescript/module/credential/issuance/mrtd-pop/index.d.ts +4 -0
  1053. package/lib/typescript/module/credential/issuance/mrtd-pop/index.d.ts.map +1 -0
  1054. package/lib/typescript/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts +3 -0
  1055. package/lib/typescript/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +1 -0
  1056. package/lib/typescript/module/credential/issuance/v1.0.0/02-start-user-authorization.d.ts +3 -0
  1057. package/lib/typescript/module/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +1 -0
  1058. package/lib/typescript/module/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts +17 -0
  1059. package/lib/typescript/module/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -0
  1060. package/lib/typescript/module/credential/issuance/v1.0.0/04-authorize-access.d.ts +3 -0
  1061. package/lib/typescript/module/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +1 -0
  1062. package/lib/typescript/module/credential/issuance/v1.0.0/05-obtain-credential.d.ts +6 -0
  1063. package/lib/typescript/module/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -0
  1064. package/lib/typescript/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts +3 -0
  1065. package/lib/typescript/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +1 -0
  1066. package/lib/typescript/module/credential/issuance/v1.0.0/index.d.ts +3 -0
  1067. package/lib/typescript/module/credential/issuance/v1.0.0/index.d.ts.map +1 -0
  1068. package/lib/typescript/module/credential/issuance/v1.0.0/mappers.d.ts +307 -0
  1069. package/lib/typescript/module/credential/issuance/v1.0.0/mappers.d.ts.map +1 -0
  1070. package/lib/typescript/module/credential/issuance/v1.0.0/types.d.ts +21 -0
  1071. package/lib/typescript/module/credential/issuance/v1.0.0/types.d.ts.map +1 -0
  1072. package/lib/typescript/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts +3 -0
  1073. package/lib/typescript/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts.map +1 -0
  1074. package/lib/typescript/module/credential/issuance/v1.4.6/02-start-user-authorization.d.ts +3 -0
  1075. package/lib/typescript/module/credential/issuance/v1.4.6/02-start-user-authorization.d.ts.map +1 -0
  1076. package/lib/typescript/module/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts +17 -0
  1077. package/lib/typescript/module/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts.map +1 -0
  1078. package/lib/typescript/module/credential/issuance/v1.4.6/04-authorize-access.d.ts +3 -0
  1079. package/lib/typescript/module/credential/issuance/v1.4.6/04-authorize-access.d.ts.map +1 -0
  1080. package/lib/typescript/module/credential/issuance/v1.4.6/05-obtain-credential.d.ts +26 -0
  1081. package/lib/typescript/module/credential/issuance/v1.4.6/05-obtain-credential.d.ts.map +1 -0
  1082. package/lib/typescript/module/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts +3 -0
  1083. package/lib/typescript/module/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts.map +1 -0
  1084. package/lib/typescript/module/credential/issuance/v1.4.6/index.d.ts +3 -0
  1085. package/lib/typescript/module/credential/issuance/v1.4.6/index.d.ts.map +1 -0
  1086. package/lib/typescript/module/credential/issuance/v1.4.6/mappers.d.ts +1824 -0
  1087. package/lib/typescript/module/credential/issuance/v1.4.6/mappers.d.ts.map +1 -0
  1088. package/lib/typescript/module/credential/issuance/v1.4.6/types.d.ts +6 -0
  1089. package/lib/typescript/module/credential/issuance/v1.4.6/types.d.ts.map +1 -0
  1090. package/lib/typescript/module/credential/offer/api/01-resolve-credential-offer.d.ts +22 -0
  1091. package/lib/typescript/module/credential/offer/api/01-resolve-credential-offer.d.ts.map +1 -0
  1092. package/lib/typescript/module/credential/offer/api/02-extract-grant-details.d.ts +13 -0
  1093. package/lib/typescript/module/credential/offer/api/02-extract-grant-details.d.ts.map +1 -0
  1094. package/lib/typescript/module/credential/offer/api/03-validate-credential-offer.d.ts +19 -0
  1095. package/lib/typescript/module/credential/offer/api/03-validate-credential-offer.d.ts.map +1 -0
  1096. package/lib/typescript/module/credential/offer/api/index.d.ts +7 -0
  1097. package/lib/typescript/module/credential/offer/api/index.d.ts.map +1 -0
  1098. package/lib/typescript/module/credential/offer/api/types.d.ts +5 -0
  1099. package/lib/typescript/module/credential/offer/api/types.d.ts.map +1 -0
  1100. package/lib/typescript/module/credential/offer/common/errors.d.ts +8 -0
  1101. package/lib/typescript/module/credential/offer/common/errors.d.ts.map +1 -0
  1102. package/lib/typescript/module/credential/offer/index.d.ts +6 -0
  1103. package/lib/typescript/module/credential/offer/index.d.ts.map +1 -0
  1104. package/lib/typescript/module/credential/offer/v1.0.0/index.d.ts +3 -0
  1105. package/lib/typescript/module/credential/offer/v1.0.0/index.d.ts.map +1 -0
  1106. package/lib/typescript/module/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts +19 -0
  1107. package/lib/typescript/module/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts.map +1 -0
  1108. package/lib/typescript/module/credential/offer/v1.4.6/02-extract-grant-details.d.ts +16 -0
  1109. package/lib/typescript/module/credential/offer/v1.4.6/02-extract-grant-details.d.ts.map +1 -0
  1110. package/lib/typescript/module/credential/offer/v1.4.6/03-validate-credential-offer.d.ts +15 -0
  1111. package/lib/typescript/module/credential/offer/v1.4.6/03-validate-credential-offer.d.ts.map +1 -0
  1112. package/lib/typescript/module/credential/offer/v1.4.6/index.d.ts +3 -0
  1113. package/lib/typescript/module/credential/offer/v1.4.6/index.d.ts.map +1 -0
  1114. package/lib/typescript/module/credential/presentation/api/01-start-flow.d.ts +18 -0
  1115. package/lib/typescript/module/credential/presentation/api/01-start-flow.d.ts.map +1 -0
  1116. package/lib/typescript/module/credential/presentation/api/02-evaluate-rp-trust.d.ts +18 -0
  1117. package/lib/typescript/module/credential/presentation/api/02-evaluate-rp-trust.d.ts.map +1 -0
  1118. package/lib/typescript/module/credential/presentation/api/03-get-request-object.d.ts +19 -0
  1119. package/lib/typescript/module/credential/presentation/api/03-get-request-object.d.ts.map +1 -0
  1120. package/lib/typescript/module/credential/presentation/api/04-verify-certificate-chain.d.ts +24 -0
  1121. package/lib/typescript/module/credential/presentation/api/04-verify-certificate-chain.d.ts.map +1 -0
  1122. package/lib/typescript/module/credential/presentation/api/05-verify-request-object.d.ts +23 -0
  1123. package/lib/typescript/module/credential/presentation/api/05-verify-request-object.d.ts.map +1 -0
  1124. package/lib/typescript/module/credential/presentation/api/06-evaluate-dcql-query.d.ts +40 -0
  1125. package/lib/typescript/module/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +1 -0
  1126. package/lib/typescript/module/credential/presentation/api/07-send-authorization-response.d.ts +54 -0
  1127. package/lib/typescript/module/credential/presentation/api/07-send-authorization-response.d.ts.map +1 -0
  1128. package/lib/typescript/module/credential/presentation/api/RelyingPartyConfig.d.ts +40 -0
  1129. package/lib/typescript/module/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -0
  1130. package/lib/typescript/module/credential/presentation/api/index.d.ts +13 -0
  1131. package/lib/typescript/module/credential/presentation/api/index.d.ts.map +1 -0
  1132. package/lib/typescript/module/credential/presentation/api/types.d.ts +147 -0
  1133. package/lib/typescript/module/credential/presentation/api/types.d.ts.map +1 -0
  1134. package/lib/typescript/module/credential/presentation/common/errors.d.ts +80 -0
  1135. package/lib/typescript/module/credential/presentation/common/errors.d.ts.map +1 -0
  1136. package/lib/typescript/module/credential/presentation/common/utils/dcql.d.ts +54 -0
  1137. package/lib/typescript/module/credential/presentation/common/utils/dcql.d.ts.map +1 -0
  1138. package/lib/typescript/module/credential/presentation/common/utils/http.d.ts +11 -0
  1139. package/lib/typescript/module/credential/presentation/common/utils/http.d.ts.map +1 -0
  1140. package/lib/typescript/module/credential/presentation/common/utils/mdoc.d.ts +28 -0
  1141. package/lib/typescript/module/credential/presentation/common/utils/mdoc.d.ts.map +1 -0
  1142. package/lib/typescript/module/credential/presentation/common/utils/sd-jwt.d.ts +14 -0
  1143. package/lib/typescript/module/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -0
  1144. package/lib/typescript/module/credential/presentation/index.d.ts +6 -0
  1145. package/lib/typescript/module/credential/presentation/index.d.ts.map +1 -0
  1146. package/lib/typescript/module/credential/presentation/v1.0.0/01-start-flow.d.ts +3 -0
  1147. package/lib/typescript/module/credential/presentation/v1.0.0/01-start-flow.d.ts.map +1 -0
  1148. package/lib/typescript/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts +3 -0
  1149. package/lib/typescript/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +1 -0
  1150. package/lib/typescript/module/credential/presentation/v1.0.0/03-get-request-object.d.ts +3 -0
  1151. package/lib/typescript/module/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +1 -0
  1152. package/lib/typescript/module/credential/presentation/v1.0.0/05-verify-request-object.d.ts +3 -0
  1153. package/lib/typescript/module/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +1 -0
  1154. package/lib/typescript/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts +3 -0
  1155. package/lib/typescript/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +1 -0
  1156. package/lib/typescript/module/credential/presentation/v1.0.0/07-send-authorization-response.d.ts +26 -0
  1157. package/lib/typescript/module/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +1 -0
  1158. package/lib/typescript/module/credential/presentation/v1.0.0/index.d.ts +3 -0
  1159. package/lib/typescript/module/credential/presentation/v1.0.0/index.d.ts.map +1 -0
  1160. package/lib/typescript/module/credential/presentation/v1.0.0/mappers.d.ts +149 -0
  1161. package/lib/typescript/module/credential/presentation/v1.0.0/mappers.d.ts.map +1 -0
  1162. package/lib/typescript/module/credential/presentation/v1.0.0/types.d.ts +49 -0
  1163. package/lib/typescript/module/credential/presentation/v1.0.0/types.d.ts.map +1 -0
  1164. package/lib/typescript/module/credential/presentation/v1.0.0/utils.d.ts +11 -0
  1165. package/lib/typescript/module/credential/presentation/v1.0.0/utils.d.ts.map +1 -0
  1166. package/lib/typescript/module/credential/presentation/v1.0.0/utils.jwks.d.ts +11 -0
  1167. package/lib/typescript/module/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -0
  1168. package/lib/typescript/module/credential/presentation/v1.4.6/01-start-flow.d.ts +3 -0
  1169. package/lib/typescript/module/credential/presentation/v1.4.6/01-start-flow.d.ts.map +1 -0
  1170. package/lib/typescript/module/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts +3 -0
  1171. package/lib/typescript/module/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts.map +1 -0
  1172. package/lib/typescript/module/credential/presentation/v1.4.6/03-get-request-object.d.ts +3 -0
  1173. package/lib/typescript/module/credential/presentation/v1.4.6/03-get-request-object.d.ts.map +1 -0
  1174. package/lib/typescript/module/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts +3 -0
  1175. package/lib/typescript/module/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts.map +1 -0
  1176. package/lib/typescript/module/credential/presentation/v1.4.6/05-verify-request-object.d.ts +3 -0
  1177. package/lib/typescript/module/credential/presentation/v1.4.6/05-verify-request-object.d.ts.map +1 -0
  1178. package/lib/typescript/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts +3 -0
  1179. package/lib/typescript/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts.map +1 -0
  1180. package/lib/typescript/module/credential/presentation/v1.4.6/07-send-authorization-response.d.ts +18 -0
  1181. package/lib/typescript/module/credential/presentation/v1.4.6/07-send-authorization-response.d.ts.map +1 -0
  1182. package/lib/typescript/module/credential/presentation/v1.4.6/index.d.ts +3 -0
  1183. package/lib/typescript/module/credential/presentation/v1.4.6/index.d.ts.map +1 -0
  1184. package/lib/typescript/module/credential/presentation/v1.4.6/mappers.d.ts +239 -0
  1185. package/lib/typescript/module/credential/presentation/v1.4.6/mappers.d.ts.map +1 -0
  1186. package/lib/typescript/module/credential/presentation/v1.4.6/sdkErrorMapper.d.ts +13 -0
  1187. package/lib/typescript/module/credential/presentation/v1.4.6/sdkErrorMapper.d.ts.map +1 -0
  1188. package/lib/typescript/module/credential/presentation/v1.4.6/types.d.ts +106 -0
  1189. package/lib/typescript/module/credential/presentation/v1.4.6/types.d.ts.map +1 -0
  1190. package/lib/typescript/module/credential/status/api/index.d.ts +23 -0
  1191. package/lib/typescript/module/credential/status/api/index.d.ts.map +1 -0
  1192. package/lib/typescript/module/credential/status/api/status-assertion.d.ts +49 -0
  1193. package/lib/typescript/module/credential/status/api/status-assertion.d.ts.map +1 -0
  1194. package/lib/typescript/module/credential/status/api/status-list.d.ts +75 -0
  1195. package/lib/typescript/module/credential/status/api/status-list.d.ts.map +1 -0
  1196. package/lib/typescript/module/credential/status/api/types.d.ts +36 -0
  1197. package/lib/typescript/module/credential/status/api/types.d.ts.map +1 -0
  1198. package/lib/typescript/module/credential/status/index.d.ts +4 -0
  1199. package/lib/typescript/module/credential/status/index.d.ts.map +1 -0
  1200. package/lib/typescript/module/credential/status/v1.0.0/01-status-assertion.d.ts +3 -0
  1201. package/lib/typescript/module/credential/status/v1.0.0/01-status-assertion.d.ts.map +1 -0
  1202. package/lib/typescript/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts +3 -0
  1203. package/lib/typescript/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +1 -0
  1204. package/lib/typescript/module/credential/status/v1.0.0/index.d.ts +3 -0
  1205. package/lib/typescript/module/credential/status/v1.0.0/index.d.ts.map +1 -0
  1206. package/lib/typescript/module/credential/status/v1.0.0/mappers.d.ts +47 -0
  1207. package/lib/typescript/module/credential/status/v1.0.0/mappers.d.ts.map +1 -0
  1208. package/lib/typescript/module/credential/status/v1.0.0/types.d.ts +156 -0
  1209. package/lib/typescript/module/credential/status/v1.0.0/types.d.ts.map +1 -0
  1210. package/lib/typescript/module/credential/status/v1.4.6/01-status-list.d.ts +5 -0
  1211. package/lib/typescript/module/credential/status/v1.4.6/01-status-list.d.ts.map +1 -0
  1212. package/lib/typescript/module/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts +3 -0
  1213. package/lib/typescript/module/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts.map +1 -0
  1214. package/lib/typescript/module/credential/status/v1.4.6/03-get-status.d.ts +3 -0
  1215. package/lib/typescript/module/credential/status/v1.4.6/03-get-status.d.ts.map +1 -0
  1216. package/lib/typescript/module/credential/status/v1.4.6/index.d.ts +3 -0
  1217. package/lib/typescript/module/credential/status/v1.4.6/index.d.ts.map +1 -0
  1218. package/lib/typescript/module/credential/trustmark/api/index.d.ts +49 -0
  1219. package/lib/typescript/module/credential/trustmark/api/index.d.ts.map +1 -0
  1220. package/lib/typescript/module/credential/trustmark/index.d.ts +4 -0
  1221. package/lib/typescript/module/credential/trustmark/index.d.ts.map +1 -0
  1222. package/lib/typescript/module/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts +3 -0
  1223. package/lib/typescript/module/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +1 -0
  1224. package/lib/typescript/module/credential/trustmark/v1.0.0/index.d.ts +3 -0
  1225. package/lib/typescript/module/credential/trustmark/v1.0.0/index.d.ts.map +1 -0
  1226. package/lib/typescript/module/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts +3 -0
  1227. package/lib/typescript/module/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts.map +1 -0
  1228. package/lib/typescript/module/credential/trustmark/v1.4.6/index.d.ts +3 -0
  1229. package/lib/typescript/module/credential/trustmark/v1.4.6/index.d.ts.map +1 -0
  1230. package/lib/typescript/module/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +322 -0
  1231. package/lib/typescript/module/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -0
  1232. package/lib/typescript/module/credentials-catalogue/api/index.d.ts +51 -0
  1233. package/lib/typescript/module/credentials-catalogue/api/index.d.ts.map +1 -0
  1234. package/lib/typescript/module/credentials-catalogue/common/get-status-l10n-ids.d.ts +9 -0
  1235. package/lib/typescript/module/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +1 -0
  1236. package/lib/typescript/module/credentials-catalogue/index.d.ts +4 -0
  1237. package/lib/typescript/module/credentials-catalogue/index.d.ts.map +1 -0
  1238. package/lib/typescript/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts +3 -0
  1239. package/lib/typescript/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +1 -0
  1240. package/lib/typescript/module/credentials-catalogue/v1.0.0/index.d.ts +3 -0
  1241. package/lib/typescript/module/credentials-catalogue/v1.0.0/index.d.ts.map +1 -0
  1242. package/lib/typescript/module/credentials-catalogue/v1.0.0/mappers.d.ts +126 -0
  1243. package/lib/typescript/module/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -0
  1244. package/lib/typescript/module/credentials-catalogue/v1.0.0/types.d.ts +148 -0
  1245. package/lib/typescript/module/credentials-catalogue/v1.0.0/types.d.ts.map +1 -0
  1246. package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts +3 -0
  1247. package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts.map +1 -0
  1248. package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-translations.d.ts +3 -0
  1249. package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-translations.d.ts.map +1 -0
  1250. package/lib/typescript/module/credentials-catalogue/v1.4.6/index.d.ts +3 -0
  1251. package/lib/typescript/module/credentials-catalogue/v1.4.6/index.d.ts.map +1 -0
  1252. package/lib/typescript/module/credentials-catalogue/v1.4.6/mappers.d.ts +327 -0
  1253. package/lib/typescript/module/credentials-catalogue/v1.4.6/mappers.d.ts.map +1 -0
  1254. package/lib/typescript/module/credentials-catalogue/v1.4.6/types.d.ts +354 -0
  1255. package/lib/typescript/module/credentials-catalogue/v1.4.6/types.d.ts.map +1 -0
  1256. package/lib/typescript/module/credentials-catalogue/v1.4.6/utils.d.ts +37 -0
  1257. package/lib/typescript/module/credentials-catalogue/v1.4.6/utils.d.ts.map +1 -0
  1258. package/lib/typescript/module/index.d.ts +25 -0
  1259. package/lib/typescript/module/index.d.ts.map +1 -0
  1260. package/lib/typescript/module/key-attestation/api/index.d.ts +39 -0
  1261. package/lib/typescript/module/key-attestation/api/index.d.ts.map +1 -0
  1262. package/lib/typescript/module/key-attestation/api/types.d.ts +56 -0
  1263. package/lib/typescript/module/key-attestation/api/types.d.ts.map +1 -0
  1264. package/lib/typescript/module/key-attestation/index.d.ts +4 -0
  1265. package/lib/typescript/module/key-attestation/index.d.ts.map +1 -0
  1266. package/lib/typescript/module/key-attestation/v1.0.0/index.d.ts +3 -0
  1267. package/lib/typescript/module/key-attestation/v1.0.0/index.d.ts.map +1 -0
  1268. package/lib/typescript/module/key-attestation/v1.4.6/index.d.ts +3 -0
  1269. package/lib/typescript/module/key-attestation/v1.4.6/index.d.ts.map +1 -0
  1270. package/lib/typescript/module/key-attestation/v1.4.6/issuing.d.ts +3 -0
  1271. package/lib/typescript/module/key-attestation/v1.4.6/issuing.d.ts.map +1 -0
  1272. package/lib/typescript/module/key-attestation/v1.4.6/mappers.d.ts +85 -0
  1273. package/lib/typescript/module/key-attestation/v1.4.6/mappers.d.ts.map +1 -0
  1274. package/lib/typescript/module/key-attestation/v1.4.6/types.d.ts +58 -0
  1275. package/lib/typescript/module/key-attestation/v1.4.6/types.d.ts.map +1 -0
  1276. package/lib/typescript/module/key-attestation/v1.4.6/utils.d.ts +7 -0
  1277. package/lib/typescript/module/key-attestation/v1.4.6/utils.d.ts.map +1 -0
  1278. package/lib/typescript/module/mdoc/const.d.ts +3 -0
  1279. package/lib/typescript/module/mdoc/const.d.ts.map +1 -0
  1280. package/lib/typescript/module/mdoc/converter.d.ts +8 -0
  1281. package/lib/typescript/module/mdoc/converter.d.ts.map +1 -0
  1282. package/lib/typescript/module/mdoc/index.d.ts +10 -0
  1283. package/lib/typescript/module/mdoc/index.d.ts.map +1 -0
  1284. package/lib/typescript/module/mdoc/utils.d.ts +33 -0
  1285. package/lib/typescript/module/mdoc/utils.d.ts.map +1 -0
  1286. package/lib/typescript/module/package.json +1 -0
  1287. package/lib/typescript/module/sd-jwt/index.d.ts +92 -0
  1288. package/lib/typescript/module/sd-jwt/index.d.ts.map +1 -0
  1289. package/lib/typescript/module/sd-jwt/types.d.ts +104 -0
  1290. package/lib/typescript/module/sd-jwt/types.d.ts.map +1 -0
  1291. package/lib/typescript/module/sd-jwt/utils.d.ts +19 -0
  1292. package/lib/typescript/module/sd-jwt/utils.d.ts.map +1 -0
  1293. package/lib/typescript/module/trust/api/TrustAnchorConfig.d.ts +58 -0
  1294. package/lib/typescript/module/trust/api/TrustAnchorConfig.d.ts.map +1 -0
  1295. package/lib/typescript/module/trust/api/index.d.ts +43 -0
  1296. package/lib/typescript/module/trust/api/index.d.ts.map +1 -0
  1297. package/lib/typescript/module/trust/common/build-chain.d.ts +21 -0
  1298. package/lib/typescript/module/trust/common/build-chain.d.ts.map +1 -0
  1299. package/lib/typescript/module/trust/common/errors.d.ts +103 -0
  1300. package/lib/typescript/module/trust/common/errors.d.ts.map +1 -0
  1301. package/lib/typescript/module/trust/common/types.d.ts +140 -0
  1302. package/lib/typescript/module/trust/common/types.d.ts.map +1 -0
  1303. package/lib/typescript/module/trust/common/utils.d.ts +53 -0
  1304. package/lib/typescript/module/trust/common/utils.d.ts.map +1 -0
  1305. package/lib/typescript/module/trust/common/verify-chain.d.ts +27 -0
  1306. package/lib/typescript/module/trust/common/verify-chain.d.ts.map +1 -0
  1307. package/lib/typescript/module/trust/index.d.ts +5 -0
  1308. package/lib/typescript/module/trust/index.d.ts.map +1 -0
  1309. package/lib/typescript/module/trust/v1.0.0/build-chain.d.ts +2 -0
  1310. package/lib/typescript/module/trust/v1.0.0/build-chain.d.ts.map +1 -0
  1311. package/lib/typescript/module/trust/v1.0.0/entities.d.ts +945 -0
  1312. package/lib/typescript/module/trust/v1.0.0/entities.d.ts.map +1 -0
  1313. package/lib/typescript/module/trust/v1.0.0/index.d.ts +3 -0
  1314. package/lib/typescript/module/trust/v1.0.0/index.d.ts.map +1 -0
  1315. package/lib/typescript/module/trust/v1.0.0/mappers.d.ts +109 -0
  1316. package/lib/typescript/module/trust/v1.0.0/mappers.d.ts.map +1 -0
  1317. package/lib/typescript/module/trust/v1.0.0/types.d.ts +968 -0
  1318. package/lib/typescript/module/trust/v1.0.0/types.d.ts.map +1 -0
  1319. package/lib/typescript/module/trust/v1.0.0/verify-chain.d.ts +5 -0
  1320. package/lib/typescript/module/trust/v1.0.0/verify-chain.d.ts.map +1 -0
  1321. package/lib/typescript/module/trust/v1.4.6/entities.d.ts +100 -0
  1322. package/lib/typescript/module/trust/v1.4.6/entities.d.ts.map +1 -0
  1323. package/lib/typescript/module/trust/v1.4.6/types.d.ts +958 -0
  1324. package/lib/typescript/module/trust/v1.4.6/types.d.ts.map +1 -0
  1325. package/lib/typescript/module/utils/auth.d.ts +41 -0
  1326. package/lib/typescript/module/utils/auth.d.ts.map +1 -0
  1327. package/lib/typescript/module/utils/callbacks.d.ts +28 -0
  1328. package/lib/typescript/module/utils/callbacks.d.ts.map +1 -0
  1329. package/lib/typescript/module/utils/config.d.ts +10 -0
  1330. package/lib/typescript/module/utils/config.d.ts.map +1 -0
  1331. package/lib/typescript/module/utils/credentials.d.ts +16 -0
  1332. package/lib/typescript/module/utils/credentials.d.ts.map +1 -0
  1333. package/lib/typescript/module/utils/crypto.d.ts +70 -0
  1334. package/lib/typescript/module/utils/crypto.d.ts.map +1 -0
  1335. package/lib/typescript/module/utils/decoder.d.ts +6 -0
  1336. package/lib/typescript/module/utils/decoder.d.ts.map +1 -0
  1337. package/lib/typescript/module/utils/dpop.d.ts +22 -0
  1338. package/lib/typescript/module/utils/dpop.d.ts.map +1 -0
  1339. package/lib/typescript/module/utils/error-codes.d.ts +57 -0
  1340. package/lib/typescript/module/utils/error-codes.d.ts.map +1 -0
  1341. package/lib/typescript/module/utils/errors.d.ts +196 -0
  1342. package/lib/typescript/module/utils/errors.d.ts.map +1 -0
  1343. package/lib/typescript/module/utils/integrity.d.ts +21 -0
  1344. package/lib/typescript/module/utils/integrity.d.ts.map +1 -0
  1345. package/lib/typescript/module/utils/jwk.d.ts +78 -0
  1346. package/lib/typescript/module/utils/jwk.d.ts.map +1 -0
  1347. package/lib/typescript/module/utils/logging.d.ts +35 -0
  1348. package/lib/typescript/module/utils/logging.d.ts.map +1 -0
  1349. package/lib/typescript/module/utils/mappers.d.ts +47 -0
  1350. package/lib/typescript/module/utils/mappers.d.ts.map +1 -0
  1351. package/lib/typescript/module/utils/misc.d.ts +36 -0
  1352. package/lib/typescript/module/utils/misc.d.ts.map +1 -0
  1353. package/lib/typescript/module/utils/object.d.ts +4 -0
  1354. package/lib/typescript/module/utils/object.d.ts.map +1 -0
  1355. package/lib/typescript/module/utils/par.d.ts +50 -0
  1356. package/lib/typescript/module/utils/par.d.ts.map +1 -0
  1357. package/lib/typescript/module/utils/parser.d.ts +9 -0
  1358. package/lib/typescript/module/utils/parser.d.ts.map +1 -0
  1359. package/lib/typescript/module/utils/pop.d.ts +18 -0
  1360. package/lib/typescript/module/utils/pop.d.ts.map +1 -0
  1361. package/lib/typescript/module/utils/string.d.ts +31 -0
  1362. package/lib/typescript/module/utils/string.d.ts.map +1 -0
  1363. package/lib/typescript/module/utils/x509.d.ts +10 -0
  1364. package/lib/typescript/module/utils/x509.d.ts.map +1 -0
  1365. package/lib/typescript/module/utils/zod.d.ts +17 -0
  1366. package/lib/typescript/module/utils/zod.d.ts.map +1 -0
  1367. package/lib/typescript/module/wallet-instance/api/index.d.ts +45 -0
  1368. package/lib/typescript/module/wallet-instance/api/index.d.ts.map +1 -0
  1369. package/lib/typescript/module/wallet-instance/common/wallet-instance.d.ts +6 -0
  1370. package/lib/typescript/module/wallet-instance/common/wallet-instance.d.ts.map +1 -0
  1371. package/lib/typescript/module/wallet-instance/index.d.ts +4 -0
  1372. package/lib/typescript/module/wallet-instance/index.d.ts.map +1 -0
  1373. package/lib/typescript/module/wallet-instance/v1.0.0/index.d.ts +3 -0
  1374. package/lib/typescript/module/wallet-instance/v1.0.0/index.d.ts.map +1 -0
  1375. package/lib/typescript/module/wallet-instance/v1.4.6/index.d.ts +3 -0
  1376. package/lib/typescript/module/wallet-instance/v1.4.6/index.d.ts.map +1 -0
  1377. package/lib/typescript/module/wallet-instance-attestation/api/index.d.ts +47 -0
  1378. package/lib/typescript/module/wallet-instance-attestation/api/index.d.ts.map +1 -0
  1379. package/lib/typescript/module/wallet-instance-attestation/api/types.d.ts +54 -0
  1380. package/lib/typescript/module/wallet-instance-attestation/api/types.d.ts.map +1 -0
  1381. package/lib/typescript/module/wallet-instance-attestation/common/types.d.ts +47 -0
  1382. package/lib/typescript/module/wallet-instance-attestation/common/types.d.ts.map +1 -0
  1383. package/lib/typescript/module/wallet-instance-attestation/index.d.ts +4 -0
  1384. package/lib/typescript/module/wallet-instance-attestation/index.d.ts.map +1 -0
  1385. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/index.d.ts +3 -0
  1386. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/index.d.ts.map +1 -0
  1387. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/issuing.d.ts +3 -0
  1388. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -0
  1389. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/mappers.d.ts +91 -0
  1390. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +1 -0
  1391. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/types.d.ts +120 -0
  1392. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -0
  1393. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/utils.d.ts +15 -0
  1394. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/utils.d.ts.map +1 -0
  1395. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/index.d.ts +3 -0
  1396. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/index.d.ts.map +1 -0
  1397. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/issuing.d.ts +3 -0
  1398. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +1 -0
  1399. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/mappers.d.ts +84 -0
  1400. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/mappers.d.ts.map +1 -0
  1401. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/types.d.ts +59 -0
  1402. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/types.d.ts.map +1 -0
  1403. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/utils.d.ts +15 -0
  1404. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/utils.d.ts.map +1 -0
  1405. package/package.json +112 -114
  1406. package/src/client/index.ts +1 -1
  1407. package/src/credential/issuance/api/01-evaluate-issuer-trust.ts +1 -1
  1408. package/src/credential/issuance/api/02-start-user-authorization.ts +1 -1
  1409. package/src/credential/issuance/api/03-complete-user-authorization.ts +3 -3
  1410. package/src/credential/issuance/api/04-authorize-access.ts +1 -1
  1411. package/src/credential/issuance/api/05-obtain-credential.ts +2 -2
  1412. package/src/credential/issuance/api/mrtd-pop/index.ts +2 -2
  1413. package/src/credential/issuance/common/06-verify-and-parse-credential.sdjwt.ts +4 -4
  1414. package/src/credential/issuance/common/errors.ts +2 -2
  1415. package/src/credential/issuance/v1.4.6/05-obtain-credential.ts +1 -1
  1416. package/src/credential/offer/api/01-resolve-credential-offer.ts +1 -1
  1417. package/src/credential/offer/common/errors.ts +2 -2
  1418. package/src/credential/presentation/api/02-evaluate-rp-trust.ts +1 -1
  1419. package/src/credential/presentation/api/03-get-request-object.ts +1 -1
  1420. package/src/credential/presentation/api/07-send-authorization-response.ts +1 -1
  1421. package/src/credential/presentation/common/errors.ts +6 -6
  1422. package/src/credential/presentation/common/utils/dcql.ts +3 -3
  1423. package/src/credential/presentation/common/utils/sd-jwt.ts +4 -5
  1424. package/src/credential/presentation/v1.4.6/sdkErrorMapper.ts +6 -4
  1425. package/src/credential/status/api/status-assertion.ts +1 -1
  1426. package/src/credential/status/api/status-list.ts +2 -2
  1427. package/src/credential/status/v1.4.6/01-status-list.ts +4 -4
  1428. package/src/credential/status/v1.4.6/03-get-status.ts +5 -3
  1429. package/src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts +1 -0
  1430. package/src/credentials-catalogue/api/index.ts +1 -1
  1431. package/src/credentials-catalogue/v1.4.6/mappers.ts +1 -0
  1432. package/src/credentials-catalogue/v1.4.6/utils.ts +2 -2
  1433. package/src/key-attestation/api/index.ts +7 -1
  1434. package/src/sd-jwt/index.ts +4 -5
  1435. package/src/sd-jwt/utils.ts +5 -5
  1436. package/src/trust/api/index.ts +3 -3
  1437. package/src/trust/common/build-chain.ts +1 -1
  1438. package/src/trust/common/errors.ts +10 -10
  1439. package/src/trust/common/utils.ts +1 -1
  1440. package/src/trust/common/verify-chain.ts +1 -1
  1441. package/src/utils/callbacks.ts +5 -4
  1442. package/src/utils/credentials.ts +3 -3
  1443. package/src/utils/errors.ts +7 -7
  1444. package/src/utils/par.ts +1 -1
  1445. package/src/wallet-instance/api/index.ts +4 -4
  1446. package/src/wallet-instance-attestation/api/index.ts +7 -1
  1447. package/lib/commonjs/sd-jwt/__test__/types.test.js +0 -32
  1448. package/lib/commonjs/sd-jwt/__test__/types.test.js.map +0 -1
  1449. package/lib/commonjs/sd-jwt/__test__/utils.test.js +0 -16
  1450. package/lib/commonjs/sd-jwt/__test__/utils.test.js.map +0 -1
  1451. package/lib/module/sd-jwt/__test__/types.test.js +0 -30
  1452. package/lib/module/sd-jwt/__test__/types.test.js.map +0 -1
  1453. package/lib/module/sd-jwt/__test__/utils.test.js +0 -14
  1454. package/lib/module/sd-jwt/__test__/utils.test.js.map +0 -1
  1455. package/lib/typescript/IoWallet.d.ts.map +0 -1
  1456. package/lib/typescript/api/index.d.ts.map +0 -1
  1457. package/lib/typescript/client/generated/wallet-provider.d.ts.map +0 -1
  1458. package/lib/typescript/client/index.d.ts +0 -13
  1459. package/lib/typescript/client/index.d.ts.map +0 -1
  1460. package/lib/typescript/credential/index.d.ts.map +0 -1
  1461. package/lib/typescript/credential/issuance/api/01-evaluate-issuer-trust.d.ts +0 -22
  1462. package/lib/typescript/credential/issuance/api/01-evaluate-issuer-trust.d.ts.map +0 -1
  1463. package/lib/typescript/credential/issuance/api/02-start-user-authorization.d.ts +0 -53
  1464. package/lib/typescript/credential/issuance/api/02-start-user-authorization.d.ts.map +0 -1
  1465. package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts +0 -97
  1466. package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts.map +0 -1
  1467. package/lib/typescript/credential/issuance/api/04-authorize-access.d.ts +0 -33
  1468. package/lib/typescript/credential/issuance/api/04-authorize-access.d.ts.map +0 -1
  1469. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts +0 -58
  1470. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts.map +0 -1
  1471. package/lib/typescript/credential/issuance/api/06-verify-and-parse-credential.d.ts.map +0 -1
  1472. package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts.map +0 -1
  1473. package/lib/typescript/credential/issuance/api/index.d.ts.map +0 -1
  1474. package/lib/typescript/credential/issuance/api/mrtd-pop/index.d.ts +0 -74
  1475. package/lib/typescript/credential/issuance/api/mrtd-pop/index.d.ts.map +0 -1
  1476. package/lib/typescript/credential/issuance/api/mrtd-pop/types.d.ts.map +0 -1
  1477. package/lib/typescript/credential/issuance/api/types.d.ts.map +0 -1
  1478. package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts.map +0 -1
  1479. package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +0 -1
  1480. package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +0 -1
  1481. package/lib/typescript/credential/issuance/common/errors.d.ts.map +0 -1
  1482. package/lib/typescript/credential/issuance/index.d.ts.map +0 -1
  1483. package/lib/typescript/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +0 -1
  1484. package/lib/typescript/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +0 -1
  1485. package/lib/typescript/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +0 -1
  1486. package/lib/typescript/credential/issuance/mrtd-pop/index.d.ts.map +0 -1
  1487. package/lib/typescript/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +0 -1
  1488. package/lib/typescript/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +0 -1
  1489. package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +0 -1
  1490. package/lib/typescript/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +0 -1
  1491. package/lib/typescript/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +0 -1
  1492. package/lib/typescript/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +0 -1
  1493. package/lib/typescript/credential/issuance/v1.0.0/index.d.ts.map +0 -1
  1494. package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts.map +0 -1
  1495. package/lib/typescript/credential/issuance/v1.0.0/types.d.ts.map +0 -1
  1496. package/lib/typescript/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts.map +0 -1
  1497. package/lib/typescript/credential/issuance/v1.4.6/02-start-user-authorization.d.ts.map +0 -1
  1498. package/lib/typescript/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts.map +0 -1
  1499. package/lib/typescript/credential/issuance/v1.4.6/04-authorize-access.d.ts.map +0 -1
  1500. package/lib/typescript/credential/issuance/v1.4.6/05-obtain-credential.d.ts +0 -26
  1501. package/lib/typescript/credential/issuance/v1.4.6/05-obtain-credential.d.ts.map +0 -1
  1502. package/lib/typescript/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts.map +0 -1
  1503. package/lib/typescript/credential/issuance/v1.4.6/index.d.ts.map +0 -1
  1504. package/lib/typescript/credential/issuance/v1.4.6/mappers.d.ts.map +0 -1
  1505. package/lib/typescript/credential/issuance/v1.4.6/types.d.ts.map +0 -1
  1506. package/lib/typescript/credential/offer/api/01-resolve-credential-offer.d.ts +0 -22
  1507. package/lib/typescript/credential/offer/api/01-resolve-credential-offer.d.ts.map +0 -1
  1508. package/lib/typescript/credential/offer/api/02-extract-grant-details.d.ts.map +0 -1
  1509. package/lib/typescript/credential/offer/api/03-validate-credential-offer.d.ts.map +0 -1
  1510. package/lib/typescript/credential/offer/api/index.d.ts.map +0 -1
  1511. package/lib/typescript/credential/offer/api/types.d.ts.map +0 -1
  1512. package/lib/typescript/credential/offer/common/errors.d.ts.map +0 -1
  1513. package/lib/typescript/credential/offer/index.d.ts.map +0 -1
  1514. package/lib/typescript/credential/offer/v1.0.0/index.d.ts.map +0 -1
  1515. package/lib/typescript/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts.map +0 -1
  1516. package/lib/typescript/credential/offer/v1.4.6/02-extract-grant-details.d.ts.map +0 -1
  1517. package/lib/typescript/credential/offer/v1.4.6/03-validate-credential-offer.d.ts.map +0 -1
  1518. package/lib/typescript/credential/offer/v1.4.6/index.d.ts.map +0 -1
  1519. package/lib/typescript/credential/presentation/api/01-start-flow.d.ts.map +0 -1
  1520. package/lib/typescript/credential/presentation/api/02-evaluate-rp-trust.d.ts +0 -18
  1521. package/lib/typescript/credential/presentation/api/02-evaluate-rp-trust.d.ts.map +0 -1
  1522. package/lib/typescript/credential/presentation/api/03-get-request-object.d.ts +0 -19
  1523. package/lib/typescript/credential/presentation/api/03-get-request-object.d.ts.map +0 -1
  1524. package/lib/typescript/credential/presentation/api/04-verify-certificate-chain.d.ts.map +0 -1
  1525. package/lib/typescript/credential/presentation/api/05-verify-request-object.d.ts.map +0 -1
  1526. package/lib/typescript/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +0 -1
  1527. package/lib/typescript/credential/presentation/api/07-send-authorization-response.d.ts +0 -54
  1528. package/lib/typescript/credential/presentation/api/07-send-authorization-response.d.ts.map +0 -1
  1529. package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts.map +0 -1
  1530. package/lib/typescript/credential/presentation/api/index.d.ts.map +0 -1
  1531. package/lib/typescript/credential/presentation/api/types.d.ts.map +0 -1
  1532. package/lib/typescript/credential/presentation/common/errors.d.ts.map +0 -1
  1533. package/lib/typescript/credential/presentation/common/utils/dcql.d.ts +0 -78
  1534. package/lib/typescript/credential/presentation/common/utils/dcql.d.ts.map +0 -1
  1535. package/lib/typescript/credential/presentation/common/utils/http.d.ts.map +0 -1
  1536. package/lib/typescript/credential/presentation/common/utils/mdoc.d.ts.map +0 -1
  1537. package/lib/typescript/credential/presentation/common/utils/sd-jwt.d.ts.map +0 -1
  1538. package/lib/typescript/credential/presentation/index.d.ts.map +0 -1
  1539. package/lib/typescript/credential/presentation/v1.0.0/01-start-flow.d.ts.map +0 -1
  1540. package/lib/typescript/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +0 -1
  1541. package/lib/typescript/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +0 -1
  1542. package/lib/typescript/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +0 -1
  1543. package/lib/typescript/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +0 -1
  1544. package/lib/typescript/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +0 -1
  1545. package/lib/typescript/credential/presentation/v1.0.0/index.d.ts.map +0 -1
  1546. package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts.map +0 -1
  1547. package/lib/typescript/credential/presentation/v1.0.0/types.d.ts.map +0 -1
  1548. package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts.map +0 -1
  1549. package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts.map +0 -1
  1550. package/lib/typescript/credential/presentation/v1.4.6/01-start-flow.d.ts.map +0 -1
  1551. package/lib/typescript/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts.map +0 -1
  1552. package/lib/typescript/credential/presentation/v1.4.6/03-get-request-object.d.ts.map +0 -1
  1553. package/lib/typescript/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts.map +0 -1
  1554. package/lib/typescript/credential/presentation/v1.4.6/05-verify-request-object.d.ts.map +0 -1
  1555. package/lib/typescript/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts.map +0 -1
  1556. package/lib/typescript/credential/presentation/v1.4.6/07-send-authorization-response.d.ts.map +0 -1
  1557. package/lib/typescript/credential/presentation/v1.4.6/index.d.ts.map +0 -1
  1558. package/lib/typescript/credential/presentation/v1.4.6/mappers.d.ts.map +0 -1
  1559. package/lib/typescript/credential/presentation/v1.4.6/sdkErrorMapper.d.ts.map +0 -1
  1560. package/lib/typescript/credential/presentation/v1.4.6/types.d.ts.map +0 -1
  1561. package/lib/typescript/credential/status/api/index.d.ts.map +0 -1
  1562. package/lib/typescript/credential/status/api/status-assertion.d.ts +0 -49
  1563. package/lib/typescript/credential/status/api/status-assertion.d.ts.map +0 -1
  1564. package/lib/typescript/credential/status/api/status-list.d.ts +0 -75
  1565. package/lib/typescript/credential/status/api/status-list.d.ts.map +0 -1
  1566. package/lib/typescript/credential/status/api/types.d.ts.map +0 -1
  1567. package/lib/typescript/credential/status/index.d.ts.map +0 -1
  1568. package/lib/typescript/credential/status/v1.0.0/01-status-assertion.d.ts.map +0 -1
  1569. package/lib/typescript/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +0 -1
  1570. package/lib/typescript/credential/status/v1.0.0/index.d.ts.map +0 -1
  1571. package/lib/typescript/credential/status/v1.0.0/mappers.d.ts.map +0 -1
  1572. package/lib/typescript/credential/status/v1.0.0/types.d.ts.map +0 -1
  1573. package/lib/typescript/credential/status/v1.4.6/01-status-list.d.ts.map +0 -1
  1574. package/lib/typescript/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts.map +0 -1
  1575. package/lib/typescript/credential/status/v1.4.6/03-get-status.d.ts.map +0 -1
  1576. package/lib/typescript/credential/status/v1.4.6/index.d.ts.map +0 -1
  1577. package/lib/typescript/credential/trustmark/api/index.d.ts.map +0 -1
  1578. package/lib/typescript/credential/trustmark/index.d.ts.map +0 -1
  1579. package/lib/typescript/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +0 -1
  1580. package/lib/typescript/credential/trustmark/v1.0.0/index.d.ts.map +0 -1
  1581. package/lib/typescript/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts.map +0 -1
  1582. package/lib/typescript/credential/trustmark/v1.4.6/index.d.ts.map +0 -1
  1583. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +0 -319
  1584. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +0 -1
  1585. package/lib/typescript/credentials-catalogue/api/index.d.ts +0 -51
  1586. package/lib/typescript/credentials-catalogue/api/index.d.ts.map +0 -1
  1587. package/lib/typescript/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +0 -1
  1588. package/lib/typescript/credentials-catalogue/index.d.ts.map +0 -1
  1589. package/lib/typescript/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +0 -1
  1590. package/lib/typescript/credentials-catalogue/v1.0.0/index.d.ts.map +0 -1
  1591. package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts +0 -125
  1592. package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts.map +0 -1
  1593. package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts.map +0 -1
  1594. package/lib/typescript/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts.map +0 -1
  1595. package/lib/typescript/credentials-catalogue/v1.4.6/fetch-translations.d.ts.map +0 -1
  1596. package/lib/typescript/credentials-catalogue/v1.4.6/index.d.ts.map +0 -1
  1597. package/lib/typescript/credentials-catalogue/v1.4.6/mappers.d.ts +0 -326
  1598. package/lib/typescript/credentials-catalogue/v1.4.6/mappers.d.ts.map +0 -1
  1599. package/lib/typescript/credentials-catalogue/v1.4.6/types.d.ts.map +0 -1
  1600. package/lib/typescript/credentials-catalogue/v1.4.6/utils.d.ts +0 -37
  1601. package/lib/typescript/credentials-catalogue/v1.4.6/utils.d.ts.map +0 -1
  1602. package/lib/typescript/index.d.ts.map +0 -1
  1603. package/lib/typescript/key-attestation/api/index.d.ts +0 -39
  1604. package/lib/typescript/key-attestation/api/index.d.ts.map +0 -1
  1605. package/lib/typescript/key-attestation/api/types.d.ts.map +0 -1
  1606. package/lib/typescript/key-attestation/index.d.ts.map +0 -1
  1607. package/lib/typescript/key-attestation/v1.0.0/index.d.ts.map +0 -1
  1608. package/lib/typescript/key-attestation/v1.4.6/index.d.ts.map +0 -1
  1609. package/lib/typescript/key-attestation/v1.4.6/issuing.d.ts.map +0 -1
  1610. package/lib/typescript/key-attestation/v1.4.6/mappers.d.ts.map +0 -1
  1611. package/lib/typescript/key-attestation/v1.4.6/types.d.ts.map +0 -1
  1612. package/lib/typescript/key-attestation/v1.4.6/utils.d.ts.map +0 -1
  1613. package/lib/typescript/mdoc/const.d.ts.map +0 -1
  1614. package/lib/typescript/mdoc/converter.d.ts.map +0 -1
  1615. package/lib/typescript/mdoc/index.d.ts.map +0 -1
  1616. package/lib/typescript/mdoc/utils.d.ts.map +0 -1
  1617. package/lib/typescript/sd-jwt/__test__/types.test.d.ts +0 -2
  1618. package/lib/typescript/sd-jwt/__test__/types.test.d.ts.map +0 -1
  1619. package/lib/typescript/sd-jwt/__test__/utils.test.d.ts +0 -2
  1620. package/lib/typescript/sd-jwt/__test__/utils.test.d.ts.map +0 -1
  1621. package/lib/typescript/sd-jwt/index.d.ts.map +0 -1
  1622. package/lib/typescript/sd-jwt/types.d.ts.map +0 -1
  1623. package/lib/typescript/sd-jwt/utils.d.ts +0 -19
  1624. package/lib/typescript/sd-jwt/utils.d.ts.map +0 -1
  1625. package/lib/typescript/trust/api/TrustAnchorConfig.d.ts.map +0 -1
  1626. package/lib/typescript/trust/api/index.d.ts +0 -43
  1627. package/lib/typescript/trust/api/index.d.ts.map +0 -1
  1628. package/lib/typescript/trust/common/build-chain.d.ts +0 -21
  1629. package/lib/typescript/trust/common/build-chain.d.ts.map +0 -1
  1630. package/lib/typescript/trust/common/errors.d.ts.map +0 -1
  1631. package/lib/typescript/trust/common/types.d.ts.map +0 -1
  1632. package/lib/typescript/trust/common/utils.d.ts +0 -53
  1633. package/lib/typescript/trust/common/utils.d.ts.map +0 -1
  1634. package/lib/typescript/trust/common/verify-chain.d.ts.map +0 -1
  1635. package/lib/typescript/trust/index.d.ts.map +0 -1
  1636. package/lib/typescript/trust/v1.0.0/build-chain.d.ts +0 -2
  1637. package/lib/typescript/trust/v1.0.0/build-chain.d.ts.map +0 -1
  1638. package/lib/typescript/trust/v1.0.0/entities.d.ts.map +0 -1
  1639. package/lib/typescript/trust/v1.0.0/index.d.ts.map +0 -1
  1640. package/lib/typescript/trust/v1.0.0/mappers.d.ts.map +0 -1
  1641. package/lib/typescript/trust/v1.0.0/types.d.ts.map +0 -1
  1642. package/lib/typescript/trust/v1.0.0/verify-chain.d.ts +0 -5
  1643. package/lib/typescript/trust/v1.0.0/verify-chain.d.ts.map +0 -1
  1644. package/lib/typescript/trust/v1.4.6/entities.d.ts.map +0 -1
  1645. package/lib/typescript/trust/v1.4.6/types.d.ts.map +0 -1
  1646. package/lib/typescript/utils/auth.d.ts.map +0 -1
  1647. package/lib/typescript/utils/callbacks.d.ts.map +0 -1
  1648. package/lib/typescript/utils/config.d.ts.map +0 -1
  1649. package/lib/typescript/utils/credentials.d.ts.map +0 -1
  1650. package/lib/typescript/utils/crypto.d.ts.map +0 -1
  1651. package/lib/typescript/utils/decoder.d.ts.map +0 -1
  1652. package/lib/typescript/utils/dpop.d.ts.map +0 -1
  1653. package/lib/typescript/utils/error-codes.d.ts.map +0 -1
  1654. package/lib/typescript/utils/errors.d.ts.map +0 -1
  1655. package/lib/typescript/utils/integrity.d.ts.map +0 -1
  1656. package/lib/typescript/utils/jwk.d.ts.map +0 -1
  1657. package/lib/typescript/utils/logging.d.ts.map +0 -1
  1658. package/lib/typescript/utils/mappers.d.ts.map +0 -1
  1659. package/lib/typescript/utils/misc.d.ts.map +0 -1
  1660. package/lib/typescript/utils/object.d.ts.map +0 -1
  1661. package/lib/typescript/utils/par.d.ts +0 -50
  1662. package/lib/typescript/utils/par.d.ts.map +0 -1
  1663. package/lib/typescript/utils/parser.d.ts.map +0 -1
  1664. package/lib/typescript/utils/pop.d.ts.map +0 -1
  1665. package/lib/typescript/utils/string.d.ts.map +0 -1
  1666. package/lib/typescript/utils/x509.d.ts.map +0 -1
  1667. package/lib/typescript/utils/zod.d.ts.map +0 -1
  1668. package/lib/typescript/wallet-instance/api/index.d.ts +0 -45
  1669. package/lib/typescript/wallet-instance/api/index.d.ts.map +0 -1
  1670. package/lib/typescript/wallet-instance/common/wallet-instance.d.ts.map +0 -1
  1671. package/lib/typescript/wallet-instance/index.d.ts.map +0 -1
  1672. package/lib/typescript/wallet-instance/v1.0.0/index.d.ts.map +0 -1
  1673. package/lib/typescript/wallet-instance/v1.4.6/index.d.ts.map +0 -1
  1674. package/lib/typescript/wallet-instance-attestation/api/index.d.ts +0 -46
  1675. package/lib/typescript/wallet-instance-attestation/api/index.d.ts.map +0 -1
  1676. package/lib/typescript/wallet-instance-attestation/api/types.d.ts.map +0 -1
  1677. package/lib/typescript/wallet-instance-attestation/common/types.d.ts.map +0 -1
  1678. package/lib/typescript/wallet-instance-attestation/index.d.ts.map +0 -1
  1679. package/lib/typescript/wallet-instance-attestation/v1.0.0/index.d.ts.map +0 -1
  1680. package/lib/typescript/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +0 -1
  1681. package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +0 -1
  1682. package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts.map +0 -1
  1683. package/lib/typescript/wallet-instance-attestation/v1.0.0/utils.d.ts.map +0 -1
  1684. package/lib/typescript/wallet-instance-attestation/v1.4.6/index.d.ts.map +0 -1
  1685. package/lib/typescript/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +0 -1
  1686. package/lib/typescript/wallet-instance-attestation/v1.4.6/mappers.d.ts.map +0 -1
  1687. package/lib/typescript/wallet-instance-attestation/v1.4.6/types.d.ts.map +0 -1
  1688. package/lib/typescript/wallet-instance-attestation/v1.4.6/utils.d.ts.map +0 -1
  1689. package/src/sd-jwt/__test__/types.test.ts +0 -37
  1690. package/src/sd-jwt/__test__/utils.test.ts +0 -15
  1691. /package/lib/typescript/{IoWallet.d.ts → commonjs/IoWallet.d.ts} +0 -0
  1692. /package/lib/typescript/{api → commonjs/api}/index.d.ts +0 -0
  1693. /package/lib/typescript/{client → commonjs/client}/generated/wallet-provider.d.ts +0 -0
  1694. /package/lib/typescript/{credential → commonjs/credential}/index.d.ts +0 -0
  1695. /package/lib/typescript/{credential → commonjs/credential}/issuance/api/06-verify-and-parse-credential.d.ts +0 -0
  1696. /package/lib/typescript/{credential → commonjs/credential}/issuance/api/IssuerConfig.d.ts +0 -0
  1697. /package/lib/typescript/{credential → commonjs/credential}/issuance/api/index.d.ts +0 -0
  1698. /package/lib/typescript/{credential → commonjs/credential}/issuance/api/mrtd-pop/types.d.ts +0 -0
  1699. /package/lib/typescript/{credential → commonjs/credential}/issuance/api/types.d.ts +0 -0
  1700. /package/lib/typescript/{credential → commonjs/credential}/issuance/common/02-start-user-authorization.d.ts +0 -0
  1701. /package/lib/typescript/{credential → commonjs/credential}/issuance/common/06-verify-and-parse-credential.mdoc.d.ts +0 -0
  1702. /package/lib/typescript/{credential → commonjs/credential}/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts +0 -0
  1703. /package/lib/typescript/{credential → commonjs/credential}/issuance/common/errors.d.ts +0 -0
  1704. /package/lib/typescript/{credential → commonjs/credential}/issuance/index.d.ts +0 -0
  1705. /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts +0 -0
  1706. /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/02-init-challenge.d.ts +0 -0
  1707. /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/03-validate-challenge.d.ts +0 -0
  1708. /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/index.d.ts +0 -0
  1709. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts +0 -0
  1710. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/02-start-user-authorization.d.ts +0 -0
  1711. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/03-complete-user-authorization.d.ts +0 -0
  1712. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/04-authorize-access.d.ts +0 -0
  1713. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/05-obtain-credential.d.ts +0 -0
  1714. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/06-verify-and-parse-credential.d.ts +0 -0
  1715. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/index.d.ts +0 -0
  1716. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/mappers.d.ts +0 -0
  1717. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/types.d.ts +0 -0
  1718. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts +0 -0
  1719. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/02-start-user-authorization.d.ts +0 -0
  1720. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/03-complete-user-authorization.d.ts +0 -0
  1721. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/04-authorize-access.d.ts +0 -0
  1722. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/06-verify-and-parse-credential.d.ts +0 -0
  1723. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/index.d.ts +0 -0
  1724. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/mappers.d.ts +0 -0
  1725. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/types.d.ts +0 -0
  1726. /package/lib/typescript/{credential → commonjs/credential}/offer/api/02-extract-grant-details.d.ts +0 -0
  1727. /package/lib/typescript/{credential → commonjs/credential}/offer/api/03-validate-credential-offer.d.ts +0 -0
  1728. /package/lib/typescript/{credential → commonjs/credential}/offer/api/index.d.ts +0 -0
  1729. /package/lib/typescript/{credential → commonjs/credential}/offer/api/types.d.ts +0 -0
  1730. /package/lib/typescript/{credential → commonjs/credential}/offer/common/errors.d.ts +0 -0
  1731. /package/lib/typescript/{credential → commonjs/credential}/offer/index.d.ts +0 -0
  1732. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.0.0/index.d.ts +0 -0
  1733. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/01-resolve-credential-offer.d.ts +0 -0
  1734. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/02-extract-grant-details.d.ts +0 -0
  1735. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/03-validate-credential-offer.d.ts +0 -0
  1736. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/index.d.ts +0 -0
  1737. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/01-start-flow.d.ts +0 -0
  1738. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/04-verify-certificate-chain.d.ts +0 -0
  1739. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/05-verify-request-object.d.ts +0 -0
  1740. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/06-evaluate-dcql-query.d.ts +0 -0
  1741. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/RelyingPartyConfig.d.ts +0 -0
  1742. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/index.d.ts +0 -0
  1743. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/types.d.ts +0 -0
  1744. /package/lib/typescript/{credential → commonjs/credential}/presentation/common/errors.d.ts +0 -0
  1745. /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/http.d.ts +0 -0
  1746. /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/mdoc.d.ts +0 -0
  1747. /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/sd-jwt.d.ts +0 -0
  1748. /package/lib/typescript/{credential → commonjs/credential}/presentation/index.d.ts +0 -0
  1749. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/01-start-flow.d.ts +0 -0
  1750. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/02-evaluate-rp-trust.d.ts +0 -0
  1751. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/03-get-request-object.d.ts +0 -0
  1752. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/05-verify-request-object.d.ts +0 -0
  1753. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/06-evaluate-dcql-query.d.ts +0 -0
  1754. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/07-send-authorization-response.d.ts +0 -0
  1755. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/index.d.ts +0 -0
  1756. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/mappers.d.ts +0 -0
  1757. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/types.d.ts +0 -0
  1758. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/utils.d.ts +0 -0
  1759. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/utils.jwks.d.ts +0 -0
  1760. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/01-start-flow.d.ts +0 -0
  1761. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/02-evaluate-rp-trust.d.ts +0 -0
  1762. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/03-get-request-object.d.ts +0 -0
  1763. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/04-verify-certificate-chain.d.ts +0 -0
  1764. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/05-verify-request-object.d.ts +0 -0
  1765. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/06-evaluate-dcql-query.d.ts +0 -0
  1766. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/07-send-authorization-response.d.ts +0 -0
  1767. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/index.d.ts +0 -0
  1768. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/mappers.d.ts +0 -0
  1769. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/sdkErrorMapper.d.ts +0 -0
  1770. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/types.d.ts +0 -0
  1771. /package/lib/typescript/{credential → commonjs/credential}/status/api/index.d.ts +0 -0
  1772. /package/lib/typescript/{credential → commonjs/credential}/status/api/types.d.ts +0 -0
  1773. /package/lib/typescript/{credential → commonjs/credential}/status/index.d.ts +0 -0
  1774. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/01-status-assertion.d.ts +0 -0
  1775. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts +0 -0
  1776. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/index.d.ts +0 -0
  1777. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/mappers.d.ts +0 -0
  1778. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/types.d.ts +0 -0
  1779. /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/01-status-list.d.ts +0 -0
  1780. /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/02-verify-and-parse-status-list.d.ts +0 -0
  1781. /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/03-get-status.d.ts +0 -0
  1782. /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/index.d.ts +0 -0
  1783. /package/lib/typescript/{credential → commonjs/credential}/trustmark/api/index.d.ts +0 -0
  1784. /package/lib/typescript/{credential → commonjs/credential}/trustmark/index.d.ts +0 -0
  1785. /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.0.0/get-credential-trustmark.d.ts +0 -0
  1786. /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.0.0/index.d.ts +0 -0
  1787. /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.4.6/get-credential-trustmark.d.ts +0 -0
  1788. /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.4.6/index.d.ts +0 -0
  1789. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/common/get-status-l10n-ids.d.ts +0 -0
  1790. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/index.d.ts +0 -0
  1791. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/fetch-and-parse-catalogue.d.ts +0 -0
  1792. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/index.d.ts +0 -0
  1793. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/types.d.ts +0 -0
  1794. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/fetch-and-parse-catalogue.d.ts +0 -0
  1795. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/fetch-translations.d.ts +0 -0
  1796. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/index.d.ts +0 -0
  1797. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/types.d.ts +0 -0
  1798. /package/lib/typescript/{index.d.ts → commonjs/index.d.ts} +0 -0
  1799. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/api/types.d.ts +0 -0
  1800. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/index.d.ts +0 -0
  1801. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.0.0/index.d.ts +0 -0
  1802. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/index.d.ts +0 -0
  1803. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/issuing.d.ts +0 -0
  1804. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/mappers.d.ts +0 -0
  1805. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/types.d.ts +0 -0
  1806. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/utils.d.ts +0 -0
  1807. /package/lib/typescript/{mdoc → commonjs/mdoc}/const.d.ts +0 -0
  1808. /package/lib/typescript/{mdoc → commonjs/mdoc}/converter.d.ts +0 -0
  1809. /package/lib/typescript/{mdoc → commonjs/mdoc}/index.d.ts +0 -0
  1810. /package/lib/typescript/{mdoc → commonjs/mdoc}/utils.d.ts +0 -0
  1811. /package/lib/typescript/{sd-jwt → commonjs/sd-jwt}/index.d.ts +0 -0
  1812. /package/lib/typescript/{sd-jwt → commonjs/sd-jwt}/types.d.ts +0 -0
  1813. /package/lib/typescript/{trust → commonjs/trust}/api/TrustAnchorConfig.d.ts +0 -0
  1814. /package/lib/typescript/{trust → commonjs/trust}/common/errors.d.ts +0 -0
  1815. /package/lib/typescript/{trust → commonjs/trust}/common/types.d.ts +0 -0
  1816. /package/lib/typescript/{trust → commonjs/trust}/common/verify-chain.d.ts +0 -0
  1817. /package/lib/typescript/{trust → commonjs/trust}/index.d.ts +0 -0
  1818. /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/entities.d.ts +0 -0
  1819. /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/index.d.ts +0 -0
  1820. /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/mappers.d.ts +0 -0
  1821. /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/types.d.ts +0 -0
  1822. /package/lib/typescript/{trust → commonjs/trust}/v1.4.6/entities.d.ts +0 -0
  1823. /package/lib/typescript/{trust → commonjs/trust}/v1.4.6/types.d.ts +0 -0
  1824. /package/lib/typescript/{utils → commonjs/utils}/auth.d.ts +0 -0
  1825. /package/lib/typescript/{utils → commonjs/utils}/callbacks.d.ts +0 -0
  1826. /package/lib/typescript/{utils → commonjs/utils}/config.d.ts +0 -0
  1827. /package/lib/typescript/{utils → commonjs/utils}/credentials.d.ts +0 -0
  1828. /package/lib/typescript/{utils → commonjs/utils}/crypto.d.ts +0 -0
  1829. /package/lib/typescript/{utils → commonjs/utils}/decoder.d.ts +0 -0
  1830. /package/lib/typescript/{utils → commonjs/utils}/dpop.d.ts +0 -0
  1831. /package/lib/typescript/{utils → commonjs/utils}/error-codes.d.ts +0 -0
  1832. /package/lib/typescript/{utils → commonjs/utils}/errors.d.ts +0 -0
  1833. /package/lib/typescript/{utils → commonjs/utils}/integrity.d.ts +0 -0
  1834. /package/lib/typescript/{utils → commonjs/utils}/jwk.d.ts +0 -0
  1835. /package/lib/typescript/{utils → commonjs/utils}/logging.d.ts +0 -0
  1836. /package/lib/typescript/{utils → commonjs/utils}/mappers.d.ts +0 -0
  1837. /package/lib/typescript/{utils → commonjs/utils}/misc.d.ts +0 -0
  1838. /package/lib/typescript/{utils → commonjs/utils}/object.d.ts +0 -0
  1839. /package/lib/typescript/{utils → commonjs/utils}/parser.d.ts +0 -0
  1840. /package/lib/typescript/{utils → commonjs/utils}/pop.d.ts +0 -0
  1841. /package/lib/typescript/{utils → commonjs/utils}/string.d.ts +0 -0
  1842. /package/lib/typescript/{utils → commonjs/utils}/x509.d.ts +0 -0
  1843. /package/lib/typescript/{utils → commonjs/utils}/zod.d.ts +0 -0
  1844. /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/common/wallet-instance.d.ts +0 -0
  1845. /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/index.d.ts +0 -0
  1846. /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/v1.0.0/index.d.ts +0 -0
  1847. /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/v1.4.6/index.d.ts +0 -0
  1848. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/api/types.d.ts +0 -0
  1849. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/common/types.d.ts +0 -0
  1850. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/index.d.ts +0 -0
  1851. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/index.d.ts +0 -0
  1852. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/issuing.d.ts +0 -0
  1853. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/mappers.d.ts +0 -0
  1854. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/types.d.ts +0 -0
  1855. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/utils.d.ts +0 -0
  1856. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/index.d.ts +0 -0
  1857. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/issuing.d.ts +0 -0
  1858. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/mappers.d.ts +0 -0
  1859. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/types.d.ts +0 -0
  1860. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/utils.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["_zod","require","_types","_jwk","DisplayConfig","z","object","locale","string","name","ClaimConfig","display","array","optional","path","union","number","null","LegacyIssuanceErrorSupported","description","title","status_code","CredentialConfig","intersection","discriminatedUnion","format","literal","vct","doctype","authentic_source","claims","issuance_errors_supported","record","scope","IssuerConfig","authorization_endpoint","authorization_servers","tuple","credential_configurations_supported","credential_endpoint","credential_issuance_batch_size","credential_issuer","encrypted_response_enc_values_supported","federation_entity","FederationEntityMetadata","keys","JWK","nonce_endpoint","pushed_authorization_request_endpoint","response_modes_supported","status_assertion_endpoint","token_endpoint","exports"],"sourceRoot":"../../../../../src","sources":["cred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QAAQ,CAAC,CAAC;EACrD4B,iBAAiB,EAAEpC,MAAC,CAACG,MAAM,CAAC,CAAC;EAC7BkC,uCAAuC,EAAErC,MAAC,CAACO,KAAK,CAACP,MAAC,CAACG,MAAM,CAAC,CAAC,CAAC,CAACK,QAAQ,CAAC,CAAC;EACvE8B,iBAAiB,EAAEC,+BAAwB;EAC3CC,IAAI,EAAExC,MAAC,CAACO,KAAK,CAACkC,QAAG,CAAC;EAClBC,cAAc,EAAE1C,MAAC,CAACG,MAAM,CAAC,CAAC;EAC1BwC,qCAAqC,EAAE3C,MAAC,CAACG,MAAM,CAAC,CAAC;EACjD;AACF;AACA;EACEyC,wBAAwB,EAAE5C,MAAC,CAACO,KAAK,CAACP,MAAC,CAACG,MAAM,CAAC,CAAC,CAAC,CAACK,QAAQ,CAAC,CAAC;EACxDqC,yBAAyB,EAAE7C,MAAC,CAACG,MAAM,CAAC,CAAC,CAACK,QAAQ,CAAC,CAAC;EAChDsC,cAAc,EAAE9C,MAAC,CAACG,MAAM,CAAC;AAC3B,CAAC,CAAC;AAAC4C,OAAA,CAAAlB,YAAA,GAAAA,YAAA"}
1
+ {"version":3,"names":["_zod","require","_types","_jwk","DisplayConfig","z","object","locale","string","name","ClaimConfig","display","array","optional","path","union","number","null","LegacyIssuanceErrorSupported","description","title","status_code","CredentialConfig","intersection","discriminatedUnion","format","literal","vct","doctype","authentic_source","claims","issuance_errors_supported","record","scope","IssuerConfig","exports","authorization_endpoint","authorization_servers","tuple","credential_configurations_supported","credential_endpoint","credential_issuance_batch_size","credential_issuer","encrypted_response_enc_values_supported","federation_entity","FederationEntityMetadata","keys","JWK","nonce_endpoint","pushed_authorization_request_endpoint","response_modes_supported","status_assertion_endpoint","token_endpoint"],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/IssuerConfig.ts"],"mappings":";;;;;;AAAA,IAAAA,IAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,IAAA,GAAAF,OAAA;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AACO,KAAK,CAACP,MAAC,CAACG,MAAM,CAAC,CAAC,CAAC,CAACK,QAAQ,CAAC,CAAC;EACvE+B,iBAAiB,EAAEC,+BAAwB;EAC3CC,IAAI,EAAEzC,MAAC,CAACO,KAAK,CAACmC,QAAG,CAAC;EAClBC,cAAc,EAAE3C,MAAC,CAACG,MAAM,CAAC,CAAC;EAC1ByC,qCAAqC,EAAE5C,MAAC,CAACG,MAAM,CAAC,CAAC;EACjD;AACF;AACA;EACE0C,wBAAwB,EAAE7C,MAAC,CAACO,KAAK,CAACP,MAAC,CAACG,MAAM,CAAC,CAAC,CAAC,CAACK,QAAQ,CAAC,CAAC;EACxDsC,yBAAyB,EAAE9C,MAAC,CAACG,MAAM,CAAC,CAAC,CAACK,QAAQ,CAAC,CAAC;EAChDuC,cAAc,EAAE/C,MAAC,CAACG,MAAM,CAAC;AAC3B,CAAC,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/index.ts"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/index.ts"],"mappings":"","ignoreList":[]}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- var _types = require("./types");
6
+ var _types = require("./types.js");
7
7
  Object.keys(_types).forEach(function (key) {
8
8
  if (key === "default" || key === "__esModule") return;
9
9
  if (key in exports && exports[key] === _types[key]) return;
@@ -1 +1 @@
1
- {"version":3,"names":["_types","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../../src","sources":["credential/issuance/api/mrtd-pop/index.ts"],"mappings":";;;;;AAwGA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
1
+ {"version":3,"names":["_types","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../../src","sources":["credential/issuance/api/mrtd-pop/index.ts"],"mappings":";;;;;AAwGA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["credential/issuance/api/mrtd-pop/types.ts"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../../src","sources":["credential/issuance/api/mrtd-pop/types.ts"],"mappings":"","ignoreList":[]}
@@ -5,22 +5,19 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.TokenResponse = exports.AuthorizationDetail = void 0;
7
7
  var z = _interopRequireWildcard(require("zod"));
8
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
9
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
8
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
10
9
  // The credential as a collection of attributes in plain value
11
10
 
12
- const AuthorizationDetail = z.object({
11
+ const AuthorizationDetail = exports.AuthorizationDetail = z.object({
13
12
  credential_configuration_id: z.string(),
14
13
  credential_identifiers: z.array(z.string()),
15
14
  type: z.literal("openid_credential")
16
15
  });
17
- exports.AuthorizationDetail = AuthorizationDetail;
18
- const TokenResponse = z.object({
16
+ const TokenResponse = exports.TokenResponse = z.object({
19
17
  access_token: z.string(),
20
18
  authorization_details: z.array(AuthorizationDetail),
21
19
  expires_in: z.number().optional(),
22
20
  refresh_token: z.string().optional(),
23
21
  token_type: z.string()
24
22
  });
25
- exports.TokenResponse = TokenResponse;
26
23
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["z","_interopRequireWildcard","require","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","AuthorizationDetail","object","credential_configuration_id","string","credential_identifiers","array","type","literal","exports","TokenResponse","access_token","authorization_details","expires_in","number","optional","refresh_token","token_type"],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/types.ts"],"mappings":";;;;;;AAAA,IAAAA,CAAA,GAAAC,uBAAA,CAAAC,OAAA;AAAyB,SAAAC,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAH,wBAAAO,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA;AAMzB;;AAeO,MAAMW,mBAAmB,GAAGzB,CAAC,CAAC0B,MAAM,CAAC;EAC1CC,2BAA2B,EAAE3B,CAAC,CAAC4B,MAAM,CAAC,CAAC;EACvCC,sBAAsB,EAAE7B,CAAC,CAAC8B,KAAK,CAAC9B,CAAC,CAAC4B,MAAM,CAAC,CAAC,CAAC;EAC3CG,IAAI,EAAE/B,CAAC,CAACgC,OAAO,CAAC,mBAAmB;AACrC,CAAC,CAAC;AAACC,OAAA,CAAAR,mBAAA,GAAAA,mBAAA;AAGI,MAAMS,aAAa,GAAGlC,CAAC,CAAC0B,MAAM,CAAC;EACpCS,YAAY,EAAEnC,CAAC,CAAC4B,MAAM,CAAC,CAAC;EACxBQ,qBAAqB,EAAEpC,CAAC,CAAC8B,KAAK,CAACL,mBAAmB,CAAC;EACnDY,UAAU,EAAErC,CAAC,CAACsC,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACjCC,aAAa,EAAExC,CAAC,CAAC4B,MAAM,CAAC,CAAC,CAACW,QAAQ,CAAC,CAAC;EACpCE,UAAU,EAAEzC,CAAC,CAAC4B,MAAM,CAAC;AACvB,CAAC,CAAC;AAACK,OAAA,CAAAC,aAAA,GAAAA,aAAA"}
1
+ {"version":3,"names":["z","_interopRequireWildcard","require","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","AuthorizationDetail","exports","object","credential_configuration_id","string","credential_identifiers","array","type","literal","TokenResponse","access_token","authorization_details","expires_in","number","optional","refresh_token","token_type"],"sourceRoot":"../../../../../src","sources":["credential/issuance/api/types.ts"],"mappings":";;;;;;AAAA,IAAAA,C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G,IAAI,EAAE7B,CAAC,CAAC8B,OAAO,CAAC,mBAAmB;AACrC,CAAC,CAAC;AAGK,MAAMC,aAAa,GAAAR,OAAA,CAAAQ,aAAA,GAAG/B,CAAC,CAACwB,MAAM,CAAC;EACpCQ,YAAY,EAAEhC,CAAC,CAAC0B,MAAM,CAAC,CAAC;EACxBO,qBAAqB,EAAEjC,CAAC,CAAC4B,KAAK,CAACN,mBAAmB,CAAC;EACnDY,UAAU,EAAElC,CAAC,CAACmC,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACjCC,aAAa,EAAErC,CAAC,CAAC0B,MAAM,CAAC,CAAC,CAACU,QAAQ,CAAC,CAAC;EACpCE,UAAU,EAAEtC,CAAC,CAAC0B,MAAM,CAAC;AACvB,CAAC,CAAC","ignoreList":[]}
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.selectResponseMode = exports.selectCredentialDefinition = void 0;
7
- var _errors = require("../../../utils/errors");
8
- var _logging = require("../../../utils/logging");
7
+ var _errors = require("../../../utils/errors.js");
8
+ var _logging = require("../../../utils/logging.js");
9
9
  /**
10
10
  * Ensures that the credential type requested is supported by the issuer and contained in the
11
11
  * issuer configuration.
@@ -1 +1 @@
1
- {"version":3,"names":["_errors","require","_logging","selectCredentialDefinition","issuerConf","credentialId","credential_configurations_supported","result","Object","keys","filter","e","includes","map","credential_configuration_id","type","Logger","log","LogLevel","ERROR","JSON","stringify","IoWalletError","exports","selectResponseMode","credentialIds","responseModeSet","Set","add","match","size","values","responseMode","DEBUG","responseModeSupported","response_modes_supported"],"sourceRoot":"../../../../../src","sources":["credential/issuance/common/02-start-user-authorization.ts"],"mappings":";;;;;;AAEA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAME,0BAA0B,GAAGA,CACxCC,UAAwB,EACxBC,YAAoB,KACI;EAC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YAAY,EAAE;IACjB,MAAM,IAAIV,qBAAa,CACpB,wDAAuDG,aAAc,GACxE,CAAC;EACH;EAEAT,eAAM,CAACC,GAAG,CACRC,iBAAQ,CAACe,KAAK,EACb,0BAAyBD,YAAa,uBAAsBP,aAAc,EAC7E,CAAC;EAED,MAAMS,qBAAqB,GAAG9B,UAAU,CAAC+B,wBAAwB;EACjE,IAAID,qBAAqB,IAAI,CAACA,qBAAqB,CAACtB,QAAQ,CAACoB,YAAY,CAAC,EAAE;IAC1EhB,eAAM,CAACC,GAAG,CACRC,iBAAQ,CAACC,KAAK,EACb,2BAA0Ba,YAAa,kEAAiEZ,IAAI,CAACC,SAAS,CAACa,qBAAqB,CAAE,EACjJ,CAAC;IACD,MAAM,IAAIZ,qBAAa,CACpB,qCAAoCG,aAAc,GACrD,CAAC;EACH;EAEA,OAAOO,YAAY;AACrB,CAAC;AAACT,OAAA,CAAAC,kBAAA,GAAAA,kBAAA"}
1
+ {"version":3,"names":["_errors","require","_logging","selectCredentialDefinition","issuerConf","credentialId","credential_configurations_supported","result","Object","keys","filter","e","includes","map","credential_configuration_id","type","Logger","log","LogLevel","ERROR","JSON","stringify","IoWalletError","exports","selectResponseMode","credentialIds","responseModeSet","Set","add","match","size","values","responseMode","DEBUG","responseModeSupported","response_modes_supported"],"sourceRoot":"../../../../../src","sources":["credential/issuance/common/02-start-user-authorization.ts"],"mappings":";;;;;;AAEA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAME,0BAA0B,GAAGA,CACxCC,UAAwB,EACxBC,YAAoB,KACI;EACxB,MAAMC,mCAAmC,GACvCF,UAAU,CAACE,mCAAmC;EAEhD,MAAM,CAACC,MAAM,CAAC,GAAGC,MAAM,CAACC,IAAI,CAACH,mCAAmC,CAAC,CAC9DI,MAAM,CAAEC,CAAC,IAAKA,CAAC,CAACC,QAAQ,CAACP,YAAY,CAAC,CAAC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AG9B,UAAU,CAAC+B,wBAAwB;EACjE,IAAID,qBAAqB,IAAI,CAACA,qBAAqB,CAACtB,QAAQ,CAACoB,YAAY,CAAC,EAAE;IAC1EhB,eAAM,CAACC,GAAG,CACRC,iBAAQ,CAACC,KAAK,EACd,2BAA2Ba,YAAY,kEAAkEZ,IAAI,CAACC,SAAS,CAACa,qBAAqB,CAAC,EAChJ,CAAC;IACD,MAAM,IAAIZ,qBAAa,CACrB,qCAAqCG,aAAa,GACpD,CAAC;EACH;EAEA,OAAOO,YAAY;AACrB,CAAC;AAACT,OAAA,CAAAC,kBAAA,GAAAA,kBAAA","ignoreList":[]}
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.verifyAndParseCredentialMDoc = void 0;
7
- var _mdoc = require("../../../mdoc");
8
- var _errors = require("../../../utils/errors");
9
- var _jwk = require("../../../utils/jwk");
7
+ var _index = require("../../../mdoc/index.js");
8
+ var _errors = require("../../../utils/errors.js");
9
+ var _jwk = require("../../../utils/jwk.js");
10
10
  /**
11
11
  * Given a credential, verify it's in the supported format
12
12
  * and the credential is correctly signed
@@ -24,7 +24,7 @@ var _jwk = require("../../../utils/jwk");
24
24
  async function verifyCredentialMDoc(rawCredential, x509CertRoot, holderBindingContext) {
25
25
  const [decodedCredential, holderBindingKey] =
26
26
  // parallel for optimization
27
- await Promise.all([(0, _mdoc.verify)(rawCredential, x509CertRoot), holderBindingContext.getPublicKey()]);
27
+ await Promise.all([(0, _index.verify)(rawCredential, x509CertRoot), holderBindingContext.getPublicKey()]);
28
28
  if (!decodedCredential) {
29
29
  throw new _errors.IoWalletError("No MDOC credentials found!");
30
30
  }
@@ -34,12 +34,9 @@ async function verifyCredentialMDoc(rawCredential, x509CertRoot, holderBindingCo
34
34
  }
35
35
  return decodedCredential;
36
36
  }
37
- const parseCredentialMDoc = function (credentialConfig, _ref) {
38
- let {
39
- issuerSigned
40
- } = _ref;
41
- let ignoreMissingAttributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
42
- let includeUndefinedAttributes = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
37
+ const parseCredentialMDoc = (credentialConfig, {
38
+ issuerSigned
39
+ }, ignoreMissingAttributes = false, includeUndefinedAttributes = false) => {
43
40
  if (!credentialConfig) {
44
41
  throw new _errors.IoWalletError("Credential type not supported by the issuer");
45
42
  }
@@ -50,39 +47,21 @@ const parseCredentialMDoc = function (credentialConfig, _ref) {
50
47
  // Claims without display property (such as `iat`, `exp`, `iss`, etc.)
51
48
  // must be ignored as they are not meant to be displayed to the user.
52
49
  const displayableClaims = credentialConfig.claims.filter(c => c.display !== undefined);
53
- const attrDefinitions = displayableClaims.map(_ref2 => {
54
- let {
55
- display,
56
- path: [namespace, attribute]
57
- } = _ref2;
58
- return [namespace, attribute, display];
59
- });
50
+ const attrDefinitions = displayableClaims.map(({
51
+ display,
52
+ path: [namespace, attribute]
53
+ }) => [namespace, attribute, display]);
60
54
  if (!issuerSigned.nameSpaces) {
61
55
  throw new _errors.IoWalletError("Missing claims in the credential");
62
56
  }
63
- const flatNamespaces = Object.entries(issuerSigned.nameSpaces).flatMap(_ref3 => {
64
- let [namespace, values] = _ref3;
65
- return values.map(v => [namespace, v.elementIdentifier, v.elementValue]);
66
- });
57
+ const flatNamespaces = Object.entries(issuerSigned.nameSpaces).flatMap(([namespace, values]) => values.map(v => [namespace, v.elementIdentifier, v.elementValue]));
67
58
 
68
59
  // Check that all mandatory attributes defined in the issuer configuration are present in the disclosure set
69
60
  // and filter the non present ones
70
- const attrsNotInDisclosures = attrDefinitions.filter(_ref4 => {
71
- let [attrDefNamespace, attrKey] = _ref4;
72
- return !flatNamespaces.some(_ref5 => {
73
- let [namespace, claim] = _ref5;
74
- return attrDefNamespace === namespace && attrKey === claim;
75
- });
76
- });
61
+ const attrsNotInDisclosures = attrDefinitions.filter(([attrDefNamespace, attrKey]) => !flatNamespaces.some(([namespace, claim]) => attrDefNamespace === namespace && attrKey === claim));
77
62
  if (attrsNotInDisclosures.length > 0) {
78
- const missing = attrsNotInDisclosures.map(_ref6 => {
79
- let [, attrKey] = _ref6;
80
- return attrKey;
81
- }).join(", ");
82
- const received = flatNamespaces.map(_ref7 => {
83
- let [, attrKey] = _ref7;
84
- return attrKey;
85
- }).join(", ");
63
+ const missing = attrsNotInDisclosures.map(([, attrKey]) => attrKey).join(", ");
64
+ const received = flatNamespaces.map(([, attrKey]) => attrKey).join(", ");
86
65
  if (!ignoreMissingAttributes) {
87
66
  throw new _errors.IoWalletError(`Some attributes are missing in the credential. Missing: [${missing}], received: [${received}]`);
88
67
  }
@@ -91,57 +70,35 @@ const parseCredentialMDoc = function (credentialConfig, _ref) {
91
70
  // Attributes defined in the issuer configuration and present in the disclosure set
92
71
  const definedValues = attrDefinitions
93
72
  // Retrieve the value from the corresponding disclosure
94
- .map(_ref8 => {
95
- var _flatNamespaces$find;
96
- let [attrDefNamespace, attrKey, display] = _ref8;
97
- return [attrDefNamespace, attrKey, {
98
- display,
99
- value: (_flatNamespaces$find = flatNamespaces.find(_ref9 => {
100
- let [namespace, name] = _ref9;
101
- return attrDefNamespace === namespace && name === attrKey;
102
- })) === null || _flatNamespaces$find === void 0 ? void 0 : _flatNamespaces$find[2]
103
- }];
104
- })
73
+ .map(([attrDefNamespace, attrKey, display]) => [attrDefNamespace, attrKey, {
74
+ display,
75
+ value: flatNamespaces.find(([namespace, name]) => attrDefNamespace === namespace && name === attrKey)?.[2]
76
+ }])
105
77
  //filter the not found elements
106
- .filter(_ref10 => {
107
- let [_, __, definition] = _ref10;
108
- return definition.value !== undefined;
109
- })
78
+ .filter(([_, __, definition]) => definition.value !== undefined)
110
79
  // Add a human-readable attribute name, with i18n, in the form { locale: name }
111
80
  // Example: { "it-IT": "Nome", "en-EN": "Name", "es-ES": "Nombre" }
112
- .reduce((acc, _ref11) => {
113
- let [attrDefNamespace, attrKey, {
114
- display,
81
+ .reduce((acc, [attrDefNamespace, attrKey, {
82
+ display,
83
+ value
84
+ }]) => ({
85
+ ...acc,
86
+ [(0, _index.getParsedCredentialClaimKey)(attrDefNamespace, attrKey)]: {
87
+ name: display.reduce((names, {
88
+ locale,
89
+ name
90
+ }) => ({
91
+ ...names,
92
+ [locale]: name
93
+ }), {}),
115
94
  value
116
- }] = _ref11;
117
- return {
118
- ...acc,
119
- [(0, _mdoc.getParsedCredentialClaimKey)(attrDefNamespace, attrKey)]: {
120
- name: display.reduce((names, _ref12) => {
121
- let {
122
- locale,
123
- name
124
- } = _ref12;
125
- return {
126
- ...names,
127
- [locale]: name
128
- };
129
- }, {}),
130
- value
131
- }
132
- };
133
- }, {});
95
+ }
96
+ }), {});
134
97
  if (includeUndefinedAttributes) {
135
- const undefinedValues = Object.fromEntries(Object.values(flatNamespaces).filter(_ref13 => {
136
- let [namespace, key] = _ref13;
137
- return !definedValues[(0, _mdoc.getParsedCredentialClaimKey)(namespace, key)];
138
- }).map(_ref14 => {
139
- let [namespace, key, value] = _ref14;
140
- return [(0, _mdoc.getParsedCredentialClaimKey)(namespace, key), {
141
- name: key,
142
- value
143
- }];
144
- }));
98
+ const undefinedValues = Object.fromEntries(Object.values(flatNamespaces).filter(([namespace, key]) => !definedValues[(0, _index.getParsedCredentialClaimKey)(namespace, key)]).map(([namespace, key, value]) => [(0, _index.getParsedCredentialClaimKey)(namespace, key), {
99
+ name: key,
100
+ value
101
+ }]));
145
102
  return {
146
103
  ...definedValues,
147
104
  ...undefinedValues
@@ -149,12 +106,11 @@ const parseCredentialMDoc = function (credentialConfig, _ref) {
149
106
  }
150
107
  return definedValues;
151
108
  };
152
- const verifyAndParseCredentialMDoc = async (issuerConf, credential, credentialConfigurationId, _ref15, x509CertRoot) => {
153
- let {
154
- credentialCryptoContext,
155
- ignoreMissingAttributes,
156
- includeUndefinedAttributes
157
- } = _ref15;
109
+ const verifyAndParseCredentialMDoc = async (issuerConf, credential, credentialConfigurationId, {
110
+ credentialCryptoContext,
111
+ ignoreMissingAttributes,
112
+ includeUndefinedAttributes
113
+ }, x509CertRoot) => {
158
114
  if (!x509CertRoot) {
159
115
  throw new _errors.IoWalletError("Missing x509CertRoot");
160
116
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_mdoc","require","_errors","_jwk","verifyCredentialMDoc","rawCredential","x509CertRoot","holderBindingContext","decodedCredential","holderBindingKey","Promise","all","verifyMdoc","getPublicKey","IoWalletError","key","issuerSigned","issuerAuth","payload","deviceKeyInfo","deviceKey","isSameThumbprint","parseCredentialMDoc","credentialConfig","_ref","ignoreMissingAttributes","arguments","length","undefined","includeUndefinedAttributes","claims","displayableClaims","filter","c","display","attrDefinitions","map","_ref2","path","namespace","attribute","nameSpaces","flatNamespaces","Object","entries","flatMap","_ref3","values","v","elementIdentifier","elementValue","attrsNotInDisclosures","_ref4","attrDefNamespace","attrKey","some","_ref5","claim","missing","_ref6","join","received","_ref7","definedValues","_ref8","_flatNamespaces$find","value","find","_ref9","name","_ref10","_","__","definition","reduce","acc","_ref11","getParsedCredentialClaimKey","names","_ref12","locale","undefinedValues","fromEntries","_ref13","_ref14","verifyAndParseCredentialMDoc","issuerConf","credential","credentialConfigurationId","_ref15","credentialCryptoContext","decoded","credential_configurations_supported","parsedCredential","signed","validUntil","validityInfo","expiration","issuedAt","exports"],"sourceRoot":"../../../../../src","sources":["credential/issuance/common/06-verify-and-parse-credential.mdoc.ts"],"mappings":";;;;;;AAOA,IAAAA,KAAA,GAAAC,OAAA;AAIA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,IAAA,GAAAF,OAAA;AAeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAeG,oBAAoBA,CACjCC,aAAqB,EACrBC,YAAoB,EACpBC,oBAAmC,EACH;EAChC,MAAM,CAACC,iBAAiB,EAAEC,gBAAgB,CAAC;EACzC;EACA,MAAMC,OAAO,CAACC,GAAG,CAAC,CAChB,IAAAC,YAAU,EAACP,aAAa,EAAEC,YAAY,C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MAAMK,gBAAgB,GAAGvE,mBAAmB,CAC1CC,gBAAgB,EAChBoE,OAAO,EACPlE,uBAAuB,EACvBI,0BACF,CAAC;EAED,MAAM;IAAEiE,MAAM;IAAEC;EAAW,CAAC,GAC1BJ,OAAO,CAAC3E,YAAY,CAACC,UAAU,CAACC,OAAO,CAAC8E,YAAY;EAEtD,OAAO;IACLT,UAAU;IACVC,yBAAyB;IACzBS,UAAU,EAAEF,UAAU;IACtBG,QAAQ,EAAEJ,MAAM;IAChBD;EACF,CAAC;AACH,CAAC;AAACM,OAAA,CAAAd,4BAAA,GAAAA,4BAAA"}
1
+ {"version":3,"names":["_index","require","_errors","_jwk","verifyCredentialMDoc","rawCredential","x509CertRoot","holderBindingContext","decodedCredential","holderBindingKey","Promise","all","verifyMdoc","getPublicKey","IoWalletError","key","issuerSigned","issuerAuth","payload","deviceKeyInfo","deviceKey","isSameThumbprint","parseCredentialMDoc","credentialConfig","ignoreMissingAttributes","includeUndefinedAttributes","claims","displayableClaims","filter","c","display","undefined","attrDefinitions","map","path","namespace","attribute","nameSpaces","flatNamespaces","Object","entries","flatMap","values","v","elementIdentifier","elementValue","attrsNotInDisclosures","attrDefNamespace","attrKey","some","claim","length","missing","join","received","definedValues","value","find","name","_","__","definition","reduce","acc","getParsedCredentialClaimKey","names","locale","undefinedValues","fromEntries","verifyAndParseCredentialMDoc","issuerConf","credential","credentialConfigurationId","credentialCryptoContext","decoded","credential_configurations_supported","parsedCredential","signed","validUntil","validityInfo","expiration","issuedAt","exports"],"sourceRoot":"../../../../../src","sources":["credential/issuance/common/06-verify-and-parse-credential.mdoc.ts"],"mappings":";;;;;;AAOA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,IAAA,GAAAF,OAAA;AAeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAeG,oBAAoBA,CACjCC,aAAqB,EACrBC,YAAoB,EAC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CAAC;EACH;EAEA,OAAOZ,aAAa;AACtB,CAAC;AAEM,MAAMc,4BAAqE,GAChF,MAAAA,CACEC,UAAU,EACVC,UAAU,EACVC,yBAAyB,EACzB;EACEC,uBAAuB;EACvBjD,uBAAuB;EACvBC;AACF,CAAC,EACDnB,YAAY,KACT;EACH,IAAI,CAACA,YAAY,EAAE;IACjB,MAAM,IAAIQ,qBAAa,CAAC,sBAAsB,CAAC;EACjD;EAEA,MAAM4D,OAAO,GAAG,MAAMtE,oBAAoB,CACxCmE,UAAU,EACVjE,YAAY,EACZmE,uBACF,CAAC;EAED,MAAMlD,gBAAgB,GACpB+C,UAAU,CAACK,mCAAmC,CAACH,yBAAyB,CAAC;EAC3E,IAAI,CAACjD,gBAAgB,EAAE;IACrB,MAAM,IAAIT,qBAAa,CACrB,wCAAwC0D,yBAAyB,EACnE,CAAC;EACH;EACA,MAAMI,gBAAgB,GAAGtD,mBAAmB,CAC1CC,gBAAgB,EAChBmD,OAAO,EACPlD,uBAAuB,EACvBC,0BACF,CAAC;EAED,MAAM;IAAEoD,MAAM;IAAEC;EAAW,CAAC,GAC1BJ,OAAO,CAAC1D,YAAY,CAACC,UAAU,CAACC,OAAO,CAAC6D,YAAY;EAEtD,OAAO;IACLR,UAAU;IACVC,yBAAyB;IACzBQ,UAAU,EAAEF,UAAU;IACtBG,QAAQ,EAAEJ,MAAM;IAChBD;EACF,CAAC;AACH,CAAC;AAACM,OAAA,CAAAb,4BAAA,GAAAA,4BAAA","ignoreList":[]}
@@ -4,16 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.verifyAndParseCredentialSdJwt = void 0;
7
+ var _crypto = require("@owf/crypto");
7
8
  var _ioReactNativeJwt = require("@pagopa/io-react-native-jwt");
8
9
  var _core = require("@sd-jwt/core");
9
- var _cryptoNodejs = require("@sd-jwt/crypto-nodejs");
10
- var _errors = require("../../../trust/common/errors");
11
- var _credentials = require("../../../utils/credentials");
12
- var _errors2 = require("../../../utils/errors");
13
- var _jwk = require("../../../utils/jwk");
14
- var _logging = require("../../../utils/logging");
15
- var _parser = require("../../../utils/parser");
16
- var _x = require("../../../utils/x509");
10
+ var _errors = require("../../../trust/common/errors.js");
11
+ var _credentials = require("../../../utils/credentials.js");
12
+ var _errors2 = require("../../../utils/errors.js");
13
+ var _jwk = require("../../../utils/jwk.js");
14
+ var _logging = require("../../../utils/logging.js");
15
+ var _parser = require("../../../utils/parser.js");
16
+ var _x = require("../../../utils/x509.js");
17
17
  /**
18
18
  * Parse a Sd-Jwt credential according to the issuer configuration
19
19
  * @param credentialConfig - the list of supported credentials, as defined in the issuer configuration with their claims metadata
@@ -22,9 +22,7 @@ var _x = require("../../../utils/x509");
22
22
  * @param includeUndefinedAttributes - include attributes not explicitly declared in the issuer configuration
23
23
  * @returns The parsed credential with attributes in plain value
24
24
  */
25
- const parseCredentialSdJwt = function (credentialConfig, parsedCredentialRaw) {
26
- let ignoreMissingAttributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
27
- let includeUndefinedAttributes = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
25
+ const parseCredentialSdJwt = (credentialConfig, parsedCredentialRaw, ignoreMissingAttributes = false, includeUndefinedAttributes = false) => {
28
26
  // Claims without display property (such as `iat`, `exp`, `iss`, etc.)
29
27
  // must be ignored as they are not meant to be displayed to the user.
30
28
  const displayableClaims = (credentialConfig.claims || []).filter(c => c.display !== undefined);
@@ -127,7 +125,7 @@ const parseCredentialSdJwt = function (credentialConfig, parsedCredentialRaw) {
127
125
  * @returns Boolean indicating whether the verification succeeded or not
128
126
  */
129
127
  const sdJwtInstanceVerifier = async (data, signature, options) => {
130
- if (!(options !== null && options !== void 0 && options.issuerKeys)) {
128
+ if (!options?.issuerKeys) {
131
129
  return false;
132
130
  }
133
131
  try {
@@ -157,7 +155,7 @@ const sdJwtInstanceVerifier = async (data, signature, options) => {
157
155
  */
158
156
  async function verifyCredentialSdJwt(rawCredential, issuerKeys, holderBindingContext) {
159
157
  const sdJwtInstance = new _core.SDJwtInstance({
160
- hasher: _cryptoNodejs.digest,
158
+ hasher: _crypto.hasher,
161
159
  verifier: sdJwtInstanceVerifier
162
160
  });
163
161
  const [verifiedCredential, holderBindingKey] = await Promise.all([sdJwtInstance.verify(rawCredential, {
@@ -174,21 +172,19 @@ async function verifyCredentialSdJwt(rawCredential, issuerKeys, holderBindingCon
174
172
  }
175
173
  return await sdJwtInstance.decode((0, _credentials.fixLegacyCredentialSdJwt)(rawCredential));
176
174
  }
177
- const verifyAndParseCredentialSdJwt = async (issuerConf, credential, credentialConfigurationId, _ref, x509CertRoot) => {
178
- let {
179
- credentialCryptoContext,
180
- ignoreMissingAttributes,
181
- includeUndefinedAttributes,
182
- validateCertificateChain
183
- } = _ref;
175
+ const verifyAndParseCredentialSdJwt = async (issuerConf, credential, credentialConfigurationId, {
176
+ credentialCryptoContext,
177
+ ignoreMissingAttributes,
178
+ includeUndefinedAttributes,
179
+ validateCertificateChain
180
+ }, x509CertRoot) => {
184
181
  const decoded = await verifyCredentialSdJwt(credential, issuerConf.keys, credentialCryptoContext);
185
182
  _logging.Logger.log(_logging.LogLevel.DEBUG, `Decoded credential: ${JSON.stringify(decoded)}`);
186
183
  if (validateCertificateChain) {
187
- var _decoded$jwt;
188
184
  if (!x509CertRoot) {
189
185
  throw new _errors2.IoWalletError("Missing x509CertRoot");
190
186
  }
191
- const x5c = (_decoded$jwt = decoded.jwt) === null || _decoded$jwt === void 0 || (_decoded$jwt = _decoded$jwt.header) === null || _decoded$jwt === void 0 ? void 0 : _decoded$jwt.x5c;
187
+ const x5c = decoded.jwt?.header?.x5c;
192
188
  if (!x5c || !Array.isArray(x5c) || x5c.length === 0) {
193
189
  throw new _errors.MissingX509CertsError("Missing x509 certificates");
194
190
  }
@@ -199,7 +195,7 @@ const verifyAndParseCredentialSdJwt = async (issuerConf, credential, credentialC
199
195
  _logging.Logger.log(_logging.LogLevel.ERROR, `Credential type not supported by the issuer: ${credentialConfigurationId}`);
200
196
  throw new _errors2.IoWalletError("Credential type not supported by the issuer");
201
197
  }
202
- const parsedCredentialRaw = await decoded.getClaims(_cryptoNodejs.digest);
198
+ const parsedCredentialRaw = await decoded.getClaims(_crypto.hasher);
203
199
  const parsedCredential = parseCredentialSdJwt(credentialConfig, parsedCredentialRaw, ignoreMissingAttributes, includeUndefinedAttributes);
204
200
  const issuedAt = typeof parsedCredentialRaw.iat === "number" ? new Date(parsedCredentialRaw.iat * 1000) : undefined;
205
201
  if (typeof parsedCredentialRaw.exp !== "number") {
@@ -1 +1 @@
1
- {"version":3,"names":["_ioReactNativeJwt","require","_core","_cryptoNodejs","_errors","_credentials","_errors2","_jwk","_logging","_parser","_x","parseCredentialSdJwt","credentialConfig","parsedCredentialRaw","ignoreMissingAttributes","arguments","length","undefined","includeUndefinedAttributes","displayableClaims","claims","filter","c","display","missingPaths","rootKeysToVerify","Set","map","path","p","rootKey","push","missing","join","received","Object","keys","IoWalletError","getDisplayNames","match","find","isPathEqual","nameMap","entry","locale","name","processLevel","currentData","currentPath","Array","isArray","item","dataObj","result","processedKeys","configKeysAtThisLevel","claim","isPrefixOf","nextPart","includes","key","stringKey","toString","dataValue","newPath","localizedNames","value","add","entries","has","sdJwtInstanceVerifier","data","signature","options","issuerKeys","verifyJwt","clockTolerance","skewSeconds","verifyCredentialSdJwt","rawCredential","holderBindingContext","sdJwtInstance","SDJwtInstance","hasher","digest","verifier","verifiedCredential","holderBindingKey","Promise","all","verify","getPublicKey","cnf","payload","isSameThumbprint","jwk","message","kid","Logger","log","LogLevel","ERROR","decode","fixLegacyCredentialSdJwt","verifyAndParseCredentialSdJwt","issuerConf","credential","credentialConfigurationId","_ref","x509CertRoot","credentialCryptoContext","validateCertificateChain","decoded","DEBUG","JSON","stringify","_decoded$jwt","x5c","jwt","header","MissingX509CertsError","verifyX509Chain","credential_configurations_supported","getClaims","parsedCredential","issuedAt","iat","Date","exp","expiration","exports"],"sourceRoot":"../../../../../src","sources":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M,OAAA,CAAA1B,6BAAA,GAAAA,6BAAA"}
1
+ {"version":3,"names":["_crypto","require","_ioReactNativeJwt","_core","_errors","_credentials","_errors2","_jwk","_logging","_parser","_x","parseCredentialSdJwt","credentialConfig","parsedCredentialRaw","ignoreMissingAttributes","includeUndefinedAttributes","displayableClaims","claims","filter","c","display","undefined","missingPaths","rootKeysToVerify","Set","map","path","p","rootKey","push","length","missing","join","received","Object","keys","IoWalletError","getDisplayNames","match","find","isPathEqual","nameMap","entry","locale","name","processLevel","currentData","currentPath","Array","isArray","item","dataObj","result","processedKeys","configKeysAtThisLevel","claim","isPrefixOf","nextPart","includes","key","stringKey","toString","dataValue","newPath","localizedNames","value","add","entries","has","sdJwtInstanceVerifier","data","signature","options","issuerKeys","verifyJwt","clockTolerance","skewSeconds","verifyCredentialSdJwt","rawCredential","holderBindingContext","sdJwtInstance","SDJwtInstance","hasher","verifier","verifiedCredential","holderBindingKey","Promise","all","verify","getPublicKey","cnf","payload","isSameThumbprint","jwk","message","kid","Logger","log","LogLevel","ERROR","decode","fixLegacyCredentialSdJwt","verifyAndParseCredentialSdJwt","issuerConf","credential","credentialConfigurationId","credentialCryptoContext","validateCertificateChain","x509CertRoot","decoded","DEBUG","JSON","stringify","x5c","jwt","header","MissingX509CertsError","verifyX509Chain","credential_configurations_supported","getClaims","parsedCredential","issuedAt","iat","Date","exp","expiration","exports"],"sourceRoot":"../../../../../src","sources":["credential/issuance/common/06-verify-and-parse-credential.sdjwt.ts"],"mappings":";;;;;;AAEA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AAIA,IAAAE,KAAA,GAAAF,OAAA;AAKA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,IAAA,GAAAN,OAAA;AACA,IAAAO,QAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AACA,IAAAS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C;EAED,MAAM0G,QAAQ,GACZ,OAAO5G,mBAAmB,CAAC6G,GAAG,KAAK,QAAQ,GACvC,IAAIC,IAAI,CAAC9G,mBAAmB,CAAC6G,GAAG,GAAG,IAAI,CAAC,GACxCrG,SAAS;EAEf,IAAI,OAAOR,mBAAmB,CAAC+G,GAAG,KAAK,QAAQ,EAAE;IAC/C,MAAM,IAAIxF,sBAAa,CAAC,2CAA2C,CAAC;EACtE;EACA,MAAMyF,UAAU,GAAG,IAAIF,IAAI,CAAC9G,mBAAmB,CAAC+G,GAAG,GAAG,IAAI,CAAC;EAE3D5B,eAAM,CAACC,GAAG,CACRC,iBAAQ,CAACY,KAAK,EACd,sBAAsBC,IAAI,CAACC,SAAS,CAACQ,gBAAgB,CAAC,gBAAgBC,QAAQ,EAChF,CAAC;EAED,OAAO;IACLI,UAAU;IACVJ,QAAQ;IACRD;EACF,CAAC;AACH,CAAC;AAACM,OAAA,CAAAxB,6BAAA,GAAAA,6BAAA","ignoreList":[]}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.AuthorizationIdpError = exports.AuthorizationError = void 0;
7
- var _errors = require("../../../utils/errors");
7
+ var _errors = require("../../../utils/errors.js");
8
8
  /**
9
9
  * An error subclass thrown when an error occurs during the authorization process.
10
10
  */
@@ -1 +1 @@
1
- {"version":3,"names":["_errors","require","AuthorizationError","IoWalletError","code","exports","AuthorizationIdpError","constructor","error","errorDescription","serializeAttrs"],"sourceRoot":"../../../../../src","sources":["credential/issuance/common/errors.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA;AACA;AACA;AACO,MAAMC,kBAAkB,SAASC,qBAAa,CAAC;EACpDC,IAAI,GAAG,mCAAmC;AAC5C;;AAEA;AACA;AACA;AACA;AAHAC,OAAA,CAAAH,kBAAA,GAAAA,kBAAA;AAIO,MAAMI,qBAAqB,SAASH,qBAAa,CAAC;EACvDC,IAAI,GAAG,sDAAsD;EAK7DG,WAAWA,CAACC,KAAa,EAAEC,gBAAyB,EAAE;IACpD,KAAK,CAAC,IAAAC,sBAAc,EAAC;MAAEF,KAAK;MAAEC;IAAiB,CAAC,CAAC,CAAC;IAClD,IAAI,CAACD,KAAK,GAAGA,KAAK;IAClB,IAAI,CAACC,gBAAgB,GAAGA,gBAAgB;EAC1C;AACF;AAACJ,OAAA,CAAAC,qBAAA,GAAAA,qBAAA"}
1
+ {"version":3,"names":["_errors","require","AuthorizationError","IoWalletError","code","exports","AuthorizationIdpError","constructor","error","errorDescription","serializeAttrs"],"sourceRoot":"../../../../../src","sources":["credential/issuance/common/errors.ts"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA;AACA;AACA;AACO,MAAMC,kBAAkB,SAASC,qBAAa,CAAC;EAC3CC,IAAI,GAAG,mCAAmC;AACrD;;AAEA;AACA;AACA;AACA;AAHAC,OAAA,CAAAH,kBAAA,GAAAA,kBAAA;AAIO,MAAMI,qBAAqB,SAASH,qBAAa,CAAC;EAC9CC,IAAI,GAAG,sDAAsD;EAKtEG,WAAWA,CAACC,KAAa,EAAEC,gBAAyB,EAAE;IACpD,KAAK,CAAC,IAAAC,sBAAc,EAAC;MAAEF,KAAK;MAAEC;IAAiB,CAAC,CAAC,CAAC;IAClD,IAAI,CAACD,KAAK,GAAGA,KAAK;IAClB,IAAI,CAACC,gBAAgB,GAAGA,gBAAgB;EAC1C;AACF;AAACJ,OAAA,CAAAC,qBAAA,GAAAA,qBAAA","ignoreList":[]}
@@ -7,19 +7,18 @@ exports.Errors = void 0;
7
7
  Object.defineProperty(exports, "V1_0_0", {
8
8
  enumerable: true,
9
9
  get: function () {
10
- return _v.Issuance;
10
+ return _index.Issuance;
11
11
  }
12
12
  });
13
13
  Object.defineProperty(exports, "V1_4_6", {
14
14
  enumerable: true,
15
15
  get: function () {
16
- return _v2.Issuance;
16
+ return _index2.Issuance;
17
17
  }
18
18
  });
19
- var Errors = _interopRequireWildcard(require("./common/errors"));
19
+ var Errors = _interopRequireWildcard(require("./common/errors.js"));
20
20
  exports.Errors = Errors;
21
- var _v = require("./v1.0.0");
22
- var _v2 = require("./v1.4.6");
23
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
24
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
+ var _index = require("./v1.0.0/index.js");
22
+ var _index2 = require("./v1.4.6/index.js");
23
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
25
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["Errors","_interopRequireWildcard","require","exports","_v","_v2","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set"],"sourceRoot":"../../../../src","sources":["credential/issuance/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA0CC,OAAA,CAAAH,MAAA,GAAAA,MAAA;AAG1C,IAAAI,EAAA,GAAAF,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AAA8C,SAAAI,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAN,wBAAAU,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA"}
1
+ {"version":3,"names":["Errors","_interopRequireWildcard","require","exports","_index","_index2","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor"],"sourceRoot":"../../../../src","sources":["credential/issuance/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA0CC,OAAA,CAAAH,MAAA,GAAAA,MAAA;AAG1C,IAAAI,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAA8C,SAAAD,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA","ignoreList":[]}
@@ -5,12 +5,11 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.verifyAndParseChallengeInfo = void 0;
7
7
  var _ioWalletOauth = require("@pagopa/io-wallet-oauth2");
8
- var _callbacks = require("../../../utils/callbacks");
9
- var _errors = require("../../../utils/errors");
10
- const verifyAndParseChallengeInfo = async (issuerConf, challengeInfoJwt, _ref) => {
11
- let {
12
- wiaCryptoContext
13
- } = _ref;
8
+ var _callbacks = require("../../../utils/callbacks.js");
9
+ var _errors = require("../../../utils/errors.js");
10
+ const verifyAndParseChallengeInfo = async (issuerConf, challengeInfoJwt, {
11
+ wiaCryptoContext
12
+ }) => {
14
13
  const clientId = await wiaCryptoContext.getPublicKey().then(x => x.kid);
15
14
  if (!clientId) {
16
15
  throw new _errors.IoWalletError("Could not extract client_id from Wallet Attestation");
@@ -1 +1 @@
1
- {"version":3,"names":["_ioWalletOauth","require","_callbacks","_errors","verifyAndParseChallengeInfo","issuerConf","challengeInfoJwt","_ref","wiaCryptoContext","clientId","getPublicKey","then","x","kid","IoWalletError","verified","verifyMrtdChallenge","callbacks","verifyJwt","createVerifyJwtFromJwks","keys","challengeJwt","payload","exports"],"sourceRoot":"../../../../../src","sources":["credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.ts"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAIA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AAEO,MAAMG,2BAAsE,GACjF,MAAAA,CAAOC,UAAU,EAAEC,gBAAgB,EAAAC,IAAA,KAA2B;EAAA,IAAzB;IAAEC;EAAiB,CAAC,GAAAD,IAAA;EACvD,MAAME,QAAQ,GAAG,MAAMD,gBAAgB,CAACE,YAAY,CAAC,CAAC,CAACC,IAAI,CAAEC,CAAC,IAAKA,CAAC,CAACC,GAAG,CAAC;EAEzE,IAAI,CAACJ,QAAQ,EAAE;IACb,MAAM,IAAIK,qBAAa,CACrB,qDACF,CAAC;EACH;EAEA,MAAMC,QAAQ,GAAG,MAAM,IAAAC,kCAAmB,EAAC;IACzCC,SAAS,EAAE;MACTC,SAAS,EAAE,IAAAC,kCAAuB,EAACd,UAAU,CAACe,IAAI;IACpD,CAAC;IACDC,YAAY,EAAEf,gBAAgB;IAC9BG;EACF,CAAC,CAAC;EAEF,OAAOM,QAAQ,CAACO,OAAO;AACzB,CAAC;AAACC,OAAA,CAAAnB,2BAAA,GAAAA,2BAAA"}
1
+ {"version":3,"names":["_ioWalletOauth","require","_callbacks","_errors","verifyAndParseChallengeInfo","issuerConf","challengeInfoJwt","wiaCryptoContext","clientId","getPublicKey","then","x","kid","IoWalletError","verified","verifyMrtdChallenge","callbacks","verifyJwt","createVerifyJwtFromJwks","keys","challengeJwt","payload","exports"],"sourceRoot":"../../../../../src","sources":["credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.ts"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAIA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AAEO,MAAMG,2BAAsE,GACjF,MAAAA,CAAOC,UAAU,EAAEC,gBAAgB,EAAE;EAAEC;AAAiB,CAAC,KAAK;EAC5D,MAAMC,QAAQ,GAAG,MAAMD,gBAAgB,CAACE,YAAY,CAAC,CAAC,CAACC,IAAI,CAAEC,CAAC,IAAKA,CAAC,CAACC,GAAG,CAAC;EAEzE,IAAI,CAACJ,QAAQ,EAAE;IACb,MAAM,IAAIK,qBAAa,CACrB,qDACF,CAAC;EACH;EAEA,MAAMC,QAAQ,GAAG,MAAM,IAAAC,kCAAmB,EAAC;IACzCC,SAAS,EAAE;MACTC,SAAS,EAAE,IAAAC,kCAAuB,EAACb,UAAU,CAACc,IAAI;IACpD,CAAC;IACDC,YAAY,EAAEd,gBAAgB;IAC9BE;EACF,CAAC,CAAC;EAEF,OAAOM,QAAQ,CAACO,OAAO;AACzB,CAAC;AAACC,OAAA,CAAAlB,2BAAA,GAAAA,2BAAA","ignoreList":[]}