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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1012) hide show
  1. package/lib/commonjs/IoWallet.js +5 -3
  2. package/lib/commonjs/IoWallet.js.map +1 -1
  3. package/lib/commonjs/api/index.js +19 -19
  4. package/lib/commonjs/api/index.js.map +1 -1
  5. package/lib/commonjs/client/generated/wallet-provider.js +23 -4
  6. package/lib/commonjs/client/generated/wallet-provider.js.map +1 -1
  7. package/lib/commonjs/client/index.js +9 -11
  8. package/lib/commonjs/client/index.js.map +1 -1
  9. package/lib/commonjs/credential/issuance/api/IssuerConfig.js +23 -23
  10. package/lib/commonjs/credential/issuance/api/IssuerConfig.js.map +1 -1
  11. package/lib/commonjs/credential/issuance/api/mrtd-pop/index.js.map +1 -1
  12. package/lib/commonjs/credential/issuance/api/types.js +3 -3
  13. package/lib/commonjs/credential/issuance/api/types.js.map +1 -1
  14. package/lib/commonjs/credential/issuance/common/02-start-user-authorization.js +3 -0
  15. package/lib/commonjs/credential/issuance/common/02-start-user-authorization.js.map +1 -1
  16. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.mdoc.js +11 -8
  17. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.mdoc.js.map +1 -1
  18. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js +13 -13
  19. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
  20. package/lib/commonjs/credential/issuance/common/errors.js +0 -3
  21. package/lib/commonjs/credential/issuance/common/errors.js.map +1 -1
  22. package/lib/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js +4 -4
  23. package/lib/commonjs/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js.map +1 -1
  24. package/lib/commonjs/credential/issuance/mrtd-pop/02-init-challenge.js +14 -14
  25. package/lib/commonjs/credential/issuance/mrtd-pop/02-init-challenge.js.map +1 -1
  26. package/lib/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.js +20 -20
  27. package/lib/commonjs/credential/issuance/mrtd-pop/03-validate-challenge.js.map +1 -1
  28. package/lib/commonjs/credential/issuance/mrtd-pop/index.js +4 -4
  29. package/lib/commonjs/credential/issuance/mrtd-pop/index.js.map +1 -1
  30. package/lib/commonjs/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js.map +1 -1
  31. package/lib/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.js +13 -13
  32. package/lib/commonjs/credential/issuance/v1.0.0/02-start-user-authorization.js.map +1 -1
  33. package/lib/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.js +18 -18
  34. package/lib/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.js.map +1 -1
  35. package/lib/commonjs/credential/issuance/v1.0.0/04-authorize-access.js +10 -10
  36. package/lib/commonjs/credential/issuance/v1.0.0/04-authorize-access.js.map +1 -1
  37. package/lib/commonjs/credential/issuance/v1.0.0/05-obtain-credential.js +24 -15
  38. package/lib/commonjs/credential/issuance/v1.0.0/05-obtain-credential.js.map +1 -1
  39. package/lib/commonjs/credential/issuance/v1.0.0/06-verify-and-parse-credential.js.map +1 -1
  40. package/lib/commonjs/credential/issuance/v1.0.0/index.js +8 -8
  41. package/lib/commonjs/credential/issuance/v1.0.0/index.js.map +1 -1
  42. package/lib/commonjs/credential/issuance/v1.0.0/mappers.js +7 -7
  43. package/lib/commonjs/credential/issuance/v1.0.0/mappers.js.map +1 -1
  44. package/lib/commonjs/credential/issuance/v1.0.0/types.js.map +1 -1
  45. package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +3 -3
  46. package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
  47. package/lib/commonjs/credential/issuance/v1.3.3/02-start-user-authorization.js +30 -30
  48. package/lib/commonjs/credential/issuance/v1.3.3/02-start-user-authorization.js.map +1 -1
  49. package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js +37 -37
  50. package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
  51. package/lib/commonjs/credential/issuance/v1.3.3/04-authorize-access.js +16 -16
  52. package/lib/commonjs/credential/issuance/v1.3.3/04-authorize-access.js.map +1 -1
  53. package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js +32 -28
  54. package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
  55. package/lib/commonjs/credential/issuance/v1.3.3/06-verify-and-parse-credential.js.map +1 -1
  56. package/lib/commonjs/credential/issuance/v1.3.3/index.js +8 -8
  57. package/lib/commonjs/credential/issuance/v1.3.3/index.js.map +1 -1
  58. package/lib/commonjs/credential/issuance/v1.3.3/mappers.js +18 -17
  59. package/lib/commonjs/credential/issuance/v1.3.3/mappers.js.map +1 -1
  60. package/lib/commonjs/credential/offer/common/errors.js +0 -6
  61. package/lib/commonjs/credential/offer/common/errors.js.map +1 -1
  62. package/lib/commonjs/credential/offer/v1.0.0/index.js +3 -3
  63. package/lib/commonjs/credential/offer/v1.0.0/index.js.map +1 -1
  64. package/lib/commonjs/credential/offer/v1.3.3/01-resolve-credential-offer.js +4 -4
  65. package/lib/commonjs/credential/offer/v1.3.3/01-resolve-credential-offer.js.map +1 -1
  66. package/lib/commonjs/credential/offer/v1.3.3/02-extract-grant-details.js +4 -4
  67. package/lib/commonjs/credential/offer/v1.3.3/02-extract-grant-details.js.map +1 -1
  68. package/lib/commonjs/credential/offer/v1.3.3/03-validate-credential-offer.js +5 -5
  69. package/lib/commonjs/credential/offer/v1.3.3/03-validate-credential-offer.js.map +1 -1
  70. package/lib/commonjs/credential/offer/v1.3.3/index.js +1 -1
  71. package/lib/commonjs/credential/offer/v1.3.3/index.js.map +1 -1
  72. package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js +8 -8
  73. package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
  74. package/lib/commonjs/credential/presentation/api/types.js +11 -11
  75. package/lib/commonjs/credential/presentation/api/types.js.map +1 -1
  76. package/lib/commonjs/credential/presentation/common/errors.js +24 -23
  77. package/lib/commonjs/credential/presentation/common/errors.js.map +1 -1
  78. package/lib/commonjs/credential/presentation/common/utils/dcql.js +38 -35
  79. package/lib/commonjs/credential/presentation/common/utils/dcql.js.map +1 -1
  80. package/lib/commonjs/credential/presentation/common/utils/mdoc.js +20 -22
  81. package/lib/commonjs/credential/presentation/common/utils/mdoc.js.map +1 -1
  82. package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js +10 -10
  83. package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js.map +1 -1
  84. package/lib/commonjs/credential/presentation/v1.0.0/01-start-flow.js +1 -1
  85. package/lib/commonjs/credential/presentation/v1.0.0/01-start-flow.js.map +1 -1
  86. package/lib/commonjs/credential/presentation/v1.0.0/02-evaluate-rp-trust.js.map +1 -1
  87. package/lib/commonjs/credential/presentation/v1.0.0/03-get-request-object.js +2 -2
  88. package/lib/commonjs/credential/presentation/v1.0.0/03-get-request-object.js.map +1 -1
  89. package/lib/commonjs/credential/presentation/v1.0.0/05-verify-request-object.js +3 -3
  90. package/lib/commonjs/credential/presentation/v1.0.0/05-verify-request-object.js.map +1 -1
  91. package/lib/commonjs/credential/presentation/v1.0.0/06-evaluate-dcql-query.js +17 -12
  92. package/lib/commonjs/credential/presentation/v1.0.0/06-evaluate-dcql-query.js.map +1 -1
  93. package/lib/commonjs/credential/presentation/v1.0.0/07-send-authorization-response.js +20 -20
  94. package/lib/commonjs/credential/presentation/v1.0.0/07-send-authorization-response.js.map +1 -1
  95. package/lib/commonjs/credential/presentation/v1.0.0/index.js +4 -4
  96. package/lib/commonjs/credential/presentation/v1.0.0/index.js.map +1 -1
  97. package/lib/commonjs/credential/presentation/v1.0.0/mappers.js +6 -6
  98. package/lib/commonjs/credential/presentation/v1.0.0/mappers.js.map +1 -1
  99. package/lib/commonjs/credential/presentation/v1.0.0/types.js +12 -12
  100. package/lib/commonjs/credential/presentation/v1.0.0/types.js.map +1 -1
  101. package/lib/commonjs/credential/presentation/v1.0.0/utils.js.map +1 -1
  102. package/lib/commonjs/credential/presentation/v1.0.0/utils.jwks.js.map +1 -1
  103. package/lib/commonjs/credential/presentation/v1.3.3/01-start-flow.js +2 -2
  104. package/lib/commonjs/credential/presentation/v1.3.3/01-start-flow.js.map +1 -1
  105. package/lib/commonjs/credential/presentation/v1.3.3/02-evaluate-rp-trust.js.map +1 -1
  106. package/lib/commonjs/credential/presentation/v1.3.3/03-get-request-object.js +1 -1
  107. package/lib/commonjs/credential/presentation/v1.3.3/03-get-request-object.js.map +1 -1
  108. package/lib/commonjs/credential/presentation/v1.3.3/04-verify-certificate-chain.js +3 -3
  109. package/lib/commonjs/credential/presentation/v1.3.3/04-verify-certificate-chain.js.map +1 -1
  110. package/lib/commonjs/credential/presentation/v1.3.3/05-verify-request-object.js +11 -7
  111. package/lib/commonjs/credential/presentation/v1.3.3/05-verify-request-object.js.map +1 -1
  112. package/lib/commonjs/credential/presentation/v1.3.3/06-evaluate-dcql-query.js +24 -16
  113. package/lib/commonjs/credential/presentation/v1.3.3/06-evaluate-dcql-query.js.map +1 -1
  114. package/lib/commonjs/credential/presentation/v1.3.3/07-send-authorization-response.js +31 -26
  115. package/lib/commonjs/credential/presentation/v1.3.3/07-send-authorization-response.js.map +1 -1
  116. package/lib/commonjs/credential/presentation/v1.3.3/index.js +5 -5
  117. package/lib/commonjs/credential/presentation/v1.3.3/index.js.map +1 -1
  118. package/lib/commonjs/credential/presentation/v1.3.3/mappers.js +11 -11
  119. package/lib/commonjs/credential/presentation/v1.3.3/mappers.js.map +1 -1
  120. package/lib/commonjs/credential/presentation/v1.3.3/sdkErrorMapper.js +2 -2
  121. package/lib/commonjs/credential/presentation/v1.3.3/sdkErrorMapper.js.map +1 -1
  122. package/lib/commonjs/credential/presentation/v1.3.3/types.js +3 -3
  123. package/lib/commonjs/credential/presentation/v1.3.3/types.js.map +1 -1
  124. package/lib/commonjs/credential/status/api/types.js +6 -6
  125. package/lib/commonjs/credential/status/api/types.js.map +1 -1
  126. package/lib/commonjs/credential/status/v1.0.0/01-status-assertion.js +15 -12
  127. package/lib/commonjs/credential/status/v1.0.0/01-status-assertion.js.map +1 -1
  128. package/lib/commonjs/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js +17 -10
  129. package/lib/commonjs/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js.map +1 -1
  130. package/lib/commonjs/credential/status/v1.0.0/index.js +1 -1
  131. package/lib/commonjs/credential/status/v1.0.0/index.js.map +1 -1
  132. package/lib/commonjs/credential/status/v1.0.0/mappers.js.map +1 -1
  133. package/lib/commonjs/credential/status/v1.0.0/types.js +18 -18
  134. package/lib/commonjs/credential/status/v1.0.0/types.js.map +1 -1
  135. package/lib/commonjs/credential/status/v1.3.3/01-status-list.js +4 -4
  136. package/lib/commonjs/credential/status/v1.3.3/01-status-list.js.map +1 -1
  137. package/lib/commonjs/credential/status/v1.3.3/02-verify-and-parse-status-list.js.map +1 -1
  138. package/lib/commonjs/credential/status/v1.3.3/03-get-status.js +2 -2
  139. package/lib/commonjs/credential/status/v1.3.3/03-get-status.js.map +1 -1
  140. package/lib/commonjs/credential/status/v1.3.3/index.js +3 -3
  141. package/lib/commonjs/credential/status/v1.3.3/index.js.map +1 -1
  142. package/lib/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.js +7 -7
  143. package/lib/commonjs/credential/trustmark/v1.0.0/get-credential-trustmark.js.map +1 -1
  144. package/lib/commonjs/credential/trustmark/v1.0.0/index.js.map +1 -1
  145. package/lib/commonjs/credential/trustmark/v1.3.3/index.js.map +1 -1
  146. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js +54 -55
  147. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  148. package/lib/commonjs/credentials-catalogue/common/get-status-l10n-ids.js +2 -2
  149. package/lib/commonjs/credentials-catalogue/common/get-status-l10n-ids.js.map +1 -1
  150. package/lib/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js +2 -2
  151. package/lib/commonjs/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js.map +1 -1
  152. package/lib/commonjs/credentials-catalogue/v1.0.0/index.js +1 -1
  153. package/lib/commonjs/credentials-catalogue/v1.0.0/index.js.map +1 -1
  154. package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js +0 -1
  155. package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
  156. package/lib/commonjs/credentials-catalogue/v1.0.0/types.js +35 -35
  157. package/lib/commonjs/credentials-catalogue/v1.0.0/types.js.map +1 -1
  158. package/lib/commonjs/credentials-catalogue/v1.3.3/fetch-and-parse-catalogue.js +11 -11
  159. package/lib/commonjs/credentials-catalogue/v1.3.3/fetch-and-parse-catalogue.js.map +1 -1
  160. package/lib/commonjs/credentials-catalogue/v1.3.3/fetch-translations.js +1 -1
  161. package/lib/commonjs/credentials-catalogue/v1.3.3/fetch-translations.js.map +1 -1
  162. package/lib/commonjs/credentials-catalogue/v1.3.3/index.js +1 -1
  163. package/lib/commonjs/credentials-catalogue/v1.3.3/index.js.map +1 -1
  164. package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js +26 -20
  165. package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
  166. package/lib/commonjs/credentials-catalogue/v1.3.3/types.js +93 -93
  167. package/lib/commonjs/credentials-catalogue/v1.3.3/types.js.map +1 -1
  168. package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js +8 -8
  169. package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js.map +1 -1
  170. package/lib/commonjs/index.js +15 -15
  171. package/lib/commonjs/index.js.map +1 -1
  172. package/lib/commonjs/mdoc/index.js +13 -5
  173. package/lib/commonjs/mdoc/index.js.map +1 -1
  174. package/lib/commonjs/mdoc/utils.js.map +1 -1
  175. package/lib/commonjs/sd-jwt/__test__/types.test.js +9 -9
  176. package/lib/commonjs/sd-jwt/__test__/types.test.js.map +1 -1
  177. package/lib/commonjs/sd-jwt/__test__/utils.test.js +3 -3
  178. package/lib/commonjs/sd-jwt/__test__/utils.test.js.map +1 -1
  179. package/lib/commonjs/sd-jwt/index.js +9 -9
  180. package/lib/commonjs/sd-jwt/index.js.map +1 -1
  181. package/lib/commonjs/sd-jwt/types.js +18 -18
  182. package/lib/commonjs/sd-jwt/types.js.map +1 -1
  183. package/lib/commonjs/sd-jwt/utils.js +3 -3
  184. package/lib/commonjs/sd-jwt/utils.js.map +1 -1
  185. package/lib/commonjs/trust/api/TrustAnchorConfig.js +4 -4
  186. package/lib/commonjs/trust/api/TrustAnchorConfig.js.map +1 -1
  187. package/lib/commonjs/trust/common/build-chain.js +5 -2
  188. package/lib/commonjs/trust/common/build-chain.js.map +1 -1
  189. package/lib/commonjs/trust/common/errors.js +51 -44
  190. package/lib/commonjs/trust/common/errors.js.map +1 -1
  191. package/lib/commonjs/trust/common/types.js +22 -22
  192. package/lib/commonjs/trust/common/types.js.map +1 -1
  193. package/lib/commonjs/trust/common/utils.js +45 -45
  194. package/lib/commonjs/trust/common/utils.js.map +1 -1
  195. package/lib/commonjs/trust/common/verify-chain.js +96 -96
  196. package/lib/commonjs/trust/common/verify-chain.js.map +1 -1
  197. package/lib/commonjs/trust/v1.0.0/build-chain.js +2 -2
  198. package/lib/commonjs/trust/v1.0.0/build-chain.js.map +1 -1
  199. package/lib/commonjs/trust/v1.0.0/entities.js +1 -1
  200. package/lib/commonjs/trust/v1.0.0/entities.js.map +1 -1
  201. package/lib/commonjs/trust/v1.0.0/index.js +3 -3
  202. package/lib/commonjs/trust/v1.0.0/index.js.map +1 -1
  203. package/lib/commonjs/trust/v1.0.0/mappers.js +2 -2
  204. package/lib/commonjs/trust/v1.0.0/mappers.js.map +1 -1
  205. package/lib/commonjs/trust/v1.0.0/types.js +46 -46
  206. package/lib/commonjs/trust/v1.0.0/types.js.map +1 -1
  207. package/lib/commonjs/trust/v1.0.0/verify-chain.js +3 -3
  208. package/lib/commonjs/trust/v1.0.0/verify-chain.js.map +1 -1
  209. package/lib/commonjs/trust/v1.3.3/entities.js +1 -1
  210. package/lib/commonjs/trust/v1.3.3/entities.js.map +1 -1
  211. package/lib/commonjs/trust/v1.3.3/types.js +2 -2
  212. package/lib/commonjs/trust/v1.3.3/types.js.map +1 -1
  213. package/lib/commonjs/utils/auth.js +2 -2
  214. package/lib/commonjs/utils/auth.js.map +1 -1
  215. package/lib/commonjs/utils/callbacks.js +47 -51
  216. package/lib/commonjs/utils/callbacks.js.map +1 -1
  217. package/lib/commonjs/utils/credentials.js +3 -3
  218. package/lib/commonjs/utils/credentials.js.map +1 -1
  219. package/lib/commonjs/utils/crypto.js +23 -25
  220. package/lib/commonjs/utils/crypto.js.map +1 -1
  221. package/lib/commonjs/utils/decoder.js +2 -2
  222. package/lib/commonjs/utils/decoder.js.map +1 -1
  223. package/lib/commonjs/utils/dpop.js +5 -5
  224. package/lib/commonjs/utils/dpop.js.map +1 -1
  225. package/lib/commonjs/utils/error-codes.js +19 -19
  226. package/lib/commonjs/utils/error-codes.js.map +1 -1
  227. package/lib/commonjs/utils/errors.js +51 -50
  228. package/lib/commonjs/utils/errors.js.map +1 -1
  229. package/lib/commonjs/utils/jwk.js +5 -6
  230. package/lib/commonjs/utils/jwk.js.map +1 -1
  231. package/lib/commonjs/utils/logging.js +15 -14
  232. package/lib/commonjs/utils/logging.js.map +1 -1
  233. package/lib/commonjs/utils/mappers.js +6 -8
  234. package/lib/commonjs/utils/mappers.js.map +1 -1
  235. package/lib/commonjs/utils/misc.js +6 -5
  236. package/lib/commonjs/utils/misc.js.map +1 -1
  237. package/lib/commonjs/utils/par.js +28 -28
  238. package/lib/commonjs/utils/par.js.map +1 -1
  239. package/lib/commonjs/utils/pop.js +5 -5
  240. package/lib/commonjs/utils/pop.js.map +1 -1
  241. package/lib/commonjs/utils/string.js.map +1 -1
  242. package/lib/commonjs/utils/x509.js +2 -2
  243. package/lib/commonjs/utils/x509.js.map +1 -1
  244. package/lib/commonjs/utils/zod.js +1 -1
  245. package/lib/commonjs/utils/zod.js.map +1 -1
  246. package/lib/commonjs/wallet-instance/common/wallet-instance.js +5 -5
  247. package/lib/commonjs/wallet-instance/common/wallet-instance.js.map +1 -1
  248. package/lib/commonjs/wallet-instance/v1.0.0/index.js +2 -2
  249. package/lib/commonjs/wallet-instance/v1.0.0/index.js.map +1 -1
  250. package/lib/commonjs/wallet-instance/v1.3.3/index.js +2 -2
  251. package/lib/commonjs/wallet-instance/v1.3.3/index.js.map +1 -1
  252. package/lib/commonjs/wallet-instance-attestation/api/types.js +7 -7
  253. package/lib/commonjs/wallet-instance-attestation/api/types.js.map +1 -1
  254. package/lib/commonjs/wallet-instance-attestation/common/types.js +7 -7
  255. package/lib/commonjs/wallet-instance-attestation/common/types.js.map +1 -1
  256. package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js +2 -2
  257. package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
  258. package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js +15 -15
  259. package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
  260. package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js +2 -2
  261. package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
  262. package/lib/commonjs/wallet-instance-attestation/v1.0.0/types.js +5 -5
  263. package/lib/commonjs/wallet-instance-attestation/v1.0.0/types.js.map +1 -1
  264. package/lib/commonjs/wallet-instance-attestation/v1.0.0/utils.js +1 -1
  265. package/lib/commonjs/wallet-instance-attestation/v1.0.0/utils.js.map +1 -1
  266. package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js +2 -2
  267. package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
  268. package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js +20 -20
  269. package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
  270. package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
  271. package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js +1 -1
  272. package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js.map +1 -1
  273. package/lib/commonjs/wallet-unit-attestation/api/types.js +5 -5
  274. package/lib/commonjs/wallet-unit-attestation/api/types.js.map +1 -1
  275. package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js +4 -4
  276. package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js.map +1 -1
  277. package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js +32 -29
  278. package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -1
  279. package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js +1 -1
  280. package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js.map +1 -1
  281. package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js.map +1 -1
  282. package/lib/module/IoWallet.js +6 -4
  283. package/lib/module/IoWallet.js.map +1 -1
  284. package/lib/module/api/index.js +19 -19
  285. package/lib/module/api/index.js.map +1 -1
  286. package/lib/module/client/generated/wallet-provider.js +17 -1
  287. package/lib/module/client/generated/wallet-provider.js.map +1 -1
  288. package/lib/module/client/index.js +10 -12
  289. package/lib/module/client/index.js.map +1 -1
  290. package/lib/module/credential/issuance/api/IssuerConfig.js +23 -23
  291. package/lib/module/credential/issuance/api/IssuerConfig.js.map +1 -1
  292. package/lib/module/credential/issuance/api/mrtd-pop/index.js.map +1 -1
  293. package/lib/module/credential/issuance/api/types.js +3 -3
  294. package/lib/module/credential/issuance/api/types.js.map +1 -1
  295. package/lib/module/credential/issuance/common/02-start-user-authorization.js +4 -1
  296. package/lib/module/credential/issuance/common/02-start-user-authorization.js.map +1 -1
  297. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.js +11 -8
  298. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.mdoc.js.map +1 -1
  299. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js +6 -6
  300. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
  301. package/lib/module/credential/issuance/common/errors.js +0 -3
  302. package/lib/module/credential/issuance/common/errors.js.map +1 -1
  303. package/lib/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js +4 -4
  304. package/lib/module/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.js.map +1 -1
  305. package/lib/module/credential/issuance/mrtd-pop/02-init-challenge.js +14 -14
  306. package/lib/module/credential/issuance/mrtd-pop/02-init-challenge.js.map +1 -1
  307. package/lib/module/credential/issuance/mrtd-pop/03-validate-challenge.js +20 -20
  308. package/lib/module/credential/issuance/mrtd-pop/03-validate-challenge.js.map +1 -1
  309. package/lib/module/credential/issuance/mrtd-pop/index.js +5 -5
  310. package/lib/module/credential/issuance/mrtd-pop/index.js.map +1 -1
  311. package/lib/module/credential/issuance/v1.0.0/01-evaluate-issuer-trust.js.map +1 -1
  312. package/lib/module/credential/issuance/v1.0.0/02-start-user-authorization.js +13 -13
  313. package/lib/module/credential/issuance/v1.0.0/02-start-user-authorization.js.map +1 -1
  314. package/lib/module/credential/issuance/v1.0.0/03-complete-user-authorization.js +17 -17
  315. package/lib/module/credential/issuance/v1.0.0/03-complete-user-authorization.js.map +1 -1
  316. package/lib/module/credential/issuance/v1.0.0/04-authorize-access.js +11 -11
  317. package/lib/module/credential/issuance/v1.0.0/04-authorize-access.js.map +1 -1
  318. package/lib/module/credential/issuance/v1.0.0/05-obtain-credential.js +25 -16
  319. package/lib/module/credential/issuance/v1.0.0/05-obtain-credential.js.map +1 -1
  320. package/lib/module/credential/issuance/v1.0.0/06-verify-and-parse-credential.js.map +1 -1
  321. package/lib/module/credential/issuance/v1.0.0/index.js +9 -9
  322. package/lib/module/credential/issuance/v1.0.0/index.js.map +1 -1
  323. package/lib/module/credential/issuance/v1.0.0/mappers.js +7 -7
  324. package/lib/module/credential/issuance/v1.0.0/mappers.js.map +1 -1
  325. package/lib/module/credential/issuance/v1.0.0/types.js.map +1 -1
  326. package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +4 -4
  327. package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
  328. package/lib/module/credential/issuance/v1.3.3/02-start-user-authorization.js +31 -31
  329. package/lib/module/credential/issuance/v1.3.3/02-start-user-authorization.js.map +1 -1
  330. package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js +28 -28
  331. package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
  332. package/lib/module/credential/issuance/v1.3.3/04-authorize-access.js +16 -16
  333. package/lib/module/credential/issuance/v1.3.3/04-authorize-access.js.map +1 -1
  334. package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js +34 -30
  335. package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
  336. package/lib/module/credential/issuance/v1.3.3/06-verify-and-parse-credential.js.map +1 -1
  337. package/lib/module/credential/issuance/v1.3.3/index.js +9 -9
  338. package/lib/module/credential/issuance/v1.3.3/index.js.map +1 -1
  339. package/lib/module/credential/issuance/v1.3.3/mappers.js +18 -17
  340. package/lib/module/credential/issuance/v1.3.3/mappers.js.map +1 -1
  341. package/lib/module/credential/offer/common/errors.js +0 -6
  342. package/lib/module/credential/offer/common/errors.js.map +1 -1
  343. package/lib/module/credential/offer/v1.0.0/index.js +3 -3
  344. package/lib/module/credential/offer/v1.0.0/index.js.map +1 -1
  345. package/lib/module/credential/offer/v1.3.3/01-resolve-credential-offer.js +5 -5
  346. package/lib/module/credential/offer/v1.3.3/01-resolve-credential-offer.js.map +1 -1
  347. package/lib/module/credential/offer/v1.3.3/02-extract-grant-details.js +3 -3
  348. package/lib/module/credential/offer/v1.3.3/02-extract-grant-details.js.map +1 -1
  349. package/lib/module/credential/offer/v1.3.3/03-validate-credential-offer.js +6 -6
  350. package/lib/module/credential/offer/v1.3.3/03-validate-credential-offer.js.map +1 -1
  351. package/lib/module/credential/offer/v1.3.3/index.js +1 -1
  352. package/lib/module/credential/offer/v1.3.3/index.js.map +1 -1
  353. package/lib/module/credential/presentation/api/RelyingPartyConfig.js +8 -8
  354. package/lib/module/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
  355. package/lib/module/credential/presentation/api/types.js +11 -11
  356. package/lib/module/credential/presentation/api/types.js.map +1 -1
  357. package/lib/module/credential/presentation/common/errors.js +21 -21
  358. package/lib/module/credential/presentation/common/errors.js.map +1 -1
  359. package/lib/module/credential/presentation/common/utils/dcql.js +38 -35
  360. package/lib/module/credential/presentation/common/utils/dcql.js.map +1 -1
  361. package/lib/module/credential/presentation/common/utils/mdoc.js +20 -22
  362. package/lib/module/credential/presentation/common/utils/mdoc.js.map +1 -1
  363. package/lib/module/credential/presentation/common/utils/sd-jwt.js +10 -10
  364. package/lib/module/credential/presentation/common/utils/sd-jwt.js.map +1 -1
  365. package/lib/module/credential/presentation/v1.0.0/01-start-flow.js +1 -1
  366. package/lib/module/credential/presentation/v1.0.0/01-start-flow.js.map +1 -1
  367. package/lib/module/credential/presentation/v1.0.0/02-evaluate-rp-trust.js.map +1 -1
  368. package/lib/module/credential/presentation/v1.0.0/03-get-request-object.js +2 -2
  369. package/lib/module/credential/presentation/v1.0.0/03-get-request-object.js.map +1 -1
  370. package/lib/module/credential/presentation/v1.0.0/05-verify-request-object.js +3 -3
  371. package/lib/module/credential/presentation/v1.0.0/05-verify-request-object.js.map +1 -1
  372. package/lib/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.js +16 -11
  373. package/lib/module/credential/presentation/v1.0.0/06-evaluate-dcql-query.js.map +1 -1
  374. package/lib/module/credential/presentation/v1.0.0/07-send-authorization-response.js +12 -12
  375. package/lib/module/credential/presentation/v1.0.0/07-send-authorization-response.js.map +1 -1
  376. package/lib/module/credential/presentation/v1.0.0/index.js +5 -5
  377. package/lib/module/credential/presentation/v1.0.0/index.js.map +1 -1
  378. package/lib/module/credential/presentation/v1.0.0/mappers.js +6 -6
  379. package/lib/module/credential/presentation/v1.0.0/mappers.js.map +1 -1
  380. package/lib/module/credential/presentation/v1.0.0/types.js +12 -12
  381. package/lib/module/credential/presentation/v1.0.0/types.js.map +1 -1
  382. package/lib/module/credential/presentation/v1.0.0/utils.js +1 -0
  383. package/lib/module/credential/presentation/v1.0.0/utils.js.map +1 -1
  384. package/lib/module/credential/presentation/v1.0.0/utils.jwks.js +1 -0
  385. package/lib/module/credential/presentation/v1.0.0/utils.jwks.js.map +1 -1
  386. package/lib/module/credential/presentation/v1.3.3/01-start-flow.js +2 -2
  387. package/lib/module/credential/presentation/v1.3.3/01-start-flow.js.map +1 -1
  388. package/lib/module/credential/presentation/v1.3.3/02-evaluate-rp-trust.js.map +1 -1
  389. package/lib/module/credential/presentation/v1.3.3/03-get-request-object.js +1 -1
  390. package/lib/module/credential/presentation/v1.3.3/03-get-request-object.js.map +1 -1
  391. package/lib/module/credential/presentation/v1.3.3/04-verify-certificate-chain.js +3 -3
  392. package/lib/module/credential/presentation/v1.3.3/04-verify-certificate-chain.js.map +1 -1
  393. package/lib/module/credential/presentation/v1.3.3/05-verify-request-object.js +12 -8
  394. package/lib/module/credential/presentation/v1.3.3/05-verify-request-object.js.map +1 -1
  395. package/lib/module/credential/presentation/v1.3.3/06-evaluate-dcql-query.js +25 -17
  396. package/lib/module/credential/presentation/v1.3.3/06-evaluate-dcql-query.js.map +1 -1
  397. package/lib/module/credential/presentation/v1.3.3/07-send-authorization-response.js +31 -26
  398. package/lib/module/credential/presentation/v1.3.3/07-send-authorization-response.js.map +1 -1
  399. package/lib/module/credential/presentation/v1.3.3/index.js +6 -6
  400. package/lib/module/credential/presentation/v1.3.3/index.js.map +1 -1
  401. package/lib/module/credential/presentation/v1.3.3/mappers.js +11 -11
  402. package/lib/module/credential/presentation/v1.3.3/mappers.js.map +1 -1
  403. package/lib/module/credential/presentation/v1.3.3/sdkErrorMapper.js +4 -3
  404. package/lib/module/credential/presentation/v1.3.3/sdkErrorMapper.js.map +1 -1
  405. package/lib/module/credential/presentation/v1.3.3/types.js +3 -3
  406. package/lib/module/credential/presentation/v1.3.3/types.js.map +1 -1
  407. package/lib/module/credential/status/api/index.js.map +1 -1
  408. package/lib/module/credential/status/api/types.js +6 -6
  409. package/lib/module/credential/status/api/types.js.map +1 -1
  410. package/lib/module/credential/status/v1.0.0/01-status-assertion.js +15 -12
  411. package/lib/module/credential/status/v1.0.0/01-status-assertion.js.map +1 -1
  412. package/lib/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js +17 -10
  413. package/lib/module/credential/status/v1.0.0/02-verify-and-parse-status-assertion.js.map +1 -1
  414. package/lib/module/credential/status/v1.0.0/index.js +1 -1
  415. package/lib/module/credential/status/v1.0.0/index.js.map +1 -1
  416. package/lib/module/credential/status/v1.0.0/mappers.js.map +1 -1
  417. package/lib/module/credential/status/v1.0.0/types.js +17 -17
  418. package/lib/module/credential/status/v1.0.0/types.js.map +1 -1
  419. package/lib/module/credential/status/v1.3.3/01-status-list.js +4 -4
  420. package/lib/module/credential/status/v1.3.3/01-status-list.js.map +1 -1
  421. package/lib/module/credential/status/v1.3.3/02-verify-and-parse-status-list.js.map +1 -1
  422. package/lib/module/credential/status/v1.3.3/03-get-status.js +3 -2
  423. package/lib/module/credential/status/v1.3.3/03-get-status.js.map +1 -1
  424. package/lib/module/credential/status/v1.3.3/index.js +3 -3
  425. package/lib/module/credential/status/v1.3.3/index.js.map +1 -1
  426. package/lib/module/credential/trustmark/v1.0.0/get-credential-trustmark.js +8 -8
  427. package/lib/module/credential/trustmark/v1.0.0/get-credential-trustmark.js.map +1 -1
  428. package/lib/module/credential/trustmark/v1.0.0/index.js.map +1 -1
  429. package/lib/module/credential/trustmark/v1.3.3/index.js.map +1 -1
  430. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js +54 -56
  431. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  432. package/lib/module/credentials-catalogue/common/get-status-l10n-ids.js +2 -2
  433. package/lib/module/credentials-catalogue/common/get-status-l10n-ids.js.map +1 -1
  434. package/lib/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js +2 -2
  435. package/lib/module/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.js.map +1 -1
  436. package/lib/module/credentials-catalogue/v1.0.0/index.js +1 -1
  437. package/lib/module/credentials-catalogue/v1.0.0/index.js.map +1 -1
  438. package/lib/module/credentials-catalogue/v1.0.0/mappers.js +0 -1
  439. package/lib/module/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
  440. package/lib/module/credentials-catalogue/v1.0.0/types.js +35 -35
  441. package/lib/module/credentials-catalogue/v1.0.0/types.js.map +1 -1
  442. package/lib/module/credentials-catalogue/v1.3.3/fetch-and-parse-catalogue.js +11 -11
  443. package/lib/module/credentials-catalogue/v1.3.3/fetch-and-parse-catalogue.js.map +1 -1
  444. package/lib/module/credentials-catalogue/v1.3.3/fetch-translations.js +1 -1
  445. package/lib/module/credentials-catalogue/v1.3.3/fetch-translations.js.map +1 -1
  446. package/lib/module/credentials-catalogue/v1.3.3/index.js +1 -1
  447. package/lib/module/credentials-catalogue/v1.3.3/index.js.map +1 -1
  448. package/lib/module/credentials-catalogue/v1.3.3/mappers.js +27 -21
  449. package/lib/module/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
  450. package/lib/module/credentials-catalogue/v1.3.3/types.js +93 -93
  451. package/lib/module/credentials-catalogue/v1.3.3/types.js.map +1 -1
  452. package/lib/module/credentials-catalogue/v1.3.3/utils.js +8 -8
  453. package/lib/module/credentials-catalogue/v1.3.3/utils.js.map +1 -1
  454. package/lib/module/index.js +10 -10
  455. package/lib/module/index.js.map +1 -1
  456. package/lib/module/mdoc/index.js +13 -5
  457. package/lib/module/mdoc/index.js.map +1 -1
  458. package/lib/module/mdoc/utils.js.map +1 -1
  459. package/lib/module/sd-jwt/__test__/types.test.js +9 -9
  460. package/lib/module/sd-jwt/__test__/types.test.js.map +1 -1
  461. package/lib/module/sd-jwt/__test__/utils.test.js +3 -3
  462. package/lib/module/sd-jwt/__test__/utils.test.js.map +1 -1
  463. package/lib/module/sd-jwt/index.js +9 -9
  464. package/lib/module/sd-jwt/index.js.map +1 -1
  465. package/lib/module/sd-jwt/types.js +18 -18
  466. package/lib/module/sd-jwt/types.js.map +1 -1
  467. package/lib/module/sd-jwt/utils.js +3 -3
  468. package/lib/module/sd-jwt/utils.js.map +1 -1
  469. package/lib/module/trust/api/TrustAnchorConfig.js +4 -4
  470. package/lib/module/trust/api/TrustAnchorConfig.js.map +1 -1
  471. package/lib/module/trust/common/build-chain.js +5 -2
  472. package/lib/module/trust/common/build-chain.js.map +1 -1
  473. package/lib/module/trust/common/errors.js +46 -37
  474. package/lib/module/trust/common/errors.js.map +1 -1
  475. package/lib/module/trust/common/types.js +22 -22
  476. package/lib/module/trust/common/types.js.map +1 -1
  477. package/lib/module/trust/common/utils.js +45 -45
  478. package/lib/module/trust/common/utils.js.map +1 -1
  479. package/lib/module/trust/common/verify-chain.js +96 -96
  480. package/lib/module/trust/common/verify-chain.js.map +1 -1
  481. package/lib/module/trust/v1.0.0/build-chain.js +2 -2
  482. package/lib/module/trust/v1.0.0/build-chain.js.map +1 -1
  483. package/lib/module/trust/v1.0.0/entities.js +1 -1
  484. package/lib/module/trust/v1.0.0/entities.js.map +1 -1
  485. package/lib/module/trust/v1.0.0/index.js +3 -3
  486. package/lib/module/trust/v1.0.0/index.js.map +1 -1
  487. package/lib/module/trust/v1.0.0/mappers.js +2 -2
  488. package/lib/module/trust/v1.0.0/mappers.js.map +1 -1
  489. package/lib/module/trust/v1.0.0/types.js +46 -46
  490. package/lib/module/trust/v1.0.0/types.js.map +1 -1
  491. package/lib/module/trust/v1.0.0/verify-chain.js +3 -3
  492. package/lib/module/trust/v1.0.0/verify-chain.js.map +1 -1
  493. package/lib/module/trust/v1.3.3/entities.js +1 -1
  494. package/lib/module/trust/v1.3.3/entities.js.map +1 -1
  495. package/lib/module/trust/v1.3.3/types.js +2 -2
  496. package/lib/module/trust/v1.3.3/types.js.map +1 -1
  497. package/lib/module/utils/auth.js +2 -2
  498. package/lib/module/utils/auth.js.map +1 -1
  499. package/lib/module/utils/callbacks.js +47 -51
  500. package/lib/module/utils/callbacks.js.map +1 -1
  501. package/lib/module/utils/credentials.js +3 -3
  502. package/lib/module/utils/credentials.js.map +1 -1
  503. package/lib/module/utils/crypto.js +23 -25
  504. package/lib/module/utils/crypto.js.map +1 -1
  505. package/lib/module/utils/decoder.js +3 -3
  506. package/lib/module/utils/decoder.js.map +1 -1
  507. package/lib/module/utils/dpop.js +5 -5
  508. package/lib/module/utils/dpop.js.map +1 -1
  509. package/lib/module/utils/error-codes.js +19 -19
  510. package/lib/module/utils/error-codes.js.map +1 -1
  511. package/lib/module/utils/errors.js +47 -46
  512. package/lib/module/utils/errors.js.map +1 -1
  513. package/lib/module/utils/jwk.js +4 -5
  514. package/lib/module/utils/jwk.js.map +1 -1
  515. package/lib/module/utils/logging.js +15 -14
  516. package/lib/module/utils/logging.js.map +1 -1
  517. package/lib/module/utils/mappers.js +6 -8
  518. package/lib/module/utils/mappers.js.map +1 -1
  519. package/lib/module/utils/misc.js +7 -6
  520. package/lib/module/utils/misc.js.map +1 -1
  521. package/lib/module/utils/par.js +28 -28
  522. package/lib/module/utils/par.js.map +1 -1
  523. package/lib/module/utils/pop.js +5 -5
  524. package/lib/module/utils/pop.js.map +1 -1
  525. package/lib/module/utils/string.js.map +1 -1
  526. package/lib/module/utils/x509.js +2 -2
  527. package/lib/module/utils/x509.js.map +1 -1
  528. package/lib/module/utils/zod.js +1 -1
  529. package/lib/module/utils/zod.js.map +1 -1
  530. package/lib/module/wallet-instance/common/wallet-instance.js +6 -6
  531. package/lib/module/wallet-instance/common/wallet-instance.js.map +1 -1
  532. package/lib/module/wallet-instance/v1.0.0/index.js +3 -3
  533. package/lib/module/wallet-instance/v1.0.0/index.js.map +1 -1
  534. package/lib/module/wallet-instance/v1.3.3/index.js +3 -3
  535. package/lib/module/wallet-instance/v1.3.3/index.js.map +1 -1
  536. package/lib/module/wallet-instance-attestation/api/types.js +7 -7
  537. package/lib/module/wallet-instance-attestation/api/types.js.map +1 -1
  538. package/lib/module/wallet-instance-attestation/common/types.js +7 -7
  539. package/lib/module/wallet-instance-attestation/common/types.js.map +1 -1
  540. package/lib/module/wallet-instance-attestation/v1.0.0/index.js +2 -2
  541. package/lib/module/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
  542. package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js +15 -15
  543. package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
  544. package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js +2 -2
  545. package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
  546. package/lib/module/wallet-instance-attestation/v1.0.0/types.js +5 -5
  547. package/lib/module/wallet-instance-attestation/v1.0.0/types.js.map +1 -1
  548. package/lib/module/wallet-instance-attestation/v1.0.0/utils.js +1 -1
  549. package/lib/module/wallet-instance-attestation/v1.0.0/utils.js.map +1 -1
  550. package/lib/module/wallet-instance-attestation/v1.3.3/index.js +2 -2
  551. package/lib/module/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
  552. package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js +20 -20
  553. package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
  554. package/lib/module/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
  555. package/lib/module/wallet-instance-attestation/v1.3.3/utils.js +1 -1
  556. package/lib/module/wallet-instance-attestation/v1.3.3/utils.js.map +1 -1
  557. package/lib/module/wallet-unit-attestation/api/types.js +5 -5
  558. package/lib/module/wallet-unit-attestation/api/types.js.map +1 -1
  559. package/lib/module/wallet-unit-attestation/v1.3.3/index.js +4 -4
  560. package/lib/module/wallet-unit-attestation/v1.3.3/index.js.map +1 -1
  561. package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js +32 -29
  562. package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -1
  563. package/lib/module/wallet-unit-attestation/v1.3.3/types.js +1 -1
  564. package/lib/module/wallet-unit-attestation/v1.3.3/types.js.map +1 -1
  565. package/lib/module/wallet-unit-attestation/v1.3.3/utils.js.map +1 -1
  566. package/lib/typescript/IoWallet.d.ts +4 -4
  567. package/lib/typescript/IoWallet.d.ts.map +1 -1
  568. package/lib/typescript/api/index.d.ts +14 -14
  569. package/lib/typescript/api/index.d.ts.map +1 -1
  570. package/lib/typescript/client/generated/wallet-provider.d.ts +33 -0
  571. package/lib/typescript/client/generated/wallet-provider.d.ts.map +1 -1
  572. package/lib/typescript/client/index.d.ts +2 -2
  573. package/lib/typescript/client/index.d.ts.map +1 -1
  574. package/lib/typescript/credential/issuance/api/02-start-user-authorization.d.ts +8 -8
  575. package/lib/typescript/credential/issuance/api/02-start-user-authorization.d.ts.map +1 -1
  576. package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts +30 -30
  577. package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts.map +1 -1
  578. package/lib/typescript/credential/issuance/api/04-authorize-access.d.ts +2 -2
  579. package/lib/typescript/credential/issuance/api/04-authorize-access.d.ts.map +1 -1
  580. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts +5 -5
  581. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts.map +1 -1
  582. package/lib/typescript/credential/issuance/api/06-verify-and-parse-credential.d.ts +1 -1
  583. package/lib/typescript/credential/issuance/api/06-verify-and-parse-credential.d.ts.map +1 -1
  584. package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts +52 -52
  585. package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts.map +1 -1
  586. package/lib/typescript/credential/issuance/api/index.d.ts +2 -2
  587. package/lib/typescript/credential/issuance/api/index.d.ts.map +1 -1
  588. package/lib/typescript/credential/issuance/api/mrtd-pop/index.d.ts +30 -30
  589. package/lib/typescript/credential/issuance/api/mrtd-pop/index.d.ts.map +1 -1
  590. package/lib/typescript/credential/issuance/api/mrtd-pop/types.d.ts +25 -25
  591. package/lib/typescript/credential/issuance/api/mrtd-pop/types.d.ts.map +1 -1
  592. package/lib/typescript/credential/issuance/api/types.d.ts +8 -11
  593. package/lib/typescript/credential/issuance/api/types.d.ts.map +1 -1
  594. package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts +2 -2
  595. package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -1
  596. package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.mdoc.d.ts.map +1 -1
  597. package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +1 -1
  598. package/lib/typescript/credential/issuance/common/errors.d.ts +0 -1
  599. package/lib/typescript/credential/issuance/common/errors.d.ts.map +1 -1
  600. package/lib/typescript/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.d.ts.map +1 -1
  601. package/lib/typescript/credential/issuance/mrtd-pop/02-init-challenge.d.ts +2 -2
  602. package/lib/typescript/credential/issuance/mrtd-pop/02-init-challenge.d.ts.map +1 -1
  603. package/lib/typescript/credential/issuance/mrtd-pop/03-validate-challenge.d.ts +2 -2
  604. package/lib/typescript/credential/issuance/mrtd-pop/03-validate-challenge.d.ts.map +1 -1
  605. package/lib/typescript/credential/issuance/mrtd-pop/index.d.ts.map +1 -1
  606. package/lib/typescript/credential/issuance/v1.0.0/01-evaluate-issuer-trust.d.ts.map +1 -1
  607. package/lib/typescript/credential/issuance/v1.0.0/02-start-user-authorization.d.ts.map +1 -1
  608. package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts +1 -1
  609. package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -1
  610. package/lib/typescript/credential/issuance/v1.0.0/04-authorize-access.d.ts.map +1 -1
  611. package/lib/typescript/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -1
  612. package/lib/typescript/credential/issuance/v1.0.0/06-verify-and-parse-credential.d.ts.map +1 -1
  613. package/lib/typescript/credential/issuance/v1.0.0/index.d.ts.map +1 -1
  614. package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts +130 -130
  615. package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts.map +1 -1
  616. package/lib/typescript/credential/issuance/v1.0.0/types.d.ts.map +1 -1
  617. package/lib/typescript/credential/issuance/v1.3.3/01-evaluate-issuer-trust.d.ts.map +1 -1
  618. package/lib/typescript/credential/issuance/v1.3.3/02-start-user-authorization.d.ts.map +1 -1
  619. package/lib/typescript/credential/issuance/v1.3.3/03-complete-user-authorization.d.ts +1 -1
  620. package/lib/typescript/credential/issuance/v1.3.3/03-complete-user-authorization.d.ts.map +1 -1
  621. package/lib/typescript/credential/issuance/v1.3.3/04-authorize-access.d.ts.map +1 -1
  622. package/lib/typescript/credential/issuance/v1.3.3/05-obtain-credential.d.ts +8 -8
  623. package/lib/typescript/credential/issuance/v1.3.3/05-obtain-credential.d.ts.map +1 -1
  624. package/lib/typescript/credential/issuance/v1.3.3/06-verify-and-parse-credential.d.ts.map +1 -1
  625. package/lib/typescript/credential/issuance/v1.3.3/index.d.ts.map +1 -1
  626. package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts +538 -59
  627. package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts.map +1 -1
  628. package/lib/typescript/credential/offer/api/03-validate-credential-offer.d.ts +1 -1
  629. package/lib/typescript/credential/offer/api/03-validate-credential-offer.d.ts.map +1 -1
  630. package/lib/typescript/credential/offer/api/index.d.ts +1 -1
  631. package/lib/typescript/credential/offer/api/index.d.ts.map +1 -1
  632. package/lib/typescript/credential/offer/common/errors.d.ts +0 -2
  633. package/lib/typescript/credential/offer/common/errors.d.ts.map +1 -1
  634. package/lib/typescript/credential/offer/v1.0.0/index.d.ts.map +1 -1
  635. package/lib/typescript/credential/offer/v1.3.3/01-resolve-credential-offer.d.ts.map +1 -1
  636. package/lib/typescript/credential/offer/v1.3.3/02-extract-grant-details.d.ts.map +1 -1
  637. package/lib/typescript/credential/offer/v1.3.3/03-validate-credential-offer.d.ts.map +1 -1
  638. package/lib/typescript/credential/offer/v1.3.3/index.d.ts.map +1 -1
  639. package/lib/typescript/credential/presentation/api/01-start-flow.d.ts +3 -3
  640. package/lib/typescript/credential/presentation/api/01-start-flow.d.ts.map +1 -1
  641. package/lib/typescript/credential/presentation/api/06-evaluate-dcql-query.d.ts +12 -12
  642. package/lib/typescript/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +1 -1
  643. package/lib/typescript/credential/presentation/api/07-send-authorization-response.d.ts +17 -17
  644. package/lib/typescript/credential/presentation/api/07-send-authorization-response.d.ts.map +1 -1
  645. package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts +19 -19
  646. package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -1
  647. package/lib/typescript/credential/presentation/api/index.d.ts +1 -1
  648. package/lib/typescript/credential/presentation/api/index.d.ts.map +1 -1
  649. package/lib/typescript/credential/presentation/api/types.d.ts +72 -72
  650. package/lib/typescript/credential/presentation/api/types.d.ts.map +1 -1
  651. package/lib/typescript/credential/presentation/common/errors.d.ts +24 -24
  652. package/lib/typescript/credential/presentation/common/errors.d.ts.map +1 -1
  653. package/lib/typescript/credential/presentation/common/utils/dcql.d.ts +5 -5
  654. package/lib/typescript/credential/presentation/common/utils/dcql.d.ts.map +1 -1
  655. package/lib/typescript/credential/presentation/common/utils/mdoc.d.ts.map +1 -1
  656. package/lib/typescript/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -1
  657. package/lib/typescript/credential/presentation/v1.0.0/01-start-flow.d.ts.map +1 -1
  658. package/lib/typescript/credential/presentation/v1.0.0/02-evaluate-rp-trust.d.ts.map +1 -1
  659. package/lib/typescript/credential/presentation/v1.0.0/03-get-request-object.d.ts.map +1 -1
  660. package/lib/typescript/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +1 -1
  661. package/lib/typescript/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +1 -1
  662. package/lib/typescript/credential/presentation/v1.0.0/07-send-authorization-response.d.ts +1 -1
  663. package/lib/typescript/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +1 -1
  664. package/lib/typescript/credential/presentation/v1.0.0/index.d.ts.map +1 -1
  665. package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts +51 -51
  666. package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts.map +1 -1
  667. package/lib/typescript/credential/presentation/v1.0.0/types.d.ts +10 -10
  668. package/lib/typescript/credential/presentation/v1.0.0/types.d.ts.map +1 -1
  669. package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts +1 -1
  670. package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts.map +1 -1
  671. package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts +1 -1
  672. package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -1
  673. package/lib/typescript/credential/presentation/v1.3.3/01-start-flow.d.ts.map +1 -1
  674. package/lib/typescript/credential/presentation/v1.3.3/02-evaluate-rp-trust.d.ts.map +1 -1
  675. package/lib/typescript/credential/presentation/v1.3.3/03-get-request-object.d.ts.map +1 -1
  676. package/lib/typescript/credential/presentation/v1.3.3/04-verify-certificate-chain.d.ts.map +1 -1
  677. package/lib/typescript/credential/presentation/v1.3.3/05-verify-request-object.d.ts.map +1 -1
  678. package/lib/typescript/credential/presentation/v1.3.3/06-evaluate-dcql-query.d.ts.map +1 -1
  679. package/lib/typescript/credential/presentation/v1.3.3/07-send-authorization-response.d.ts.map +1 -1
  680. package/lib/typescript/credential/presentation/v1.3.3/index.d.ts.map +1 -1
  681. package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts +41 -41
  682. package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts.map +1 -1
  683. package/lib/typescript/credential/presentation/v1.3.3/sdkErrorMapper.d.ts.map +1 -1
  684. package/lib/typescript/credential/presentation/v1.3.3/types.d.ts +2 -2
  685. package/lib/typescript/credential/presentation/v1.3.3/types.d.ts.map +1 -1
  686. package/lib/typescript/credential/status/api/index.d.ts +3 -3
  687. package/lib/typescript/credential/status/api/index.d.ts.map +1 -1
  688. package/lib/typescript/credential/status/api/status-assertion.d.ts +3 -3
  689. package/lib/typescript/credential/status/api/status-assertion.d.ts.map +1 -1
  690. package/lib/typescript/credential/status/api/status-list.d.ts +11 -11
  691. package/lib/typescript/credential/status/api/status-list.d.ts.map +1 -1
  692. package/lib/typescript/credential/status/api/types.d.ts +12 -12
  693. package/lib/typescript/credential/status/api/types.d.ts.map +1 -1
  694. package/lib/typescript/credential/status/v1.0.0/01-status-assertion.d.ts.map +1 -1
  695. package/lib/typescript/credential/status/v1.0.0/02-verify-and-parse-status-assertion.d.ts.map +1 -1
  696. package/lib/typescript/credential/status/v1.0.0/index.d.ts.map +1 -1
  697. package/lib/typescript/credential/status/v1.0.0/mappers.d.ts +7 -7
  698. package/lib/typescript/credential/status/v1.0.0/mappers.d.ts.map +1 -1
  699. package/lib/typescript/credential/status/v1.0.0/types.d.ts +27 -27
  700. package/lib/typescript/credential/status/v1.0.0/types.d.ts.map +1 -1
  701. package/lib/typescript/credential/status/v1.3.3/01-status-list.d.ts.map +1 -1
  702. package/lib/typescript/credential/status/v1.3.3/02-verify-and-parse-status-list.d.ts.map +1 -1
  703. package/lib/typescript/credential/status/v1.3.3/03-get-status.d.ts.map +1 -1
  704. package/lib/typescript/credential/status/v1.3.3/index.d.ts.map +1 -1
  705. package/lib/typescript/credential/trustmark/api/index.d.ts +11 -11
  706. package/lib/typescript/credential/trustmark/api/index.d.ts.map +1 -1
  707. package/lib/typescript/credential/trustmark/v1.0.0/get-credential-trustmark.d.ts.map +1 -1
  708. package/lib/typescript/credential/trustmark/v1.0.0/index.d.ts.map +1 -1
  709. package/lib/typescript/credential/trustmark/v1.3.3/index.d.ts.map +1 -1
  710. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +168 -165
  711. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -1
  712. package/lib/typescript/credentials-catalogue/api/index.d.ts +11 -11
  713. package/lib/typescript/credentials-catalogue/api/index.d.ts.map +1 -1
  714. package/lib/typescript/credentials-catalogue/common/get-status-l10n-ids.d.ts.map +1 -1
  715. package/lib/typescript/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.d.ts.map +1 -1
  716. package/lib/typescript/credentials-catalogue/v1.0.0/index.d.ts.map +1 -1
  717. package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts +72 -71
  718. package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -1
  719. package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts +89 -89
  720. package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts.map +1 -1
  721. package/lib/typescript/credentials-catalogue/v1.3.3/fetch-translations.d.ts.map +1 -1
  722. package/lib/typescript/credentials-catalogue/v1.3.3/index.d.ts.map +1 -1
  723. package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts +158 -157
  724. package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts.map +1 -1
  725. package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts +186 -186
  726. package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts.map +1 -1
  727. package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts +1 -1
  728. package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts.map +1 -1
  729. package/lib/typescript/index.d.ts +12 -12
  730. package/lib/typescript/index.d.ts.map +1 -1
  731. package/lib/typescript/mdoc/index.d.ts.map +1 -1
  732. package/lib/typescript/mdoc/utils.d.ts +2 -2
  733. package/lib/typescript/mdoc/utils.d.ts.map +1 -1
  734. package/lib/typescript/sd-jwt/index.d.ts +10 -10
  735. package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
  736. package/lib/typescript/sd-jwt/types.d.ts +15 -15
  737. package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
  738. package/lib/typescript/sd-jwt/utils.d.ts +1 -1
  739. package/lib/typescript/sd-jwt/utils.d.ts.map +1 -1
  740. package/lib/typescript/trust/api/TrustAnchorConfig.d.ts +17 -17
  741. package/lib/typescript/trust/api/TrustAnchorConfig.d.ts.map +1 -1
  742. package/lib/typescript/trust/api/index.d.ts +11 -11
  743. package/lib/typescript/trust/api/index.d.ts.map +1 -1
  744. package/lib/typescript/trust/common/build-chain.d.ts +3 -3
  745. package/lib/typescript/trust/common/build-chain.d.ts.map +1 -1
  746. package/lib/typescript/trust/common/errors.d.ts +43 -43
  747. package/lib/typescript/trust/common/errors.d.ts.map +1 -1
  748. package/lib/typescript/trust/common/types.d.ts +37 -37
  749. package/lib/typescript/trust/common/types.d.ts.map +1 -1
  750. package/lib/typescript/trust/common/utils.d.ts +17 -17
  751. package/lib/typescript/trust/common/utils.d.ts.map +1 -1
  752. package/lib/typescript/trust/common/verify-chain.d.ts +9 -9
  753. package/lib/typescript/trust/common/verify-chain.d.ts.map +1 -1
  754. package/lib/typescript/trust/v1.0.0/entities.d.ts +325 -325
  755. package/lib/typescript/trust/v1.0.0/entities.d.ts.map +1 -1
  756. package/lib/typescript/trust/v1.0.0/index.d.ts.map +1 -1
  757. package/lib/typescript/trust/v1.0.0/mappers.d.ts +42 -42
  758. package/lib/typescript/trust/v1.0.0/mappers.d.ts.map +1 -1
  759. package/lib/typescript/trust/v1.0.0/types.d.ts +331 -331
  760. package/lib/typescript/trust/v1.0.0/types.d.ts.map +1 -1
  761. package/lib/typescript/trust/v1.0.0/verify-chain.d.ts.map +1 -1
  762. package/lib/typescript/trust/v1.3.3/entities.d.ts +24 -24
  763. package/lib/typescript/trust/v1.3.3/entities.d.ts.map +1 -1
  764. package/lib/typescript/trust/v1.3.3/types.d.ts +206 -206
  765. package/lib/typescript/trust/v1.3.3/types.d.ts.map +1 -1
  766. package/lib/typescript/utils/auth.d.ts +1 -1
  767. package/lib/typescript/utils/callbacks.d.ts +1 -1
  768. package/lib/typescript/utils/callbacks.d.ts.map +1 -1
  769. package/lib/typescript/utils/credentials.d.ts.map +1 -1
  770. package/lib/typescript/utils/crypto.d.ts +1 -1
  771. package/lib/typescript/utils/crypto.d.ts.map +1 -1
  772. package/lib/typescript/utils/decoder.d.ts +1 -1
  773. package/lib/typescript/utils/decoder.d.ts.map +1 -1
  774. package/lib/typescript/utils/dpop.d.ts +3 -3
  775. package/lib/typescript/utils/dpop.d.ts.map +1 -1
  776. package/lib/typescript/utils/error-codes.d.ts +18 -18
  777. package/lib/typescript/utils/error-codes.d.ts.map +1 -1
  778. package/lib/typescript/utils/errors.d.ts +49 -51
  779. package/lib/typescript/utils/errors.d.ts.map +1 -1
  780. package/lib/typescript/utils/integrity.d.ts +9 -9
  781. package/lib/typescript/utils/integrity.d.ts.map +1 -1
  782. package/lib/typescript/utils/jwk.d.ts +3 -3
  783. package/lib/typescript/utils/jwk.d.ts.map +1 -1
  784. package/lib/typescript/utils/logging.d.ts +10 -10
  785. package/lib/typescript/utils/logging.d.ts.map +1 -1
  786. package/lib/typescript/utils/mappers.d.ts.map +1 -1
  787. package/lib/typescript/utils/misc.d.ts +2 -2
  788. package/lib/typescript/utils/misc.d.ts.map +1 -1
  789. package/lib/typescript/utils/par.d.ts +13 -13
  790. package/lib/typescript/utils/par.d.ts.map +1 -1
  791. package/lib/typescript/utils/parser.d.ts +2 -2
  792. package/lib/typescript/utils/parser.d.ts.map +1 -1
  793. package/lib/typescript/utils/pop.d.ts +2 -2
  794. package/lib/typescript/utils/pop.d.ts.map +1 -1
  795. package/lib/typescript/utils/string.d.ts.map +1 -1
  796. package/lib/typescript/utils/x509.d.ts.map +1 -1
  797. package/lib/typescript/utils/zod.d.ts +5 -5
  798. package/lib/typescript/utils/zod.d.ts.map +1 -1
  799. package/lib/typescript/wallet-instance/api/index.d.ts +19 -19
  800. package/lib/typescript/wallet-instance/api/index.d.ts.map +1 -1
  801. package/lib/typescript/wallet-instance/common/wallet-instance.d.ts.map +1 -1
  802. package/lib/typescript/wallet-instance/v1.0.0/index.d.ts.map +1 -1
  803. package/lib/typescript/wallet-instance/v1.3.3/index.d.ts.map +1 -1
  804. package/lib/typescript/wallet-instance-attestation/api/index.d.ts +15 -15
  805. package/lib/typescript/wallet-instance-attestation/api/index.d.ts.map +1 -1
  806. package/lib/typescript/wallet-instance-attestation/api/types.d.ts +10 -10
  807. package/lib/typescript/wallet-instance-attestation/api/types.d.ts.map +1 -1
  808. package/lib/typescript/wallet-instance-attestation/common/types.d.ts +5 -5
  809. package/lib/typescript/wallet-instance-attestation/common/types.d.ts.map +1 -1
  810. package/lib/typescript/wallet-instance-attestation/v1.0.0/index.d.ts.map +1 -1
  811. package/lib/typescript/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -1
  812. package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts +12 -12
  813. package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts +14 -14
  814. package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -1
  815. package/lib/typescript/wallet-instance-attestation/v1.0.0/utils.d.ts.map +1 -1
  816. package/lib/typescript/wallet-instance-attestation/v1.3.3/index.d.ts.map +1 -1
  817. package/lib/typescript/wallet-instance-attestation/v1.3.3/issuing.d.ts.map +1 -1
  818. package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts +10 -10
  819. package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts +5 -5
  820. package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts.map +1 -1
  821. package/lib/typescript/wallet-instance-attestation/v1.3.3/utils.d.ts.map +1 -1
  822. package/lib/typescript/wallet-unit-attestation/api/index.d.ts +20 -20
  823. package/lib/typescript/wallet-unit-attestation/api/index.d.ts.map +1 -1
  824. package/lib/typescript/wallet-unit-attestation/api/types.d.ts +10 -10
  825. package/lib/typescript/wallet-unit-attestation/api/types.d.ts.map +1 -1
  826. package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts.map +1 -1
  827. package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts.map +1 -1
  828. package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts +11 -11
  829. package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts +7 -7
  830. package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts.map +1 -1
  831. package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts.map +1 -1
  832. package/package.json +15 -12
  833. package/src/IoWallet.ts +11 -9
  834. package/src/api/index.ts +27 -27
  835. package/src/client/generated/wallet-provider.ts +22 -0
  836. package/src/client/index.ts +14 -13
  837. package/src/credential/issuance/api/01-evaluate-issuer-trust.ts +1 -1
  838. package/src/credential/issuance/api/02-start-user-authorization.ts +9 -8
  839. package/src/credential/issuance/api/03-complete-user-authorization.ts +41 -40
  840. package/src/credential/issuance/api/04-authorize-access.ts +4 -3
  841. package/src/credential/issuance/api/05-obtain-credential.ts +8 -7
  842. package/src/credential/issuance/api/06-verify-and-parse-credential.ts +3 -2
  843. package/src/credential/issuance/api/IssuerConfig.ts +20 -19
  844. package/src/credential/issuance/api/index.ts +4 -4
  845. package/src/credential/issuance/api/mrtd-pop/index.ts +39 -38
  846. package/src/credential/issuance/api/mrtd-pop/types.ts +27 -27
  847. package/src/credential/issuance/api/types.ts +9 -8
  848. package/src/credential/issuance/common/02-start-user-authorization.ts +20 -14
  849. package/src/credential/issuance/common/06-verify-and-parse-credential.mdoc.ts +39 -34
  850. package/src/credential/issuance/common/06-verify-and-parse-credential.sdjwt.ts +32 -29
  851. package/src/credential/issuance/common/errors.ts +0 -4
  852. package/src/credential/issuance/mrtd-pop/01-verify-and-parse-challenge-info.ts +7 -5
  853. package/src/credential/issuance/mrtd-pop/02-init-challenge.ts +22 -20
  854. package/src/credential/issuance/mrtd-pop/03-validate-challenge.ts +24 -21
  855. package/src/credential/issuance/mrtd-pop/index.ts +7 -6
  856. package/src/credential/issuance/v1.0.0/01-evaluate-issuer-trust.ts +3 -2
  857. package/src/credential/issuance/v1.0.0/02-start-user-authorization.ts +15 -14
  858. package/src/credential/issuance/v1.0.0/03-complete-user-authorization.ts +45 -43
  859. package/src/credential/issuance/v1.0.0/04-authorize-access.ts +17 -15
  860. package/src/credential/issuance/v1.0.0/05-obtain-credential.ts +39 -22
  861. package/src/credential/issuance/v1.0.0/06-verify-and-parse-credential.ts +5 -4
  862. package/src/credential/issuance/v1.0.0/index.ts +11 -10
  863. package/src/credential/issuance/v1.0.0/mappers.ts +12 -11
  864. package/src/credential/issuance/v1.0.0/types.ts +2 -1
  865. package/src/credential/issuance/v1.3.3/01-evaluate-issuer-trust.ts +8 -6
  866. package/src/credential/issuance/v1.3.3/02-start-user-authorization.ts +33 -30
  867. package/src/credential/issuance/v1.3.3/03-complete-user-authorization.ts +54 -51
  868. package/src/credential/issuance/v1.3.3/04-authorize-access.ts +20 -18
  869. package/src/credential/issuance/v1.3.3/05-obtain-credential.ts +49 -43
  870. package/src/credential/issuance/v1.3.3/06-verify-and-parse-credential.ts +5 -4
  871. package/src/credential/issuance/v1.3.3/index.ts +11 -10
  872. package/src/credential/issuance/v1.3.3/mappers.ts +28 -25
  873. package/src/credential/offer/api/01-resolve-credential-offer.ts +1 -1
  874. package/src/credential/offer/api/03-validate-credential-offer.ts +2 -1
  875. package/src/credential/offer/api/index.ts +2 -2
  876. package/src/credential/offer/common/errors.ts +0 -8
  877. package/src/credential/offer/v1.0.0/index.ts +5 -4
  878. package/src/credential/offer/v1.3.3/01-resolve-credential-offer.ts +5 -3
  879. package/src/credential/offer/v1.3.3/02-extract-grant-details.ts +6 -4
  880. package/src/credential/offer/v1.3.3/03-validate-credential-offer.ts +6 -4
  881. package/src/credential/offer/v1.3.3/index.ts +2 -1
  882. package/src/credential/presentation/api/01-start-flow.ts +4 -4
  883. package/src/credential/presentation/api/02-evaluate-rp-trust.ts +1 -1
  884. package/src/credential/presentation/api/03-get-request-object.ts +1 -1
  885. package/src/credential/presentation/api/04-verify-certificate-chain.ts +1 -1
  886. package/src/credential/presentation/api/05-verify-request-object.ts +1 -1
  887. package/src/credential/presentation/api/06-evaluate-dcql-query.ts +14 -14
  888. package/src/credential/presentation/api/07-send-authorization-response.ts +21 -19
  889. package/src/credential/presentation/api/RelyingPartyConfig.ts +8 -7
  890. package/src/credential/presentation/api/index.ts +4 -4
  891. package/src/credential/presentation/api/types.ts +68 -66
  892. package/src/credential/presentation/common/errors.ts +32 -35
  893. package/src/credential/presentation/common/utils/dcql.ts +34 -30
  894. package/src/credential/presentation/common/utils/http.ts +2 -2
  895. package/src/credential/presentation/common/utils/mdoc.ts +17 -15
  896. package/src/credential/presentation/common/utils/sd-jwt.ts +19 -16
  897. package/src/credential/presentation/v1.0.0/01-start-flow.ts +4 -3
  898. package/src/credential/presentation/v1.0.0/02-evaluate-rp-trust.ts +3 -2
  899. package/src/credential/presentation/v1.0.0/03-get-request-object.ts +6 -5
  900. package/src/credential/presentation/v1.0.0/05-verify-request-object.ts +14 -12
  901. package/src/credential/presentation/v1.0.0/06-evaluate-dcql-query.ts +26 -15
  902. package/src/credential/presentation/v1.0.0/07-send-authorization-response.ts +23 -21
  903. package/src/credential/presentation/v1.0.0/index.ts +6 -5
  904. package/src/credential/presentation/v1.0.0/mappers.ts +9 -8
  905. package/src/credential/presentation/v1.0.0/types.ts +11 -10
  906. package/src/credential/presentation/v1.0.0/utils.jwks.ts +4 -3
  907. package/src/credential/presentation/v1.0.0/utils.ts +4 -3
  908. package/src/credential/presentation/v1.3.3/01-start-flow.ts +5 -3
  909. package/src/credential/presentation/v1.3.3/02-evaluate-rp-trust.ts +3 -2
  910. package/src/credential/presentation/v1.3.3/03-get-request-object.ts +4 -2
  911. package/src/credential/presentation/v1.3.3/04-verify-certificate-chain.ts +9 -7
  912. package/src/credential/presentation/v1.3.3/05-verify-request-object.ts +24 -14
  913. package/src/credential/presentation/v1.3.3/06-evaluate-dcql-query.ts +37 -23
  914. package/src/credential/presentation/v1.3.3/07-send-authorization-response.ts +40 -32
  915. package/src/credential/presentation/v1.3.3/index.ts +7 -6
  916. package/src/credential/presentation/v1.3.3/mappers.ts +13 -12
  917. package/src/credential/presentation/v1.3.3/sdkErrorMapper.ts +9 -7
  918. package/src/credential/presentation/v1.3.3/types.ts +3 -3
  919. package/src/credential/status/api/index.ts +4 -4
  920. package/src/credential/status/api/status-assertion.ts +7 -6
  921. package/src/credential/status/api/status-list.ts +17 -17
  922. package/src/credential/status/api/types.ts +12 -11
  923. package/src/credential/status/v1.0.0/01-status-assertion.ts +22 -16
  924. package/src/credential/status/v1.0.0/02-verify-and-parse-status-assertion.ts +27 -17
  925. package/src/credential/status/v1.0.0/index.ts +2 -1
  926. package/src/credential/status/v1.0.0/mappers.ts +2 -1
  927. package/src/credential/status/v1.0.0/types.ts +17 -16
  928. package/src/credential/status/v1.3.3/01-status-list.ts +9 -7
  929. package/src/credential/status/v1.3.3/02-verify-and-parse-status-list.ts +3 -1
  930. package/src/credential/status/v1.3.3/03-get-status.ts +6 -4
  931. package/src/credential/status/v1.3.3/index.ts +3 -2
  932. package/src/credential/trustmark/api/index.ts +11 -11
  933. package/src/credential/trustmark/v1.0.0/get-credential-trustmark.ts +14 -13
  934. package/src/credential/trustmark/v1.0.0/index.ts +2 -1
  935. package/src/credential/trustmark/v1.3.3/index.ts +2 -1
  936. package/src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts +48 -47
  937. package/src/credentials-catalogue/api/index.ts +14 -12
  938. package/src/credentials-catalogue/common/get-status-l10n-ids.ts +4 -4
  939. package/src/credentials-catalogue/v1.0.0/fetch-and-parse-catalogue.ts +7 -6
  940. package/src/credentials-catalogue/v1.0.0/index.ts +2 -1
  941. package/src/credentials-catalogue/v1.0.0/mappers.ts +2 -3
  942. package/src/credentials-catalogue/v1.0.0/types.ts +32 -31
  943. package/src/credentials-catalogue/v1.3.3/fetch-and-parse-catalogue.ts +14 -14
  944. package/src/credentials-catalogue/v1.3.3/fetch-translations.ts +4 -3
  945. package/src/credentials-catalogue/v1.3.3/index.ts +2 -1
  946. package/src/credentials-catalogue/v1.3.3/mappers.ts +34 -27
  947. package/src/credentials-catalogue/v1.3.3/types.ts +82 -81
  948. package/src/credentials-catalogue/v1.3.3/utils.ts +14 -12
  949. package/src/index.ts +23 -23
  950. package/src/mdoc/index.ts +26 -11
  951. package/src/mdoc/utils.ts +6 -4
  952. package/src/sd-jwt/__test__/types.test.ts +6 -6
  953. package/src/sd-jwt/__test__/utils.test.ts +2 -2
  954. package/src/sd-jwt/index.ts +10 -8
  955. package/src/sd-jwt/types.ts +14 -13
  956. package/src/sd-jwt/utils.ts +10 -9
  957. package/src/trust/api/TrustAnchorConfig.ts +3 -2
  958. package/src/trust/api/index.ts +19 -16
  959. package/src/trust/common/build-chain.ts +28 -18
  960. package/src/trust/common/errors.ts +58 -50
  961. package/src/trust/common/types.ts +22 -21
  962. package/src/trust/common/utils.ts +65 -64
  963. package/src/trust/common/verify-chain.ts +140 -138
  964. package/src/trust/v1.0.0/build-chain.ts +1 -1
  965. package/src/trust/v1.0.0/entities.ts +18 -16
  966. package/src/trust/v1.0.0/index.ts +5 -4
  967. package/src/trust/v1.0.0/mappers.ts +3 -2
  968. package/src/trust/v1.0.0/types.ts +43 -42
  969. package/src/trust/v1.0.0/verify-chain.ts +3 -2
  970. package/src/trust/v1.3.3/entities.ts +6 -4
  971. package/src/trust/v1.3.3/types.ts +10 -9
  972. package/src/utils/auth.ts +1 -1
  973. package/src/utils/callbacks.ts +38 -38
  974. package/src/utils/credentials.ts +7 -5
  975. package/src/utils/crypto.ts +36 -36
  976. package/src/utils/decoder.ts +7 -5
  977. package/src/utils/dpop.ts +5 -6
  978. package/src/utils/error-codes.ts +20 -20
  979. package/src/utils/errors.ts +89 -87
  980. package/src/utils/integrity.ts +11 -11
  981. package/src/utils/jwk.ts +4 -4
  982. package/src/utils/logging.ts +21 -20
  983. package/src/utils/mappers.ts +14 -11
  984. package/src/utils/misc.ts +15 -12
  985. package/src/utils/par.ts +30 -29
  986. package/src/utils/parser.ts +4 -4
  987. package/src/utils/pop.ts +4 -5
  988. package/src/utils/string.ts +2 -2
  989. package/src/utils/x509.ts +5 -4
  990. package/src/utils/zod.ts +4 -4
  991. package/src/wallet-instance/api/index.ts +24 -24
  992. package/src/wallet-instance/common/wallet-instance.ts +8 -7
  993. package/src/wallet-instance/v1.0.0/index.ts +5 -4
  994. package/src/wallet-instance/v1.3.3/index.ts +5 -4
  995. package/src/wallet-instance-attestation/api/index.ts +18 -17
  996. package/src/wallet-instance-attestation/api/types.ts +12 -11
  997. package/src/wallet-instance-attestation/common/types.ts +7 -6
  998. package/src/wallet-instance-attestation/v1.0.0/index.ts +3 -2
  999. package/src/wallet-instance-attestation/v1.0.0/issuing.ts +22 -20
  1000. package/src/wallet-instance-attestation/v1.0.0/mappers.ts +2 -2
  1001. package/src/wallet-instance-attestation/v1.0.0/types.ts +10 -9
  1002. package/src/wallet-instance-attestation/v1.0.0/utils.ts +3 -2
  1003. package/src/wallet-instance-attestation/v1.3.3/index.ts +4 -3
  1004. package/src/wallet-instance-attestation/v1.3.3/issuing.ts +25 -23
  1005. package/src/wallet-instance-attestation/v1.3.3/types.ts +3 -2
  1006. package/src/wallet-instance-attestation/v1.3.3/utils.ts +3 -2
  1007. package/src/wallet-unit-attestation/api/index.ts +23 -23
  1008. package/src/wallet-unit-attestation/api/types.ts +11 -10
  1009. package/src/wallet-unit-attestation/v1.3.3/index.ts +6 -5
  1010. package/src/wallet-unit-attestation/v1.3.3/issuing.ts +42 -34
  1011. package/src/wallet-unit-attestation/v1.3.3/types.ts +3 -2
  1012. package/src/wallet-unit-attestation/v1.3.3/utils.ts +1 -0
@@ -1,145 +1,145 @@
1
1
  import * as z from "zod";
2
2
  export declare const AuthenticSource: z.ZodObject<{
3
- entity_id: z.ZodString;
4
- organization_info: z.ZodObject<{
5
- organization_name_l10n_id: z.ZodString;
6
- organization_type: z.ZodString;
7
- organization_country: z.ZodString;
8
- legal_identifier: z.ZodString;
9
- homepage_uri: z.ZodString;
10
- contacts: z.ZodArray<z.ZodString>;
11
- policy_uri: z.ZodString;
12
- ipa_code: z.ZodOptional<z.ZodString>;
13
- tos_uri: z.ZodOptional<z.ZodString>;
14
- logo_uri: z.ZodOptional<z.ZodString>;
15
- "logo_uri#integrity": z.ZodOptional<z.ZodString>;
16
- logo_extended_uri: z.ZodOptional<z.ZodString>;
17
- "logo_extended_uri#integrity": z.ZodOptional<z.ZodString>;
18
- dpa_contact: z.ZodOptional<z.ZodString>;
19
- }, z.core.$strip>;
20
3
  data_capabilities: z.ZodArray<z.ZodObject<{
21
- dataset_id: z.ZodString;
22
- intended_purposes: z.ZodArray<z.ZodString>;
4
+ api_specification: z.ZodOptional<z.ZodString>;
23
5
  available_claims: z.ZodArray<z.ZodObject<{
24
6
  claim_name: z.ZodString;
25
- order: z.ZodNumber;
26
7
  mandatory: z.ZodBoolean;
8
+ order: z.ZodNumber;
27
9
  }, z.core.$strip>>;
28
- domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
- data_origin_l10n_id: z.ZodString;
30
- integration_endpoint: z.ZodOptional<z.ZodString>;
31
- integration_method: z.ZodString;
32
- user_information_l10n_id: z.ZodOptional<z.ZodString>;
33
- api_specification: z.ZodOptional<z.ZodString>;
34
10
  background_color: z.ZodOptional<z.ZodString>;
35
11
  contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
+ data_origin_l10n_id: z.ZodString;
36
13
  data_provision: z.ZodOptional<z.ZodObject<{
37
14
  deferred_flow: z.ZodBoolean;
38
15
  immediate_flow: z.ZodBoolean;
39
16
  }, z.core.$strip>>;
17
+ dataset_id: z.ZodString;
18
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
19
+ integration_endpoint: z.ZodOptional<z.ZodString>;
20
+ integration_method: z.ZodString;
21
+ intended_purposes: z.ZodArray<z.ZodString>;
40
22
  logo_uri: z.ZodOptional<z.ZodString>;
41
23
  "logo_uri#integrity": z.ZodOptional<z.ZodString>;
42
24
  service_documentation: z.ZodOptional<z.ZodString>;
43
25
  update_frequency: z.ZodOptional<z.ZodString>;
26
+ user_information_l10n_id: z.ZodOptional<z.ZodString>;
44
27
  }, z.core.$strip>>;
28
+ entity_id: z.ZodString;
29
+ organization_info: z.ZodObject<{
30
+ contacts: z.ZodArray<z.ZodString>;
31
+ dpa_contact: z.ZodOptional<z.ZodString>;
32
+ homepage_uri: z.ZodString;
33
+ ipa_code: z.ZodOptional<z.ZodString>;
34
+ legal_identifier: z.ZodString;
35
+ logo_extended_uri: z.ZodOptional<z.ZodString>;
36
+ "logo_extended_uri#integrity": z.ZodOptional<z.ZodString>;
37
+ logo_uri: z.ZodOptional<z.ZodString>;
38
+ "logo_uri#integrity": z.ZodOptional<z.ZodString>;
39
+ organization_country: z.ZodString;
40
+ organization_name_l10n_id: z.ZodString;
41
+ organization_type: z.ZodString;
42
+ policy_uri: z.ZodString;
43
+ tos_uri: z.ZodOptional<z.ZodString>;
44
+ }, z.core.$strip>;
45
45
  }, z.core.$strip>;
46
46
  export type AuthenticSource = z.infer<typeof AuthenticSource>;
47
47
  export declare const Schema: z.ZodObject<{
48
- id: z.ZodString;
49
- version: z.ZodString;
50
48
  credential_type: z.ZodString;
49
+ description: z.ZodOptional<z.ZodString>;
50
+ docType: z.ZodOptional<z.ZodString>;
51
51
  format: z.ZodEnum<{
52
52
  "dc+sd-jwt": "dc+sd-jwt";
53
53
  mso_mdoc: "mso_mdoc";
54
54
  }>;
55
- docType: z.ZodOptional<z.ZodString>;
56
- vct: z.ZodOptional<z.ZodString>;
55
+ id: z.ZodString;
57
56
  schema_uri: z.ZodString;
58
57
  "schema_uri#integrity": z.ZodString;
59
- description: z.ZodOptional<z.ZodString>;
58
+ vct: z.ZodOptional<z.ZodString>;
59
+ version: z.ZodString;
60
60
  }, z.core.$strip>;
61
61
  export type Schema = z.infer<typeof Schema>;
62
62
  export declare const DigitalCredential: z.ZodObject<{
63
- version: z.ZodString;
64
- credential_type: z.ZodString;
65
- credential_name_l10n_id: z.ZodString;
66
- legal_type: z.ZodString;
67
- restriction_policy: z.ZodOptional<z.ZodObject<{
68
- allowed_wallet_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
- allowed_issuer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
- presentation_flows: z.ZodObject<{
71
- remote: z.ZodBoolean;
72
- proximity: z.ZodBoolean;
73
- }, z.core.$strip>;
74
- }, z.core.$strip>>;
75
- validity_info: z.ZodObject<{
76
- max_validity_days: z.ZodNumber;
77
- status_methods: z.ZodArray<z.ZodString>;
78
- administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
79
- title_l10n_id: z.ZodString;
80
- description_l10n_id: z.ZodString;
81
- }, z.core.$strip>>;
82
- allowed_states: z.ZodArray<z.ZodObject<{
83
- title_l10n_id: z.ZodString;
84
- description_l10n_id: z.ZodString;
85
- }, z.core.$catchall<z.ZodString>>>;
86
- }, z.core.$strip>;
87
63
  administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
88
- title_l10n_id: z.ZodString;
89
64
  description_l10n_id: z.ZodString;
65
+ title_l10n_id: z.ZodString;
90
66
  }, z.core.$strip>>;
67
+ authentic_sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
68
+ dataset_id: z.ZodString;
69
+ id: z.ZodString;
70
+ }, z.core.$strip>>>;
91
71
  authentication: z.ZodObject<{
92
- user_auth_required: z.ZodBoolean;
93
72
  min_loa: z.ZodString;
94
73
  supported_schemes: z.ZodArray<z.ZodString>;
74
+ user_auth_required: z.ZodBoolean;
95
75
  }, z.core.$strip>;
96
- domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
97
76
  classes: z.ZodOptional<z.ZodArray<z.ZodString>>;
98
- purposes: z.ZodArray<z.ZodString>;
77
+ credential_name_l10n_id: z.ZodString;
78
+ credential_type: z.ZodString;
79
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
99
80
  issuers: z.ZodArray<z.ZodObject<{
100
- id: z.ZodString;
101
- organization_name_l10n_id: z.ZodString;
102
- organization_code: z.ZodString;
103
- organization_country: z.ZodString;
104
- legal_type: z.ZodOptional<z.ZodString>;
105
81
  contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
106
82
  homepage_uri: z.ZodOptional<z.ZodString>;
107
- logo_uri: z.ZodOptional<z.ZodString>;
108
- policy_uri: z.ZodOptional<z.ZodString>;
109
- tos_uri: z.ZodOptional<z.ZodString>;
110
- service_documentation: z.ZodOptional<z.ZodString>;
83
+ id: z.ZodString;
111
84
  issuance_flows: z.ZodOptional<z.ZodObject<{
112
85
  deferred_flow: z.ZodBoolean;
113
86
  }, z.core.$strip>>;
87
+ legal_type: z.ZodOptional<z.ZodString>;
88
+ logo_uri: z.ZodOptional<z.ZodString>;
89
+ organization_code: z.ZodString;
90
+ organization_country: z.ZodString;
91
+ organization_name_l10n_id: z.ZodString;
92
+ policy_uri: z.ZodOptional<z.ZodString>;
93
+ service_documentation: z.ZodOptional<z.ZodString>;
94
+ tos_uri: z.ZodOptional<z.ZodString>;
114
95
  }, z.core.$strip>>;
115
- authentic_sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
116
- id: z.ZodString;
117
- dataset_id: z.ZodString;
118
- }, z.core.$strip>>>;
96
+ legal_type: z.ZodString;
119
97
  parent_credentials: z.ZodOptional<z.ZodArray<z.ZodString>>;
98
+ purposes: z.ZodArray<z.ZodString>;
99
+ restriction_policy: z.ZodOptional<z.ZodObject<{
100
+ allowed_issuer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
101
+ allowed_wallet_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
102
+ presentation_flows: z.ZodObject<{
103
+ proximity: z.ZodBoolean;
104
+ remote: z.ZodBoolean;
105
+ }, z.core.$strip>;
106
+ }, z.core.$strip>>;
107
+ validity_info: z.ZodObject<{
108
+ administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
109
+ description_l10n_id: z.ZodString;
110
+ title_l10n_id: z.ZodString;
111
+ }, z.core.$strip>>;
112
+ allowed_states: z.ZodArray<z.ZodObject<{
113
+ description_l10n_id: z.ZodString;
114
+ title_l10n_id: z.ZodString;
115
+ }, z.core.$catchall<z.ZodString>>>;
116
+ max_validity_days: z.ZodNumber;
117
+ status_methods: z.ZodArray<z.ZodString>;
118
+ }, z.core.$strip>;
119
+ version: z.ZodString;
120
120
  }, z.core.$strip>;
121
121
  /**
122
122
  * Schema registry, available at a dedicated endpoint.
123
123
  * @see https://italia.github.io/eid-wallet-it-docs/releases/1.3.3/en/registry.html#schema-registry
124
124
  */
125
125
  export declare const SchemaRegistry: z.ZodObject<{
126
- version: z.ZodString;
127
126
  last_modified: z.ZodOptional<z.ZodString>;
128
127
  last_updated: z.ZodOptional<z.ZodString>;
129
128
  schemas: z.ZodArray<z.ZodObject<{
130
- id: z.ZodString;
131
- version: z.ZodString;
132
129
  credential_type: z.ZodString;
130
+ description: z.ZodOptional<z.ZodString>;
131
+ docType: z.ZodOptional<z.ZodString>;
133
132
  format: z.ZodEnum<{
134
133
  "dc+sd-jwt": "dc+sd-jwt";
135
134
  mso_mdoc: "mso_mdoc";
136
135
  }>;
137
- docType: z.ZodOptional<z.ZodString>;
138
- vct: z.ZodOptional<z.ZodString>;
136
+ id: z.ZodString;
139
137
  schema_uri: z.ZodString;
140
138
  "schema_uri#integrity": z.ZodString;
141
- description: z.ZodOptional<z.ZodString>;
139
+ vct: z.ZodOptional<z.ZodString>;
140
+ version: z.ZodString;
142
141
  }, z.core.$strip>>;
142
+ version: z.ZodString;
143
143
  }, z.core.$strip>;
144
144
  export type SchemaRegistry = z.infer<typeof SchemaRegistry>;
145
145
  /**
@@ -147,59 +147,59 @@ export type SchemaRegistry = z.infer<typeof SchemaRegistry>;
147
147
  * @see https://italia.github.io/eid-wallet-it-docs/releases/1.3.3/en/registry.html#authentic-source-registry
148
148
  */
149
149
  export declare const AuthenticSourceRegistry: z.ZodObject<{
150
- id: z.ZodOptional<z.ZodString>;
151
- version: z.ZodString;
152
- last_modified: z.ZodString;
153
- localization: z.ZodOptional<z.ZodObject<{
154
- available_locales: z.ZodArray<z.ZodString>;
155
- base_uri: z.ZodString;
156
- default_locale: z.ZodString;
157
- version: z.ZodString;
158
- }, z.core.$strip>>;
159
150
  authentic_sources: z.ZodArray<z.ZodObject<{
160
- entity_id: z.ZodString;
161
- organization_info: z.ZodObject<{
162
- organization_name_l10n_id: z.ZodString;
163
- organization_type: z.ZodString;
164
- organization_country: z.ZodString;
165
- legal_identifier: z.ZodString;
166
- homepage_uri: z.ZodString;
167
- contacts: z.ZodArray<z.ZodString>;
168
- policy_uri: z.ZodString;
169
- ipa_code: z.ZodOptional<z.ZodString>;
170
- tos_uri: z.ZodOptional<z.ZodString>;
171
- logo_uri: z.ZodOptional<z.ZodString>;
172
- "logo_uri#integrity": z.ZodOptional<z.ZodString>;
173
- logo_extended_uri: z.ZodOptional<z.ZodString>;
174
- "logo_extended_uri#integrity": z.ZodOptional<z.ZodString>;
175
- dpa_contact: z.ZodOptional<z.ZodString>;
176
- }, z.core.$strip>;
177
151
  data_capabilities: z.ZodArray<z.ZodObject<{
178
- dataset_id: z.ZodString;
179
- intended_purposes: z.ZodArray<z.ZodString>;
152
+ api_specification: z.ZodOptional<z.ZodString>;
180
153
  available_claims: z.ZodArray<z.ZodObject<{
181
154
  claim_name: z.ZodString;
182
- order: z.ZodNumber;
183
155
  mandatory: z.ZodBoolean;
156
+ order: z.ZodNumber;
184
157
  }, z.core.$strip>>;
185
- domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
186
- data_origin_l10n_id: z.ZodString;
187
- integration_endpoint: z.ZodOptional<z.ZodString>;
188
- integration_method: z.ZodString;
189
- user_information_l10n_id: z.ZodOptional<z.ZodString>;
190
- api_specification: z.ZodOptional<z.ZodString>;
191
158
  background_color: z.ZodOptional<z.ZodString>;
192
159
  contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
160
+ data_origin_l10n_id: z.ZodString;
193
161
  data_provision: z.ZodOptional<z.ZodObject<{
194
162
  deferred_flow: z.ZodBoolean;
195
163
  immediate_flow: z.ZodBoolean;
196
164
  }, z.core.$strip>>;
165
+ dataset_id: z.ZodString;
166
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
167
+ integration_endpoint: z.ZodOptional<z.ZodString>;
168
+ integration_method: z.ZodString;
169
+ intended_purposes: z.ZodArray<z.ZodString>;
197
170
  logo_uri: z.ZodOptional<z.ZodString>;
198
171
  "logo_uri#integrity": z.ZodOptional<z.ZodString>;
199
172
  service_documentation: z.ZodOptional<z.ZodString>;
200
173
  update_frequency: z.ZodOptional<z.ZodString>;
174
+ user_information_l10n_id: z.ZodOptional<z.ZodString>;
201
175
  }, z.core.$strip>>;
176
+ entity_id: z.ZodString;
177
+ organization_info: z.ZodObject<{
178
+ contacts: z.ZodArray<z.ZodString>;
179
+ dpa_contact: z.ZodOptional<z.ZodString>;
180
+ homepage_uri: z.ZodString;
181
+ ipa_code: z.ZodOptional<z.ZodString>;
182
+ legal_identifier: z.ZodString;
183
+ logo_extended_uri: z.ZodOptional<z.ZodString>;
184
+ "logo_extended_uri#integrity": z.ZodOptional<z.ZodString>;
185
+ logo_uri: z.ZodOptional<z.ZodString>;
186
+ "logo_uri#integrity": z.ZodOptional<z.ZodString>;
187
+ organization_country: z.ZodString;
188
+ organization_name_l10n_id: z.ZodString;
189
+ organization_type: z.ZodString;
190
+ policy_uri: z.ZodString;
191
+ tos_uri: z.ZodOptional<z.ZodString>;
192
+ }, z.core.$strip>;
202
193
  }, z.core.$strip>>;
194
+ id: z.ZodOptional<z.ZodString>;
195
+ last_modified: z.ZodString;
196
+ localization: z.ZodOptional<z.ZodObject<{
197
+ available_locales: z.ZodArray<z.ZodString>;
198
+ base_uri: z.ZodString;
199
+ default_locale: z.ZodString;
200
+ version: z.ZodString;
201
+ }, z.core.$strip>>;
202
+ version: z.ZodString;
203
203
  }, z.core.$strip>;
204
204
  export type AuthenticSourceRegistry = z.infer<typeof AuthenticSourceRegistry>;
205
205
  /**
@@ -208,107 +208,107 @@ export type AuthenticSourceRegistry = z.infer<typeof AuthenticSourceRegistry>;
208
208
  */
209
209
  export declare const DigitalCredentialsCatalogueJwt: z.ZodObject<{
210
210
  header: z.ZodObject<{
211
- typ: z.ZodString;
212
211
  alg: z.ZodString;
213
212
  kid: z.ZodString;
213
+ typ: z.ZodString;
214
214
  x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
215
215
  }, z.core.$strip>;
216
216
  payload: z.ZodObject<{
217
- iss: z.ZodString;
218
- id: z.ZodString;
219
- version: z.ZodString;
220
- last_modified: z.ZodString;
221
- localization: z.ZodOptional<z.ZodObject<{
222
- available_locales: z.ZodArray<z.ZodString>;
223
- base_uri: z.ZodString;
224
- default_locale: z.ZodString;
225
- version: z.ZodString;
226
- }, z.core.$strip>>;
227
217
  credentials: z.ZodArray<z.ZodObject<{
228
- version: z.ZodString;
229
- credential_type: z.ZodString;
230
- credential_name_l10n_id: z.ZodString;
231
- legal_type: z.ZodString;
232
- restriction_policy: z.ZodOptional<z.ZodObject<{
233
- allowed_wallet_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
234
- allowed_issuer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
235
- presentation_flows: z.ZodObject<{
236
- remote: z.ZodBoolean;
237
- proximity: z.ZodBoolean;
238
- }, z.core.$strip>;
239
- }, z.core.$strip>>;
240
- validity_info: z.ZodObject<{
241
- max_validity_days: z.ZodNumber;
242
- status_methods: z.ZodArray<z.ZodString>;
243
- administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
244
- title_l10n_id: z.ZodString;
245
- description_l10n_id: z.ZodString;
246
- }, z.core.$strip>>;
247
- allowed_states: z.ZodArray<z.ZodObject<{
248
- title_l10n_id: z.ZodString;
249
- description_l10n_id: z.ZodString;
250
- }, z.core.$catchall<z.ZodString>>>;
251
- }, z.core.$strip>;
252
218
  administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
253
- title_l10n_id: z.ZodString;
254
219
  description_l10n_id: z.ZodString;
220
+ title_l10n_id: z.ZodString;
255
221
  }, z.core.$strip>>;
222
+ authentic_sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
223
+ dataset_id: z.ZodString;
224
+ id: z.ZodString;
225
+ }, z.core.$strip>>>;
256
226
  authentication: z.ZodObject<{
257
- user_auth_required: z.ZodBoolean;
258
227
  min_loa: z.ZodString;
259
228
  supported_schemes: z.ZodArray<z.ZodString>;
229
+ user_auth_required: z.ZodBoolean;
260
230
  }, z.core.$strip>;
261
- domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
262
231
  classes: z.ZodOptional<z.ZodArray<z.ZodString>>;
263
- purposes: z.ZodArray<z.ZodString>;
232
+ credential_name_l10n_id: z.ZodString;
233
+ credential_type: z.ZodString;
234
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
264
235
  issuers: z.ZodArray<z.ZodObject<{
265
- id: z.ZodString;
266
- organization_name_l10n_id: z.ZodString;
267
- organization_code: z.ZodString;
268
- organization_country: z.ZodString;
269
- legal_type: z.ZodOptional<z.ZodString>;
270
236
  contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
271
237
  homepage_uri: z.ZodOptional<z.ZodString>;
272
- logo_uri: z.ZodOptional<z.ZodString>;
273
- policy_uri: z.ZodOptional<z.ZodString>;
274
- tos_uri: z.ZodOptional<z.ZodString>;
275
- service_documentation: z.ZodOptional<z.ZodString>;
238
+ id: z.ZodString;
276
239
  issuance_flows: z.ZodOptional<z.ZodObject<{
277
240
  deferred_flow: z.ZodBoolean;
278
241
  }, z.core.$strip>>;
242
+ legal_type: z.ZodOptional<z.ZodString>;
243
+ logo_uri: z.ZodOptional<z.ZodString>;
244
+ organization_code: z.ZodString;
245
+ organization_country: z.ZodString;
246
+ organization_name_l10n_id: z.ZodString;
247
+ policy_uri: z.ZodOptional<z.ZodString>;
248
+ service_documentation: z.ZodOptional<z.ZodString>;
249
+ tos_uri: z.ZodOptional<z.ZodString>;
279
250
  }, z.core.$strip>>;
280
- authentic_sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
281
- id: z.ZodString;
282
- dataset_id: z.ZodString;
283
- }, z.core.$strip>>>;
251
+ legal_type: z.ZodString;
284
252
  parent_credentials: z.ZodOptional<z.ZodArray<z.ZodString>>;
253
+ purposes: z.ZodArray<z.ZodString>;
254
+ restriction_policy: z.ZodOptional<z.ZodObject<{
255
+ allowed_issuer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
256
+ allowed_wallet_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
257
+ presentation_flows: z.ZodObject<{
258
+ proximity: z.ZodBoolean;
259
+ remote: z.ZodBoolean;
260
+ }, z.core.$strip>;
261
+ }, z.core.$strip>>;
262
+ validity_info: z.ZodObject<{
263
+ administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
264
+ description_l10n_id: z.ZodString;
265
+ title_l10n_id: z.ZodString;
266
+ }, z.core.$strip>>;
267
+ allowed_states: z.ZodArray<z.ZodObject<{
268
+ description_l10n_id: z.ZodString;
269
+ title_l10n_id: z.ZodString;
270
+ }, z.core.$catchall<z.ZodString>>>;
271
+ max_validity_days: z.ZodNumber;
272
+ status_methods: z.ZodArray<z.ZodString>;
273
+ }, z.core.$strip>;
274
+ version: z.ZodString;
285
275
  }, z.core.$strip>>;
286
- iat: z.ZodNumber;
287
276
  exp: z.ZodNumber;
277
+ iat: z.ZodNumber;
278
+ id: z.ZodString;
279
+ iss: z.ZodString;
280
+ last_modified: z.ZodString;
281
+ localization: z.ZodOptional<z.ZodObject<{
282
+ available_locales: z.ZodArray<z.ZodString>;
283
+ base_uri: z.ZodString;
284
+ default_locale: z.ZodString;
285
+ version: z.ZodString;
286
+ }, z.core.$strip>>;
287
+ version: z.ZodString;
288
288
  }, z.core.$strip>;
289
289
  }, z.core.$strip>;
290
290
  export type DigitalCredentialsCatalogueJwt = z.infer<typeof DigitalCredentialsCatalogueJwt>;
291
291
  export declare const RegistryDiscoveryJwt: z.ZodObject<{
292
292
  header: z.ZodObject<{
293
- typ: z.ZodString;
294
293
  alg: z.ZodString;
295
294
  kid: z.ZodString;
295
+ typ: z.ZodString;
296
296
  x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
297
297
  }, z.core.$strip>;
298
298
  payload: z.ZodObject<{
299
- registry_version: z.ZodString;
300
- last_updated: z.ZodString;
301
299
  endpoints: z.ZodObject<{
302
- claims_registry: z.ZodString;
303
300
  authentic_sources: z.ZodString;
301
+ claims_registry: z.ZodString;
304
302
  credential_catalog: z.ZodString;
305
- taxonomy: z.ZodString;
306
- schema_registry: z.ZodString;
307
- federation_list_endpoint: z.ZodString;
308
303
  federation_fetch_endpoint: z.ZodString;
304
+ federation_list_endpoint: z.ZodString;
309
305
  federation_resolve_endpoint: z.ZodString;
310
306
  federation_trust_mark_status_endpoint: z.ZodString;
307
+ schema_registry: z.ZodString;
308
+ taxonomy: z.ZodString;
311
309
  }, z.core.$strip>;
310
+ last_updated: z.ZodString;
311
+ registry_version: z.ZodString;
312
312
  }, z.core.$strip>;
313
313
  }, z.core.$strip>;
314
314
  export type RegistryDiscoveryJwt = z.infer<typeof RegistryDiscoveryJwt>;
@@ -318,31 +318,31 @@ export type RegistryDiscoveryJwt = z.infer<typeof RegistryDiscoveryJwt>;
318
318
  * @see https://italia.github.io/eid-wallet-it-docs/releases/1.3.3/en/registry.html#taxonomy
319
319
  */
320
320
  export declare const TaxonomyRegistry: z.ZodObject<{
321
- version: z.ZodString;
322
- last_modified: z.ZodString;
323
- id: z.ZodString;
324
- localization: z.ZodOptional<z.ZodObject<{
325
- available_locales: z.ZodArray<z.ZodString>;
326
- base_uri: z.ZodString;
327
- default_locale: z.ZodString;
328
- version: z.ZodString;
329
- }, z.core.$strip>>;
330
- name_l10n_id: z.ZodString;
331
321
  description_l10n_id: z.ZodString;
332
322
  domains: z.ZodArray<z.ZodObject<{
333
- id: z.ZodString;
334
- name_l10n_id: z.ZodString;
335
- description_l10n_id: z.ZodString;
336
323
  classes: z.ZodArray<z.ZodObject<{
337
324
  id: z.ZodString;
338
325
  name_l10n_id: z.ZodString;
339
326
  supported_purposes: z.ZodArray<z.ZodString>;
340
327
  }, z.core.$strip>>;
328
+ description_l10n_id: z.ZodString;
329
+ id: z.ZodString;
330
+ name_l10n_id: z.ZodString;
341
331
  }, z.core.$strip>>;
332
+ id: z.ZodString;
333
+ last_modified: z.ZodString;
334
+ localization: z.ZodOptional<z.ZodObject<{
335
+ available_locales: z.ZodArray<z.ZodString>;
336
+ base_uri: z.ZodString;
337
+ default_locale: z.ZodString;
338
+ version: z.ZodString;
339
+ }, z.core.$strip>>;
340
+ name_l10n_id: z.ZodString;
342
341
  purposes: z.ZodArray<z.ZodObject<{
343
342
  id: z.ZodString;
344
343
  name_l10n_id: z.ZodString;
345
344
  }, z.core.$strip>>;
345
+ version: z.ZodString;
346
346
  }, z.core.$strip>;
347
347
  export type TaxonomyRegistry = z.infer<typeof TaxonomyRegistry>;
348
348
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/credentials-catalogue/v1.3.3/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAmCzB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuB1B,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,MAAM;;;;;;;;;;;;;iBAUjB,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC;AA6B5C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqC5B,CAAC;AASH;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;iBAKzB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAalC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E;;;GAGG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmBzC,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,8BAA8B,CACtC,CAAC;AAmBF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;iBAO/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AA6BxE;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgB3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/credentials-catalogue/v1.3.3/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAoCzB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuB1B,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,MAAM;;;;;;;;;;;;;iBAUjB,CAAC;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC;AA6B5C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqC5B,CAAC;AASH;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;iBAKzB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAalC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E;;;GAGG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmBzC,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,8BAA8B,CACtC,CAAC;AAmBF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;iBAO/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AA6BxE;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgB3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import * as z from "zod";
2
2
  import type { JWK } from "../../utils/jwk";
3
3
  type FetchRegistryParams<T> = {
4
- schema: z.ZodType<T>;
5
4
  appFetch?: GlobalFetch["fetch"];
5
+ schema: z.ZodType<T>;
6
6
  } & ({
7
7
  asJson: true;
8
8
  } | {
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/credentials-catalogue/v1.3.3/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAE3C,KAAK,mBAAmB,CAAC,CAAC,IAAI;IAC5B,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IACrB,QAAQ,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACjC,GAAG,CAAC;IAAE,MAAM,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,MAAM,CAAC,EAAE,KAAK,CAAC;IAAC,IAAI,EAAE,GAAG,EAAE,CAAA;CAAE,CAAC,CAAC;AAEzD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa,GAAU,CAAC,EACnC,KAAK,MAAM,EACX,QAAQ,mBAAmB,CAAC,CAAC,CAAC,KAC7B,OAAO,CAAC,CAAC,CA0CX,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,GAC5B,SAAS,MAAM,EACf,QAAQ,MAAM,EACd,WAAU,WAAW,CAAC,OAAO,CAAS,KACrC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAiBhC,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/credentials-catalogue/v1.3.3/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAK3C,KAAK,mBAAmB,CAAC,CAAC,IAAI;IAC5B,QAAQ,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAChC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;CACtB,GAAG,CAAC;IAAE,MAAM,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,MAAM,CAAC,EAAE,KAAK,CAAC;IAAC,IAAI,EAAE,GAAG,EAAE,CAAA;CAAE,CAAC,CAAC;AAEzD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa,GAAU,CAAC,EACnC,KAAK,MAAM,EACX,QAAQ,mBAAmB,CAAC,CAAC,CAAC,KAC7B,OAAO,CAAC,CAAC,CA0CX,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,GAC5B,SAAS,MAAM,EACf,QAAQ,MAAM,EACd,WAAU,WAAW,CAAC,OAAO,CAAS,KACrC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAiBhC,CAAC"}
@@ -1,25 +1,25 @@
1
1
  import type { AuthorizationContext } from "./utils/auth";
2
- import { fixBase64EncodingOnKey } from "./utils/jwk";
2
+ import type { IntegrityContext } from "./utils/integrity";
3
3
  import "react-native-url-polyfill/auto";
4
- import * as Trust from "./trust";
5
- import * as CredentialsCatalogue from "./credentials-catalogue";
6
4
  import * as CredentialIssuance from "./credential/issuance";
7
5
  import * as CredentialOffer from "./credential/offer";
8
- import * as CredentialStatus from "./credential/status";
9
6
  import * as RemotePresentation from "./credential/presentation";
7
+ import * as CredentialStatus from "./credential/status";
10
8
  import * as Trustmark from "./credential/trustmark";
11
- import * as SdJwt from "./sd-jwt";
9
+ import * as CredentialsCatalogue from "./credentials-catalogue";
12
10
  import * as Mdoc from "./mdoc";
11
+ import * as SdJwt from "./sd-jwt";
12
+ import * as Trust from "./trust";
13
+ import { createCryptoContextFor, type KeyAttestationCryptoContext } from "./utils/crypto";
13
14
  import * as Errors from "./utils/errors";
14
- import * as WalletInstanceAttestation from "./wallet-instance-attestation";
15
- import * as WalletUnitAttestation from "./wallet-unit-attestation";
16
- import * as WalletInstance from "./wallet-instance";
15
+ import { fixBase64EncodingOnKey } from "./utils/jwk";
17
16
  import * as Logging from "./utils/logging";
18
17
  import { AuthorizationDetail, AuthorizationDetails } from "./utils/par";
19
- import { createCryptoContextFor, type KeyAttestationCryptoContext } from "./utils/crypto";
20
- import type { IntegrityContext } from "./utils/integrity";
21
- export { Trust, CredentialIssuance, CredentialOffer, CredentialsCatalogue, CredentialStatus, RemotePresentation, SdJwt, Mdoc, WalletInstanceAttestation, WalletUnitAttestation, WalletInstance, Trustmark, Errors, createCryptoContextFor, AuthorizationDetail, AuthorizationDetails, fixBase64EncodingOnKey, Logging, };
22
- export type { IntegrityContext, AuthorizationContext, KeyAttestationCryptoContext, };
18
+ import * as WalletInstance from "./wallet-instance";
19
+ import * as WalletInstanceAttestation from "./wallet-instance-attestation";
20
+ import * as WalletUnitAttestation from "./wallet-unit-attestation";
21
+ export { AuthorizationDetail, AuthorizationDetails, createCryptoContextFor, CredentialIssuance, CredentialOffer, CredentialsCatalogue, CredentialStatus, Errors, fixBase64EncodingOnKey, Logging, Mdoc, RemotePresentation, SdJwt, Trust, Trustmark, WalletInstance, WalletInstanceAttestation, WalletUnitAttestation, };
22
+ export type { AuthorizationContext, IntegrityContext, KeyAttestationCryptoContext, };
23
23
  export type * from "./api";
24
24
  export { IoWallet } from "./IoWallet";
25
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,OAAO,gCAAgC,CAAC;AAExC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,oBAAoB,MAAM,yBAAyB,CAAC;AAChE,OAAO,KAAK,kBAAkB,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,gBAAgB,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,yBAAyB,MAAM,+BAA+B,CAAC;AAC3E,OAAO,KAAK,qBAAqB,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,cAAc,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACxE,OAAO,EACL,sBAAsB,EACtB,KAAK,2BAA2B,EACjC,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1D,OAAO,EACL,KAAK,EACL,kBAAkB,EAClB,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,EACL,IAAI,EACJ,yBAAyB,EACzB,qBAAqB,EACrB,cAAc,EACd,SAAS,EACT,MAAM,EACN,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,OAAO,GACR,CAAC;AAEF,YAAY,EACV,gBAAgB,EAChB,oBAAoB,EACpB,2BAA2B,GAC5B,CAAC;AAEF,mBAAmB,OAAO,CAAC;AAG3B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAG1D,OAAO,gCAAgC,CAAC;AAExC,OAAO,KAAK,kBAAkB,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,gBAAgB,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,oBAAoB,MAAM,yBAAyB,CAAC;AAChE,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,EACL,sBAAsB,EACtB,KAAK,2BAA2B,EACjC,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACxE,OAAO,KAAK,cAAc,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,yBAAyB,MAAM,+BAA+B,CAAC;AAC3E,OAAO,KAAK,qBAAqB,MAAM,2BAA2B,CAAC;AAEnE,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,oBAAoB,EACpB,gBAAgB,EAChB,MAAM,EACN,sBAAsB,EACtB,OAAO,EACP,IAAI,EACJ,kBAAkB,EAClB,KAAK,EACL,KAAK,EACL,SAAS,EACT,cAAc,EACd,yBAAyB,EACzB,qBAAqB,GACtB,CAAC;AAEF,YAAY,EACV,oBAAoB,EACpB,gBAAgB,EAChB,2BAA2B,GAC5B,CAAC;AAEF,mBAAmB,OAAO,CAAC;AAG3B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mdoc/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAoB,MAAM,kCAAkC,CAAC;AAM1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG/D,cAAc,SAAS,CAAC;AAExB,eAAO,MAAM,MAAM,GACjB,OAAO,MAAM,EACb,cAAc,MAAM,KACnB,OAAO,CAAC;IAAE,YAAY,EAAE,IAAI,CAAC,YAAY,CAAA;CAAE,CA6B7C,CAAC;AAqBF,eAAO,MAAM,kBAAkB,GAC7B,cAAc,MAAM,EACpB,gBAAgB,MAAM,EACtB,UAAU,MAAM,EAChB,aAAa,MAAM,EACnB,SAAS,MAAM,EACf,QAAQ,MAAM,EACd,2CAA2C,YAAY,KACtD,OAAO,CAAC;IACT,QAAQ,EAAE,MAAM,CAAC;CAClB,CAwBA,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mdoc/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAoB,MAAM,kCAAkC,CAAC;AAI1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAM/D,cAAc,SAAS,CAAC;AAExB,eAAO,MAAM,MAAM,GACjB,OAAO,MAAM,EACb,cAAc,MAAM,KACnB,OAAO,CAAC;IAAE,YAAY,EAAE,IAAI,CAAC,YAAY,CAAA;CAAE,CAoC7C,CAAC;AA2BF,eAAO,MAAM,kBAAkB,GAC7B,cAAc,MAAM,EACpB,gBAAgB,MAAM,EACtB,UAAU,MAAM,EAChB,aAAa,MAAM,EACnB,SAAS,MAAM,EACf,QAAQ,MAAM,EACd,2CAA2C,YAAY,KACtD,OAAO,CAAC;IACT,QAAQ,EAAE,MAAM,CAAC;CAClB,CAwBA,CAAC"}
@@ -15,8 +15,8 @@ export declare const getParsedCredentialClaimKey: (namespace: string, key: strin
15
15
  * @returns The verification claim or undefined if it wasn't found
16
16
  */
17
17
  export declare const getVerificationFromParsedCredential: (parsedCredential: Out<IssuanceApi["verifyAndParseCredential"]>["parsedCredential"]) => {
18
- trust_framework: string;
19
18
  assurance_level: string;
19
+ trust_framework: string;
20
20
  } | undefined;
21
21
  /**
22
22
  * Extract and validate the `verification` claim from an MDOC credential.
@@ -27,7 +27,7 @@ export declare const getVerificationFromParsedCredential: (parsedCredential: Out
27
27
  * @returns The verification claim or undefined if it wasn't found
28
28
  */
29
29
  export declare const getVerification: (token: string) => Promise<{
30
- trust_framework: string;
31
30
  assurance_level: string;
31
+ trust_framework: string;
32
32
  } | undefined>;
33
33
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/mdoc/utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAGzC;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,GAAI,WAAW,MAAM,EAAE,KAAK,MAAM,WACnD,CAAC;AAExB;;;;;;;GAOG;AACH,eAAO,MAAM,mCAAmC,GAC9C,kBAAkB,GAAG,CACnB,WAAW,CAAC,0BAA0B,CAAC,CACxC,CAAC,kBAAkB,CAAC;;;aAStB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,GAAU,OAAO,MAAM;;;cAUlD,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/mdoc/utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAKzC;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,GAAI,WAAW,MAAM,EAAE,KAAK,MAAM,WACnD,CAAC;AAExB;;;;;;;GAOG;AACH,eAAO,MAAM,mCAAmC,GAC9C,kBAAkB,GAAG,CACnB,WAAW,CAAC,0BAA0B,CAAC,CACxC,CAAC,kBAAkB,CAAC;;;aAStB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,GAAU,OAAO,MAAM;;;cAUlD,CAAC"}