@pagopa/io-react-native-wallet 3.7.3 → 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 (1853) 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 +14 -8
  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 +20 -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 +15 -6
  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 +21 -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 +90 -0
  791. package/lib/typescript/commonjs/credential/issuance/api/IssuerConfig.d.ts.map +1 -0
  792. package/lib/typescript/commonjs/credential/issuance/api/index.d.ts.map +1 -0
  793. package/lib/typescript/commonjs/credential/issuance/api/mrtd-pop/index.d.ts +74 -0
  794. package/lib/typescript/commonjs/credential/issuance/api/mrtd-pop/index.d.ts.map +1 -0
  795. package/lib/typescript/commonjs/credential/issuance/api/mrtd-pop/types.d.ts.map +1 -0
  796. package/lib/typescript/commonjs/credential/issuance/api/types.d.ts.map +1 -0
  797. package/lib/typescript/commonjs/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -0
  798. package/lib/typescript/commonjs/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +1 -0
  799. package/lib/typescript/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +1 -0
  800. package/lib/typescript/commonjs/credential/issuance/common/errors.d.ts.map +1 -0
  801. package/lib/typescript/commonjs/credential/issuance/index.d.ts.map +1 -0
  802. package/lib/typescript/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +1 -0
  803. package/lib/typescript/commonjs/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +1 -0
  804. package/lib/typescript/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +1 -0
  805. package/lib/typescript/commonjs/credential/issuance/mrtd-pop/index.d.ts.map +1 -0
  806. package/lib/typescript/commonjs/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +1 -0
  807. package/lib/typescript/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +1 -0
  808. package/lib/typescript/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -0
  809. package/lib/typescript/commonjs/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +1 -0
  810. package/lib/typescript/commonjs/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -0
  811. package/lib/typescript/commonjs/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +1 -0
  812. package/lib/typescript/commonjs/credential/issuance/v1.0.0/index.d.ts.map +1 -0
  813. package/lib/typescript/commonjs/credential/issuance/v1.0.0/mappers.d.ts +307 -0
  814. package/lib/typescript/commonjs/credential/issuance/v1.0.0/mappers.d.ts.map +1 -0
  815. package/lib/typescript/commonjs/credential/issuance/v1.0.0/types.d.ts.map +1 -0
  816. package/lib/typescript/commonjs/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts.map +1 -0
  817. package/lib/typescript/commonjs/credential/issuance/v1.4.6/02-start-user-authorization.d.ts.map +1 -0
  818. package/lib/typescript/commonjs/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts.map +1 -0
  819. package/lib/typescript/commonjs/credential/issuance/v1.4.6/04-authorize-access.d.ts.map +1 -0
  820. package/lib/typescript/commonjs/credential/issuance/v1.4.6/05-obtain-credential.d.ts +26 -0
  821. package/lib/typescript/commonjs/credential/issuance/v1.4.6/05-obtain-credential.d.ts.map +1 -0
  822. package/lib/typescript/commonjs/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts.map +1 -0
  823. package/lib/typescript/commonjs/credential/issuance/v1.4.6/index.d.ts.map +1 -0
  824. package/lib/typescript/commonjs/credential/issuance/v1.4.6/mappers.d.ts +1824 -0
  825. package/lib/typescript/commonjs/credential/issuance/v1.4.6/mappers.d.ts.map +1 -0
  826. package/lib/typescript/commonjs/credential/issuance/v1.4.6/types.d.ts.map +1 -0
  827. package/lib/typescript/commonjs/credential/offer/api/01-resolve-credential-offer.d.ts +22 -0
  828. package/lib/typescript/commonjs/credential/offer/api/01-resolve-credential-offer.d.ts.map +1 -0
  829. package/lib/typescript/commonjs/credential/offer/api/02-extract-grant-details.d.ts.map +1 -0
  830. package/lib/typescript/commonjs/credential/offer/api/03-validate-credential-offer.d.ts.map +1 -0
  831. package/lib/typescript/commonjs/credential/offer/api/index.d.ts.map +1 -0
  832. package/lib/typescript/commonjs/credential/offer/api/types.d.ts.map +1 -0
  833. package/lib/typescript/commonjs/credential/offer/common/errors.d.ts.map +1 -0
  834. package/lib/typescript/commonjs/credential/offer/index.d.ts.map +1 -0
  835. package/lib/typescript/commonjs/credential/offer/v1.0.0/index.d.ts.map +1 -0
  836. package/lib/typescript/commonjs/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts.map +1 -0
  837. package/lib/typescript/commonjs/credential/offer/v1.4.6/02-extract-grant-details.d.ts.map +1 -0
  838. package/lib/typescript/commonjs/credential/offer/v1.4.6/03-validate-credential-offer.d.ts.map +1 -0
  839. package/lib/typescript/commonjs/credential/offer/v1.4.6/index.d.ts.map +1 -0
  840. package/lib/typescript/commonjs/credential/presentation/api/01-start-flow.d.ts.map +1 -0
  841. package/lib/typescript/commonjs/credential/presentation/api/02-evaluate-rp-trust.d.ts +18 -0
  842. package/lib/typescript/commonjs/credential/presentation/api/02-evaluate-rp-trust.d.ts.map +1 -0
  843. package/lib/typescript/commonjs/credential/presentation/api/03-get-request-object.d.ts +19 -0
  844. package/lib/typescript/commonjs/credential/presentation/api/03-get-request-object.d.ts.map +1 -0
  845. package/lib/typescript/commonjs/credential/presentation/api/04-verify-certificate-chain.d.ts.map +1 -0
  846. package/lib/typescript/commonjs/credential/presentation/api/05-verify-request-object.d.ts.map +1 -0
  847. package/lib/typescript/commonjs/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +1 -0
  848. package/lib/typescript/commonjs/credential/presentation/api/07-send-authorization-response.d.ts +54 -0
  849. package/lib/typescript/commonjs/credential/presentation/api/07-send-authorization-response.d.ts.map +1 -0
  850. package/lib/typescript/commonjs/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -0
  851. package/lib/typescript/commonjs/credential/presentation/api/index.d.ts.map +1 -0
  852. package/lib/typescript/commonjs/credential/presentation/api/types.d.ts.map +1 -0
  853. package/lib/typescript/commonjs/credential/presentation/common/errors.d.ts.map +1 -0
  854. package/lib/typescript/commonjs/credential/presentation/common/utils/dcql.d.ts.map +1 -0
  855. package/lib/typescript/commonjs/credential/presentation/common/utils/http.d.ts.map +1 -0
  856. package/lib/typescript/commonjs/credential/presentation/common/utils/mdoc.d.ts.map +1 -0
  857. package/lib/typescript/commonjs/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -0
  858. package/lib/typescript/commonjs/credential/presentation/index.d.ts.map +1 -0
  859. package/lib/typescript/commonjs/credential/presentation/v1.0.0/01-start-flow.d.ts.map +1 -0
  860. package/lib/typescript/commonjs/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +1 -0
  861. package/lib/typescript/commonjs/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +1 -0
  862. package/lib/typescript/commonjs/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +1 -0
  863. package/lib/typescript/commonjs/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +1 -0
  864. package/lib/typescript/commonjs/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +1 -0
  865. package/lib/typescript/commonjs/credential/presentation/v1.0.0/index.d.ts.map +1 -0
  866. package/lib/typescript/commonjs/credential/presentation/v1.0.0/mappers.d.ts.map +1 -0
  867. package/lib/typescript/commonjs/credential/presentation/v1.0.0/types.d.ts.map +1 -0
  868. package/lib/typescript/commonjs/credential/presentation/v1.0.0/utils.d.ts.map +1 -0
  869. package/lib/typescript/commonjs/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -0
  870. package/lib/typescript/commonjs/credential/presentation/v1.4.6/01-start-flow.d.ts.map +1 -0
  871. package/lib/typescript/commonjs/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts.map +1 -0
  872. package/lib/typescript/commonjs/credential/presentation/v1.4.6/03-get-request-object.d.ts.map +1 -0
  873. package/lib/typescript/commonjs/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts.map +1 -0
  874. package/lib/typescript/commonjs/credential/presentation/v1.4.6/05-verify-request-object.d.ts.map +1 -0
  875. package/lib/typescript/commonjs/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts.map +1 -0
  876. package/lib/typescript/commonjs/credential/presentation/v1.4.6/07-send-authorization-response.d.ts.map +1 -0
  877. package/lib/typescript/commonjs/credential/presentation/v1.4.6/index.d.ts.map +1 -0
  878. package/lib/typescript/commonjs/credential/presentation/v1.4.6/mappers.d.ts.map +1 -0
  879. package/lib/typescript/commonjs/credential/presentation/v1.4.6/sdkErrorMapper.d.ts.map +1 -0
  880. package/lib/typescript/commonjs/credential/presentation/v1.4.6/types.d.ts.map +1 -0
  881. package/lib/typescript/commonjs/credential/status/api/index.d.ts.map +1 -0
  882. package/lib/typescript/commonjs/credential/status/api/status-assertion.d.ts +49 -0
  883. package/lib/typescript/commonjs/credential/status/api/status-assertion.d.ts.map +1 -0
  884. package/lib/typescript/commonjs/credential/status/api/status-list.d.ts +75 -0
  885. package/lib/typescript/commonjs/credential/status/api/status-list.d.ts.map +1 -0
  886. package/lib/typescript/commonjs/credential/status/api/types.d.ts.map +1 -0
  887. package/lib/typescript/commonjs/credential/status/index.d.ts.map +1 -0
  888. package/lib/typescript/commonjs/credential/status/v1.0.0/01-status-assertion.d.ts.map +1 -0
  889. package/lib/typescript/commonjs/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +1 -0
  890. package/lib/typescript/commonjs/credential/status/v1.0.0/index.d.ts.map +1 -0
  891. package/lib/typescript/commonjs/credential/status/v1.0.0/mappers.d.ts.map +1 -0
  892. package/lib/typescript/commonjs/credential/status/v1.0.0/types.d.ts.map +1 -0
  893. package/lib/typescript/commonjs/credential/status/v1.4.6/01-status-list.d.ts.map +1 -0
  894. package/lib/typescript/commonjs/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts.map +1 -0
  895. package/lib/typescript/commonjs/credential/status/v1.4.6/03-get-status.d.ts.map +1 -0
  896. package/lib/typescript/commonjs/credential/status/v1.4.6/index.d.ts.map +1 -0
  897. package/lib/typescript/commonjs/credential/trustmark/api/index.d.ts.map +1 -0
  898. package/lib/typescript/commonjs/credential/trustmark/index.d.ts.map +1 -0
  899. package/lib/typescript/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +1 -0
  900. package/lib/typescript/commonjs/credential/trustmark/v1.0.0/index.d.ts.map +1 -0
  901. package/lib/typescript/commonjs/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts.map +1 -0
  902. package/lib/typescript/commonjs/credential/trustmark/v1.4.6/index.d.ts.map +1 -0
  903. package/lib/typescript/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -0
  904. package/lib/typescript/commonjs/credentials-catalogue/api/index.d.ts +51 -0
  905. package/lib/typescript/commonjs/credentials-catalogue/api/index.d.ts.map +1 -0
  906. package/lib/typescript/commonjs/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +1 -0
  907. package/lib/typescript/commonjs/credentials-catalogue/index.d.ts.map +1 -0
  908. package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +1 -0
  909. package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/index.d.ts.map +1 -0
  910. package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -0
  911. package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/types.d.ts.map +1 -0
  912. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts.map +1 -0
  913. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/fetch-translations.d.ts.map +1 -0
  914. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/index.d.ts.map +1 -0
  915. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/mappers.d.ts.map +1 -0
  916. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/types.d.ts.map +1 -0
  917. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/utils.d.ts +37 -0
  918. package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/utils.d.ts.map +1 -0
  919. package/lib/typescript/commonjs/index.d.ts.map +1 -0
  920. package/lib/typescript/commonjs/key-attestation/api/index.d.ts +39 -0
  921. package/lib/typescript/commonjs/key-attestation/api/index.d.ts.map +1 -0
  922. package/lib/typescript/commonjs/key-attestation/api/types.d.ts.map +1 -0
  923. package/lib/typescript/commonjs/key-attestation/index.d.ts.map +1 -0
  924. package/lib/typescript/commonjs/key-attestation/v1.0.0/index.d.ts.map +1 -0
  925. package/lib/typescript/commonjs/key-attestation/v1.4.6/index.d.ts.map +1 -0
  926. package/lib/typescript/commonjs/key-attestation/v1.4.6/issuing.d.ts.map +1 -0
  927. package/lib/typescript/commonjs/key-attestation/v1.4.6/mappers.d.ts.map +1 -0
  928. package/lib/typescript/commonjs/key-attestation/v1.4.6/types.d.ts.map +1 -0
  929. package/lib/typescript/commonjs/key-attestation/v1.4.6/utils.d.ts.map +1 -0
  930. package/lib/typescript/commonjs/mdoc/const.d.ts.map +1 -0
  931. package/lib/typescript/commonjs/mdoc/converter.d.ts.map +1 -0
  932. package/lib/typescript/commonjs/mdoc/index.d.ts.map +1 -0
  933. package/lib/typescript/commonjs/mdoc/utils.d.ts.map +1 -0
  934. package/lib/typescript/commonjs/package.json +1 -0
  935. package/lib/typescript/commonjs/sd-jwt/index.d.ts.map +1 -0
  936. package/lib/typescript/commonjs/sd-jwt/types.d.ts.map +1 -0
  937. package/lib/typescript/commonjs/sd-jwt/utils.d.ts +19 -0
  938. package/lib/typescript/commonjs/sd-jwt/utils.d.ts.map +1 -0
  939. package/lib/typescript/commonjs/trust/api/TrustAnchorConfig.d.ts.map +1 -0
  940. package/lib/typescript/commonjs/trust/api/index.d.ts +43 -0
  941. package/lib/typescript/commonjs/trust/api/index.d.ts.map +1 -0
  942. package/lib/typescript/commonjs/trust/common/build-chain.d.ts +21 -0
  943. package/lib/typescript/commonjs/trust/common/build-chain.d.ts.map +1 -0
  944. package/lib/typescript/commonjs/trust/common/errors.d.ts.map +1 -0
  945. package/lib/typescript/commonjs/trust/common/types.d.ts.map +1 -0
  946. package/lib/typescript/commonjs/trust/common/utils.d.ts +53 -0
  947. package/lib/typescript/commonjs/trust/common/utils.d.ts.map +1 -0
  948. package/lib/typescript/commonjs/trust/common/verify-chain.d.ts.map +1 -0
  949. package/lib/typescript/commonjs/trust/index.d.ts.map +1 -0
  950. package/lib/typescript/commonjs/trust/v1.0.0/build-chain.d.ts +2 -0
  951. package/lib/typescript/commonjs/trust/v1.0.0/build-chain.d.ts.map +1 -0
  952. package/lib/typescript/commonjs/trust/v1.0.0/entities.d.ts.map +1 -0
  953. package/lib/typescript/commonjs/trust/v1.0.0/index.d.ts.map +1 -0
  954. package/lib/typescript/commonjs/trust/v1.0.0/mappers.d.ts.map +1 -0
  955. package/lib/typescript/commonjs/trust/v1.0.0/types.d.ts.map +1 -0
  956. package/lib/typescript/commonjs/trust/v1.0.0/verify-chain.d.ts +5 -0
  957. package/lib/typescript/commonjs/trust/v1.0.0/verify-chain.d.ts.map +1 -0
  958. package/lib/typescript/commonjs/trust/v1.4.6/entities.d.ts.map +1 -0
  959. package/lib/typescript/commonjs/trust/v1.4.6/types.d.ts +958 -0
  960. package/lib/typescript/commonjs/trust/v1.4.6/types.d.ts.map +1 -0
  961. package/lib/typescript/commonjs/utils/auth.d.ts.map +1 -0
  962. package/lib/typescript/commonjs/utils/callbacks.d.ts.map +1 -0
  963. package/lib/typescript/commonjs/utils/config.d.ts.map +1 -0
  964. package/lib/typescript/commonjs/utils/credentials.d.ts.map +1 -0
  965. package/lib/typescript/commonjs/utils/crypto.d.ts.map +1 -0
  966. package/lib/typescript/commonjs/utils/decoder.d.ts.map +1 -0
  967. package/lib/typescript/commonjs/utils/dpop.d.ts.map +1 -0
  968. package/lib/typescript/commonjs/utils/error-codes.d.ts.map +1 -0
  969. package/lib/typescript/commonjs/utils/errors.d.ts.map +1 -0
  970. package/lib/typescript/commonjs/utils/integrity.d.ts.map +1 -0
  971. package/lib/typescript/commonjs/utils/jwk.d.ts.map +1 -0
  972. package/lib/typescript/commonjs/utils/logging.d.ts.map +1 -0
  973. package/lib/typescript/commonjs/utils/mappers.d.ts.map +1 -0
  974. package/lib/typescript/commonjs/utils/misc.d.ts.map +1 -0
  975. package/lib/typescript/commonjs/utils/object.d.ts.map +1 -0
  976. package/lib/typescript/commonjs/utils/par.d.ts +50 -0
  977. package/lib/typescript/commonjs/utils/par.d.ts.map +1 -0
  978. package/lib/typescript/commonjs/utils/parser.d.ts.map +1 -0
  979. package/lib/typescript/commonjs/utils/pop.d.ts.map +1 -0
  980. package/lib/typescript/commonjs/utils/string.d.ts.map +1 -0
  981. package/lib/typescript/commonjs/utils/x509.d.ts.map +1 -0
  982. package/lib/typescript/commonjs/utils/zod.d.ts.map +1 -0
  983. package/lib/typescript/commonjs/wallet-instance/api/index.d.ts +45 -0
  984. package/lib/typescript/commonjs/wallet-instance/api/index.d.ts.map +1 -0
  985. package/lib/typescript/commonjs/wallet-instance/common/wallet-instance.d.ts.map +1 -0
  986. package/lib/typescript/commonjs/wallet-instance/index.d.ts.map +1 -0
  987. package/lib/typescript/commonjs/wallet-instance/v1.0.0/index.d.ts.map +1 -0
  988. package/lib/typescript/commonjs/wallet-instance/v1.4.6/index.d.ts.map +1 -0
  989. package/lib/typescript/commonjs/wallet-instance-attestation/api/index.d.ts +47 -0
  990. package/lib/typescript/commonjs/wallet-instance-attestation/api/index.d.ts.map +1 -0
  991. package/lib/typescript/commonjs/wallet-instance-attestation/api/types.d.ts.map +1 -0
  992. package/lib/typescript/commonjs/wallet-instance-attestation/common/types.d.ts.map +1 -0
  993. package/lib/typescript/commonjs/wallet-instance-attestation/index.d.ts.map +1 -0
  994. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/index.d.ts.map +1 -0
  995. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -0
  996. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +1 -0
  997. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -0
  998. package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/utils.d.ts.map +1 -0
  999. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/index.d.ts.map +1 -0
  1000. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +1 -0
  1001. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/mappers.d.ts.map +1 -0
  1002. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/types.d.ts.map +1 -0
  1003. package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/utils.d.ts.map +1 -0
  1004. package/lib/typescript/module/IoWallet.d.ts +28 -0
  1005. package/lib/typescript/module/IoWallet.d.ts.map +1 -0
  1006. package/lib/typescript/module/api/index.d.ts +31 -0
  1007. package/lib/typescript/module/api/index.d.ts.map +1 -0
  1008. package/lib/typescript/module/client/generated/wallet-provider.d.ts +401 -0
  1009. package/lib/typescript/module/client/generated/wallet-provider.d.ts.map +1 -0
  1010. package/lib/typescript/module/client/index.d.ts +13 -0
  1011. package/lib/typescript/module/client/index.d.ts.map +1 -0
  1012. package/lib/typescript/module/credential/index.d.ts +3 -0
  1013. package/lib/typescript/module/credential/index.d.ts.map +1 -0
  1014. package/lib/typescript/module/credential/issuance/api/01-evaluate-issuer-trust.d.ts +22 -0
  1015. package/lib/typescript/module/credential/issuance/api/01-evaluate-issuer-trust.d.ts.map +1 -0
  1016. package/lib/typescript/module/credential/issuance/api/02-start-user-authorization.d.ts +53 -0
  1017. package/lib/typescript/module/credential/issuance/api/02-start-user-authorization.d.ts.map +1 -0
  1018. package/lib/typescript/module/credential/issuance/api/03-complete-user-authorization.d.ts +97 -0
  1019. package/lib/typescript/module/credential/issuance/api/03-complete-user-authorization.d.ts.map +1 -0
  1020. package/lib/typescript/module/credential/issuance/api/04-authorize-access.d.ts +33 -0
  1021. package/lib/typescript/module/credential/issuance/api/04-authorize-access.d.ts.map +1 -0
  1022. package/lib/typescript/module/credential/issuance/api/05-obtain-credential.d.ts +58 -0
  1023. package/lib/typescript/module/credential/issuance/api/05-obtain-credential.d.ts.map +1 -0
  1024. package/lib/typescript/module/credential/issuance/api/06-verify-and-parse-credential.d.ts +40 -0
  1025. package/lib/typescript/module/credential/issuance/api/06-verify-and-parse-credential.d.ts.map +1 -0
  1026. package/lib/typescript/module/credential/issuance/api/IssuerConfig.d.ts +90 -0
  1027. package/lib/typescript/module/credential/issuance/api/IssuerConfig.d.ts.map +1 -0
  1028. package/lib/typescript/module/credential/issuance/api/index.d.ts +15 -0
  1029. package/lib/typescript/module/credential/issuance/api/index.d.ts.map +1 -0
  1030. package/lib/typescript/module/credential/issuance/api/mrtd-pop/index.d.ts +74 -0
  1031. package/lib/typescript/module/credential/issuance/api/mrtd-pop/index.d.ts.map +1 -0
  1032. package/lib/typescript/module/credential/issuance/api/mrtd-pop/types.d.ts +34 -0
  1033. package/lib/typescript/module/credential/issuance/api/mrtd-pop/types.d.ts.map +1 -0
  1034. package/lib/typescript/module/credential/issuance/api/types.d.ts +25 -0
  1035. package/lib/typescript/module/credential/issuance/api/types.d.ts.map +1 -0
  1036. package/lib/typescript/module/credential/issuance/common/02-start-user-authorization.d.ts +21 -0
  1037. package/lib/typescript/module/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -0
  1038. package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts +3 -0
  1039. package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +1 -0
  1040. package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts +3 -0
  1041. package/lib/typescript/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +1 -0
  1042. package/lib/typescript/module/credential/issuance/common/errors.d.ts +18 -0
  1043. package/lib/typescript/module/credential/issuance/common/errors.d.ts.map +1 -0
  1044. package/lib/typescript/module/credential/issuance/index.d.ts +6 -0
  1045. package/lib/typescript/module/credential/issuance/index.d.ts.map +1 -0
  1046. package/lib/typescript/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts +3 -0
  1047. package/lib/typescript/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +1 -0
  1048. package/lib/typescript/module/credential/issuance/mrtd-pop/02-init-challenge.d.ts +14 -0
  1049. package/lib/typescript/module/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +1 -0
  1050. package/lib/typescript/module/credential/issuance/mrtd-pop/03-validate-challenge.d.ts +15 -0
  1051. package/lib/typescript/module/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +1 -0
  1052. package/lib/typescript/module/credential/issuance/mrtd-pop/index.d.ts +4 -0
  1053. package/lib/typescript/module/credential/issuance/mrtd-pop/index.d.ts.map +1 -0
  1054. package/lib/typescript/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts +3 -0
  1055. package/lib/typescript/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +1 -0
  1056. package/lib/typescript/module/credential/issuance/v1.0.0/02-start-user-authorization.d.ts +3 -0
  1057. package/lib/typescript/module/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +1 -0
  1058. package/lib/typescript/module/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts +17 -0
  1059. package/lib/typescript/module/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -0
  1060. package/lib/typescript/module/credential/issuance/v1.0.0/04-authorize-access.d.ts +3 -0
  1061. package/lib/typescript/module/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +1 -0
  1062. package/lib/typescript/module/credential/issuance/v1.0.0/05-obtain-credential.d.ts +6 -0
  1063. package/lib/typescript/module/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -0
  1064. package/lib/typescript/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts +3 -0
  1065. package/lib/typescript/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +1 -0
  1066. package/lib/typescript/module/credential/issuance/v1.0.0/index.d.ts +3 -0
  1067. package/lib/typescript/module/credential/issuance/v1.0.0/index.d.ts.map +1 -0
  1068. package/lib/typescript/module/credential/issuance/v1.0.0/mappers.d.ts +307 -0
  1069. package/lib/typescript/module/credential/issuance/v1.0.0/mappers.d.ts.map +1 -0
  1070. package/lib/typescript/module/credential/issuance/v1.0.0/types.d.ts +21 -0
  1071. package/lib/typescript/module/credential/issuance/v1.0.0/types.d.ts.map +1 -0
  1072. package/lib/typescript/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts +3 -0
  1073. package/lib/typescript/module/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts.map +1 -0
  1074. package/lib/typescript/module/credential/issuance/v1.4.6/02-start-user-authorization.d.ts +3 -0
  1075. package/lib/typescript/module/credential/issuance/v1.4.6/02-start-user-authorization.d.ts.map +1 -0
  1076. package/lib/typescript/module/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts +17 -0
  1077. package/lib/typescript/module/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts.map +1 -0
  1078. package/lib/typescript/module/credential/issuance/v1.4.6/04-authorize-access.d.ts +3 -0
  1079. package/lib/typescript/module/credential/issuance/v1.4.6/04-authorize-access.d.ts.map +1 -0
  1080. package/lib/typescript/module/credential/issuance/v1.4.6/05-obtain-credential.d.ts +26 -0
  1081. package/lib/typescript/module/credential/issuance/v1.4.6/05-obtain-credential.d.ts.map +1 -0
  1082. package/lib/typescript/module/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts +3 -0
  1083. package/lib/typescript/module/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts.map +1 -0
  1084. package/lib/typescript/module/credential/issuance/v1.4.6/index.d.ts +3 -0
  1085. package/lib/typescript/module/credential/issuance/v1.4.6/index.d.ts.map +1 -0
  1086. package/lib/typescript/module/credential/issuance/v1.4.6/mappers.d.ts +1824 -0
  1087. package/lib/typescript/module/credential/issuance/v1.4.6/mappers.d.ts.map +1 -0
  1088. package/lib/typescript/module/credential/issuance/v1.4.6/types.d.ts +6 -0
  1089. package/lib/typescript/module/credential/issuance/v1.4.6/types.d.ts.map +1 -0
  1090. package/lib/typescript/module/credential/offer/api/01-resolve-credential-offer.d.ts +22 -0
  1091. package/lib/typescript/module/credential/offer/api/01-resolve-credential-offer.d.ts.map +1 -0
  1092. package/lib/typescript/module/credential/offer/api/02-extract-grant-details.d.ts +13 -0
  1093. package/lib/typescript/module/credential/offer/api/02-extract-grant-details.d.ts.map +1 -0
  1094. package/lib/typescript/module/credential/offer/api/03-validate-credential-offer.d.ts +19 -0
  1095. package/lib/typescript/module/credential/offer/api/03-validate-credential-offer.d.ts.map +1 -0
  1096. package/lib/typescript/module/credential/offer/api/index.d.ts +7 -0
  1097. package/lib/typescript/module/credential/offer/api/index.d.ts.map +1 -0
  1098. package/lib/typescript/module/credential/offer/api/types.d.ts +5 -0
  1099. package/lib/typescript/module/credential/offer/api/types.d.ts.map +1 -0
  1100. package/lib/typescript/module/credential/offer/common/errors.d.ts +8 -0
  1101. package/lib/typescript/module/credential/offer/common/errors.d.ts.map +1 -0
  1102. package/lib/typescript/module/credential/offer/index.d.ts +6 -0
  1103. package/lib/typescript/module/credential/offer/index.d.ts.map +1 -0
  1104. package/lib/typescript/module/credential/offer/v1.0.0/index.d.ts +3 -0
  1105. package/lib/typescript/module/credential/offer/v1.0.0/index.d.ts.map +1 -0
  1106. package/lib/typescript/module/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts +19 -0
  1107. package/lib/typescript/module/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts.map +1 -0
  1108. package/lib/typescript/module/credential/offer/v1.4.6/02-extract-grant-details.d.ts +16 -0
  1109. package/lib/typescript/module/credential/offer/v1.4.6/02-extract-grant-details.d.ts.map +1 -0
  1110. package/lib/typescript/module/credential/offer/v1.4.6/03-validate-credential-offer.d.ts +15 -0
  1111. package/lib/typescript/module/credential/offer/v1.4.6/03-validate-credential-offer.d.ts.map +1 -0
  1112. package/lib/typescript/module/credential/offer/v1.4.6/index.d.ts +3 -0
  1113. package/lib/typescript/module/credential/offer/v1.4.6/index.d.ts.map +1 -0
  1114. package/lib/typescript/module/credential/presentation/api/01-start-flow.d.ts +18 -0
  1115. package/lib/typescript/module/credential/presentation/api/01-start-flow.d.ts.map +1 -0
  1116. package/lib/typescript/module/credential/presentation/api/02-evaluate-rp-trust.d.ts +18 -0
  1117. package/lib/typescript/module/credential/presentation/api/02-evaluate-rp-trust.d.ts.map +1 -0
  1118. package/lib/typescript/module/credential/presentation/api/03-get-request-object.d.ts +19 -0
  1119. package/lib/typescript/module/credential/presentation/api/03-get-request-object.d.ts.map +1 -0
  1120. package/lib/typescript/module/credential/presentation/api/04-verify-certificate-chain.d.ts +24 -0
  1121. package/lib/typescript/module/credential/presentation/api/04-verify-certificate-chain.d.ts.map +1 -0
  1122. package/lib/typescript/module/credential/presentation/api/05-verify-request-object.d.ts +23 -0
  1123. package/lib/typescript/module/credential/presentation/api/05-verify-request-object.d.ts.map +1 -0
  1124. package/lib/typescript/module/credential/presentation/api/06-evaluate-dcql-query.d.ts +40 -0
  1125. package/lib/typescript/module/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +1 -0
  1126. package/lib/typescript/module/credential/presentation/api/07-send-authorization-response.d.ts +54 -0
  1127. package/lib/typescript/module/credential/presentation/api/07-send-authorization-response.d.ts.map +1 -0
  1128. package/lib/typescript/module/credential/presentation/api/RelyingPartyConfig.d.ts +40 -0
  1129. package/lib/typescript/module/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -0
  1130. package/lib/typescript/module/credential/presentation/api/index.d.ts +13 -0
  1131. package/lib/typescript/module/credential/presentation/api/index.d.ts.map +1 -0
  1132. package/lib/typescript/module/credential/presentation/api/types.d.ts +147 -0
  1133. package/lib/typescript/module/credential/presentation/api/types.d.ts.map +1 -0
  1134. package/lib/typescript/module/credential/presentation/common/errors.d.ts +80 -0
  1135. package/lib/typescript/module/credential/presentation/common/errors.d.ts.map +1 -0
  1136. package/lib/typescript/module/credential/presentation/common/utils/dcql.d.ts +78 -0
  1137. package/lib/typescript/module/credential/presentation/common/utils/dcql.d.ts.map +1 -0
  1138. package/lib/typescript/module/credential/presentation/common/utils/http.d.ts +11 -0
  1139. package/lib/typescript/module/credential/presentation/common/utils/http.d.ts.map +1 -0
  1140. package/lib/typescript/module/credential/presentation/common/utils/mdoc.d.ts +28 -0
  1141. package/lib/typescript/module/credential/presentation/common/utils/mdoc.d.ts.map +1 -0
  1142. package/lib/typescript/module/credential/presentation/common/utils/sd-jwt.d.ts +14 -0
  1143. package/lib/typescript/module/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -0
  1144. package/lib/typescript/module/credential/presentation/index.d.ts +6 -0
  1145. package/lib/typescript/module/credential/presentation/index.d.ts.map +1 -0
  1146. package/lib/typescript/module/credential/presentation/v1.0.0/01-start-flow.d.ts +3 -0
  1147. package/lib/typescript/module/credential/presentation/v1.0.0/01-start-flow.d.ts.map +1 -0
  1148. package/lib/typescript/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts +3 -0
  1149. package/lib/typescript/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +1 -0
  1150. package/lib/typescript/module/credential/presentation/v1.0.0/03-get-request-object.d.ts +3 -0
  1151. package/lib/typescript/module/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +1 -0
  1152. package/lib/typescript/module/credential/presentation/v1.0.0/05-verify-request-object.d.ts +3 -0
  1153. package/lib/typescript/module/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +1 -0
  1154. package/lib/typescript/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts +3 -0
  1155. package/lib/typescript/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +1 -0
  1156. package/lib/typescript/module/credential/presentation/v1.0.0/07-send-authorization-response.d.ts +26 -0
  1157. package/lib/typescript/module/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +1 -0
  1158. package/lib/typescript/module/credential/presentation/v1.0.0/index.d.ts +3 -0
  1159. package/lib/typescript/module/credential/presentation/v1.0.0/index.d.ts.map +1 -0
  1160. package/lib/typescript/module/credential/presentation/v1.0.0/mappers.d.ts +149 -0
  1161. package/lib/typescript/module/credential/presentation/v1.0.0/mappers.d.ts.map +1 -0
  1162. package/lib/typescript/module/credential/presentation/v1.0.0/types.d.ts +49 -0
  1163. package/lib/typescript/module/credential/presentation/v1.0.0/types.d.ts.map +1 -0
  1164. package/lib/typescript/module/credential/presentation/v1.0.0/utils.d.ts +11 -0
  1165. package/lib/typescript/module/credential/presentation/v1.0.0/utils.d.ts.map +1 -0
  1166. package/lib/typescript/module/credential/presentation/v1.0.0/utils.jwks.d.ts +11 -0
  1167. package/lib/typescript/module/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -0
  1168. package/lib/typescript/module/credential/presentation/v1.4.6/01-start-flow.d.ts +3 -0
  1169. package/lib/typescript/module/credential/presentation/v1.4.6/01-start-flow.d.ts.map +1 -0
  1170. package/lib/typescript/module/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts +3 -0
  1171. package/lib/typescript/module/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts.map +1 -0
  1172. package/lib/typescript/module/credential/presentation/v1.4.6/03-get-request-object.d.ts +3 -0
  1173. package/lib/typescript/module/credential/presentation/v1.4.6/03-get-request-object.d.ts.map +1 -0
  1174. package/lib/typescript/module/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts +3 -0
  1175. package/lib/typescript/module/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts.map +1 -0
  1176. package/lib/typescript/module/credential/presentation/v1.4.6/05-verify-request-object.d.ts +3 -0
  1177. package/lib/typescript/module/credential/presentation/v1.4.6/05-verify-request-object.d.ts.map +1 -0
  1178. package/lib/typescript/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts +3 -0
  1179. package/lib/typescript/module/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts.map +1 -0
  1180. package/lib/typescript/module/credential/presentation/v1.4.6/07-send-authorization-response.d.ts +18 -0
  1181. package/lib/typescript/module/credential/presentation/v1.4.6/07-send-authorization-response.d.ts.map +1 -0
  1182. package/lib/typescript/module/credential/presentation/v1.4.6/index.d.ts +3 -0
  1183. package/lib/typescript/module/credential/presentation/v1.4.6/index.d.ts.map +1 -0
  1184. package/lib/typescript/module/credential/presentation/v1.4.6/mappers.d.ts +239 -0
  1185. package/lib/typescript/module/credential/presentation/v1.4.6/mappers.d.ts.map +1 -0
  1186. package/lib/typescript/module/credential/presentation/v1.4.6/sdkErrorMapper.d.ts +13 -0
  1187. package/lib/typescript/module/credential/presentation/v1.4.6/sdkErrorMapper.d.ts.map +1 -0
  1188. package/lib/typescript/module/credential/presentation/v1.4.6/types.d.ts +106 -0
  1189. package/lib/typescript/module/credential/presentation/v1.4.6/types.d.ts.map +1 -0
  1190. package/lib/typescript/module/credential/status/api/index.d.ts +23 -0
  1191. package/lib/typescript/module/credential/status/api/index.d.ts.map +1 -0
  1192. package/lib/typescript/module/credential/status/api/status-assertion.d.ts +49 -0
  1193. package/lib/typescript/module/credential/status/api/status-assertion.d.ts.map +1 -0
  1194. package/lib/typescript/module/credential/status/api/status-list.d.ts +75 -0
  1195. package/lib/typescript/module/credential/status/api/status-list.d.ts.map +1 -0
  1196. package/lib/typescript/module/credential/status/api/types.d.ts +36 -0
  1197. package/lib/typescript/module/credential/status/api/types.d.ts.map +1 -0
  1198. package/lib/typescript/module/credential/status/index.d.ts +4 -0
  1199. package/lib/typescript/module/credential/status/index.d.ts.map +1 -0
  1200. package/lib/typescript/module/credential/status/v1.0.0/01-status-assertion.d.ts +3 -0
  1201. package/lib/typescript/module/credential/status/v1.0.0/01-status-assertion.d.ts.map +1 -0
  1202. package/lib/typescript/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts +3 -0
  1203. package/lib/typescript/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +1 -0
  1204. package/lib/typescript/module/credential/status/v1.0.0/index.d.ts +3 -0
  1205. package/lib/typescript/module/credential/status/v1.0.0/index.d.ts.map +1 -0
  1206. package/lib/typescript/module/credential/status/v1.0.0/mappers.d.ts +47 -0
  1207. package/lib/typescript/module/credential/status/v1.0.0/mappers.d.ts.map +1 -0
  1208. package/lib/typescript/module/credential/status/v1.0.0/types.d.ts +156 -0
  1209. package/lib/typescript/module/credential/status/v1.0.0/types.d.ts.map +1 -0
  1210. package/lib/typescript/module/credential/status/v1.4.6/01-status-list.d.ts +5 -0
  1211. package/lib/typescript/module/credential/status/v1.4.6/01-status-list.d.ts.map +1 -0
  1212. package/lib/typescript/module/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts +3 -0
  1213. package/lib/typescript/module/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts.map +1 -0
  1214. package/lib/typescript/module/credential/status/v1.4.6/03-get-status.d.ts +3 -0
  1215. package/lib/typescript/module/credential/status/v1.4.6/03-get-status.d.ts.map +1 -0
  1216. package/lib/typescript/module/credential/status/v1.4.6/index.d.ts +3 -0
  1217. package/lib/typescript/module/credential/status/v1.4.6/index.d.ts.map +1 -0
  1218. package/lib/typescript/module/credential/trustmark/api/index.d.ts +49 -0
  1219. package/lib/typescript/module/credential/trustmark/api/index.d.ts.map +1 -0
  1220. package/lib/typescript/module/credential/trustmark/index.d.ts +4 -0
  1221. package/lib/typescript/module/credential/trustmark/index.d.ts.map +1 -0
  1222. package/lib/typescript/module/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts +3 -0
  1223. package/lib/typescript/module/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +1 -0
  1224. package/lib/typescript/module/credential/trustmark/v1.0.0/index.d.ts +3 -0
  1225. package/lib/typescript/module/credential/trustmark/v1.0.0/index.d.ts.map +1 -0
  1226. package/lib/typescript/module/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts +3 -0
  1227. package/lib/typescript/module/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts.map +1 -0
  1228. package/lib/typescript/module/credential/trustmark/v1.4.6/index.d.ts +3 -0
  1229. package/lib/typescript/module/credential/trustmark/v1.4.6/index.d.ts.map +1 -0
  1230. package/lib/typescript/module/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +319 -0
  1231. package/lib/typescript/module/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -0
  1232. package/lib/typescript/module/credentials-catalogue/api/index.d.ts +51 -0
  1233. package/lib/typescript/module/credentials-catalogue/api/index.d.ts.map +1 -0
  1234. package/lib/typescript/module/credentials-catalogue/common/get-status-l10n-ids.d.ts +9 -0
  1235. package/lib/typescript/module/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +1 -0
  1236. package/lib/typescript/module/credentials-catalogue/index.d.ts +4 -0
  1237. package/lib/typescript/module/credentials-catalogue/index.d.ts.map +1 -0
  1238. package/lib/typescript/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts +3 -0
  1239. package/lib/typescript/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +1 -0
  1240. package/lib/typescript/module/credentials-catalogue/v1.0.0/index.d.ts +3 -0
  1241. package/lib/typescript/module/credentials-catalogue/v1.0.0/index.d.ts.map +1 -0
  1242. package/lib/typescript/module/credentials-catalogue/v1.0.0/mappers.d.ts +125 -0
  1243. package/lib/typescript/module/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -0
  1244. package/lib/typescript/module/credentials-catalogue/v1.0.0/types.d.ts +148 -0
  1245. package/lib/typescript/module/credentials-catalogue/v1.0.0/types.d.ts.map +1 -0
  1246. package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts +3 -0
  1247. package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts.map +1 -0
  1248. package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-translations.d.ts +3 -0
  1249. package/lib/typescript/module/credentials-catalogue/v1.4.6/fetch-translations.d.ts.map +1 -0
  1250. package/lib/typescript/module/credentials-catalogue/v1.4.6/index.d.ts +3 -0
  1251. package/lib/typescript/module/credentials-catalogue/v1.4.6/index.d.ts.map +1 -0
  1252. package/lib/typescript/module/credentials-catalogue/v1.4.6/mappers.d.ts +326 -0
  1253. package/lib/typescript/module/credentials-catalogue/v1.4.6/mappers.d.ts.map +1 -0
  1254. package/lib/typescript/module/credentials-catalogue/v1.4.6/types.d.ts +354 -0
  1255. package/lib/typescript/module/credentials-catalogue/v1.4.6/types.d.ts.map +1 -0
  1256. package/lib/typescript/module/credentials-catalogue/v1.4.6/utils.d.ts +37 -0
  1257. package/lib/typescript/module/credentials-catalogue/v1.4.6/utils.d.ts.map +1 -0
  1258. package/lib/typescript/module/index.d.ts +25 -0
  1259. package/lib/typescript/module/index.d.ts.map +1 -0
  1260. package/lib/typescript/module/key-attestation/api/index.d.ts +39 -0
  1261. package/lib/typescript/module/key-attestation/api/index.d.ts.map +1 -0
  1262. package/lib/typescript/module/key-attestation/api/types.d.ts +56 -0
  1263. package/lib/typescript/module/key-attestation/api/types.d.ts.map +1 -0
  1264. package/lib/typescript/module/key-attestation/index.d.ts +4 -0
  1265. package/lib/typescript/module/key-attestation/index.d.ts.map +1 -0
  1266. package/lib/typescript/module/key-attestation/v1.0.0/index.d.ts +3 -0
  1267. package/lib/typescript/module/key-attestation/v1.0.0/index.d.ts.map +1 -0
  1268. package/lib/typescript/module/key-attestation/v1.4.6/index.d.ts +3 -0
  1269. package/lib/typescript/module/key-attestation/v1.4.6/index.d.ts.map +1 -0
  1270. package/lib/typescript/module/key-attestation/v1.4.6/issuing.d.ts +3 -0
  1271. package/lib/typescript/module/key-attestation/v1.4.6/issuing.d.ts.map +1 -0
  1272. package/lib/typescript/module/key-attestation/v1.4.6/mappers.d.ts +85 -0
  1273. package/lib/typescript/module/key-attestation/v1.4.6/mappers.d.ts.map +1 -0
  1274. package/lib/typescript/module/key-attestation/v1.4.6/types.d.ts +58 -0
  1275. package/lib/typescript/module/key-attestation/v1.4.6/types.d.ts.map +1 -0
  1276. package/lib/typescript/module/key-attestation/v1.4.6/utils.d.ts +7 -0
  1277. package/lib/typescript/module/key-attestation/v1.4.6/utils.d.ts.map +1 -0
  1278. package/lib/typescript/module/mdoc/const.d.ts +3 -0
  1279. package/lib/typescript/module/mdoc/const.d.ts.map +1 -0
  1280. package/lib/typescript/module/mdoc/converter.d.ts +8 -0
  1281. package/lib/typescript/module/mdoc/converter.d.ts.map +1 -0
  1282. package/lib/typescript/module/mdoc/index.d.ts +10 -0
  1283. package/lib/typescript/module/mdoc/index.d.ts.map +1 -0
  1284. package/lib/typescript/module/mdoc/utils.d.ts +33 -0
  1285. package/lib/typescript/module/mdoc/utils.d.ts.map +1 -0
  1286. package/lib/typescript/module/package.json +1 -0
  1287. package/lib/typescript/module/sd-jwt/index.d.ts +92 -0
  1288. package/lib/typescript/module/sd-jwt/index.d.ts.map +1 -0
  1289. package/lib/typescript/module/sd-jwt/types.d.ts +104 -0
  1290. package/lib/typescript/module/sd-jwt/types.d.ts.map +1 -0
  1291. package/lib/typescript/module/sd-jwt/utils.d.ts +19 -0
  1292. package/lib/typescript/module/sd-jwt/utils.d.ts.map +1 -0
  1293. package/lib/typescript/module/trust/api/TrustAnchorConfig.d.ts +58 -0
  1294. package/lib/typescript/module/trust/api/TrustAnchorConfig.d.ts.map +1 -0
  1295. package/lib/typescript/module/trust/api/index.d.ts +43 -0
  1296. package/lib/typescript/module/trust/api/index.d.ts.map +1 -0
  1297. package/lib/typescript/module/trust/common/build-chain.d.ts +21 -0
  1298. package/lib/typescript/module/trust/common/build-chain.d.ts.map +1 -0
  1299. package/lib/typescript/module/trust/common/errors.d.ts +103 -0
  1300. package/lib/typescript/module/trust/common/errors.d.ts.map +1 -0
  1301. package/lib/typescript/module/trust/common/types.d.ts +140 -0
  1302. package/lib/typescript/module/trust/common/types.d.ts.map +1 -0
  1303. package/lib/typescript/module/trust/common/utils.d.ts +53 -0
  1304. package/lib/typescript/module/trust/common/utils.d.ts.map +1 -0
  1305. package/lib/typescript/module/trust/common/verify-chain.d.ts +27 -0
  1306. package/lib/typescript/module/trust/common/verify-chain.d.ts.map +1 -0
  1307. package/lib/typescript/module/trust/index.d.ts +5 -0
  1308. package/lib/typescript/module/trust/index.d.ts.map +1 -0
  1309. package/lib/typescript/module/trust/v1.0.0/build-chain.d.ts +2 -0
  1310. package/lib/typescript/module/trust/v1.0.0/build-chain.d.ts.map +1 -0
  1311. package/lib/typescript/module/trust/v1.0.0/entities.d.ts +945 -0
  1312. package/lib/typescript/module/trust/v1.0.0/entities.d.ts.map +1 -0
  1313. package/lib/typescript/module/trust/v1.0.0/index.d.ts +3 -0
  1314. package/lib/typescript/module/trust/v1.0.0/index.d.ts.map +1 -0
  1315. package/lib/typescript/module/trust/v1.0.0/mappers.d.ts +109 -0
  1316. package/lib/typescript/module/trust/v1.0.0/mappers.d.ts.map +1 -0
  1317. package/lib/typescript/module/trust/v1.0.0/types.d.ts +968 -0
  1318. package/lib/typescript/module/trust/v1.0.0/types.d.ts.map +1 -0
  1319. package/lib/typescript/module/trust/v1.0.0/verify-chain.d.ts +5 -0
  1320. package/lib/typescript/module/trust/v1.0.0/verify-chain.d.ts.map +1 -0
  1321. package/lib/typescript/module/trust/v1.4.6/entities.d.ts +100 -0
  1322. package/lib/typescript/module/trust/v1.4.6/entities.d.ts.map +1 -0
  1323. package/lib/typescript/module/trust/v1.4.6/types.d.ts +958 -0
  1324. package/lib/typescript/module/trust/v1.4.6/types.d.ts.map +1 -0
  1325. package/lib/typescript/module/utils/auth.d.ts +41 -0
  1326. package/lib/typescript/module/utils/auth.d.ts.map +1 -0
  1327. package/lib/typescript/module/utils/callbacks.d.ts +28 -0
  1328. package/lib/typescript/module/utils/callbacks.d.ts.map +1 -0
  1329. package/lib/typescript/module/utils/config.d.ts +10 -0
  1330. package/lib/typescript/module/utils/config.d.ts.map +1 -0
  1331. package/lib/typescript/module/utils/credentials.d.ts +16 -0
  1332. package/lib/typescript/module/utils/credentials.d.ts.map +1 -0
  1333. package/lib/typescript/module/utils/crypto.d.ts +70 -0
  1334. package/lib/typescript/module/utils/crypto.d.ts.map +1 -0
  1335. package/lib/typescript/module/utils/decoder.d.ts +6 -0
  1336. package/lib/typescript/module/utils/decoder.d.ts.map +1 -0
  1337. package/lib/typescript/module/utils/dpop.d.ts +22 -0
  1338. package/lib/typescript/module/utils/dpop.d.ts.map +1 -0
  1339. package/lib/typescript/module/utils/error-codes.d.ts +57 -0
  1340. package/lib/typescript/module/utils/error-codes.d.ts.map +1 -0
  1341. package/lib/typescript/module/utils/errors.d.ts +196 -0
  1342. package/lib/typescript/module/utils/errors.d.ts.map +1 -0
  1343. package/lib/typescript/module/utils/integrity.d.ts +21 -0
  1344. package/lib/typescript/module/utils/integrity.d.ts.map +1 -0
  1345. package/lib/typescript/module/utils/jwk.d.ts +78 -0
  1346. package/lib/typescript/module/utils/jwk.d.ts.map +1 -0
  1347. package/lib/typescript/module/utils/logging.d.ts +35 -0
  1348. package/lib/typescript/module/utils/logging.d.ts.map +1 -0
  1349. package/lib/typescript/module/utils/mappers.d.ts +47 -0
  1350. package/lib/typescript/module/utils/mappers.d.ts.map +1 -0
  1351. package/lib/typescript/module/utils/misc.d.ts +36 -0
  1352. package/lib/typescript/module/utils/misc.d.ts.map +1 -0
  1353. package/lib/typescript/module/utils/object.d.ts +4 -0
  1354. package/lib/typescript/module/utils/object.d.ts.map +1 -0
  1355. package/lib/typescript/module/utils/par.d.ts +50 -0
  1356. package/lib/typescript/module/utils/par.d.ts.map +1 -0
  1357. package/lib/typescript/module/utils/parser.d.ts +9 -0
  1358. package/lib/typescript/module/utils/parser.d.ts.map +1 -0
  1359. package/lib/typescript/module/utils/pop.d.ts +18 -0
  1360. package/lib/typescript/module/utils/pop.d.ts.map +1 -0
  1361. package/lib/typescript/module/utils/string.d.ts +31 -0
  1362. package/lib/typescript/module/utils/string.d.ts.map +1 -0
  1363. package/lib/typescript/module/utils/x509.d.ts +10 -0
  1364. package/lib/typescript/module/utils/x509.d.ts.map +1 -0
  1365. package/lib/typescript/module/utils/zod.d.ts +17 -0
  1366. package/lib/typescript/module/utils/zod.d.ts.map +1 -0
  1367. package/lib/typescript/module/wallet-instance/api/index.d.ts +45 -0
  1368. package/lib/typescript/module/wallet-instance/api/index.d.ts.map +1 -0
  1369. package/lib/typescript/module/wallet-instance/common/wallet-instance.d.ts +6 -0
  1370. package/lib/typescript/module/wallet-instance/common/wallet-instance.d.ts.map +1 -0
  1371. package/lib/typescript/module/wallet-instance/index.d.ts +4 -0
  1372. package/lib/typescript/module/wallet-instance/index.d.ts.map +1 -0
  1373. package/lib/typescript/module/wallet-instance/v1.0.0/index.d.ts +3 -0
  1374. package/lib/typescript/module/wallet-instance/v1.0.0/index.d.ts.map +1 -0
  1375. package/lib/typescript/module/wallet-instance/v1.4.6/index.d.ts +3 -0
  1376. package/lib/typescript/module/wallet-instance/v1.4.6/index.d.ts.map +1 -0
  1377. package/lib/typescript/module/wallet-instance-attestation/api/index.d.ts +47 -0
  1378. package/lib/typescript/module/wallet-instance-attestation/api/index.d.ts.map +1 -0
  1379. package/lib/typescript/module/wallet-instance-attestation/api/types.d.ts +54 -0
  1380. package/lib/typescript/module/wallet-instance-attestation/api/types.d.ts.map +1 -0
  1381. package/lib/typescript/module/wallet-instance-attestation/common/types.d.ts +47 -0
  1382. package/lib/typescript/module/wallet-instance-attestation/common/types.d.ts.map +1 -0
  1383. package/lib/typescript/module/wallet-instance-attestation/index.d.ts +4 -0
  1384. package/lib/typescript/module/wallet-instance-attestation/index.d.ts.map +1 -0
  1385. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/index.d.ts +3 -0
  1386. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/index.d.ts.map +1 -0
  1387. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/issuing.d.ts +3 -0
  1388. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -0
  1389. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/mappers.d.ts +91 -0
  1390. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +1 -0
  1391. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/types.d.ts +120 -0
  1392. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -0
  1393. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/utils.d.ts +15 -0
  1394. package/lib/typescript/module/wallet-instance-attestation/v1.0.0/utils.d.ts.map +1 -0
  1395. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/index.d.ts +3 -0
  1396. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/index.d.ts.map +1 -0
  1397. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/issuing.d.ts +3 -0
  1398. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +1 -0
  1399. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/mappers.d.ts +84 -0
  1400. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/mappers.d.ts.map +1 -0
  1401. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/types.d.ts +59 -0
  1402. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/types.d.ts.map +1 -0
  1403. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/utils.d.ts +15 -0
  1404. package/lib/typescript/module/wallet-instance-attestation/v1.4.6/utils.d.ts.map +1 -0
  1405. package/package.json +115 -114
  1406. package/src/client/index.ts +1 -1
  1407. package/src/credential/issuance/api/01-evaluate-issuer-trust.ts +1 -1
  1408. package/src/credential/issuance/api/02-start-user-authorization.ts +1 -1
  1409. package/src/credential/issuance/api/03-complete-user-authorization.ts +3 -3
  1410. package/src/credential/issuance/api/04-authorize-access.ts +1 -1
  1411. package/src/credential/issuance/api/05-obtain-credential.ts +2 -2
  1412. package/src/credential/issuance/api/IssuerConfig.ts +9 -3
  1413. package/src/credential/issuance/api/mrtd-pop/index.ts +2 -2
  1414. package/src/credential/issuance/common/errors.ts +2 -2
  1415. package/src/credential/issuance/v1.4.6/05-obtain-credential.ts +1 -1
  1416. package/src/credential/issuance/v1.4.6/mappers.ts +1 -0
  1417. package/src/credential/offer/api/01-resolve-credential-offer.ts +1 -1
  1418. package/src/credential/offer/common/errors.ts +2 -2
  1419. package/src/credential/presentation/api/02-evaluate-rp-trust.ts +1 -1
  1420. package/src/credential/presentation/api/03-get-request-object.ts +1 -1
  1421. package/src/credential/presentation/api/07-send-authorization-response.ts +1 -1
  1422. package/src/credential/presentation/common/errors.ts +6 -6
  1423. package/src/credential/presentation/v1.4.6/sdkErrorMapper.ts +6 -4
  1424. package/src/credential/status/api/status-assertion.ts +1 -1
  1425. package/src/credential/status/api/status-list.ts +2 -2
  1426. package/src/credential/status/v1.4.6/01-status-list.ts +1 -1
  1427. package/src/credentials-catalogue/api/index.ts +1 -1
  1428. package/src/credentials-catalogue/v1.4.6/utils.ts +2 -2
  1429. package/src/key-attestation/api/index.ts +7 -1
  1430. package/src/sd-jwt/utils.ts +1 -1
  1431. package/src/trust/api/index.ts +3 -3
  1432. package/src/trust/common/build-chain.ts +1 -1
  1433. package/src/trust/common/errors.ts +10 -10
  1434. package/src/trust/common/utils.ts +1 -1
  1435. package/src/trust/common/verify-chain.ts +1 -1
  1436. package/src/utils/errors.ts +7 -7
  1437. package/src/utils/par.ts +1 -1
  1438. package/src/wallet-instance/api/index.ts +4 -4
  1439. package/src/wallet-instance-attestation/api/index.ts +7 -1
  1440. package/lib/commonjs/sd-jwt/__test__/types.test.js +0 -32
  1441. package/lib/commonjs/sd-jwt/__test__/types.test.js.map +0 -1
  1442. package/lib/commonjs/sd-jwt/__test__/utils.test.js +0 -16
  1443. package/lib/commonjs/sd-jwt/__test__/utils.test.js.map +0 -1
  1444. package/lib/module/sd-jwt/__test__/types.test.js +0 -30
  1445. package/lib/module/sd-jwt/__test__/types.test.js.map +0 -1
  1446. package/lib/module/sd-jwt/__test__/utils.test.js +0 -14
  1447. package/lib/module/sd-jwt/__test__/utils.test.js.map +0 -1
  1448. package/lib/typescript/IoWallet.d.ts.map +0 -1
  1449. package/lib/typescript/api/index.d.ts.map +0 -1
  1450. package/lib/typescript/client/generated/wallet-provider.d.ts.map +0 -1
  1451. package/lib/typescript/client/index.d.ts +0 -13
  1452. package/lib/typescript/client/index.d.ts.map +0 -1
  1453. package/lib/typescript/credential/index.d.ts.map +0 -1
  1454. package/lib/typescript/credential/issuance/api/01-evaluate-issuer-trust.d.ts +0 -22
  1455. package/lib/typescript/credential/issuance/api/01-evaluate-issuer-trust.d.ts.map +0 -1
  1456. package/lib/typescript/credential/issuance/api/02-start-user-authorization.d.ts +0 -53
  1457. package/lib/typescript/credential/issuance/api/02-start-user-authorization.d.ts.map +0 -1
  1458. package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts +0 -97
  1459. package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts.map +0 -1
  1460. package/lib/typescript/credential/issuance/api/04-authorize-access.d.ts +0 -33
  1461. package/lib/typescript/credential/issuance/api/04-authorize-access.d.ts.map +0 -1
  1462. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts +0 -58
  1463. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts.map +0 -1
  1464. package/lib/typescript/credential/issuance/api/06-verify-and-parse-credential.d.ts.map +0 -1
  1465. package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts +0 -89
  1466. package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts.map +0 -1
  1467. package/lib/typescript/credential/issuance/api/index.d.ts.map +0 -1
  1468. package/lib/typescript/credential/issuance/api/mrtd-pop/index.d.ts +0 -74
  1469. package/lib/typescript/credential/issuance/api/mrtd-pop/index.d.ts.map +0 -1
  1470. package/lib/typescript/credential/issuance/api/mrtd-pop/types.d.ts.map +0 -1
  1471. package/lib/typescript/credential/issuance/api/types.d.ts.map +0 -1
  1472. package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts.map +0 -1
  1473. package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +0 -1
  1474. package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +0 -1
  1475. package/lib/typescript/credential/issuance/common/errors.d.ts.map +0 -1
  1476. package/lib/typescript/credential/issuance/index.d.ts.map +0 -1
  1477. package/lib/typescript/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +0 -1
  1478. package/lib/typescript/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +0 -1
  1479. package/lib/typescript/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +0 -1
  1480. package/lib/typescript/credential/issuance/mrtd-pop/index.d.ts.map +0 -1
  1481. package/lib/typescript/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +0 -1
  1482. package/lib/typescript/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +0 -1
  1483. package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +0 -1
  1484. package/lib/typescript/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +0 -1
  1485. package/lib/typescript/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +0 -1
  1486. package/lib/typescript/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +0 -1
  1487. package/lib/typescript/credential/issuance/v1.0.0/index.d.ts.map +0 -1
  1488. package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts +0 -306
  1489. package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts.map +0 -1
  1490. package/lib/typescript/credential/issuance/v1.0.0/types.d.ts.map +0 -1
  1491. package/lib/typescript/credential/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts.map +0 -1
  1492. package/lib/typescript/credential/issuance/v1.4.6/02-start-user-authorization.d.ts.map +0 -1
  1493. package/lib/typescript/credential/issuance/v1.4.6/03-complete-user-authorization.d.ts.map +0 -1
  1494. package/lib/typescript/credential/issuance/v1.4.6/04-authorize-access.d.ts.map +0 -1
  1495. package/lib/typescript/credential/issuance/v1.4.6/05-obtain-credential.d.ts +0 -26
  1496. package/lib/typescript/credential/issuance/v1.4.6/05-obtain-credential.d.ts.map +0 -1
  1497. package/lib/typescript/credential/issuance/v1.4.6/06-verify-and-parse-credential.d.ts.map +0 -1
  1498. package/lib/typescript/credential/issuance/v1.4.6/index.d.ts.map +0 -1
  1499. package/lib/typescript/credential/issuance/v1.4.6/mappers.d.ts +0 -1783
  1500. package/lib/typescript/credential/issuance/v1.4.6/mappers.d.ts.map +0 -1
  1501. package/lib/typescript/credential/issuance/v1.4.6/types.d.ts.map +0 -1
  1502. package/lib/typescript/credential/offer/api/01-resolve-credential-offer.d.ts +0 -22
  1503. package/lib/typescript/credential/offer/api/01-resolve-credential-offer.d.ts.map +0 -1
  1504. package/lib/typescript/credential/offer/api/02-extract-grant-details.d.ts.map +0 -1
  1505. package/lib/typescript/credential/offer/api/03-validate-credential-offer.d.ts.map +0 -1
  1506. package/lib/typescript/credential/offer/api/index.d.ts.map +0 -1
  1507. package/lib/typescript/credential/offer/api/types.d.ts.map +0 -1
  1508. package/lib/typescript/credential/offer/common/errors.d.ts.map +0 -1
  1509. package/lib/typescript/credential/offer/index.d.ts.map +0 -1
  1510. package/lib/typescript/credential/offer/v1.0.0/index.d.ts.map +0 -1
  1511. package/lib/typescript/credential/offer/v1.4.6/01-resolve-credential-offer.d.ts.map +0 -1
  1512. package/lib/typescript/credential/offer/v1.4.6/02-extract-grant-details.d.ts.map +0 -1
  1513. package/lib/typescript/credential/offer/v1.4.6/03-validate-credential-offer.d.ts.map +0 -1
  1514. package/lib/typescript/credential/offer/v1.4.6/index.d.ts.map +0 -1
  1515. package/lib/typescript/credential/presentation/api/01-start-flow.d.ts.map +0 -1
  1516. package/lib/typescript/credential/presentation/api/02-evaluate-rp-trust.d.ts +0 -18
  1517. package/lib/typescript/credential/presentation/api/02-evaluate-rp-trust.d.ts.map +0 -1
  1518. package/lib/typescript/credential/presentation/api/03-get-request-object.d.ts +0 -19
  1519. package/lib/typescript/credential/presentation/api/03-get-request-object.d.ts.map +0 -1
  1520. package/lib/typescript/credential/presentation/api/04-verify-certificate-chain.d.ts.map +0 -1
  1521. package/lib/typescript/credential/presentation/api/05-verify-request-object.d.ts.map +0 -1
  1522. package/lib/typescript/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +0 -1
  1523. package/lib/typescript/credential/presentation/api/07-send-authorization-response.d.ts +0 -54
  1524. package/lib/typescript/credential/presentation/api/07-send-authorization-response.d.ts.map +0 -1
  1525. package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts.map +0 -1
  1526. package/lib/typescript/credential/presentation/api/index.d.ts.map +0 -1
  1527. package/lib/typescript/credential/presentation/api/types.d.ts.map +0 -1
  1528. package/lib/typescript/credential/presentation/common/errors.d.ts.map +0 -1
  1529. package/lib/typescript/credential/presentation/common/utils/dcql.d.ts.map +0 -1
  1530. package/lib/typescript/credential/presentation/common/utils/http.d.ts.map +0 -1
  1531. package/lib/typescript/credential/presentation/common/utils/mdoc.d.ts.map +0 -1
  1532. package/lib/typescript/credential/presentation/common/utils/sd-jwt.d.ts.map +0 -1
  1533. package/lib/typescript/credential/presentation/index.d.ts.map +0 -1
  1534. package/lib/typescript/credential/presentation/v1.0.0/01-start-flow.d.ts.map +0 -1
  1535. package/lib/typescript/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +0 -1
  1536. package/lib/typescript/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +0 -1
  1537. package/lib/typescript/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +0 -1
  1538. package/lib/typescript/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +0 -1
  1539. package/lib/typescript/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +0 -1
  1540. package/lib/typescript/credential/presentation/v1.0.0/index.d.ts.map +0 -1
  1541. package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts.map +0 -1
  1542. package/lib/typescript/credential/presentation/v1.0.0/types.d.ts.map +0 -1
  1543. package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts.map +0 -1
  1544. package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts.map +0 -1
  1545. package/lib/typescript/credential/presentation/v1.4.6/01-start-flow.d.ts.map +0 -1
  1546. package/lib/typescript/credential/presentation/v1.4.6/02-evaluate-rp-trust.d.ts.map +0 -1
  1547. package/lib/typescript/credential/presentation/v1.4.6/03-get-request-object.d.ts.map +0 -1
  1548. package/lib/typescript/credential/presentation/v1.4.6/04-verify-certificate-chain.d.ts.map +0 -1
  1549. package/lib/typescript/credential/presentation/v1.4.6/05-verify-request-object.d.ts.map +0 -1
  1550. package/lib/typescript/credential/presentation/v1.4.6/06-evaluate-dcql-query.d.ts.map +0 -1
  1551. package/lib/typescript/credential/presentation/v1.4.6/07-send-authorization-response.d.ts.map +0 -1
  1552. package/lib/typescript/credential/presentation/v1.4.6/index.d.ts.map +0 -1
  1553. package/lib/typescript/credential/presentation/v1.4.6/mappers.d.ts.map +0 -1
  1554. package/lib/typescript/credential/presentation/v1.4.6/sdkErrorMapper.d.ts.map +0 -1
  1555. package/lib/typescript/credential/presentation/v1.4.6/types.d.ts.map +0 -1
  1556. package/lib/typescript/credential/status/api/index.d.ts.map +0 -1
  1557. package/lib/typescript/credential/status/api/status-assertion.d.ts +0 -49
  1558. package/lib/typescript/credential/status/api/status-assertion.d.ts.map +0 -1
  1559. package/lib/typescript/credential/status/api/status-list.d.ts +0 -75
  1560. package/lib/typescript/credential/status/api/status-list.d.ts.map +0 -1
  1561. package/lib/typescript/credential/status/api/types.d.ts.map +0 -1
  1562. package/lib/typescript/credential/status/index.d.ts.map +0 -1
  1563. package/lib/typescript/credential/status/v1.0.0/01-status-assertion.d.ts.map +0 -1
  1564. package/lib/typescript/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +0 -1
  1565. package/lib/typescript/credential/status/v1.0.0/index.d.ts.map +0 -1
  1566. package/lib/typescript/credential/status/v1.0.0/mappers.d.ts.map +0 -1
  1567. package/lib/typescript/credential/status/v1.0.0/types.d.ts.map +0 -1
  1568. package/lib/typescript/credential/status/v1.4.6/01-status-list.d.ts.map +0 -1
  1569. package/lib/typescript/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts.map +0 -1
  1570. package/lib/typescript/credential/status/v1.4.6/03-get-status.d.ts.map +0 -1
  1571. package/lib/typescript/credential/status/v1.4.6/index.d.ts.map +0 -1
  1572. package/lib/typescript/credential/trustmark/api/index.d.ts.map +0 -1
  1573. package/lib/typescript/credential/trustmark/index.d.ts.map +0 -1
  1574. package/lib/typescript/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +0 -1
  1575. package/lib/typescript/credential/trustmark/v1.0.0/index.d.ts.map +0 -1
  1576. package/lib/typescript/credential/trustmark/v1.4.6/get-credential-trustmark.d.ts.map +0 -1
  1577. package/lib/typescript/credential/trustmark/v1.4.6/index.d.ts.map +0 -1
  1578. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +0 -1
  1579. package/lib/typescript/credentials-catalogue/api/index.d.ts +0 -51
  1580. package/lib/typescript/credentials-catalogue/api/index.d.ts.map +0 -1
  1581. package/lib/typescript/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +0 -1
  1582. package/lib/typescript/credentials-catalogue/index.d.ts.map +0 -1
  1583. package/lib/typescript/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +0 -1
  1584. package/lib/typescript/credentials-catalogue/v1.0.0/index.d.ts.map +0 -1
  1585. package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts.map +0 -1
  1586. package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts.map +0 -1
  1587. package/lib/typescript/credentials-catalogue/v1.4.6/fetch-and-parse-catalogue.d.ts.map +0 -1
  1588. package/lib/typescript/credentials-catalogue/v1.4.6/fetch-translations.d.ts.map +0 -1
  1589. package/lib/typescript/credentials-catalogue/v1.4.6/index.d.ts.map +0 -1
  1590. package/lib/typescript/credentials-catalogue/v1.4.6/mappers.d.ts.map +0 -1
  1591. package/lib/typescript/credentials-catalogue/v1.4.6/types.d.ts.map +0 -1
  1592. package/lib/typescript/credentials-catalogue/v1.4.6/utils.d.ts +0 -37
  1593. package/lib/typescript/credentials-catalogue/v1.4.6/utils.d.ts.map +0 -1
  1594. package/lib/typescript/index.d.ts.map +0 -1
  1595. package/lib/typescript/key-attestation/api/index.d.ts +0 -39
  1596. package/lib/typescript/key-attestation/api/index.d.ts.map +0 -1
  1597. package/lib/typescript/key-attestation/api/types.d.ts.map +0 -1
  1598. package/lib/typescript/key-attestation/index.d.ts.map +0 -1
  1599. package/lib/typescript/key-attestation/v1.0.0/index.d.ts.map +0 -1
  1600. package/lib/typescript/key-attestation/v1.4.6/index.d.ts.map +0 -1
  1601. package/lib/typescript/key-attestation/v1.4.6/issuing.d.ts.map +0 -1
  1602. package/lib/typescript/key-attestation/v1.4.6/mappers.d.ts.map +0 -1
  1603. package/lib/typescript/key-attestation/v1.4.6/types.d.ts.map +0 -1
  1604. package/lib/typescript/key-attestation/v1.4.6/utils.d.ts.map +0 -1
  1605. package/lib/typescript/mdoc/const.d.ts.map +0 -1
  1606. package/lib/typescript/mdoc/converter.d.ts.map +0 -1
  1607. package/lib/typescript/mdoc/index.d.ts.map +0 -1
  1608. package/lib/typescript/mdoc/utils.d.ts.map +0 -1
  1609. package/lib/typescript/sd-jwt/__test__/types.test.d.ts +0 -2
  1610. package/lib/typescript/sd-jwt/__test__/types.test.d.ts.map +0 -1
  1611. package/lib/typescript/sd-jwt/__test__/utils.test.d.ts +0 -2
  1612. package/lib/typescript/sd-jwt/__test__/utils.test.d.ts.map +0 -1
  1613. package/lib/typescript/sd-jwt/index.d.ts.map +0 -1
  1614. package/lib/typescript/sd-jwt/types.d.ts.map +0 -1
  1615. package/lib/typescript/sd-jwt/utils.d.ts +0 -19
  1616. package/lib/typescript/sd-jwt/utils.d.ts.map +0 -1
  1617. package/lib/typescript/trust/api/TrustAnchorConfig.d.ts.map +0 -1
  1618. package/lib/typescript/trust/api/index.d.ts +0 -43
  1619. package/lib/typescript/trust/api/index.d.ts.map +0 -1
  1620. package/lib/typescript/trust/common/build-chain.d.ts +0 -21
  1621. package/lib/typescript/trust/common/build-chain.d.ts.map +0 -1
  1622. package/lib/typescript/trust/common/errors.d.ts.map +0 -1
  1623. package/lib/typescript/trust/common/types.d.ts.map +0 -1
  1624. package/lib/typescript/trust/common/utils.d.ts +0 -53
  1625. package/lib/typescript/trust/common/utils.d.ts.map +0 -1
  1626. package/lib/typescript/trust/common/verify-chain.d.ts.map +0 -1
  1627. package/lib/typescript/trust/index.d.ts.map +0 -1
  1628. package/lib/typescript/trust/v1.0.0/build-chain.d.ts +0 -2
  1629. package/lib/typescript/trust/v1.0.0/build-chain.d.ts.map +0 -1
  1630. package/lib/typescript/trust/v1.0.0/entities.d.ts.map +0 -1
  1631. package/lib/typescript/trust/v1.0.0/index.d.ts.map +0 -1
  1632. package/lib/typescript/trust/v1.0.0/mappers.d.ts.map +0 -1
  1633. package/lib/typescript/trust/v1.0.0/types.d.ts.map +0 -1
  1634. package/lib/typescript/trust/v1.0.0/verify-chain.d.ts +0 -5
  1635. package/lib/typescript/trust/v1.0.0/verify-chain.d.ts.map +0 -1
  1636. package/lib/typescript/trust/v1.4.6/entities.d.ts.map +0 -1
  1637. package/lib/typescript/trust/v1.4.6/types.d.ts +0 -942
  1638. package/lib/typescript/trust/v1.4.6/types.d.ts.map +0 -1
  1639. package/lib/typescript/utils/auth.d.ts.map +0 -1
  1640. package/lib/typescript/utils/callbacks.d.ts.map +0 -1
  1641. package/lib/typescript/utils/config.d.ts.map +0 -1
  1642. package/lib/typescript/utils/credentials.d.ts.map +0 -1
  1643. package/lib/typescript/utils/crypto.d.ts.map +0 -1
  1644. package/lib/typescript/utils/decoder.d.ts.map +0 -1
  1645. package/lib/typescript/utils/dpop.d.ts.map +0 -1
  1646. package/lib/typescript/utils/error-codes.d.ts.map +0 -1
  1647. package/lib/typescript/utils/errors.d.ts.map +0 -1
  1648. package/lib/typescript/utils/integrity.d.ts.map +0 -1
  1649. package/lib/typescript/utils/jwk.d.ts.map +0 -1
  1650. package/lib/typescript/utils/logging.d.ts.map +0 -1
  1651. package/lib/typescript/utils/mappers.d.ts.map +0 -1
  1652. package/lib/typescript/utils/misc.d.ts.map +0 -1
  1653. package/lib/typescript/utils/object.d.ts.map +0 -1
  1654. package/lib/typescript/utils/par.d.ts +0 -50
  1655. package/lib/typescript/utils/par.d.ts.map +0 -1
  1656. package/lib/typescript/utils/parser.d.ts.map +0 -1
  1657. package/lib/typescript/utils/pop.d.ts.map +0 -1
  1658. package/lib/typescript/utils/string.d.ts.map +0 -1
  1659. package/lib/typescript/utils/x509.d.ts.map +0 -1
  1660. package/lib/typescript/utils/zod.d.ts.map +0 -1
  1661. package/lib/typescript/wallet-instance/api/index.d.ts +0 -45
  1662. package/lib/typescript/wallet-instance/api/index.d.ts.map +0 -1
  1663. package/lib/typescript/wallet-instance/common/wallet-instance.d.ts.map +0 -1
  1664. package/lib/typescript/wallet-instance/index.d.ts.map +0 -1
  1665. package/lib/typescript/wallet-instance/v1.0.0/index.d.ts.map +0 -1
  1666. package/lib/typescript/wallet-instance/v1.4.6/index.d.ts.map +0 -1
  1667. package/lib/typescript/wallet-instance-attestation/api/index.d.ts +0 -46
  1668. package/lib/typescript/wallet-instance-attestation/api/index.d.ts.map +0 -1
  1669. package/lib/typescript/wallet-instance-attestation/api/types.d.ts.map +0 -1
  1670. package/lib/typescript/wallet-instance-attestation/common/types.d.ts.map +0 -1
  1671. package/lib/typescript/wallet-instance-attestation/index.d.ts.map +0 -1
  1672. package/lib/typescript/wallet-instance-attestation/v1.0.0/index.d.ts.map +0 -1
  1673. package/lib/typescript/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +0 -1
  1674. package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +0 -1
  1675. package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts.map +0 -1
  1676. package/lib/typescript/wallet-instance-attestation/v1.0.0/utils.d.ts.map +0 -1
  1677. package/lib/typescript/wallet-instance-attestation/v1.4.6/index.d.ts.map +0 -1
  1678. package/lib/typescript/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +0 -1
  1679. package/lib/typescript/wallet-instance-attestation/v1.4.6/mappers.d.ts.map +0 -1
  1680. package/lib/typescript/wallet-instance-attestation/v1.4.6/types.d.ts.map +0 -1
  1681. package/lib/typescript/wallet-instance-attestation/v1.4.6/utils.d.ts.map +0 -1
  1682. package/src/sd-jwt/__test__/types.test.ts +0 -37
  1683. package/src/sd-jwt/__test__/utils.test.ts +0 -15
  1684. /package/lib/typescript/{IoWallet.d.ts → commonjs/IoWallet.d.ts} +0 -0
  1685. /package/lib/typescript/{api → commonjs/api}/index.d.ts +0 -0
  1686. /package/lib/typescript/{client → commonjs/client}/generated/wallet-provider.d.ts +0 -0
  1687. /package/lib/typescript/{credential → commonjs/credential}/index.d.ts +0 -0
  1688. /package/lib/typescript/{credential → commonjs/credential}/issuance/api/06-verify-and-parse-credential.d.ts +0 -0
  1689. /package/lib/typescript/{credential → commonjs/credential}/issuance/api/index.d.ts +0 -0
  1690. /package/lib/typescript/{credential → commonjs/credential}/issuance/api/mrtd-pop/types.d.ts +0 -0
  1691. /package/lib/typescript/{credential → commonjs/credential}/issuance/api/types.d.ts +0 -0
  1692. /package/lib/typescript/{credential → commonjs/credential}/issuance/common/02-start-user-authorization.d.ts +0 -0
  1693. /package/lib/typescript/{credential → commonjs/credential}/issuance/common/06-verify-and-parse-credential.mdoc.d.ts +0 -0
  1694. /package/lib/typescript/{credential → commonjs/credential}/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts +0 -0
  1695. /package/lib/typescript/{credential → commonjs/credential}/issuance/common/errors.d.ts +0 -0
  1696. /package/lib/typescript/{credential → commonjs/credential}/issuance/index.d.ts +0 -0
  1697. /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts +0 -0
  1698. /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/02-init-challenge.d.ts +0 -0
  1699. /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/03-validate-challenge.d.ts +0 -0
  1700. /package/lib/typescript/{credential → commonjs/credential}/issuance/mrtd-pop/index.d.ts +0 -0
  1701. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts +0 -0
  1702. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/02-start-user-authorization.d.ts +0 -0
  1703. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/03-complete-user-authorization.d.ts +0 -0
  1704. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/04-authorize-access.d.ts +0 -0
  1705. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/05-obtain-credential.d.ts +0 -0
  1706. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/06-verify-and-parse-credential.d.ts +0 -0
  1707. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/index.d.ts +0 -0
  1708. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.0.0/types.d.ts +0 -0
  1709. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/01-evaluate-issuer-trust.d.ts +0 -0
  1710. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/02-start-user-authorization.d.ts +0 -0
  1711. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/03-complete-user-authorization.d.ts +0 -0
  1712. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/04-authorize-access.d.ts +0 -0
  1713. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/06-verify-and-parse-credential.d.ts +0 -0
  1714. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/index.d.ts +0 -0
  1715. /package/lib/typescript/{credential → commonjs/credential}/issuance/v1.4.6/types.d.ts +0 -0
  1716. /package/lib/typescript/{credential → commonjs/credential}/offer/api/02-extract-grant-details.d.ts +0 -0
  1717. /package/lib/typescript/{credential → commonjs/credential}/offer/api/03-validate-credential-offer.d.ts +0 -0
  1718. /package/lib/typescript/{credential → commonjs/credential}/offer/api/index.d.ts +0 -0
  1719. /package/lib/typescript/{credential → commonjs/credential}/offer/api/types.d.ts +0 -0
  1720. /package/lib/typescript/{credential → commonjs/credential}/offer/common/errors.d.ts +0 -0
  1721. /package/lib/typescript/{credential → commonjs/credential}/offer/index.d.ts +0 -0
  1722. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.0.0/index.d.ts +0 -0
  1723. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/01-resolve-credential-offer.d.ts +0 -0
  1724. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/02-extract-grant-details.d.ts +0 -0
  1725. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/03-validate-credential-offer.d.ts +0 -0
  1726. /package/lib/typescript/{credential → commonjs/credential}/offer/v1.4.6/index.d.ts +0 -0
  1727. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/01-start-flow.d.ts +0 -0
  1728. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/04-verify-certificate-chain.d.ts +0 -0
  1729. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/05-verify-request-object.d.ts +0 -0
  1730. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/06-evaluate-dcql-query.d.ts +0 -0
  1731. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/RelyingPartyConfig.d.ts +0 -0
  1732. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/index.d.ts +0 -0
  1733. /package/lib/typescript/{credential → commonjs/credential}/presentation/api/types.d.ts +0 -0
  1734. /package/lib/typescript/{credential → commonjs/credential}/presentation/common/errors.d.ts +0 -0
  1735. /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/dcql.d.ts +0 -0
  1736. /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/http.d.ts +0 -0
  1737. /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/mdoc.d.ts +0 -0
  1738. /package/lib/typescript/{credential → commonjs/credential}/presentation/common/utils/sd-jwt.d.ts +0 -0
  1739. /package/lib/typescript/{credential → commonjs/credential}/presentation/index.d.ts +0 -0
  1740. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/01-start-flow.d.ts +0 -0
  1741. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/02-evaluate-rp-trust.d.ts +0 -0
  1742. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/03-get-request-object.d.ts +0 -0
  1743. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/05-verify-request-object.d.ts +0 -0
  1744. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/06-evaluate-dcql-query.d.ts +0 -0
  1745. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/07-send-authorization-response.d.ts +0 -0
  1746. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/index.d.ts +0 -0
  1747. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/mappers.d.ts +0 -0
  1748. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/types.d.ts +0 -0
  1749. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/utils.d.ts +0 -0
  1750. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.0.0/utils.jwks.d.ts +0 -0
  1751. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/01-start-flow.d.ts +0 -0
  1752. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/02-evaluate-rp-trust.d.ts +0 -0
  1753. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/03-get-request-object.d.ts +0 -0
  1754. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/04-verify-certificate-chain.d.ts +0 -0
  1755. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/05-verify-request-object.d.ts +0 -0
  1756. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/06-evaluate-dcql-query.d.ts +0 -0
  1757. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/07-send-authorization-response.d.ts +0 -0
  1758. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/index.d.ts +0 -0
  1759. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/mappers.d.ts +0 -0
  1760. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/sdkErrorMapper.d.ts +0 -0
  1761. /package/lib/typescript/{credential → commonjs/credential}/presentation/v1.4.6/types.d.ts +0 -0
  1762. /package/lib/typescript/{credential → commonjs/credential}/status/api/index.d.ts +0 -0
  1763. /package/lib/typescript/{credential → commonjs/credential}/status/api/types.d.ts +0 -0
  1764. /package/lib/typescript/{credential → commonjs/credential}/status/index.d.ts +0 -0
  1765. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/01-status-assertion.d.ts +0 -0
  1766. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts +0 -0
  1767. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/index.d.ts +0 -0
  1768. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/mappers.d.ts +0 -0
  1769. /package/lib/typescript/{credential → commonjs/credential}/status/v1.0.0/types.d.ts +0 -0
  1770. /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/01-status-list.d.ts +0 -0
  1771. /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/02-verify-and-parse-status-list.d.ts +0 -0
  1772. /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/03-get-status.d.ts +0 -0
  1773. /package/lib/typescript/{credential → commonjs/credential}/status/v1.4.6/index.d.ts +0 -0
  1774. /package/lib/typescript/{credential → commonjs/credential}/trustmark/api/index.d.ts +0 -0
  1775. /package/lib/typescript/{credential → commonjs/credential}/trustmark/index.d.ts +0 -0
  1776. /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.0.0/get-credential-trustmark.d.ts +0 -0
  1777. /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.0.0/index.d.ts +0 -0
  1778. /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.4.6/get-credential-trustmark.d.ts +0 -0
  1779. /package/lib/typescript/{credential → commonjs/credential}/trustmark/v1.4.6/index.d.ts +0 -0
  1780. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/api/DigitalCredentialsCatalogue.d.ts +0 -0
  1781. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/common/get-status-l10n-ids.d.ts +0 -0
  1782. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/index.d.ts +0 -0
  1783. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/fetch-and-parse-catalogue.d.ts +0 -0
  1784. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/index.d.ts +0 -0
  1785. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/mappers.d.ts +0 -0
  1786. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.0.0/types.d.ts +0 -0
  1787. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/fetch-and-parse-catalogue.d.ts +0 -0
  1788. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/fetch-translations.d.ts +0 -0
  1789. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/index.d.ts +0 -0
  1790. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/mappers.d.ts +0 -0
  1791. /package/lib/typescript/{credentials-catalogue → commonjs/credentials-catalogue}/v1.4.6/types.d.ts +0 -0
  1792. /package/lib/typescript/{index.d.ts → commonjs/index.d.ts} +0 -0
  1793. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/api/types.d.ts +0 -0
  1794. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/index.d.ts +0 -0
  1795. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.0.0/index.d.ts +0 -0
  1796. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/index.d.ts +0 -0
  1797. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/issuing.d.ts +0 -0
  1798. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/mappers.d.ts +0 -0
  1799. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/types.d.ts +0 -0
  1800. /package/lib/typescript/{key-attestation → commonjs/key-attestation}/v1.4.6/utils.d.ts +0 -0
  1801. /package/lib/typescript/{mdoc → commonjs/mdoc}/const.d.ts +0 -0
  1802. /package/lib/typescript/{mdoc → commonjs/mdoc}/converter.d.ts +0 -0
  1803. /package/lib/typescript/{mdoc → commonjs/mdoc}/index.d.ts +0 -0
  1804. /package/lib/typescript/{mdoc → commonjs/mdoc}/utils.d.ts +0 -0
  1805. /package/lib/typescript/{sd-jwt → commonjs/sd-jwt}/index.d.ts +0 -0
  1806. /package/lib/typescript/{sd-jwt → commonjs/sd-jwt}/types.d.ts +0 -0
  1807. /package/lib/typescript/{trust → commonjs/trust}/api/TrustAnchorConfig.d.ts +0 -0
  1808. /package/lib/typescript/{trust → commonjs/trust}/common/errors.d.ts +0 -0
  1809. /package/lib/typescript/{trust → commonjs/trust}/common/types.d.ts +0 -0
  1810. /package/lib/typescript/{trust → commonjs/trust}/common/verify-chain.d.ts +0 -0
  1811. /package/lib/typescript/{trust → commonjs/trust}/index.d.ts +0 -0
  1812. /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/entities.d.ts +0 -0
  1813. /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/index.d.ts +0 -0
  1814. /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/mappers.d.ts +0 -0
  1815. /package/lib/typescript/{trust → commonjs/trust}/v1.0.0/types.d.ts +0 -0
  1816. /package/lib/typescript/{trust → commonjs/trust}/v1.4.6/entities.d.ts +0 -0
  1817. /package/lib/typescript/{utils → commonjs/utils}/auth.d.ts +0 -0
  1818. /package/lib/typescript/{utils → commonjs/utils}/callbacks.d.ts +0 -0
  1819. /package/lib/typescript/{utils → commonjs/utils}/config.d.ts +0 -0
  1820. /package/lib/typescript/{utils → commonjs/utils}/credentials.d.ts +0 -0
  1821. /package/lib/typescript/{utils → commonjs/utils}/crypto.d.ts +0 -0
  1822. /package/lib/typescript/{utils → commonjs/utils}/decoder.d.ts +0 -0
  1823. /package/lib/typescript/{utils → commonjs/utils}/dpop.d.ts +0 -0
  1824. /package/lib/typescript/{utils → commonjs/utils}/error-codes.d.ts +0 -0
  1825. /package/lib/typescript/{utils → commonjs/utils}/errors.d.ts +0 -0
  1826. /package/lib/typescript/{utils → commonjs/utils}/integrity.d.ts +0 -0
  1827. /package/lib/typescript/{utils → commonjs/utils}/jwk.d.ts +0 -0
  1828. /package/lib/typescript/{utils → commonjs/utils}/logging.d.ts +0 -0
  1829. /package/lib/typescript/{utils → commonjs/utils}/mappers.d.ts +0 -0
  1830. /package/lib/typescript/{utils → commonjs/utils}/misc.d.ts +0 -0
  1831. /package/lib/typescript/{utils → commonjs/utils}/object.d.ts +0 -0
  1832. /package/lib/typescript/{utils → commonjs/utils}/parser.d.ts +0 -0
  1833. /package/lib/typescript/{utils → commonjs/utils}/pop.d.ts +0 -0
  1834. /package/lib/typescript/{utils → commonjs/utils}/string.d.ts +0 -0
  1835. /package/lib/typescript/{utils → commonjs/utils}/x509.d.ts +0 -0
  1836. /package/lib/typescript/{utils → commonjs/utils}/zod.d.ts +0 -0
  1837. /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/common/wallet-instance.d.ts +0 -0
  1838. /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/index.d.ts +0 -0
  1839. /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/v1.0.0/index.d.ts +0 -0
  1840. /package/lib/typescript/{wallet-instance → commonjs/wallet-instance}/v1.4.6/index.d.ts +0 -0
  1841. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/api/types.d.ts +0 -0
  1842. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/common/types.d.ts +0 -0
  1843. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/index.d.ts +0 -0
  1844. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/index.d.ts +0 -0
  1845. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/issuing.d.ts +0 -0
  1846. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/mappers.d.ts +0 -0
  1847. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/types.d.ts +0 -0
  1848. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.0.0/utils.d.ts +0 -0
  1849. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/index.d.ts +0 -0
  1850. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/issuing.d.ts +0 -0
  1851. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/mappers.d.ts +0 -0
  1852. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/types.d.ts +0 -0
  1853. /package/lib/typescript/{wallet-instance-attestation → commonjs/wallet-instance-attestation}/v1.4.6/utils.d.ts +0 -0
@@ -4,15 +4,14 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.Trust = void 0;
7
- var _mappers = require("../../utils/mappers");
8
- var _buildChain = require("./build-chain");
9
- var _entities = require("./entities");
10
- var _mappers2 = require("./mappers");
11
- var _verifyChain = require("./verify-chain");
12
- const Trust = {
7
+ var _mappers = require("../../utils/mappers.js");
8
+ var _buildChain = require("./build-chain.js");
9
+ var _entities = require("./entities.js");
10
+ var _mappers2 = require("./mappers.js");
11
+ var _verifyChain = require("./verify-chain.js");
12
+ const Trust = exports.Trust = {
13
13
  buildTrustChain: _buildChain.buildTrustChain,
14
14
  getTrustAnchorEntityConfiguration: (0, _mappers.withMapperAsync)(_mappers2.mapToTrustAnchorConfig, _entities.getTrustAnchorEntityConfiguration),
15
15
  verifyTrustChain: _verifyChain.verifyTrustChain
16
16
  };
17
- exports.Trust = Trust;
18
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_mappers","require","_buildChain","_entities","_mappers2","_verifyChain","Trust","buildTrustChain","getTrustAnchorEntityConfiguration","withMapperAsync","mapToTrustAnchorConfig","verifyTrustChain","exports"],"sourceRoot":"../../../../src","sources":["trust/v1.0.0/index.ts"],"mappings":";;;;;;AAEA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAEO,MAAMK,KAAe,GAAG;EAC7BC,eAAe,EAAfA,2BAAe;EACfC,iCAAiC,EAAE,IAAAC,wBAAe,EAChDC,gCAAsB,EACtBF,2CACF,CAAC;EACDG,gBAAgB,EAAhBA;AACF,CAAC;AAACC,OAAA,CAAAN,KAAA,GAAAA,KAAA"}
1
+ {"version":3,"names":["_mappers","require","_buildChain","_entities","_mappers2","_verifyChain","Trust","exports","buildTrustChain","getTrustAnchorEntityConfiguration","withMapperAsync","mapToTrustAnchorConfig","verifyTrustChain"],"sourceRoot":"../../../../src","sources":["trust/v1.0.0/index.ts"],"mappings":";;;;;;AAEA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAEO,MAAMK,KAAe,GAAAC,OAAA,CAAAD,KAAA,GAAG;EAC7BE,eAAe,EAAfA,2BAAe;EACfC,iCAAiC,EAAE,IAAAC,wBAAe,EAChDC,gCAAsB,EACtBF,2CACF,CAAC;EACDG,gBAAgB,EAAhBA;AACF,CAAC","ignoreList":[]}
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.mapToTrustAnchorConfig = void 0;
7
- var _mappers = require("../../utils/mappers");
8
- const mapToTrustAnchorConfig = (0, _mappers.createMapper)(x => {
7
+ var _mappers = require("../../utils/mappers.js");
8
+ const mapToTrustAnchorConfig = exports.mapToTrustAnchorConfig = (0, _mappers.createMapper)(x => {
9
9
  const {
10
10
  federation_entity
11
11
  } = x.payload.metadata;
@@ -17,5 +17,4 @@ const mapToTrustAnchorConfig = (0, _mappers.createMapper)(x => {
17
17
  keys: x.payload.jwks.keys
18
18
  };
19
19
  });
20
- exports.mapToTrustAnchorConfig = mapToTrustAnchorConfig;
21
20
  //# sourceMappingURL=mappers.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_mappers","require","mapToTrustAnchorConfig","createMapper","x","federation_entity","payload","metadata","jwt","header","keys","jwks","exports"],"sourceRoot":"../../../../src","sources":["trust/v1.0.0/mappers.ts"],"mappings":";;;;;;AAEA,IAAAA,QAAA,GAAAC,OAAA;AAGO,MAAMC,sBAAsB,GAAG,IAAAC,qBAAY,EAG/CC,CAAC,IAAK;EACP,MAAM;IAAEC;EAAkB,CAAC,GAAGD,CAAC,CAACE,OAAO,CAACC,QAAQ;EAChD,OAAO;IACLF,iBAAiB;IACjBG,GAAG,EAAE;MAAEC,MAAM,EAAEL,CAAC,CAACK;IAAO,CAAC;IACzBC,IAAI,EAAEN,CAAC,CAACE,OAAO,CAACK,IAAI,CAACD;EACvB,CAAC;AACH,CAAC,CAAC;AAACE,OAAA,CAAAV,sBAAA,GAAAA,sBAAA"}
1
+ {"version":3,"names":["_mappers","require","mapToTrustAnchorConfig","exports","createMapper","x","federation_entity","payload","metadata","jwt","header","keys","jwks"],"sourceRoot":"../../../../src","sources":["trust/v1.0.0/mappers.ts"],"mappings":";;;;;;AAEA,IAAAA,QAAA,GAAAC,OAAA;AAGO,MAAMC,sBAAsB,GAAAC,OAAA,CAAAD,sBAAA,GAAG,IAAAE,qBAAY,EAG/CC,CAAC,IAAK;EACP,MAAM;IAAEC;EAAkB,CAAC,GAAGD,CAAC,CAACE,OAAO,CAACC,QAAQ;EAChD,OAAO;IACLF,iBAAiB;IACjBG,GAAG,EAAE;MAAEC,MAAM,EAAEL,CAAC,CAACK;IAAO,CAAC;IACzBC,IAAI,EAAEN,CAAC,CAACE,OAAO,CAACK,IAAI,CAACD;EACvB,CAAC;AACH,CAAC,CAAC","ignoreList":[]}
@@ -6,10 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.WalletProviderEntityConfiguration = exports.TrustAnchorEntityConfiguration = exports.RelyingPartyEntityConfiguration = exports.EntityConfiguration = exports.CredentialIssuerEntityConfiguration = void 0;
7
7
  var _ioWalletOidFederation = require("@pagopa/io-wallet-oid-federation");
8
8
  var z = _interopRequireWildcard(require("zod"));
9
- var _jwk = require("../../utils/jwk");
10
- var _types = require("../common/types");
11
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
12
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
9
+ var _jwk = require("../../utils/jwk.js");
10
+ var _types = require("../common/types.js");
11
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
13
12
  const RelyingPartyMetadata = z.object({
14
13
  application_type: z.string().optional(),
15
14
  authorization_encrypted_response_alg: z.string().optional(),
@@ -26,6 +25,7 @@ const RelyingPartyMetadata = z.object({
26
25
 
27
26
  // Display metadata for a credential, used by the issuer to
28
27
  // instruct the Wallet Solution on how to render the credential correctly
28
+
29
29
  const CredentialDisplayMetadata = z.object({
30
30
  locale: z.string(),
31
31
  name: z.string()
@@ -41,7 +41,6 @@ const ClaimsMetadata = z.object({
41
41
  display: z.array(CredentialDisplayMetadata),
42
42
  path: z.array(z.union([z.string(), z.number(), z.null()])) // https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0-15.html#name-claims-path-pointer
43
43
  });
44
-
45
44
  const IssuanceErrorSupported = z.object({
46
45
  display: z.array(z.object({
47
46
  description: z.string(),
@@ -70,11 +69,11 @@ const SupportedCredentialMetadata = z.intersection(z.discriminatedUnion("format"
70
69
 
71
70
  // Entity configuration for a Trust Anchor (it has no specific metadata section)
72
71
 
73
- const TrustAnchorEntityConfiguration = _types.BaseEntityConfiguration;
72
+ const TrustAnchorEntityConfiguration = exports.TrustAnchorEntityConfiguration = _types.BaseEntityConfiguration;
74
73
 
75
74
  // Entity configuration for a Credential Issuer
76
- exports.TrustAnchorEntityConfiguration = TrustAnchorEntityConfiguration;
77
- const CredentialIssuerEntityConfiguration = _types.BaseEntityConfiguration.and(z.object({
75
+
76
+ const CredentialIssuerEntityConfiguration = exports.CredentialIssuerEntityConfiguration = _types.BaseEntityConfiguration.and(z.object({
78
77
  payload: z.object({
79
78
  jwks: z.object({
80
79
  keys: z.array(_jwk.JWK)
@@ -122,8 +121,8 @@ const CredentialIssuerEntityConfiguration = _types.BaseEntityConfiguration.and(z
122
121
  }));
123
122
 
124
123
  // Entity configuration for a Relying Party
125
- exports.CredentialIssuerEntityConfiguration = CredentialIssuerEntityConfiguration;
126
- const RelyingPartyEntityConfiguration = _types.BaseEntityConfiguration.and(z.object({
124
+
125
+ const RelyingPartyEntityConfiguration = exports.RelyingPartyEntityConfiguration = _types.BaseEntityConfiguration.and(z.object({
127
126
  payload: z.object({
128
127
  metadata: z.object({
129
128
  openid_credential_verifier: RelyingPartyMetadata
@@ -132,8 +131,8 @@ const RelyingPartyEntityConfiguration = _types.BaseEntityConfiguration.and(z.obj
132
131
  }));
133
132
 
134
133
  // Entity configuration for a Wallet Provider
135
- exports.RelyingPartyEntityConfiguration = RelyingPartyEntityConfiguration;
136
- const WalletProviderEntityConfiguration = _types.BaseEntityConfiguration.and(z.object({
134
+
135
+ const WalletProviderEntityConfiguration = exports.WalletProviderEntityConfiguration = _types.BaseEntityConfiguration.and(z.object({
137
136
  payload: z.object({
138
137
  metadata: z.object({
139
138
  wallet_provider: z.object({
@@ -151,7 +150,6 @@ const WalletProviderEntityConfiguration = _types.BaseEntityConfiguration.and(z.o
151
150
  }));
152
151
 
153
152
  // Maps any entity configuration by the union of every possible shapes
154
- exports.WalletProviderEntityConfiguration = WalletProviderEntityConfiguration;
155
- const EntityConfiguration = z.union([WalletProviderEntityConfiguration, CredentialIssuerEntityConfiguration, TrustAnchorEntityConfiguration, RelyingPartyEntityConfiguration]).describe("Any kind of Entity Configuration allowed in the ecosystem");
156
- exports.EntityConfiguration = EntityConfiguration;
153
+
154
+ const EntityConfiguration = exports.EntityConfiguration = z.union([WalletProviderEntityConfiguration, CredentialIssuerEntityConfiguration, TrustAnchorEntityConfiguration, RelyingPartyEntityConfiguration]).describe("Any kind of Entity Configuration allowed in the ecosystem");
157
155
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_ioWalletOidFederation","require","z","_interopRequireWildcard","_jwk","_types","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","RelyingPartyMetadata","object","application_type","string","optional","authorization_encrypted_response_alg","authorization_encrypted_response_enc","authorization_signed_response_alg","client_id","client_name","contacts","array","jwks","keys","jsonWebKeySchema","request_uris","CredentialDisplayMetadata","locale","name","CredentialIssuerDisplayMetadata","ClaimsMetadata","display","path","union","number","null","IssuanceErrorSupported","description","title","SupportedCredentialMetadata","intersection","discriminatedUnion","format","literal","vct","doctype","authentic_source","claims","credential_signing_alg_values_supported","cryptographic_binding_methods_supported","issuance_errors_supported","record","scope","TrustAnchorEntityConfiguration","BaseEntityConfiguration","exports","CredentialIssuerEntityConfiguration","and","payload","JWK","metadata","oauth_authorization_server","acr_values_supported","authorization_endpoint","client_registration_types_supported","code_challenge_methods_supported","grant_types_supported","issuer","pushed_authorization_request_endpoint","request_object_signing_alg_values_supported","response_modes_supported","scopes_supported","token_endpoint","token_endpoint_auth_methods_supported","token_endpoint_auth_signing_alg_values_supported","openid_credential_issuer","credential_configurations_supported","credential_endpoint","credential_issuer","evidence_supported","nonce_endpoint","revocation_endpoint","status_attestation_endpoint","trust_frameworks_supported","openid_credential_verifier","RelyingPartyEntityConfiguration","WalletProviderEntityConfiguration","wallet_provider","aal_values_supported","loose","EntityConfiguration","describe"],"sourceRoot":"../../../../src","sources":["trust/v1.0.0/types.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AACA,IAAAC,CAAA,GAAAC,uBAAA,CAAAF,OAAA;AAEA,IAAAG,IAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAA0D,SAAAK,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAJ,wBAAAQ,G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QAAG;QAAE,CAAC,CAAC;QACtCa,cAAc,EAAExF,CAAC,CAAC6B,MAAM,CAAC,CAAC;QAC1B4D,qCAAqC,EAAEzF,CAAC,CAACqC,KAAK,CAACrC,CAAC,CAAC6B,MAAM,CAAC,CAAC,CAAC;QAC1D6D,gDAAgD,EAAE1F,CAAC,CAACqC,KAAK,CACvDrC,CAAC,CAAC6B,MAAM,CAAC,CACX;MACF,CAAC,CAAC,CACD4E,KAAK,CAAC;IACX,CAAC;EACH,CAAC;AACH,CAAC,CACH,CAAC;;AAED;AAAAlC,OAAA,CAAA+B,iCAAA,GAAAA,iCAAA;AAEO,MAAMI,mBAAmB,GAAG1G,CAAC,CACjCiD,KAAK,CAAC,CACLqD,iCAAiC,EACjC9B,mCAAmC,EACnCH,8BAA8B,EAC9BgC,+BAA+B,CAChC,CAAC,CACDM,QAAQ,CAAC,2DAA2D,CAAC;AAACpC,OAAA,CAAAmC,mBAAA,GAAAA,mBAAA"}
1
+ {"version":3,"names":["_ioWalletOidFederation","require","z","_interopRequireWildcard","_jwk","_types","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","RelyingPartyMetadata","object","application_type","string","optional","authorization_encrypted_response_alg","authorization_encrypted_response_enc","authorization_signed_response_alg","client_id","client_name","contacts","array","jwks","keys","jsonWebKeySchema","request_uris","CredentialDisplayMetadata","locale","name","CredentialIssuerDisplayMetadata","ClaimsMetadata","display","path","union","number","null","IssuanceErrorSupported","description","title","SupportedCredentialMetadata","intersection","discriminatedUnion","format","literal","vct","doctype","authentic_source","claims","credential_signing_alg_values_supported","cryptographic_binding_methods_supported","issuance_errors_supported","record","scope","TrustAnchorEntityConfiguration","exports","BaseEntityConfiguration","CredentialIssuerEntityConfiguration","and","payload","JWK","metadata","oauth_authorization_server","acr_values_supported","authorization_endpoint","client_registration_types_supported","code_challenge_methods_supported","grant_types_supported","issuer","pushed_authorization_request_endpoint","request_object_signing_alg_values_supported","response_modes_supported","scopes_supported","token_endpoint","token_endpoint_auth_methods_supported","token_endpoint_auth_signing_alg_values_supported","openid_credential_issuer","credential_configurations_supported","credential_endpoint","credential_issuer","evidence_supported","nonce_endpoint","revocation_endpoint","status_attestation_endpoint","trust_frameworks_supported","openid_credential_verifier","RelyingPartyEntityConfiguration","WalletProviderEntityConfiguration","wallet_provider","aal_values_supported","loose","EntityConfiguration","describe"],"sourceRoot":"../../../../src","sources":["trust/v1.0.0/types.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AACA,IAAAC,CAAA,GAAAC,uBAAA,CAAAF,OAAA;AAEA,IAAAG,IAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAA0D,SAAAE,wBAAAG,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAL,uBAAA,YAAAA,CAAAG,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,C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,8BAAuB,CAACE,GAAG,CAC1EtE,CAAC,CAACwB,MAAM,CAAC;EACP+C,OAAO,EAAEvE,CAAC,CAACwB,MAAM,CAAC;IAChBiD,QAAQ,EAAEzE,CAAC,CAACwB,MAAM,CAAC;MACjB4E,eAAe,EAAEpG,CAAC,CACfwB,MAAM,CAAC;QACN6E,oBAAoB,EAAErG,CAAC,CAACkC,KAAK,CAAClC,CAAC,CAAC0B,MAAM,CAAC,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;QACpDoD,qBAAqB,EAAE/E,CAAC,CAACkC,KAAK,CAAClC,CAAC,CAAC0B,MAAM,CAAC,CAAC,CAAC;QAC1CS,IAAI,EAAEnC,CAAC,CAACwB,MAAM,CAAC;UAAEY,IAAI,EAAEpC,CAAC,CAACkC,KAAK,CAACsC,QAAG;QAAE,CAAC,CAAC;QACtCa,cAAc,EAAErF,CAAC,CAAC0B,MAAM,CAAC,CAAC;QAC1B4D,qCAAqC,EAAEtF,CAAC,CAACkC,KAAK,CAAClC,CAAC,CAAC0B,MAAM,CAAC,CAAC,CAAC;QAC1D6D,gDAAgD,EAAEvF,CAAC,CAACkC,KAAK,CACvDlC,CAAC,CAAC0B,MAAM,CAAC,CACX;MACF,CAAC,CAAC,CACD4E,KAAK,CAAC;IACX,CAAC;EACH,CAAC;AACH,CAAC,CACH,CAAC;;AAED;;AAEO,MAAMC,mBAAmB,GAAApC,OAAA,CAAAoC,mBAAA,GAAGvG,CAAC,CACjC8C,KAAK,CAAC,CACLqD,iCAAiC,EACjC9B,mCAAmC,EACnCH,8BAA8B,EAC9BgC,+BAA+B,CAChC,CAAC,CACDM,QAAQ,CAAC,2DAA2D,CAAC","ignoreList":[]}
@@ -5,15 +5,14 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.verifyTrustChain = void 0;
7
7
  var _zod = require("zod");
8
- var _types = require("../common/types");
9
- var _verifyChain = require("../common/verify-chain");
10
- var _types2 = require("./types");
11
- const verifyTrustChain = (0, _verifyChain.createVerifyTrustChain)({
8
+ var _types = require("../common/types.js");
9
+ var _verifyChain = require("../common/verify-chain.js");
10
+ var _types2 = require("./types.js");
11
+ const verifyTrustChain = exports.verifyTrustChain = (0, _verifyChain.createVerifyTrustChain)({
12
12
  EntityConfigurationShape: _types2.EntityConfiguration,
13
13
  EntityStatementShape: _types.EntityStatement,
14
14
  FirstElementShape: _types2.EntityConfiguration,
15
15
  LastElementShape: _zod.z.union([_types.EntityStatement, _types2.TrustAnchorEntityConfiguration]),
16
16
  MiddleElementShape: _types.EntityStatement
17
17
  });
18
- exports.verifyTrustChain = verifyTrustChain;
19
18
  //# sourceMappingURL=verify-chain.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_zod","require","_types","_verifyChain","_types2","verifyTrustChain","createVerifyTrustChain","EntityConfigurationShape","EntityConfiguration","EntityStatementShape","EntityStatement","FirstElementShape","LastElementShape","z","union","TrustAnchorEntityConfiguration","MiddleElementShape","exports"],"sourceRoot":"../../../../src","sources":["trust/v1.0.0/verify-chain.ts"],"mappings":";;;;;;AAAA,IAAAA,IAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAEO,MAAMI,gBAAgB,GAAG,IAAAC,mCAAsB,EAAC;EACrDC,wBAAwB,EAAEC,2BAAmB;EAC7CC,oBAAoB,EAAEC,sBAAe;EACrCC,iBAAiB,EAAEH,2BAAmB;EACtCI,gBAAgB,EAAEC,MAAC,CAACC,KAAK,CAAC,CAACJ,sBAAe,EAAEK,sCAA8B,CAAC,CAAC;EAC5EC,kBAAkB,EAAEN;AACtB,CAAC,CAAC;AAACO,OAAA,CAAAZ,gBAAA,GAAAA,gBAAA"}
1
+ {"version":3,"names":["_zod","require","_types","_verifyChain","_types2","verifyTrustChain","exports","createVerifyTrustChain","EntityConfigurationShape","EntityConfiguration","EntityStatementShape","EntityStatement","FirstElementShape","LastElementShape","z","union","TrustAnchorEntityConfiguration","MiddleElementShape"],"sourceRoot":"../../../../src","sources":["trust/v1.0.0/verify-chain.ts"],"mappings":";;;;;;AAAA,IAAAA,IAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAEO,MAAMI,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,GAAG,IAAAE,mCAAsB,EAAC;EACrDC,wBAAwB,EAAEC,2BAAmB;EAC7CC,oBAAoB,EAAEC,sBAAe;EACrCC,iBAAiB,EAAEH,2BAAmB;EACtCI,gBAAgB,EAAEC,MAAC,CAACC,KAAK,CAAC,CAACJ,sBAAe,EAAEK,sCAA8B,CAAC,CAAC;EAC5EC,kBAAkB,EAAEN;AACtB,CAAC,CAAC","ignoreList":[]}
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.getRelyingPartyEntityConfiguration = void 0;
7
7
  var _ioReactNativeJwt = require("@pagopa/io-react-native-jwt");
8
- var _utils = require("../common/utils");
9
- var _types = require("./types");
8
+ var _utils = require("../common/utils.js");
9
+ var _types = require("./types.js");
10
10
  /**
11
11
  * Fetch and parse the entity configuration document for a given federation entity.
12
12
  * This is an inner method to serve public interfaces.
@@ -25,10 +25,9 @@ var _types = require("./types");
25
25
  * @throws {IoWalletError} If the http request fails
26
26
  * @throws Parse error if the document is not in the expected shape.
27
27
  */
28
- async function fetchAndParseEntityConfiguration(entityBaseUrl, schema) {
29
- let {
30
- appFetch = fetch
31
- } = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
28
+ async function fetchAndParseEntityConfiguration(entityBaseUrl, schema, {
29
+ appFetch = fetch
30
+ } = {}) {
32
31
  const responseText = await (0, _utils.getSignedEntityConfiguration)(entityBaseUrl, {
33
32
  appFetch
34
33
  });
@@ -1 +1 @@
1
- {"version":3,"names":["_ioReactNativeJwt","require","_utils","_types","fetchAndParseEntityConfiguration","entityBaseUrl","schema","appFetch","fetch","arguments","length","undefined","responseText","getSignedEntityConfiguration","responseJwt","decodeJwt","parse","header","protectedHeader","payload","getRelyingPartyEntityConfiguration","options","RelyingPartyEntityConfiguration","exports"],"sourceRoot":"../../../../src","sources":["trust/v1.4.6/entities.ts"],"mappings":";;;;;;AAEA,IAAAA,iBAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AAIA,IAAAE,MAAA,GAAAF,OAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAeG,gCAAgCA,CAC7CC,aAAqB,EACrBC,MAAoB,EAER;EAAA,IADZ;IAAEC,QAAQ,GAAGC;EAAoB,CAAC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAEvC,MAAMG,YAAY,GAAG,MAAM,IAAAC,mCAA4B,EAACR,aAAa,EAAE;IACrEE;EACF,CAAC,CAAC;EAEF,MAAMO,WAAW,GAAG,IAAAC,wBAAS,EAACH,YAAY,CAAC;EAC3C,OAAON,MAAM,CAACU,KAAK,CAAC;IAClBC,MAAM,EAAEH,WAAW,CAACI,eAAe;IACnCC,OAAO,EAAEL,WAAW,CAACK;EACvB,CAAC,CAAC;AACJ;AAEO,MAAMC,kCAAkC,GAAGA,CAChDf,aAAqB,EACrBgB,OAAsB,KAEtBjB,gCAAgC,CAC9BC,aAAa,EACbiB,sCAA+B,EAC/BD,OACF,CAAC;AAACE,OAAA,CAAAH,kCAAA,GAAAA,kCAAA"}
1
+ {"version":3,"names":["_ioReactNativeJwt","require","_utils","_types","fetchAndParseEntityConfiguration","entityBaseUrl","schema","appFetch","fetch","responseText","getSignedEntityConfiguration","responseJwt","decodeJwt","parse","header","protectedHeader","payload","getRelyingPartyEntityConfiguration","options","RelyingPartyEntityConfiguration","exports"],"sourceRoot":"../../../../src","sources":["trust/v1.4.6/entities.ts"],"mappings":";;;;;;AAEA,IAAAA,iBAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AAIA,IAAAE,MAAA,GAAAF,OAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAeG,gCAAgCA,CAC7CC,aAAqB,EACrBC,MAAoB,EACpB;EAAEC,QAAQ,GAAGC;AAAoB,CAAC,GAAG,CAAC,CAAC,EAC3B;EACZ,MAAMC,YAAY,GAAG,MAAM,IAAAC,mCAA4B,EAACL,aAAa,EAAE;IACrEE;EACF,CAAC,CAAC;EAEF,MAAMI,WAAW,GAAG,IAAAC,wBAAS,EAACH,YAAY,CAAC;EAC3C,OAAOH,MAAM,CAACO,KAAK,CAAC;IAClBC,MAAM,EAAEH,WAAW,CAACI,eAAe;IACnCC,OAAO,EAAEL,WAAW,CAACK;EACvB,CAAC,CAAC;AACJ;AAEO,MAAMC,kCAAkC,GAAGA,CAChDZ,aAAqB,EACrBa,OAAsB,KAEtBd,gCAAgC,CAC9BC,aAAa,EACbc,sCAA+B,EAC/BD,OACF,CAAC;AAACE,OAAA,CAAAH,kCAAA,GAAAA,kCAAA","ignoreList":[]}
@@ -6,13 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.WalletProviderEntityConfiguration = exports.RelyingPartyEntityConfiguration = exports.EntityConfiguration = exports.CredentialIssuerEntityConfiguration = void 0;
7
7
  var _ioWalletOidFederation = require("@pagopa/io-wallet-oid-federation");
8
8
  var z = _interopRequireWildcard(require("zod"));
9
- var _jwk = require("../../utils/jwk");
10
- var _types = require("../common/types");
11
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
12
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
9
+ var _jwk = require("../../utils/jwk.js");
10
+ var _types = require("../common/types.js");
11
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
13
12
  // Entity configuration for a Credential Issuer
14
13
 
15
- const CredentialIssuerEntityConfiguration = _types.BaseEntityConfiguration.and(z.object({
14
+ const CredentialIssuerEntityConfiguration = exports.CredentialIssuerEntityConfiguration = _types.BaseEntityConfiguration.and(z.object({
16
15
  payload: z.object({
17
16
  jwks: z.object({
18
17
  keys: z.array(_jwk.JWK)
@@ -26,8 +25,8 @@ const CredentialIssuerEntityConfiguration = _types.BaseEntityConfiguration.and(z
26
25
  }));
27
26
 
28
27
  // Entity configuration for a Relying Party
29
- exports.CredentialIssuerEntityConfiguration = CredentialIssuerEntityConfiguration;
30
- const RelyingPartyEntityConfiguration = _types.BaseEntityConfiguration.and(z.object({
28
+
29
+ const RelyingPartyEntityConfiguration = exports.RelyingPartyEntityConfiguration = _types.BaseEntityConfiguration.and(z.object({
31
30
  payload: z.object({
32
31
  metadata: z.object({
33
32
  openid_credential_verifier: _ioWalletOidFederation.itWalletCredentialVerifierMetadataV1_3
@@ -36,8 +35,8 @@ const RelyingPartyEntityConfiguration = _types.BaseEntityConfiguration.and(z.obj
36
35
  }));
37
36
 
38
37
  // Entity configuration for a Wallet Provider
39
- exports.RelyingPartyEntityConfiguration = RelyingPartyEntityConfiguration;
40
- const WalletProviderEntityConfiguration = _types.BaseEntityConfiguration.and(z.object({
38
+
39
+ const WalletProviderEntityConfiguration = exports.WalletProviderEntityConfiguration = _types.BaseEntityConfiguration.and(z.object({
41
40
  payload: z.object({
42
41
  metadata: z.object({
43
42
  wallet_solution: _ioWalletOidFederation.itWalletSolutionEntityMetadataV1_3
@@ -46,7 +45,6 @@ const WalletProviderEntityConfiguration = _types.BaseEntityConfiguration.and(z.o
46
45
  }));
47
46
 
48
47
  // Maps any entity configuration by the union of every possible shapes
49
- exports.WalletProviderEntityConfiguration = WalletProviderEntityConfiguration;
50
- const EntityConfiguration = z.union([WalletProviderEntityConfiguration, CredentialIssuerEntityConfiguration, RelyingPartyEntityConfiguration]).describe("Any kind of Entity Configuration allowed in the ecosystem");
51
- exports.EntityConfiguration = EntityConfiguration;
48
+
49
+ const EntityConfiguration = exports.EntityConfiguration = z.union([WalletProviderEntityConfiguration, CredentialIssuerEntityConfiguration, RelyingPartyEntityConfiguration]).describe("Any kind of Entity Configuration allowed in the ecosystem");
52
50
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_ioWalletOidFederation","require","z","_interopRequireWildcard","_jwk","_types","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","CredentialIssuerEntityConfiguration","BaseEntityConfiguration","and","object","payload","jwks","keys","array","JWK","metadata","oauth_authorization_server","itWalletAuthorizationServerMetadataV1_3","openid_credential_issuer","itWalletCredentialIssuerMetadataV1_3","openid_credential_verifier","itWalletCredentialVerifierMetadataV1_3","optional","exports","RelyingPartyEntityConfiguration","WalletProviderEntityConfiguration","wallet_solution","itWalletSolutionEntityMetadataV1_3","EntityConfiguration","union","describe"],"sourceRoot":"../../../../src","sources":["trust/v1.4.6/types.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AAMA,IAAAC,CAAA,GAAAC,uBAAA,CAAAF,OAAA;AAEA,IAAAG,IAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAA0D,SAAAK,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAJ,wBAAAQ,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GA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5B,CAAC,CAAC6B,MAAM,CAAC;EACPC,OAAO,EAAE9B,CAAC,CAAC6B,MAAM,CAAC;IAChBM,QAAQ,EAAEnC,CAAC,CAAC6B,MAAM,CAAC;MACjBiB,eAAe,EAAEC;IACnB,CAAC;EACH,CAAC;AACH,CAAC,CACH,CAAC;;AAED;AAAAJ,OAAA,CAAAE,iCAAA,GAAAA,iCAAA;AAEO,MAAMG,mBAAmB,GAAGhD,CAAC,CACjCiD,KAAK,CAAC,CACLJ,iCAAiC,EACjCnB,mCAAmC,EACnCkB,+BAA+B,CAChC,CAAC,CACDM,QAAQ,CAAC,2DAA2D,CAAC;AAACP,OAAA,CAAAK,mBAAA,GAAAA,mBAAA"}
1
+ {"version":3,"names":["_ioWalletOidFederation","require","z","_interopRequireWildcard","_jwk","_types","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CredentialIssuerEntityConfiguration","exports","BaseEntityConfiguration","and","object","payload","jwks","keys","array","JWK","metadata","oauth_authorization_server","itWalletAuthorizationServerMetadataV1_3","openid_credential_issuer","itWalletCredentialIssuerMetadataV1_3","openid_credential_verifier","itWalletCredentialVerifierMetadataV1_3","optional","RelyingPartyEntityConfiguration","WalletProviderEntityConfiguration","wallet_solution","itWalletSolutionEntityMetadataV1_3","EntityConfiguration","union","describe"],"sourceRoot":"../../../../src","sources":["trust/v1.4.6/types.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AAMA,IAAAC,CAAA,GAAAC,uBAAA,CAAAF,OAAA;AAEA,IAAAG,IAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAA0D,SAAAE,wBAAAG,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAL,uBAAA,YAAAA,CAAAG,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,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CAAC;EACH,CAAC;AACH,CAAC,CACH,CAAC;;AAED;;AAIO,MAAMC,+BAA+B,GAAAjB,OAAA,CAAAiB,+BAAA,GAAGhB,8BAAuB,CAACC,GAAG,CACxE1B,CAAC,CAAC2B,MAAM,CAAC;EACPC,OAAO,EAAE5B,CAAC,CAAC2B,MAAM,CAAC;IAChBM,QAAQ,EAAEjC,CAAC,CAAC2B,MAAM,CAAC;MACjBW,0BAA0B,EAAEC;IAC9B,CAAC;EACH,CAAC;AACH,CAAC,CACH,CAAC;;AAED;;AAIO,MAAMG,iCAAiC,GAAAlB,OAAA,CAAAkB,iCAAA,GAAGjB,8BAAuB,CAACC,GAAG,CAC1E1B,CAAC,CAAC2B,MAAM,CAAC;EACPC,OAAO,EAAE5B,CAAC,CAAC2B,MAAM,CAAC;IAChBM,QAAQ,EAAEjC,CAAC,CAAC2B,MAAM,CAAC;MACjBgB,eAAe,EAAEC;IACnB,CAAC;EACH,CAAC;AACH,CAAC,CACH,CAAC;;AAED;;AAEO,MAAMC,mBAAmB,GAAArB,OAAA,CAAAqB,mBAAA,GAAG7C,CAAC,CACjC8C,KAAK,CAAC,CACLJ,iCAAiC,EACjCnB,mCAAmC,EACnCkB,+BAA+B,CAChC,CAAC,CACDM,QAAQ,CAAC,2DAA2D,CAAC","ignoreList":[]}
@@ -5,8 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.AuthorizationResultShape = exports.AuthorizationErrorShape = exports.AuthorizationChallengeResultShape = void 0;
7
7
  var z = _interopRequireWildcard(require("zod"));
8
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
9
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
8
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
10
9
  /**
11
10
  * Context for authorization during the {@link 03-start-user-authorization.ts} phase.
12
11
  * It consists of a single method to identify the user which takes a URL and a redirect schema as input.
@@ -16,7 +15,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
16
15
  /**
17
16
  * The result of the identification process.
18
17
  */
19
- const AuthorizationResultShape = z.object({
18
+ const AuthorizationResultShape = exports.AuthorizationResultShape = z.object({
20
19
  code: z.string(),
21
20
  iss: z.string().optional(),
22
21
  state: z.string()
@@ -28,8 +27,7 @@ const AuthorizationResultShape = z.object({
28
27
  * @see https://openid.net/specs/openid-connect-core-1_0.html#AuthError
29
28
  * @see https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.2.1
30
29
  */
31
- exports.AuthorizationResultShape = AuthorizationResultShape;
32
- const AuthorizationErrorShape = z.object({
30
+ const AuthorizationErrorShape = exports.AuthorizationErrorShape = z.object({
33
31
  error: z.string(),
34
32
  // not enforcing the error code format
35
33
  error_description: z.string().optional(),
@@ -40,13 +38,12 @@ const AuthorizationErrorShape = z.object({
40
38
  /**
41
39
  * Type of the identification result.
42
40
  */
43
- exports.AuthorizationErrorShape = AuthorizationErrorShape;
41
+
44
42
  /**
45
43
  * MRTD PoP Challenge Info response structure
46
44
  */
47
45
 
48
- const AuthorizationChallengeResultShape = z.object({
46
+ const AuthorizationChallengeResultShape = exports.AuthorizationChallengeResultShape = z.object({
49
47
  challenge_info: z.string()
50
48
  });
51
- exports.AuthorizationChallengeResultShape = AuthorizationChallengeResultShape;
52
49
  //# sourceMappingURL=auth.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["z","_interopRequireWildcard","require","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","AuthorizationResultShape","object","code","string","iss","optional","state","exports","AuthorizationErrorShape","error","error_description","error_uri","AuthorizationChallengeResultShape","challenge_info"],"sourceRoot":"../../../src","sources":["utils/auth.ts"],"mappings":";;;;;;AAAA,IAAAA,CAAA,GAAAC,uBAAA,CAAAC,OAAA;AAAyB,SAAAC,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAH,wBAAAO,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA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,CAAC;EACxCM,SAAS,EAAEpC,CAAC,CAAC4B,MAAM,CAAC,CAAC,CAACE,QAAQ,CAAC,CAAC;EAChCC,KAAK,EAAE/B,CAAC,CAAC4B,MAAM,CAAC,CAAC,CAACE,QAAQ,CAAC;AAC7B,CAAC,CAAC;;AAEF;AACA;AACA;AAFAE,OAAA,CAAAC,uBAAA,GAAAA,uBAAA;AAKA;AACA;AACA;;AAEO,MAAMI,iCAAiC,GAAGrC,CAAC,CAAC0B,MAAM,CAAC;EACxDY,cAAc,EAAEtC,CAAC,CAAC4B,MAAM,CAAC;AAC3B,CAAC,CAAC;AAACI,OAAA,CAAAK,iCAAA,GAAAA,iCAAA"}
1
+ {"version":3,"names":["z","_interopRequireWildcard","require","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","AuthorizationResultShape","exports","object","code","string","iss","optional","state","AuthorizationErrorShape","error","error_description","error_uri","AuthorizationChallengeResultShape","challenge_info"],"sourceRoot":"../../../src","sources":["utils/auth.ts"],"mappings":";;;;;;AAAA,IAAAA,CAAA,GAAAC,uBAAA,CAAAC,OAAA;AAAyB,SAAAD,wBAAAE,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAJ,uBAAA,YAAAA,CAAAE,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAA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ACA;;AAEO,MAAMM,iCAAiC,GAAAX,OAAA,CAAAW,iCAAA,GAAGlC,CAAC,CAACwB,MAAM,CAAC;EACxDW,cAAc,EAAEnC,CAAC,CAAC0B,MAAM,CAAC;AAC3B,CAAC,CAAC","ignoreList":[]}
@@ -7,9 +7,9 @@ exports.partialCallbacks = exports.createVerifyJwtFromJwks = exports.createSignJ
7
7
  var _ioReactNativeJwt = require("@pagopa/io-react-native-jwt");
8
8
  var _cryptoNodejs = require("@sd-jwt/crypto-nodejs");
9
9
  var _jsrsasign = require("jsrsasign");
10
- var _crypto = require("./crypto");
11
- var _errors = require("./errors");
12
- var _misc = require("./misc");
10
+ var _crypto = require("./crypto.js");
11
+ var _errors = require("./errors.js");
12
+ var _misc = require("./misc.js");
13
13
  // Fix incompatibility between ArrayBuffer types
14
14
 
15
15
  /**
@@ -38,27 +38,24 @@ const getJwkFromSigner = async signer => {
38
38
  * in IO Wallet SDK. Callbacks not found here must be provided by the caller,
39
39
  * as they require parameters that depends on the use case.
40
40
  */
41
- const partialCallbacks = {
41
+ const partialCallbacks = exports.partialCallbacks = {
42
42
  decryptJwe: () => {
43
43
  throw new _errors.IoWalletError("decryptJwe is not implemented");
44
44
  },
45
- encryptJwe: async (_ref, data) => {
46
- let {
45
+ encryptJwe: async ({
46
+ alg,
47
+ enc,
48
+ kid,
49
+ publicJwk
50
+ }, data) => ({
51
+ encryptionJwk: publicJwk,
52
+ // @ts-expect-error `alg` and `enc` are strings, but EncryptJwe expects specific string literals
53
+ jwe: await new _ioReactNativeJwt.EncryptJwe(data, {
47
54
  alg,
48
55
  enc,
49
- kid,
50
- publicJwk
51
- } = _ref;
52
- return {
53
- encryptionJwk: publicJwk,
54
- // @ts-expect-error `alg` and `enc` are strings, but EncryptJwe expects specific string literals
55
- jwe: await new _ioReactNativeJwt.EncryptJwe(data, {
56
- alg,
57
- enc,
58
- kid
59
- }).encrypt(publicJwk)
60
- };
61
- },
56
+ kid
57
+ }).encrypt(publicJwk)
58
+ }),
62
59
  generateRandom: _misc.generateRandomBytes,
63
60
  getX509CertificateMetadata: certificate => {
64
61
  const x509 = new _jsrsasign.X509();
@@ -92,7 +89,6 @@ const partialCallbacks = {
92
89
  }
93
90
  }
94
91
  };
95
- exports.partialCallbacks = partialCallbacks;
96
92
  /**
97
93
  * Create a verifyJwt implementation that extracts the JWK for signature verification
98
94
  * from a list of keys, matching the `kid` in the JWT header.
@@ -123,11 +119,10 @@ const createVerifyJwtFromJwks = jwks => async function verifyJwt(_, jwt) {
123
119
  * @returns Function that implements `signJwt` callback
124
120
  */
125
121
  exports.createVerifyJwtFromJwks = createVerifyJwtFromJwks;
126
- const createSignJwtFromCryptoContext = cryptoContext => async function signJwt(jwtSigner, _ref2) {
127
- let {
128
- header,
129
- payload
130
- } = _ref2;
122
+ const createSignJwtFromCryptoContext = cryptoContext => async function signJwt(jwtSigner, {
123
+ header,
124
+ payload
125
+ }) {
131
126
  return {
132
127
  jwt: await new _ioReactNativeJwt.SignJWT(cryptoContext).setProtectedHeader(header).setPayload(payload).sign(),
133
128
  signerJwk: jwtSigner.method === "jwk" ? jwtSigner.publicJwk : await cryptoContext.getPublicKey()
@@ -1 +1 @@
1
- {"version":3,"names":["_ioReactNativeJwt","require","_cryptoNodejs","_jsrsasign","_crypto","_errors","_misc","getJwkFromSigner","signer","method","assert","trustChain","length","getJwkFromTrustChain","kid","publicJwk","getJwkFromCertificateChain","x5c","IoWalletError","partialCallbacks","decryptJwe","encryptJwe","_ref","data","alg","enc","encryptionJwk","jwe","EncryptJwe","encrypt","generateRandom","generateRandomBytes","getX509CertificateMetadata","certificate","x509","X509","readCertPEM","sanExt","getExtSubjectAltName","sanDnsNames","sanUriNames","item","array","push","dns","uri","hash","digest","verifyJwt","jwtSigner","jwt","signerJwk","verify","compact","verified","exports","createVerifyJwtFromJwks","jwks","_","getJwkFromHeader","header","createSignJwtFromCryptoContext","cryptoContext","signJwt","_ref2","payload","SignJWT","setProtectedHeader","setPayload","sign","getPublicKey"],"s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,SAAS,GAAG,IAAAQ,kCAAgB,EAACT,GAAG,CAACU,MAAM,EAAeH,IAAI,CAAC;IACjE,MAAM,IAAAL,wBAAM,EAACF,GAAG,CAACG,OAAO,EAAEF,SAAS,CAAC;IACpC,OAAO;MAAEA,SAAS;MAAEG,QAAQ,EAAE;IAAK,CAAC;EACtC,CAAC,CAAC,MAAM;IACN,OAAO;MAAEA,QAAQ,EAAE;IAAM,CAAC;EAC5B;AACF,CAAC;;AAEH;AACA;AACA;AACA;AACA;AAJAC,OAAA,CAAAC,uBAAA,GAAAA,uBAAA;AAKO,MAAMK,8BAA8B,GACzCC,aAA4B,IAE5B,eAAeC,OAAOA,CAACd,SAAS,EAAAe,KAAA,EAAuB;EAAA,IAArB;IAAEJ,MAAM;IAAEK;EAAQ,CAAC,GAAAD,KAAA;EACnD,OAAO;IACLd,GAAG,EAAE,MAAM,IAAIgB,yBAAO,CAACJ,aAAa,CAAC,CAClCK,kBAAkB,CAACP,MAAM,CAAC,CAC1BQ,UAAU,CAACH,OAAO,CAAC,CACnBI,IAAI,CAAC,CAAC;IACTlB,SAAS,EACPF,SAAS,CAACxC,MAAM,KAAK,KAAK,GACtBwC,SAAS,CAAClC,SAAS,GACnB,MAAM+C,aAAa,CAACQ,YAAY,CAAC;EACzC,CAAC;AACH,CAAC;AAACf,OAAA,CAAAM,8BAAA,GAAAA,8BAAA"}
1
+ {"version":3,"names":["_ioReactNativeJwt","require","_cryptoNodejs","_jsrsasign","_crypto","_errors","_misc","getJwkFromSigner","signer","method","assert","trustChain","length","getJwkFromTrustChain","kid","publicJwk","getJwkFromCertificateChain","x5c","IoWalletError","partialCallbacks","exports","decryptJwe","encryptJwe","alg","enc","data","encryptionJwk","jwe","EncryptJwe","encrypt","generateRandom","generateRandomBytes","getX509CertificateMetadata","certificate","x509","X509","readCertPEM","sanExt","getExtSubjectAltName","sanDnsNames","sanUriNames","item","array","push","dns","uri","hash","digest","verifyJwt","jwtSigner","jwt","signerJwk","verify","compact","verified","createVerifyJwtFromJwks","jwks","_","getJwkFromHeader","header","createSignJwtFromCryptoContext","cryptoContext","signJwt","payload","SignJWT","setProtectedHeader","setPayload","sign","getPublicKey"],"sourceRoot":"../../../src","sources":["utils/callbacks.ts"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AAQA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAIA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAL,OAAA;AAEA;;AAWA;AACA;AACA;AACA;AACA;AACA,MAAMM,gBAAgB,GAAG,MAAOC,MAAiB,IAAmB;EAClE,QAAQA,MAAM,CAACC,MAAM;IACnB,KAAK,YAAY;MAAE;QACjB,IAAAC,YAAM,EACJF,MAAM,CAACG,UAAU,IAAIH,MAAM,CAACG,UAAU,CAACC,MAAM,GAAG,CAAC,EACjD,+CACF,CAAC;QACD,OAAO,IAAAC,4BAAoB,EAACL,MAAM,CAACG,UAAU,EAAEH,MAAM,CAACM,GAAG,CAAC;MAC5D;IACA,KAAK,KAAK;MACR,OAAON,MAAM,CAACO,SAAS;IACzB,KAAK,KAAK;MACR,OAAO,IAAAC,kCAA0B,EAACR,MAAM,CAACS,GAAG,CAAC;IAC/C;MACE,MAAM,IAAIC,qBAAa,CAAC,8BAA8BV,MAAM,CAACC,MAAM,EAAE,CAAC;EAC1E;AACF,CAAC;;AAED;AACA;AACA;AACA;AACA;AACO,MAAMU,gBAAwC,GAAAC,OAAA,CAAAD,gBAAA,GAAG;EACtDE,UAAU,EAAEA,CAAA,KAAM;IAChB,MAAM,IAAIH,qBAAa,CAAC,+BAA+B,CAAC;EAC1D,CAAC;EACDI,UAAU,EAAE,MAAAA,CAAO;IAAEC,GAAG;IAAEC,GAAG;IAAEV,GAAG;IAAEC;EAAU,CAAC,EAAEU,IAAI,MAAM;IACzDC,aAAa,EAAEX,SAAS;IACxB;IACAY,GAAG,E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,CAAC,EAAEP,GAAG,EAAE;EAC/B,IAAI;IACF,MAAMC,SAAS,GAAG,IAAAO,kCAAgB,EAACR,GAAG,CAACS,MAAM,EAAeH,IAAI,CAAC;IACjE,MAAM,IAAAJ,wBAAM,EAACF,GAAG,CAACG,OAAO,EAAEF,SAAS,CAAC;IACpC,OAAO;MAAEA,SAAS;MAAEG,QAAQ,EAAE;IAAK,CAAC;EACtC,CAAC,CAAC,MAAM;IACN,OAAO;MAAEA,QAAQ,EAAE;IAAM,CAAC;EAC5B;AACF,CAAC;;AAEH;AACA;AACA;AACA;AACA;AAJAlC,OAAA,CAAAmC,uBAAA,GAAAA,uBAAA;AAKO,MAAMK,8BAA8B,GACzCC,aAA4B,IAE5B,eAAeC,OAAOA,CAACb,SAAS,EAAE;EAAEU,MAAM;EAAEI;AAAQ,CAAC,EAAE;EACrD,OAAO;IACLb,GAAG,EAAE,MAAM,IAAIc,yBAAO,CAACH,aAAa,CAAC,CAClCI,kBAAkB,CAACN,MAAM,CAAC,CAC1BO,UAAU,CAACH,OAAO,CAAC,CACnBI,IAAI,CAAC,CAAC;IACThB,SAAS,EACPF,SAAS,CAACxC,MAAM,KAAK,KAAK,GACtBwC,SAAS,CAAClC,SAAS,GACnB,MAAM8C,aAAa,CAACO,YAAY,CAAC;EACzC,CAAC;AACH,CAAC;AAAChD,OAAA,CAAAwC,8BAAA,GAAAA,8BAAA","ignoreList":[]}
@@ -8,16 +8,14 @@ var _ioWalletUtils = require("@pagopa/io-wallet-utils");
8
8
  /**
9
9
  * IO Wallet SDK configuration object for v1.0 specs.
10
10
  */
11
- const sdkConfigV1_0 = new _ioWalletUtils.IoWalletSdkConfig({
11
+ const sdkConfigV1_0 = exports.sdkConfigV1_0 = new _ioWalletUtils.IoWalletSdkConfig({
12
12
  itWalletSpecsVersion: _ioWalletUtils.ItWalletSpecsVersion.V1_0
13
13
  });
14
14
 
15
15
  /**
16
16
  * IO Wallet SDK configuration object for v1.4 specs.
17
17
  */
18
- exports.sdkConfigV1_0 = sdkConfigV1_0;
19
- const sdkConfigV1_4 = new _ioWalletUtils.IoWalletSdkConfig({
18
+ const sdkConfigV1_4 = exports.sdkConfigV1_4 = new _ioWalletUtils.IoWalletSdkConfig({
20
19
  itWalletSpecsVersion: _ioWalletUtils.ItWalletSpecsVersion.V1_4
21
20
  });
22
- exports.sdkConfigV1_4 = sdkConfigV1_4;
23
21
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_ioWalletUtils","require","sdkConfigV1_0","IoWalletSdkConfig","itWalletSpecsVersion","ItWalletSpecsVersion","V1_0","exports","sdkConfigV1_4","V1_4"],"sourceRoot":"../../../src","sources":["utils/config.ts"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAKA;AACA;AACA;AACO,MAAMC,aAAa,GAAG,IAAIC,gCAAiB,CAAC;EACjDC,oBAAoB,EAAEC,mCAAoB,CAACC;AAC7C,CAAC,CAAC;;AAEF;AACA;AACA;AAFAC,OAAA,CAAAL,aAAA,GAAAA,aAAA;AAGO,MAAMM,aAAa,GAAG,IAAIL,gCAAiB,CAAC;EACjDC,oBAAoB,EAAEC,mCAAoB,CAACI;AAC7C,CAAC,CAAC;AAACF,OAAA,CAAAC,aAAA,GAAAA,aAAA"}
1
+ {"version":3,"names":["_ioWalletUtils","require","sdkConfigV1_0","exports","IoWalletSdkConfig","itWalletSpecsVersion","ItWalletSpecsVersion","V1_0","sdkConfigV1_4","V1_4"],"sourceRoot":"../../../src","sources":["utils/config.ts"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAKA;AACA;AACA;AACO,MAAMC,aAAa,GAAAC,OAAA,CAAAD,aAAA,GAAG,IAAIE,gCAAiB,CAAC;EACjDC,oBAAoB,EAAEC,mCAAoB,CAACC;AAC7C,CAAC,CAAC;;AAEF;AACA;AACA;AACO,MAAMC,aAAa,GAAAL,OAAA,CAAAK,aAAA,GAAG,IAAIJ,gCAAiB,CAAC;EACjDC,oBAAoB,EAAEC,mCAAoB,CAACG;AAC7C,CAAC,CAAC","ignoreList":[]}
@@ -7,8 +7,8 @@ exports.fixLegacyCredentialSdJwt = exports.extractJwkFromCredential = void 0;
7
7
  var _ioReactNativeJwt = require("@pagopa/io-react-native-jwt");
8
8
  var _cryptoNodejs = require("@sd-jwt/crypto-nodejs");
9
9
  var _decode = require("@sd-jwt/decode");
10
- var _types = require("../sd-jwt/types");
11
- var _errors = require("./errors");
10
+ var _types = require("../sd-jwt/types.js");
11
+ var _errors = require("./errors.js");
12
12
  const SD_JWT = ["dc+sd-jwt", _types.LEGACY_SD_JWT];
13
13
 
14
14
  /**
@@ -41,8 +41,7 @@ const extractJwkFromCredential = async (credential, format) => {
41
41
  exports.extractJwkFromCredential = extractJwkFromCredential;
42
42
  const fixLegacyCredentialSdJwt = token => {
43
43
  if (!token.endsWith("~")) {
44
- var _token$split$at;
45
- const hasKeyBindingJwt = ((_token$split$at = token.split("~").at(-1)) === null || _token$split$at === void 0 ? void 0 : _token$split$at.split(".").length) === 3;
44
+ const hasKeyBindingJwt = token.split("~").at(-1)?.split(".").length === 3;
46
45
  // Either we have a key binding JWT or it is a legacy 0.7.1 credential
47
46
  return hasKeyBindingJwt ? token : `${token}~`;
48
47
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_ioReactNativeJwt","require","_cryptoNodejs","_decode","_types","_errors","SD_JWT","LEGACY_SD_JWT","extractJwkFromCredential","credential","format","includes","decoded","decodeSdJwtSync","fixLegacyCredentialSdJwt","digest","cnf","jwt","payload","jwk","kid","thumbprint","IoWalletError","exports","token","endsWith","_token$split$at","hasKeyBindingJwt","split","at","length"],"sourceRoot":"../../../src","sources":["utils/credentials.ts"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AAKA,IAAAG,MAAA,GAAAH,OAAA;AAKA,IAAAI,OAAA,GAAAJ,OAAA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ACY_SD_JWT","extractJwkFromCredential","credential","format","includes","decoded","decodeSdJwtSync","fixLegacyCredentialSdJwt","digest","cnf","jwt","payload","jwk","kid","thumbprint","IoWalletError","exports","token","endsWith","hasKeyBindingJwt","split","at","length"],"sourceRoot":"../../../src","sources":["utils/credentials.ts"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AAKA,IAAAG,MAAA,GAAAH,OAAA;AAKA,IAAAI,OAAA,GAAAJ,OAAA;AAEA,MAAMK,MAAM,GAAG,CAAC,WAAW,EAAEC,oBAAa,CAAC;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,wBAAwB,GAAG,MAAAA,CACtCC,UAAkB,EAClBC,MAAqD,KACpC;EACjB,IAAIJ,MAAM,CAACK,QAAQ,CAACD,MAAM,CAAC,EAAE;IAC3B;IACA,MAAME,OAAO,GAAG,IAAAC,uBAAe,EAC7BC,wBAAwB,CAACL,UAAU,CAAC,EACpCM,oBACF,CAAC;IACD,MAAM;MAAEC;IAAI,CAAC,GAAGJ,OAAO,CAACK,GAAG,CAACC,OAAkC;IAC9D,IAAIF,GAAG,CAACG,GAAG,EAAE;MACX,OAAO;QAAE,GAAGH,GAAG,CAACG,GAAG;QAAEC,GAAG,EAAE,MAAM,IAAAC,4BAAU,EAACL,GAAG,CAACG,GAAG;MAAE,CAAC;IACvD;EACF;EACA,MAAM,IAAIG,qBAAa,CAAC,qBAAqBZ,MAAM,gBAAgB,CAAC;AACtE,CAAC;;AAED;AACA;AACA;AACA;AAHAa,OAAA,CAAAf,wBAAA,GAAAA,wBAAA;AAIO,MAAMM,wBAAwB,GAAIU,KAAa,IAAK;EACzD,IAAI,CAACA,KAAK,CAACC,QAAQ,CAAC,GAAG,CAAC,EAAE;IACxB,MAAMC,gBAAgB,GAAGF,KAAK,CAACG,KAAK,CAAC,GAAG,CAAC,CAACC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAED,KAAK,CAAC,GAAG,CAAC,CAACE,MAAM,KAAK,CAAC;IACzE;IACA,OAAOH,gBAAgB,GAAGF,KAAK,GAAG,GAAGA,KAAK,GAAG;EAC/C;EACA,OAAOA,KAAK;AACd,CAAC;AAACD,OAAA,CAAAT,wBAAA,GAAAA,wBAAA","ignoreList":[]}
@@ -8,8 +8,8 @@ var _ioReactNativeCrypto = require("@pagopa/io-react-native-crypto");
8
8
  var _ioReactNativeJwt = require("@pagopa/io-react-native-jwt");
9
9
  var _jsrsasign = require("jsrsasign");
10
10
  var _uuid = require("uuid");
11
- var _errors = require("./errors");
12
- var _jwk = require("./jwk");
11
+ var _errors = require("./errors.js");
12
+ var _jwk = require("./jwk.js");
13
13
  /**
14
14
  * Extension of the {@link CryptoContext} that adds key generation with optional key attestation.
15
15
  *