@pagopa/io-react-native-wallet 3.6.3 → 3.6.4

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 (1003) hide show
  1. package/lib/commonjs/IoWallet.js +5 -3
  2. package/lib/commonjs/IoWallet.js.map +1 -1
  3. package/lib/commonjs/api/index.js +19 -19
  4. package/lib/commonjs/api/index.js.map +1 -1
  5. package/lib/commonjs/client/index.js +9 -11
  6. package/lib/commonjs/client/index.js.map +1 -1
  7. package/lib/commonjs/credential/issuance/api/IssuerConfig.js +23 -23
  8. package/lib/commonjs/credential/issuance/api/IssuerConfig.js.map +1 -1
  9. package/lib/commonjs/credential/issuance/api/mrtd-pop/index.js.map +1 -1
  10. package/lib/commonjs/credential/issuance/api/types.js +3 -3
  11. package/lib/commonjs/credential/issuance/api/types.js.map +1 -1
  12. package/lib/commonjs/credential/issuance/common/02-start-user-authorization.js +3 -0
  13. package/lib/commonjs/credential/issuance/common/02-start-user-authorization.js.map +1 -1
  14. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.mdoc.js +11 -8
  15. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.mdoc.js.map +1 -1
  16. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js +13 -13
  17. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
  18. package/lib/commonjs/credential/issuance/common/errors.js +0 -3
  19. package/lib/commonjs/credential/issuance/common/errors.js.map +1 -1
  20. package/lib/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js +4 -4
  21. package/lib/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js.map +1 -1
  22. package/lib/commonjs/credential/issuance/mrtd-pop/02-init-challenge.js +14 -14
  23. package/lib/commonjs/credential/issuance/mrtd-pop/02-init-challenge.js.map +1 -1
  24. package/lib/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.js +20 -20
  25. package/lib/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.js.map +1 -1
  26. package/lib/commonjs/credential/issuance/mrtd-pop/index.js +4 -4
  27. package/lib/commonjs/credential/issuance/mrtd-pop/index.js.map +1 -1
  28. package/lib/commonjs/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js.map +1 -1
  29. package/lib/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.js +13 -13
  30. package/lib/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.js.map +1 -1
  31. package/lib/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.js +18 -18
  32. package/lib/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.js.map +1 -1
  33. package/lib/commonjs/credential/issuance/v1.0.0/04-authorize-access.js +10 -10
  34. package/lib/commonjs/credential/issuance/v1.0.0/04-authorize-access.js.map +1 -1
  35. package/lib/commonjs/credential/issuance/v1.0.0/05-obtain-credential.js +24 -15
  36. package/lib/commonjs/credential/issuance/v1.0.0/05-obtain-credential.js.map +1 -1
  37. package/lib/commonjs/credential/issuance/v1.0.0/06-verify-and-parse-credential.js.map +1 -1
  38. package/lib/commonjs/credential/issuance/v1.0.0/index.js +8 -8
  39. package/lib/commonjs/credential/issuance/v1.0.0/index.js.map +1 -1
  40. package/lib/commonjs/credential/issuance/v1.0.0/mappers.js +7 -7
  41. package/lib/commonjs/credential/issuance/v1.0.0/mappers.js.map +1 -1
  42. package/lib/commonjs/credential/issuance/v1.0.0/types.js.map +1 -1
  43. package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +3 -3
  44. package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
  45. package/lib/commonjs/credential/issuance/v1.3.3/02-start-user-authorization.js +30 -30
  46. package/lib/commonjs/credential/issuance/v1.3.3/02-start-user-authorization.js.map +1 -1
  47. package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js +37 -37
  48. package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
  49. package/lib/commonjs/credential/issuance/v1.3.3/04-authorize-access.js +16 -16
  50. package/lib/commonjs/credential/issuance/v1.3.3/04-authorize-access.js.map +1 -1
  51. package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js +32 -28
  52. package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
  53. package/lib/commonjs/credential/issuance/v1.3.3/06-verify-and-parse-credential.js.map +1 -1
  54. package/lib/commonjs/credential/issuance/v1.3.3/index.js +8 -8
  55. package/lib/commonjs/credential/issuance/v1.3.3/index.js.map +1 -1
  56. package/lib/commonjs/credential/issuance/v1.3.3/mappers.js +18 -17
  57. package/lib/commonjs/credential/issuance/v1.3.3/mappers.js.map +1 -1
  58. package/lib/commonjs/credential/offer/common/errors.js +0 -6
  59. package/lib/commonjs/credential/offer/common/errors.js.map +1 -1
  60. package/lib/commonjs/credential/offer/v1.0.0/index.js +3 -3
  61. package/lib/commonjs/credential/offer/v1.0.0/index.js.map +1 -1
  62. package/lib/commonjs/credential/offer/v1.3.3/01-resolve-credential-offer.js +4 -4
  63. package/lib/commonjs/credential/offer/v1.3.3/01-resolve-credential-offer.js.map +1 -1
  64. package/lib/commonjs/credential/offer/v1.3.3/02-extract-grant-details.js +4 -4
  65. package/lib/commonjs/credential/offer/v1.3.3/02-extract-grant-details.js.map +1 -1
  66. package/lib/commonjs/credential/offer/v1.3.3/03-validate-credential-offer.js +5 -5
  67. package/lib/commonjs/credential/offer/v1.3.3/03-validate-credential-offer.js.map +1 -1
  68. package/lib/commonjs/credential/offer/v1.3.3/index.js +1 -1
  69. package/lib/commonjs/credential/offer/v1.3.3/index.js.map +1 -1
  70. package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js +8 -8
  71. package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
  72. package/lib/commonjs/credential/presentation/api/types.js +11 -11
  73. package/lib/commonjs/credential/presentation/api/types.js.map +1 -1
  74. package/lib/commonjs/credential/presentation/common/errors.js +24 -23
  75. package/lib/commonjs/credential/presentation/common/errors.js.map +1 -1
  76. package/lib/commonjs/credential/presentation/common/utils/dcql.js +38 -35
  77. package/lib/commonjs/credential/presentation/common/utils/dcql.js.map +1 -1
  78. package/lib/commonjs/credential/presentation/common/utils/mdoc.js +20 -22
  79. package/lib/commonjs/credential/presentation/common/utils/mdoc.js.map +1 -1
  80. package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js +10 -10
  81. package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js.map +1 -1
  82. package/lib/commonjs/credential/presentation/v1.0.0/01-start-flow.js +1 -1
  83. package/lib/commonjs/credential/presentation/v1.0.0/01-start-flow.js.map +1 -1
  84. package/lib/commonjs/credential/presentation/v1.0.0/02-evaluate-rp-trust.js.map +1 -1
  85. package/lib/commonjs/credential/presentation/v1.0.0/03-get-request-object.js +2 -2
  86. package/lib/commonjs/credential/presentation/v1.0.0/03-get-request-object.js.map +1 -1
  87. package/lib/commonjs/credential/presentation/v1.0.0/05-verify-request-object.js +3 -3
  88. package/lib/commonjs/credential/presentation/v1.0.0/05-verify-request-object.js.map +1 -1
  89. package/lib/commonjs/credential/presentation/v1.0.0/06-evaluate-dcql-query.js +17 -12
  90. package/lib/commonjs/credential/presentation/v1.0.0/06-evaluate-dcql-query.js.map +1 -1
  91. package/lib/commonjs/credential/presentation/v1.0.0/07-send-authorization-response.js +20 -20
  92. package/lib/commonjs/credential/presentation/v1.0.0/07-send-authorization-response.js.map +1 -1
  93. package/lib/commonjs/credential/presentation/v1.0.0/index.js +4 -4
  94. package/lib/commonjs/credential/presentation/v1.0.0/index.js.map +1 -1
  95. package/lib/commonjs/credential/presentation/v1.0.0/mappers.js +6 -6
  96. package/lib/commonjs/credential/presentation/v1.0.0/mappers.js.map +1 -1
  97. package/lib/commonjs/credential/presentation/v1.0.0/types.js +12 -12
  98. package/lib/commonjs/credential/presentation/v1.0.0/types.js.map +1 -1
  99. package/lib/commonjs/credential/presentation/v1.0.0/utils.js.map +1 -1
  100. package/lib/commonjs/credential/presentation/v1.0.0/utils.jwks.js.map +1 -1
  101. package/lib/commonjs/credential/presentation/v1.3.3/01-start-flow.js +2 -2
  102. package/lib/commonjs/credential/presentation/v1.3.3/01-start-flow.js.map +1 -1
  103. package/lib/commonjs/credential/presentation/v1.3.3/02-evaluate-rp-trust.js.map +1 -1
  104. package/lib/commonjs/credential/presentation/v1.3.3/03-get-request-object.js +1 -1
  105. package/lib/commonjs/credential/presentation/v1.3.3/03-get-request-object.js.map +1 -1
  106. package/lib/commonjs/credential/presentation/v1.3.3/04-verify-certificate-chain.js +3 -3
  107. package/lib/commonjs/credential/presentation/v1.3.3/04-verify-certificate-chain.js.map +1 -1
  108. package/lib/commonjs/credential/presentation/v1.3.3/05-verify-request-object.js +11 -7
  109. package/lib/commonjs/credential/presentation/v1.3.3/05-verify-request-object.js.map +1 -1
  110. package/lib/commonjs/credential/presentation/v1.3.3/06-evaluate-dcql-query.js +24 -16
  111. package/lib/commonjs/credential/presentation/v1.3.3/06-evaluate-dcql-query.js.map +1 -1
  112. package/lib/commonjs/credential/presentation/v1.3.3/07-send-authorization-response.js +31 -26
  113. package/lib/commonjs/credential/presentation/v1.3.3/07-send-authorization-response.js.map +1 -1
  114. package/lib/commonjs/credential/presentation/v1.3.3/index.js +5 -5
  115. package/lib/commonjs/credential/presentation/v1.3.3/index.js.map +1 -1
  116. package/lib/commonjs/credential/presentation/v1.3.3/mappers.js +11 -11
  117. package/lib/commonjs/credential/presentation/v1.3.3/mappers.js.map +1 -1
  118. package/lib/commonjs/credential/presentation/v1.3.3/sdkErrorMapper.js +2 -2
  119. package/lib/commonjs/credential/presentation/v1.3.3/sdkErrorMapper.js.map +1 -1
  120. package/lib/commonjs/credential/presentation/v1.3.3/types.js +3 -3
  121. package/lib/commonjs/credential/presentation/v1.3.3/types.js.map +1 -1
  122. package/lib/commonjs/credential/status/api/types.js +6 -6
  123. package/lib/commonjs/credential/status/api/types.js.map +1 -1
  124. package/lib/commonjs/credential/status/v1.0.0/01-status-assertion.js +15 -12
  125. package/lib/commonjs/credential/status/v1.0.0/01-status-assertion.js.map +1 -1
  126. package/lib/commonjs/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js +17 -10
  127. package/lib/commonjs/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js.map +1 -1
  128. package/lib/commonjs/credential/status/v1.0.0/index.js +1 -1
  129. package/lib/commonjs/credential/status/v1.0.0/index.js.map +1 -1
  130. package/lib/commonjs/credential/status/v1.0.0/mappers.js.map +1 -1
  131. package/lib/commonjs/credential/status/v1.0.0/types.js +18 -18
  132. package/lib/commonjs/credential/status/v1.0.0/types.js.map +1 -1
  133. package/lib/commonjs/credential/status/v1.3.3/01-status-list.js +4 -4
  134. package/lib/commonjs/credential/status/v1.3.3/01-status-list.js.map +1 -1
  135. package/lib/commonjs/credential/status/v1.3.3/02-verify-and-parse-status-list.js.map +1 -1
  136. package/lib/commonjs/credential/status/v1.3.3/03-get-status.js +2 -2
  137. package/lib/commonjs/credential/status/v1.3.3/03-get-status.js.map +1 -1
  138. package/lib/commonjs/credential/status/v1.3.3/index.js +3 -3
  139. package/lib/commonjs/credential/status/v1.3.3/index.js.map +1 -1
  140. package/lib/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.js +7 -7
  141. package/lib/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.js.map +1 -1
  142. package/lib/commonjs/credential/trustmark/v1.0.0/index.js.map +1 -1
  143. package/lib/commonjs/credential/trustmark/v1.3.3/index.js.map +1 -1
  144. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js +54 -54
  145. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  146. package/lib/commonjs/credentials-catalogue/common/get-status-l10n-ids.js +2 -2
  147. package/lib/commonjs/credentials-catalogue/common/get-status-l10n-ids.js.map +1 -1
  148. package/lib/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js +2 -2
  149. package/lib/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js.map +1 -1
  150. package/lib/commonjs/credentials-catalogue/v1.0.0/index.js +1 -1
  151. package/lib/commonjs/credentials-catalogue/v1.0.0/index.js.map +1 -1
  152. package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js +0 -1
  153. package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
  154. package/lib/commonjs/credentials-catalogue/v1.0.0/types.js +35 -35
  155. package/lib/commonjs/credentials-catalogue/v1.0.0/types.js.map +1 -1
  156. package/lib/commonjs/credentials-catalogue/v1.3.3/fetch-and-parse-catalogue.js +11 -11
  157. package/lib/commonjs/credentials-catalogue/v1.3.3/fetch-and-parse-catalogue.js.map +1 -1
  158. package/lib/commonjs/credentials-catalogue/v1.3.3/fetch-translations.js +1 -1
  159. package/lib/commonjs/credentials-catalogue/v1.3.3/fetch-translations.js.map +1 -1
  160. package/lib/commonjs/credentials-catalogue/v1.3.3/index.js +1 -1
  161. package/lib/commonjs/credentials-catalogue/v1.3.3/index.js.map +1 -1
  162. package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js +21 -20
  163. package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
  164. package/lib/commonjs/credentials-catalogue/v1.3.3/types.js +93 -93
  165. package/lib/commonjs/credentials-catalogue/v1.3.3/types.js.map +1 -1
  166. package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js +8 -8
  167. package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js.map +1 -1
  168. package/lib/commonjs/index.js +15 -15
  169. package/lib/commonjs/index.js.map +1 -1
  170. package/lib/commonjs/mdoc/index.js +13 -5
  171. package/lib/commonjs/mdoc/index.js.map +1 -1
  172. package/lib/commonjs/mdoc/utils.js.map +1 -1
  173. package/lib/commonjs/sd-jwt/__test__/types.test.js +9 -9
  174. package/lib/commonjs/sd-jwt/__test__/types.test.js.map +1 -1
  175. package/lib/commonjs/sd-jwt/__test__/utils.test.js +3 -3
  176. package/lib/commonjs/sd-jwt/__test__/utils.test.js.map +1 -1
  177. package/lib/commonjs/sd-jwt/index.js +9 -9
  178. package/lib/commonjs/sd-jwt/index.js.map +1 -1
  179. package/lib/commonjs/sd-jwt/types.js +18 -18
  180. package/lib/commonjs/sd-jwt/types.js.map +1 -1
  181. package/lib/commonjs/sd-jwt/utils.js +3 -3
  182. package/lib/commonjs/sd-jwt/utils.js.map +1 -1
  183. package/lib/commonjs/trust/api/TrustAnchorConfig.js +4 -4
  184. package/lib/commonjs/trust/api/TrustAnchorConfig.js.map +1 -1
  185. package/lib/commonjs/trust/common/build-chain.js +5 -2
  186. package/lib/commonjs/trust/common/build-chain.js.map +1 -1
  187. package/lib/commonjs/trust/common/errors.js +51 -44
  188. package/lib/commonjs/trust/common/errors.js.map +1 -1
  189. package/lib/commonjs/trust/common/types.js +22 -22
  190. package/lib/commonjs/trust/common/types.js.map +1 -1
  191. package/lib/commonjs/trust/common/utils.js +45 -45
  192. package/lib/commonjs/trust/common/utils.js.map +1 -1
  193. package/lib/commonjs/trust/common/verify-chain.js +96 -96
  194. package/lib/commonjs/trust/common/verify-chain.js.map +1 -1
  195. package/lib/commonjs/trust/v1.0.0/build-chain.js +2 -2
  196. package/lib/commonjs/trust/v1.0.0/build-chain.js.map +1 -1
  197. package/lib/commonjs/trust/v1.0.0/entities.js +1 -1
  198. package/lib/commonjs/trust/v1.0.0/entities.js.map +1 -1
  199. package/lib/commonjs/trust/v1.0.0/index.js +3 -3
  200. package/lib/commonjs/trust/v1.0.0/index.js.map +1 -1
  201. package/lib/commonjs/trust/v1.0.0/mappers.js +2 -2
  202. package/lib/commonjs/trust/v1.0.0/mappers.js.map +1 -1
  203. package/lib/commonjs/trust/v1.0.0/types.js +46 -46
  204. package/lib/commonjs/trust/v1.0.0/types.js.map +1 -1
  205. package/lib/commonjs/trust/v1.0.0/verify-chain.js +3 -3
  206. package/lib/commonjs/trust/v1.0.0/verify-chain.js.map +1 -1
  207. package/lib/commonjs/trust/v1.3.3/entities.js +1 -1
  208. package/lib/commonjs/trust/v1.3.3/entities.js.map +1 -1
  209. package/lib/commonjs/trust/v1.3.3/types.js +2 -2
  210. package/lib/commonjs/trust/v1.3.3/types.js.map +1 -1
  211. package/lib/commonjs/utils/auth.js +2 -2
  212. package/lib/commonjs/utils/auth.js.map +1 -1
  213. package/lib/commonjs/utils/callbacks.js +47 -51
  214. package/lib/commonjs/utils/callbacks.js.map +1 -1
  215. package/lib/commonjs/utils/credentials.js +3 -3
  216. package/lib/commonjs/utils/credentials.js.map +1 -1
  217. package/lib/commonjs/utils/crypto.js +23 -25
  218. package/lib/commonjs/utils/crypto.js.map +1 -1
  219. package/lib/commonjs/utils/decoder.js +2 -2
  220. package/lib/commonjs/utils/decoder.js.map +1 -1
  221. package/lib/commonjs/utils/dpop.js +5 -5
  222. package/lib/commonjs/utils/dpop.js.map +1 -1
  223. package/lib/commonjs/utils/error-codes.js +19 -19
  224. package/lib/commonjs/utils/error-codes.js.map +1 -1
  225. package/lib/commonjs/utils/errors.js +51 -50
  226. package/lib/commonjs/utils/errors.js.map +1 -1
  227. package/lib/commonjs/utils/jwk.js +5 -6
  228. package/lib/commonjs/utils/jwk.js.map +1 -1
  229. package/lib/commonjs/utils/logging.js +15 -14
  230. package/lib/commonjs/utils/logging.js.map +1 -1
  231. package/lib/commonjs/utils/mappers.js +6 -8
  232. package/lib/commonjs/utils/mappers.js.map +1 -1
  233. package/lib/commonjs/utils/misc.js +6 -5
  234. package/lib/commonjs/utils/misc.js.map +1 -1
  235. package/lib/commonjs/utils/par.js +28 -28
  236. package/lib/commonjs/utils/par.js.map +1 -1
  237. package/lib/commonjs/utils/pop.js +5 -5
  238. package/lib/commonjs/utils/pop.js.map +1 -1
  239. package/lib/commonjs/utils/string.js.map +1 -1
  240. package/lib/commonjs/utils/x509.js +2 -2
  241. package/lib/commonjs/utils/x509.js.map +1 -1
  242. package/lib/commonjs/utils/zod.js +1 -1
  243. package/lib/commonjs/utils/zod.js.map +1 -1
  244. package/lib/commonjs/wallet-instance/common/wallet-instance.js +5 -5
  245. package/lib/commonjs/wallet-instance/common/wallet-instance.js.map +1 -1
  246. package/lib/commonjs/wallet-instance/v1.0.0/index.js +2 -2
  247. package/lib/commonjs/wallet-instance/v1.0.0/index.js.map +1 -1
  248. package/lib/commonjs/wallet-instance/v1.3.3/index.js +2 -2
  249. package/lib/commonjs/wallet-instance/v1.3.3/index.js.map +1 -1
  250. package/lib/commonjs/wallet-instance-attestation/api/types.js +7 -7
  251. package/lib/commonjs/wallet-instance-attestation/api/types.js.map +1 -1
  252. package/lib/commonjs/wallet-instance-attestation/common/types.js +7 -7
  253. package/lib/commonjs/wallet-instance-attestation/common/types.js.map +1 -1
  254. package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js +2 -2
  255. package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
  256. package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js +15 -15
  257. package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
  258. package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js +2 -2
  259. package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
  260. package/lib/commonjs/wallet-instance-attestation/v1.0.0/types.js +5 -5
  261. package/lib/commonjs/wallet-instance-attestation/v1.0.0/types.js.map +1 -1
  262. package/lib/commonjs/wallet-instance-attestation/v1.0.0/utils.js +1 -1
  263. package/lib/commonjs/wallet-instance-attestation/v1.0.0/utils.js.map +1 -1
  264. package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js +2 -2
  265. package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
  266. package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js +20 -20
  267. package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
  268. package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
  269. package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js +1 -1
  270. package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js.map +1 -1
  271. package/lib/commonjs/wallet-unit-attestation/api/types.js +5 -5
  272. package/lib/commonjs/wallet-unit-attestation/api/types.js.map +1 -1
  273. package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js +4 -4
  274. package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js.map +1 -1
  275. package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js +30 -27
  276. package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -1
  277. package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js.map +1 -1
  278. package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js.map +1 -1
  279. package/lib/module/IoWallet.js +6 -4
  280. package/lib/module/IoWallet.js.map +1 -1
  281. package/lib/module/api/index.js +19 -19
  282. package/lib/module/api/index.js.map +1 -1
  283. package/lib/module/client/index.js +10 -12
  284. package/lib/module/client/index.js.map +1 -1
  285. package/lib/module/credential/issuance/api/IssuerConfig.js +23 -23
  286. package/lib/module/credential/issuance/api/IssuerConfig.js.map +1 -1
  287. package/lib/module/credential/issuance/api/mrtd-pop/index.js.map +1 -1
  288. package/lib/module/credential/issuance/api/types.js +3 -3
  289. package/lib/module/credential/issuance/api/types.js.map +1 -1
  290. package/lib/module/credential/issuance/common/02-start-user-authorization.js +4 -1
  291. package/lib/module/credential/issuance/common/02-start-user-authorization.js.map +1 -1
  292. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.js +11 -8
  293. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.js.map +1 -1
  294. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js +6 -6
  295. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
  296. package/lib/module/credential/issuance/common/errors.js +0 -3
  297. package/lib/module/credential/issuance/common/errors.js.map +1 -1
  298. package/lib/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js +4 -4
  299. package/lib/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js.map +1 -1
  300. package/lib/module/credential/issuance/mrtd-pop/02-init-challenge.js +14 -14
  301. package/lib/module/credential/issuance/mrtd-pop/02-init-challenge.js.map +1 -1
  302. package/lib/module/credential/issuance/mrtd-pop/03-validate-challenge.js +20 -20
  303. package/lib/module/credential/issuance/mrtd-pop/03-validate-challenge.js.map +1 -1
  304. package/lib/module/credential/issuance/mrtd-pop/index.js +5 -5
  305. package/lib/module/credential/issuance/mrtd-pop/index.js.map +1 -1
  306. package/lib/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js.map +1 -1
  307. package/lib/module/credential/issuance/v1.0.0/02-start-user-authorization.js +13 -13
  308. package/lib/module/credential/issuance/v1.0.0/02-start-user-authorization.js.map +1 -1
  309. package/lib/module/credential/issuance/v1.0.0/03-complete-user-authorization.js +17 -17
  310. package/lib/module/credential/issuance/v1.0.0/03-complete-user-authorization.js.map +1 -1
  311. package/lib/module/credential/issuance/v1.0.0/04-authorize-access.js +11 -11
  312. package/lib/module/credential/issuance/v1.0.0/04-authorize-access.js.map +1 -1
  313. package/lib/module/credential/issuance/v1.0.0/05-obtain-credential.js +25 -16
  314. package/lib/module/credential/issuance/v1.0.0/05-obtain-credential.js.map +1 -1
  315. package/lib/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.js.map +1 -1
  316. package/lib/module/credential/issuance/v1.0.0/index.js +9 -9
  317. package/lib/module/credential/issuance/v1.0.0/index.js.map +1 -1
  318. package/lib/module/credential/issuance/v1.0.0/mappers.js +7 -7
  319. package/lib/module/credential/issuance/v1.0.0/mappers.js.map +1 -1
  320. package/lib/module/credential/issuance/v1.0.0/types.js.map +1 -1
  321. package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +3 -3
  322. package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
  323. package/lib/module/credential/issuance/v1.3.3/02-start-user-authorization.js +31 -31
  324. package/lib/module/credential/issuance/v1.3.3/02-start-user-authorization.js.map +1 -1
  325. package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js +28 -28
  326. package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
  327. package/lib/module/credential/issuance/v1.3.3/04-authorize-access.js +16 -16
  328. package/lib/module/credential/issuance/v1.3.3/04-authorize-access.js.map +1 -1
  329. package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js +34 -30
  330. package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
  331. package/lib/module/credential/issuance/v1.3.3/06-verify-and-parse-credential.js.map +1 -1
  332. package/lib/module/credential/issuance/v1.3.3/index.js +9 -9
  333. package/lib/module/credential/issuance/v1.3.3/index.js.map +1 -1
  334. package/lib/module/credential/issuance/v1.3.3/mappers.js +18 -17
  335. package/lib/module/credential/issuance/v1.3.3/mappers.js.map +1 -1
  336. package/lib/module/credential/offer/common/errors.js +0 -6
  337. package/lib/module/credential/offer/common/errors.js.map +1 -1
  338. package/lib/module/credential/offer/v1.0.0/index.js +3 -3
  339. package/lib/module/credential/offer/v1.0.0/index.js.map +1 -1
  340. package/lib/module/credential/offer/v1.3.3/01-resolve-credential-offer.js +5 -5
  341. package/lib/module/credential/offer/v1.3.3/01-resolve-credential-offer.js.map +1 -1
  342. package/lib/module/credential/offer/v1.3.3/02-extract-grant-details.js +3 -3
  343. package/lib/module/credential/offer/v1.3.3/02-extract-grant-details.js.map +1 -1
  344. package/lib/module/credential/offer/v1.3.3/03-validate-credential-offer.js +6 -6
  345. package/lib/module/credential/offer/v1.3.3/03-validate-credential-offer.js.map +1 -1
  346. package/lib/module/credential/offer/v1.3.3/index.js +1 -1
  347. package/lib/module/credential/offer/v1.3.3/index.js.map +1 -1
  348. package/lib/module/credential/presentation/api/RelyingPartyConfig.js +8 -8
  349. package/lib/module/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
  350. package/lib/module/credential/presentation/api/types.js +11 -11
  351. package/lib/module/credential/presentation/api/types.js.map +1 -1
  352. package/lib/module/credential/presentation/common/errors.js +21 -21
  353. package/lib/module/credential/presentation/common/errors.js.map +1 -1
  354. package/lib/module/credential/presentation/common/utils/dcql.js +38 -35
  355. package/lib/module/credential/presentation/common/utils/dcql.js.map +1 -1
  356. package/lib/module/credential/presentation/common/utils/mdoc.js +20 -22
  357. package/lib/module/credential/presentation/common/utils/mdoc.js.map +1 -1
  358. package/lib/module/credential/presentation/common/utils/sd-jwt.js +10 -10
  359. package/lib/module/credential/presentation/common/utils/sd-jwt.js.map +1 -1
  360. package/lib/module/credential/presentation/v1.0.0/01-start-flow.js +1 -1
  361. package/lib/module/credential/presentation/v1.0.0/01-start-flow.js.map +1 -1
  362. package/lib/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.js.map +1 -1
  363. package/lib/module/credential/presentation/v1.0.0/03-get-request-object.js +2 -2
  364. package/lib/module/credential/presentation/v1.0.0/03-get-request-object.js.map +1 -1
  365. package/lib/module/credential/presentation/v1.0.0/05-verify-request-object.js +3 -3
  366. package/lib/module/credential/presentation/v1.0.0/05-verify-request-object.js.map +1 -1
  367. package/lib/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.js +16 -11
  368. package/lib/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.js.map +1 -1
  369. package/lib/module/credential/presentation/v1.0.0/07-send-authorization-response.js +12 -12
  370. package/lib/module/credential/presentation/v1.0.0/07-send-authorization-response.js.map +1 -1
  371. package/lib/module/credential/presentation/v1.0.0/index.js +5 -5
  372. package/lib/module/credential/presentation/v1.0.0/index.js.map +1 -1
  373. package/lib/module/credential/presentation/v1.0.0/mappers.js +6 -6
  374. package/lib/module/credential/presentation/v1.0.0/mappers.js.map +1 -1
  375. package/lib/module/credential/presentation/v1.0.0/types.js +12 -12
  376. package/lib/module/credential/presentation/v1.0.0/types.js.map +1 -1
  377. package/lib/module/credential/presentation/v1.0.0/utils.js +1 -0
  378. package/lib/module/credential/presentation/v1.0.0/utils.js.map +1 -1
  379. package/lib/module/credential/presentation/v1.0.0/utils.jwks.js +1 -0
  380. package/lib/module/credential/presentation/v1.0.0/utils.jwks.js.map +1 -1
  381. package/lib/module/credential/presentation/v1.3.3/01-start-flow.js +2 -2
  382. package/lib/module/credential/presentation/v1.3.3/01-start-flow.js.map +1 -1
  383. package/lib/module/credential/presentation/v1.3.3/02-evaluate-rp-trust.js.map +1 -1
  384. package/lib/module/credential/presentation/v1.3.3/03-get-request-object.js +1 -1
  385. package/lib/module/credential/presentation/v1.3.3/03-get-request-object.js.map +1 -1
  386. package/lib/module/credential/presentation/v1.3.3/04-verify-certificate-chain.js +3 -3
  387. package/lib/module/credential/presentation/v1.3.3/04-verify-certificate-chain.js.map +1 -1
  388. package/lib/module/credential/presentation/v1.3.3/05-verify-request-object.js +12 -8
  389. package/lib/module/credential/presentation/v1.3.3/05-verify-request-object.js.map +1 -1
  390. package/lib/module/credential/presentation/v1.3.3/06-evaluate-dcql-query.js +25 -17
  391. package/lib/module/credential/presentation/v1.3.3/06-evaluate-dcql-query.js.map +1 -1
  392. package/lib/module/credential/presentation/v1.3.3/07-send-authorization-response.js +31 -26
  393. package/lib/module/credential/presentation/v1.3.3/07-send-authorization-response.js.map +1 -1
  394. package/lib/module/credential/presentation/v1.3.3/index.js +6 -6
  395. package/lib/module/credential/presentation/v1.3.3/index.js.map +1 -1
  396. package/lib/module/credential/presentation/v1.3.3/mappers.js +11 -11
  397. package/lib/module/credential/presentation/v1.3.3/mappers.js.map +1 -1
  398. package/lib/module/credential/presentation/v1.3.3/sdkErrorMapper.js +4 -3
  399. package/lib/module/credential/presentation/v1.3.3/sdkErrorMapper.js.map +1 -1
  400. package/lib/module/credential/presentation/v1.3.3/types.js +3 -3
  401. package/lib/module/credential/presentation/v1.3.3/types.js.map +1 -1
  402. package/lib/module/credential/status/api/index.js.map +1 -1
  403. package/lib/module/credential/status/api/types.js +6 -6
  404. package/lib/module/credential/status/api/types.js.map +1 -1
  405. package/lib/module/credential/status/v1.0.0/01-status-assertion.js +15 -12
  406. package/lib/module/credential/status/v1.0.0/01-status-assertion.js.map +1 -1
  407. package/lib/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js +17 -10
  408. package/lib/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js.map +1 -1
  409. package/lib/module/credential/status/v1.0.0/index.js +1 -1
  410. package/lib/module/credential/status/v1.0.0/index.js.map +1 -1
  411. package/lib/module/credential/status/v1.0.0/mappers.js.map +1 -1
  412. package/lib/module/credential/status/v1.0.0/types.js +17 -17
  413. package/lib/module/credential/status/v1.0.0/types.js.map +1 -1
  414. package/lib/module/credential/status/v1.3.3/01-status-list.js +4 -4
  415. package/lib/module/credential/status/v1.3.3/01-status-list.js.map +1 -1
  416. package/lib/module/credential/status/v1.3.3/02-verify-and-parse-status-list.js.map +1 -1
  417. package/lib/module/credential/status/v1.3.3/03-get-status.js +3 -2
  418. package/lib/module/credential/status/v1.3.3/03-get-status.js.map +1 -1
  419. package/lib/module/credential/status/v1.3.3/index.js +3 -3
  420. package/lib/module/credential/status/v1.3.3/index.js.map +1 -1
  421. package/lib/module/credential/trustmark/v1.0.0/get-credential-trustmark.js +8 -8
  422. package/lib/module/credential/trustmark/v1.0.0/get-credential-trustmark.js.map +1 -1
  423. package/lib/module/credential/trustmark/v1.0.0/index.js.map +1 -1
  424. package/lib/module/credential/trustmark/v1.3.3/index.js.map +1 -1
  425. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js +54 -54
  426. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  427. package/lib/module/credentials-catalogue/common/get-status-l10n-ids.js +2 -2
  428. package/lib/module/credentials-catalogue/common/get-status-l10n-ids.js.map +1 -1
  429. package/lib/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js +2 -2
  430. package/lib/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js.map +1 -1
  431. package/lib/module/credentials-catalogue/v1.0.0/index.js +1 -1
  432. package/lib/module/credentials-catalogue/v1.0.0/index.js.map +1 -1
  433. package/lib/module/credentials-catalogue/v1.0.0/mappers.js +0 -1
  434. package/lib/module/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
  435. package/lib/module/credentials-catalogue/v1.0.0/types.js +35 -35
  436. package/lib/module/credentials-catalogue/v1.0.0/types.js.map +1 -1
  437. package/lib/module/credentials-catalogue/v1.3.3/fetch-and-parse-catalogue.js +11 -11
  438. package/lib/module/credentials-catalogue/v1.3.3/fetch-and-parse-catalogue.js.map +1 -1
  439. package/lib/module/credentials-catalogue/v1.3.3/fetch-translations.js +1 -1
  440. package/lib/module/credentials-catalogue/v1.3.3/fetch-translations.js.map +1 -1
  441. package/lib/module/credentials-catalogue/v1.3.3/index.js +1 -1
  442. package/lib/module/credentials-catalogue/v1.3.3/index.js.map +1 -1
  443. package/lib/module/credentials-catalogue/v1.3.3/mappers.js +22 -21
  444. package/lib/module/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
  445. package/lib/module/credentials-catalogue/v1.3.3/types.js +93 -93
  446. package/lib/module/credentials-catalogue/v1.3.3/types.js.map +1 -1
  447. package/lib/module/credentials-catalogue/v1.3.3/utils.js +8 -8
  448. package/lib/module/credentials-catalogue/v1.3.3/utils.js.map +1 -1
  449. package/lib/module/index.js +10 -10
  450. package/lib/module/index.js.map +1 -1
  451. package/lib/module/mdoc/index.js +13 -5
  452. package/lib/module/mdoc/index.js.map +1 -1
  453. package/lib/module/mdoc/utils.js.map +1 -1
  454. package/lib/module/sd-jwt/__test__/types.test.js +9 -9
  455. package/lib/module/sd-jwt/__test__/types.test.js.map +1 -1
  456. package/lib/module/sd-jwt/__test__/utils.test.js +3 -3
  457. package/lib/module/sd-jwt/__test__/utils.test.js.map +1 -1
  458. package/lib/module/sd-jwt/index.js +9 -9
  459. package/lib/module/sd-jwt/index.js.map +1 -1
  460. package/lib/module/sd-jwt/types.js +18 -18
  461. package/lib/module/sd-jwt/types.js.map +1 -1
  462. package/lib/module/sd-jwt/utils.js +3 -3
  463. package/lib/module/sd-jwt/utils.js.map +1 -1
  464. package/lib/module/trust/api/TrustAnchorConfig.js +4 -4
  465. package/lib/module/trust/api/TrustAnchorConfig.js.map +1 -1
  466. package/lib/module/trust/common/build-chain.js +5 -2
  467. package/lib/module/trust/common/build-chain.js.map +1 -1
  468. package/lib/module/trust/common/errors.js +46 -37
  469. package/lib/module/trust/common/errors.js.map +1 -1
  470. package/lib/module/trust/common/types.js +22 -22
  471. package/lib/module/trust/common/types.js.map +1 -1
  472. package/lib/module/trust/common/utils.js +45 -45
  473. package/lib/module/trust/common/utils.js.map +1 -1
  474. package/lib/module/trust/common/verify-chain.js +96 -96
  475. package/lib/module/trust/common/verify-chain.js.map +1 -1
  476. package/lib/module/trust/v1.0.0/build-chain.js +2 -2
  477. package/lib/module/trust/v1.0.0/build-chain.js.map +1 -1
  478. package/lib/module/trust/v1.0.0/entities.js +1 -1
  479. package/lib/module/trust/v1.0.0/entities.js.map +1 -1
  480. package/lib/module/trust/v1.0.0/index.js +3 -3
  481. package/lib/module/trust/v1.0.0/index.js.map +1 -1
  482. package/lib/module/trust/v1.0.0/mappers.js +2 -2
  483. package/lib/module/trust/v1.0.0/mappers.js.map +1 -1
  484. package/lib/module/trust/v1.0.0/types.js +46 -46
  485. package/lib/module/trust/v1.0.0/types.js.map +1 -1
  486. package/lib/module/trust/v1.0.0/verify-chain.js +3 -3
  487. package/lib/module/trust/v1.0.0/verify-chain.js.map +1 -1
  488. package/lib/module/trust/v1.3.3/entities.js +1 -1
  489. package/lib/module/trust/v1.3.3/entities.js.map +1 -1
  490. package/lib/module/trust/v1.3.3/types.js +2 -2
  491. package/lib/module/trust/v1.3.3/types.js.map +1 -1
  492. package/lib/module/utils/auth.js +2 -2
  493. package/lib/module/utils/auth.js.map +1 -1
  494. package/lib/module/utils/callbacks.js +47 -51
  495. package/lib/module/utils/callbacks.js.map +1 -1
  496. package/lib/module/utils/credentials.js +3 -3
  497. package/lib/module/utils/credentials.js.map +1 -1
  498. package/lib/module/utils/crypto.js +23 -25
  499. package/lib/module/utils/crypto.js.map +1 -1
  500. package/lib/module/utils/decoder.js +3 -3
  501. package/lib/module/utils/decoder.js.map +1 -1
  502. package/lib/module/utils/dpop.js +5 -5
  503. package/lib/module/utils/dpop.js.map +1 -1
  504. package/lib/module/utils/error-codes.js +19 -19
  505. package/lib/module/utils/error-codes.js.map +1 -1
  506. package/lib/module/utils/errors.js +47 -46
  507. package/lib/module/utils/errors.js.map +1 -1
  508. package/lib/module/utils/jwk.js +4 -5
  509. package/lib/module/utils/jwk.js.map +1 -1
  510. package/lib/module/utils/logging.js +15 -14
  511. package/lib/module/utils/logging.js.map +1 -1
  512. package/lib/module/utils/mappers.js +6 -8
  513. package/lib/module/utils/mappers.js.map +1 -1
  514. package/lib/module/utils/misc.js +7 -6
  515. package/lib/module/utils/misc.js.map +1 -1
  516. package/lib/module/utils/par.js +28 -28
  517. package/lib/module/utils/par.js.map +1 -1
  518. package/lib/module/utils/pop.js +5 -5
  519. package/lib/module/utils/pop.js.map +1 -1
  520. package/lib/module/utils/string.js.map +1 -1
  521. package/lib/module/utils/x509.js +2 -2
  522. package/lib/module/utils/x509.js.map +1 -1
  523. package/lib/module/utils/zod.js +1 -1
  524. package/lib/module/utils/zod.js.map +1 -1
  525. package/lib/module/wallet-instance/common/wallet-instance.js +6 -6
  526. package/lib/module/wallet-instance/common/wallet-instance.js.map +1 -1
  527. package/lib/module/wallet-instance/v1.0.0/index.js +3 -3
  528. package/lib/module/wallet-instance/v1.0.0/index.js.map +1 -1
  529. package/lib/module/wallet-instance/v1.3.3/index.js +3 -3
  530. package/lib/module/wallet-instance/v1.3.3/index.js.map +1 -1
  531. package/lib/module/wallet-instance-attestation/api/types.js +7 -7
  532. package/lib/module/wallet-instance-attestation/api/types.js.map +1 -1
  533. package/lib/module/wallet-instance-attestation/common/types.js +7 -7
  534. package/lib/module/wallet-instance-attestation/common/types.js.map +1 -1
  535. package/lib/module/wallet-instance-attestation/v1.0.0/index.js +2 -2
  536. package/lib/module/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
  537. package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js +15 -15
  538. package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
  539. package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js +2 -2
  540. package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
  541. package/lib/module/wallet-instance-attestation/v1.0.0/types.js +5 -5
  542. package/lib/module/wallet-instance-attestation/v1.0.0/types.js.map +1 -1
  543. package/lib/module/wallet-instance-attestation/v1.0.0/utils.js +1 -1
  544. package/lib/module/wallet-instance-attestation/v1.0.0/utils.js.map +1 -1
  545. package/lib/module/wallet-instance-attestation/v1.3.3/index.js +2 -2
  546. package/lib/module/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
  547. package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js +20 -20
  548. package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
  549. package/lib/module/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
  550. package/lib/module/wallet-instance-attestation/v1.3.3/utils.js +1 -1
  551. package/lib/module/wallet-instance-attestation/v1.3.3/utils.js.map +1 -1
  552. package/lib/module/wallet-unit-attestation/api/types.js +5 -5
  553. package/lib/module/wallet-unit-attestation/api/types.js.map +1 -1
  554. package/lib/module/wallet-unit-attestation/v1.3.3/index.js +4 -4
  555. package/lib/module/wallet-unit-attestation/v1.3.3/index.js.map +1 -1
  556. package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js +30 -27
  557. package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -1
  558. package/lib/module/wallet-unit-attestation/v1.3.3/types.js.map +1 -1
  559. package/lib/module/wallet-unit-attestation/v1.3.3/utils.js.map +1 -1
  560. package/lib/typescript/IoWallet.d.ts +4 -4
  561. package/lib/typescript/IoWallet.d.ts.map +1 -1
  562. package/lib/typescript/api/index.d.ts +14 -14
  563. package/lib/typescript/api/index.d.ts.map +1 -1
  564. package/lib/typescript/client/index.d.ts +2 -2
  565. package/lib/typescript/client/index.d.ts.map +1 -1
  566. package/lib/typescript/credential/issuance/api/02-start-user-authorization.d.ts +8 -8
  567. package/lib/typescript/credential/issuance/api/02-start-user-authorization.d.ts.map +1 -1
  568. package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts +30 -30
  569. package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts.map +1 -1
  570. package/lib/typescript/credential/issuance/api/04-authorize-access.d.ts +2 -2
  571. package/lib/typescript/credential/issuance/api/04-authorize-access.d.ts.map +1 -1
  572. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts +5 -5
  573. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts.map +1 -1
  574. package/lib/typescript/credential/issuance/api/06-verify-and-parse-credential.d.ts +1 -1
  575. package/lib/typescript/credential/issuance/api/06-verify-and-parse-credential.d.ts.map +1 -1
  576. package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts +52 -52
  577. package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts.map +1 -1
  578. package/lib/typescript/credential/issuance/api/index.d.ts +2 -2
  579. package/lib/typescript/credential/issuance/api/index.d.ts.map +1 -1
  580. package/lib/typescript/credential/issuance/api/mrtd-pop/index.d.ts +30 -30
  581. package/lib/typescript/credential/issuance/api/mrtd-pop/index.d.ts.map +1 -1
  582. package/lib/typescript/credential/issuance/api/mrtd-pop/types.d.ts +25 -25
  583. package/lib/typescript/credential/issuance/api/mrtd-pop/types.d.ts.map +1 -1
  584. package/lib/typescript/credential/issuance/api/types.d.ts +8 -11
  585. package/lib/typescript/credential/issuance/api/types.d.ts.map +1 -1
  586. package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts +2 -2
  587. package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -1
  588. package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +1 -1
  589. package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +1 -1
  590. package/lib/typescript/credential/issuance/common/errors.d.ts +0 -1
  591. package/lib/typescript/credential/issuance/common/errors.d.ts.map +1 -1
  592. package/lib/typescript/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +1 -1
  593. package/lib/typescript/credential/issuance/mrtd-pop/02-init-challenge.d.ts +2 -2
  594. package/lib/typescript/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +1 -1
  595. package/lib/typescript/credential/issuance/mrtd-pop/03-validate-challenge.d.ts +2 -2
  596. package/lib/typescript/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +1 -1
  597. package/lib/typescript/credential/issuance/mrtd-pop/index.d.ts.map +1 -1
  598. package/lib/typescript/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +1 -1
  599. package/lib/typescript/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +1 -1
  600. package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts +1 -1
  601. package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -1
  602. package/lib/typescript/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +1 -1
  603. package/lib/typescript/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -1
  604. package/lib/typescript/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +1 -1
  605. package/lib/typescript/credential/issuance/v1.0.0/index.d.ts.map +1 -1
  606. package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts +130 -130
  607. package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts.map +1 -1
  608. package/lib/typescript/credential/issuance/v1.0.0/types.d.ts.map +1 -1
  609. package/lib/typescript/credential/issuance/v1.3.3/01-evaluate-issuer-trust.d.ts.map +1 -1
  610. package/lib/typescript/credential/issuance/v1.3.3/02-start-user-authorization.d.ts.map +1 -1
  611. package/lib/typescript/credential/issuance/v1.3.3/03-complete-user-authorization.d.ts +1 -1
  612. package/lib/typescript/credential/issuance/v1.3.3/03-complete-user-authorization.d.ts.map +1 -1
  613. package/lib/typescript/credential/issuance/v1.3.3/04-authorize-access.d.ts.map +1 -1
  614. package/lib/typescript/credential/issuance/v1.3.3/05-obtain-credential.d.ts +8 -8
  615. package/lib/typescript/credential/issuance/v1.3.3/05-obtain-credential.d.ts.map +1 -1
  616. package/lib/typescript/credential/issuance/v1.3.3/06-verify-and-parse-credential.d.ts.map +1 -1
  617. package/lib/typescript/credential/issuance/v1.3.3/index.d.ts.map +1 -1
  618. package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts +45 -45
  619. package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts.map +1 -1
  620. package/lib/typescript/credential/offer/api/03-validate-credential-offer.d.ts +1 -1
  621. package/lib/typescript/credential/offer/api/03-validate-credential-offer.d.ts.map +1 -1
  622. package/lib/typescript/credential/offer/api/index.d.ts +1 -1
  623. package/lib/typescript/credential/offer/api/index.d.ts.map +1 -1
  624. package/lib/typescript/credential/offer/common/errors.d.ts +0 -2
  625. package/lib/typescript/credential/offer/common/errors.d.ts.map +1 -1
  626. package/lib/typescript/credential/offer/v1.0.0/index.d.ts.map +1 -1
  627. package/lib/typescript/credential/offer/v1.3.3/01-resolve-credential-offer.d.ts.map +1 -1
  628. package/lib/typescript/credential/offer/v1.3.3/02-extract-grant-details.d.ts.map +1 -1
  629. package/lib/typescript/credential/offer/v1.3.3/03-validate-credential-offer.d.ts.map +1 -1
  630. package/lib/typescript/credential/offer/v1.3.3/index.d.ts.map +1 -1
  631. package/lib/typescript/credential/presentation/api/01-start-flow.d.ts +3 -3
  632. package/lib/typescript/credential/presentation/api/01-start-flow.d.ts.map +1 -1
  633. package/lib/typescript/credential/presentation/api/06-evaluate-dcql-query.d.ts +12 -12
  634. package/lib/typescript/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +1 -1
  635. package/lib/typescript/credential/presentation/api/07-send-authorization-response.d.ts +17 -17
  636. package/lib/typescript/credential/presentation/api/07-send-authorization-response.d.ts.map +1 -1
  637. package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts +19 -19
  638. package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -1
  639. package/lib/typescript/credential/presentation/api/index.d.ts +1 -1
  640. package/lib/typescript/credential/presentation/api/index.d.ts.map +1 -1
  641. package/lib/typescript/credential/presentation/api/types.d.ts +72 -72
  642. package/lib/typescript/credential/presentation/api/types.d.ts.map +1 -1
  643. package/lib/typescript/credential/presentation/common/errors.d.ts +24 -24
  644. package/lib/typescript/credential/presentation/common/errors.d.ts.map +1 -1
  645. package/lib/typescript/credential/presentation/common/utils/dcql.d.ts +5 -5
  646. package/lib/typescript/credential/presentation/common/utils/dcql.d.ts.map +1 -1
  647. package/lib/typescript/credential/presentation/common/utils/mdoc.d.ts.map +1 -1
  648. package/lib/typescript/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -1
  649. package/lib/typescript/credential/presentation/v1.0.0/01-start-flow.d.ts.map +1 -1
  650. package/lib/typescript/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +1 -1
  651. package/lib/typescript/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +1 -1
  652. package/lib/typescript/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +1 -1
  653. package/lib/typescript/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +1 -1
  654. package/lib/typescript/credential/presentation/v1.0.0/07-send-authorization-response.d.ts +1 -1
  655. package/lib/typescript/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +1 -1
  656. package/lib/typescript/credential/presentation/v1.0.0/index.d.ts.map +1 -1
  657. package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts +51 -51
  658. package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts.map +1 -1
  659. package/lib/typescript/credential/presentation/v1.0.0/types.d.ts +10 -10
  660. package/lib/typescript/credential/presentation/v1.0.0/types.d.ts.map +1 -1
  661. package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts +1 -1
  662. package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts.map +1 -1
  663. package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts +1 -1
  664. package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -1
  665. package/lib/typescript/credential/presentation/v1.3.3/01-start-flow.d.ts.map +1 -1
  666. package/lib/typescript/credential/presentation/v1.3.3/02-evaluate-rp-trust.d.ts.map +1 -1
  667. package/lib/typescript/credential/presentation/v1.3.3/03-get-request-object.d.ts.map +1 -1
  668. package/lib/typescript/credential/presentation/v1.3.3/04-verify-certificate-chain.d.ts.map +1 -1
  669. package/lib/typescript/credential/presentation/v1.3.3/05-verify-request-object.d.ts.map +1 -1
  670. package/lib/typescript/credential/presentation/v1.3.3/06-evaluate-dcql-query.d.ts.map +1 -1
  671. package/lib/typescript/credential/presentation/v1.3.3/07-send-authorization-response.d.ts.map +1 -1
  672. package/lib/typescript/credential/presentation/v1.3.3/index.d.ts.map +1 -1
  673. package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts +41 -41
  674. package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts.map +1 -1
  675. package/lib/typescript/credential/presentation/v1.3.3/sdkErrorMapper.d.ts.map +1 -1
  676. package/lib/typescript/credential/presentation/v1.3.3/types.d.ts +2 -2
  677. package/lib/typescript/credential/presentation/v1.3.3/types.d.ts.map +1 -1
  678. package/lib/typescript/credential/status/api/index.d.ts +3 -3
  679. package/lib/typescript/credential/status/api/index.d.ts.map +1 -1
  680. package/lib/typescript/credential/status/api/status-assertion.d.ts +3 -3
  681. package/lib/typescript/credential/status/api/status-assertion.d.ts.map +1 -1
  682. package/lib/typescript/credential/status/api/status-list.d.ts +11 -11
  683. package/lib/typescript/credential/status/api/status-list.d.ts.map +1 -1
  684. package/lib/typescript/credential/status/api/types.d.ts +12 -12
  685. package/lib/typescript/credential/status/api/types.d.ts.map +1 -1
  686. package/lib/typescript/credential/status/v1.0.0/01-status-assertion.d.ts.map +1 -1
  687. package/lib/typescript/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +1 -1
  688. package/lib/typescript/credential/status/v1.0.0/index.d.ts.map +1 -1
  689. package/lib/typescript/credential/status/v1.0.0/mappers.d.ts +7 -7
  690. package/lib/typescript/credential/status/v1.0.0/mappers.d.ts.map +1 -1
  691. package/lib/typescript/credential/status/v1.0.0/types.d.ts +27 -27
  692. package/lib/typescript/credential/status/v1.0.0/types.d.ts.map +1 -1
  693. package/lib/typescript/credential/status/v1.3.3/01-status-list.d.ts.map +1 -1
  694. package/lib/typescript/credential/status/v1.3.3/02-verify-and-parse-status-list.d.ts.map +1 -1
  695. package/lib/typescript/credential/status/v1.3.3/03-get-status.d.ts.map +1 -1
  696. package/lib/typescript/credential/status/v1.3.3/index.d.ts.map +1 -1
  697. package/lib/typescript/credential/trustmark/api/index.d.ts +11 -11
  698. package/lib/typescript/credential/trustmark/api/index.d.ts.map +1 -1
  699. package/lib/typescript/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +1 -1
  700. package/lib/typescript/credential/trustmark/v1.0.0/index.d.ts.map +1 -1
  701. package/lib/typescript/credential/trustmark/v1.3.3/index.d.ts.map +1 -1
  702. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +168 -165
  703. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -1
  704. package/lib/typescript/credentials-catalogue/api/index.d.ts +11 -11
  705. package/lib/typescript/credentials-catalogue/api/index.d.ts.map +1 -1
  706. package/lib/typescript/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +1 -1
  707. package/lib/typescript/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +1 -1
  708. package/lib/typescript/credentials-catalogue/v1.0.0/index.d.ts.map +1 -1
  709. package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts +72 -71
  710. package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -1
  711. package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts +89 -89
  712. package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts.map +1 -1
  713. package/lib/typescript/credentials-catalogue/v1.3.3/fetch-translations.d.ts.map +1 -1
  714. package/lib/typescript/credentials-catalogue/v1.3.3/index.d.ts.map +1 -1
  715. package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts +158 -157
  716. package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts.map +1 -1
  717. package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts +186 -186
  718. package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts.map +1 -1
  719. package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts +1 -1
  720. package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts.map +1 -1
  721. package/lib/typescript/index.d.ts +12 -12
  722. package/lib/typescript/index.d.ts.map +1 -1
  723. package/lib/typescript/mdoc/index.d.ts.map +1 -1
  724. package/lib/typescript/mdoc/utils.d.ts +2 -2
  725. package/lib/typescript/mdoc/utils.d.ts.map +1 -1
  726. package/lib/typescript/sd-jwt/index.d.ts +10 -10
  727. package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
  728. package/lib/typescript/sd-jwt/types.d.ts +15 -15
  729. package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
  730. package/lib/typescript/sd-jwt/utils.d.ts +1 -1
  731. package/lib/typescript/sd-jwt/utils.d.ts.map +1 -1
  732. package/lib/typescript/trust/api/TrustAnchorConfig.d.ts +17 -17
  733. package/lib/typescript/trust/api/TrustAnchorConfig.d.ts.map +1 -1
  734. package/lib/typescript/trust/api/index.d.ts +11 -11
  735. package/lib/typescript/trust/api/index.d.ts.map +1 -1
  736. package/lib/typescript/trust/common/build-chain.d.ts +3 -3
  737. package/lib/typescript/trust/common/build-chain.d.ts.map +1 -1
  738. package/lib/typescript/trust/common/errors.d.ts +43 -43
  739. package/lib/typescript/trust/common/errors.d.ts.map +1 -1
  740. package/lib/typescript/trust/common/types.d.ts +37 -37
  741. package/lib/typescript/trust/common/types.d.ts.map +1 -1
  742. package/lib/typescript/trust/common/utils.d.ts +17 -17
  743. package/lib/typescript/trust/common/utils.d.ts.map +1 -1
  744. package/lib/typescript/trust/common/verify-chain.d.ts +9 -9
  745. package/lib/typescript/trust/common/verify-chain.d.ts.map +1 -1
  746. package/lib/typescript/trust/v1.0.0/entities.d.ts +325 -325
  747. package/lib/typescript/trust/v1.0.0/entities.d.ts.map +1 -1
  748. package/lib/typescript/trust/v1.0.0/index.d.ts.map +1 -1
  749. package/lib/typescript/trust/v1.0.0/mappers.d.ts +42 -42
  750. package/lib/typescript/trust/v1.0.0/mappers.d.ts.map +1 -1
  751. package/lib/typescript/trust/v1.0.0/types.d.ts +331 -331
  752. package/lib/typescript/trust/v1.0.0/types.d.ts.map +1 -1
  753. package/lib/typescript/trust/v1.0.0/verify-chain.d.ts.map +1 -1
  754. package/lib/typescript/trust/v1.3.3/entities.d.ts +24 -24
  755. package/lib/typescript/trust/v1.3.3/entities.d.ts.map +1 -1
  756. package/lib/typescript/trust/v1.3.3/types.d.ts +206 -206
  757. package/lib/typescript/trust/v1.3.3/types.d.ts.map +1 -1
  758. package/lib/typescript/utils/auth.d.ts +1 -1
  759. package/lib/typescript/utils/callbacks.d.ts +1 -1
  760. package/lib/typescript/utils/callbacks.d.ts.map +1 -1
  761. package/lib/typescript/utils/credentials.d.ts.map +1 -1
  762. package/lib/typescript/utils/crypto.d.ts +1 -1
  763. package/lib/typescript/utils/crypto.d.ts.map +1 -1
  764. package/lib/typescript/utils/decoder.d.ts +1 -1
  765. package/lib/typescript/utils/decoder.d.ts.map +1 -1
  766. package/lib/typescript/utils/dpop.d.ts +3 -3
  767. package/lib/typescript/utils/dpop.d.ts.map +1 -1
  768. package/lib/typescript/utils/error-codes.d.ts +18 -18
  769. package/lib/typescript/utils/error-codes.d.ts.map +1 -1
  770. package/lib/typescript/utils/errors.d.ts +49 -51
  771. package/lib/typescript/utils/errors.d.ts.map +1 -1
  772. package/lib/typescript/utils/integrity.d.ts +9 -9
  773. package/lib/typescript/utils/integrity.d.ts.map +1 -1
  774. package/lib/typescript/utils/jwk.d.ts +3 -3
  775. package/lib/typescript/utils/jwk.d.ts.map +1 -1
  776. package/lib/typescript/utils/logging.d.ts +10 -10
  777. package/lib/typescript/utils/logging.d.ts.map +1 -1
  778. package/lib/typescript/utils/mappers.d.ts.map +1 -1
  779. package/lib/typescript/utils/misc.d.ts +2 -2
  780. package/lib/typescript/utils/misc.d.ts.map +1 -1
  781. package/lib/typescript/utils/par.d.ts +13 -13
  782. package/lib/typescript/utils/par.d.ts.map +1 -1
  783. package/lib/typescript/utils/parser.d.ts +2 -2
  784. package/lib/typescript/utils/parser.d.ts.map +1 -1
  785. package/lib/typescript/utils/pop.d.ts +2 -2
  786. package/lib/typescript/utils/pop.d.ts.map +1 -1
  787. package/lib/typescript/utils/string.d.ts.map +1 -1
  788. package/lib/typescript/utils/x509.d.ts.map +1 -1
  789. package/lib/typescript/utils/zod.d.ts +5 -5
  790. package/lib/typescript/utils/zod.d.ts.map +1 -1
  791. package/lib/typescript/wallet-instance/api/index.d.ts +19 -19
  792. package/lib/typescript/wallet-instance/api/index.d.ts.map +1 -1
  793. package/lib/typescript/wallet-instance/common/wallet-instance.d.ts.map +1 -1
  794. package/lib/typescript/wallet-instance/v1.0.0/index.d.ts.map +1 -1
  795. package/lib/typescript/wallet-instance/v1.3.3/index.d.ts.map +1 -1
  796. package/lib/typescript/wallet-instance-attestation/api/index.d.ts +15 -15
  797. package/lib/typescript/wallet-instance-attestation/api/index.d.ts.map +1 -1
  798. package/lib/typescript/wallet-instance-attestation/api/types.d.ts +10 -10
  799. package/lib/typescript/wallet-instance-attestation/api/types.d.ts.map +1 -1
  800. package/lib/typescript/wallet-instance-attestation/common/types.d.ts +5 -5
  801. package/lib/typescript/wallet-instance-attestation/common/types.d.ts.map +1 -1
  802. package/lib/typescript/wallet-instance-attestation/v1.0.0/index.d.ts.map +1 -1
  803. package/lib/typescript/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -1
  804. package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts +12 -12
  805. package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts +14 -14
  806. package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -1
  807. package/lib/typescript/wallet-instance-attestation/v1.0.0/utils.d.ts.map +1 -1
  808. package/lib/typescript/wallet-instance-attestation/v1.3.3/index.d.ts.map +1 -1
  809. package/lib/typescript/wallet-instance-attestation/v1.3.3/issuing.d.ts.map +1 -1
  810. package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts +10 -10
  811. package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts +5 -5
  812. package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts.map +1 -1
  813. package/lib/typescript/wallet-instance-attestation/v1.3.3/utils.d.ts.map +1 -1
  814. package/lib/typescript/wallet-unit-attestation/api/index.d.ts +20 -20
  815. package/lib/typescript/wallet-unit-attestation/api/index.d.ts.map +1 -1
  816. package/lib/typescript/wallet-unit-attestation/api/types.d.ts +10 -10
  817. package/lib/typescript/wallet-unit-attestation/api/types.d.ts.map +1 -1
  818. package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts.map +1 -1
  819. package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts.map +1 -1
  820. package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts +11 -11
  821. package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts +6 -6
  822. package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts.map +1 -1
  823. package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts.map +1 -1
  824. package/package.json +10 -7
  825. package/src/IoWallet.ts +11 -9
  826. package/src/api/index.ts +27 -27
  827. package/src/client/index.ts +14 -13
  828. package/src/credential/issuance/api/01-evaluate-issuer-trust.ts +1 -1
  829. package/src/credential/issuance/api/02-start-user-authorization.ts +9 -8
  830. package/src/credential/issuance/api/03-complete-user-authorization.ts +41 -40
  831. package/src/credential/issuance/api/04-authorize-access.ts +4 -3
  832. package/src/credential/issuance/api/05-obtain-credential.ts +8 -7
  833. package/src/credential/issuance/api/06-verify-and-parse-credential.ts +3 -2
  834. package/src/credential/issuance/api/IssuerConfig.ts +20 -19
  835. package/src/credential/issuance/api/index.ts +4 -4
  836. package/src/credential/issuance/api/mrtd-pop/index.ts +39 -38
  837. package/src/credential/issuance/api/mrtd-pop/types.ts +27 -27
  838. package/src/credential/issuance/api/types.ts +9 -8
  839. package/src/credential/issuance/common/02-start-user-authorization.ts +20 -14
  840. package/src/credential/issuance/common/06-verify-and-parse-credential.mdoc.ts +39 -34
  841. package/src/credential/issuance/common/06-verify-and-parse-credential.sdjwt.ts +32 -29
  842. package/src/credential/issuance/common/errors.ts +0 -4
  843. package/src/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.ts +7 -5
  844. package/src/credential/issuance/mrtd-pop/02-init-challenge.ts +22 -20
  845. package/src/credential/issuance/mrtd-pop/03-validate-challenge.ts +24 -21
  846. package/src/credential/issuance/mrtd-pop/index.ts +7 -6
  847. package/src/credential/issuance/v1.0.0/01-evaluate-issuer-trust.ts +3 -2
  848. package/src/credential/issuance/v1.0.0/02-start-user-authorization.ts +15 -14
  849. package/src/credential/issuance/v1.0.0/03-complete-user-authorization.ts +45 -43
  850. package/src/credential/issuance/v1.0.0/04-authorize-access.ts +17 -15
  851. package/src/credential/issuance/v1.0.0/05-obtain-credential.ts +39 -22
  852. package/src/credential/issuance/v1.0.0/06-verify-and-parse-credential.ts +5 -4
  853. package/src/credential/issuance/v1.0.0/index.ts +11 -10
  854. package/src/credential/issuance/v1.0.0/mappers.ts +12 -11
  855. package/src/credential/issuance/v1.0.0/types.ts +2 -1
  856. package/src/credential/issuance/v1.3.3/01-evaluate-issuer-trust.ts +6 -4
  857. package/src/credential/issuance/v1.3.3/02-start-user-authorization.ts +33 -30
  858. package/src/credential/issuance/v1.3.3/03-complete-user-authorization.ts +54 -51
  859. package/src/credential/issuance/v1.3.3/04-authorize-access.ts +20 -18
  860. package/src/credential/issuance/v1.3.3/05-obtain-credential.ts +49 -43
  861. package/src/credential/issuance/v1.3.3/06-verify-and-parse-credential.ts +5 -4
  862. package/src/credential/issuance/v1.3.3/index.ts +11 -10
  863. package/src/credential/issuance/v1.3.3/mappers.ts +25 -22
  864. package/src/credential/offer/api/01-resolve-credential-offer.ts +1 -1
  865. package/src/credential/offer/api/03-validate-credential-offer.ts +2 -1
  866. package/src/credential/offer/api/index.ts +2 -2
  867. package/src/credential/offer/common/errors.ts +0 -8
  868. package/src/credential/offer/v1.0.0/index.ts +5 -4
  869. package/src/credential/offer/v1.3.3/01-resolve-credential-offer.ts +5 -3
  870. package/src/credential/offer/v1.3.3/02-extract-grant-details.ts +6 -4
  871. package/src/credential/offer/v1.3.3/03-validate-credential-offer.ts +6 -4
  872. package/src/credential/offer/v1.3.3/index.ts +2 -1
  873. package/src/credential/presentation/api/01-start-flow.ts +4 -4
  874. package/src/credential/presentation/api/02-evaluate-rp-trust.ts +1 -1
  875. package/src/credential/presentation/api/03-get-request-object.ts +1 -1
  876. package/src/credential/presentation/api/04-verify-certificate-chain.ts +1 -1
  877. package/src/credential/presentation/api/05-verify-request-object.ts +1 -1
  878. package/src/credential/presentation/api/06-evaluate-dcql-query.ts +14 -14
  879. package/src/credential/presentation/api/07-send-authorization-response.ts +21 -19
  880. package/src/credential/presentation/api/RelyingPartyConfig.ts +8 -7
  881. package/src/credential/presentation/api/index.ts +4 -4
  882. package/src/credential/presentation/api/types.ts +68 -66
  883. package/src/credential/presentation/common/errors.ts +32 -35
  884. package/src/credential/presentation/common/utils/dcql.ts +34 -30
  885. package/src/credential/presentation/common/utils/http.ts +2 -2
  886. package/src/credential/presentation/common/utils/mdoc.ts +17 -15
  887. package/src/credential/presentation/common/utils/sd-jwt.ts +19 -16
  888. package/src/credential/presentation/v1.0.0/01-start-flow.ts +4 -3
  889. package/src/credential/presentation/v1.0.0/02-evaluate-rp-trust.ts +3 -2
  890. package/src/credential/presentation/v1.0.0/03-get-request-object.ts +6 -5
  891. package/src/credential/presentation/v1.0.0/05-verify-request-object.ts +14 -12
  892. package/src/credential/presentation/v1.0.0/06-evaluate-dcql-query.ts +26 -15
  893. package/src/credential/presentation/v1.0.0/07-send-authorization-response.ts +23 -21
  894. package/src/credential/presentation/v1.0.0/index.ts +6 -5
  895. package/src/credential/presentation/v1.0.0/mappers.ts +9 -8
  896. package/src/credential/presentation/v1.0.0/types.ts +11 -10
  897. package/src/credential/presentation/v1.0.0/utils.jwks.ts +4 -3
  898. package/src/credential/presentation/v1.0.0/utils.ts +4 -3
  899. package/src/credential/presentation/v1.3.3/01-start-flow.ts +5 -3
  900. package/src/credential/presentation/v1.3.3/02-evaluate-rp-trust.ts +3 -2
  901. package/src/credential/presentation/v1.3.3/03-get-request-object.ts +4 -2
  902. package/src/credential/presentation/v1.3.3/04-verify-certificate-chain.ts +9 -7
  903. package/src/credential/presentation/v1.3.3/05-verify-request-object.ts +24 -14
  904. package/src/credential/presentation/v1.3.3/06-evaluate-dcql-query.ts +37 -23
  905. package/src/credential/presentation/v1.3.3/07-send-authorization-response.ts +40 -32
  906. package/src/credential/presentation/v1.3.3/index.ts +7 -6
  907. package/src/credential/presentation/v1.3.3/mappers.ts +13 -12
  908. package/src/credential/presentation/v1.3.3/sdkErrorMapper.ts +9 -7
  909. package/src/credential/presentation/v1.3.3/types.ts +3 -3
  910. package/src/credential/status/api/index.ts +4 -4
  911. package/src/credential/status/api/status-assertion.ts +7 -6
  912. package/src/credential/status/api/status-list.ts +17 -17
  913. package/src/credential/status/api/types.ts +12 -11
  914. package/src/credential/status/v1.0.0/01-status-assertion.ts +22 -16
  915. package/src/credential/status/v1.0.0/02-verify-and-parse-status-assertion.ts +27 -17
  916. package/src/credential/status/v1.0.0/index.ts +2 -1
  917. package/src/credential/status/v1.0.0/mappers.ts +2 -1
  918. package/src/credential/status/v1.0.0/types.ts +17 -16
  919. package/src/credential/status/v1.3.3/01-status-list.ts +9 -7
  920. package/src/credential/status/v1.3.3/02-verify-and-parse-status-list.ts +3 -1
  921. package/src/credential/status/v1.3.3/03-get-status.ts +6 -4
  922. package/src/credential/status/v1.3.3/index.ts +3 -2
  923. package/src/credential/trustmark/api/index.ts +11 -11
  924. package/src/credential/trustmark/v1.0.0/get-credential-trustmark.ts +14 -13
  925. package/src/credential/trustmark/v1.0.0/index.ts +2 -1
  926. package/src/credential/trustmark/v1.3.3/index.ts +2 -1
  927. package/src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts +48 -46
  928. package/src/credentials-catalogue/api/index.ts +14 -12
  929. package/src/credentials-catalogue/common/get-status-l10n-ids.ts +4 -4
  930. package/src/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.ts +7 -6
  931. package/src/credentials-catalogue/v1.0.0/index.ts +2 -1
  932. package/src/credentials-catalogue/v1.0.0/mappers.ts +2 -3
  933. package/src/credentials-catalogue/v1.0.0/types.ts +32 -31
  934. package/src/credentials-catalogue/v1.3.3/fetch-and-parse-catalogue.ts +14 -14
  935. package/src/credentials-catalogue/v1.3.3/fetch-translations.ts +4 -3
  936. package/src/credentials-catalogue/v1.3.3/index.ts +2 -1
  937. package/src/credentials-catalogue/v1.3.3/mappers.ts +28 -27
  938. package/src/credentials-catalogue/v1.3.3/types.ts +82 -81
  939. package/src/credentials-catalogue/v1.3.3/utils.ts +14 -12
  940. package/src/index.ts +23 -23
  941. package/src/mdoc/index.ts +26 -11
  942. package/src/mdoc/utils.ts +6 -4
  943. package/src/sd-jwt/__test__/types.test.ts +6 -6
  944. package/src/sd-jwt/__test__/utils.test.ts +2 -2
  945. package/src/sd-jwt/index.ts +10 -8
  946. package/src/sd-jwt/types.ts +14 -13
  947. package/src/sd-jwt/utils.ts +10 -9
  948. package/src/trust/api/TrustAnchorConfig.ts +3 -2
  949. package/src/trust/api/index.ts +19 -16
  950. package/src/trust/common/build-chain.ts +28 -18
  951. package/src/trust/common/errors.ts +58 -50
  952. package/src/trust/common/types.ts +22 -21
  953. package/src/trust/common/utils.ts +65 -64
  954. package/src/trust/common/verify-chain.ts +140 -138
  955. package/src/trust/v1.0.0/build-chain.ts +1 -1
  956. package/src/trust/v1.0.0/entities.ts +18 -16
  957. package/src/trust/v1.0.0/index.ts +5 -4
  958. package/src/trust/v1.0.0/mappers.ts +3 -2
  959. package/src/trust/v1.0.0/types.ts +43 -42
  960. package/src/trust/v1.0.0/verify-chain.ts +3 -2
  961. package/src/trust/v1.3.3/entities.ts +6 -4
  962. package/src/trust/v1.3.3/types.ts +10 -9
  963. package/src/utils/auth.ts +1 -1
  964. package/src/utils/callbacks.ts +38 -38
  965. package/src/utils/credentials.ts +7 -5
  966. package/src/utils/crypto.ts +36 -36
  967. package/src/utils/decoder.ts +7 -5
  968. package/src/utils/dpop.ts +5 -6
  969. package/src/utils/error-codes.ts +20 -20
  970. package/src/utils/errors.ts +89 -87
  971. package/src/utils/integrity.ts +11 -11
  972. package/src/utils/jwk.ts +4 -4
  973. package/src/utils/logging.ts +21 -20
  974. package/src/utils/mappers.ts +14 -11
  975. package/src/utils/misc.ts +15 -12
  976. package/src/utils/par.ts +30 -29
  977. package/src/utils/parser.ts +4 -4
  978. package/src/utils/pop.ts +4 -5
  979. package/src/utils/string.ts +2 -2
  980. package/src/utils/x509.ts +5 -4
  981. package/src/utils/zod.ts +4 -4
  982. package/src/wallet-instance/api/index.ts +24 -24
  983. package/src/wallet-instance/common/wallet-instance.ts +8 -7
  984. package/src/wallet-instance/v1.0.0/index.ts +5 -4
  985. package/src/wallet-instance/v1.3.3/index.ts +5 -4
  986. package/src/wallet-instance-attestation/api/index.ts +18 -17
  987. package/src/wallet-instance-attestation/api/types.ts +12 -11
  988. package/src/wallet-instance-attestation/common/types.ts +7 -6
  989. package/src/wallet-instance-attestation/v1.0.0/index.ts +3 -2
  990. package/src/wallet-instance-attestation/v1.0.0/issuing.ts +22 -20
  991. package/src/wallet-instance-attestation/v1.0.0/mappers.ts +2 -2
  992. package/src/wallet-instance-attestation/v1.0.0/types.ts +10 -9
  993. package/src/wallet-instance-attestation/v1.0.0/utils.ts +3 -2
  994. package/src/wallet-instance-attestation/v1.3.3/index.ts +4 -3
  995. package/src/wallet-instance-attestation/v1.3.3/issuing.ts +25 -23
  996. package/src/wallet-instance-attestation/v1.3.3/types.ts +3 -2
  997. package/src/wallet-instance-attestation/v1.3.3/utils.ts +3 -2
  998. package/src/wallet-unit-attestation/api/index.ts +23 -23
  999. package/src/wallet-unit-attestation/api/types.ts +11 -10
  1000. package/src/wallet-unit-attestation/v1.3.3/index.ts +6 -5
  1001. package/src/wallet-unit-attestation/v1.3.3/issuing.ts +41 -33
  1002. package/src/wallet-unit-attestation/v1.3.3/types.ts +2 -1
  1003. package/src/wallet-unit-attestation/v1.3.3/utils.ts +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/common/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAkB,MAAM,uBAAuB,CAAC;AAEtE;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,aAAa;IACnD,IAAI,SAAuC;gBAE/B,OAAO,CAAC,EAAE,MAAM;CAG7B;AAED;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,aAAa;IACtD,IAAI,SAA0D;IAE9D,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;gBAEd,KAAK,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,MAAM;CAKrD"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/common/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAkB,MAAM,uBAAuB,CAAC;AAEtE;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,aAAa;IACnD,IAAI,SAAuC;CAC5C;AAED;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,aAAa;IACtD,IAAI,SAA0D;IAE9D,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;gBAEd,KAAK,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,MAAM;CAKrD"}
@@ -1 +1 @@
1
- {"version":3,"file":"01-verify-and-parse-challenge-info.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAO,MAAM,2BAA2B,EAAE,UAAU,CAAC,6BAA6B,CAmB/E,CAAC"}
1
+ {"version":3,"file":"01-verify-and-parse-challenge-info.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAKlD,eAAO,MAAM,2BAA2B,EAAE,UAAU,CAAC,6BAA6B,CAmB/E,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { IoWalletSdkConfig } from "@pagopa/io-wallet-utils";
2
2
  import type { MRTDPoPApi } from "../api/mrtd-pop";
3
- type Config = {
3
+ interface Config {
4
4
  sdkConfig: IoWalletSdkConfig;
5
- };
5
+ }
6
6
  /**
7
7
  * Factory function to create `initChallenge` for MRTD PoP flow.
8
8
  * The factory is needed to inject version specific SDK configuration.
@@ -1 +1 @@
1
- {"version":3,"file":"02-init-challenge.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/mrtd-pop/02-init-challenge.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,iBAAiB,EAElB,MAAM,yBAAyB,CAAC;AAOjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAOlD,KAAK,MAAM,GAAG;IACZ,SAAS,EAAE,iBAAiB,CAAC;CAC9B,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,MAAM,GACb,UAAU,CAAC,eAAe,CAAC,CAgD7B"}
1
+ {"version":3,"file":"02-init-challenge.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/mrtd-pop/02-init-challenge.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,iBAAiB,EAElB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAclD,UAAU,MAAM;IACd,SAAS,EAAE,iBAAiB,CAAC;CAC9B;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,MAAM,GACb,UAAU,CAAC,eAAe,CAAC,CAgD7B"}
@@ -1,8 +1,8 @@
1
1
  import type { IoWalletSdkConfig } from "@pagopa/io-wallet-utils";
2
2
  import type { MRTDPoPApi } from "../api/mrtd-pop";
3
- type Config = {
3
+ interface Config {
4
4
  sdkConfig: IoWalletSdkConfig;
5
- };
5
+ }
6
6
  /**
7
7
  * Factory function to create `validateChallenge` for MRTD PoP flow.
8
8
  * The factory is needed to inject version specific SDK configuration.
@@ -1 +1 @@
1
- {"version":3,"file":"03-validate-challenge.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/mrtd-pop/03-validate-challenge.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAMjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,KAAK,MAAM,GAAG;IACZ,SAAS,EAAE,iBAAiB,CAAC;CAC9B,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,MAAM,GACb,UAAU,CAAC,mBAAmB,CAAC,CAqEjC;AAED,eAAO,MAAM,yBAAyB,EAAE,UAAU,CAAC,2BAA2B,CAS3E,CAAC"}
1
+ {"version":3,"file":"03-validate-challenge.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/mrtd-pop/03-validate-challenge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAQjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAQlD,UAAU,MAAM;IACd,SAAS,EAAE,iBAAiB,CAAC;CAC9B;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,MAAM,GACb,UAAU,CAAC,mBAAmB,CAAC,CAqEjC;AAED,eAAO,MAAM,yBAAyB,EAAE,UAAU,CAAC,2BAA2B,CAS3E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/mrtd-pop/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAQlD,eAAO,MAAM,WAAW,EAAE,UAKzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,UAKzB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/mrtd-pop/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAUlD,eAAO,MAAM,WAAW,EAAE,UAKzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,UAKzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"01-evaluate-issuer-trust.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/01-evaluate-issuer-trust.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAG1C,eAAO,MAAM,mBAAmB,EAAE,WAAW,CAAC,qBAAqB,CASlE,CAAC"}
1
+ {"version":3,"file":"01-evaluate-issuer-trust.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/01-evaluate-issuer-trust.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAK1C,eAAO,MAAM,mBAAmB,EAAE,WAAW,CAAC,qBAAqB,CASlE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"02-start-user-authorization.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/02-start-user-authorization.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAM1C,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,wBAAwB,CA+DtE,CAAC"}
1
+ {"version":3,"file":"02-start-user-authorization.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/02-start-user-authorization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAW1C,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,wBAAwB,CA+DtE,CAAC"}
@@ -1,5 +1,5 @@
1
- import { type AuthorizationResult } from "../../../utils/auth";
2
1
  import type { IssuanceApi } from "../api";
2
+ import { type AuthorizationResult } from "../../../utils/auth";
3
3
  export declare const continueUserAuthorizationWithMRTDPoPChallenge: IssuanceApi["continueUserAuthorizationWithMRTDPoPChallenge"];
4
4
  export declare const buildAuthorizationUrl: IssuanceApi["buildAuthorizationUrl"];
5
5
  export declare const completePidUserAuthorizationWithQueryMode: IssuanceApi["completePidUserAuthorizationWithQueryMode"];
@@ -1 +1 @@
1
- {"version":3,"file":"03-complete-user-authorization.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/03-complete-user-authorization.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,mBAAmB,EACzB,MAAM,qBAAqB,CAAC;AAmB7B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAG1C,eAAO,MAAM,6CAA6C,EAAE,WAAW,CAAC,+CAA+C,CA4BpH,CAAC;AAEJ,eAAO,MAAM,qBAAqB,EAAE,WAAW,CAAC,uBAAuB,CAgBpE,CAAC;AAEJ,eAAO,MAAM,yCAAyC,EAAE,WAAW,CAAC,2CAA2C,CAS5G,CAAC;AAEJ,eAAO,MAAM,yCAAyC,EAAE,WAAW,CAAC,2CAA2C,CAM5G,CAAC;AAEJ,eAAO,MAAM,mCAAmC,EAAE,WAAW,CAAC,qCAAqC,CA0ChG,CAAC;AAEJ,eAAO,MAAM,4CAA4C,EAAE,WAAW,CAAC,8CAA8C,CA2ElH,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,GACrC,SAAS,OAAO,KACf,mBAqBF,CAAC"}
1
+ {"version":3,"file":"03-complete-user-authorization.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/03-complete-user-authorization.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,EAGL,KAAK,mBAAmB,EAEzB,MAAM,qBAAqB,CAAC;AAc7B,eAAO,MAAM,6CAA6C,EAAE,WAAW,CAAC,+CAA+C,CA4BpH,CAAC;AAEJ,eAAO,MAAM,qBAAqB,EAAE,WAAW,CAAC,uBAAuB,CAgBpE,CAAC;AAEJ,eAAO,MAAM,yCAAyC,EAAE,WAAW,CAAC,2CAA2C,CAS5G,CAAC;AAEJ,eAAO,MAAM,yCAAyC,EAAE,WAAW,CAAC,2CAA2C,CAM5G,CAAC;AAEJ,eAAO,MAAM,mCAAmC,EAAE,WAAW,CAAC,qCAAqC,CA0ChG,CAAC;AAEJ,eAAO,MAAM,4CAA4C,EAAE,WAAW,CAAC,8CAA8C,CA2ElH,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,GACrC,SAAS,OAAO,KACf,mBAqBF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"04-authorize-access.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/04-authorize-access.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAG1C,eAAO,MAAM,eAAe,EAAE,WAAW,CAAC,iBAAiB,CAkF1D,CAAC"}
1
+ {"version":3,"file":"04-authorize-access.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/04-authorize-access.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAU1C,eAAO,MAAM,eAAe,EAAE,WAAW,CAAC,iBAAiB,CAkF1D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"05-obtain-credential.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/05-obtain-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAGnB,MAAM,6BAA6B,CAAC;AAarC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAG1C,eAAO,MAAM,gBAAgB,GAC3B,OAAO,MAAM,EACb,QAAQ,MAAM,EACd,UAAU,MAAM,EAChB,KAAK,aAAa,KACjB,OAAO,CAAC,MAAM,CAehB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,kBAAkB,CAsI5D,CAAC;AAsCF,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,wBAAwB,CAGtE,CAAC"}
1
+ {"version":3,"file":"05-obtain-credential.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/05-obtain-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAGnB,MAAM,6BAA6B,CAAC;AAGrC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAgB1C,eAAO,MAAM,gBAAgB,GAC3B,OAAO,MAAM,EACb,QAAQ,MAAM,EACd,UAAU,MAAM,EAChB,KAAK,aAAa,KACjB,OAAO,CAAC,MAAM,CAehB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,kBAAkB,CAoJ5D,CAAC;AAsCF,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,wBAAwB,CAGtE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"06-verify-and-parse-credential.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/06-verify-and-parse-credential.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE1C,eAAO,MAAM,wBAAwB,EAAE,WAAW,CAAC,0BAA0B,CAuC1E,CAAC"}
1
+ {"version":3,"file":"06-verify-and-parse-credential.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/06-verify-and-parse-credential.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAO1C,eAAO,MAAM,wBAAwB,EAAE,WAAW,CAAC,0BAA0B,CAuC1E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAmB1C,eAAO,MAAM,QAAQ,EAAE,WActB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAoB1C,eAAO,MAAM,QAAQ,EAAE,WActB,CAAC"}
@@ -1,34 +1,14 @@
1
1
  export declare const mapToIssuerConfig: (input: {
2
2
  header: {
3
- typ: "entity-statement+jwt";
4
3
  alg: string;
5
4
  kid: string;
5
+ typ: "entity-statement+jwt";
6
6
  };
7
7
  payload: {
8
8
  [x: string]: unknown;
9
- iss: string;
10
- sub: string;
11
- iat: number;
12
9
  exp: number;
13
- metadata: {
14
- [x: string]: unknown;
15
- federation_entity: {
16
- [x: string]: unknown;
17
- federation_fetch_endpoint?: string | undefined;
18
- federation_list_endpoint?: string | undefined;
19
- federation_resolve_endpoint?: string | undefined;
20
- federation_trust_mark_status_endpoint?: string | undefined;
21
- federation_trust_mark_list_endpoint?: string | undefined;
22
- federation_trust_mark_endpoint?: string | undefined;
23
- federation_historical_keys_endpoint?: string | undefined;
24
- endpoint_auth_signing_alg_values_supported?: string | undefined;
25
- organization_name?: string | undefined;
26
- homepage_uri?: string | undefined;
27
- policy_uri?: string | undefined;
28
- logo_uri?: string | undefined;
29
- contacts?: string[] | undefined;
30
- };
31
- };
10
+ iat: number;
11
+ iss: string;
32
12
  jwks: {
33
13
  keys: {
34
14
  kty: "RSA" | "EC";
@@ -48,13 +28,33 @@ export declare const mapToIssuerConfig: (input: {
48
28
  qi?: string | undefined;
49
29
  use?: string | undefined;
50
30
  x?: string | undefined;
51
- y?: string | undefined;
52
31
  x5c?: string[] | undefined;
53
32
  x5t?: string | undefined;
54
33
  "x5t#S256"?: string | undefined;
55
34
  x5u?: string | undefined;
35
+ y?: string | undefined;
56
36
  }[];
57
37
  };
38
+ metadata: {
39
+ [x: string]: unknown;
40
+ federation_entity: {
41
+ [x: string]: unknown;
42
+ contacts?: string[] | undefined;
43
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
44
+ federation_fetch_endpoint?: string | undefined;
45
+ federation_historical_keys_endpoint?: string | undefined;
46
+ federation_list_endpoint?: string | undefined;
47
+ federation_resolve_endpoint?: string | undefined;
48
+ federation_trust_mark_endpoint?: string | undefined;
49
+ federation_trust_mark_list_endpoint?: string | undefined;
50
+ federation_trust_mark_status_endpoint?: string | undefined;
51
+ homepage_uri?: string | undefined;
52
+ logo_uri?: string | undefined;
53
+ organization_name?: string | undefined;
54
+ policy_uri?: string | undefined;
55
+ };
56
+ };
57
+ sub: string;
58
58
  authority_hints?: string[] | undefined;
59
59
  };
60
60
  } & {
@@ -78,53 +78,21 @@ export declare const mapToIssuerConfig: (input: {
78
78
  qi?: string | undefined;
79
79
  use?: string | undefined;
80
80
  x?: string | undefined;
81
- y?: string | undefined;
82
81
  x5c?: string[] | undefined;
83
82
  x5t?: string | undefined;
84
83
  "x5t#S256"?: string | undefined;
85
84
  x5u?: string | undefined;
85
+ y?: string | undefined;
86
86
  }[];
87
87
  };
88
88
  metadata: {
89
- openid_credential_issuer: {
90
- credential_issuer: string;
91
- credential_endpoint: string;
92
- nonce_endpoint: string;
93
- status_attestation_endpoint: string;
94
- display: {
95
- name: string;
96
- locale: string;
97
- }[];
98
- credential_configurations_supported: Record<string, ({
99
- format: "dc+sd-jwt";
100
- vct: string;
101
- } | {
102
- format: "mso_mdoc";
103
- doctype: string;
104
- }) & {
105
- scope: string;
106
- display: {
107
- name: string;
108
- locale: string;
109
- }[];
110
- claims: {
111
- path: (string | number | null)[];
112
- display: {
113
- name: string;
114
- locale: string;
115
- }[];
116
- }[];
117
- cryptographic_binding_methods_supported: string[];
118
- credential_signing_alg_values_supported: string[];
119
- authentic_source?: string | undefined;
120
- issuance_errors_supported?: Record<string, {
121
- display: {
122
- title: string;
123
- description: string;
124
- locale: string;
125
- }[];
126
- }> | undefined;
127
- }>;
89
+ oauth_authorization_server: {
90
+ acr_values_supported: string[];
91
+ authorization_endpoint: string;
92
+ client_registration_types_supported: string[];
93
+ code_challenge_methods_supported: string[];
94
+ grant_types_supported: string[];
95
+ issuer: string;
128
96
  jwks: {
129
97
  keys: {
130
98
  kty: "RSA" | "EC";
@@ -144,26 +112,59 @@ export declare const mapToIssuerConfig: (input: {
144
112
  qi?: string | undefined;
145
113
  use?: string | undefined;
146
114
  x?: string | undefined;
147
- y?: string | undefined;
148
115
  x5c?: string[] | undefined;
149
116
  x5t?: string | undefined;
150
117
  "x5t#S256"?: string | undefined;
151
118
  x5u?: string | undefined;
119
+ y?: string | undefined;
152
120
  }[];
153
121
  };
154
- trust_frameworks_supported: string[];
155
- evidence_supported: string[];
156
- revocation_endpoint?: string | undefined;
157
- };
158
- oauth_authorization_server: {
159
- authorization_endpoint: string;
160
122
  pushed_authorization_request_endpoint: string;
123
+ request_object_signing_alg_values_supported: string[];
124
+ response_modes_supported: string[];
125
+ scopes_supported: string[];
161
126
  token_endpoint: string;
162
- client_registration_types_supported: string[];
163
- code_challenge_methods_supported: string[];
164
- acr_values_supported: string[];
165
- grant_types_supported: string[];
166
- issuer: string;
127
+ token_endpoint_auth_methods_supported: string[];
128
+ token_endpoint_auth_signing_alg_values_supported: string[];
129
+ };
130
+ openid_credential_issuer: {
131
+ credential_configurations_supported: Record<string, ({
132
+ format: "dc+sd-jwt";
133
+ vct: string;
134
+ } | {
135
+ doctype: string;
136
+ format: "mso_mdoc";
137
+ }) & {
138
+ claims: {
139
+ display: {
140
+ locale: string;
141
+ name: string;
142
+ }[];
143
+ path: (string | number | null)[];
144
+ }[];
145
+ credential_signing_alg_values_supported: string[];
146
+ cryptographic_binding_methods_supported: string[];
147
+ display: {
148
+ locale: string;
149
+ name: string;
150
+ }[];
151
+ scope: string;
152
+ authentic_source?: string | undefined;
153
+ issuance_errors_supported?: Record<string, {
154
+ display: {
155
+ description: string;
156
+ locale: string;
157
+ title: string;
158
+ }[];
159
+ }> | undefined;
160
+ }>;
161
+ credential_endpoint: string;
162
+ credential_issuer: string;
163
+ display: {
164
+ locale: string;
165
+ name: string;
166
+ }[];
167
+ evidence_supported: string[];
167
168
  jwks: {
168
169
  keys: {
169
170
  kty: "RSA" | "EC";
@@ -183,18 +184,17 @@ export declare const mapToIssuerConfig: (input: {
183
184
  qi?: string | undefined;
184
185
  use?: string | undefined;
185
186
  x?: string | undefined;
186
- y?: string | undefined;
187
187
  x5c?: string[] | undefined;
188
188
  x5t?: string | undefined;
189
189
  "x5t#S256"?: string | undefined;
190
190
  x5u?: string | undefined;
191
+ y?: string | undefined;
191
192
  }[];
192
193
  };
193
- scopes_supported: string[];
194
- response_modes_supported: string[];
195
- token_endpoint_auth_methods_supported: string[];
196
- token_endpoint_auth_signing_alg_values_supported: string[];
197
- request_object_signing_alg_values_supported: string[];
194
+ nonce_endpoint: string;
195
+ status_attestation_endpoint: string;
196
+ trust_frameworks_supported: string[];
197
+ revocation_endpoint?: string | undefined;
198
198
  };
199
199
  openid_credential_verifier?: {
200
200
  jwks: {
@@ -212,95 +212,95 @@ export declare const mapToIssuerConfig: (input: {
212
212
  }[];
213
213
  };
214
214
  application_type?: string | undefined;
215
+ authorization_encrypted_response_alg?: string | undefined;
216
+ authorization_encrypted_response_enc?: string | undefined;
217
+ authorization_signed_response_alg?: string | undefined;
215
218
  client_id?: string | undefined;
216
219
  client_name?: string | undefined;
217
220
  contacts?: string[] | undefined;
218
221
  request_uris?: string[] | undefined;
219
- authorization_signed_response_alg?: string | undefined;
220
- authorization_encrypted_response_alg?: string | undefined;
221
- authorization_encrypted_response_enc?: string | undefined;
222
222
  } | undefined;
223
223
  };
224
224
  };
225
225
  }) => {
226
- credential_issuer: string;
227
- pushed_authorization_request_endpoint: string;
228
226
  authorization_endpoint: string;
229
- token_endpoint: string;
230
- nonce_endpoint: string;
231
- credential_endpoint: string;
232
- keys: {
233
- kty: "RSA" | "EC";
234
- alg?: string | undefined;
235
- crv?: string | undefined;
236
- d?: string | undefined;
237
- dp?: string | undefined;
238
- dq?: string | undefined;
239
- e?: string | undefined;
240
- ext?: boolean | undefined;
241
- k?: string | undefined;
242
- key_ops?: string[] | undefined;
243
- kid?: string | undefined;
244
- n?: string | undefined;
245
- p?: string | undefined;
246
- q?: string | undefined;
247
- qi?: string | undefined;
248
- use?: string | undefined;
249
- x?: string | undefined;
250
- y?: string | undefined;
251
- x5c?: string[] | undefined;
252
- x5t?: string | undefined;
253
- "x5t#S256"?: string | undefined;
254
- x5u?: string | undefined;
255
- }[];
256
227
  credential_configurations_supported: Record<string, ({
257
228
  format: "dc+sd-jwt";
258
229
  vct: string;
259
230
  } | {
260
- format: "mso_mdoc";
261
231
  doctype: string;
232
+ format: "mso_mdoc";
262
233
  }) & {
263
- scope: string;
264
- display: {
265
- name: string;
266
- locale: string;
267
- }[];
268
234
  claims: {
269
235
  path: (string | number | null)[];
270
236
  display?: {
271
- name: string;
272
237
  locale: string;
238
+ name: string;
273
239
  }[] | undefined;
274
240
  }[];
241
+ display: {
242
+ locale: string;
243
+ name: string;
244
+ }[];
245
+ scope: string;
275
246
  authentic_source?: string | undefined;
276
247
  issuance_errors_supported?: Record<string, {
277
248
  display: {
278
- title: string;
279
249
  description: string;
280
250
  locale: string;
251
+ title: string;
281
252
  }[];
282
253
  }> | undefined;
283
254
  }>;
255
+ credential_endpoint: string;
256
+ credential_issuer: string;
284
257
  federation_entity: {
285
258
  [x: string]: unknown;
259
+ contacts?: string[] | undefined;
260
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
286
261
  federation_fetch_endpoint?: string | undefined;
262
+ federation_historical_keys_endpoint?: string | undefined;
287
263
  federation_list_endpoint?: string | undefined;
288
264
  federation_resolve_endpoint?: string | undefined;
289
- federation_trust_mark_status_endpoint?: string | undefined;
290
- federation_trust_mark_list_endpoint?: string | undefined;
291
265
  federation_trust_mark_endpoint?: string | undefined;
292
- federation_historical_keys_endpoint?: string | undefined;
293
- endpoint_auth_signing_alg_values_supported?: string | undefined;
294
- organization_name?: string | undefined;
266
+ federation_trust_mark_list_endpoint?: string | undefined;
267
+ federation_trust_mark_status_endpoint?: string | undefined;
295
268
  homepage_uri?: string | undefined;
296
- policy_uri?: string | undefined;
297
269
  logo_uri?: string | undefined;
298
- contacts?: string[] | undefined;
270
+ organization_name?: string | undefined;
271
+ policy_uri?: string | undefined;
299
272
  };
273
+ keys: {
274
+ kty: "RSA" | "EC";
275
+ alg?: string | undefined;
276
+ crv?: string | undefined;
277
+ d?: string | undefined;
278
+ dp?: string | undefined;
279
+ dq?: string | undefined;
280
+ e?: string | undefined;
281
+ ext?: boolean | undefined;
282
+ k?: string | undefined;
283
+ key_ops?: string[] | undefined;
284
+ kid?: string | undefined;
285
+ n?: string | undefined;
286
+ p?: string | undefined;
287
+ q?: string | undefined;
288
+ qi?: string | undefined;
289
+ use?: string | undefined;
290
+ x?: string | undefined;
291
+ x5c?: string[] | undefined;
292
+ x5t?: string | undefined;
293
+ "x5t#S256"?: string | undefined;
294
+ x5u?: string | undefined;
295
+ y?: string | undefined;
296
+ }[];
297
+ nonce_endpoint: string;
298
+ pushed_authorization_request_endpoint: string;
299
+ token_endpoint: string;
300
300
  authorization_servers?: [string, ...string[]] | undefined;
301
- status_assertion_endpoint?: string | undefined;
302
301
  credential_issuance_batch_size?: number | undefined;
303
302
  encrypted_response_enc_values_supported?: string[] | undefined;
304
303
  response_modes_supported?: string[] | undefined;
304
+ status_assertion_endpoint?: string | undefined;
305
305
  };
306
306
  //# sourceMappingURL=mappers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/mappers.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgC5B,CAAC"}
1
+ {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/mappers.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgC5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAGlE,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC;AAE9C,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,eAAO,MAAM,kBAAkB;;;;;iBAO7B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,sBAAsB;;iBAEjC,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,eAAO,MAAM,aAAa;;iBAExB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.0.0/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAGlE,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC;AAE9C,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,eAAO,MAAM,kBAAkB;;;;;iBAO7B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,sBAAsB;;iBAEjC,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,eAAO,MAAM,aAAa;;iBAExB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"01-evaluate-issuer-trust.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/01-evaluate-issuer-trust.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAG1C,eAAO,MAAM,mBAAmB,EAAE,WAAW,CAAC,qBAAqB,CAclE,CAAC"}
1
+ {"version":3,"file":"01-evaluate-issuer-trust.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/01-evaluate-issuer-trust.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAK1C,eAAO,MAAM,mBAAmB,EAAE,WAAW,CAAC,qBAAqB,CAclE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"02-start-user-authorization.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/02-start-user-authorization.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAS1C,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,wBAAwB,CAsGtE,CAAC"}
1
+ {"version":3,"file":"02-start-user-authorization.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/02-start-user-authorization.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAW1C,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,wBAAwB,CAsGtE,CAAC"}
@@ -1,5 +1,5 @@
1
- import { type AuthorizationResult } from "../../../utils/auth";
2
1
  import type { IssuanceApi } from "../api";
2
+ import { type AuthorizationResult } from "../../../utils/auth";
3
3
  export declare const continueUserAuthorizationWithMRTDPoPChallenge: IssuanceApi["continueUserAuthorizationWithMRTDPoPChallenge"];
4
4
  export declare const buildAuthorizationUrl: IssuanceApi["buildAuthorizationUrl"];
5
5
  export declare const completePidUserAuthorizationWithQueryMode: IssuanceApi["completePidUserAuthorizationWithQueryMode"];
@@ -1 +1 @@
1
- {"version":3,"file":"03-complete-user-authorization.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/03-complete-user-authorization.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,mBAAmB,EACzB,MAAM,qBAAqB,CAAC;AAoB7B,OAAO,KAAK,EAAsB,WAAW,EAAgB,MAAM,QAAQ,CAAC;AAK5E,eAAO,MAAM,6CAA6C,EAAE,WAAW,CAAC,+CAA+C,CAoBpH,CAAC;AAEJ,eAAO,MAAM,qBAAqB,EAAE,WAAW,CAAC,uBAAuB,CAgBpE,CAAC;AAEJ,eAAO,MAAM,yCAAyC,EAAE,WAAW,CAAC,2CAA2C,CAS5G,CAAC;AAEJ,eAAO,MAAM,mCAAmC,EAAE,WAAW,CAAC,qCAAqC,CAkChG,CAAC;AAGJ,eAAO,MAAM,4CAA4C,EAAE,WAAW,CAAC,8CAA8C,CA0ClH,CAAC;AAEJ,eAAO,MAAM,yCAAyC,EAAE,WAAW,CAAC,2CAA2C,CA6D5G,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,GACrC,SAAS,OAAO,KACf,mBAqBF,CAAC"}
1
+ {"version":3,"file":"03-complete-user-authorization.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/03-complete-user-authorization.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAsB,WAAW,EAAgB,MAAM,QAAQ,CAAC;AAE5E,OAAO,EAEL,KAAK,mBAAmB,EAEzB,MAAM,qBAAqB,CAAC;AAa7B,eAAO,MAAM,6CAA6C,EAAE,WAAW,CAAC,+CAA+C,CAoBpH,CAAC;AAEJ,eAAO,MAAM,qBAAqB,EAAE,WAAW,CAAC,uBAAuB,CAgBpE,CAAC;AAEJ,eAAO,MAAM,yCAAyC,EAAE,WAAW,CAAC,2CAA2C,CAS5G,CAAC;AAEJ,eAAO,MAAM,mCAAmC,EAAE,WAAW,CAAC,qCAAqC,CAkChG,CAAC;AAGJ,eAAO,MAAM,4CAA4C,EAAE,WAAW,CAAC,8CAA8C,CA0ClH,CAAC;AAEJ,eAAO,MAAM,yCAAyC,EAAE,WAAW,CAAC,2CAA2C,CA6D5G,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,GACrC,SAAS,OAAO,KACf,mBAqBF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"04-authorize-access.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/04-authorize-access.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,WAAW,EAAiB,MAAM,QAAQ,CAAC;AAEzD,eAAO,MAAM,eAAe,EAAE,WAAW,CAAC,iBAAiB,CA0E1D,CAAC"}
1
+ {"version":3,"file":"04-authorize-access.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/04-authorize-access.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAiB,MAAM,QAAQ,CAAC;AASzD,eAAO,MAAM,eAAe,EAAE,WAAW,CAAC,iBAAiB,CA0E1D,CAAC"}
@@ -1,17 +1,17 @@
1
1
  import { type CryptoContext } from "@pagopa/io-react-native-jwt";
2
- import { type Out } from "../../../utils/misc";
3
2
  import type { IssuanceApi, IssuerConfig } from "../api";
4
3
  import type { AuthorizeAccessApi } from "../api/04-authorize-access";
5
- type CreateRequestParams = {
4
+ import { type Out } from "../../../utils/misc";
5
+ interface CreateRequestParams {
6
+ accessToken: Out<AuthorizeAccessApi["authorizeAccess"]>["accessToken"];
7
+ appFetch?: GlobalFetch["fetch"];
6
8
  clientId: string;
9
+ credentialCryptoContexts: CryptoContext[];
7
10
  credentialIdentifier: string;
8
- accessToken: Out<AuthorizeAccessApi["authorizeAccess"]>["accessToken"];
9
- issuerConf: IssuerConfig;
10
11
  dPopCryptoContext: CryptoContext;
11
- credentialCryptoContexts: CryptoContext[];
12
+ issuerConf: IssuerConfig;
12
13
  keyAttestationJwt: string;
13
- appFetch?: GlobalFetch["fetch"];
14
- };
14
+ }
15
15
  /**
16
16
  * Helper to create a credential request and fetch it from the issuer.
17
17
  *
@@ -19,7 +19,7 @@ type CreateRequestParams = {
19
19
  *
20
20
  * @returns The raw credential response
21
21
  */
22
- export declare const requestCredentials: ({ issuerConf, accessToken, credentialIdentifier, clientId, keyAttestationJwt, credentialCryptoContexts, dPopCryptoContext, appFetch, }: CreateRequestParams) => Promise<import("@pagopa/io-wallet-oid4vci").CredentialResponse>;
22
+ export declare const requestCredentials: ({ accessToken, appFetch, clientId, credentialCryptoContexts, credentialIdentifier, dPopCryptoContext, issuerConf, keyAttestationJwt, }: CreateRequestParams) => Promise<import("@pagopa/io-wallet-oid4vci").CredentialResponse>;
23
23
  export declare const obtainCredential: IssuanceApi["obtainCredential"];
24
24
  export declare const obtainCredentialsBatch: IssuanceApi["obtainCredentialsBatch"];
25
25
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"05-obtain-credential.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/05-obtain-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAW,MAAM,6BAA6B,CAAC;AAY1E,OAAO,EAAoB,KAAK,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAcjE,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAExD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,WAAW,EAAE,GAAG,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;IACvE,UAAU,EAAE,YAAY,CAAC;IACzB,iBAAiB,EAAE,aAAa,CAAC;IACjC,wBAAwB,EAAE,aAAa,EAAE,CAAC;IAC1C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACjC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAU,wIAStC,mBAAmB,oEA2FrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,kBAAkB,CAwE5D,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,wBAAwB,CAiDtE,CAAC"}
1
+ {"version":3,"file":"05-obtain-credential.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/05-obtain-credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAW,MAAM,6BAA6B,CAAC;AAa1E,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAerE,OAAO,EAAoB,KAAK,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAGjE,UAAU,mBAAmB;IAC3B,WAAW,EAAE,GAAG,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;IACvE,QAAQ,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,wBAAwB,EAAE,aAAa,EAAE,CAAC;IAC1C,oBAAoB,EAAE,MAAM,CAAC;IAC7B,iBAAiB,EAAE,aAAa,CAAC;IACjC,UAAU,EAAE,YAAY,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAU,wIAStC,mBAAmB,oEA2FrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,kBAAkB,CA2E5D,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,wBAAwB,CAkDtE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"06-verify-and-parse-credential.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/06-verify-and-parse-credential.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAI1C,eAAO,MAAM,wBAAwB,EAAE,WAAW,CAAC,0BAA0B,CAwC1E,CAAC"}
1
+ {"version":3,"file":"06-verify-and-parse-credential.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/06-verify-and-parse-credential.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAO1C,eAAO,MAAM,wBAAwB,EAAE,WAAW,CAAC,0BAA0B,CAwC1E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAmB1C,eAAO,MAAM,QAAQ,EAAE,WActB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAoB1C,eAAO,MAAM,QAAQ,EAAE,WActB,CAAC"}