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

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 (1847) hide show
  1. package/README.md +15 -7
  2. package/lib/commonjs/IoWallet.js +5 -6
  3. package/lib/commonjs/IoWallet.js.map +1 -1
  4. package/lib/commonjs/api/index.js +12 -14
  5. package/lib/commonjs/api/index.js.map +1 -1
  6. package/lib/commonjs/client/generated/wallet-provider.js +35 -61
  7. package/lib/commonjs/client/generated/wallet-provider.js.map +1 -1
  8. package/lib/commonjs/client/index.js +7 -10
  9. package/lib/commonjs/client/index.js.map +1 -1
  10. package/lib/commonjs/credential/index.js +2 -3
  11. package/lib/commonjs/credential/index.js.map +1 -1
  12. package/lib/commonjs/credential/issuance/api/01-evaluate-issuer-trust.js.map +1 -1
  13. package/lib/commonjs/credential/issuance/api/02-start-user-authorization.js.map +1 -1
  14. package/lib/commonjs/credential/issuance/api/03-complete-user-authorization.js.map +1 -1
  15. package/lib/commonjs/credential/issuance/api/04-authorize-access.js.map +1 -1
  16. package/lib/commonjs/credential/issuance/api/05-obtain-credential.js.map +1 -1
  17. package/lib/commonjs/credential/issuance/api/06-verify-and-parse-credential.js.map +1 -1
  18. package/lib/commonjs/credential/issuance/api/IssuerConfig.js +3 -4
  19. package/lib/commonjs/credential/issuance/api/IssuerConfig.js.map +1 -1
  20. package/lib/commonjs/credential/issuance/api/index.js.map +1 -1
  21. package/lib/commonjs/credential/issuance/api/mrtd-pop/index.js +1 -1
  22. package/lib/commonjs/credential/issuance/api/mrtd-pop/index.js.map +1 -1
  23. package/lib/commonjs/credential/issuance/api/mrtd-pop/types.js.map +1 -1
  24. package/lib/commonjs/credential/issuance/api/types.js +3 -6
  25. package/lib/commonjs/credential/issuance/api/types.js.map +1 -1
  26. package/lib/commonjs/credential/issuance/common/02-start-user-authorization.js +2 -2
  27. package/lib/commonjs/credential/issuance/common/02-start-user-authorization.js.map +1 -1
  28. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.mdoc.js +44 -88
  29. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.mdoc.js.map +1 -1
  30. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js +16 -20
  31. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
  32. package/lib/commonjs/credential/issuance/common/errors.js +1 -1
  33. package/lib/commonjs/credential/issuance/common/errors.js.map +1 -1
  34. package/lib/commonjs/credential/issuance/index.js +6 -7
  35. package/lib/commonjs/credential/issuance/index.js.map +1 -1
  36. package/lib/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js +5 -6
  37. package/lib/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js.map +1 -1
  38. package/lib/commonjs/credential/issuance/mrtd-pop/02-init-challenge.js +3 -3
  39. package/lib/commonjs/credential/issuance/mrtd-pop/02-init-challenge.js.map +1 -1
  40. package/lib/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.js +2 -2
  41. package/lib/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.js.map +1 -1
  42. package/lib/commonjs/credential/issuance/mrtd-pop/index.js +6 -8
  43. package/lib/commonjs/credential/issuance/mrtd-pop/index.js.map +1 -1
  44. package/lib/commonjs/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js +3 -4
  45. package/lib/commonjs/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js.map +1 -1
  46. package/lib/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.js +5 -5
  47. package/lib/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.js.map +1 -1
  48. package/lib/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.js +28 -36
  49. package/lib/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.js.map +1 -1
  50. package/lib/commonjs/credential/issuance/v1.0.0/04-authorize-access.js +8 -9
  51. package/lib/commonjs/credential/issuance/v1.0.0/04-authorize-access.js.map +1 -1
  52. package/lib/commonjs/credential/issuance/v1.0.0/05-obtain-credential.js +7 -8
  53. package/lib/commonjs/credential/issuance/v1.0.0/05-obtain-credential.js.map +1 -1
  54. package/lib/commonjs/credential/issuance/v1.0.0/06-verify-and-parse-credential.js +7 -8
  55. package/lib/commonjs/credential/issuance/v1.0.0/06-verify-and-parse-credential.js.map +1 -1
  56. package/lib/commonjs/credential/issuance/v1.0.0/index.js +9 -10
  57. package/lib/commonjs/credential/issuance/v1.0.0/index.js.map +1 -1
  58. package/lib/commonjs/credential/issuance/v1.0.0/mappers.js +3 -4
  59. package/lib/commonjs/credential/issuance/v1.0.0/mappers.js.map +1 -1
  60. package/lib/commonjs/credential/issuance/v1.0.0/types.js +5 -9
  61. package/lib/commonjs/credential/issuance/v1.0.0/types.js.map +1 -1
  62. package/lib/commonjs/credential/issuance/v1.4.6/01-evaluate-issuer-trust.js +3 -4
  63. package/lib/commonjs/credential/issuance/v1.4.6/01-evaluate-issuer-trust.js.map +1 -1
  64. package/lib/commonjs/credential/issuance/v1.4.6/02-start-user-authorization.js +5 -5
  65. package/lib/commonjs/credential/issuance/v1.4.6/02-start-user-authorization.js.map +1 -1
  66. package/lib/commonjs/credential/issuance/v1.4.6/03-complete-user-authorization.js +31 -39
  67. package/lib/commonjs/credential/issuance/v1.4.6/03-complete-user-authorization.js.map +1 -1
  68. package/lib/commonjs/credential/issuance/v1.4.6/04-authorize-access.js +3 -3
  69. package/lib/commonjs/credential/issuance/v1.4.6/04-authorize-access.js.map +1 -1
  70. package/lib/commonjs/credential/issuance/v1.4.6/05-obtain-credential.js +37 -48
  71. package/lib/commonjs/credential/issuance/v1.4.6/05-obtain-credential.js.map +1 -1
  72. package/lib/commonjs/credential/issuance/v1.4.6/06-verify-and-parse-credential.js +7 -8
  73. package/lib/commonjs/credential/issuance/v1.4.6/06-verify-and-parse-credential.js.map +1 -1
  74. package/lib/commonjs/credential/issuance/v1.4.6/index.js +9 -10
  75. package/lib/commonjs/credential/issuance/v1.4.6/index.js.map +1 -1
  76. package/lib/commonjs/credential/issuance/v1.4.6/mappers.js +19 -27
  77. package/lib/commonjs/credential/issuance/v1.4.6/mappers.js.map +1 -1
  78. package/lib/commonjs/credential/issuance/v1.4.6/types.js +2 -4
  79. package/lib/commonjs/credential/issuance/v1.4.6/types.js.map +1 -1
  80. package/lib/commonjs/credential/offer/api/01-resolve-credential-offer.js.map +1 -1
  81. package/lib/commonjs/credential/offer/api/02-extract-grant-details.js.map +1 -1
  82. package/lib/commonjs/credential/offer/api/03-validate-credential-offer.js.map +1 -1
  83. package/lib/commonjs/credential/offer/api/index.js +1 -1
  84. package/lib/commonjs/credential/offer/api/index.js.map +1 -1
  85. package/lib/commonjs/credential/offer/api/types.js.map +1 -1
  86. package/lib/commonjs/credential/offer/common/errors.js +1 -1
  87. package/lib/commonjs/credential/offer/common/errors.js.map +1 -1
  88. package/lib/commonjs/credential/offer/index.js +6 -7
  89. package/lib/commonjs/credential/offer/index.js.map +1 -1
  90. package/lib/commonjs/credential/offer/v1.0.0/index.js +2 -3
  91. package/lib/commonjs/credential/offer/v1.0.0/index.js.map +1 -1
  92. package/lib/commonjs/credential/offer/v1.4.6/01-resolve-credential-offer.js +3 -4
  93. package/lib/commonjs/credential/offer/v1.4.6/01-resolve-credential-offer.js.map +1 -1
  94. package/lib/commonjs/credential/offer/v1.4.6/02-extract-grant-details.js +3 -3
  95. package/lib/commonjs/credential/offer/v1.4.6/02-extract-grant-details.js.map +1 -1
  96. package/lib/commonjs/credential/offer/v1.4.6/03-validate-credential-offer.js +6 -7
  97. package/lib/commonjs/credential/offer/v1.4.6/03-validate-credential-offer.js.map +1 -1
  98. package/lib/commonjs/credential/offer/v1.4.6/index.js +4 -5
  99. package/lib/commonjs/credential/offer/v1.4.6/index.js.map +1 -1
  100. package/lib/commonjs/credential/presentation/api/01-start-flow.js.map +1 -1
  101. package/lib/commonjs/credential/presentation/api/02-evaluate-rp-trust.js.map +1 -1
  102. package/lib/commonjs/credential/presentation/api/03-get-request-object.js.map +1 -1
  103. package/lib/commonjs/credential/presentation/api/04-verify-certificate-chain.js.map +1 -1
  104. package/lib/commonjs/credential/presentation/api/05-verify-request-object.js.map +1 -1
  105. package/lib/commonjs/credential/presentation/api/06-evaluate-dcql-query.js.map +1 -1
  106. package/lib/commonjs/credential/presentation/api/07-send-authorization-response.js.map +1 -1
  107. package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js +3 -5
  108. package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
  109. package/lib/commonjs/credential/presentation/api/index.js +1 -1
  110. package/lib/commonjs/credential/presentation/api/index.js.map +1 -1
  111. package/lib/commonjs/credential/presentation/api/types.js +7 -10
  112. package/lib/commonjs/credential/presentation/api/types.js.map +1 -1
  113. package/lib/commonjs/credential/presentation/common/errors.js +3 -6
  114. package/lib/commonjs/credential/presentation/common/errors.js.map +1 -1
  115. package/lib/commonjs/credential/presentation/common/utils/dcql.js +22 -41
  116. package/lib/commonjs/credential/presentation/common/utils/dcql.js.map +1 -1
  117. package/lib/commonjs/credential/presentation/common/utils/http.js +7 -11
  118. package/lib/commonjs/credential/presentation/common/utils/http.js.map +1 -1
  119. package/lib/commonjs/credential/presentation/common/utils/mdoc.js +17 -28
  120. package/lib/commonjs/credential/presentation/common/utils/mdoc.js.map +1 -1
  121. package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js +7 -12
  122. package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js.map +1 -1
  123. package/lib/commonjs/credential/presentation/index.js +6 -7
  124. package/lib/commonjs/credential/presentation/index.js.map +1 -1
  125. package/lib/commonjs/credential/presentation/v1.0.0/01-start-flow.js +2 -2
  126. package/lib/commonjs/credential/presentation/v1.0.0/01-start-flow.js.map +1 -1
  127. package/lib/commonjs/credential/presentation/v1.0.0/02-evaluate-rp-trust.js +5 -6
  128. package/lib/commonjs/credential/presentation/v1.0.0/02-evaluate-rp-trust.js.map +1 -1
  129. package/lib/commonjs/credential/presentation/v1.0.0/03-get-request-object.js +8 -9
  130. package/lib/commonjs/credential/presentation/v1.0.0/03-get-request-object.js.map +1 -1
  131. package/lib/commonjs/credential/presentation/v1.0.0/05-verify-request-object.js +12 -16
  132. package/lib/commonjs/credential/presentation/v1.0.0/05-verify-request-object.js.map +1 -1
  133. package/lib/commonjs/credential/presentation/v1.0.0/06-evaluate-dcql-query.js +14 -23
  134. package/lib/commonjs/credential/presentation/v1.0.0/06-evaluate-dcql-query.js.map +1 -1
  135. package/lib/commonjs/credential/presentation/v1.0.0/07-send-authorization-response.js +22 -28
  136. package/lib/commonjs/credential/presentation/v1.0.0/07-send-authorization-response.js.map +1 -1
  137. package/lib/commonjs/credential/presentation/v1.0.0/index.js +7 -8
  138. package/lib/commonjs/credential/presentation/v1.0.0/index.js.map +1 -1
  139. package/lib/commonjs/credential/presentation/v1.0.0/mappers.js +18 -24
  140. package/lib/commonjs/credential/presentation/v1.0.0/mappers.js.map +1 -1
  141. package/lib/commonjs/credential/presentation/v1.0.0/types.js +7 -10
  142. package/lib/commonjs/credential/presentation/v1.0.0/types.js.map +1 -1
  143. package/lib/commonjs/credential/presentation/v1.0.0/utils.js +1 -1
  144. package/lib/commonjs/credential/presentation/v1.0.0/utils.js.map +1 -1
  145. package/lib/commonjs/credential/presentation/v1.0.0/utils.jwks.js +1 -1
  146. package/lib/commonjs/credential/presentation/v1.0.0/utils.jwks.js.map +1 -1
  147. package/lib/commonjs/credential/presentation/v1.4.6/01-start-flow.js +3 -6
  148. package/lib/commonjs/credential/presentation/v1.4.6/01-start-flow.js.map +1 -1
  149. package/lib/commonjs/credential/presentation/v1.4.6/02-evaluate-rp-trust.js +5 -6
  150. package/lib/commonjs/credential/presentation/v1.4.6/02-evaluate-rp-trust.js.map +1 -1
  151. package/lib/commonjs/credential/presentation/v1.4.6/03-get-request-object.js +6 -7
  152. package/lib/commonjs/credential/presentation/v1.4.6/03-get-request-object.js.map +1 -1
  153. package/lib/commonjs/credential/presentation/v1.4.6/04-verify-certificate-chain.js +5 -6
  154. package/lib/commonjs/credential/presentation/v1.4.6/04-verify-certificate-chain.js.map +1 -1
  155. package/lib/commonjs/credential/presentation/v1.4.6/05-verify-request-object.js +11 -13
  156. package/lib/commonjs/credential/presentation/v1.4.6/05-verify-request-object.js.map +1 -1
  157. package/lib/commonjs/credential/presentation/v1.4.6/06-evaluate-dcql-query.js +15 -25
  158. package/lib/commonjs/credential/presentation/v1.4.6/06-evaluate-dcql-query.js.map +1 -1
  159. package/lib/commonjs/credential/presentation/v1.4.6/07-send-authorization-response.js +29 -38
  160. package/lib/commonjs/credential/presentation/v1.4.6/07-send-authorization-response.js.map +1 -1
  161. package/lib/commonjs/credential/presentation/v1.4.6/index.js +8 -9
  162. package/lib/commonjs/credential/presentation/v1.4.6/index.js.map +1 -1
  163. package/lib/commonjs/credential/presentation/v1.4.6/mappers.js +20 -26
  164. package/lib/commonjs/credential/presentation/v1.4.6/mappers.js.map +1 -1
  165. package/lib/commonjs/credential/presentation/v1.4.6/sdkErrorMapper.js +9 -13
  166. package/lib/commonjs/credential/presentation/v1.4.6/sdkErrorMapper.js.map +1 -1
  167. package/lib/commonjs/credential/presentation/v1.4.6/types.js +3 -6
  168. package/lib/commonjs/credential/presentation/v1.4.6/types.js.map +1 -1
  169. package/lib/commonjs/credential/status/api/index.js +1 -1
  170. package/lib/commonjs/credential/status/api/index.js.map +1 -1
  171. package/lib/commonjs/credential/status/api/status-assertion.js.map +1 -1
  172. package/lib/commonjs/credential/status/api/status-list.js.map +1 -1
  173. package/lib/commonjs/credential/status/api/types.js +3 -5
  174. package/lib/commonjs/credential/status/api/types.js.map +1 -1
  175. package/lib/commonjs/credential/status/index.js +8 -8
  176. package/lib/commonjs/credential/status/index.js.map +1 -1
  177. package/lib/commonjs/credential/status/v1.0.0/01-status-assertion.js +5 -5
  178. package/lib/commonjs/credential/status/v1.0.0/01-status-assertion.js.map +1 -1
  179. package/lib/commonjs/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js +9 -10
  180. package/lib/commonjs/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js.map +1 -1
  181. package/lib/commonjs/credential/status/v1.0.0/index.js +3 -4
  182. package/lib/commonjs/credential/status/v1.0.0/index.js.map +1 -1
  183. package/lib/commonjs/credential/status/v1.0.0/mappers.js +2 -3
  184. package/lib/commonjs/credential/status/v1.0.0/mappers.js.map +1 -1
  185. package/lib/commonjs/credential/status/v1.0.0/types.js +10 -14
  186. package/lib/commonjs/credential/status/v1.0.0/types.js.map +1 -1
  187. package/lib/commonjs/credential/status/v1.4.6/01-status-list.js +14 -19
  188. package/lib/commonjs/credential/status/v1.4.6/01-status-list.js.map +1 -1
  189. package/lib/commonjs/credential/status/v1.4.6/02-verify-and-parse-status-list.js +1 -1
  190. package/lib/commonjs/credential/status/v1.4.6/02-verify-and-parse-status-list.js.map +1 -1
  191. package/lib/commonjs/credential/status/v1.4.6/03-get-status.js +1 -1
  192. package/lib/commonjs/credential/status/v1.4.6/03-get-status.js.map +1 -1
  193. package/lib/commonjs/credential/status/v1.4.6/index.js +4 -5
  194. package/lib/commonjs/credential/status/v1.4.6/index.js.map +1 -1
  195. package/lib/commonjs/credential/trustmark/api/index.js.map +1 -1
  196. package/lib/commonjs/credential/trustmark/index.js +4 -4
  197. package/lib/commonjs/credential/trustmark/index.js.map +1 -1
  198. package/lib/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.js +12 -14
  199. package/lib/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.js.map +1 -1
  200. package/lib/commonjs/credential/trustmark/v1.0.0/index.js +2 -3
  201. package/lib/commonjs/credential/trustmark/v1.0.0/index.js.map +1 -1
  202. package/lib/commonjs/credential/trustmark/v1.4.6/get-credential-trustmark.js +1 -1
  203. package/lib/commonjs/credential/trustmark/v1.4.6/get-credential-trustmark.js.map +1 -1
  204. package/lib/commonjs/credential/trustmark/v1.4.6/index.js +2 -3
  205. package/lib/commonjs/credential/trustmark/v1.4.6/index.js.map +1 -1
  206. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js +10 -17
  207. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  208. package/lib/commonjs/credentials-catalogue/api/index.js.map +1 -1
  209. package/lib/commonjs/credentials-catalogue/common/get-status-l10n-ids.js.map +1 -1
  210. package/lib/commonjs/credentials-catalogue/index.js +4 -4
  211. package/lib/commonjs/credentials-catalogue/index.js.map +1 -1
  212. package/lib/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js +7 -8
  213. package/lib/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js.map +1 -1
  214. package/lib/commonjs/credentials-catalogue/v1.0.0/index.js +3 -4
  215. package/lib/commonjs/credentials-catalogue/v1.0.0/index.js.map +1 -1
  216. package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js +19 -24
  217. package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
  218. package/lib/commonjs/credentials-catalogue/v1.0.0/types.js +4 -7
  219. package/lib/commonjs/credentials-catalogue/v1.0.0/types.js.map +1 -1
  220. package/lib/commonjs/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.js +7 -8
  221. package/lib/commonjs/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.js.map +1 -1
  222. package/lib/commonjs/credentials-catalogue/v1.4.6/fetch-translations.js +9 -11
  223. package/lib/commonjs/credentials-catalogue/v1.4.6/fetch-translations.js.map +1 -1
  224. package/lib/commonjs/credentials-catalogue/v1.4.6/index.js +4 -5
  225. package/lib/commonjs/credentials-catalogue/v1.4.6/index.js.map +1 -1
  226. package/lib/commonjs/credentials-catalogue/v1.4.6/mappers.js +22 -28
  227. package/lib/commonjs/credentials-catalogue/v1.4.6/mappers.js.map +1 -1
  228. package/lib/commonjs/credentials-catalogue/v1.4.6/types.js +10 -19
  229. package/lib/commonjs/credentials-catalogue/v1.4.6/types.js.map +1 -1
  230. package/lib/commonjs/credentials-catalogue/v1.4.6/utils.js +7 -9
  231. package/lib/commonjs/credentials-catalogue/v1.4.6/utils.js.map +1 -1
  232. package/lib/commonjs/index.js +19 -20
  233. package/lib/commonjs/index.js.map +1 -1
  234. package/lib/commonjs/key-attestation/api/index.js.map +1 -1
  235. package/lib/commonjs/key-attestation/api/types.js +4 -6
  236. package/lib/commonjs/key-attestation/api/types.js.map +1 -1
  237. package/lib/commonjs/key-attestation/index.js +4 -4
  238. package/lib/commonjs/key-attestation/index.js.map +1 -1
  239. package/lib/commonjs/key-attestation/v1.0.0/index.js +1 -2
  240. package/lib/commonjs/key-attestation/v1.0.0/index.js.map +1 -1
  241. package/lib/commonjs/key-attestation/v1.4.6/index.js +5 -6
  242. package/lib/commonjs/key-attestation/v1.4.6/index.js.map +1 -1
  243. package/lib/commonjs/key-attestation/v1.4.6/issuing.js +15 -17
  244. package/lib/commonjs/key-attestation/v1.4.6/issuing.js.map +1 -1
  245. package/lib/commonjs/key-attestation/v1.4.6/mappers.js +3 -4
  246. package/lib/commonjs/key-attestation/v1.4.6/mappers.js.map +1 -1
  247. package/lib/commonjs/key-attestation/v1.4.6/types.js +5 -8
  248. package/lib/commonjs/key-attestation/v1.4.6/types.js.map +1 -1
  249. package/lib/commonjs/key-attestation/v1.4.6/utils.js +1 -1
  250. package/lib/commonjs/key-attestation/v1.4.6/utils.js.map +1 -1
  251. package/lib/commonjs/mdoc/const.js +2 -4
  252. package/lib/commonjs/mdoc/const.js.map +1 -1
  253. package/lib/commonjs/mdoc/converter.js +0 -1
  254. package/lib/commonjs/mdoc/converter.js.map +1 -1
  255. package/lib/commonjs/mdoc/index.js +7 -9
  256. package/lib/commonjs/mdoc/index.js.map +1 -1
  257. package/lib/commonjs/mdoc/utils.js +4 -6
  258. package/lib/commonjs/mdoc/utils.js.map +1 -1
  259. package/lib/commonjs/package.json +1 -0
  260. package/lib/commonjs/sd-jwt/index.js +4 -5
  261. package/lib/commonjs/sd-jwt/index.js.map +1 -1
  262. package/lib/commonjs/sd-jwt/types.js +8 -10
  263. package/lib/commonjs/sd-jwt/types.js.map +1 -1
  264. package/lib/commonjs/sd-jwt/utils.js +5 -6
  265. package/lib/commonjs/sd-jwt/utils.js.map +1 -1
  266. package/lib/commonjs/trust/api/TrustAnchorConfig.js +4 -6
  267. package/lib/commonjs/trust/api/TrustAnchorConfig.js.map +1 -1
  268. package/lib/commonjs/trust/api/index.js.map +1 -1
  269. package/lib/commonjs/trust/common/build-chain.js +8 -11
  270. package/lib/commonjs/trust/common/build-chain.js.map +1 -1
  271. package/lib/commonjs/trust/common/errors.js +3 -5
  272. package/lib/commonjs/trust/common/errors.js.map +1 -1
  273. package/lib/commonjs/trust/common/types.js +10 -16
  274. package/lib/commonjs/trust/common/types.js.map +1 -1
  275. package/lib/commonjs/trust/common/utils.js +12 -15
  276. package/lib/commonjs/trust/common/utils.js.map +1 -1
  277. package/lib/commonjs/trust/common/verify-chain.js +20 -25
  278. package/lib/commonjs/trust/common/verify-chain.js.map +1 -1
  279. package/lib/commonjs/trust/index.js +4 -5
  280. package/lib/commonjs/trust/index.js.map +1 -1
  281. package/lib/commonjs/trust/v1.0.0/build-chain.js +4 -5
  282. package/lib/commonjs/trust/v1.0.0/build-chain.js.map +1 -1
  283. package/lib/commonjs/trust/v1.0.0/entities.js +5 -6
  284. package/lib/commonjs/trust/v1.0.0/entities.js.map +1 -1
  285. package/lib/commonjs/trust/v1.0.0/index.js +6 -7
  286. package/lib/commonjs/trust/v1.0.0/index.js.map +1 -1
  287. package/lib/commonjs/trust/v1.0.0/mappers.js +2 -3
  288. package/lib/commonjs/trust/v1.0.0/mappers.js.map +1 -1
  289. package/lib/commonjs/trust/v1.0.0/types.js +13 -15
  290. package/lib/commonjs/trust/v1.0.0/types.js.map +1 -1
  291. package/lib/commonjs/trust/v1.0.0/verify-chain.js +4 -5
  292. package/lib/commonjs/trust/v1.0.0/verify-chain.js.map +1 -1
  293. package/lib/commonjs/trust/v1.4.6/entities.js +5 -6
  294. package/lib/commonjs/trust/v1.4.6/entities.js.map +1 -1
  295. package/lib/commonjs/trust/v1.4.6/types.js +10 -12
  296. package/lib/commonjs/trust/v1.4.6/types.js.map +1 -1
  297. package/lib/commonjs/utils/auth.js +5 -8
  298. package/lib/commonjs/utils/auth.js.map +1 -1
  299. package/lib/commonjs/utils/callbacks.js +20 -25
  300. package/lib/commonjs/utils/callbacks.js.map +1 -1
  301. package/lib/commonjs/utils/config.js +2 -4
  302. package/lib/commonjs/utils/config.js.map +1 -1
  303. package/lib/commonjs/utils/credentials.js +3 -4
  304. package/lib/commonjs/utils/credentials.js.map +1 -1
  305. package/lib/commonjs/utils/crypto.js +2 -2
  306. package/lib/commonjs/utils/crypto.js.map +1 -1
  307. package/lib/commonjs/utils/decoder.js +2 -2
  308. package/lib/commonjs/utils/decoder.js.map +1 -1
  309. package/lib/commonjs/utils/dpop.js +2 -4
  310. package/lib/commonjs/utils/dpop.js.map +1 -1
  311. package/lib/commonjs/utils/error-codes.js +3 -6
  312. package/lib/commonjs/utils/error-codes.js.map +1 -1
  313. package/lib/commonjs/utils/errors.js +29 -41
  314. package/lib/commonjs/utils/errors.js.map +1 -1
  315. package/lib/commonjs/utils/integrity.js.map +1 -1
  316. package/lib/commonjs/utils/jwk.js +2 -4
  317. package/lib/commonjs/utils/jwk.js.map +1 -1
  318. package/lib/commonjs/utils/logging.js +1 -2
  319. package/lib/commonjs/utils/logging.js.map +1 -1
  320. package/lib/commonjs/utils/mappers.js +4 -4
  321. package/lib/commonjs/utils/mappers.js.map +1 -1
  322. package/lib/commonjs/utils/misc.js +4 -8
  323. package/lib/commonjs/utils/misc.js.map +1 -1
  324. package/lib/commonjs/utils/object.js.map +1 -1
  325. package/lib/commonjs/utils/par.js +73 -81
  326. package/lib/commonjs/utils/par.js.map +1 -1
  327. package/lib/commonjs/utils/parser.js.map +1 -1
  328. package/lib/commonjs/utils/pop.js +2 -4
  329. package/lib/commonjs/utils/pop.js.map +1 -1
  330. package/lib/commonjs/utils/string.js +3 -8
  331. package/lib/commonjs/utils/string.js.map +1 -1
  332. package/lib/commonjs/utils/x509.js +6 -7
  333. package/lib/commonjs/utils/x509.js.map +1 -1
  334. package/lib/commonjs/utils/zod.js +2 -4
  335. package/lib/commonjs/utils/zod.js.map +1 -1
  336. package/lib/commonjs/wallet-instance/api/index.js.map +1 -1
  337. package/lib/commonjs/wallet-instance/common/wallet-instance.js +7 -7
  338. package/lib/commonjs/wallet-instance/common/wallet-instance.js.map +1 -1
  339. package/lib/commonjs/wallet-instance/index.js +4 -4
  340. package/lib/commonjs/wallet-instance/index.js.map +1 -1
  341. package/lib/commonjs/wallet-instance/v1.0.0/index.js +2 -3
  342. package/lib/commonjs/wallet-instance/v1.0.0/index.js.map +1 -1
  343. package/lib/commonjs/wallet-instance/v1.4.6/index.js +2 -3
  344. package/lib/commonjs/wallet-instance/v1.4.6/index.js.map +1 -1
  345. package/lib/commonjs/wallet-instance-attestation/api/index.js.map +1 -1
  346. package/lib/commonjs/wallet-instance-attestation/api/types.js +4 -6
  347. package/lib/commonjs/wallet-instance-attestation/api/types.js.map +1 -1
  348. package/lib/commonjs/wallet-instance-attestation/common/types.js +4 -6
  349. package/lib/commonjs/wallet-instance-attestation/common/types.js.map +1 -1
  350. package/lib/commonjs/wallet-instance-attestation/index.js +4 -4
  351. package/lib/commonjs/wallet-instance-attestation/index.js.map +1 -1
  352. package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js +5 -6
  353. package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
  354. package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js +12 -13
  355. package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
  356. package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js +4 -6
  357. package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
  358. package/lib/commonjs/wallet-instance-attestation/v1.0.0/types.js +6 -9
  359. package/lib/commonjs/wallet-instance-attestation/v1.0.0/types.js.map +1 -1
  360. package/lib/commonjs/wallet-instance-attestation/v1.0.0/utils.js +1 -1
  361. package/lib/commonjs/wallet-instance-attestation/v1.0.0/utils.js.map +1 -1
  362. package/lib/commonjs/wallet-instance-attestation/v1.4.6/index.js +5 -6
  363. package/lib/commonjs/wallet-instance-attestation/v1.4.6/index.js.map +1 -1
  364. package/lib/commonjs/wallet-instance-attestation/v1.4.6/issuing.js +15 -17
  365. package/lib/commonjs/wallet-instance-attestation/v1.4.6/issuing.js.map +1 -1
  366. package/lib/commonjs/wallet-instance-attestation/v1.4.6/mappers.js +3 -4
  367. package/lib/commonjs/wallet-instance-attestation/v1.4.6/mappers.js.map +1 -1
  368. package/lib/commonjs/wallet-instance-attestation/v1.4.6/types.js +4 -7
  369. package/lib/commonjs/wallet-instance-attestation/v1.4.6/types.js.map +1 -1
  370. package/lib/commonjs/wallet-instance-attestation/v1.4.6/utils.js +1 -1
  371. package/lib/commonjs/wallet-instance-attestation/v1.4.6/utils.js.map +1 -1
  372. package/lib/module/IoWallet.js +8 -6
  373. package/lib/module/IoWallet.js.map +1 -1
  374. package/lib/module/api/index.js +12 -10
  375. package/lib/module/api/index.js.map +1 -1
  376. package/lib/module/client/generated/wallet-provider.js +13 -7
  377. package/lib/module/client/generated/wallet-provider.js.map +1 -1
  378. package/lib/module/client/index.js +9 -10
  379. package/lib/module/client/index.js.map +1 -1
  380. package/lib/module/credential/index.js +3 -1
  381. package/lib/module/credential/index.js.map +1 -1
  382. package/lib/module/credential/issuance/api/01-evaluate-issuer-trust.js +2 -0
  383. package/lib/module/credential/issuance/api/01-evaluate-issuer-trust.js.map +1 -1
  384. package/lib/module/credential/issuance/api/02-start-user-authorization.js +2 -0
  385. package/lib/module/credential/issuance/api/02-start-user-authorization.js.map +1 -1
  386. package/lib/module/credential/issuance/api/03-complete-user-authorization.js +2 -0
  387. package/lib/module/credential/issuance/api/03-complete-user-authorization.js.map +1 -1
  388. package/lib/module/credential/issuance/api/04-authorize-access.js +2 -0
  389. package/lib/module/credential/issuance/api/04-authorize-access.js.map +1 -1
  390. package/lib/module/credential/issuance/api/05-obtain-credential.js +2 -0
  391. package/lib/module/credential/issuance/api/05-obtain-credential.js.map +1 -1
  392. package/lib/module/credential/issuance/api/06-verify-and-parse-credential.js +2 -0
  393. package/lib/module/credential/issuance/api/06-verify-and-parse-credential.js.map +1 -1
  394. package/lib/module/credential/issuance/api/IssuerConfig.js +4 -2
  395. package/lib/module/credential/issuance/api/IssuerConfig.js.map +1 -1
  396. package/lib/module/credential/issuance/api/index.js +2 -0
  397. package/lib/module/credential/issuance/api/index.js.map +1 -1
  398. package/lib/module/credential/issuance/api/mrtd-pop/index.js +3 -1
  399. package/lib/module/credential/issuance/api/mrtd-pop/index.js.map +1 -1
  400. package/lib/module/credential/issuance/api/mrtd-pop/types.js +1 -1
  401. package/lib/module/credential/issuance/api/mrtd-pop/types.js.map +1 -1
  402. package/lib/module/credential/issuance/api/types.js +2 -0
  403. package/lib/module/credential/issuance/api/types.js.map +1 -1
  404. package/lib/module/credential/issuance/common/02-start-user-authorization.js +4 -2
  405. package/lib/module/credential/issuance/common/02-start-user-authorization.js.map +1 -1
  406. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.js +45 -87
  407. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.js.map +1 -1
  408. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js +18 -20
  409. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
  410. package/lib/module/credential/issuance/common/errors.js +3 -1
  411. package/lib/module/credential/issuance/common/errors.js.map +1 -1
  412. package/lib/module/credential/issuance/index.js +5 -3
  413. package/lib/module/credential/issuance/index.js.map +1 -1
  414. package/lib/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js +7 -6
  415. package/lib/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js.map +1 -1
  416. package/lib/module/credential/issuance/mrtd-pop/02-init-challenge.js +5 -3
  417. package/lib/module/credential/issuance/mrtd-pop/02-init-challenge.js.map +1 -1
  418. package/lib/module/credential/issuance/mrtd-pop/03-validate-challenge.js +4 -2
  419. package/lib/module/credential/issuance/mrtd-pop/03-validate-challenge.js.map +1 -1
  420. package/lib/module/credential/issuance/mrtd-pop/index.js +6 -4
  421. package/lib/module/credential/issuance/mrtd-pop/index.js.map +1 -1
  422. package/lib/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js +5 -4
  423. package/lib/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js.map +1 -1
  424. package/lib/module/credential/issuance/v1.0.0/02-start-user-authorization.js +7 -5
  425. package/lib/module/credential/issuance/v1.0.0/02-start-user-authorization.js.map +1 -1
  426. package/lib/module/credential/issuance/v1.0.0/03-complete-user-authorization.js +28 -34
  427. package/lib/module/credential/issuance/v1.0.0/03-complete-user-authorization.js.map +1 -1
  428. package/lib/module/credential/issuance/v1.0.0/04-authorize-access.js +9 -7
  429. package/lib/module/credential/issuance/v1.0.0/04-authorize-access.js.map +1 -1
  430. package/lib/module/credential/issuance/v1.0.0/05-obtain-credential.js +9 -8
  431. package/lib/module/credential/issuance/v1.0.0/05-obtain-credential.js.map +1 -1
  432. package/lib/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.js +7 -6
  433. package/lib/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.js.map +1 -1
  434. package/lib/module/credential/issuance/v1.0.0/index.js +9 -7
  435. package/lib/module/credential/issuance/v1.0.0/index.js.map +1 -1
  436. package/lib/module/credential/issuance/v1.0.0/mappers.js +4 -2
  437. package/lib/module/credential/issuance/v1.0.0/mappers.js.map +1 -1
  438. package/lib/module/credential/issuance/v1.0.0/types.js +3 -1
  439. package/lib/module/credential/issuance/v1.0.0/types.js.map +1 -1
  440. package/lib/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.js +5 -4
  441. package/lib/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.js.map +1 -1
  442. package/lib/module/credential/issuance/v1.4.6/02-start-user-authorization.js +7 -5
  443. package/lib/module/credential/issuance/v1.4.6/02-start-user-authorization.js.map +1 -1
  444. package/lib/module/credential/issuance/v1.4.6/03-complete-user-authorization.js +31 -37
  445. package/lib/module/credential/issuance/v1.4.6/03-complete-user-authorization.js.map +1 -1
  446. package/lib/module/credential/issuance/v1.4.6/04-authorize-access.js +5 -3
  447. package/lib/module/credential/issuance/v1.4.6/04-authorize-access.js.map +1 -1
  448. package/lib/module/credential/issuance/v1.4.6/05-obtain-credential.js +39 -48
  449. package/lib/module/credential/issuance/v1.4.6/05-obtain-credential.js.map +1 -1
  450. package/lib/module/credential/issuance/v1.4.6/06-verify-and-parse-credential.js +7 -6
  451. package/lib/module/credential/issuance/v1.4.6/06-verify-and-parse-credential.js.map +1 -1
  452. package/lib/module/credential/issuance/v1.4.6/index.js +9 -7
  453. package/lib/module/credential/issuance/v1.4.6/index.js.map +1 -1
  454. package/lib/module/credential/issuance/v1.4.6/mappers.js +20 -25
  455. package/lib/module/credential/issuance/v1.4.6/mappers.js.map +1 -1
  456. package/lib/module/credential/issuance/v1.4.6/types.js +2 -0
  457. package/lib/module/credential/issuance/v1.4.6/types.js.map +1 -1
  458. package/lib/module/credential/offer/api/01-resolve-credential-offer.js +2 -0
  459. package/lib/module/credential/offer/api/01-resolve-credential-offer.js.map +1 -1
  460. package/lib/module/credential/offer/api/02-extract-grant-details.js +2 -0
  461. package/lib/module/credential/offer/api/02-extract-grant-details.js.map +1 -1
  462. package/lib/module/credential/offer/api/03-validate-credential-offer.js +2 -0
  463. package/lib/module/credential/offer/api/03-validate-credential-offer.js.map +1 -1
  464. package/lib/module/credential/offer/api/index.js +3 -1
  465. package/lib/module/credential/offer/api/index.js.map +1 -1
  466. package/lib/module/credential/offer/api/types.js +2 -0
  467. package/lib/module/credential/offer/api/types.js.map +1 -1
  468. package/lib/module/credential/offer/common/errors.js +3 -1
  469. package/lib/module/credential/offer/common/errors.js.map +1 -1
  470. package/lib/module/credential/offer/index.js +5 -3
  471. package/lib/module/credential/offer/index.js.map +1 -1
  472. package/lib/module/credential/offer/v1.0.0/index.js +3 -1
  473. package/lib/module/credential/offer/v1.0.0/index.js.map +1 -1
  474. package/lib/module/credential/offer/v1.4.6/01-resolve-credential-offer.js +5 -4
  475. package/lib/module/credential/offer/v1.4.6/01-resolve-credential-offer.js.map +1 -1
  476. package/lib/module/credential/offer/v1.4.6/02-extract-grant-details.js +5 -3
  477. package/lib/module/credential/offer/v1.4.6/02-extract-grant-details.js.map +1 -1
  478. package/lib/module/credential/offer/v1.4.6/03-validate-credential-offer.js +8 -7
  479. package/lib/module/credential/offer/v1.4.6/03-validate-credential-offer.js.map +1 -1
  480. package/lib/module/credential/offer/v1.4.6/index.js +5 -3
  481. package/lib/module/credential/offer/v1.4.6/index.js.map +1 -1
  482. package/lib/module/credential/presentation/api/01-start-flow.js +2 -0
  483. package/lib/module/credential/presentation/api/01-start-flow.js.map +1 -1
  484. package/lib/module/credential/presentation/api/02-evaluate-rp-trust.js +2 -0
  485. package/lib/module/credential/presentation/api/02-evaluate-rp-trust.js.map +1 -1
  486. package/lib/module/credential/presentation/api/03-get-request-object.js +2 -0
  487. package/lib/module/credential/presentation/api/03-get-request-object.js.map +1 -1
  488. package/lib/module/credential/presentation/api/04-verify-certificate-chain.js +2 -0
  489. package/lib/module/credential/presentation/api/04-verify-certificate-chain.js.map +1 -1
  490. package/lib/module/credential/presentation/api/05-verify-request-object.js +2 -0
  491. package/lib/module/credential/presentation/api/05-verify-request-object.js.map +1 -1
  492. package/lib/module/credential/presentation/api/06-evaluate-dcql-query.js +2 -0
  493. package/lib/module/credential/presentation/api/06-evaluate-dcql-query.js.map +1 -1
  494. package/lib/module/credential/presentation/api/07-send-authorization-response.js +2 -0
  495. package/lib/module/credential/presentation/api/07-send-authorization-response.js.map +1 -1
  496. package/lib/module/credential/presentation/api/RelyingPartyConfig.js +3 -1
  497. package/lib/module/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
  498. package/lib/module/credential/presentation/api/index.js +3 -1
  499. package/lib/module/credential/presentation/api/index.js.map +1 -1
  500. package/lib/module/credential/presentation/api/types.js +2 -0
  501. package/lib/module/credential/presentation/api/types.js.map +1 -1
  502. package/lib/module/credential/presentation/common/errors.js +5 -6
  503. package/lib/module/credential/presentation/common/errors.js.map +1 -1
  504. package/lib/module/credential/presentation/common/utils/dcql.js +24 -41
  505. package/lib/module/credential/presentation/common/utils/dcql.js.map +1 -1
  506. package/lib/module/credential/presentation/common/utils/http.js +9 -11
  507. package/lib/module/credential/presentation/common/utils/http.js.map +1 -1
  508. package/lib/module/credential/presentation/common/utils/mdoc.js +19 -28
  509. package/lib/module/credential/presentation/common/utils/mdoc.js.map +1 -1
  510. package/lib/module/credential/presentation/common/utils/sd-jwt.js +9 -12
  511. package/lib/module/credential/presentation/common/utils/sd-jwt.js.map +1 -1
  512. package/lib/module/credential/presentation/index.js +5 -3
  513. package/lib/module/credential/presentation/index.js.map +1 -1
  514. package/lib/module/credential/presentation/v1.0.0/01-start-flow.js +4 -2
  515. package/lib/module/credential/presentation/v1.0.0/01-start-flow.js.map +1 -1
  516. package/lib/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.js +7 -6
  517. package/lib/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.js.map +1 -1
  518. package/lib/module/credential/presentation/v1.0.0/03-get-request-object.js +10 -9
  519. package/lib/module/credential/presentation/v1.0.0/03-get-request-object.js.map +1 -1
  520. package/lib/module/credential/presentation/v1.0.0/05-verify-request-object.js +13 -15
  521. package/lib/module/credential/presentation/v1.0.0/05-verify-request-object.js.map +1 -1
  522. package/lib/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.js +15 -21
  523. package/lib/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.js.map +1 -1
  524. package/lib/module/credential/presentation/v1.0.0/07-send-authorization-response.js +22 -26
  525. package/lib/module/credential/presentation/v1.0.0/07-send-authorization-response.js.map +1 -1
  526. package/lib/module/credential/presentation/v1.0.0/index.js +8 -6
  527. package/lib/module/credential/presentation/v1.0.0/index.js.map +1 -1
  528. package/lib/module/credential/presentation/v1.0.0/mappers.js +20 -22
  529. package/lib/module/credential/presentation/v1.0.0/mappers.js.map +1 -1
  530. package/lib/module/credential/presentation/v1.0.0/types.js +4 -2
  531. package/lib/module/credential/presentation/v1.0.0/types.js.map +1 -1
  532. package/lib/module/credential/presentation/v1.0.0/utils.js +3 -1
  533. package/lib/module/credential/presentation/v1.0.0/utils.js.map +1 -1
  534. package/lib/module/credential/presentation/v1.0.0/utils.jwks.js +3 -1
  535. package/lib/module/credential/presentation/v1.0.0/utils.jwks.js.map +1 -1
  536. package/lib/module/credential/presentation/v1.4.6/01-start-flow.js +5 -6
  537. package/lib/module/credential/presentation/v1.4.6/01-start-flow.js.map +1 -1
  538. package/lib/module/credential/presentation/v1.4.6/02-evaluate-rp-trust.js +7 -6
  539. package/lib/module/credential/presentation/v1.4.6/02-evaluate-rp-trust.js.map +1 -1
  540. package/lib/module/credential/presentation/v1.4.6/03-get-request-object.js +8 -7
  541. package/lib/module/credential/presentation/v1.4.6/03-get-request-object.js.map +1 -1
  542. package/lib/module/credential/presentation/v1.4.6/04-verify-certificate-chain.js +7 -6
  543. package/lib/module/credential/presentation/v1.4.6/04-verify-certificate-chain.js.map +1 -1
  544. package/lib/module/credential/presentation/v1.4.6/05-verify-request-object.js +13 -13
  545. package/lib/module/credential/presentation/v1.4.6/05-verify-request-object.js.map +1 -1
  546. package/lib/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.js +16 -23
  547. package/lib/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.js.map +1 -1
  548. package/lib/module/credential/presentation/v1.4.6/07-send-authorization-response.js +29 -36
  549. package/lib/module/credential/presentation/v1.4.6/07-send-authorization-response.js.map +1 -1
  550. package/lib/module/credential/presentation/v1.4.6/index.js +9 -7
  551. package/lib/module/credential/presentation/v1.4.6/index.js.map +1 -1
  552. package/lib/module/credential/presentation/v1.4.6/mappers.js +22 -24
  553. package/lib/module/credential/presentation/v1.4.6/mappers.js.map +1 -1
  554. package/lib/module/credential/presentation/v1.4.6/sdkErrorMapper.js +11 -13
  555. package/lib/module/credential/presentation/v1.4.6/sdkErrorMapper.js.map +1 -1
  556. package/lib/module/credential/presentation/v1.4.6/types.js +2 -0
  557. package/lib/module/credential/presentation/v1.4.6/types.js.map +1 -1
  558. package/lib/module/credential/status/api/index.js +3 -1
  559. package/lib/module/credential/status/api/index.js.map +1 -1
  560. package/lib/module/credential/status/api/status-assertion.js +2 -0
  561. package/lib/module/credential/status/api/status-assertion.js.map +1 -1
  562. package/lib/module/credential/status/api/status-list.js +2 -0
  563. package/lib/module/credential/status/api/status-list.js.map +1 -1
  564. package/lib/module/credential/status/api/types.js +3 -1
  565. package/lib/module/credential/status/api/types.js.map +1 -1
  566. package/lib/module/credential/status/index.js +5 -3
  567. package/lib/module/credential/status/index.js.map +1 -1
  568. package/lib/module/credential/status/v1.0.0/01-status-assertion.js +7 -5
  569. package/lib/module/credential/status/v1.0.0/01-status-assertion.js.map +1 -1
  570. package/lib/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js +11 -10
  571. package/lib/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js.map +1 -1
  572. package/lib/module/credential/status/v1.0.0/index.js +4 -2
  573. package/lib/module/credential/status/v1.0.0/index.js.map +1 -1
  574. package/lib/module/credential/status/v1.0.0/mappers.js +3 -1
  575. package/lib/module/credential/status/v1.0.0/mappers.js.map +1 -1
  576. package/lib/module/credential/status/v1.0.0/types.js +4 -2
  577. package/lib/module/credential/status/v1.0.0/types.js.map +1 -1
  578. package/lib/module/credential/status/v1.4.6/01-status-list.js +16 -19
  579. package/lib/module/credential/status/v1.4.6/01-status-list.js.map +1 -1
  580. package/lib/module/credential/status/v1.4.6/02-verify-and-parse-status-list.js +3 -1
  581. package/lib/module/credential/status/v1.4.6/02-verify-and-parse-status-list.js.map +1 -1
  582. package/lib/module/credential/status/v1.4.6/03-get-status.js +3 -1
  583. package/lib/module/credential/status/v1.4.6/03-get-status.js.map +1 -1
  584. package/lib/module/credential/status/v1.4.6/index.js +5 -3
  585. package/lib/module/credential/status/v1.4.6/index.js.map +1 -1
  586. package/lib/module/credential/trustmark/api/index.js +2 -0
  587. package/lib/module/credential/trustmark/api/index.js.map +1 -1
  588. package/lib/module/credential/trustmark/index.js +4 -2
  589. package/lib/module/credential/trustmark/index.js.map +1 -1
  590. package/lib/module/credential/trustmark/v1.0.0/get-credential-trustmark.js +13 -12
  591. package/lib/module/credential/trustmark/v1.0.0/get-credential-trustmark.js.map +1 -1
  592. package/lib/module/credential/trustmark/v1.0.0/index.js +3 -1
  593. package/lib/module/credential/trustmark/v1.0.0/index.js.map +1 -1
  594. package/lib/module/credential/trustmark/v1.4.6/get-credential-trustmark.js +3 -1
  595. package/lib/module/credential/trustmark/v1.4.6/get-credential-trustmark.js.map +1 -1
  596. package/lib/module/credential/trustmark/v1.4.6/index.js +3 -1
  597. package/lib/module/credential/trustmark/v1.4.6/index.js.map +1 -1
  598. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js +3 -1
  599. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  600. package/lib/module/credentials-catalogue/api/index.js +2 -0
  601. package/lib/module/credentials-catalogue/api/index.js.map +1 -1
  602. package/lib/module/credentials-catalogue/common/get-status-l10n-ids.js +2 -0
  603. package/lib/module/credentials-catalogue/common/get-status-l10n-ids.js.map +1 -1
  604. package/lib/module/credentials-catalogue/index.js +4 -2
  605. package/lib/module/credentials-catalogue/index.js.map +1 -1
  606. package/lib/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js +9 -8
  607. package/lib/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js.map +1 -1
  608. package/lib/module/credentials-catalogue/v1.0.0/index.js +4 -2
  609. package/lib/module/credentials-catalogue/v1.0.0/index.js.map +1 -1
  610. package/lib/module/credentials-catalogue/v1.0.0/mappers.js +21 -23
  611. package/lib/module/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
  612. package/lib/module/credentials-catalogue/v1.0.0/types.js +3 -1
  613. package/lib/module/credentials-catalogue/v1.0.0/types.js.map +1 -1
  614. package/lib/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.js +9 -8
  615. package/lib/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.js.map +1 -1
  616. package/lib/module/credentials-catalogue/v1.4.6/fetch-translations.js +11 -11
  617. package/lib/module/credentials-catalogue/v1.4.6/fetch-translations.js.map +1 -1
  618. package/lib/module/credentials-catalogue/v1.4.6/index.js +5 -3
  619. package/lib/module/credentials-catalogue/v1.4.6/index.js.map +1 -1
  620. package/lib/module/credentials-catalogue/v1.4.6/mappers.js +24 -27
  621. package/lib/module/credentials-catalogue/v1.4.6/mappers.js.map +1 -1
  622. package/lib/module/credentials-catalogue/v1.4.6/types.js +3 -1
  623. package/lib/module/credentials-catalogue/v1.4.6/types.js.map +1 -1
  624. package/lib/module/credentials-catalogue/v1.4.6/utils.js +8 -7
  625. package/lib/module/credentials-catalogue/v1.4.6/utils.js.map +1 -1
  626. package/lib/module/index.js +20 -18
  627. package/lib/module/index.js.map +1 -1
  628. package/lib/module/key-attestation/api/index.js +2 -0
  629. package/lib/module/key-attestation/api/index.js.map +1 -1
  630. package/lib/module/key-attestation/api/types.js +4 -2
  631. package/lib/module/key-attestation/api/types.js.map +1 -1
  632. package/lib/module/key-attestation/index.js +4 -2
  633. package/lib/module/key-attestation/index.js.map +1 -1
  634. package/lib/module/key-attestation/v1.0.0/index.js +2 -0
  635. package/lib/module/key-attestation/v1.0.0/index.js.map +1 -1
  636. package/lib/module/key-attestation/v1.4.6/index.js +6 -4
  637. package/lib/module/key-attestation/v1.4.6/index.js.map +1 -1
  638. package/lib/module/key-attestation/v1.4.6/issuing.js +16 -16
  639. package/lib/module/key-attestation/v1.4.6/issuing.js.map +1 -1
  640. package/lib/module/key-attestation/v1.4.6/mappers.js +4 -2
  641. package/lib/module/key-attestation/v1.4.6/mappers.js.map +1 -1
  642. package/lib/module/key-attestation/v1.4.6/types.js +4 -3
  643. package/lib/module/key-attestation/v1.4.6/types.js.map +1 -1
  644. package/lib/module/key-attestation/v1.4.6/utils.js +3 -1
  645. package/lib/module/key-attestation/v1.4.6/utils.js.map +1 -1
  646. package/lib/module/mdoc/const.js +2 -0
  647. package/lib/module/mdoc/const.js.map +1 -1
  648. package/lib/module/mdoc/converter.js +2 -1
  649. package/lib/module/mdoc/converter.js.map +1 -1
  650. package/lib/module/mdoc/index.js +9 -9
  651. package/lib/module/mdoc/index.js.map +1 -1
  652. package/lib/module/mdoc/utils.js +6 -6
  653. package/lib/module/mdoc/utils.js.map +1 -1
  654. package/lib/module/package.json +1 -0
  655. package/lib/module/sd-jwt/index.js +6 -5
  656. package/lib/module/sd-jwt/index.js.map +1 -1
  657. package/lib/module/sd-jwt/types.js +4 -2
  658. package/lib/module/sd-jwt/types.js.map +1 -1
  659. package/lib/module/sd-jwt/utils.js +7 -6
  660. package/lib/module/sd-jwt/utils.js.map +1 -1
  661. package/lib/module/trust/api/TrustAnchorConfig.js +4 -2
  662. package/lib/module/trust/api/TrustAnchorConfig.js.map +1 -1
  663. package/lib/module/trust/api/index.js +2 -0
  664. package/lib/module/trust/api/index.js.map +1 -1
  665. package/lib/module/trust/common/build-chain.js +10 -11
  666. package/lib/module/trust/common/build-chain.js.map +1 -1
  667. package/lib/module/trust/common/errors.js +5 -5
  668. package/lib/module/trust/common/errors.js.map +1 -1
  669. package/lib/module/trust/common/types.js +4 -2
  670. package/lib/module/trust/common/types.js.map +1 -1
  671. package/lib/module/trust/common/utils.js +14 -15
  672. package/lib/module/trust/common/utils.js.map +1 -1
  673. package/lib/module/trust/common/verify-chain.js +23 -26
  674. package/lib/module/trust/common/verify-chain.js.map +1 -1
  675. package/lib/module/trust/index.js +4 -2
  676. package/lib/module/trust/index.js.map +1 -1
  677. package/lib/module/trust/v1.0.0/build-chain.js +5 -3
  678. package/lib/module/trust/v1.0.0/build-chain.js.map +1 -1
  679. package/lib/module/trust/v1.0.0/entities.js +7 -6
  680. package/lib/module/trust/v1.0.0/entities.js.map +1 -1
  681. package/lib/module/trust/v1.0.0/index.js +7 -5
  682. package/lib/module/trust/v1.0.0/index.js.map +1 -1
  683. package/lib/module/trust/v1.0.0/mappers.js +3 -1
  684. package/lib/module/trust/v1.0.0/mappers.js.map +1 -1
  685. package/lib/module/trust/v1.0.0/types.js +5 -3
  686. package/lib/module/trust/v1.0.0/types.js.map +1 -1
  687. package/lib/module/trust/v1.0.0/verify-chain.js +5 -3
  688. package/lib/module/trust/v1.0.0/verify-chain.js.map +1 -1
  689. package/lib/module/trust/v1.4.6/entities.js +7 -6
  690. package/lib/module/trust/v1.4.6/entities.js.map +1 -1
  691. package/lib/module/trust/v1.4.6/types.js +4 -2
  692. package/lib/module/trust/v1.4.6/types.js.map +1 -1
  693. package/lib/module/utils/auth.js +2 -0
  694. package/lib/module/utils/auth.js.map +1 -1
  695. package/lib/module/utils/callbacks.js +21 -23
  696. package/lib/module/utils/callbacks.js.map +1 -1
  697. package/lib/module/utils/config.js +2 -0
  698. package/lib/module/utils/config.js.map +1 -1
  699. package/lib/module/utils/credentials.js +5 -4
  700. package/lib/module/utils/credentials.js.map +1 -1
  701. package/lib/module/utils/crypto.js +4 -2
  702. package/lib/module/utils/crypto.js.map +1 -1
  703. package/lib/module/utils/decoder.js +4 -2
  704. package/lib/module/utils/decoder.js.map +1 -1
  705. package/lib/module/utils/dpop.js +2 -0
  706. package/lib/module/utils/dpop.js.map +1 -1
  707. package/lib/module/utils/error-codes.js +2 -0
  708. package/lib/module/utils/error-codes.js.map +1 -1
  709. package/lib/module/utils/errors.js +27 -35
  710. package/lib/module/utils/errors.js.map +1 -1
  711. package/lib/module/utils/integrity.js +1 -1
  712. package/lib/module/utils/integrity.js.map +1 -1
  713. package/lib/module/utils/jwk.js +2 -0
  714. package/lib/module/utils/jwk.js.map +1 -1
  715. package/lib/module/utils/logging.js +2 -0
  716. package/lib/module/utils/logging.js.map +1 -1
  717. package/lib/module/utils/mappers.js +6 -4
  718. package/lib/module/utils/mappers.js.map +1 -1
  719. package/lib/module/utils/misc.js +7 -8
  720. package/lib/module/utils/misc.js.map +1 -1
  721. package/lib/module/utils/object.js +2 -0
  722. package/lib/module/utils/object.js.map +1 -1
  723. package/lib/module/utils/par.js +71 -73
  724. package/lib/module/utils/par.js.map +1 -1
  725. package/lib/module/utils/parser.js +2 -0
  726. package/lib/module/utils/parser.js.map +1 -1
  727. package/lib/module/utils/pop.js +2 -0
  728. package/lib/module/utils/pop.js.map +1 -1
  729. package/lib/module/utils/string.js +5 -8
  730. package/lib/module/utils/string.js.map +1 -1
  731. package/lib/module/utils/x509.js +8 -7
  732. package/lib/module/utils/x509.js.map +1 -1
  733. package/lib/module/utils/zod.js +2 -0
  734. package/lib/module/utils/zod.js.map +1 -1
  735. package/lib/module/wallet-instance/api/index.js +2 -0
  736. package/lib/module/wallet-instance/api/index.js.map +1 -1
  737. package/lib/module/wallet-instance/common/wallet-instance.js +5 -3
  738. package/lib/module/wallet-instance/common/wallet-instance.js.map +1 -1
  739. package/lib/module/wallet-instance/index.js +4 -2
  740. package/lib/module/wallet-instance/index.js.map +1 -1
  741. package/lib/module/wallet-instance/v1.0.0/index.js +3 -1
  742. package/lib/module/wallet-instance/v1.0.0/index.js.map +1 -1
  743. package/lib/module/wallet-instance/v1.4.6/index.js +3 -1
  744. package/lib/module/wallet-instance/v1.4.6/index.js.map +1 -1
  745. package/lib/module/wallet-instance-attestation/api/index.js +2 -0
  746. package/lib/module/wallet-instance-attestation/api/index.js.map +1 -1
  747. package/lib/module/wallet-instance-attestation/api/types.js +4 -2
  748. package/lib/module/wallet-instance-attestation/api/types.js.map +1 -1
  749. package/lib/module/wallet-instance-attestation/common/types.js +4 -2
  750. package/lib/module/wallet-instance-attestation/common/types.js.map +1 -1
  751. package/lib/module/wallet-instance-attestation/index.js +4 -2
  752. package/lib/module/wallet-instance-attestation/index.js.map +1 -1
  753. package/lib/module/wallet-instance-attestation/v1.0.0/index.js +6 -4
  754. package/lib/module/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
  755. package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js +13 -12
  756. package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
  757. package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js +4 -2
  758. package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
  759. package/lib/module/wallet-instance-attestation/v1.0.0/types.js +4 -1
  760. package/lib/module/wallet-instance-attestation/v1.0.0/types.js.map +1 -1
  761. package/lib/module/wallet-instance-attestation/v1.0.0/utils.js +3 -1
  762. package/lib/module/wallet-instance-attestation/v1.0.0/utils.js.map +1 -1
  763. package/lib/module/wallet-instance-attestation/v1.4.6/index.js +6 -4
  764. package/lib/module/wallet-instance-attestation/v1.4.6/index.js.map +1 -1
  765. package/lib/module/wallet-instance-attestation/v1.4.6/issuing.js +16 -16
  766. package/lib/module/wallet-instance-attestation/v1.4.6/issuing.js.map +1 -1
  767. package/lib/module/wallet-instance-attestation/v1.4.6/mappers.js +4 -2
  768. package/lib/module/wallet-instance-attestation/v1.4.6/mappers.js.map +1 -1
  769. package/lib/module/wallet-instance-attestation/v1.4.6/types.js +3 -1
  770. package/lib/module/wallet-instance-attestation/v1.4.6/types.js.map +1 -1
  771. package/lib/module/wallet-instance-attestation/v1.4.6/utils.js +3 -1
  772. package/lib/module/wallet-instance-attestation/v1.4.6/utils.js.map +1 -1
  773. package/lib/typescript/commonjs/IoWallet.d.ts.map +1 -0
  774. package/lib/typescript/commonjs/api/index.d.ts.map +1 -0
  775. package/lib/typescript/commonjs/client/generated/wallet-provider.d.ts.map +1 -0
  776. package/lib/typescript/commonjs/client/index.d.ts +13 -0
  777. package/lib/typescript/commonjs/client/index.d.ts.map +1 -0
  778. package/lib/typescript/commonjs/credential/index.d.ts.map +1 -0
  779. package/lib/typescript/commonjs/credential/issuance/api/01-evaluate-issuer-trust.d.ts +22 -0
  780. package/lib/typescript/commonjs/credential/issuance/api/01-evaluate-issuer-trust.d.ts.map +1 -0
  781. package/lib/typescript/commonjs/credential/issuance/api/02-start-user-authorization.d.ts +53 -0
  782. package/lib/typescript/commonjs/credential/issuance/api/02-start-user-authorization.d.ts.map +1 -0
  783. package/lib/typescript/commonjs/credential/issuance/api/03-complete-user-authorization.d.ts +97 -0
  784. package/lib/typescript/commonjs/credential/issuance/api/03-complete-user-authorization.d.ts.map +1 -0
  785. package/lib/typescript/commonjs/credential/issuance/api/04-authorize-access.d.ts +33 -0
  786. package/lib/typescript/commonjs/credential/issuance/api/04-authorize-access.d.ts.map +1 -0
  787. package/lib/typescript/commonjs/credential/issuance/api/05-obtain-credential.d.ts +58 -0
  788. package/lib/typescript/commonjs/credential/issuance/api/05-obtain-credential.d.ts.map +1 -0
  789. package/lib/typescript/commonjs/credential/issuance/api/06-verify-and-parse-credential.d.ts.map +1 -0
  790. package/lib/typescript/commonjs/credential/issuance/api/IssuerConfig.d.ts.map +1 -0
  791. package/lib/typescript/commonjs/credential/issuance/api/index.d.ts.map +1 -0
  792. package/lib/typescript/commonjs/credential/issuance/api/mrtd-pop/index.d.ts +74 -0
  793. package/lib/typescript/commonjs/credential/issuance/api/mrtd-pop/index.d.ts.map +1 -0
  794. package/lib/typescript/commonjs/credential/issuance/api/mrtd-pop/types.d.ts.map +1 -0
  795. package/lib/typescript/commonjs/credential/issuance/api/types.d.ts.map +1 -0
  796. package/lib/typescript/commonjs/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -0
  797. package/lib/typescript/commonjs/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +1 -0
  798. package/lib/typescript/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +1 -0
  799. package/lib/typescript/commonjs/credential/issuance/common/errors.d.ts.map +1 -0
  800. package/lib/typescript/commonjs/credential/issuance/index.d.ts.map +1 -0
  801. package/lib/typescript/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +1 -0
  802. package/lib/typescript/commonjs/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +1 -0
  803. package/lib/typescript/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +1 -0
  804. package/lib/typescript/commonjs/credential/issuance/mrtd-pop/index.d.ts.map +1 -0
  805. package/lib/typescript/commonjs/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +1 -0
  806. package/lib/typescript/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +1 -0
  807. package/lib/typescript/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -0
  808. package/lib/typescript/commonjs/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +1 -0
  809. package/lib/typescript/commonjs/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -0
  810. package/lib/typescript/commonjs/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +1 -0
  811. package/lib/typescript/commonjs/credential/issuance/v1.0.0/index.d.ts.map +1 -0
  812. package/lib/typescript/commonjs/credential/issuance/v1.0.0/mappers.d.ts.map +1 -0
  813. package/lib/typescript/commonjs/credential/issuance/v1.0.0/types.d.ts.map +1 -0
  814. package/lib/typescript/commonjs/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts.map +1 -0
  815. package/lib/typescript/commonjs/credential/issuance/v1.4.6/02-start-user-authorization.d.ts.map +1 -0
  816. package/lib/typescript/commonjs/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts.map +1 -0
  817. package/lib/typescript/commonjs/credential/issuance/v1.4.6/04-authorize-access.d.ts.map +1 -0
  818. package/lib/typescript/commonjs/credential/issuance/v1.4.6/05-obtain-credential.d.ts +26 -0
  819. package/lib/typescript/commonjs/credential/issuance/v1.4.6/05-obtain-credential.d.ts.map +1 -0
  820. package/lib/typescript/commonjs/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts.map +1 -0
  821. package/lib/typescript/commonjs/credential/issuance/v1.4.6/index.d.ts.map +1 -0
  822. package/lib/typescript/commonjs/credential/issuance/v1.4.6/mappers.d.ts.map +1 -0
  823. package/lib/typescript/commonjs/credential/issuance/v1.4.6/types.d.ts.map +1 -0
  824. package/lib/typescript/commonjs/credential/offer/api/01-resolve-credential-offer.d.ts +22 -0
  825. package/lib/typescript/commonjs/credential/offer/api/01-resolve-credential-offer.d.ts.map +1 -0
  826. package/lib/typescript/commonjs/credential/offer/api/02-extract-grant-details.d.ts.map +1 -0
  827. package/lib/typescript/commonjs/credential/offer/api/03-validate-credential-offer.d.ts.map +1 -0
  828. package/lib/typescript/commonjs/credential/offer/api/index.d.ts.map +1 -0
  829. package/lib/typescript/commonjs/credential/offer/api/types.d.ts.map +1 -0
  830. package/lib/typescript/commonjs/credential/offer/common/errors.d.ts.map +1 -0
  831. package/lib/typescript/commonjs/credential/offer/index.d.ts.map +1 -0
  832. package/lib/typescript/commonjs/credential/offer/v1.0.0/index.d.ts.map +1 -0
  833. package/lib/typescript/commonjs/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts.map +1 -0
  834. package/lib/typescript/commonjs/credential/offer/v1.4.6/02-extract-grant-details.d.ts.map +1 -0
  835. package/lib/typescript/commonjs/credential/offer/v1.4.6/03-validate-credential-offer.d.ts.map +1 -0
  836. package/lib/typescript/commonjs/credential/offer/v1.4.6/index.d.ts.map +1 -0
  837. package/lib/typescript/commonjs/credential/presentation/api/01-start-flow.d.ts.map +1 -0
  838. package/lib/typescript/commonjs/credential/presentation/api/02-evaluate-rp-trust.d.ts +18 -0
  839. package/lib/typescript/commonjs/credential/presentation/api/02-evaluate-rp-trust.d.ts.map +1 -0
  840. package/lib/typescript/commonjs/credential/presentation/api/03-get-request-object.d.ts +19 -0
  841. package/lib/typescript/commonjs/credential/presentation/api/03-get-request-object.d.ts.map +1 -0
  842. package/lib/typescript/commonjs/credential/presentation/api/04-verify-certificate-chain.d.ts.map +1 -0
  843. package/lib/typescript/commonjs/credential/presentation/api/05-verify-request-object.d.ts.map +1 -0
  844. package/lib/typescript/commonjs/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +1 -0
  845. package/lib/typescript/commonjs/credential/presentation/api/07-send-authorization-response.d.ts +54 -0
  846. package/lib/typescript/commonjs/credential/presentation/api/07-send-authorization-response.d.ts.map +1 -0
  847. package/lib/typescript/commonjs/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -0
  848. package/lib/typescript/commonjs/credential/presentation/api/index.d.ts.map +1 -0
  849. package/lib/typescript/commonjs/credential/presentation/api/types.d.ts.map +1 -0
  850. package/lib/typescript/commonjs/credential/presentation/common/errors.d.ts.map +1 -0
  851. package/lib/typescript/commonjs/credential/presentation/common/utils/dcql.d.ts.map +1 -0
  852. package/lib/typescript/commonjs/credential/presentation/common/utils/http.d.ts.map +1 -0
  853. package/lib/typescript/commonjs/credential/presentation/common/utils/mdoc.d.ts.map +1 -0
  854. package/lib/typescript/commonjs/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -0
  855. package/lib/typescript/commonjs/credential/presentation/index.d.ts.map +1 -0
  856. package/lib/typescript/commonjs/credential/presentation/v1.0.0/01-start-flow.d.ts.map +1 -0
  857. package/lib/typescript/commonjs/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +1 -0
  858. package/lib/typescript/commonjs/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +1 -0
  859. package/lib/typescript/commonjs/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +1 -0
  860. package/lib/typescript/commonjs/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +1 -0
  861. package/lib/typescript/commonjs/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +1 -0
  862. package/lib/typescript/commonjs/credential/presentation/v1.0.0/index.d.ts.map +1 -0
  863. package/lib/typescript/commonjs/credential/presentation/v1.0.0/mappers.d.ts.map +1 -0
  864. package/lib/typescript/commonjs/credential/presentation/v1.0.0/types.d.ts.map +1 -0
  865. package/lib/typescript/commonjs/credential/presentation/v1.0.0/utils.d.ts.map +1 -0
  866. package/lib/typescript/commonjs/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -0
  867. package/lib/typescript/commonjs/credential/presentation/v1.4.6/01-start-flow.d.ts.map +1 -0
  868. package/lib/typescript/commonjs/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts.map +1 -0
  869. package/lib/typescript/commonjs/credential/presentation/v1.4.6/03-get-request-object.d.ts.map +1 -0
  870. package/lib/typescript/commonjs/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts.map +1 -0
  871. package/lib/typescript/commonjs/credential/presentation/v1.4.6/05-verify-request-object.d.ts.map +1 -0
  872. package/lib/typescript/commonjs/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts.map +1 -0
  873. package/lib/typescript/commonjs/credential/presentation/v1.4.6/07-send-authorization-response.d.ts.map +1 -0
  874. package/lib/typescript/commonjs/credential/presentation/v1.4.6/index.d.ts.map +1 -0
  875. package/lib/typescript/commonjs/credential/presentation/v1.4.6/mappers.d.ts.map +1 -0
  876. package/lib/typescript/commonjs/credential/presentation/v1.4.6/sdkErrorMapper.d.ts.map +1 -0
  877. package/lib/typescript/commonjs/credential/presentation/v1.4.6/types.d.ts.map +1 -0
  878. package/lib/typescript/commonjs/credential/status/api/index.d.ts.map +1 -0
  879. package/lib/typescript/commonjs/credential/status/api/status-assertion.d.ts +49 -0
  880. package/lib/typescript/commonjs/credential/status/api/status-assertion.d.ts.map +1 -0
  881. package/lib/typescript/commonjs/credential/status/api/status-list.d.ts +75 -0
  882. package/lib/typescript/commonjs/credential/status/api/status-list.d.ts.map +1 -0
  883. package/lib/typescript/commonjs/credential/status/api/types.d.ts.map +1 -0
  884. package/lib/typescript/commonjs/credential/status/index.d.ts.map +1 -0
  885. package/lib/typescript/commonjs/credential/status/v1.0.0/01-status-assertion.d.ts.map +1 -0
  886. package/lib/typescript/commonjs/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +1 -0
  887. package/lib/typescript/commonjs/credential/status/v1.0.0/index.d.ts.map +1 -0
  888. package/lib/typescript/commonjs/credential/status/v1.0.0/mappers.d.ts.map +1 -0
  889. package/lib/typescript/commonjs/credential/status/v1.0.0/types.d.ts.map +1 -0
  890. package/lib/typescript/commonjs/credential/status/v1.4.6/01-status-list.d.ts.map +1 -0
  891. package/lib/typescript/commonjs/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts.map +1 -0
  892. package/lib/typescript/commonjs/credential/status/v1.4.6/03-get-status.d.ts.map +1 -0
  893. package/lib/typescript/commonjs/credential/status/v1.4.6/index.d.ts.map +1 -0
  894. package/lib/typescript/commonjs/credential/trustmark/api/index.d.ts.map +1 -0
  895. package/lib/typescript/commonjs/credential/trustmark/index.d.ts.map +1 -0
  896. package/lib/typescript/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +1 -0
  897. package/lib/typescript/commonjs/credential/trustmark/v1.0.0/index.d.ts.map +1 -0
  898. package/lib/typescript/commonjs/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts.map +1 -0
  899. package/lib/typescript/commonjs/credential/trustmark/v1.4.6/index.d.ts.map +1 -0
  900. package/lib/typescript/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -0
  901. package/lib/typescript/commonjs/credentials-catalogue/api/index.d.ts +51 -0
  902. package/lib/typescript/commonjs/credentials-catalogue/api/index.d.ts.map +1 -0
  903. package/lib/typescript/commonjs/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +1 -0
  904. package/lib/typescript/commonjs/credentials-catalogue/index.d.ts.map +1 -0
  905. package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +1 -0
  906. package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/index.d.ts.map +1 -0
  907. package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -0
  908. package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/types.d.ts.map +1 -0
  909. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts.map +1 -0
  910. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/fetch-translations.d.ts.map +1 -0
  911. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/index.d.ts.map +1 -0
  912. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/mappers.d.ts.map +1 -0
  913. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/types.d.ts.map +1 -0
  914. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/utils.d.ts +37 -0
  915. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/utils.d.ts.map +1 -0
  916. package/lib/typescript/commonjs/index.d.ts.map +1 -0
  917. package/lib/typescript/commonjs/key-attestation/api/index.d.ts +39 -0
  918. package/lib/typescript/commonjs/key-attestation/api/index.d.ts.map +1 -0
  919. package/lib/typescript/commonjs/key-attestation/api/types.d.ts.map +1 -0
  920. package/lib/typescript/commonjs/key-attestation/index.d.ts.map +1 -0
  921. package/lib/typescript/commonjs/key-attestation/v1.0.0/index.d.ts.map +1 -0
  922. package/lib/typescript/commonjs/key-attestation/v1.4.6/index.d.ts.map +1 -0
  923. package/lib/typescript/commonjs/key-attestation/v1.4.6/issuing.d.ts.map +1 -0
  924. package/lib/typescript/commonjs/key-attestation/v1.4.6/mappers.d.ts.map +1 -0
  925. package/lib/typescript/commonjs/key-attestation/v1.4.6/types.d.ts.map +1 -0
  926. package/lib/typescript/commonjs/key-attestation/v1.4.6/utils.d.ts.map +1 -0
  927. package/lib/typescript/commonjs/mdoc/const.d.ts.map +1 -0
  928. package/lib/typescript/commonjs/mdoc/converter.d.ts.map +1 -0
  929. package/lib/typescript/commonjs/mdoc/index.d.ts.map +1 -0
  930. package/lib/typescript/commonjs/mdoc/utils.d.ts.map +1 -0
  931. package/lib/typescript/commonjs/package.json +1 -0
  932. package/lib/typescript/commonjs/sd-jwt/index.d.ts.map +1 -0
  933. package/lib/typescript/commonjs/sd-jwt/types.d.ts.map +1 -0
  934. package/lib/typescript/commonjs/sd-jwt/utils.d.ts +19 -0
  935. package/lib/typescript/commonjs/sd-jwt/utils.d.ts.map +1 -0
  936. package/lib/typescript/commonjs/trust/api/TrustAnchorConfig.d.ts.map +1 -0
  937. package/lib/typescript/commonjs/trust/api/index.d.ts +43 -0
  938. package/lib/typescript/commonjs/trust/api/index.d.ts.map +1 -0
  939. package/lib/typescript/commonjs/trust/common/build-chain.d.ts +21 -0
  940. package/lib/typescript/commonjs/trust/common/build-chain.d.ts.map +1 -0
  941. package/lib/typescript/commonjs/trust/common/errors.d.ts.map +1 -0
  942. package/lib/typescript/commonjs/trust/common/types.d.ts.map +1 -0
  943. package/lib/typescript/commonjs/trust/common/utils.d.ts +53 -0
  944. package/lib/typescript/commonjs/trust/common/utils.d.ts.map +1 -0
  945. package/lib/typescript/commonjs/trust/common/verify-chain.d.ts.map +1 -0
  946. package/lib/typescript/commonjs/trust/index.d.ts.map +1 -0
  947. package/lib/typescript/commonjs/trust/v1.0.0/build-chain.d.ts +2 -0
  948. package/lib/typescript/commonjs/trust/v1.0.0/build-chain.d.ts.map +1 -0
  949. package/lib/typescript/commonjs/trust/v1.0.0/entities.d.ts.map +1 -0
  950. package/lib/typescript/commonjs/trust/v1.0.0/index.d.ts.map +1 -0
  951. package/lib/typescript/commonjs/trust/v1.0.0/mappers.d.ts.map +1 -0
  952. package/lib/typescript/commonjs/trust/v1.0.0/types.d.ts.map +1 -0
  953. package/lib/typescript/commonjs/trust/v1.0.0/verify-chain.d.ts +5 -0
  954. package/lib/typescript/commonjs/trust/v1.0.0/verify-chain.d.ts.map +1 -0
  955. package/lib/typescript/commonjs/trust/v1.4.6/entities.d.ts.map +1 -0
  956. package/lib/typescript/commonjs/trust/v1.4.6/types.d.ts.map +1 -0
  957. package/lib/typescript/commonjs/utils/auth.d.ts.map +1 -0
  958. package/lib/typescript/commonjs/utils/callbacks.d.ts.map +1 -0
  959. package/lib/typescript/commonjs/utils/config.d.ts.map +1 -0
  960. package/lib/typescript/commonjs/utils/credentials.d.ts.map +1 -0
  961. package/lib/typescript/commonjs/utils/crypto.d.ts.map +1 -0
  962. package/lib/typescript/commonjs/utils/decoder.d.ts.map +1 -0
  963. package/lib/typescript/commonjs/utils/dpop.d.ts.map +1 -0
  964. package/lib/typescript/commonjs/utils/error-codes.d.ts.map +1 -0
  965. package/lib/typescript/commonjs/utils/errors.d.ts.map +1 -0
  966. package/lib/typescript/commonjs/utils/integrity.d.ts.map +1 -0
  967. package/lib/typescript/commonjs/utils/jwk.d.ts.map +1 -0
  968. package/lib/typescript/commonjs/utils/logging.d.ts.map +1 -0
  969. package/lib/typescript/commonjs/utils/mappers.d.ts.map +1 -0
  970. package/lib/typescript/commonjs/utils/misc.d.ts.map +1 -0
  971. package/lib/typescript/commonjs/utils/object.d.ts.map +1 -0
  972. package/lib/typescript/commonjs/utils/par.d.ts +50 -0
  973. package/lib/typescript/commonjs/utils/par.d.ts.map +1 -0
  974. package/lib/typescript/commonjs/utils/parser.d.ts.map +1 -0
  975. package/lib/typescript/commonjs/utils/pop.d.ts.map +1 -0
  976. package/lib/typescript/commonjs/utils/string.d.ts.map +1 -0
  977. package/lib/typescript/commonjs/utils/x509.d.ts.map +1 -0
  978. package/lib/typescript/commonjs/utils/zod.d.ts.map +1 -0
  979. package/lib/typescript/commonjs/wallet-instance/api/index.d.ts +45 -0
  980. package/lib/typescript/commonjs/wallet-instance/api/index.d.ts.map +1 -0
  981. package/lib/typescript/commonjs/wallet-instance/common/wallet-instance.d.ts.map +1 -0
  982. package/lib/typescript/commonjs/wallet-instance/index.d.ts.map +1 -0
  983. package/lib/typescript/commonjs/wallet-instance/v1.0.0/index.d.ts.map +1 -0
  984. package/lib/typescript/commonjs/wallet-instance/v1.4.6/index.d.ts.map +1 -0
  985. package/lib/typescript/commonjs/wallet-instance-attestation/api/index.d.ts +47 -0
  986. package/lib/typescript/commonjs/wallet-instance-attestation/api/index.d.ts.map +1 -0
  987. package/lib/typescript/commonjs/wallet-instance-attestation/api/types.d.ts.map +1 -0
  988. package/lib/typescript/commonjs/wallet-instance-attestation/common/types.d.ts.map +1 -0
  989. package/lib/typescript/commonjs/wallet-instance-attestation/index.d.ts.map +1 -0
  990. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/index.d.ts.map +1 -0
  991. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -0
  992. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +1 -0
  993. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -0
  994. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/utils.d.ts.map +1 -0
  995. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/index.d.ts.map +1 -0
  996. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +1 -0
  997. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/mappers.d.ts.map +1 -0
  998. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/types.d.ts.map +1 -0
  999. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/utils.d.ts.map +1 -0
  1000. package/lib/typescript/module/IoWallet.d.ts +28 -0
  1001. package/lib/typescript/module/IoWallet.d.ts.map +1 -0
  1002. package/lib/typescript/module/api/index.d.ts +31 -0
  1003. package/lib/typescript/module/api/index.d.ts.map +1 -0
  1004. package/lib/typescript/module/client/generated/wallet-provider.d.ts +401 -0
  1005. package/lib/typescript/module/client/generated/wallet-provider.d.ts.map +1 -0
  1006. package/lib/typescript/module/client/index.d.ts +13 -0
  1007. package/lib/typescript/module/client/index.d.ts.map +1 -0
  1008. package/lib/typescript/module/credential/index.d.ts +3 -0
  1009. package/lib/typescript/module/credential/index.d.ts.map +1 -0
  1010. package/lib/typescript/module/credential/issuance/api/01-evaluate-issuer-trust.d.ts +22 -0
  1011. package/lib/typescript/module/credential/issuance/api/01-evaluate-issuer-trust.d.ts.map +1 -0
  1012. package/lib/typescript/module/credential/issuance/api/02-start-user-authorization.d.ts +53 -0
  1013. package/lib/typescript/module/credential/issuance/api/02-start-user-authorization.d.ts.map +1 -0
  1014. package/lib/typescript/module/credential/issuance/api/03-complete-user-authorization.d.ts +97 -0
  1015. package/lib/typescript/module/credential/issuance/api/03-complete-user-authorization.d.ts.map +1 -0
  1016. package/lib/typescript/module/credential/issuance/api/04-authorize-access.d.ts +33 -0
  1017. package/lib/typescript/module/credential/issuance/api/04-authorize-access.d.ts.map +1 -0
  1018. package/lib/typescript/module/credential/issuance/api/05-obtain-credential.d.ts +58 -0
  1019. package/lib/typescript/module/credential/issuance/api/05-obtain-credential.d.ts.map +1 -0
  1020. package/lib/typescript/module/credential/issuance/api/06-verify-and-parse-credential.d.ts +40 -0
  1021. package/lib/typescript/module/credential/issuance/api/06-verify-and-parse-credential.d.ts.map +1 -0
  1022. package/lib/typescript/module/credential/issuance/api/IssuerConfig.d.ts +90 -0
  1023. package/lib/typescript/module/credential/issuance/api/IssuerConfig.d.ts.map +1 -0
  1024. package/lib/typescript/module/credential/issuance/api/index.d.ts +15 -0
  1025. package/lib/typescript/module/credential/issuance/api/index.d.ts.map +1 -0
  1026. package/lib/typescript/module/credential/issuance/api/mrtd-pop/index.d.ts +74 -0
  1027. package/lib/typescript/module/credential/issuance/api/mrtd-pop/index.d.ts.map +1 -0
  1028. package/lib/typescript/module/credential/issuance/api/mrtd-pop/types.d.ts +34 -0
  1029. package/lib/typescript/module/credential/issuance/api/mrtd-pop/types.d.ts.map +1 -0
  1030. package/lib/typescript/module/credential/issuance/api/types.d.ts +25 -0
  1031. package/lib/typescript/module/credential/issuance/api/types.d.ts.map +1 -0
  1032. package/lib/typescript/module/credential/issuance/common/02-start-user-authorization.d.ts +21 -0
  1033. package/lib/typescript/module/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -0
  1034. package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts +3 -0
  1035. package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +1 -0
  1036. package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts +3 -0
  1037. package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +1 -0
  1038. package/lib/typescript/module/credential/issuance/common/errors.d.ts +18 -0
  1039. package/lib/typescript/module/credential/issuance/common/errors.d.ts.map +1 -0
  1040. package/lib/typescript/module/credential/issuance/index.d.ts +6 -0
  1041. package/lib/typescript/module/credential/issuance/index.d.ts.map +1 -0
  1042. package/lib/typescript/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts +3 -0
  1043. package/lib/typescript/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +1 -0
  1044. package/lib/typescript/module/credential/issuance/mrtd-pop/02-init-challenge.d.ts +14 -0
  1045. package/lib/typescript/module/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +1 -0
  1046. package/lib/typescript/module/credential/issuance/mrtd-pop/03-validate-challenge.d.ts +15 -0
  1047. package/lib/typescript/module/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +1 -0
  1048. package/lib/typescript/module/credential/issuance/mrtd-pop/index.d.ts +4 -0
  1049. package/lib/typescript/module/credential/issuance/mrtd-pop/index.d.ts.map +1 -0
  1050. package/lib/typescript/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts +3 -0
  1051. package/lib/typescript/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +1 -0
  1052. package/lib/typescript/module/credential/issuance/v1.0.0/02-start-user-authorization.d.ts +3 -0
  1053. package/lib/typescript/module/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +1 -0
  1054. package/lib/typescript/module/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts +17 -0
  1055. package/lib/typescript/module/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -0
  1056. package/lib/typescript/module/credential/issuance/v1.0.0/04-authorize-access.d.ts +3 -0
  1057. package/lib/typescript/module/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +1 -0
  1058. package/lib/typescript/module/credential/issuance/v1.0.0/05-obtain-credential.d.ts +6 -0
  1059. package/lib/typescript/module/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -0
  1060. package/lib/typescript/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts +3 -0
  1061. package/lib/typescript/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +1 -0
  1062. package/lib/typescript/module/credential/issuance/v1.0.0/index.d.ts +3 -0
  1063. package/lib/typescript/module/credential/issuance/v1.0.0/index.d.ts.map +1 -0
  1064. package/lib/typescript/module/credential/issuance/v1.0.0/mappers.d.ts +307 -0
  1065. package/lib/typescript/module/credential/issuance/v1.0.0/mappers.d.ts.map +1 -0
  1066. package/lib/typescript/module/credential/issuance/v1.0.0/types.d.ts +21 -0
  1067. package/lib/typescript/module/credential/issuance/v1.0.0/types.d.ts.map +1 -0
  1068. package/lib/typescript/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts +3 -0
  1069. package/lib/typescript/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts.map +1 -0
  1070. package/lib/typescript/module/credential/issuance/v1.4.6/02-start-user-authorization.d.ts +3 -0
  1071. package/lib/typescript/module/credential/issuance/v1.4.6/02-start-user-authorization.d.ts.map +1 -0
  1072. package/lib/typescript/module/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts +17 -0
  1073. package/lib/typescript/module/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts.map +1 -0
  1074. package/lib/typescript/module/credential/issuance/v1.4.6/04-authorize-access.d.ts +3 -0
  1075. package/lib/typescript/module/credential/issuance/v1.4.6/04-authorize-access.d.ts.map +1 -0
  1076. package/lib/typescript/module/credential/issuance/v1.4.6/05-obtain-credential.d.ts +26 -0
  1077. package/lib/typescript/module/credential/issuance/v1.4.6/05-obtain-credential.d.ts.map +1 -0
  1078. package/lib/typescript/module/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts +3 -0
  1079. package/lib/typescript/module/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts.map +1 -0
  1080. package/lib/typescript/module/credential/issuance/v1.4.6/index.d.ts +3 -0
  1081. package/lib/typescript/module/credential/issuance/v1.4.6/index.d.ts.map +1 -0
  1082. package/lib/typescript/module/credential/issuance/v1.4.6/mappers.d.ts +1824 -0
  1083. package/lib/typescript/module/credential/issuance/v1.4.6/mappers.d.ts.map +1 -0
  1084. package/lib/typescript/module/credential/issuance/v1.4.6/types.d.ts +6 -0
  1085. package/lib/typescript/module/credential/issuance/v1.4.6/types.d.ts.map +1 -0
  1086. package/lib/typescript/module/credential/offer/api/01-resolve-credential-offer.d.ts +22 -0
  1087. package/lib/typescript/module/credential/offer/api/01-resolve-credential-offer.d.ts.map +1 -0
  1088. package/lib/typescript/module/credential/offer/api/02-extract-grant-details.d.ts +13 -0
  1089. package/lib/typescript/module/credential/offer/api/02-extract-grant-details.d.ts.map +1 -0
  1090. package/lib/typescript/module/credential/offer/api/03-validate-credential-offer.d.ts +19 -0
  1091. package/lib/typescript/module/credential/offer/api/03-validate-credential-offer.d.ts.map +1 -0
  1092. package/lib/typescript/module/credential/offer/api/index.d.ts +7 -0
  1093. package/lib/typescript/module/credential/offer/api/index.d.ts.map +1 -0
  1094. package/lib/typescript/module/credential/offer/api/types.d.ts +5 -0
  1095. package/lib/typescript/module/credential/offer/api/types.d.ts.map +1 -0
  1096. package/lib/typescript/module/credential/offer/common/errors.d.ts +8 -0
  1097. package/lib/typescript/module/credential/offer/common/errors.d.ts.map +1 -0
  1098. package/lib/typescript/module/credential/offer/index.d.ts +6 -0
  1099. package/lib/typescript/module/credential/offer/index.d.ts.map +1 -0
  1100. package/lib/typescript/module/credential/offer/v1.0.0/index.d.ts +3 -0
  1101. package/lib/typescript/module/credential/offer/v1.0.0/index.d.ts.map +1 -0
  1102. package/lib/typescript/module/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts +19 -0
  1103. package/lib/typescript/module/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts.map +1 -0
  1104. package/lib/typescript/module/credential/offer/v1.4.6/02-extract-grant-details.d.ts +16 -0
  1105. package/lib/typescript/module/credential/offer/v1.4.6/02-extract-grant-details.d.ts.map +1 -0
  1106. package/lib/typescript/module/credential/offer/v1.4.6/03-validate-credential-offer.d.ts +15 -0
  1107. package/lib/typescript/module/credential/offer/v1.4.6/03-validate-credential-offer.d.ts.map +1 -0
  1108. package/lib/typescript/module/credential/offer/v1.4.6/index.d.ts +3 -0
  1109. package/lib/typescript/module/credential/offer/v1.4.6/index.d.ts.map +1 -0
  1110. package/lib/typescript/module/credential/presentation/api/01-start-flow.d.ts +18 -0
  1111. package/lib/typescript/module/credential/presentation/api/01-start-flow.d.ts.map +1 -0
  1112. package/lib/typescript/module/credential/presentation/api/02-evaluate-rp-trust.d.ts +18 -0
  1113. package/lib/typescript/module/credential/presentation/api/02-evaluate-rp-trust.d.ts.map +1 -0
  1114. package/lib/typescript/module/credential/presentation/api/03-get-request-object.d.ts +19 -0
  1115. package/lib/typescript/module/credential/presentation/api/03-get-request-object.d.ts.map +1 -0
  1116. package/lib/typescript/module/credential/presentation/api/04-verify-certificate-chain.d.ts +24 -0
  1117. package/lib/typescript/module/credential/presentation/api/04-verify-certificate-chain.d.ts.map +1 -0
  1118. package/lib/typescript/module/credential/presentation/api/05-verify-request-object.d.ts +23 -0
  1119. package/lib/typescript/module/credential/presentation/api/05-verify-request-object.d.ts.map +1 -0
  1120. package/lib/typescript/module/credential/presentation/api/06-evaluate-dcql-query.d.ts +40 -0
  1121. package/lib/typescript/module/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +1 -0
  1122. package/lib/typescript/module/credential/presentation/api/07-send-authorization-response.d.ts +54 -0
  1123. package/lib/typescript/module/credential/presentation/api/07-send-authorization-response.d.ts.map +1 -0
  1124. package/lib/typescript/module/credential/presentation/api/RelyingPartyConfig.d.ts +40 -0
  1125. package/lib/typescript/module/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -0
  1126. package/lib/typescript/module/credential/presentation/api/index.d.ts +13 -0
  1127. package/lib/typescript/module/credential/presentation/api/index.d.ts.map +1 -0
  1128. package/lib/typescript/module/credential/presentation/api/types.d.ts +147 -0
  1129. package/lib/typescript/module/credential/presentation/api/types.d.ts.map +1 -0
  1130. package/lib/typescript/module/credential/presentation/common/errors.d.ts +80 -0
  1131. package/lib/typescript/module/credential/presentation/common/errors.d.ts.map +1 -0
  1132. package/lib/typescript/module/credential/presentation/common/utils/dcql.d.ts +78 -0
  1133. package/lib/typescript/module/credential/presentation/common/utils/dcql.d.ts.map +1 -0
  1134. package/lib/typescript/module/credential/presentation/common/utils/http.d.ts +11 -0
  1135. package/lib/typescript/module/credential/presentation/common/utils/http.d.ts.map +1 -0
  1136. package/lib/typescript/module/credential/presentation/common/utils/mdoc.d.ts +28 -0
  1137. package/lib/typescript/module/credential/presentation/common/utils/mdoc.d.ts.map +1 -0
  1138. package/lib/typescript/module/credential/presentation/common/utils/sd-jwt.d.ts +14 -0
  1139. package/lib/typescript/module/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -0
  1140. package/lib/typescript/module/credential/presentation/index.d.ts +6 -0
  1141. package/lib/typescript/module/credential/presentation/index.d.ts.map +1 -0
  1142. package/lib/typescript/module/credential/presentation/v1.0.0/01-start-flow.d.ts +3 -0
  1143. package/lib/typescript/module/credential/presentation/v1.0.0/01-start-flow.d.ts.map +1 -0
  1144. package/lib/typescript/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts +3 -0
  1145. package/lib/typescript/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +1 -0
  1146. package/lib/typescript/module/credential/presentation/v1.0.0/03-get-request-object.d.ts +3 -0
  1147. package/lib/typescript/module/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +1 -0
  1148. package/lib/typescript/module/credential/presentation/v1.0.0/05-verify-request-object.d.ts +3 -0
  1149. package/lib/typescript/module/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +1 -0
  1150. package/lib/typescript/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts +3 -0
  1151. package/lib/typescript/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +1 -0
  1152. package/lib/typescript/module/credential/presentation/v1.0.0/07-send-authorization-response.d.ts +26 -0
  1153. package/lib/typescript/module/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +1 -0
  1154. package/lib/typescript/module/credential/presentation/v1.0.0/index.d.ts +3 -0
  1155. package/lib/typescript/module/credential/presentation/v1.0.0/index.d.ts.map +1 -0
  1156. package/lib/typescript/module/credential/presentation/v1.0.0/mappers.d.ts +149 -0
  1157. package/lib/typescript/module/credential/presentation/v1.0.0/mappers.d.ts.map +1 -0
  1158. package/lib/typescript/module/credential/presentation/v1.0.0/types.d.ts +49 -0
  1159. package/lib/typescript/module/credential/presentation/v1.0.0/types.d.ts.map +1 -0
  1160. package/lib/typescript/module/credential/presentation/v1.0.0/utils.d.ts +11 -0
  1161. package/lib/typescript/module/credential/presentation/v1.0.0/utils.d.ts.map +1 -0
  1162. package/lib/typescript/module/credential/presentation/v1.0.0/utils.jwks.d.ts +11 -0
  1163. package/lib/typescript/module/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -0
  1164. package/lib/typescript/module/credential/presentation/v1.4.6/01-start-flow.d.ts +3 -0
  1165. package/lib/typescript/module/credential/presentation/v1.4.6/01-start-flow.d.ts.map +1 -0
  1166. package/lib/typescript/module/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts +3 -0
  1167. package/lib/typescript/module/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts.map +1 -0
  1168. package/lib/typescript/module/credential/presentation/v1.4.6/03-get-request-object.d.ts +3 -0
  1169. package/lib/typescript/module/credential/presentation/v1.4.6/03-get-request-object.d.ts.map +1 -0
  1170. package/lib/typescript/module/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts +3 -0
  1171. package/lib/typescript/module/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts.map +1 -0
  1172. package/lib/typescript/module/credential/presentation/v1.4.6/05-verify-request-object.d.ts +3 -0
  1173. package/lib/typescript/module/credential/presentation/v1.4.6/05-verify-request-object.d.ts.map +1 -0
  1174. package/lib/typescript/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts +3 -0
  1175. package/lib/typescript/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts.map +1 -0
  1176. package/lib/typescript/module/credential/presentation/v1.4.6/07-send-authorization-response.d.ts +18 -0
  1177. package/lib/typescript/module/credential/presentation/v1.4.6/07-send-authorization-response.d.ts.map +1 -0
  1178. package/lib/typescript/module/credential/presentation/v1.4.6/index.d.ts +3 -0
  1179. package/lib/typescript/module/credential/presentation/v1.4.6/index.d.ts.map +1 -0
  1180. package/lib/typescript/module/credential/presentation/v1.4.6/mappers.d.ts +239 -0
  1181. package/lib/typescript/module/credential/presentation/v1.4.6/mappers.d.ts.map +1 -0
  1182. package/lib/typescript/module/credential/presentation/v1.4.6/sdkErrorMapper.d.ts +13 -0
  1183. package/lib/typescript/module/credential/presentation/v1.4.6/sdkErrorMapper.d.ts.map +1 -0
  1184. package/lib/typescript/module/credential/presentation/v1.4.6/types.d.ts +106 -0
  1185. package/lib/typescript/module/credential/presentation/v1.4.6/types.d.ts.map +1 -0
  1186. package/lib/typescript/module/credential/status/api/index.d.ts +23 -0
  1187. package/lib/typescript/module/credential/status/api/index.d.ts.map +1 -0
  1188. package/lib/typescript/module/credential/status/api/status-assertion.d.ts +49 -0
  1189. package/lib/typescript/module/credential/status/api/status-assertion.d.ts.map +1 -0
  1190. package/lib/typescript/module/credential/status/api/status-list.d.ts +75 -0
  1191. package/lib/typescript/module/credential/status/api/status-list.d.ts.map +1 -0
  1192. package/lib/typescript/module/credential/status/api/types.d.ts +36 -0
  1193. package/lib/typescript/module/credential/status/api/types.d.ts.map +1 -0
  1194. package/lib/typescript/module/credential/status/index.d.ts +4 -0
  1195. package/lib/typescript/module/credential/status/index.d.ts.map +1 -0
  1196. package/lib/typescript/module/credential/status/v1.0.0/01-status-assertion.d.ts +3 -0
  1197. package/lib/typescript/module/credential/status/v1.0.0/01-status-assertion.d.ts.map +1 -0
  1198. package/lib/typescript/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts +3 -0
  1199. package/lib/typescript/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +1 -0
  1200. package/lib/typescript/module/credential/status/v1.0.0/index.d.ts +3 -0
  1201. package/lib/typescript/module/credential/status/v1.0.0/index.d.ts.map +1 -0
  1202. package/lib/typescript/module/credential/status/v1.0.0/mappers.d.ts +47 -0
  1203. package/lib/typescript/module/credential/status/v1.0.0/mappers.d.ts.map +1 -0
  1204. package/lib/typescript/module/credential/status/v1.0.0/types.d.ts +156 -0
  1205. package/lib/typescript/module/credential/status/v1.0.0/types.d.ts.map +1 -0
  1206. package/lib/typescript/module/credential/status/v1.4.6/01-status-list.d.ts +5 -0
  1207. package/lib/typescript/module/credential/status/v1.4.6/01-status-list.d.ts.map +1 -0
  1208. package/lib/typescript/module/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts +3 -0
  1209. package/lib/typescript/module/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts.map +1 -0
  1210. package/lib/typescript/module/credential/status/v1.4.6/03-get-status.d.ts +3 -0
  1211. package/lib/typescript/module/credential/status/v1.4.6/03-get-status.d.ts.map +1 -0
  1212. package/lib/typescript/module/credential/status/v1.4.6/index.d.ts +3 -0
  1213. package/lib/typescript/module/credential/status/v1.4.6/index.d.ts.map +1 -0
  1214. package/lib/typescript/module/credential/trustmark/api/index.d.ts +49 -0
  1215. package/lib/typescript/module/credential/trustmark/api/index.d.ts.map +1 -0
  1216. package/lib/typescript/module/credential/trustmark/index.d.ts +4 -0
  1217. package/lib/typescript/module/credential/trustmark/index.d.ts.map +1 -0
  1218. package/lib/typescript/module/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts +3 -0
  1219. package/lib/typescript/module/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +1 -0
  1220. package/lib/typescript/module/credential/trustmark/v1.0.0/index.d.ts +3 -0
  1221. package/lib/typescript/module/credential/trustmark/v1.0.0/index.d.ts.map +1 -0
  1222. package/lib/typescript/module/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts +3 -0
  1223. package/lib/typescript/module/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts.map +1 -0
  1224. package/lib/typescript/module/credential/trustmark/v1.4.6/index.d.ts +3 -0
  1225. package/lib/typescript/module/credential/trustmark/v1.4.6/index.d.ts.map +1 -0
  1226. package/lib/typescript/module/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +319 -0
  1227. package/lib/typescript/module/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -0
  1228. package/lib/typescript/module/credentials-catalogue/api/index.d.ts +51 -0
  1229. package/lib/typescript/module/credentials-catalogue/api/index.d.ts.map +1 -0
  1230. package/lib/typescript/module/credentials-catalogue/common/get-status-l10n-ids.d.ts +9 -0
  1231. package/lib/typescript/module/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +1 -0
  1232. package/lib/typescript/module/credentials-catalogue/index.d.ts +4 -0
  1233. package/lib/typescript/module/credentials-catalogue/index.d.ts.map +1 -0
  1234. package/lib/typescript/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts +3 -0
  1235. package/lib/typescript/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +1 -0
  1236. package/lib/typescript/module/credentials-catalogue/v1.0.0/index.d.ts +3 -0
  1237. package/lib/typescript/module/credentials-catalogue/v1.0.0/index.d.ts.map +1 -0
  1238. package/lib/typescript/module/credentials-catalogue/v1.0.0/mappers.d.ts +125 -0
  1239. package/lib/typescript/module/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -0
  1240. package/lib/typescript/module/credentials-catalogue/v1.0.0/types.d.ts +148 -0
  1241. package/lib/typescript/module/credentials-catalogue/v1.0.0/types.d.ts.map +1 -0
  1242. package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts +3 -0
  1243. package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts.map +1 -0
  1244. package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-translations.d.ts +3 -0
  1245. package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-translations.d.ts.map +1 -0
  1246. package/lib/typescript/module/credentials-catalogue/v1.4.6/index.d.ts +3 -0
  1247. package/lib/typescript/module/credentials-catalogue/v1.4.6/index.d.ts.map +1 -0
  1248. package/lib/typescript/module/credentials-catalogue/v1.4.6/mappers.d.ts +326 -0
  1249. package/lib/typescript/module/credentials-catalogue/v1.4.6/mappers.d.ts.map +1 -0
  1250. package/lib/typescript/module/credentials-catalogue/v1.4.6/types.d.ts +354 -0
  1251. package/lib/typescript/module/credentials-catalogue/v1.4.6/types.d.ts.map +1 -0
  1252. package/lib/typescript/module/credentials-catalogue/v1.4.6/utils.d.ts +37 -0
  1253. package/lib/typescript/module/credentials-catalogue/v1.4.6/utils.d.ts.map +1 -0
  1254. package/lib/typescript/module/index.d.ts +25 -0
  1255. package/lib/typescript/module/index.d.ts.map +1 -0
  1256. package/lib/typescript/module/key-attestation/api/index.d.ts +39 -0
  1257. package/lib/typescript/module/key-attestation/api/index.d.ts.map +1 -0
  1258. package/lib/typescript/module/key-attestation/api/types.d.ts +56 -0
  1259. package/lib/typescript/module/key-attestation/api/types.d.ts.map +1 -0
  1260. package/lib/typescript/module/key-attestation/index.d.ts +4 -0
  1261. package/lib/typescript/module/key-attestation/index.d.ts.map +1 -0
  1262. package/lib/typescript/module/key-attestation/v1.0.0/index.d.ts +3 -0
  1263. package/lib/typescript/module/key-attestation/v1.0.0/index.d.ts.map +1 -0
  1264. package/lib/typescript/module/key-attestation/v1.4.6/index.d.ts +3 -0
  1265. package/lib/typescript/module/key-attestation/v1.4.6/index.d.ts.map +1 -0
  1266. package/lib/typescript/module/key-attestation/v1.4.6/issuing.d.ts +3 -0
  1267. package/lib/typescript/module/key-attestation/v1.4.6/issuing.d.ts.map +1 -0
  1268. package/lib/typescript/module/key-attestation/v1.4.6/mappers.d.ts +85 -0
  1269. package/lib/typescript/module/key-attestation/v1.4.6/mappers.d.ts.map +1 -0
  1270. package/lib/typescript/module/key-attestation/v1.4.6/types.d.ts +58 -0
  1271. package/lib/typescript/module/key-attestation/v1.4.6/types.d.ts.map +1 -0
  1272. package/lib/typescript/module/key-attestation/v1.4.6/utils.d.ts +7 -0
  1273. package/lib/typescript/module/key-attestation/v1.4.6/utils.d.ts.map +1 -0
  1274. package/lib/typescript/module/mdoc/const.d.ts +3 -0
  1275. package/lib/typescript/module/mdoc/const.d.ts.map +1 -0
  1276. package/lib/typescript/module/mdoc/converter.d.ts +8 -0
  1277. package/lib/typescript/module/mdoc/converter.d.ts.map +1 -0
  1278. package/lib/typescript/module/mdoc/index.d.ts +10 -0
  1279. package/lib/typescript/module/mdoc/index.d.ts.map +1 -0
  1280. package/lib/typescript/module/mdoc/utils.d.ts +33 -0
  1281. package/lib/typescript/module/mdoc/utils.d.ts.map +1 -0
  1282. package/lib/typescript/module/package.json +1 -0
  1283. package/lib/typescript/module/sd-jwt/index.d.ts +92 -0
  1284. package/lib/typescript/module/sd-jwt/index.d.ts.map +1 -0
  1285. package/lib/typescript/module/sd-jwt/types.d.ts +104 -0
  1286. package/lib/typescript/module/sd-jwt/types.d.ts.map +1 -0
  1287. package/lib/typescript/module/sd-jwt/utils.d.ts +19 -0
  1288. package/lib/typescript/module/sd-jwt/utils.d.ts.map +1 -0
  1289. package/lib/typescript/module/trust/api/TrustAnchorConfig.d.ts +58 -0
  1290. package/lib/typescript/module/trust/api/TrustAnchorConfig.d.ts.map +1 -0
  1291. package/lib/typescript/module/trust/api/index.d.ts +43 -0
  1292. package/lib/typescript/module/trust/api/index.d.ts.map +1 -0
  1293. package/lib/typescript/module/trust/common/build-chain.d.ts +21 -0
  1294. package/lib/typescript/module/trust/common/build-chain.d.ts.map +1 -0
  1295. package/lib/typescript/module/trust/common/errors.d.ts +103 -0
  1296. package/lib/typescript/module/trust/common/errors.d.ts.map +1 -0
  1297. package/lib/typescript/module/trust/common/types.d.ts +140 -0
  1298. package/lib/typescript/module/trust/common/types.d.ts.map +1 -0
  1299. package/lib/typescript/module/trust/common/utils.d.ts +53 -0
  1300. package/lib/typescript/module/trust/common/utils.d.ts.map +1 -0
  1301. package/lib/typescript/module/trust/common/verify-chain.d.ts +27 -0
  1302. package/lib/typescript/module/trust/common/verify-chain.d.ts.map +1 -0
  1303. package/lib/typescript/module/trust/index.d.ts +5 -0
  1304. package/lib/typescript/module/trust/index.d.ts.map +1 -0
  1305. package/lib/typescript/module/trust/v1.0.0/build-chain.d.ts +2 -0
  1306. package/lib/typescript/module/trust/v1.0.0/build-chain.d.ts.map +1 -0
  1307. package/lib/typescript/module/trust/v1.0.0/entities.d.ts +945 -0
  1308. package/lib/typescript/module/trust/v1.0.0/entities.d.ts.map +1 -0
  1309. package/lib/typescript/module/trust/v1.0.0/index.d.ts +3 -0
  1310. package/lib/typescript/module/trust/v1.0.0/index.d.ts.map +1 -0
  1311. package/lib/typescript/module/trust/v1.0.0/mappers.d.ts +109 -0
  1312. package/lib/typescript/module/trust/v1.0.0/mappers.d.ts.map +1 -0
  1313. package/lib/typescript/module/trust/v1.0.0/types.d.ts +968 -0
  1314. package/lib/typescript/module/trust/v1.0.0/types.d.ts.map +1 -0
  1315. package/lib/typescript/module/trust/v1.0.0/verify-chain.d.ts +5 -0
  1316. package/lib/typescript/module/trust/v1.0.0/verify-chain.d.ts.map +1 -0
  1317. package/lib/typescript/module/trust/v1.4.6/entities.d.ts +100 -0
  1318. package/lib/typescript/module/trust/v1.4.6/entities.d.ts.map +1 -0
  1319. package/lib/typescript/module/trust/v1.4.6/types.d.ts +958 -0
  1320. package/lib/typescript/module/trust/v1.4.6/types.d.ts.map +1 -0
  1321. package/lib/typescript/module/utils/auth.d.ts +41 -0
  1322. package/lib/typescript/module/utils/auth.d.ts.map +1 -0
  1323. package/lib/typescript/module/utils/callbacks.d.ts +28 -0
  1324. package/lib/typescript/module/utils/callbacks.d.ts.map +1 -0
  1325. package/lib/typescript/module/utils/config.d.ts +10 -0
  1326. package/lib/typescript/module/utils/config.d.ts.map +1 -0
  1327. package/lib/typescript/module/utils/credentials.d.ts +16 -0
  1328. package/lib/typescript/module/utils/credentials.d.ts.map +1 -0
  1329. package/lib/typescript/module/utils/crypto.d.ts +70 -0
  1330. package/lib/typescript/module/utils/crypto.d.ts.map +1 -0
  1331. package/lib/typescript/module/utils/decoder.d.ts +6 -0
  1332. package/lib/typescript/module/utils/decoder.d.ts.map +1 -0
  1333. package/lib/typescript/module/utils/dpop.d.ts +22 -0
  1334. package/lib/typescript/module/utils/dpop.d.ts.map +1 -0
  1335. package/lib/typescript/module/utils/error-codes.d.ts +57 -0
  1336. package/lib/typescript/module/utils/error-codes.d.ts.map +1 -0
  1337. package/lib/typescript/module/utils/errors.d.ts +196 -0
  1338. package/lib/typescript/module/utils/errors.d.ts.map +1 -0
  1339. package/lib/typescript/module/utils/integrity.d.ts +21 -0
  1340. package/lib/typescript/module/utils/integrity.d.ts.map +1 -0
  1341. package/lib/typescript/module/utils/jwk.d.ts +78 -0
  1342. package/lib/typescript/module/utils/jwk.d.ts.map +1 -0
  1343. package/lib/typescript/module/utils/logging.d.ts +35 -0
  1344. package/lib/typescript/module/utils/logging.d.ts.map +1 -0
  1345. package/lib/typescript/module/utils/mappers.d.ts +47 -0
  1346. package/lib/typescript/module/utils/mappers.d.ts.map +1 -0
  1347. package/lib/typescript/module/utils/misc.d.ts +36 -0
  1348. package/lib/typescript/module/utils/misc.d.ts.map +1 -0
  1349. package/lib/typescript/module/utils/object.d.ts +4 -0
  1350. package/lib/typescript/module/utils/object.d.ts.map +1 -0
  1351. package/lib/typescript/module/utils/par.d.ts +50 -0
  1352. package/lib/typescript/module/utils/par.d.ts.map +1 -0
  1353. package/lib/typescript/module/utils/parser.d.ts +9 -0
  1354. package/lib/typescript/module/utils/parser.d.ts.map +1 -0
  1355. package/lib/typescript/module/utils/pop.d.ts +18 -0
  1356. package/lib/typescript/module/utils/pop.d.ts.map +1 -0
  1357. package/lib/typescript/module/utils/string.d.ts +31 -0
  1358. package/lib/typescript/module/utils/string.d.ts.map +1 -0
  1359. package/lib/typescript/module/utils/x509.d.ts +10 -0
  1360. package/lib/typescript/module/utils/x509.d.ts.map +1 -0
  1361. package/lib/typescript/module/utils/zod.d.ts +17 -0
  1362. package/lib/typescript/module/utils/zod.d.ts.map +1 -0
  1363. package/lib/typescript/module/wallet-instance/api/index.d.ts +45 -0
  1364. package/lib/typescript/module/wallet-instance/api/index.d.ts.map +1 -0
  1365. package/lib/typescript/module/wallet-instance/common/wallet-instance.d.ts +6 -0
  1366. package/lib/typescript/module/wallet-instance/common/wallet-instance.d.ts.map +1 -0
  1367. package/lib/typescript/module/wallet-instance/index.d.ts +4 -0
  1368. package/lib/typescript/module/wallet-instance/index.d.ts.map +1 -0
  1369. package/lib/typescript/module/wallet-instance/v1.0.0/index.d.ts +3 -0
  1370. package/lib/typescript/module/wallet-instance/v1.0.0/index.d.ts.map +1 -0
  1371. package/lib/typescript/module/wallet-instance/v1.4.6/index.d.ts +3 -0
  1372. package/lib/typescript/module/wallet-instance/v1.4.6/index.d.ts.map +1 -0
  1373. package/lib/typescript/module/wallet-instance-attestation/api/index.d.ts +47 -0
  1374. package/lib/typescript/module/wallet-instance-attestation/api/index.d.ts.map +1 -0
  1375. package/lib/typescript/module/wallet-instance-attestation/api/types.d.ts +54 -0
  1376. package/lib/typescript/module/wallet-instance-attestation/api/types.d.ts.map +1 -0
  1377. package/lib/typescript/module/wallet-instance-attestation/common/types.d.ts +47 -0
  1378. package/lib/typescript/module/wallet-instance-attestation/common/types.d.ts.map +1 -0
  1379. package/lib/typescript/module/wallet-instance-attestation/index.d.ts +4 -0
  1380. package/lib/typescript/module/wallet-instance-attestation/index.d.ts.map +1 -0
  1381. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/index.d.ts +3 -0
  1382. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/index.d.ts.map +1 -0
  1383. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/issuing.d.ts +3 -0
  1384. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -0
  1385. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/mappers.d.ts +91 -0
  1386. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +1 -0
  1387. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/types.d.ts +120 -0
  1388. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -0
  1389. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/utils.d.ts +15 -0
  1390. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/utils.d.ts.map +1 -0
  1391. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/index.d.ts +3 -0
  1392. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/index.d.ts.map +1 -0
  1393. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/issuing.d.ts +3 -0
  1394. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +1 -0
  1395. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/mappers.d.ts +84 -0
  1396. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/mappers.d.ts.map +1 -0
  1397. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/types.d.ts +59 -0
  1398. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/types.d.ts.map +1 -0
  1399. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/utils.d.ts +15 -0
  1400. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/utils.d.ts.map +1 -0
  1401. package/package.json +115 -114
  1402. package/src/client/index.ts +1 -1
  1403. package/src/credential/issuance/api/01-evaluate-issuer-trust.ts +1 -1
  1404. package/src/credential/issuance/api/02-start-user-authorization.ts +1 -1
  1405. package/src/credential/issuance/api/03-complete-user-authorization.ts +3 -3
  1406. package/src/credential/issuance/api/04-authorize-access.ts +1 -1
  1407. package/src/credential/issuance/api/05-obtain-credential.ts +2 -2
  1408. package/src/credential/issuance/api/mrtd-pop/index.ts +2 -2
  1409. package/src/credential/issuance/common/errors.ts +2 -2
  1410. package/src/credential/issuance/v1.4.6/05-obtain-credential.ts +1 -1
  1411. package/src/credential/offer/api/01-resolve-credential-offer.ts +1 -1
  1412. package/src/credential/offer/common/errors.ts +2 -2
  1413. package/src/credential/presentation/api/02-evaluate-rp-trust.ts +1 -1
  1414. package/src/credential/presentation/api/03-get-request-object.ts +1 -1
  1415. package/src/credential/presentation/api/07-send-authorization-response.ts +1 -1
  1416. package/src/credential/presentation/common/errors.ts +6 -6
  1417. package/src/credential/presentation/v1.4.6/sdkErrorMapper.ts +6 -4
  1418. package/src/credential/status/api/status-assertion.ts +1 -1
  1419. package/src/credential/status/api/status-list.ts +2 -2
  1420. package/src/credential/status/v1.4.6/01-status-list.ts +1 -1
  1421. package/src/credentials-catalogue/api/index.ts +1 -1
  1422. package/src/credentials-catalogue/v1.4.6/utils.ts +2 -2
  1423. package/src/key-attestation/api/index.ts +7 -1
  1424. package/src/sd-jwt/utils.ts +1 -1
  1425. package/src/trust/api/index.ts +3 -3
  1426. package/src/trust/common/build-chain.ts +1 -1
  1427. package/src/trust/common/errors.ts +10 -10
  1428. package/src/trust/common/utils.ts +1 -1
  1429. package/src/trust/common/verify-chain.ts +1 -1
  1430. package/src/utils/errors.ts +7 -7
  1431. package/src/utils/par.ts +1 -1
  1432. package/src/wallet-instance/api/index.ts +4 -4
  1433. package/src/wallet-instance-attestation/api/index.ts +7 -1
  1434. package/lib/commonjs/sd-jwt/__test__/types.test.js +0 -32
  1435. package/lib/commonjs/sd-jwt/__test__/types.test.js.map +0 -1
  1436. package/lib/commonjs/sd-jwt/__test__/utils.test.js +0 -16
  1437. package/lib/commonjs/sd-jwt/__test__/utils.test.js.map +0 -1
  1438. package/lib/module/sd-jwt/__test__/types.test.js +0 -30
  1439. package/lib/module/sd-jwt/__test__/types.test.js.map +0 -1
  1440. package/lib/module/sd-jwt/__test__/utils.test.js +0 -14
  1441. package/lib/module/sd-jwt/__test__/utils.test.js.map +0 -1
  1442. package/lib/typescript/IoWallet.d.ts.map +0 -1
  1443. package/lib/typescript/api/index.d.ts.map +0 -1
  1444. package/lib/typescript/client/generated/wallet-provider.d.ts.map +0 -1
  1445. package/lib/typescript/client/index.d.ts +0 -13
  1446. package/lib/typescript/client/index.d.ts.map +0 -1
  1447. package/lib/typescript/credential/index.d.ts.map +0 -1
  1448. package/lib/typescript/credential/issuance/api/01-evaluate-issuer-trust.d.ts +0 -22
  1449. package/lib/typescript/credential/issuance/api/01-evaluate-issuer-trust.d.ts.map +0 -1
  1450. package/lib/typescript/credential/issuance/api/02-start-user-authorization.d.ts +0 -53
  1451. package/lib/typescript/credential/issuance/api/02-start-user-authorization.d.ts.map +0 -1
  1452. package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts +0 -97
  1453. package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts.map +0 -1
  1454. package/lib/typescript/credential/issuance/api/04-authorize-access.d.ts +0 -33
  1455. package/lib/typescript/credential/issuance/api/04-authorize-access.d.ts.map +0 -1
  1456. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts +0 -58
  1457. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts.map +0 -1
  1458. package/lib/typescript/credential/issuance/api/06-verify-and-parse-credential.d.ts.map +0 -1
  1459. package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts.map +0 -1
  1460. package/lib/typescript/credential/issuance/api/index.d.ts.map +0 -1
  1461. package/lib/typescript/credential/issuance/api/mrtd-pop/index.d.ts +0 -74
  1462. package/lib/typescript/credential/issuance/api/mrtd-pop/index.d.ts.map +0 -1
  1463. package/lib/typescript/credential/issuance/api/mrtd-pop/types.d.ts.map +0 -1
  1464. package/lib/typescript/credential/issuance/api/types.d.ts.map +0 -1
  1465. package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts.map +0 -1
  1466. package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +0 -1
  1467. package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +0 -1
  1468. package/lib/typescript/credential/issuance/common/errors.d.ts.map +0 -1
  1469. package/lib/typescript/credential/issuance/index.d.ts.map +0 -1
  1470. package/lib/typescript/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +0 -1
  1471. package/lib/typescript/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +0 -1
  1472. package/lib/typescript/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +0 -1
  1473. package/lib/typescript/credential/issuance/mrtd-pop/index.d.ts.map +0 -1
  1474. package/lib/typescript/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +0 -1
  1475. package/lib/typescript/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +0 -1
  1476. package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +0 -1
  1477. package/lib/typescript/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +0 -1
  1478. package/lib/typescript/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +0 -1
  1479. package/lib/typescript/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +0 -1
  1480. package/lib/typescript/credential/issuance/v1.0.0/index.d.ts.map +0 -1
  1481. package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts.map +0 -1
  1482. package/lib/typescript/credential/issuance/v1.0.0/types.d.ts.map +0 -1
  1483. package/lib/typescript/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts.map +0 -1
  1484. package/lib/typescript/credential/issuance/v1.4.6/02-start-user-authorization.d.ts.map +0 -1
  1485. package/lib/typescript/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts.map +0 -1
  1486. package/lib/typescript/credential/issuance/v1.4.6/04-authorize-access.d.ts.map +0 -1
  1487. package/lib/typescript/credential/issuance/v1.4.6/05-obtain-credential.d.ts +0 -26
  1488. package/lib/typescript/credential/issuance/v1.4.6/05-obtain-credential.d.ts.map +0 -1
  1489. package/lib/typescript/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts.map +0 -1
  1490. package/lib/typescript/credential/issuance/v1.4.6/index.d.ts.map +0 -1
  1491. package/lib/typescript/credential/issuance/v1.4.6/mappers.d.ts.map +0 -1
  1492. package/lib/typescript/credential/issuance/v1.4.6/types.d.ts.map +0 -1
  1493. package/lib/typescript/credential/offer/api/01-resolve-credential-offer.d.ts +0 -22
  1494. package/lib/typescript/credential/offer/api/01-resolve-credential-offer.d.ts.map +0 -1
  1495. package/lib/typescript/credential/offer/api/02-extract-grant-details.d.ts.map +0 -1
  1496. package/lib/typescript/credential/offer/api/03-validate-credential-offer.d.ts.map +0 -1
  1497. package/lib/typescript/credential/offer/api/index.d.ts.map +0 -1
  1498. package/lib/typescript/credential/offer/api/types.d.ts.map +0 -1
  1499. package/lib/typescript/credential/offer/common/errors.d.ts.map +0 -1
  1500. package/lib/typescript/credential/offer/index.d.ts.map +0 -1
  1501. package/lib/typescript/credential/offer/v1.0.0/index.d.ts.map +0 -1
  1502. package/lib/typescript/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts.map +0 -1
  1503. package/lib/typescript/credential/offer/v1.4.6/02-extract-grant-details.d.ts.map +0 -1
  1504. package/lib/typescript/credential/offer/v1.4.6/03-validate-credential-offer.d.ts.map +0 -1
  1505. package/lib/typescript/credential/offer/v1.4.6/index.d.ts.map +0 -1
  1506. package/lib/typescript/credential/presentation/api/01-start-flow.d.ts.map +0 -1
  1507. package/lib/typescript/credential/presentation/api/02-evaluate-rp-trust.d.ts +0 -18
  1508. package/lib/typescript/credential/presentation/api/02-evaluate-rp-trust.d.ts.map +0 -1
  1509. package/lib/typescript/credential/presentation/api/03-get-request-object.d.ts +0 -19
  1510. package/lib/typescript/credential/presentation/api/03-get-request-object.d.ts.map +0 -1
  1511. package/lib/typescript/credential/presentation/api/04-verify-certificate-chain.d.ts.map +0 -1
  1512. package/lib/typescript/credential/presentation/api/05-verify-request-object.d.ts.map +0 -1
  1513. package/lib/typescript/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +0 -1
  1514. package/lib/typescript/credential/presentation/api/07-send-authorization-response.d.ts +0 -54
  1515. package/lib/typescript/credential/presentation/api/07-send-authorization-response.d.ts.map +0 -1
  1516. package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts.map +0 -1
  1517. package/lib/typescript/credential/presentation/api/index.d.ts.map +0 -1
  1518. package/lib/typescript/credential/presentation/api/types.d.ts.map +0 -1
  1519. package/lib/typescript/credential/presentation/common/errors.d.ts.map +0 -1
  1520. package/lib/typescript/credential/presentation/common/utils/dcql.d.ts.map +0 -1
  1521. package/lib/typescript/credential/presentation/common/utils/http.d.ts.map +0 -1
  1522. package/lib/typescript/credential/presentation/common/utils/mdoc.d.ts.map +0 -1
  1523. package/lib/typescript/credential/presentation/common/utils/sd-jwt.d.ts.map +0 -1
  1524. package/lib/typescript/credential/presentation/index.d.ts.map +0 -1
  1525. package/lib/typescript/credential/presentation/v1.0.0/01-start-flow.d.ts.map +0 -1
  1526. package/lib/typescript/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +0 -1
  1527. package/lib/typescript/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +0 -1
  1528. package/lib/typescript/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +0 -1
  1529. package/lib/typescript/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +0 -1
  1530. package/lib/typescript/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +0 -1
  1531. package/lib/typescript/credential/presentation/v1.0.0/index.d.ts.map +0 -1
  1532. package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts.map +0 -1
  1533. package/lib/typescript/credential/presentation/v1.0.0/types.d.ts.map +0 -1
  1534. package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts.map +0 -1
  1535. package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts.map +0 -1
  1536. package/lib/typescript/credential/presentation/v1.4.6/01-start-flow.d.ts.map +0 -1
  1537. package/lib/typescript/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts.map +0 -1
  1538. package/lib/typescript/credential/presentation/v1.4.6/03-get-request-object.d.ts.map +0 -1
  1539. package/lib/typescript/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts.map +0 -1
  1540. package/lib/typescript/credential/presentation/v1.4.6/05-verify-request-object.d.ts.map +0 -1
  1541. package/lib/typescript/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts.map +0 -1
  1542. package/lib/typescript/credential/presentation/v1.4.6/07-send-authorization-response.d.ts.map +0 -1
  1543. package/lib/typescript/credential/presentation/v1.4.6/index.d.ts.map +0 -1
  1544. package/lib/typescript/credential/presentation/v1.4.6/mappers.d.ts.map +0 -1
  1545. package/lib/typescript/credential/presentation/v1.4.6/sdkErrorMapper.d.ts.map +0 -1
  1546. package/lib/typescript/credential/presentation/v1.4.6/types.d.ts.map +0 -1
  1547. package/lib/typescript/credential/status/api/index.d.ts.map +0 -1
  1548. package/lib/typescript/credential/status/api/status-assertion.d.ts +0 -49
  1549. package/lib/typescript/credential/status/api/status-assertion.d.ts.map +0 -1
  1550. package/lib/typescript/credential/status/api/status-list.d.ts +0 -75
  1551. package/lib/typescript/credential/status/api/status-list.d.ts.map +0 -1
  1552. package/lib/typescript/credential/status/api/types.d.ts.map +0 -1
  1553. package/lib/typescript/credential/status/index.d.ts.map +0 -1
  1554. package/lib/typescript/credential/status/v1.0.0/01-status-assertion.d.ts.map +0 -1
  1555. package/lib/typescript/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +0 -1
  1556. package/lib/typescript/credential/status/v1.0.0/index.d.ts.map +0 -1
  1557. package/lib/typescript/credential/status/v1.0.0/mappers.d.ts.map +0 -1
  1558. package/lib/typescript/credential/status/v1.0.0/types.d.ts.map +0 -1
  1559. package/lib/typescript/credential/status/v1.4.6/01-status-list.d.ts.map +0 -1
  1560. package/lib/typescript/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts.map +0 -1
  1561. package/lib/typescript/credential/status/v1.4.6/03-get-status.d.ts.map +0 -1
  1562. package/lib/typescript/credential/status/v1.4.6/index.d.ts.map +0 -1
  1563. package/lib/typescript/credential/trustmark/api/index.d.ts.map +0 -1
  1564. package/lib/typescript/credential/trustmark/index.d.ts.map +0 -1
  1565. package/lib/typescript/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +0 -1
  1566. package/lib/typescript/credential/trustmark/v1.0.0/index.d.ts.map +0 -1
  1567. package/lib/typescript/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts.map +0 -1
  1568. package/lib/typescript/credential/trustmark/v1.4.6/index.d.ts.map +0 -1
  1569. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +0 -1
  1570. package/lib/typescript/credentials-catalogue/api/index.d.ts +0 -51
  1571. package/lib/typescript/credentials-catalogue/api/index.d.ts.map +0 -1
  1572. package/lib/typescript/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +0 -1
  1573. package/lib/typescript/credentials-catalogue/index.d.ts.map +0 -1
  1574. package/lib/typescript/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +0 -1
  1575. package/lib/typescript/credentials-catalogue/v1.0.0/index.d.ts.map +0 -1
  1576. package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts.map +0 -1
  1577. package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts.map +0 -1
  1578. package/lib/typescript/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts.map +0 -1
  1579. package/lib/typescript/credentials-catalogue/v1.4.6/fetch-translations.d.ts.map +0 -1
  1580. package/lib/typescript/credentials-catalogue/v1.4.6/index.d.ts.map +0 -1
  1581. package/lib/typescript/credentials-catalogue/v1.4.6/mappers.d.ts.map +0 -1
  1582. package/lib/typescript/credentials-catalogue/v1.4.6/types.d.ts.map +0 -1
  1583. package/lib/typescript/credentials-catalogue/v1.4.6/utils.d.ts +0 -37
  1584. package/lib/typescript/credentials-catalogue/v1.4.6/utils.d.ts.map +0 -1
  1585. package/lib/typescript/index.d.ts.map +0 -1
  1586. package/lib/typescript/key-attestation/api/index.d.ts +0 -39
  1587. package/lib/typescript/key-attestation/api/index.d.ts.map +0 -1
  1588. package/lib/typescript/key-attestation/api/types.d.ts.map +0 -1
  1589. package/lib/typescript/key-attestation/index.d.ts.map +0 -1
  1590. package/lib/typescript/key-attestation/v1.0.0/index.d.ts.map +0 -1
  1591. package/lib/typescript/key-attestation/v1.4.6/index.d.ts.map +0 -1
  1592. package/lib/typescript/key-attestation/v1.4.6/issuing.d.ts.map +0 -1
  1593. package/lib/typescript/key-attestation/v1.4.6/mappers.d.ts.map +0 -1
  1594. package/lib/typescript/key-attestation/v1.4.6/types.d.ts.map +0 -1
  1595. package/lib/typescript/key-attestation/v1.4.6/utils.d.ts.map +0 -1
  1596. package/lib/typescript/mdoc/const.d.ts.map +0 -1
  1597. package/lib/typescript/mdoc/converter.d.ts.map +0 -1
  1598. package/lib/typescript/mdoc/index.d.ts.map +0 -1
  1599. package/lib/typescript/mdoc/utils.d.ts.map +0 -1
  1600. package/lib/typescript/sd-jwt/__test__/types.test.d.ts +0 -2
  1601. package/lib/typescript/sd-jwt/__test__/types.test.d.ts.map +0 -1
  1602. package/lib/typescript/sd-jwt/__test__/utils.test.d.ts +0 -2
  1603. package/lib/typescript/sd-jwt/__test__/utils.test.d.ts.map +0 -1
  1604. package/lib/typescript/sd-jwt/index.d.ts.map +0 -1
  1605. package/lib/typescript/sd-jwt/types.d.ts.map +0 -1
  1606. package/lib/typescript/sd-jwt/utils.d.ts +0 -19
  1607. package/lib/typescript/sd-jwt/utils.d.ts.map +0 -1
  1608. package/lib/typescript/trust/api/TrustAnchorConfig.d.ts.map +0 -1
  1609. package/lib/typescript/trust/api/index.d.ts +0 -43
  1610. package/lib/typescript/trust/api/index.d.ts.map +0 -1
  1611. package/lib/typescript/trust/common/build-chain.d.ts +0 -21
  1612. package/lib/typescript/trust/common/build-chain.d.ts.map +0 -1
  1613. package/lib/typescript/trust/common/errors.d.ts.map +0 -1
  1614. package/lib/typescript/trust/common/types.d.ts.map +0 -1
  1615. package/lib/typescript/trust/common/utils.d.ts +0 -53
  1616. package/lib/typescript/trust/common/utils.d.ts.map +0 -1
  1617. package/lib/typescript/trust/common/verify-chain.d.ts.map +0 -1
  1618. package/lib/typescript/trust/index.d.ts.map +0 -1
  1619. package/lib/typescript/trust/v1.0.0/build-chain.d.ts +0 -2
  1620. package/lib/typescript/trust/v1.0.0/build-chain.d.ts.map +0 -1
  1621. package/lib/typescript/trust/v1.0.0/entities.d.ts.map +0 -1
  1622. package/lib/typescript/trust/v1.0.0/index.d.ts.map +0 -1
  1623. package/lib/typescript/trust/v1.0.0/mappers.d.ts.map +0 -1
  1624. package/lib/typescript/trust/v1.0.0/types.d.ts.map +0 -1
  1625. package/lib/typescript/trust/v1.0.0/verify-chain.d.ts +0 -5
  1626. package/lib/typescript/trust/v1.0.0/verify-chain.d.ts.map +0 -1
  1627. package/lib/typescript/trust/v1.4.6/entities.d.ts.map +0 -1
  1628. package/lib/typescript/trust/v1.4.6/types.d.ts.map +0 -1
  1629. package/lib/typescript/utils/auth.d.ts.map +0 -1
  1630. package/lib/typescript/utils/callbacks.d.ts.map +0 -1
  1631. package/lib/typescript/utils/config.d.ts.map +0 -1
  1632. package/lib/typescript/utils/credentials.d.ts.map +0 -1
  1633. package/lib/typescript/utils/crypto.d.ts.map +0 -1
  1634. package/lib/typescript/utils/decoder.d.ts.map +0 -1
  1635. package/lib/typescript/utils/dpop.d.ts.map +0 -1
  1636. package/lib/typescript/utils/error-codes.d.ts.map +0 -1
  1637. package/lib/typescript/utils/errors.d.ts.map +0 -1
  1638. package/lib/typescript/utils/integrity.d.ts.map +0 -1
  1639. package/lib/typescript/utils/jwk.d.ts.map +0 -1
  1640. package/lib/typescript/utils/logging.d.ts.map +0 -1
  1641. package/lib/typescript/utils/mappers.d.ts.map +0 -1
  1642. package/lib/typescript/utils/misc.d.ts.map +0 -1
  1643. package/lib/typescript/utils/object.d.ts.map +0 -1
  1644. package/lib/typescript/utils/par.d.ts +0 -50
  1645. package/lib/typescript/utils/par.d.ts.map +0 -1
  1646. package/lib/typescript/utils/parser.d.ts.map +0 -1
  1647. package/lib/typescript/utils/pop.d.ts.map +0 -1
  1648. package/lib/typescript/utils/string.d.ts.map +0 -1
  1649. package/lib/typescript/utils/x509.d.ts.map +0 -1
  1650. package/lib/typescript/utils/zod.d.ts.map +0 -1
  1651. package/lib/typescript/wallet-instance/api/index.d.ts +0 -45
  1652. package/lib/typescript/wallet-instance/api/index.d.ts.map +0 -1
  1653. package/lib/typescript/wallet-instance/common/wallet-instance.d.ts.map +0 -1
  1654. package/lib/typescript/wallet-instance/index.d.ts.map +0 -1
  1655. package/lib/typescript/wallet-instance/v1.0.0/index.d.ts.map +0 -1
  1656. package/lib/typescript/wallet-instance/v1.4.6/index.d.ts.map +0 -1
  1657. package/lib/typescript/wallet-instance-attestation/api/index.d.ts +0 -46
  1658. package/lib/typescript/wallet-instance-attestation/api/index.d.ts.map +0 -1
  1659. package/lib/typescript/wallet-instance-attestation/api/types.d.ts.map +0 -1
  1660. package/lib/typescript/wallet-instance-attestation/common/types.d.ts.map +0 -1
  1661. package/lib/typescript/wallet-instance-attestation/index.d.ts.map +0 -1
  1662. package/lib/typescript/wallet-instance-attestation/v1.0.0/index.d.ts.map +0 -1
  1663. package/lib/typescript/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +0 -1
  1664. package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +0 -1
  1665. package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts.map +0 -1
  1666. package/lib/typescript/wallet-instance-attestation/v1.0.0/utils.d.ts.map +0 -1
  1667. package/lib/typescript/wallet-instance-attestation/v1.4.6/index.d.ts.map +0 -1
  1668. package/lib/typescript/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +0 -1
  1669. package/lib/typescript/wallet-instance-attestation/v1.4.6/mappers.d.ts.map +0 -1
  1670. package/lib/typescript/wallet-instance-attestation/v1.4.6/types.d.ts.map +0 -1
  1671. package/lib/typescript/wallet-instance-attestation/v1.4.6/utils.d.ts.map +0 -1
  1672. package/src/sd-jwt/__test__/types.test.ts +0 -37
  1673. package/src/sd-jwt/__test__/utils.test.ts +0 -15
  1674. /package/lib/typescript/{IoWallet.d.ts → commonjs/IoWallet.d.ts} +0 -0
  1675. /package/lib/typescript/{api → commonjs/api}/index.d.ts +0 -0
  1676. /package/lib/typescript/{client → commonjs/client}/generated/wallet-provider.d.ts +0 -0
  1677. /package/lib/typescript/{credential → commonjs/credential}/index.d.ts +0 -0
  1678. /package/lib/typescript/{credential → commonjs/credential}/issuance/api/06-verify-and-parse-credential.d.ts +0 -0
  1679. /package/lib/typescript/{credential → commonjs/credential}/issuance/api/IssuerConfig.d.ts +0 -0
  1680. /package/lib/typescript/{credential → commonjs/credential}/issuance/api/index.d.ts +0 -0
  1681. /package/lib/typescript/{credential → commonjs/credential}/issuance/api/mrtd-pop/types.d.ts +0 -0
  1682. /package/lib/typescript/{credential → commonjs/credential}/issuance/api/types.d.ts +0 -0
  1683. /package/lib/typescript/{credential → commonjs/credential}/issuance/common/02-start-user-authorization.d.ts +0 -0
  1684. /package/lib/typescript/{credential → commonjs/credential}/issuance/common/06-verify-and-parse-credential.mdoc.d.ts +0 -0
  1685. /package/lib/typescript/{credential → commonjs/credential}/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts +0 -0
  1686. /package/lib/typescript/{credential → commonjs/credential}/issuance/common/errors.d.ts +0 -0
  1687. /package/lib/typescript/{credential → commonjs/credential}/issuance/index.d.ts +0 -0
  1688. /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts +0 -0
  1689. /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/02-init-challenge.d.ts +0 -0
  1690. /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/03-validate-challenge.d.ts +0 -0
  1691. /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/index.d.ts +0 -0
  1692. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts +0 -0
  1693. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/02-start-user-authorization.d.ts +0 -0
  1694. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/03-complete-user-authorization.d.ts +0 -0
  1695. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/04-authorize-access.d.ts +0 -0
  1696. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/05-obtain-credential.d.ts +0 -0
  1697. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/06-verify-and-parse-credential.d.ts +0 -0
  1698. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/index.d.ts +0 -0
  1699. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/mappers.d.ts +0 -0
  1700. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/types.d.ts +0 -0
  1701. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts +0 -0
  1702. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/02-start-user-authorization.d.ts +0 -0
  1703. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/03-complete-user-authorization.d.ts +0 -0
  1704. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/04-authorize-access.d.ts +0 -0
  1705. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/06-verify-and-parse-credential.d.ts +0 -0
  1706. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/index.d.ts +0 -0
  1707. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/mappers.d.ts +0 -0
  1708. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/types.d.ts +0 -0
  1709. /package/lib/typescript/{credential → commonjs/credential}/offer/api/02-extract-grant-details.d.ts +0 -0
  1710. /package/lib/typescript/{credential → commonjs/credential}/offer/api/03-validate-credential-offer.d.ts +0 -0
  1711. /package/lib/typescript/{credential → commonjs/credential}/offer/api/index.d.ts +0 -0
  1712. /package/lib/typescript/{credential → commonjs/credential}/offer/api/types.d.ts +0 -0
  1713. /package/lib/typescript/{credential → commonjs/credential}/offer/common/errors.d.ts +0 -0
  1714. /package/lib/typescript/{credential → commonjs/credential}/offer/index.d.ts +0 -0
  1715. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.0.0/index.d.ts +0 -0
  1716. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/01-resolve-credential-offer.d.ts +0 -0
  1717. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/02-extract-grant-details.d.ts +0 -0
  1718. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/03-validate-credential-offer.d.ts +0 -0
  1719. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/index.d.ts +0 -0
  1720. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/01-start-flow.d.ts +0 -0
  1721. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/04-verify-certificate-chain.d.ts +0 -0
  1722. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/05-verify-request-object.d.ts +0 -0
  1723. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/06-evaluate-dcql-query.d.ts +0 -0
  1724. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/RelyingPartyConfig.d.ts +0 -0
  1725. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/index.d.ts +0 -0
  1726. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/types.d.ts +0 -0
  1727. /package/lib/typescript/{credential → commonjs/credential}/presentation/common/errors.d.ts +0 -0
  1728. /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/dcql.d.ts +0 -0
  1729. /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/http.d.ts +0 -0
  1730. /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/mdoc.d.ts +0 -0
  1731. /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/sd-jwt.d.ts +0 -0
  1732. /package/lib/typescript/{credential → commonjs/credential}/presentation/index.d.ts +0 -0
  1733. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/01-start-flow.d.ts +0 -0
  1734. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/02-evaluate-rp-trust.d.ts +0 -0
  1735. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/03-get-request-object.d.ts +0 -0
  1736. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/05-verify-request-object.d.ts +0 -0
  1737. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/06-evaluate-dcql-query.d.ts +0 -0
  1738. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/07-send-authorization-response.d.ts +0 -0
  1739. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/index.d.ts +0 -0
  1740. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/mappers.d.ts +0 -0
  1741. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/types.d.ts +0 -0
  1742. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/utils.d.ts +0 -0
  1743. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/utils.jwks.d.ts +0 -0
  1744. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/01-start-flow.d.ts +0 -0
  1745. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/02-evaluate-rp-trust.d.ts +0 -0
  1746. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/03-get-request-object.d.ts +0 -0
  1747. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/04-verify-certificate-chain.d.ts +0 -0
  1748. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/05-verify-request-object.d.ts +0 -0
  1749. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/06-evaluate-dcql-query.d.ts +0 -0
  1750. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/07-send-authorization-response.d.ts +0 -0
  1751. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/index.d.ts +0 -0
  1752. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/mappers.d.ts +0 -0
  1753. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/sdkErrorMapper.d.ts +0 -0
  1754. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/types.d.ts +0 -0
  1755. /package/lib/typescript/{credential → commonjs/credential}/status/api/index.d.ts +0 -0
  1756. /package/lib/typescript/{credential → commonjs/credential}/status/api/types.d.ts +0 -0
  1757. /package/lib/typescript/{credential → commonjs/credential}/status/index.d.ts +0 -0
  1758. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/01-status-assertion.d.ts +0 -0
  1759. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts +0 -0
  1760. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/index.d.ts +0 -0
  1761. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/mappers.d.ts +0 -0
  1762. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/types.d.ts +0 -0
  1763. /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/01-status-list.d.ts +0 -0
  1764. /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/02-verify-and-parse-status-list.d.ts +0 -0
  1765. /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/03-get-status.d.ts +0 -0
  1766. /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/index.d.ts +0 -0
  1767. /package/lib/typescript/{credential → commonjs/credential}/trustmark/api/index.d.ts +0 -0
  1768. /package/lib/typescript/{credential → commonjs/credential}/trustmark/index.d.ts +0 -0
  1769. /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.0.0/get-credential-trustmark.d.ts +0 -0
  1770. /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.0.0/index.d.ts +0 -0
  1771. /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.4.6/get-credential-trustmark.d.ts +0 -0
  1772. /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.4.6/index.d.ts +0 -0
  1773. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/api/DigitalCredentialsCatalogue.d.ts +0 -0
  1774. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/common/get-status-l10n-ids.d.ts +0 -0
  1775. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/index.d.ts +0 -0
  1776. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/fetch-and-parse-catalogue.d.ts +0 -0
  1777. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/index.d.ts +0 -0
  1778. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/mappers.d.ts +0 -0
  1779. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/types.d.ts +0 -0
  1780. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/fetch-and-parse-catalogue.d.ts +0 -0
  1781. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/fetch-translations.d.ts +0 -0
  1782. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/index.d.ts +0 -0
  1783. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/mappers.d.ts +0 -0
  1784. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/types.d.ts +0 -0
  1785. /package/lib/typescript/{index.d.ts → commonjs/index.d.ts} +0 -0
  1786. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/api/types.d.ts +0 -0
  1787. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/index.d.ts +0 -0
  1788. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.0.0/index.d.ts +0 -0
  1789. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/index.d.ts +0 -0
  1790. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/issuing.d.ts +0 -0
  1791. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/mappers.d.ts +0 -0
  1792. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/types.d.ts +0 -0
  1793. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/utils.d.ts +0 -0
  1794. /package/lib/typescript/{mdoc → commonjs/mdoc}/const.d.ts +0 -0
  1795. /package/lib/typescript/{mdoc → commonjs/mdoc}/converter.d.ts +0 -0
  1796. /package/lib/typescript/{mdoc → commonjs/mdoc}/index.d.ts +0 -0
  1797. /package/lib/typescript/{mdoc → commonjs/mdoc}/utils.d.ts +0 -0
  1798. /package/lib/typescript/{sd-jwt → commonjs/sd-jwt}/index.d.ts +0 -0
  1799. /package/lib/typescript/{sd-jwt → commonjs/sd-jwt}/types.d.ts +0 -0
  1800. /package/lib/typescript/{trust → commonjs/trust}/api/TrustAnchorConfig.d.ts +0 -0
  1801. /package/lib/typescript/{trust → commonjs/trust}/common/errors.d.ts +0 -0
  1802. /package/lib/typescript/{trust → commonjs/trust}/common/types.d.ts +0 -0
  1803. /package/lib/typescript/{trust → commonjs/trust}/common/verify-chain.d.ts +0 -0
  1804. /package/lib/typescript/{trust → commonjs/trust}/index.d.ts +0 -0
  1805. /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/entities.d.ts +0 -0
  1806. /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/index.d.ts +0 -0
  1807. /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/mappers.d.ts +0 -0
  1808. /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/types.d.ts +0 -0
  1809. /package/lib/typescript/{trust → commonjs/trust}/v1.4.6/entities.d.ts +0 -0
  1810. /package/lib/typescript/{trust → commonjs/trust}/v1.4.6/types.d.ts +0 -0
  1811. /package/lib/typescript/{utils → commonjs/utils}/auth.d.ts +0 -0
  1812. /package/lib/typescript/{utils → commonjs/utils}/callbacks.d.ts +0 -0
  1813. /package/lib/typescript/{utils → commonjs/utils}/config.d.ts +0 -0
  1814. /package/lib/typescript/{utils → commonjs/utils}/credentials.d.ts +0 -0
  1815. /package/lib/typescript/{utils → commonjs/utils}/crypto.d.ts +0 -0
  1816. /package/lib/typescript/{utils → commonjs/utils}/decoder.d.ts +0 -0
  1817. /package/lib/typescript/{utils → commonjs/utils}/dpop.d.ts +0 -0
  1818. /package/lib/typescript/{utils → commonjs/utils}/error-codes.d.ts +0 -0
  1819. /package/lib/typescript/{utils → commonjs/utils}/errors.d.ts +0 -0
  1820. /package/lib/typescript/{utils → commonjs/utils}/integrity.d.ts +0 -0
  1821. /package/lib/typescript/{utils → commonjs/utils}/jwk.d.ts +0 -0
  1822. /package/lib/typescript/{utils → commonjs/utils}/logging.d.ts +0 -0
  1823. /package/lib/typescript/{utils → commonjs/utils}/mappers.d.ts +0 -0
  1824. /package/lib/typescript/{utils → commonjs/utils}/misc.d.ts +0 -0
  1825. /package/lib/typescript/{utils → commonjs/utils}/object.d.ts +0 -0
  1826. /package/lib/typescript/{utils → commonjs/utils}/parser.d.ts +0 -0
  1827. /package/lib/typescript/{utils → commonjs/utils}/pop.d.ts +0 -0
  1828. /package/lib/typescript/{utils → commonjs/utils}/string.d.ts +0 -0
  1829. /package/lib/typescript/{utils → commonjs/utils}/x509.d.ts +0 -0
  1830. /package/lib/typescript/{utils → commonjs/utils}/zod.d.ts +0 -0
  1831. /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/common/wallet-instance.d.ts +0 -0
  1832. /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/index.d.ts +0 -0
  1833. /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/v1.0.0/index.d.ts +0 -0
  1834. /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/v1.4.6/index.d.ts +0 -0
  1835. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/api/types.d.ts +0 -0
  1836. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/common/types.d.ts +0 -0
  1837. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/index.d.ts +0 -0
  1838. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/index.d.ts +0 -0
  1839. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/issuing.d.ts +0 -0
  1840. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/mappers.d.ts +0 -0
  1841. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/types.d.ts +0 -0
  1842. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/utils.d.ts +0 -0
  1843. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/index.d.ts +0 -0
  1844. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/issuing.d.ts +0 -0
  1845. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/mappers.d.ts +0 -0
  1846. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/types.d.ts +0 -0
  1847. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/utils.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["DcqlError","DcqlQuery","isValiError","CredentialsNotFoundError","extractFailedCredentialsDetails","getClaimsFromDcqlMatch","getDcqlQueryMatches","getPresentationFrameFromDcqlMatch","mdocUtils","sdJwtUtils","evaluateDcqlQuery","query","credentialsSdJwt","credentialsMdoc","arguments","length","undefined","credentials","Promise","all","mapCredentialsToObj","flat","credentialsById","reduce","acc","c","vct","doctype","original_credential","parsedQuery","parse","validate","queryResult","can_be_satisfied","map","_ref","_queryResult$credenti","_match$valid_credenti","id","match","purposes","credential_sets","filter","set","_set$matching_options","matching_options","includes","credentialSet","_credentialSet$purpos","description","purpose","toString","required","Boolean","matchOutput","valid_credentials","meta","output","credential_format","sdjwtCredential","Error","keyTag","credential","requiredDisclosures","presentationFrame","format","mdocCredential","getPresentationFrameFromClaims","error","cause","issues","code","message"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.4.6/06-evaluate-dcql-query.ts"],"mappings":"AAAA,SAASA,SAAS,EAAEC,SAAS,QAAQ,MAAM;AAC3C,SAASC,WAAW,QAAQ,SAAS;AAKrC,SAASC,wBAAwB,QAAQ,kBAAkB;AAC3D,SACEC,+BAA+B,EAC/BC,sBAAsB,EACtBC,mBAAmB,EACnBC,iCAAiC,QAC5B,sBAAsB;AAC7B,OAAO,KAAKC,SAAS,MAAM,sBAAsB;AACjD,OAAO,KAAKC,UAAU,MAAM,wBAAwB;AAEpD,OAAO,MAAMC,iBAA6D,GACxE,eAAAA,CA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ailedCredentialsDetails","getClaimsFromDcqlMatch","getDcqlQueryMatches","getPresentationFrameFromDcqlMatch","mdocUtils","sdJwtUtils","evaluateDcqlQuery","query","credentialsSdJwt","credentialsMdoc","credentials","Promise","all","mapCredentialsToObj","flat","credentialsById","reduce","acc","c","vct","doctype","original_credential","parsedQuery","parse","validate","queryResult","can_be_satisfied","map","id","match","purposes","credential_sets","filter","set","matching_options","includes","credentialSet","description","purpose","toString","required","Boolean","matchOutput","valid_credentials","meta","output","credential_format","sdjwtCredential","Error","keyTag","credential","requiredDisclosures","presentationFrame","format","mdocCredential","getPresentationFrameFromClaims","error","cause","issues","code","message"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.4.6/06-evaluate-dcql-query.ts"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,SAAS,QAAQ,MAAM;AAC3C,SAASC,WAAW,QAAQ,SAAS;AAKrC,SAASC,wBAAwB,QAAQ,qBAAkB;AAC3D,SACEC,+BAA+B,EAC/BC,sBAAsB,EACtBC,mBAAmB,EACnBC,iCAAiC,QAC5B,yBAAsB;AAC7B,OAAO,KAAKC,SAAS,MAAM,yBAAsB;AACjD,OAAO,KAAKC,UAAU,MAAM,2BAAwB;AAEpD,OAAO,MAAMC,iBAA6D,GACxE,MAAAA,CAAOC,KAAK,EAAEC,gBAAgB,EAAEC,eAAe,GAAG,EAAE,KAAK;EACvD,MAAMC,WAAW,GAAG,CAClB,MAAMC,OAAO,CAACC,GAAG,CAAC,CAChBP,UAAU,CAACQ,mBAAmB,CAACL,gBAAgB,CAAC,EAChDJ,SAAS,CAACS,mBAAmB,CAACJ,eAAe,CAAC,CAC/C,CAAC,EACFK,IAAI,CAAC,CAAC;;EAER;EACA,MAAMC,eAAe,GAAGL,WAAW,CAACM,MAAM,CACxC,CAACC,GAAG,EAAEC,CAAC,MAAM;IACX,GAAGD,GAAG;IACN,CAAC,KAAK,IAAIC,CAAC,GAAGA,CAAC,CAACC,GAAG,GAAGD,CAAC,CAACE,OAAO,G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K,CAAC,EAAE;MACtB,MAAM,IAAI5D,SAAS,CAAC;QAClB6D,KAAK,EAAED,KAAK,CAACE,MAAM;QACnBC,IAAI,EAAE,aAAa;QACnBC,OAAO,EAAE;MACX,CAAC,CAAC;IACJ;;IAEA;IACA,MAAMJ,KAAK;EACb;AACF,CAAC","ignoreList":[]}
@@ -1,14 +1,16 @@
1
+ "use strict";
2
+
1
3
  import { createAuthorizationResponse as sdkCreateAuthorizationResponse, fetchAuthorizationResponse as sdkFetchAuthorizationResponse } from "@pagopa/io-wallet-oid4vp";
2
- import { prepareVpTokenMdoc } from "../../../mdoc";
3
- import { prepareVpToken } from "../../../sd-jwt";
4
- import { partialCallbacks } from "../../../utils/callbacks";
5
- import { sdkConfigV1_4 } from "../../../utils/config";
6
- import { createCryptoContextFor } from "../../../utils/crypto";
7
- import { IoWalletError, RelyingPartyResponseError } from "../../../utils/errors";
8
- import { generateRandomAlphaNumericString, hasStatusOrThrow } from "../../../utils/misc";
9
- import { buildDirectPostBody } from "../common/utils/http";
10
- import { mapSdkAuthorizationResponseError } from "./sdkErrorMapper";
11
- import { AuthorizationResponse } from "./types";
4
+ import { prepareVpTokenMdoc } from "../../../mdoc/index.js";
5
+ import { prepareVpToken } from "../../../sd-jwt/index.js";
6
+ import { partialCallbacks } from "../../../utils/callbacks.js";
7
+ import { sdkConfigV1_4 } from "../../../utils/config.js";
8
+ import { createCryptoContextFor } from "../../../utils/crypto.js";
9
+ import { IoWalletError, RelyingPartyResponseError } from "../../../utils/errors.js";
10
+ import { generateRandomAlphaNumericString, hasStatusOrThrow } from "../../../utils/misc.js";
11
+ import { buildDirectPostBody } from "../common/utils/http.js";
12
+ import { mapSdkAuthorizationResponseError } from "./sdkErrorMapper.js";
13
+ import { AuthorizationResponse } from "./types.js";
12
14
 
13
15
  /**
14
16
  * Prepares remote presentations for a set of credentials.
@@ -37,12 +39,9 @@ export const prepareRemotePresentations = async (credentials, authRequestObject)
37
39
  return {
38
40
  credentialId: item.id,
39
41
  format,
40
- requestedClaims: item.requiredDisclosures.map(_ref => {
41
- let {
42
- name
43
- } = _ref;
44
- return name;
45
- }),
42
+ requestedClaims: item.requiredDisclosures.map(({
43
+ name
44
+ }) => name),
46
45
  vpToken: vp_token
47
46
  };
48
47
  }
@@ -53,12 +52,9 @@ export const prepareRemotePresentations = async (credentials, authRequestObject)
53
52
  return {
54
53
  credentialId: item.id,
55
54
  format: "mso_mdoc",
56
- requestedClaims: item.requiredDisclosures.map(_ref2 => {
57
- let {
58
- name
59
- } = _ref2;
60
- return name;
61
- }),
55
+ requestedClaims: item.requiredDisclosures.map(({
56
+ name
57
+ }) => name),
62
58
  vpToken: vp_token
63
59
  };
64
60
  }
@@ -69,10 +65,9 @@ export const prepareRemotePresentations = async (credentials, authRequestObject)
69
65
  presentations
70
66
  };
71
67
  };
72
- export const sendAuthorizationResponse = async function (requestObject, remotePresentation, rpConf) {
73
- let {
74
- appFetch = fetch
75
- } = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
68
+ export const sendAuthorizationResponse = async (requestObject, remotePresentation, rpConf, {
69
+ appFetch = fetch
70
+ } = {}) => {
76
71
  try {
77
72
  if (!rpConf && !requestObject.client_metadata) {
78
73
  throw new IoWalletError("At least one of rpConf or requestObject.client_metadata must be provided to send the authorization response");
@@ -81,12 +76,12 @@ export const sendAuthorizationResponse = async function (requestObject, remotePr
81
76
  // When the RP is not an OpenID Federation client, rpConf will be undefined
82
77
  // so the keys are taken from the Request Object's client_metadata.
83
78
  const clientMetadata = requestObject.client_metadata;
84
- const jwks = (rpConf === null || rpConf === void 0 ? void 0 : rpConf.jwks) ?? (clientMetadata === null || clientMetadata === void 0 ? void 0 : clientMetadata.jwks);
79
+ const jwks = rpConf?.jwks ?? clientMetadata?.jwks;
85
80
  if (!jwks) {
86
81
  throw new IoWalletError("Missing jwks in both rpConf and requestObject.client_metadata");
87
82
  }
88
83
  const rpJwks = {
89
- encrypted_response_enc_values_supported: (rpConf === null || rpConf === void 0 ? void 0 : rpConf.encrypted_response_enc_values_supported) ?? (clientMetadata === null || clientMetadata === void 0 ? void 0 : clientMetadata.encrypted_response_enc_values_supported),
84
+ encrypted_response_enc_values_supported: rpConf?.encrypted_response_enc_values_supported ?? clientMetadata?.encrypted_response_enc_values_supported,
90
85
  jwks
91
86
  };
92
87
  const vp_token = remotePresentation.presentations.reduce((acc, p) => {
@@ -116,14 +111,12 @@ export const sendAuthorizationResponse = async function (requestObject, remotePr
116
111
  throw mapSdkAuthorizationResponseError(err);
117
112
  }
118
113
  };
119
- export const sendAuthorizationErrorResponse = async function (requestObject, _ref3) {
120
- let {
121
- error,
122
- errorDescription
123
- } = _ref3;
124
- let {
125
- appFetch = fetch
126
- } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
114
+ export const sendAuthorizationErrorResponse = async (requestObject, {
115
+ error,
116
+ errorDescription
117
+ }, {
118
+ appFetch = fetch
119
+ } = {}) => {
127
120
  const requestBody = await buildDirectPostBody(requestObject, {
128
121
  error,
129
122
  error_description: errorDescription
@@ -1 +1 @@
1
- {"version":3,"names":["createAuthorizationResponse","sdkCreateAuthorizationResponse","fetchAuthorizationResponse","sdkFetchAuthorizationResponse","prepareVpTokenMdoc","prepareVpToken","partialCallbacks","sdkConfigV1_4","createCryptoContextFor","IoWalletError","RelyingPartyResponseError","generateRandomAlphaNumericString","hasStatusOrThrow","buildDirectPostBody","mapSdkAuthorizationResponseError","AuthorizationResponse","prepareRemotePresentations","credentials","authRequestObject","generatedNonce","presentations","Promise","all","map","item","format","vp_token","nonce","clientId","credential","presentationFrame","keyTag","credentialId","id","requestedClaims","requiredDisclosures","_ref","name","vpToken","responseUri","doctype","_ref2","sendAuthorizationResponse","requestObject","remotePresentation","rpConf","appFetch","fetch","arguments","length","undefined","client_metadata","clientMetadata","jwks","rpJwks","encrypted_response_enc_values_supported","reduce","acc","p","push","jarm","callbacks","encryptJwe","generateRandom","config","authorizationResponseJarm","responseJwe","presentationResponseUri","response_uri","err","sendAuthorizationErrorResponse","_ref3","error","errorDescription","requestBody","error_description","body","headers","method","then","res","json","parse"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.4.6/07-send-authorization-response.ts"],"mappings":"AAAA,SACEA,2BAA2B,IAAIC,8BAA8B,EAC7DC,0BAA0B,IAAIC,6BAA6B,QACtD,0BAA0B;AAIjC,SAASC,kBAAkB,QAAQ,eAAe;AAClD,SAASC,cAAc,QAAQ,iBAAiB;AAChD,SAASC,gBAAgB,QAAQ,0BAA0B;AAC3D,SAASC,aAAa,QAAQ,uBAAuB;AACrD,SAASC,sBAAsB,QAAQ,uBAAuB;AAC9D,SACEC,aAAa,EACbC,yBAAyB,QACpB,uBAAuB;AAC9B,SACEC,gCAAgC,EAChCC,gBAAgB,QACX,qBAAqB;AAC5B,SAASC,mBAAmB,QAAQ,sBAAsB;AAC1D,SAASC,gCAAgC,QAAQ,kBAAkB;AACnE,SAASC,qBAAqB,QAAQ,SAAS;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,0BAA+E,GAC1F,MAAAA,CAAOC,WAAW,EAAEC,iBAAiB,KAAK;EACxC;EACA,MAAMC,cAAc,GAAGR,gCAAgC,CAAC,EAAE,CAAC;EAE3D,MAAMS,aAAa,GAAG,MAAMC,OAAO,CAACC,GAAG,CACrCL,WAAW,CAACM,GAAG,CAAC,MAAOC,IAAI,IAAK;IAC9B,MAAM;MAAEC;IAAO,CAAC,GAAGD,IAAI;IAEvB,IAAIC,MAAM,KAAK,WAAW,EAAE;MAC1B,MAAM;QAAEC;MAAS,CAAC,GAAG,MAAMrB,cAAc,CACvCa,iBAAiB,CAACS,KAAK,EACvBT,iBAAiB,CAACU,QAAQ,EAC1B,CACEJ,IAAI,CAACK,UAAU,EACfL,IAAI,CAACM,iBAAiB,EACtBtB,sBAAsB,CAACgB,IAAI,CAACO,MAAM,CAAC,CAEvC,CAAC;MAED,OAAO;QACLC,YAAY,EAAER,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,GAAG,EAAE;IACZ,MAAMvD,gCAAgC,CAACuD,GAAG,CAAC;EAC7C;AACF,CAAC;AAEH,OAAO,MAAMC,8BAAuF,GAClG,eAAAA,CACE3B,aAAa,EAAA4B,KAAA,EAGV;EAAA,IAFH;IAAEC,KAAK;IAAEC;EAAiB,CAAC,GAAAF,KAAA;EAAA,IAC3B;IAAEzB,QAAQ,GAAGC;EAAM,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAEzB,MAAM0B,WAAW,GAAG,MAAM7D,mBAAmB,CAAC8B,aAAa,EAAE;IAC3D6B,KAAK;IACLG,iBAAiB,EAAEF;EACrB,CAAC,CAAC;EAEF,OAAO,MAAM3B,QAAQ,CAACH,aAAa,CAACyB,YAAY,EAAE;IAChDQ,IAAI,EAAEF,WAAW;IACjBG,OAAO,EAAE;MACP,cAAc,EAAE;IAClB,CAAC;IACDC,MAAM,EAAE;EACV,CAAC,CAAC,CACCC,IAAI,CAACnE,gBAAgB,CAAC,GAAG,EAAEF,yBAAyB,CAAC,CAAC,CACtDqE,IAAI,CAAEC,GAAG,IAAKA,GAAG,CAACC,IAAI,CAAC,CAAC,CAAC,CACzBF,IAAI,CAAChE,qBAAqB,CAACmE,KAAK,CAAC;AACtC,CAAC"}
1
+ {"version":3,"names":["createAuthorizationResponse","sdkCreateAuthorizationResponse","fetchAuthorizationResponse","sdkFetchAuthorizationResponse","prepareVpTokenMdoc","prepareVpToken","partialCallbacks","sdkConfigV1_4","createCryptoContextFor","IoWalletError","RelyingPartyResponseError","generateRandomAlphaNumericString","hasStatusOrThrow","buildDirectPostBody","mapSdkAuthorizationResponseError","AuthorizationResponse","prepareRemotePresentations","credentials","authRequestObject","generatedNonce","presentations","Promise","all","map","item","format","vp_token","nonce","clientId","credential","presentationFrame","keyTag","credentialId","id","requestedClaims","requiredDisclosures","name","vpToken","responseUri","doctype","sendAuthorizationResponse","requestObject","remotePresentation","rpConf","appFetch","fetch","client_metadata","clientMetadata","jwks","rpJwks","encrypted_response_enc_values_supported","reduce","acc","p","push","jarm","callbacks","encryptJwe","generateRandom","config","authorizationResponseJarm","responseJwe","presentationResponseUri","response_uri","err","sendAuthorizationErrorResponse","error","errorDescription","requestBody","error_description","body","headers","method","then","res","json","parse"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.4.6/07-send-authorization-response.ts"],"mappings":";;AAAA,SACEA,2BAA2B,IAAIC,8BAA8B,EAC7DC,0BAA0B,IAAIC,6BAA6B,QACtD,0BAA0B;AAIjC,SAASC,kBAAkB,QAAQ,wBAAe;AAClD,SAASC,cAAc,QAAQ,0BAAiB;AAChD,SAASC,gBAAgB,QAAQ,6BAA0B;AAC3D,SAASC,aAAa,QAAQ,0BAAuB;AACrD,SAASC,sBAAsB,QAAQ,0BAAuB;AAC9D,SACEC,aAAa,EACbC,yBAAyB,QACpB,0BAAuB;AAC9B,SACEC,gCAAgC,EAChCC,gBAAgB,QACX,wBAAqB;AAC5B,SAASC,mBAAmB,QAAQ,yBAAsB;AAC1D,SAASC,gCAAgC,QAAQ,qBAAkB;AACnE,SAASC,qBAAqB,QAAQ,YAAS;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,0BAA+E,GAC1F,MAAAA,CAAOC,WAAW,EAAEC,iBAAiB,KAAK;EACxC;EACA,MAAMC,cAAc,GAAGR,gCAAgC,CAAC,EAAE,CAAC;EAE3D,MAAMS,aAAa,GAAG,MAAMC,OAAO,CAACC,GAAG,CACrCL,WAAW,CAACM,GAAG,CAAC,MAAOC,IAAI,IAAK;IAC9B,MAAM;MAAEC;IAAO,CAAC,GAAGD,IAAI;IAEvB,IAAIC,MAAM,KAAK,WAAW,EAAE;MAC1B,MAAM;QAAEC;MAAS,CAAC,GAAG,MAAMrB,cAAc,CACvCa,iBAAiB,CAACS,KAAK,EACvBT,iBAAiB,CAACU,QAAQ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EACb;EAAEyB,KAAK;EAAEC;AAAiB,CAAC,EAC3B;EAAEvB,QAAQ,GAAGC;AAAM,CAAC,GAAG,CAAC,CAAC,KACtB;EACH,MAAMuB,WAAW,GAAG,MAAMvD,mBAAmB,CAAC4B,aAAa,EAAE;IAC3DyB,KAAK;IACLG,iBAAiB,EAAEF;EACrB,CAAC,CAAC;EAEF,OAAO,MAAMvB,QAAQ,CAACH,aAAa,CAACsB,YAAY,EAAE;IAChDO,IAAI,EAAEF,WAAW;IACjBG,OAAO,EAAE;MACP,cAAc,EAAE;IAClB,CAAC;IACDC,MAAM,EAAE;EACV,CAAC,CAAC,CACCC,IAAI,CAAC7D,gBAAgB,CAAC,GAAG,EAAEF,yBAAyB,CAAC,CAAC,CACtD+D,IAAI,CAAEC,GAAG,IAAKA,GAAG,CAACC,IAAI,CAAC,CAAC,CAAC,CACzBF,IAAI,CAAC1D,qBAAqB,CAAC6D,KAAK,CAAC;AACtC,CAAC","ignoreList":[]}
@@ -1,10 +1,12 @@
1
- import { startFlowFromQR } from "./01-start-flow";
2
- import { evaluateRelyingPartyTrust } from "./02-evaluate-rp-trust";
3
- import { getRequestObject } from "./03-get-request-object";
4
- import { verifyAuthRequestCertificateChain } from "./04-verify-certificate-chain";
5
- import { verifyRequestObject } from "./05-verify-request-object";
6
- import { evaluateDcqlQuery } from "./06-evaluate-dcql-query";
7
- import { prepareRemotePresentations, sendAuthorizationErrorResponse, sendAuthorizationResponse } from "./07-send-authorization-response";
1
+ "use strict";
2
+
3
+ import { startFlowFromQR } from "./01-start-flow.js";
4
+ import { evaluateRelyingPartyTrust } from "./02-evaluate-rp-trust.js";
5
+ import { getRequestObject } from "./03-get-request-object.js";
6
+ import { verifyAuthRequestCertificateChain } from "./04-verify-certificate-chain.js";
7
+ import { verifyRequestObject } from "./05-verify-request-object.js";
8
+ import { evaluateDcqlQuery } from "./06-evaluate-dcql-query.js";
9
+ import { prepareRemotePresentations, sendAuthorizationErrorResponse, sendAuthorizationResponse } from "./07-send-authorization-response.js";
8
10
  export const RemotePresentation = {
9
11
  evaluateDcqlQuery,
10
12
  evaluateRelyingPartyTrust,
@@ -1 +1 @@
1
- {"version":3,"names":["startFlowFromQR","evaluateRelyingPartyTrust","getRequestObject","verifyAuthRequestCertificateChain","verifyRequestObject","evaluateDcqlQuery","prepareRemotePresentations","sendAuthorizationErrorResponse","sendAuthorizationResponse","RemotePresentation"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.4.6/index.ts"],"mappings":"AAEA,SAASA,eAAe,QAAQ,iBAAiB;AACjD,SAASC,yBAAyB,QAAQ,wBAAwB;AAClE,SAASC,gBAAgB,QAAQ,yBAAyB;AAC1D,SAASC,iCAAiC,QAAQ,+BAA+B;AACjF,SAASC,mBAAmB,QAAQ,4BAA4B;AAChE,SAASC,iBAAiB,QAAQ,0BAA0B;AAC5D,SACEC,0BAA0B,EAC1BC,8BAA8B,EAC9BC,yBAAyB,QACpB,kCAAkC;AAEzC,OAAO,MAAMC,kBAAyC,GAAG;EACvDJ,iBAAiB;EACjBJ,yBAAyB;EACzBC,gBAAgB;EAChBI,0BAA0B;EAC1BC,8BAA8B;EAC9BC,yBAAyB;EACzBR,eAAe;EACfG,iCAAiC;EACjCC;AACF,CAAC"}
1
+ {"version":3,"names":["startFlowFromQR","evaluateRelyingPartyTrust","getRequestObject","verifyAuthRequestCertificateChain","verifyRequestObject","evaluateDcqlQuery","prepareRemotePresentations","sendAuthorizationErrorResponse","sendAuthorizationResponse","RemotePresentation"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.4.6/index.ts"],"mappings":";;AAEA,SAASA,eAAe,QAAQ,oBAAiB;AACjD,SAASC,yBAAyB,QAAQ,2BAAwB;AAClE,SAASC,gBAAgB,QAAQ,4BAAyB;AAC1D,SAASC,iCAAiC,QAAQ,kCAA+B;AACjF,SAASC,mBAAmB,QAAQ,+BAA4B;AAChE,SAASC,iBAAiB,QAAQ,6BAA0B;AAC5D,SACEC,0BAA0B,EAC1BC,8BAA8B,EAC9BC,yBAAyB,QACpB,qCAAkC;AAEzC,OAAO,MAAMC,kBAAyC,GAAG;EACvDJ,iBAAiB;EACjBJ,yBAAyB;EACzBC,gBAAgB;EAChBI,0BAA0B;EAC1BC,8BAA8B;EAC9BC,yBAAyB;EACzBR,eAAe;EACfG,iCAAiC;EACjCC;AACF,CAAC","ignoreList":[]}
@@ -1,8 +1,9 @@
1
- import { createMapper } from "../../../utils/mappers";
2
- export const mapToRelyingPartyConfig = createMapper(_ref => {
3
- let {
4
- payload
5
- } = _ref;
1
+ "use strict";
2
+
3
+ import { createMapper } from "../../../utils/mappers.js";
4
+ export const mapToRelyingPartyConfig = createMapper(({
5
+ payload
6
+ }) => {
6
7
  const {
7
8
  federation_entity,
8
9
  openid_credential_verifier
@@ -14,23 +15,20 @@ export const mapToRelyingPartyConfig = createMapper(_ref => {
14
15
  subject: payload.sub
15
16
  };
16
17
  });
17
- export const mapToRequestObject = createMapper(_ref2 => {
18
- let {
19
- header,
20
- payload
21
- } = _ref2;
22
- return {
23
- client_id: payload.client_id,
24
- client_metadata: payload.client_metadata,
25
- dcql_query: payload.dcql_query,
26
- iss: payload.iss ?? "",
27
- nonce: payload.nonce,
28
- response_mode: payload.response_mode,
29
- response_type: payload.response_type,
30
- response_uri: payload.response_uri,
31
- state: payload.state,
32
- trust_chain: header.trust_chain,
33
- x5c: header.x5c
34
- };
35
- });
18
+ export const mapToRequestObject = createMapper(({
19
+ header,
20
+ payload
21
+ }) => ({
22
+ client_id: payload.client_id,
23
+ client_metadata: payload.client_metadata,
24
+ dcql_query: payload.dcql_query,
25
+ iss: payload.iss ?? "",
26
+ nonce: payload.nonce,
27
+ response_mode: payload.response_mode,
28
+ response_type: payload.response_type,
29
+ response_uri: payload.response_uri,
30
+ state: payload.state,
31
+ trust_chain: header.trust_chain,
32
+ x5c: header.x5c
33
+ }));
36
34
  //# sourceMappingURL=mappers.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createMapper","mapToRelyingPartyConfig","_ref","payload","federation_entity","openid_credential_verifier","metadata","encrypted_response_enc_values_supported","jwks","subject","sub","mapToRequestObject","_ref2","header","client_id","client_metadata","dcql_query","iss","nonce","response_mode","response_type","response_uri","state","trust_chain","x5c"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.4.6/mappers.ts"],"mappings":"AAIA,SAASA,YAAY,QAAQ,wBAAwB;AAGrD,OAAO,MAAMC,uBAAuB,GAAGD,YAAY,CAGjDE,IAAA,IAAiB;EAAA,IAAhB;IAAEC;EAAQ,CAAC,GAAAD,IAAA;EACZ,MAAM;IAAEE,iBAAiB;IAAEC;EAA2B,CAAC,GAAGF,OAAO,CAACG,QAAQ;EAE1E,OAAO;IACLC,uCAAuC,EACrCF,0BAA0B,CAACE,uCAAuC;IACpEH,iBAAiB;IACjBI,IAAI,EAAEH,0BAA0B,CAACG,IAAI;IACrCC,OAAO,EAAEN,OAAO,CAACO;EACnB,CAAC;AACH,CAAC,CAAC;AAEF,OAAO,MAAMC,kBAAkB,GAAGX,YAAY,CAC5CY,KAAA;EAAA,IAAC;IAAEC,MAAM;IAAEV;EAAQ,CAAC,GAAAS,KAAA;EAAA,OAAM;IACxBE,SAAS,EAAEX,OAAO,CAACW,SAAS;IAC5BC,eAAe,EAAEZ,OAAO,CAACY,eAAe;IACxCC,UAAU,EAAEb,OAAO,CAACa,UAAU;IAC9BC,GAAG,EAAEd,OAAO,CAACc,GAAG,IAAI,EAAE;IACtBC,KAAK,EAAEf,OAAO,CAACe,KAAK;IACpBC,aAAa,EAAEhB,OAAO,CAACgB,aAAa;IACpCC,aAAa,EAAEjB,OAAO,CAACiB,aAAa;IACpCC,YAAY,EAAElB,OAAO,CAACkB,YAAY;IAClCC,KAAK,EAAEnB,OAAO,CAACmB,KAAK;IACpBC,WAAW,EAAEV,MAAM,CAACU,WAAW;IAC/BC,GAAG,EAAEX,MAAM,CAACW;EACd,CAAC;AAAA,CACH,CAAC"}
1
+ {"version":3,"names":["createMapper","mapToRelyingPartyConfig","payload","federation_entity","openid_credential_verifier","metadata","encrypted_response_enc_values_supported","jwks","subject","sub","mapToRequestObject","header","client_id","client_metadata","dcql_query","iss","nonce","response_mode","response_type","response_uri","state","trust_chain","x5c"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.4.6/mappers.ts"],"mappings":";;AAIA,SAASA,YAAY,QAAQ,2BAAwB;AAGrD,OAAO,MAAMC,uBAAuB,GAAGD,YAAY,CAGjD,CAAC;EAAEE;AAAQ,CAAC,KAAK;EACjB,MAAM;IAAEC,iBAAiB;IAAEC;EAA2B,CAAC,GAAGF,OAAO,CAACG,QAAQ;EAE1E,OAAO;IACLC,uCAAuC,EACrCF,0BAA0B,CAACE,uCAAuC;IACpEH,iBAAiB;IACjBI,IAAI,EAAEH,0BAA0B,CAACG,IAAI;IACrCC,OAAO,EAAEN,OAAO,CAACO;EACnB,CAAC;AACH,CAAC,CAAC;AAEF,OAAO,MAAMC,kBAAkB,GAAGV,YAAY,CAC5C,CAAC;EAAEW,MAAM;EAAET;AAAQ,CAAC,MAAM;EACxBU,SAAS,EAAEV,OAAO,CAACU,SAAS;EAC5BC,eAAe,EAAEX,OAAO,CAACW,eAAe;EACxCC,UAAU,EAAEZ,OAAO,CAACY,UAAU;EAC9BC,GAAG,EAAEb,OAAO,CAACa,GAAG,IAAI,EAAE;EACtBC,KAAK,EAAEd,OAAO,CAACc,KAAK;EACpBC,aAAa,EAAEf,OAAO,CAACe,aAAa;EACpCC,aAAa,EAAEhB,OAAO,CAACgB,aAAa;EACpCC,YAAY,EAAEjB,OAAO,CAACiB,YAAY;EAClCC,KAAK,EAAElB,OAAO,CAACkB,KAAK;EACpBC,WAAW,EAAEV,MAAM,CAACU,WAAW;EAC/BC,GAAG,EAAEX,MAAM,CAACW;AACd,CAAC,CACH,CAAC","ignoreList":[]}
@@ -1,22 +1,20 @@
1
- import { ValidationError as SdkValidationError } from "@openid4vc/utils";
1
+ "use strict";
2
+
2
3
  import { Oauth2JwtParseError as SdkOauth2JwtParseError } from "@pagopa/io-wallet-oauth2";
3
4
  import { CreateAuthorizationResponseError as SdkCreateAuthorizationResponseError, FetchAuthorizationResponseError as SdkFetchAuthorizationResponseError } from "@pagopa/io-wallet-oid4vp";
4
- import { UnexpectedStatusCodeError as SdkUnexpectedStatusCodeError } from "@pagopa/io-wallet-utils";
5
- import { RelyingPartyResponseError, RelyingPartyResponseErrorCodes, ResponseErrorBuilder } from "../../../utils/errors";
6
- import { InvalidRequestObjectError } from "../common/errors";
5
+ import { UnexpectedStatusCodeError as SdkUnexpectedStatusCodeError, ValidationError as SdkValidationError } from "@pagopa/io-wallet-utils";
6
+ import { RelyingPartyResponseError, RelyingPartyResponseErrorCodes, ResponseErrorBuilder } from "../../../utils/errors.js";
7
+ import { InvalidRequestObjectError } from "../common/errors.js";
7
8
 
8
9
  /**
9
10
  * Helper to create a generic RelyingPartyResponseError
10
11
  */
11
- const toRelyingPartyResponseError = function (message, statusCode) {
12
- let code = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : RelyingPartyResponseErrorCodes.RelyingPartyGenericError;
13
- return new RelyingPartyResponseError({
14
- code,
15
- message,
16
- reason: message,
17
- statusCode
18
- });
19
- };
12
+ const toRelyingPartyResponseError = (message, statusCode, code = RelyingPartyResponseErrorCodes.RelyingPartyGenericError) => new RelyingPartyResponseError({
13
+ code,
14
+ message,
15
+ reason: message,
16
+ statusCode
17
+ });
20
18
 
21
19
  /**
22
20
  * Mapping Sdk errors during Request Object retrieval (Fetch/QR)
@@ -1 +1 @@
1
- {"version":3,"names":["ValidationError","SdkValidationError","Oauth2JwtParseError","SdkOauth2JwtParseError","CreateAuthorizationResponseError","SdkCreateAuthorizationResponseError","FetchAuthorizationResponseError","SdkFetchAuthorizationResponseError","UnexpectedStatusCodeError","SdkUnexpectedStatusCodeError","RelyingPartyResponseError","RelyingPartyResponseErrorCodes","ResponseErrorBuilder","InvalidRequestObjectError","toRelyingPartyResponseError","message","statusCode","code","arguments","length","undefined","RelyingPartyGenericError","reason","mapSdkFetchAuthRequestError","err","mapSdkRequestObjectError","Error","String","mapSdkAuthorizationResponseError","handle","InvalidAuthorizationResponse","buildFrom"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.4.6/sdkErrorMapper.ts"],"mappings":"AAEA,SAASA,eAAe,IAAIC,kBAAkB,QAAQ,kBAAkB;AACxE,SAASC,mBAAmB,IAAIC,sBAAsB,QAAQ,0BAA0B;AACxF,SACEC,gCAAgC,IAAIC,mCAAmC,EACvEC,+BAA+B,IAAIC,kCAAkC,QAChE,0BAA0B;AACjC,SAASC,yBAAyB,IAAIC,4BAA4B,QAAQ,yBAAyB;AAEnG,SACEC,yBAAyB,EACzBC,8BAA8B,EAC9BC,oBAAoB,QACf,uBAAuB;AAC9B,SAASC,yBAAyB,QAAQ,kBAAkB;;AAE5D;AACA;AACA;AACA,MAAMC,2BAA2B,GAAG,SAAAA,CAClCC,OAAe,EACfC,UAAkB;EAAA,IAClBC,IAAmC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAGP,8BAA8B,CAACU,wBAAwB;EAAA,OAE7F,IAAIX,yBAAyB,CAAC;IAC5BO,IAAI;IACJF,OAAO;IACPO,MAAM,EAAEP,OAAO;IACfC;EACF,CAAC,CAAC;AAAA;;AAEJ;AACA;AACA;AACA,OAAO,MAAMO,2BAA2B,GAAIC,GAAY,IAAK;EAC3D,IAAIA,GAAG,YAAYf,4BAA4B,EAAE;IAC/C,MAAMK,2BAA2B,CAACU,GAAG,CAACT,OAAO,EAAES,GAAG,CAACR,UAAU,CAAC;EAChE;EAEA,MAAMQ,GAAG;AACX,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAID,GAAY,IAAK;EACxD,IAAIA,GAAG,YAAYvB,kBAAkB,EAAE;IACrC,MAAM,IAAIY,yBAAyB,CACjC,yCAAyC,EACzCW,GAAG,CAACT,OACN,CAAC;EACH;EAEA,IAAIS,GAAG,YAAYrB,sBAAsB,EAAE;IACzC,MAAM,IAAIU,yBAAyB,CACjC,uCACF,CAAC;EACH;EAEA,MAAME,OAAO,GAAGS,GAAG,YAAYE,KAAK,GAAGF,GAAG,CAACT,OAAO,GAAGY,MAAM,CAACH,GAAG,CAAC;EAChE,MAAM,IAAIX,yBAAyB,CAACE,OAAO,CAAC;AAC9C,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMa,gCAAgC,GAAIJ,GAAY,IAAK;EAChE,IAAIA,GAAG,YAAYf,4BAA4B,EAAE;IAC/C,MAAM,IAAIG,oBAAoB,CAACF,yBAAyB,CAAC,CACtDmB,MAAM,CAAC,GAAG,EAAE;MACXZ,IAAI,EAAEN,8BAA8B,CAACmB,4BAA4B;MACjEf,OAAO,EACL;IACJ,CAAC,CAAC,CACDc,MAAM,CAAC,GAAG,EAAE;MACXZ,IAAI,EAAEN,8BAA8B,CAACmB,4BAA4B;MACjEf,OAAO,EAAE;IACX,CAAC,CAAC,CACDc,MAAM,CAAC,GAAG,EAAE;MACXZ,IAAI,EAAEN,8BAA8B,CAACU,wBAAwB;MAC7DN,OAAO,EAAE;IACX,CAAC,CAAC,CACDgB,SAAS,CAACP,GAAG,CAAC;EACnB;EAEA,IACEA,GAAG,YAAYnB,mCAAmC,IAClDmB,GAAG,YAAYjB,kCAAkC,EACjD;IACA,MAAMO,2BAA2B,CAACU,GAAG,CAACT,OAAO,EAAES,GAAG,CAACR,UAAU,IAAI,GAAG,CAAC;EACvE;EAEA,MAAMQ,GAAG;AACX,CAAC"}
1
+ {"version":3,"names":["Oauth2JwtParseError","SdkOauth2JwtParseError","CreateAuthorizationResponseError","SdkCreateAuthorizationResponseError","FetchAuthorizationResponseError","SdkFetchAuthorizationResponseError","UnexpectedStatusCodeError","SdkUnexpectedStatusCodeError","ValidationError","SdkValidationError","RelyingPartyResponseError","RelyingPartyResponseErrorCodes","ResponseErrorBuilder","InvalidRequestObjectError","toRelyingPartyResponseError","message","statusCode","code","RelyingPartyGenericError","reason","mapSdkFetchAuthRequestError","err","mapSdkRequestObjectError","Error","String","mapSdkAuthorizationResponseError","handle","InvalidAuthorizationResponse","buildFrom"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.4.6/sdkErrorMapper.ts"],"mappings":";;AAAA,SAASA,mBAAmB,IAAIC,sBAAsB,QAAQ,0BAA0B;AACxF,SACEC,gCAAgC,IAAIC,mCAAmC,EACvEC,+BAA+B,IAAIC,kCAAkC,QAChE,0BAA0B;AACjC,SACEC,yBAAyB,IAAIC,4BAA4B,EACzDC,eAAe,IAAIC,kBAAkB,QAChC,yBAAyB;AAIhC,SACEC,yBAAyB,EACzBC,8BAA8B,EAC9BC,oBAAoB,QACf,0BAAuB;AAC9B,SAASC,yBAAyB,QAAQ,qBAAkB;;AAE5D;AACA;AACA;AACA,MAAMC,2BAA2B,GAAGA,CAClCC,OAAe,EACfC,UAAkB,EAClBC,IAAmC,GAAGN,8BAA8B,CAACO,wBAAwB,KAE7F,IAAIR,yBAAyB,CAAC;EAC5BO,IAAI;EACJF,OAAO;EACPI,MAAM,EAAEJ,OAAO;EACfC;AACF,CAAC,CAAC;;AAEJ;AACA;AACA;AACA,OAAO,MAAMI,2BAA2B,GAAIC,GAAY,IAAK;EAC3D,IAAIA,GAAG,YAAYd,4BAA4B,EAAE;IAC/C,MAAMO,2BAA2B,CAACO,GAAG,CAACN,OAAO,EAAEM,GAAG,CAACL,UAAU,CAAC;EAChE;EAEA,MAAMK,GAAG;AACX,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAID,GAAY,IAAK;EACxD,IAAIA,GAAG,YAAYZ,kBAAkB,EAAE;IACrC,MAAM,IAAII,yBAAyB,CACjC,yCAAyC,EACzCQ,GAAG,CAACN,OACN,CAAC;EACH;EAEA,IAAIM,GAAG,YAAYpB,sBAAsB,EAAE;IACzC,MAAM,IAAIY,yBAAyB,CACjC,uCACF,CAAC;EACH;EAEA,MAAME,OAAO,GAAGM,GAAG,YAAYE,KAAK,GAAGF,GAAG,CAACN,OAAO,GAAGS,MAAM,CAACH,GAAG,CAAC;EAChE,MAAM,IAAIR,yBAAyB,CAACE,OAAO,CAAC;AAC9C,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMU,gCAAgC,GAAIJ,GAAY,IAAK;EAChE,IAAIA,GAAG,YAAYd,4BAA4B,EAAE;IAC/C,MAAM,IAAIK,oBAAoB,CAACF,yBAAyB,CAAC,CACtDgB,MAAM,CAAC,GAAG,EAAE;MACXT,IAAI,EAAEN,8BAA8B,CAACgB,4BAA4B;MACjEZ,OAAO,EACL;IACJ,CAAC,CAAC,CACDW,MAAM,CAAC,GAAG,EAAE;MACXT,IAAI,EAAEN,8BAA8B,CAACgB,4BAA4B;MACjEZ,OAAO,EAAE;IACX,CAAC,CAAC,CACDW,MAAM,CAAC,GAAG,EAAE;MACXT,IAAI,EAAEN,8BAA8B,CAACO,wBAAwB;MAC7DH,OAAO,EAAE;IACX,CAAC,CAAC,CACDa,SAAS,CAACP,GAAG,CAAC;EACnB;EAEA,IACEA,GAAG,YAAYlB,mCAAmC,IAClDkB,GAAG,YAAYhB,kCAAkC,EACjD;IACA,MAAMS,2BAA2B,CAACO,GAAG,CAACN,OAAO,EAAEM,GAAG,CAACL,UAAU,IAAI,GAAG,CAAC;EACvE;EAEA,MAAMK,GAAG;AACX,CAAC","ignoreList":[]}
@@ -1,3 +1,5 @@
1
+ "use strict";
2
+
1
3
  import { zOpenid4vpAuthorizationRequestHeaderV1_3, zOpenid4vpAuthorizationRequestPayload } from "@pagopa/io-wallet-oid4vp";
2
4
  import * as z from "zod";
3
5
  export const RawRequestObject = z.object({
@@ -1 +1 @@
1
- {"version":3,"names":["zOpenid4vpAuthorizationRequestHeaderV1_3","zOpenid4vpAuthorizationRequestPayload","z","RawRequestObject","object","header","payload","AuthorizationResponse","redirect_uri","string","optional","response_code","status"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.4.6/types.ts"],"mappings":"AAAA,SACEA,wCAAwC,EACxCC,qCAAqC,QAChC,0BAA0B;AACjC,OAAO,KAAKC,CAAC,MAAM,KAAK;AAGxB,OAAO,MAAMC,gBAAgB,GAAGD,CAAC,CAACE,MAAM,CAAC;EACvCC,MAAM,EAAEL,wCAAwC;EAChDM,OAAO,EAAEL;AACX,CAAC,CAAC;AAGF,OAAO,MAAMM,qBAAqB,GAAGL,CAAC,CAACE,MAAM,CAAC;EAC5CI,YAAY,EAAEN,CAAC,CAACO,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACnCC,aAAa,EAAET,CAAC,CAACO,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACpCE,MAAM,EAAEV,CAAC,CAACO,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC;AAC9B,CAAC,CAAC"}
1
+ {"version":3,"names":["zOpenid4vpAuthorizationRequestHeaderV1_3","zOpenid4vpAuthorizationRequestPayload","z","RawRequestObject","object","header","payload","AuthorizationResponse","redirect_uri","string","optional","response_code","status"],"sourceRoot":"../../../../../src","sources":["credential/presentation/v1.4.6/types.ts"],"mappings":";;AAAA,SACEA,wCAAwC,EACxCC,qCAAqC,QAChC,0BAA0B;AACjC,OAAO,KAAKC,CAAC,MAAM,KAAK;AAGxB,OAAO,MAAMC,gBAAgB,GAAGD,CAAC,CAACE,MAAM,CAAC;EACvCC,MAAM,EAAEL,wCAAwC;EAChDM,OAAO,EAAEL;AACX,CAAC,CAAC;AAGF,OAAO,MAAMM,qBAAqB,GAAGL,CAAC,CAACE,MAAM,CAAC;EAC5CI,YAAY,EAAEN,CAAC,CAACO,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACnCC,aAAa,EAAET,CAAC,CAACO,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACpCE,MAAM,EAAEV,CAAC,CAACO,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC;AAC9B,CAAC,CAAC","ignoreList":[]}
@@ -1,3 +1,5 @@
1
+ "use strict";
2
+
1
3
  /**
2
4
  * Credential status API. It supports status assertion and status list.
3
5
  *
@@ -11,6 +13,6 @@
11
13
  * }
12
14
  */
13
15
 
14
- export * from "./types";
16
+ export * from "./types.js";
15
17
  export {};
16
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/status/api/index.ts"],"mappings":"AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAUA,cAAc,SAAS;AAAC"}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/status/api/index.ts"],"mappings":";;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAUA,cAAc,YAAS;AAAC","ignoreList":[]}
@@ -1,2 +1,4 @@
1
+ "use strict";
2
+
1
3
  export {};
2
4
  //# sourceMappingURL=status-assertion.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/status/api/status-assertion.ts"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/status/api/status-assertion.ts"],"mappings":"","ignoreList":[]}
@@ -1,2 +1,4 @@
1
+ "use strict";
2
+
1
3
  export {};
2
4
  //# sourceMappingURL=status-list.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/status/api/status-list.ts"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["credential/status/api/status-list.ts"],"mappings":"","ignoreList":[]}
@@ -1,5 +1,7 @@
1
+ "use strict";
2
+
1
3
  import { z } from "zod";
2
- import { UnixTime } from "../../../utils/zod";
4
+ import { UnixTime } from "../../../utils/zod.js";
3
5
 
4
6
  /**
5
7
  * Common type for a parsed Status Assertion
@@ -1 +1 @@
1
- {"version":3,"names":["z","UnixTime","StatusListBits","union","literal","StatusListContent","object","aggregation_uri","url","optional","bits","lst","string","min","StatusList","exp","iat","iss","status_list","sub","ttl","number","positive"],"sourceRoot":"../../../../../src","sources":["credential/status/api/types.ts"],"mappings":"AAAA,SAASA,CAAC,QAAQ,KAAK;AAEvB,SAASC,QAAQ,QAAQ,oBAAoB;;AAE7C;AACA;AACA;;AAcA,MAAMC,cAAc,GAAGF,CAAC,CAACG,KAAK,CAAC,CAC7BH,CAAC,CAACI,OAAO,CAAC,CAAC,CAAC,EACZJ,CAAC,CAACI,OAAO,CAAC,CAAC,CAAC,EACZJ,CAAC,CAACI,OAAO,CAAC,CAAC,CAAC,EACZJ,CAAC,CAACI,OAAO,CAAC,CAAC,CAAC,CACb,CAAC;AAGF,OAAO,MAAMC,iBAAiB,GAAGL,CAAC,CAACM,MAAM,CAAC;EACxCC,eAAe,EAAEP,CAAC,CAACQ,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACnCC,IAAI,EAAER,cAAc;EACpBS,GAAG,EAAEX,CAAC,CAACY,MAAM,CAAC,CAAC,CAACC,GAAG,CAAC,CAAC;AACvB,CAAC,CAAC;AAGF,OAAO,MAAMC,UAAU,GAAGd,CAAC,CAACM,MAAM,CAAC;EACjCS,GAAG,EAAEd,QAAQ,CAACQ,QAAQ,CAAC,CAAC;EACxBO,GAAG,EAAEf,QAAQ;EACbgB,GAAG,EAAEjB,CAAC,CAACQ,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACvBS,WAAW,EAAEb,iBAAiB;EAC9Bc,GAAG,EAAEnB,CAAC,CAACQ,GAAG,CAAC,CAAC;EACZY,GAAG,EAAEpB,CAAC,CAACqB,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC,CAACb,QAAQ,CAAC;AACtC,CAAC,CAAC"}
1
+ {"version":3,"names":["z","UnixTime","StatusListBits","union","literal","StatusListContent","object","aggregation_uri","url","optional","bits","lst","string","min","StatusList","exp","iat","iss","status_list","sub","ttl","number","positive"],"sourceRoot":"../../../../../src","sources":["credential/status/api/types.ts"],"mappings":";;AAAA,SAASA,CAAC,QAAQ,KAAK;AAEvB,SAASC,QAAQ,QAAQ,uBAAoB;;AAE7C;AACA;AACA;;AAcA,MAAMC,cAAc,GAAGF,CAAC,CAACG,KAAK,CAAC,CAC7BH,CAAC,CAACI,OAAO,CAAC,CAAC,CAAC,EACZJ,CAAC,CAACI,OAAO,CAAC,CAAC,CAAC,EACZJ,CAAC,CAACI,OAAO,CAAC,CAAC,CAAC,EACZJ,CAAC,CAACI,OAAO,CAAC,CAAC,CAAC,CACb,CAAC;AAGF,OAAO,MAAMC,iBAAiB,GAAGL,CAAC,CAACM,MAAM,CAAC;EACxCC,eAAe,EAAEP,CAAC,CAACQ,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACnCC,IAAI,EAAER,cAAc;EACpBS,GAAG,EAAEX,CAAC,CAACY,MAAM,CAAC,CAAC,CAACC,GAAG,CAAC,CAAC;AACvB,CAAC,CAAC;AAGF,OAAO,MAAMC,UAAU,GAAGd,CAAC,CAACM,MAAM,CAAC;EACjCS,GAAG,EAAEd,QAAQ,CAACQ,QAAQ,CAAC,CAAC;EACxBO,GAAG,EAAEf,QAAQ;EACbgB,GAAG,EAAEjB,CAAC,CAACQ,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;EACvBS,WAAW,EAAEb,iBAAiB;EAC9Bc,GAAG,EAAEnB,CAAC,CAACQ,GAAG,CAAC,CAAC;EACZY,GAAG,EAAEpB,CAAC,CAACqB,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC,CAACb,QAAQ,CAAC;AACtC,CAAC,CAAC","ignoreList":[]}
@@ -1,4 +1,6 @@
1
- export * from "./api";
2
- export { CredentialStatus as V1_0_0 } from "./v1.0.0";
3
- export { CredentialStatus as V1_4_6 } from "./v1.4.6";
1
+ "use strict";
2
+
3
+ export * from "./api/index.js";
4
+ export { CredentialStatus as V1_0_0 } from "./v1.0.0/index.js";
5
+ export { CredentialStatus as V1_4_6 } from "./v1.4.6/index.js";
4
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["CredentialStatus","V1_0_0","V1_4_6"],"sourceRoot":"../../../../src","sources":["credential/status/index.ts"],"mappings":"AAAA,cAAc,OAAO;AACrB,SAASA,gBAAgB,IAAIC,MAAM,QAAQ,UAAU;AACrD,SAASD,gBAAgB,IAAIE,MAAM,QAAQ,UAAU"}
1
+ {"version":3,"names":["CredentialStatus","V1_0_0","V1_4_6"],"sourceRoot":"../../../../src","sources":["credential/status/index.ts"],"mappings":";;AAAA,cAAc,gBAAO;AACrB,SAASA,gBAAgB,IAAIC,MAAM,QAAQ,mBAAU;AACrD,SAASD,gBAAgB,IAAIE,MAAM,QAAQ,mBAAU","ignoreList":[]}
@@ -1,10 +1,12 @@
1
+ "use strict";
2
+
1
3
  import { SignJWT } from "@pagopa/io-react-native-jwt";
2
4
  import { v4 as uuidv4 } from "uuid";
3
- import { extractJwkFromCredential } from "../../../utils/credentials";
4
- import { IoWalletError, IssuerResponseError, IssuerResponseErrorCodes, ResponseErrorBuilder, UnexpectedStatusCodeError } from "../../../utils/errors";
5
- import { Logger, LogLevel } from "../../../utils/logging";
6
- import { getCredentialHashWithouDiscloures, hasStatusOrThrow } from "../../../utils/misc";
7
- import { StatusAssertionResponse } from "./types";
5
+ import { extractJwkFromCredential } from "../../../utils/credentials.js";
6
+ import { IoWalletError, IssuerResponseError, IssuerResponseErrorCodes, ResponseErrorBuilder, UnexpectedStatusCodeError } from "../../../utils/errors.js";
7
+ import { Logger, LogLevel } from "../../../utils/logging.js";
8
+ import { getCredentialHashWithouDiscloures, hasStatusOrThrow } from "../../../utils/misc.js";
9
+ import { StatusAssertionResponse } from "./types.js";
8
10
  export const getStatusAssertion = async (issuerConf, credential, format, ctx) => {
9
11
  const {
10
12
  appFetch = fetch,
@@ -1 +1 @@
1
- {"version":3,"names":["SignJWT","v4","uuidv4","extractJwkFromCredential","IoWalletError","IssuerResponseError","IssuerResponseErrorCodes","ResponseErrorBuilder","UnexpectedStatusCodeError","Logger","LogLevel","getCredentialHashWithouDiscloures","hasStatusOrThrow","StatusAssertionResponse","getStatusAssertion","issuerConf","credential","format","ctx","appFetch","fetch","credentialCryptoContext","wiaCryptoContext","jwk","issuerJwk","getPublicKey","credentialHash","statusAttUrl","status_assertion_endpoint","credentialPop","setPayload","aud","credential_hash","credential_hash_alg","iss","kid","jti","toString","setProtectedHeader","alg","typ","setIssuedAt","setExpirationTime","sign","body","status_assertion_requests","log","DEBUG","result","JSON","stringify","headers","method","then","raw","json","parse","catch","handleStatusAssertionError","statusAttestationJwt","status_assertion_responses","statusAssertion","e","handle","code","StatusAttestationRequestFailed","message","buildFrom"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.0.0/01-status-assertion.ts"],"mappings":"AAAA,SAASA,OAAO,QAAQ,6BAA6B;AACrD,SAASC,EAAE,IAAIC,MAAM,QAAQ,MAAM;AAInC,SAASC,wBAAwB,QAAQ,4BAA4B;AACrE,SACEC,aAAa,EACbC,mBAAmB,EACnBC,wBAAwB,EACxBC,oBAAoB,EACpBC,yBAAyB,QACpB,uBAAuB;AAC9B,SAASC,MAAM,EAAEC,QAAQ,QAAQ,wBAAwB;AACzD,SACEC,iCAAiC,EACjCC,gBAAgB,QACX,qBAAqB;AAC5B,SAASC,uBAAuB,QAAQ,SAAS;AAEjD,OAAO,MAAMC,kBAA6C,GAAG,MAAAA,CAC3DC,UAAU,EACVC,UAAU,EACVC,MAAM,EACNC,GAAG,KACA;EACH,MAAM;IAAEC,QAAQ,GAAGC,KAAK;IAAEC,uBAAuB;IAAEC;EAAiB,CAAC,GAAGJ,GAAG;EAE3E,MAAMK,GAAG,GAAG,MAAMpB,wBAAwB,CAACa,UAAU,EAAEC,MAAM,CAAC;EAC9D,MAAMO,SAAS,GAAG,MAAMF,gBAAgB,CAACG,YAAY,CAAC,CAAC;EACvD,MAAMC,cAAc,GAAG,MAAMf,iCAAiC,CAACK,UAAU,CAA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pC,MAAM,CAACC,oBAAoB,CAAC,GAAGX,MAAM,CAACY,0BAA0B;EAEhE,IAAI,CAACD,oBAAoB,EAAE;IACzB,MAAM,IAAIvD,aAAa,CAAC,oCAAoC,CAAC;EAC/D;EAEA,OAAO;IAAEyD,eAAe,EAAEF;EAAqB,CAAC;AAClD,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,MAAMD,0BAA0B,GAAII,CAAU,IAAK;EACjD,IAAI,EAAEA,CAAC,YAAYtD,yBAAyB,CAAC,EAAE;IAC7C,MAAMsD,CAAC;EACT;EAEA,MAAM,IAAIvD,oBAAoB,CAACF,mBAAmB,CAAC,CAChD0D,MAAM,CAAC,GAAG,EAAE;IACXC,IAAI,EAAE1D,wBAAwB,CAAC2D,8BAA8B;IAC7DC,OAAO,EAAG;EACZ,CAAC,CAAC,CACDC,SAAS,CAACL,CAAC,CAAC;AACjB,CAAC"}
1
+ {"version":3,"names":["SignJWT","v4","uuidv4","extractJwkFromCredential","IoWalletError","IssuerResponseError","IssuerResponseErrorCodes","ResponseErrorBuilder","UnexpectedStatusCodeError","Logger","LogLevel","getCredentialHashWithouDiscloures","hasStatusOrThrow","StatusAssertionResponse","getStatusAssertion","issuerConf","credential","format","ctx","appFetch","fetch","credentialCryptoContext","wiaCryptoContext","jwk","issuerJwk","getPublicKey","credentialHash","statusAttUrl","status_assertion_endpoint","credentialPop","setPayload","aud","credential_hash","credential_hash_alg","iss","kid","jti","toString","setProtectedHeader","alg","typ","setIssuedAt","setExpirationTime","sign","body","status_assertion_requests","log","DEBUG","result","JSON","stringify","headers","method","then","raw","json","parse","catch","handleStatusAssertionError","statusAttestationJwt","status_assertion_responses","statusAssertion","e","handle","code","StatusAttestationRequestFailed","message","buildFrom"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.0.0/01-status-assertion.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,6BAA6B;AACrD,SAASC,EAAE,IAAIC,MAAM,QAAQ,MAAM;AAInC,SAASC,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"use strict";
2
+
1
3
  import { decode as decodeJwt, verify } from "@pagopa/io-react-native-jwt";
2
- import { extractJwkFromCredential } from "../../../utils/credentials";
3
- import { IoWalletError, IssuerResponseError, IssuerResponseErrorCodes } from "../../../utils/errors";
4
- import { isSameThumbprint } from "../../../utils/jwk";
5
- import { Logger, LogLevel } from "../../../utils/logging";
6
- import { mapToParsedStatusAssertion } from "./mappers";
7
- import { ParsedStatusAssertionResponse, StatusType } from "./types";
4
+ import { extractJwkFromCredential } from "../../../utils/credentials.js";
5
+ import { IoWalletError, IssuerResponseError, IssuerResponseErrorCodes } from "../../../utils/errors.js";
6
+ import { isSameThumbprint } from "../../../utils/jwk.js";
7
+ import { Logger, LogLevel } from "../../../utils/logging.js";
8
+ import { mapToParsedStatusAssertion } from "./mappers.js";
9
+ import { ParsedStatusAssertionResponse, StatusType } from "./types.js";
8
10
  export const verifyAndParseStatusAssertion = async (issuerConf, rawStatusAssertion, credential, format) => {
9
11
  const {
10
12
  statusAssertion
@@ -55,10 +57,9 @@ const isStatusAssertionError = assertion => assertion.header.typ === "status-ass
55
57
  * @param assertion The status assertion response, both success or failure
56
58
  * @returns The error's reason object
57
59
  */
58
- const buildErrorReason = _ref => {
59
- let {
60
- payload
61
- } = _ref;
60
+ const buildErrorReason = ({
61
+ payload
62
+ }) => {
62
63
  if ("error" in payload) return payload;
63
64
  const {
64
65
  credential_status_detail
@@ -1 +1 @@
1
- {"version":3,"names":["decode","decodeJwt","verify","extractJwkFromCredential","IoWalletError","IssuerResponseError","IssuerResponseErrorCodes","isSameThumbprint","Logger","LogLevel","mapToParsedStatusAssertion","ParsedStatusAssertionResponse","StatusType","verifyAndParseStatusAssertion","issuerConf","rawStatusAssertion","credential","format","statusAssertion","keys","decodedJwt","parsedStatusAssertion","parse","header","protectedHeader","payload","log","DEBUG","JSON","stringify","isStatusAssertionError","code","CredentialInvalidStatus","message","reason","buildErrorReason","statusCode","cnf","credential_status_type","holderBindingKey","jwk","errorMessage","kid","ERROR","VALID","assertion","typ","_ref","credential_status_detail","error","state","error_description","description"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.0.0/02-verify-and-parse-status-assertion.ts"],"mappings":"AAAA,SAASA,MAAM,IAAIC,SAAS,EAAEC,MAAM,QAAQ,6BAA6B;AAIzE,SAASC,wBAAwB,QAAQ,4BAA4B;AACrE,SACEC,aAAa,EACbC,mBAAmB,EACnBC,wBAAwB,QACnB,uBAAuB;AAC9B,SAASC,gBAAgB,QAAQ,oBAAoB;AACrD,SAASC,MAAM,EAAEC,QAAQ,QAAQ,wBAAwB;AACzD,SAASC,0BAA0B,QAAQ,WAAW;AACtD,SAGEC,6BAA6B,EAC7BC,UAAU,QACL,SAAS;AAEhB,OAAO,MAAMC,6BAAmE,GAC9E,MAAAA,CAAOC,UAAU,EAAEC,kBAAkB,EAAEC,UAAU,EAAEC,MAAM,KAAK;EAC5D,MAAM;IAAEC;EAAgB,CAAC,GAAGH,kBAAkB;EAE9C,MAAMb,MAAM,CAACgB,eAAe,EAAEJ,UAAU,CAACK,IAAI,CAAC;EAE9C,MAAMC,UAAU,GAAGnB,SAAS,CAACiB,eAAe,CAAC;EAC7C,MAAMG,qBAAqB,GAAGV,6BAA6B,CAACW,KAAK,CAAC;IAChEC,MAAM,EAAEH,UAAU,CAACI,eAAe;IAClCC,OAAO,EAAEL,UAAU,CAACK;EACtB,CAAC,CAAC;EAEFjB,MAAM,CAACkB,GAAG,CACRjB,QAAQ,CAACkB,KAAK,EACb,4BAA2BC,IAAI,CAACC,SAAS,CAACR,qBAAqB,CAAE,EACpE,CAAC;;EAED;EACA,IAAIS,sBAAsB,CAACT,qBAAqB,CAAC,EAAE;IACjD,MAAM,IAAIhB,mBAAmB,CAAC;MAC5B0B,IAAI,EAAEzB,wBAAwB,CAAC0B,uBAAuB;MACtDC,OAAO,EAAE,wCAAwC;MACjDC,MAAM,EAAEC,gBAAgB,CAACd,qBAAqB,CAAC;MAC/Ce,UAAU,EAAE;IACd,CAAC,CAAC;EACJ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K,EAAED,wBAAwB,CAACE,KAAK;IACrCC,iBAAiB,EAAEH,wBAAwB,CAACI;EAC9C,CAAC;AACH,CAAC"}
1
+ {"version":3,"names":["decode","decodeJwt","verify","extractJwkFromCredential","IoWalletError","IssuerResponseError","IssuerResponseErrorCodes","isSameThumbprint","Logger","LogLevel","mapToParsedStatusAssertion","ParsedStatusAssertionResponse","StatusType","verifyAndParseStatusAssertion","issuerConf","rawStatusAssertion","credential","format","statusAssertion","keys","decodedJwt","parsedStatusAssertion","parse","header","protectedHeader","payload","log","DEBUG","JSON","stringify","isStatusAssertionError","code","CredentialInvalidStatus","message","reason","buildErrorReason","statusCode","cnf","credential_status_type","holderBindingKey","jwk","errorMessage","kid","ERROR","VALID","assertion","typ","credential_status_detail","error","state","error_description","description"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.0.0/02-verify-and-parse-status-assertion.ts"],"mappings":";;AAAA,SAASA,MAAM,IAAIC,SAAS,EAAEC,MAAM,QAAQ,6BAA6B;AAIzE,SAASC,wBAAwB,QAAQ,+BAA4B;AACrE,SACEC,aAAa,EACbC,mBAAmB,EACnBC,wBAAwB,QACnB,0BAAuB;AAC9B,SAASC,gBAAgB,QAAQ,uBAAoB;AACrD,SAASC,MAAM,EAAEC,QAAQ,QAAQ,2BAAwB;AACzD,SAASC,0BAA0B,QAAQ,cAAW;AACtD,SAGEC,6BAA6B,EAC7BC,UAAU,QACL,YAAS;AAEhB,OAAO,MAAMC,6BAAmE,GAC9E,MAAAA,CAAOC,UAAU,EAAEC,kBAAkB,EAAEC,UAAU,EAAEC,MAAM,KAAK;EAC5D,MAAM;IAAEC;EAAgB,CAAC,GAAGH,kBAAkB;EAE9C,MAAMb,MAAM,CAACgB,eAAe,EAAEJ,UAAU,CAACK,IAAI,CAAC;EAE9C,MAAMC,UAAU,GAAGnB,SAAS,CAACiB,eAAe,CAAC;EAC7C,MAAMG,qBAAqB,GAAGV,6BAA6B,CAACW,KAAK,CAAC;IAChEC,MAAM,EAAEH,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AqB;EACzE,CAAC;AACH,CAAC;AAEH,MAAMS,sBAAsB,GAC1Be,SAAwC,IAExCA,SAAS,CAACtB,MAAM,CAACuB,GAAG,KAAK,4BAA4B;;AAEvD;AACA;AACA;AACA;AACA;AACA,MAAMX,gBAAgB,GAAGA,CAAC;EACxBV;AAC6B,CAAC,KAA+B;EAC7D,IAAI,OAAO,IAAIA,OAAO,EAAE,OAAOA,OAAO;EAEtC,MAAM;IAAEsB;EAAyB,CAAC,GAAGtB,OAAO;EAC5C,IAAI,CAACsB,wBAAwB,EAAE;IAC7B,MAAM,IAAI3C,aAAa,CACrB,iEACF,CAAC;EACH;EAEA,OAAO;IACL4C,KAAK,EAAED,wBAAwB,CAACE,KAAK;IACrCC,iBAAiB,EAAEH,wBAAwB,CAACI;EAC9C,CAAC;AACH,CAAC","ignoreList":[]}
@@ -1,5 +1,7 @@
1
- import { getStatusAssertion } from "./01-status-assertion";
2
- import { verifyAndParseStatusAssertion } from "./02-verify-and-parse-status-assertion";
1
+ "use strict";
2
+
3
+ import { getStatusAssertion } from "./01-status-assertion.js";
4
+ import { verifyAndParseStatusAssertion } from "./02-verify-and-parse-status-assertion.js";
3
5
  export const CredentialStatus = {
4
6
  statusAssertion: {
5
7
  get: getStatusAssertion,
@@ -1 +1 @@
1
- {"version":3,"names":["getStatusAssertion","verifyAndParseStatusAssertion","CredentialStatus","statusAssertion","get","isSupported","verifyAndParse","statusList"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.0.0/index.ts"],"mappings":"AAEA,SAASA,kBAAkB,QAAQ,uBAAuB;AAC1D,SAASC,6BAA6B,QAAQ,wCAAwC;AAEtF,OAAO,MAAMC,gBAAqC,GAAG;EACnDC,eAAe,EAAE;IACfC,GAAG,EAAEJ,kBAAkB;IACvBK,WAAW,EAAE,IAAI;IACjBC,cAAc,EAAEL;EAClB,CAAC;EACDM,UAAU,EAAE;IACVF,WAAW,EAAE;EACf;AACF,CAAC"}
1
+ {"version":3,"names":["getStatusAssertion","verifyAndParseStatusAssertion","CredentialStatus","statusAssertion","get","isSupported","verifyAndParse","statusList"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.0.0/index.ts"],"mappings":";;AAEA,SAASA,kBAAkB,QAAQ,0BAAuB;AAC1D,SAASC,6BAA6B,QAAQ,2CAAwC;AAEtF,OAAO,MAAMC,gBAAqC,GAAG;EACnDC,eAAe,EAAE;IACfC,GAAG,EAAEJ,kBAAkB;IACvBK,WAAW,EAAE,IAAI;IACjBC,cAAc,EAAEL;EAClB,CAAC;EACDM,UAAU,EAAE;IACVF,WAAW,EAAE;EACf;AACF,CAAC","ignoreList":[]}
@@ -1,3 +1,5 @@
1
- import { createMapper } from "../../../utils/mappers";
1
+ "use strict";
2
+
3
+ import { createMapper } from "../../../utils/mappers.js";
2
4
  export const mapToParsedStatusAssertion = createMapper(x => x.payload);
3
5
  //# sourceMappingURL=mappers.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createMapper","mapToParsedStatusAssertion","x","payload"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.0.0/mappers.ts"],"mappings":"AAGA,SAASA,YAAY,QAAQ,wBAAwB;AAErD,OAAO,MAAMC,0BAA0B,GAAGD,YAAY,CAGnDE,CAAC,IAAKA,CAAC,CAACC,OAAO,CAAC"}
1
+ {"version":3,"names":["createMapper","mapToParsedStatusAssertion","x","payload"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.0.0/mappers.ts"],"mappings":";;AAGA,SAASA,YAAY,QAAQ,2BAAwB;AAErD,OAAO,MAAMC,0BAA0B,GAAGD,YAAY,CAGnDE,CAAC,IAAKA,CAAC,CAACC,OAAO,CAAC","ignoreList":[]}
@@ -1,6 +1,8 @@
1
+ "use strict";
2
+
1
3
  import * as z from "zod";
2
- import { JWK } from "../../../utils/jwk";
3
- import { UnixTime } from "../../../utils/zod";
4
+ import { JWK } from "../../../utils/jwk.js";
5
+ import { UnixTime } from "../../../utils/zod.js";
4
6
 
5
7
  /**
6
8
  * Shape from parsing a status assertion response in case of 201.
@@ -1 +1 @@
1
- {"version":3,"names":["z","JWK","UnixTime","StatusAssertionResponse","object","status_assertion_responses","array","string","ParsedStatusAssertionJwt","header","alg","kid","optional","typ","literal","payload","cnf","jwk","credential_hash","credential_hash_alg","credential_status_detail","description","state","credential_status_type","exp","iat","iss","ParsedStatusAssertionErrorJwt","error","error_description","ParsedStatusAssertionResponse","union","StatusType"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.0.0/types.ts"],"mappings":"AAAA,OAAO,KAAKA,CAAC,MAAM,KAAK;AAExB,SAASC,GAAG,QAAQ,oBAAoB;AACxC,SAASC,QAAQ,QAAQ,oBAAoB;;AAE7C;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAAGH,CAAC,CAACI,MAAM,CAAC;EAC9CC,0BAA0B,EAAEL,CAAC,CAACM,KAAK,CAACN,CAAC,CAACO,MAAM,CAAC,CAAC;AAChD,CAAC,CAAC;;AAIF;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAGR,CAAC,CAACI,MAAM,CAAC;EAC/CK,MAAM,EAAET,CAAC,CAACI,MAAM,CAAC;IACfM,GAAG,EAAEV,CAAC,CAACO,MAAM,CAAC,CAAC;IACfI,GAAG,EAAEX,CAAC,CAACO,MAAM,CAAC,CAAC,CAACK,QAAQ,CAAC,CAAC;IAC1BC,GAAG,EAAEb,CAAC,CAACc,OAAO,CAAC,sBAAsB;EACvC,CAAC,CAAC;EACFC,OAAO,EAAEf,CAAC,CAACI,MAAM,CAAC;IAChBY,GAAG,EAAEhB,CAAC,CAACI,MAAM,CAAC;MACZa,GAAG,EAAEhB;IACP,CAAC,CAAC;IACFiB,eAAe,EAAElB,CAAC,CAACO,MAAM,CAAC,CAAC;IAC3BY,mBAAmB,EAAEnB,CAAC,CAACO,MAAM,CAAC,CAAC;IAC/Ba,wBAAwB,EAAEpB,CAAC,CACxBI,MAAM,CAAC;MACNiB,WAAW,EAAErB,CAAC,CAACO,MAAM,CAAC,CAAC;MACvBe,KAAK,EAAEtB,CAAC,CAACO,MAAM,CAAC;IAClB,CAAC,CAAC,CACDK,QAAQ,CAAC,CAAC;IACbW,sBAAsB,EAAEvB,CAAC,CAACO,MAAM,CAAC,CAAC;IAClCiB,GAAG,EAAEtB,QAAQ;IACbuB,GAAG,EAAEvB,QAAQ;IACbwB,GAAG,EAAE1B,CAAC,CAACO,MAAM,CAAC;EAChB,CAAC;AACH,CAAC,CAAC;AAMF;AACA;AACA;AACA;AACA,OAAO,MAAMoB,6BAA6B,GAAG3B,CAAC,CAACI,MAAM,CAAC;EACpDK,MAAM,EAAET,CAAC,CAACI,MAAM,CAAC;IACfM,GAAG,EAAEV,CAAC,CAACO,MAAM,CAAC,CAAC;IACfI,GAAG,EAAEX,CAAC,CAACO,MAAM,CAAC,CAAC,CAACK,QAAQ,CAAC,CAAC;IAC1BC,GAAG,EAAEb,CAAC,CAACc,OAAO,CAAC,4BAA4B;EAC7C,CAAC,CAAC;EACFC,OAAO,EAAEf,CAAC,CAACI,MAAM,CAAC;IAChBc,eAAe,EAAElB,CAAC,CAACO,MAAM,CAAC,CAAC;IAC3BY,mBAAmB,EAAEnB,CAAC,CAACO,MAAM,CAAC,CAAC;IAC/BqB,KAAK,EAAE5B,CAAC,CAACO,MAAM,CAAC,CAAC;IACjBsB,iBAAiB,EAAE7B,CAAC,CAACO,MAAM,CAAC;EAC9B,CAAC;AACH,CAAC,CAAC;;AAEF;AACA;AACA;;AAIA,OAAO,MAAMuB,6BAA6B,GAAG9B,CAAC,CAAC+B,KAAK,CAAC,CACnDvB,wBAAwB,EACxBmB,6BAA6B,CAC9B,CAAC;AAEF,WAAYK,UAAU,0BAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA"}
1
+ {"version":3,"names":["z","JWK","UnixTime","StatusAssertionResponse","object","status_assertion_responses","array","string","ParsedStatusAssertionJwt","header","alg","kid","optional","typ","literal","payload","cnf","jwk","credential_hash","credential_hash_alg","credential_status_detail","description","state","credential_status_type","exp","iat","iss","ParsedStatusAssertionErrorJwt","error","error_description","ParsedStatusAssertionResponse","union","StatusType"],"sourceRoot":"../../../../../src","sources":["credential/status/v1.0.0/types.ts"],"mappings":";;AAAA,OAAO,KAAKA,CAAC,MAAM,KAAK;AAExB,SAASC,GAAG,QAAQ,uBAAoB;AACxC,SAASC,QAAQ,QAAQ,uBAAoB;;AAE7C;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAAGH,CAAC,CAACI,MAAM,CAAC;EAC9CC,0BAA0B,EAAEL,CAAC,CAACM,KAAK,CAACN,CAAC,CAACO,MAAM,CAAC,CAAC;AAChD,CAAC,CAAC;;AAIF;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAGR,CAAC,CAACI,MAAM,CAAC;EAC/CK,MAAM,EAAET,CAAC,CAACI,MAAM,CAAC;IACfM,GAAG,EAAEV,CAAC,CAACO,MAAM,CAAC,CAAC;IACfI,GAAG,EAAEX,CAAC,CAACO,MAAM,CAAC,CAAC,CAACK,QAAQ,CAAC,CAAC;IAC1BC,GAAG,EAAEb,CAAC,CAACc,OAAO,CAAC,sBAAsB;EACvC,CAAC,CAAC;EACFC,OAAO,EAAEf,CAAC,CAACI,MAAM,CAAC;IAChBY,GAAG,EAAEhB,CAAC,CAACI,MAAM,CAAC;MACZa,GAAG,EAAEhB;IACP,CAAC,CAAC;IACFiB,eAAe,EAAElB,CAAC,CAACO,MAAM,CAAC,CAAC;IAC3BY,mBAAmB,EAAEnB,CAAC,CAACO,MAAM,CAAC,CAAC;IAC/Ba,wBAAwB,EAAEpB,CAAC,CACxBI,MAAM,CAAC;MACNiB,WAAW,EAAErB,CAAC,CAACO,MAAM,CAAC,CAAC;MACvBe,KAAK,EAAEtB,CAAC,CAACO,MAAM,CAAC;IAClB,CAAC,CAAC,CACDK,QAAQ,CAAC,CAAC;IACbW,sBAAsB,EAAE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