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

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 (539) hide show
  1. package/README.md +2 -2
  2. package/lib/commonjs/api/index.js +13 -14
  3. package/lib/commonjs/api/index.js.map +1 -1
  4. package/lib/commonjs/credential/issuance/README.md +9 -9
  5. package/lib/commonjs/credential/issuance/index.js +2 -2
  6. package/lib/commonjs/credential/issuance/mrtd-pop/index.js +2 -2
  7. package/lib/commonjs/credential/issuance/mrtd-pop/index.js.map +1 -1
  8. package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/01-evaluate-issuer-trust.js.map +1 -1
  9. package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/02-start-user-authorization.js +2 -2
  10. package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/02-start-user-authorization.js.map +1 -1
  11. package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/03-complete-user-authorization.js +2 -4
  12. package/lib/commonjs/credential/issuance/v1.4.6/03-complete-user-authorization.js.map +1 -0
  13. package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/04-authorize-access.js +1 -1
  14. package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/04-authorize-access.js.map +1 -1
  15. package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/05-obtain-credential.js +9 -9
  16. package/lib/commonjs/credential/issuance/v1.4.6/05-obtain-credential.js.map +1 -0
  17. package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/06-verify-and-parse-credential.js.map +1 -1
  18. package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  19. package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/mappers.js.map +1 -1
  20. package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/types.js.map +1 -1
  21. package/lib/commonjs/credential/offer/README.md +10 -6
  22. package/lib/commonjs/credential/offer/index.js +2 -2
  23. package/lib/commonjs/credential/offer/{v1.3.3 → v1.4.6}/01-resolve-credential-offer.js +2 -2
  24. package/lib/commonjs/credential/offer/{v1.3.3 → v1.4.6}/01-resolve-credential-offer.js.map +1 -1
  25. package/lib/commonjs/credential/offer/{v1.3.3 → v1.4.6}/02-extract-grant-details.js +2 -2
  26. package/lib/commonjs/credential/offer/{v1.3.3 → v1.4.6}/02-extract-grant-details.js.map +1 -1
  27. package/lib/commonjs/credential/offer/{v1.3.3 → v1.4.6}/03-validate-credential-offer.js +2 -2
  28. package/lib/commonjs/credential/offer/{v1.3.3 → v1.4.6}/03-validate-credential-offer.js.map +1 -1
  29. package/lib/commonjs/credential/offer/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  30. package/lib/commonjs/credential/presentation/api/types.js +2 -2
  31. package/lib/commonjs/credential/presentation/api/types.js.map +1 -1
  32. package/lib/commonjs/credential/presentation/index.js +2 -2
  33. package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/01-start-flow.js +9 -3
  34. package/lib/commonjs/credential/presentation/v1.4.6/01-start-flow.js.map +1 -0
  35. package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/02-evaluate-rp-trust.js +1 -1
  36. package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/02-evaluate-rp-trust.js.map +1 -1
  37. package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/03-get-request-object.js.map +1 -1
  38. package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/04-verify-certificate-chain.js.map +1 -1
  39. package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/05-verify-request-object.js +9 -11
  40. package/lib/commonjs/credential/presentation/v1.4.6/05-verify-request-object.js.map +1 -0
  41. package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/06-evaluate-dcql-query.js.map +1 -1
  42. package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/07-send-authorization-response.js +1 -1
  43. package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/07-send-authorization-response.js.map +1 -1
  44. package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  45. package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/mappers.js.map +1 -1
  46. package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/sdkErrorMapper.js.map +1 -1
  47. package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/types.js.map +1 -1
  48. package/lib/commonjs/credential/status/README.md +2 -2
  49. package/lib/commonjs/credential/status/index.js +3 -3
  50. package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/01-status-list.js.map +1 -1
  51. package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/02-verify-and-parse-status-list.js.map +1 -1
  52. package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/03-get-status.js +2 -2
  53. package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/03-get-status.js.map +1 -1
  54. package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  55. package/lib/commonjs/credential/trustmark/index.js +2 -2
  56. package/lib/commonjs/credential/trustmark/{v1.3.3 → v1.4.6}/get-credential-trustmark.js +1 -1
  57. package/lib/commonjs/credential/trustmark/{v1.3.3 → v1.4.6}/get-credential-trustmark.js.map +1 -1
  58. package/lib/commonjs/credential/trustmark/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  59. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js +3 -3
  60. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  61. package/lib/commonjs/credentials-catalogue/index.js +2 -2
  62. package/lib/commonjs/credentials-catalogue/v1.0.0/types.js +3 -3
  63. package/lib/commonjs/credentials-catalogue/v1.0.0/types.js.map +1 -1
  64. package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-and-parse-catalogue.js +1 -1
  65. package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-and-parse-catalogue.js.map +1 -1
  66. package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-translations.js.map +1 -1
  67. package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  68. package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/mappers.js.map +1 -1
  69. package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/types.js +5 -5
  70. package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/types.js.map +1 -1
  71. package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/utils.js +2 -2
  72. package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/utils.js.map +1 -1
  73. package/lib/commonjs/index.js +9 -3
  74. package/lib/commonjs/index.js.map +1 -1
  75. package/lib/commonjs/{wallet-unit-attestation → key-attestation}/README.md +9 -9
  76. package/lib/commonjs/{wallet-unit-attestation → key-attestation}/api/index.js.map +1 -1
  77. package/lib/commonjs/{wallet-unit-attestation → key-attestation}/api/types.js +4 -4
  78. package/lib/commonjs/key-attestation/api/types.js.map +1 -0
  79. package/lib/commonjs/{wallet-unit-attestation → key-attestation}/index.js +4 -4
  80. package/lib/commonjs/key-attestation/index.js.map +1 -0
  81. package/lib/commonjs/key-attestation/v1.0.0/index.js +11 -0
  82. package/lib/commonjs/key-attestation/v1.0.0/index.js.map +1 -0
  83. package/lib/commonjs/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/index.js +4 -4
  84. package/lib/commonjs/key-attestation/v1.4.6/index.js.map +1 -0
  85. package/lib/commonjs/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/issuing.js +4 -4
  86. package/lib/commonjs/key-attestation/v1.4.6/issuing.js.map +1 -0
  87. package/lib/commonjs/key-attestation/v1.4.6/mappers.js +13 -0
  88. package/lib/commonjs/key-attestation/v1.4.6/mappers.js.map +1 -0
  89. package/lib/commonjs/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/types.js +6 -6
  90. package/lib/commonjs/key-attestation/v1.4.6/types.js.map +1 -0
  91. package/lib/commonjs/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/utils.js +2 -2
  92. package/lib/commonjs/key-attestation/v1.4.6/utils.js.map +1 -0
  93. package/lib/commonjs/sd-jwt/types.js +2 -2
  94. package/lib/commonjs/sd-jwt/types.js.map +1 -1
  95. package/lib/commonjs/sd-jwt/utils.js +7 -8
  96. package/lib/commonjs/sd-jwt/utils.js.map +1 -1
  97. package/lib/commonjs/trust/{v1.3.3 → v1.4.6}/entities.js +1 -1
  98. package/lib/commonjs/trust/{v1.3.3 → v1.4.6}/entities.js.map +1 -1
  99. package/lib/commonjs/trust/{v1.3.3 → v1.4.6}/types.js.map +1 -1
  100. package/lib/commonjs/utils/config.js +2 -10
  101. package/lib/commonjs/utils/config.js.map +1 -1
  102. package/lib/commonjs/wallet-instance/index.js +2 -2
  103. package/lib/commonjs/wallet-instance/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  104. package/lib/commonjs/wallet-instance-attestation/index.js +2 -2
  105. package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  106. package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/issuing.js.map +1 -1
  107. package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/mappers.js.map +1 -1
  108. package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/types.js.map +1 -1
  109. package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/utils.js.map +1 -1
  110. package/lib/module/api/index.js +13 -14
  111. package/lib/module/api/index.js.map +1 -1
  112. package/lib/module/credential/issuance/README.md +9 -9
  113. package/lib/module/credential/issuance/index.js +1 -1
  114. package/lib/module/credential/issuance/index.js.map +1 -1
  115. package/lib/module/credential/issuance/mrtd-pop/index.js +3 -3
  116. package/lib/module/credential/issuance/mrtd-pop/index.js.map +1 -1
  117. package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/01-evaluate-issuer-trust.js.map +1 -1
  118. package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/02-start-user-authorization.js +3 -3
  119. package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/02-start-user-authorization.js.map +1 -1
  120. package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/03-complete-user-authorization.js +3 -5
  121. package/lib/module/credential/issuance/v1.4.6/03-complete-user-authorization.js.map +1 -0
  122. package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/04-authorize-access.js +2 -2
  123. package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/04-authorize-access.js.map +1 -1
  124. package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/05-obtain-credential.js +10 -10
  125. package/lib/module/credential/issuance/v1.4.6/05-obtain-credential.js.map +1 -0
  126. package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/06-verify-and-parse-credential.js.map +1 -1
  127. package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  128. package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/mappers.js.map +1 -1
  129. package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/types.js.map +1 -1
  130. package/lib/module/credential/offer/README.md +10 -6
  131. package/lib/module/credential/offer/index.js +1 -1
  132. package/lib/module/credential/offer/index.js.map +1 -1
  133. package/lib/module/credential/offer/{v1.3.3 → v1.4.6}/01-resolve-credential-offer.js +3 -3
  134. package/lib/module/credential/offer/{v1.3.3 → v1.4.6}/01-resolve-credential-offer.js.map +1 -1
  135. package/lib/module/credential/offer/{v1.3.3 → v1.4.6}/02-extract-grant-details.js +3 -3
  136. package/lib/module/credential/offer/{v1.3.3 → v1.4.6}/02-extract-grant-details.js.map +1 -1
  137. package/lib/module/credential/offer/{v1.3.3 → v1.4.6}/03-validate-credential-offer.js +3 -3
  138. package/lib/module/credential/offer/{v1.3.3 → v1.4.6}/03-validate-credential-offer.js.map +1 -1
  139. package/lib/module/credential/offer/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  140. package/lib/module/credential/presentation/api/types.js +2 -2
  141. package/lib/module/credential/presentation/api/types.js.map +1 -1
  142. package/lib/module/credential/presentation/index.js +1 -1
  143. package/lib/module/credential/presentation/index.js.map +1 -1
  144. package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/01-start-flow.js +9 -3
  145. package/lib/module/credential/presentation/v1.4.6/01-start-flow.js.map +1 -0
  146. package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/02-evaluate-rp-trust.js +1 -1
  147. package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/02-evaluate-rp-trust.js.map +1 -1
  148. package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/03-get-request-object.js.map +1 -1
  149. package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/04-verify-certificate-chain.js.map +1 -1
  150. package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/05-verify-request-object.js +11 -12
  151. package/lib/module/credential/presentation/v1.4.6/05-verify-request-object.js.map +1 -0
  152. package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/06-evaluate-dcql-query.js.map +1 -1
  153. package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/07-send-authorization-response.js +2 -2
  154. package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/07-send-authorization-response.js.map +1 -1
  155. package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  156. package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/mappers.js.map +1 -1
  157. package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/sdkErrorMapper.js.map +1 -1
  158. package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/types.js.map +1 -1
  159. package/lib/module/credential/status/README.md +2 -2
  160. package/lib/module/credential/status/index.js +1 -1
  161. package/lib/module/credential/status/index.js.map +1 -1
  162. package/lib/module/credential/status/{v1.3.3 → v1.4.6}/01-status-list.js.map +1 -1
  163. package/lib/module/credential/status/{v1.3.3 → v1.4.6}/02-verify-and-parse-status-list.js.map +1 -1
  164. package/lib/module/credential/status/{v1.3.3 → v1.4.6}/03-get-status.js +2 -2
  165. package/lib/module/credential/status/{v1.3.3 → v1.4.6}/03-get-status.js.map +1 -1
  166. package/lib/module/credential/status/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  167. package/lib/module/credential/trustmark/index.js +1 -1
  168. package/lib/module/credential/trustmark/index.js.map +1 -1
  169. package/lib/module/credential/trustmark/{v1.3.3 → v1.4.6}/get-credential-trustmark.js +1 -1
  170. package/lib/module/credential/trustmark/{v1.3.3 → v1.4.6}/get-credential-trustmark.js.map +1 -1
  171. package/lib/module/credential/trustmark/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  172. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js +3 -3
  173. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  174. package/lib/module/credentials-catalogue/index.js +1 -1
  175. package/lib/module/credentials-catalogue/index.js.map +1 -1
  176. package/lib/module/credentials-catalogue/v1.0.0/types.js +3 -3
  177. package/lib/module/credentials-catalogue/v1.0.0/types.js.map +1 -1
  178. package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-and-parse-catalogue.js +1 -1
  179. package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-and-parse-catalogue.js.map +1 -1
  180. package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-translations.js.map +1 -1
  181. package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  182. package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/mappers.js.map +1 -1
  183. package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/types.js +5 -5
  184. package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/types.js.map +1 -1
  185. package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/utils.js +2 -2
  186. package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/utils.js.map +1 -1
  187. package/lib/module/index.js +3 -3
  188. package/lib/module/index.js.map +1 -1
  189. package/lib/module/{wallet-unit-attestation → key-attestation}/README.md +9 -9
  190. package/lib/module/{wallet-unit-attestation → key-attestation}/api/index.js.map +1 -1
  191. package/lib/module/{wallet-unit-attestation → key-attestation}/api/types.js +2 -2
  192. package/lib/module/key-attestation/api/types.js.map +1 -0
  193. package/lib/module/key-attestation/index.js +3 -0
  194. package/lib/module/key-attestation/index.js.map +1 -0
  195. package/lib/module/key-attestation/v1.0.0/index.js +4 -0
  196. package/lib/module/key-attestation/v1.0.0/index.js.map +1 -0
  197. package/lib/module/key-attestation/v1.4.6/index.js +10 -0
  198. package/lib/module/key-attestation/v1.4.6/index.js.map +1 -0
  199. package/lib/module/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/issuing.js +5 -5
  200. package/lib/module/key-attestation/v1.4.6/issuing.js.map +1 -0
  201. package/lib/module/key-attestation/v1.4.6/mappers.js +6 -0
  202. package/lib/module/key-attestation/v1.4.6/mappers.js.map +1 -0
  203. package/lib/module/key-attestation/v1.4.6/types.js +14 -0
  204. package/lib/module/key-attestation/v1.4.6/types.js.map +1 -0
  205. package/lib/module/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/utils.js +3 -3
  206. package/lib/module/key-attestation/v1.4.6/utils.js.map +1 -0
  207. package/lib/module/sd-jwt/types.js +2 -2
  208. package/lib/module/sd-jwt/types.js.map +1 -1
  209. package/lib/module/sd-jwt/utils.js +7 -8
  210. package/lib/module/sd-jwt/utils.js.map +1 -1
  211. package/lib/module/trust/{v1.3.3 → v1.4.6}/entities.js +1 -1
  212. package/lib/module/trust/{v1.3.3 → v1.4.6}/entities.js.map +1 -1
  213. package/lib/module/trust/{v1.3.3 → v1.4.6}/types.js.map +1 -1
  214. package/lib/module/utils/config.js +0 -7
  215. package/lib/module/utils/config.js.map +1 -1
  216. package/lib/module/wallet-instance/index.js +1 -1
  217. package/lib/module/wallet-instance/index.js.map +1 -1
  218. package/lib/module/wallet-instance/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  219. package/lib/module/wallet-instance-attestation/index.js +1 -1
  220. package/lib/module/wallet-instance-attestation/index.js.map +1 -1
  221. package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/index.js.map +1 -1
  222. package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/issuing.js.map +1 -1
  223. package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/mappers.js.map +1 -1
  224. package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/types.js.map +1 -1
  225. package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/utils.js.map +1 -1
  226. package/lib/typescript/api/index.d.ts +3 -3
  227. package/lib/typescript/api/index.d.ts.map +1 -1
  228. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts +3 -3
  229. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts.map +1 -1
  230. package/lib/typescript/credential/issuance/index.d.ts +1 -1
  231. package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/01-evaluate-issuer-trust.d.ts.map +1 -1
  232. package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/02-start-user-authorization.d.ts.map +1 -1
  233. package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/03-complete-user-authorization.d.ts.map +1 -1
  234. package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/04-authorize-access.d.ts.map +1 -1
  235. package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/05-obtain-credential.d.ts.map +1 -1
  236. package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/06-verify-and-parse-credential.d.ts.map +1 -1
  237. package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/index.d.ts.map +1 -1
  238. package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/mappers.d.ts +7 -0
  239. package/lib/typescript/credential/issuance/v1.4.6/mappers.d.ts.map +1 -0
  240. package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/types.d.ts.map +1 -1
  241. package/lib/typescript/credential/offer/index.d.ts +1 -1
  242. package/lib/typescript/credential/offer/{v1.3.3 → v1.4.6}/01-resolve-credential-offer.d.ts +1 -1
  243. package/lib/typescript/credential/offer/{v1.3.3 → v1.4.6}/01-resolve-credential-offer.d.ts.map +1 -1
  244. package/lib/typescript/credential/offer/{v1.3.3 → v1.4.6}/02-extract-grant-details.d.ts +1 -1
  245. package/lib/typescript/credential/offer/{v1.3.3 → v1.4.6}/02-extract-grant-details.d.ts.map +1 -1
  246. package/lib/typescript/credential/offer/{v1.3.3 → v1.4.6}/03-validate-credential-offer.d.ts +1 -1
  247. package/lib/typescript/credential/offer/{v1.3.3 → v1.4.6}/03-validate-credential-offer.d.ts.map +1 -1
  248. package/lib/typescript/credential/offer/{v1.3.3 → v1.4.6}/index.d.ts.map +1 -1
  249. package/lib/typescript/credential/presentation/api/types.d.ts +3 -3
  250. package/lib/typescript/credential/presentation/index.d.ts +1 -1
  251. package/lib/typescript/credential/presentation/v1.4.6/01-start-flow.d.ts.map +1 -0
  252. package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/02-evaluate-rp-trust.d.ts.map +1 -1
  253. package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/03-get-request-object.d.ts.map +1 -1
  254. package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/04-verify-certificate-chain.d.ts.map +1 -1
  255. package/lib/typescript/credential/presentation/v1.4.6/05-verify-request-object.d.ts.map +1 -0
  256. package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/06-evaluate-dcql-query.d.ts.map +1 -1
  257. package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/07-send-authorization-response.d.ts.map +1 -1
  258. package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/index.d.ts.map +1 -1
  259. package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/mappers.d.ts +3 -1
  260. package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/mappers.d.ts.map +1 -1
  261. package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/sdkErrorMapper.d.ts.map +1 -1
  262. package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/types.d.ts +2 -1
  263. package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/types.d.ts.map +1 -1
  264. package/lib/typescript/credential/status/index.d.ts +1 -1
  265. package/lib/typescript/credential/status/{v1.3.3 → v1.4.6}/01-status-list.d.ts.map +1 -1
  266. package/lib/typescript/credential/status/v1.4.6/02-verify-and-parse-status-list.d.ts.map +1 -0
  267. package/lib/typescript/credential/status/{v1.3.3 → v1.4.6}/03-get-status.d.ts.map +1 -1
  268. package/lib/typescript/credential/status/{v1.3.3 → v1.4.6}/index.d.ts.map +1 -1
  269. package/lib/typescript/credential/trustmark/index.d.ts +1 -1
  270. package/lib/typescript/credential/trustmark/{v1.3.3 → v1.4.6}/get-credential-trustmark.d.ts.map +1 -1
  271. package/lib/typescript/credential/trustmark/{v1.3.3 → v1.4.6}/index.d.ts.map +1 -1
  272. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +7 -7
  273. package/lib/typescript/credentials-catalogue/index.d.ts +1 -1
  274. package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts +5 -5
  275. package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-and-parse-catalogue.d.ts.map +1 -1
  276. package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-translations.d.ts.map +1 -1
  277. package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/index.d.ts.map +1 -1
  278. package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/mappers.d.ts.map +1 -1
  279. package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/types.d.ts +4 -4
  280. package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/types.d.ts.map +1 -1
  281. package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/utils.d.ts +2 -2
  282. package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/utils.d.ts.map +1 -1
  283. package/lib/typescript/index.d.ts +3 -3
  284. package/lib/typescript/index.d.ts.map +1 -1
  285. package/lib/typescript/{wallet-unit-attestation → key-attestation}/api/index.d.ts +10 -10
  286. package/lib/typescript/key-attestation/api/index.d.ts.map +1 -0
  287. package/lib/typescript/{wallet-unit-attestation → key-attestation}/api/types.d.ts +3 -3
  288. package/lib/typescript/key-attestation/api/types.d.ts.map +1 -0
  289. package/lib/typescript/key-attestation/index.d.ts +4 -0
  290. package/lib/typescript/key-attestation/index.d.ts.map +1 -0
  291. package/lib/typescript/key-attestation/v1.0.0/index.d.ts +3 -0
  292. package/lib/typescript/key-attestation/v1.0.0/index.d.ts.map +1 -0
  293. package/lib/typescript/key-attestation/v1.4.6/index.d.ts +3 -0
  294. package/lib/typescript/key-attestation/v1.4.6/index.d.ts.map +1 -0
  295. package/lib/typescript/key-attestation/v1.4.6/issuing.d.ts +3 -0
  296. package/lib/typescript/key-attestation/v1.4.6/issuing.d.ts.map +1 -0
  297. package/lib/typescript/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/mappers.d.ts +1 -1
  298. package/lib/typescript/key-attestation/v1.4.6/mappers.d.ts.map +1 -0
  299. package/lib/typescript/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/types.d.ts +4 -4
  300. package/lib/typescript/key-attestation/v1.4.6/types.d.ts.map +1 -0
  301. package/lib/typescript/key-attestation/v1.4.6/utils.d.ts +7 -0
  302. package/lib/typescript/key-attestation/v1.4.6/utils.d.ts.map +1 -0
  303. package/lib/typescript/sd-jwt/types.d.ts +2 -2
  304. package/lib/typescript/sd-jwt/utils.d.ts +3 -2
  305. package/lib/typescript/sd-jwt/utils.d.ts.map +1 -1
  306. package/lib/typescript/trust/{v1.3.3 → v1.4.6}/entities.d.ts +1 -0
  307. package/lib/typescript/trust/{v1.3.3 → v1.4.6}/entities.d.ts.map +1 -1
  308. package/lib/typescript/trust/{v1.3.3 → v1.4.6}/types.d.ts +4 -0
  309. package/lib/typescript/trust/{v1.3.3 → v1.4.6}/types.d.ts.map +1 -1
  310. package/lib/typescript/utils/config.d.ts +0 -4
  311. package/lib/typescript/utils/config.d.ts.map +1 -1
  312. package/lib/typescript/wallet-instance/index.d.ts +1 -1
  313. package/lib/typescript/wallet-instance/{v1.3.3 → v1.4.6}/index.d.ts.map +1 -1
  314. package/lib/typescript/wallet-instance-attestation/index.d.ts +1 -1
  315. package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/index.d.ts.map +1 -1
  316. package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/issuing.d.ts.map +1 -1
  317. package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/mappers.d.ts.map +1 -1
  318. package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/types.d.ts.map +1 -1
  319. package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/utils.d.ts.map +1 -1
  320. package/package.json +7 -7
  321. package/src/api/index.ts +14 -15
  322. package/src/credential/issuance/README.md +9 -9
  323. package/src/credential/issuance/api/05-obtain-credential.ts +3 -3
  324. package/src/credential/issuance/index.ts +1 -1
  325. package/src/credential/issuance/mrtd-pop/index.ts +3 -3
  326. package/src/credential/issuance/{v1.3.3 → v1.4.6}/02-start-user-authorization.ts +3 -3
  327. package/src/credential/issuance/{v1.3.3 → v1.4.6}/03-complete-user-authorization.ts +3 -5
  328. package/src/credential/issuance/{v1.3.3 → v1.4.6}/04-authorize-access.ts +2 -2
  329. package/src/credential/issuance/{v1.3.3 → v1.4.6}/05-obtain-credential.ts +10 -12
  330. package/src/credential/offer/README.md +10 -6
  331. package/src/credential/offer/index.ts +1 -1
  332. package/src/credential/offer/{v1.3.3 → v1.4.6}/01-resolve-credential-offer.ts +3 -3
  333. package/src/credential/offer/{v1.3.3 → v1.4.6}/02-extract-grant-details.ts +3 -3
  334. package/src/credential/offer/{v1.3.3 → v1.4.6}/03-validate-credential-offer.ts +3 -3
  335. package/src/credential/presentation/api/types.ts +2 -2
  336. package/src/credential/presentation/index.ts +1 -1
  337. package/src/credential/presentation/{v1.3.3 → v1.4.6}/01-start-flow.ts +8 -4
  338. package/src/credential/presentation/{v1.3.3 → v1.4.6}/02-evaluate-rp-trust.ts +1 -1
  339. package/src/credential/presentation/{v1.3.3 → v1.4.6}/05-verify-request-object.ts +12 -19
  340. package/src/credential/presentation/{v1.3.3 → v1.4.6}/07-send-authorization-response.ts +2 -2
  341. package/src/credential/presentation/{v1.3.3 → v1.4.6}/mappers.ts +1 -1
  342. package/src/credential/status/README.md +2 -2
  343. package/src/credential/status/index.ts +1 -1
  344. package/src/credential/status/{v1.3.3 → v1.4.6}/03-get-status.ts +2 -2
  345. package/src/credential/trustmark/index.ts +1 -1
  346. package/src/credential/trustmark/{v1.3.3 → v1.4.6}/get-credential-trustmark.ts +1 -1
  347. package/src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts +3 -3
  348. package/src/credentials-catalogue/index.ts +1 -1
  349. package/src/credentials-catalogue/v1.0.0/types.ts +3 -3
  350. package/src/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-and-parse-catalogue.ts +1 -1
  351. package/src/credentials-catalogue/{v1.3.3 → v1.4.6}/types.ts +5 -5
  352. package/src/credentials-catalogue/{v1.3.3 → v1.4.6}/utils.ts +2 -2
  353. package/src/index.ts +4 -2
  354. package/src/{wallet-unit-attestation → key-attestation}/README.md +9 -9
  355. package/src/{wallet-unit-attestation → key-attestation}/api/index.ts +10 -12
  356. package/src/{wallet-unit-attestation → key-attestation}/api/types.ts +3 -5
  357. package/src/key-attestation/index.ts +3 -0
  358. package/src/key-attestation/v1.0.0/index.ts +5 -0
  359. package/src/key-attestation/v1.4.6/index.ts +12 -0
  360. package/src/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/issuing.ts +7 -7
  361. package/src/key-attestation/v1.4.6/mappers.ts +10 -0
  362. package/src/key-attestation/v1.4.6/types.ts +20 -0
  363. package/src/{wallet-unit-attestation/v1.3.3 → key-attestation/v1.4.6}/utils.ts +4 -4
  364. package/src/sd-jwt/types.ts +2 -2
  365. package/src/sd-jwt/utils.ts +7 -3
  366. package/src/trust/{v1.3.3 → v1.4.6}/entities.ts +1 -1
  367. package/src/utils/config.ts +0 -7
  368. package/src/wallet-instance/index.ts +1 -1
  369. package/src/wallet-instance-attestation/index.ts +1 -1
  370. package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +0 -1
  371. package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js.map +0 -1
  372. package/lib/commonjs/credential/presentation/v1.3.3/01-start-flow.js.map +0 -1
  373. package/lib/commonjs/credential/presentation/v1.3.3/05-verify-request-object.js.map +0 -1
  374. package/lib/commonjs/wallet-unit-attestation/api/types.js.map +0 -1
  375. package/lib/commonjs/wallet-unit-attestation/index.js.map +0 -1
  376. package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js +0 -11
  377. package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js.map +0 -1
  378. package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js.map +0 -1
  379. package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js.map +0 -1
  380. package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js +0 -13
  381. package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js.map +0 -1
  382. package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js.map +0 -1
  383. package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js.map +0 -1
  384. package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +0 -1
  385. package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js.map +0 -1
  386. package/lib/module/credential/presentation/v1.3.3/01-start-flow.js.map +0 -1
  387. package/lib/module/credential/presentation/v1.3.3/05-verify-request-object.js.map +0 -1
  388. package/lib/module/wallet-unit-attestation/api/types.js.map +0 -1
  389. package/lib/module/wallet-unit-attestation/index.js +0 -3
  390. package/lib/module/wallet-unit-attestation/index.js.map +0 -1
  391. package/lib/module/wallet-unit-attestation/v1.0.0/index.js +0 -4
  392. package/lib/module/wallet-unit-attestation/v1.0.0/index.js.map +0 -1
  393. package/lib/module/wallet-unit-attestation/v1.3.3/index.js +0 -10
  394. package/lib/module/wallet-unit-attestation/v1.3.3/index.js.map +0 -1
  395. package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js.map +0 -1
  396. package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js +0 -6
  397. package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js.map +0 -1
  398. package/lib/module/wallet-unit-attestation/v1.3.3/types.js +0 -14
  399. package/lib/module/wallet-unit-attestation/v1.3.3/types.js.map +0 -1
  400. package/lib/module/wallet-unit-attestation/v1.3.3/utils.js.map +0 -1
  401. package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts.map +0 -1
  402. package/lib/typescript/credential/presentation/v1.3.3/01-start-flow.d.ts.map +0 -1
  403. package/lib/typescript/credential/presentation/v1.3.3/05-verify-request-object.d.ts.map +0 -1
  404. package/lib/typescript/credential/status/v1.3.3/02-verify-and-parse-status-list.d.ts.map +0 -1
  405. package/lib/typescript/wallet-unit-attestation/api/index.d.ts.map +0 -1
  406. package/lib/typescript/wallet-unit-attestation/api/types.d.ts.map +0 -1
  407. package/lib/typescript/wallet-unit-attestation/index.d.ts +0 -4
  408. package/lib/typescript/wallet-unit-attestation/index.d.ts.map +0 -1
  409. package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts +0 -3
  410. package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts.map +0 -1
  411. package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts +0 -3
  412. package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts.map +0 -1
  413. package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts +0 -3
  414. package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts.map +0 -1
  415. package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts.map +0 -1
  416. package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts.map +0 -1
  417. package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts +0 -7
  418. package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts.map +0 -1
  419. package/src/wallet-unit-attestation/index.ts +0 -3
  420. package/src/wallet-unit-attestation/v1.0.0/index.ts +0 -5
  421. package/src/wallet-unit-attestation/v1.3.3/index.ts +0 -12
  422. package/src/wallet-unit-attestation/v1.3.3/mappers.ts +0 -10
  423. package/src/wallet-unit-attestation/v1.3.3/types.ts +0 -22
  424. /package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/01-evaluate-issuer-trust.js +0 -0
  425. /package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/06-verify-and-parse-credential.js +0 -0
  426. /package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/index.js +0 -0
  427. /package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/mappers.js +0 -0
  428. /package/lib/commonjs/credential/issuance/{v1.3.3 → v1.4.6}/types.js +0 -0
  429. /package/lib/commonjs/credential/offer/{v1.3.3 → v1.4.6}/index.js +0 -0
  430. /package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/03-get-request-object.js +0 -0
  431. /package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/04-verify-certificate-chain.js +0 -0
  432. /package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/06-evaluate-dcql-query.js +0 -0
  433. /package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/index.js +0 -0
  434. /package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/mappers.js +0 -0
  435. /package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/sdkErrorMapper.js +0 -0
  436. /package/lib/commonjs/credential/presentation/{v1.3.3 → v1.4.6}/types.js +0 -0
  437. /package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/01-status-list.js +0 -0
  438. /package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/02-verify-and-parse-status-list.js +0 -0
  439. /package/lib/commonjs/credential/status/{v1.3.3 → v1.4.6}/index.js +0 -0
  440. /package/lib/commonjs/credential/trustmark/{v1.3.3 → v1.4.6}/index.js +0 -0
  441. /package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-translations.js +0 -0
  442. /package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/index.js +0 -0
  443. /package/lib/commonjs/credentials-catalogue/{v1.3.3 → v1.4.6}/mappers.js +0 -0
  444. /package/lib/commonjs/{wallet-unit-attestation → key-attestation}/api/index.js +0 -0
  445. /package/lib/commonjs/trust/{v1.3.3 → v1.4.6}/types.js +0 -0
  446. /package/lib/commonjs/wallet-instance/{v1.3.3 → v1.4.6}/index.js +0 -0
  447. /package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/index.js +0 -0
  448. /package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/issuing.js +0 -0
  449. /package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/mappers.js +0 -0
  450. /package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/types.js +0 -0
  451. /package/lib/commonjs/wallet-instance-attestation/{v1.3.3 → v1.4.6}/utils.js +0 -0
  452. /package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/01-evaluate-issuer-trust.js +0 -0
  453. /package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/06-verify-and-parse-credential.js +0 -0
  454. /package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/index.js +0 -0
  455. /package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/mappers.js +0 -0
  456. /package/lib/module/credential/issuance/{v1.3.3 → v1.4.6}/types.js +0 -0
  457. /package/lib/module/credential/offer/{v1.3.3 → v1.4.6}/index.js +0 -0
  458. /package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/03-get-request-object.js +0 -0
  459. /package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/04-verify-certificate-chain.js +0 -0
  460. /package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/06-evaluate-dcql-query.js +0 -0
  461. /package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/index.js +0 -0
  462. /package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/mappers.js +0 -0
  463. /package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/sdkErrorMapper.js +0 -0
  464. /package/lib/module/credential/presentation/{v1.3.3 → v1.4.6}/types.js +0 -0
  465. /package/lib/module/credential/status/{v1.3.3 → v1.4.6}/01-status-list.js +0 -0
  466. /package/lib/module/credential/status/{v1.3.3 → v1.4.6}/02-verify-and-parse-status-list.js +0 -0
  467. /package/lib/module/credential/status/{v1.3.3 → v1.4.6}/index.js +0 -0
  468. /package/lib/module/credential/trustmark/{v1.3.3 → v1.4.6}/index.js +0 -0
  469. /package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-translations.js +0 -0
  470. /package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/index.js +0 -0
  471. /package/lib/module/credentials-catalogue/{v1.3.3 → v1.4.6}/mappers.js +0 -0
  472. /package/lib/module/{wallet-unit-attestation → key-attestation}/api/index.js +0 -0
  473. /package/lib/module/trust/{v1.3.3 → v1.4.6}/types.js +0 -0
  474. /package/lib/module/wallet-instance/{v1.3.3 → v1.4.6}/index.js +0 -0
  475. /package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/index.js +0 -0
  476. /package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/issuing.js +0 -0
  477. /package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/mappers.js +0 -0
  478. /package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/types.js +0 -0
  479. /package/lib/module/wallet-instance-attestation/{v1.3.3 → v1.4.6}/utils.js +0 -0
  480. /package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/01-evaluate-issuer-trust.d.ts +0 -0
  481. /package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/02-start-user-authorization.d.ts +0 -0
  482. /package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/03-complete-user-authorization.d.ts +0 -0
  483. /package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/04-authorize-access.d.ts +0 -0
  484. /package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/05-obtain-credential.d.ts +0 -0
  485. /package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/06-verify-and-parse-credential.d.ts +0 -0
  486. /package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
  487. /package/lib/typescript/credential/issuance/{v1.3.3 → v1.4.6}/types.d.ts +0 -0
  488. /package/lib/typescript/credential/offer/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
  489. /package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/01-start-flow.d.ts +0 -0
  490. /package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/02-evaluate-rp-trust.d.ts +0 -0
  491. /package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/03-get-request-object.d.ts +0 -0
  492. /package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/04-verify-certificate-chain.d.ts +0 -0
  493. /package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/05-verify-request-object.d.ts +0 -0
  494. /package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/06-evaluate-dcql-query.d.ts +0 -0
  495. /package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/07-send-authorization-response.d.ts +0 -0
  496. /package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
  497. /package/lib/typescript/credential/presentation/{v1.3.3 → v1.4.6}/sdkErrorMapper.d.ts +0 -0
  498. /package/lib/typescript/credential/status/{v1.3.3 → v1.4.6}/01-status-list.d.ts +0 -0
  499. /package/lib/typescript/credential/status/{v1.3.3 → v1.4.6}/02-verify-and-parse-status-list.d.ts +0 -0
  500. /package/lib/typescript/credential/status/{v1.3.3 → v1.4.6}/03-get-status.d.ts +0 -0
  501. /package/lib/typescript/credential/status/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
  502. /package/lib/typescript/credential/trustmark/{v1.3.3 → v1.4.6}/get-credential-trustmark.d.ts +0 -0
  503. /package/lib/typescript/credential/trustmark/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
  504. /package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-and-parse-catalogue.d.ts +0 -0
  505. /package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-translations.d.ts +0 -0
  506. /package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
  507. /package/lib/typescript/credentials-catalogue/{v1.3.3 → v1.4.6}/mappers.d.ts +0 -0
  508. /package/lib/typescript/wallet-instance/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
  509. /package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/index.d.ts +0 -0
  510. /package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/issuing.d.ts +0 -0
  511. /package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/mappers.d.ts +0 -0
  512. /package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/types.d.ts +0 -0
  513. /package/lib/typescript/wallet-instance-attestation/{v1.3.3 → v1.4.6}/utils.d.ts +0 -0
  514. /package/src/credential/issuance/{v1.3.3 → v1.4.6}/01-evaluate-issuer-trust.ts +0 -0
  515. /package/src/credential/issuance/{v1.3.3 → v1.4.6}/06-verify-and-parse-credential.ts +0 -0
  516. /package/src/credential/issuance/{v1.3.3 → v1.4.6}/index.ts +0 -0
  517. /package/src/credential/issuance/{v1.3.3 → v1.4.6}/mappers.ts +0 -0
  518. /package/src/credential/issuance/{v1.3.3 → v1.4.6}/types.ts +0 -0
  519. /package/src/credential/offer/{v1.3.3 → v1.4.6}/index.ts +0 -0
  520. /package/src/credential/presentation/{v1.3.3 → v1.4.6}/03-get-request-object.ts +0 -0
  521. /package/src/credential/presentation/{v1.3.3 → v1.4.6}/04-verify-certificate-chain.ts +0 -0
  522. /package/src/credential/presentation/{v1.3.3 → v1.4.6}/06-evaluate-dcql-query.ts +0 -0
  523. /package/src/credential/presentation/{v1.3.3 → v1.4.6}/index.ts +0 -0
  524. /package/src/credential/presentation/{v1.3.3 → v1.4.6}/sdkErrorMapper.ts +0 -0
  525. /package/src/credential/presentation/{v1.3.3 → v1.4.6}/types.ts +0 -0
  526. /package/src/credential/status/{v1.3.3 → v1.4.6}/01-status-list.ts +0 -0
  527. /package/src/credential/status/{v1.3.3 → v1.4.6}/02-verify-and-parse-status-list.ts +0 -0
  528. /package/src/credential/status/{v1.3.3 → v1.4.6}/index.ts +0 -0
  529. /package/src/credential/trustmark/{v1.3.3 → v1.4.6}/index.ts +0 -0
  530. /package/src/credentials-catalogue/{v1.3.3 → v1.4.6}/fetch-translations.ts +0 -0
  531. /package/src/credentials-catalogue/{v1.3.3 → v1.4.6}/index.ts +0 -0
  532. /package/src/credentials-catalogue/{v1.3.3 → v1.4.6}/mappers.ts +0 -0
  533. /package/src/trust/{v1.3.3 → v1.4.6}/types.ts +0 -0
  534. /package/src/wallet-instance/{v1.3.3 → v1.4.6}/index.ts +0 -0
  535. /package/src/wallet-instance-attestation/{v1.3.3 → v1.4.6}/index.ts +0 -0
  536. /package/src/wallet-instance-attestation/{v1.3.3 → v1.4.6}/issuing.ts +0 -0
  537. /package/src/wallet-instance-attestation/{v1.3.3 → v1.4.6}/mappers.ts +0 -0
  538. /package/src/wallet-instance-attestation/{v1.3.3 → v1.4.6}/types.ts +0 -0
  539. /package/src/wallet-instance-attestation/{v1.3.3 → v1.4.6}/utils.ts +0 -0
@@ -1,12 +1,13 @@
1
1
  import { TypeMetadata, Verification } from "./types";
2
2
  /**
3
3
  * Retrieve the Type Metadata for a credential and verify its integrity.
4
- * @param vct The VCT as a valid HTTPS url
4
+ * @param issuerUrl The Credential Issuer base url
5
+ * @param vct The VCT as a URN
5
6
  * @param vctIntegrity The integrity hash
6
7
  * @param context.appFetch (optional) fetch api implementation. Default: built-in fetch
7
8
  * @returns The credential metadata {@link TypeMetadata}
8
9
  */
9
- export declare const fetchTypeMetadata: (vct: string, vctIntegrity: string, context?: {
10
+ export declare const fetchTypeMetadata: (issuerUrl: string, vct: string, vctIntegrity: string, context?: {
10
11
  appFetch?: GlobalFetch["fetch"];
11
12
  }) => Promise<TypeMetadata>;
12
13
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/sd-jwt/utils.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAErD;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAC5B,KAAK,MAAM,EACX,cAAc,MAAM,EACpB,UAAS;IACP,QAAQ,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAC5B,KACL,OAAO,CAAC,YAAY,CA8BtB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAC1B,iBAAiB,MAAM,KACtB,SAAS,GAAG,YAed,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/sd-jwt/utils.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAErD;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,GAC5B,WAAW,MAAM,EACjB,KAAK,MAAM,EACX,cAAc,MAAM,EACpB,UAAS;IACP,QAAQ,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAC5B,KACL,OAAO,CAAC,YAAY,CAgCtB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAC1B,iBAAiB,MAAM,KACtB,SAAS,GAAG,YAed,CAAC"}
@@ -92,6 +92,7 @@ export declare const getRelyingPartyEntityConfiguration: (entityBaseUrl: string,
92
92
  "sd-jwt_alg_values"?: string[] | undefined;
93
93
  }>;
94
94
  erasure_endpoint?: string | undefined;
95
+ redirect_uris?: string[] | undefined;
95
96
  };
96
97
  };
97
98
  };
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/trust/v1.3.3/entities.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,YAAY,EAElB,MAAM,iBAAiB,CAAC;AAqCzB,eAAO,MAAM,kCAAkC,GAC7C,eAAe,MAAM,EACrB,UAAU,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMrB,CAAC"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/trust/v1.4.6/entities.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,YAAY,EAElB,MAAM,iBAAiB,CAAC;AAqCzB,eAAO,MAAM,kCAAkC,GAC7C,eAAe,MAAM,EACrB,UAAU,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMrB,CAAC"}
@@ -263,6 +263,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
263
263
  }, z.core.$loose>>;
264
264
  }, z.core.$strip>;
265
265
  logo_uri: z.ZodURL;
266
+ redirect_uris: z.ZodOptional<z.ZodArray<z.ZodURL>>;
266
267
  request_uris: z.ZodArray<z.ZodURL>;
267
268
  response_uris: z.ZodArray<z.ZodURL>;
268
269
  vp_formats_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -359,6 +360,7 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
359
360
  }, z.core.$loose>>;
360
361
  }, z.core.$strip>;
361
362
  logo_uri: z.ZodURL;
363
+ redirect_uris: z.ZodOptional<z.ZodArray<z.ZodURL>>;
362
364
  request_uris: z.ZodArray<z.ZodURL>;
363
365
  response_uris: z.ZodArray<z.ZodURL>;
364
366
  vp_formats_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -828,6 +830,7 @@ export declare const EntityConfiguration: z.ZodUnion<readonly [z.ZodIntersection
828
830
  }, z.core.$loose>>;
829
831
  }, z.core.$strip>;
830
832
  logo_uri: z.ZodURL;
833
+ redirect_uris: z.ZodOptional<z.ZodArray<z.ZodURL>>;
831
834
  request_uris: z.ZodArray<z.ZodURL>;
832
835
  response_uris: z.ZodArray<z.ZodURL>;
833
836
  vp_formats_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -922,6 +925,7 @@ export declare const EntityConfiguration: z.ZodUnion<readonly [z.ZodIntersection
922
925
  }, z.core.$loose>>;
923
926
  }, z.core.$strip>;
924
927
  logo_uri: z.ZodURL;
928
+ redirect_uris: z.ZodOptional<z.ZodArray<z.ZodURL>>;
925
929
  request_uris: z.ZodArray<z.ZodURL>;
926
930
  response_uris: z.ZodArray<z.ZodURL>;
927
931
  vp_formats_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/trust/v1.3.3/types.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAMzB,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAC;AACF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAY/C,CAAC;AAGF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,+BAA+B,CACvC,CAAC;AACF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQ3C,CAAC;AAGF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAC;AACF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQ7C,CAAC;AAGF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAMwC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/trust/v1.4.6/types.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAMzB,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAC;AACF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAY/C,CAAC;AAGF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,+BAA+B,CACvC,CAAC;AACF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQ3C,CAAC;AAGF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAC;AACF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQ7C,CAAC;AAGF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAMwC,CAAC"}
@@ -3,10 +3,6 @@ import { IoWalletSdkConfig, ItWalletSpecsVersion } from "@pagopa/io-wallet-utils
3
3
  * IO Wallet SDK configuration object for v1.0 specs.
4
4
  */
5
5
  export declare const sdkConfigV1_0: IoWalletSdkConfig<ItWalletSpecsVersion.V1_0>;
6
- /**
7
- * IO Wallet SDK configuration object for v1.3 specs.
8
- */
9
- export declare const sdkConfigV1_3: IoWalletSdkConfig<ItWalletSpecsVersion.V1_3>;
10
6
  /**
11
7
  * IO Wallet SDK configuration object for v1.4 specs.
12
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/utils/config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAEjC;;GAEG;AACH,eAAO,MAAM,aAAa,8CAExB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa,8CAExB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa,8CAExB,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/utils/config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;AAEjC;;GAEG;AACH,eAAO,MAAM,aAAa,8CAExB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,aAAa,8CAExB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export type * from "./api";
2
2
  export { WalletInstance as V1_0_0 } from "./v1.0.0";
3
- export { WalletInstance as V1_3_3 } from "./v1.3.3";
3
+ export { WalletInstance as V1_4_6 } from "./v1.4.6";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance/v1.3.3/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAShD,eAAO,MAAM,cAAc,EAAE,iBAK5B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance/v1.4.6/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAShD,eAAO,MAAM,cAAc,EAAE,iBAK5B,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export type * from "./api";
2
2
  export { WalletInstanceAttestation as V1_0_0 } from "./v1.0.0";
3
- export { WalletInstanceAttestation as V1_3_3 } from "./v1.3.3";
3
+ export { WalletInstanceAttestation as V1_4_6 } from "./v1.4.6";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/v1.3.3/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,QAAQ,CAAC;AAO3D,eAAO,MAAM,yBAAyB,EAAE,4BAIvC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/v1.4.6/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,QAAQ,CAAC;AAO3D,eAAO,MAAM,yBAAyB,EAAE,4BAIvC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"issuing.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/v1.3.3/issuing.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,QAAQ,CAAC;AAwD3D,eAAO,MAAM,cAAc,EAAE,4BAA4B,CAAC,gBAAgB,CAgDvE,CAAC"}
1
+ {"version":3,"file":"issuing.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/v1.4.6/issuing.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,QAAQ,CAAC;AAwD3D,eAAO,MAAM,cAAc,EAAE,4BAA4B,CAAC,gBAAgB,CAgDvE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/v1.3.3/mappers.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKhD,CAAC"}
1
+ {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/v1.4.6/mappers.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKhD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/v1.3.3/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,4BAA4B,CACpC,CAAC;AACF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgBvC,CAAC;AAEH,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAC;AACF,eAAO,MAAM,iCAAiC;;iBAE5C,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/v1.4.6/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,4BAA4B,CACpC,CAAC;AACF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgBvC,CAAC;AAEH,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAC;AACF,eAAO,MAAM,iCAAiC;;iBAE5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/v1.3.3/utils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAEvD;;;;;;GAMG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,4BAA4B,CAMlE;AAED;;;GAGG;AACH,wBAAsB,MAAM,CAC1B,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,4BAA4B,CAAC,CAOvC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/wallet-instance-attestation/v1.4.6/utils.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAEvD;;;;;;GAMG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,4BAA4B,CAMlE;AAED;;;GAGG;AACH,wBAAsB,MAAM,CAC1B,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,4BAA4B,CAAC,CAOvC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagopa/io-react-native-wallet",
3
- "version": "3.6.4",
3
+ "version": "3.7.1",
4
4
  "description": "Provide data structures, helpers and API for IO Wallet",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -56,7 +56,7 @@
56
56
  "devDependencies": {
57
57
  "@eslint/js": "^9.0.0",
58
58
  "@pagopa/eslint-config": "^6.2.0",
59
- "@pagopa/io-react-native-crypto": "^1.2.3",
59
+ "@pagopa/io-react-native-crypto": "^1.2.5",
60
60
  "@pagopa/io-react-native-iso18013": "^0.7.0",
61
61
  "@pagopa/io-react-native-jwt": "^2.1.0",
62
62
  "@react-native/babel-preset": "0.78.3",
@@ -143,11 +143,11 @@
143
143
  ]
144
144
  },
145
145
  "dependencies": {
146
- "@pagopa/io-wallet-oauth2": "1.5.4-alpha-20260717125503",
147
- "@pagopa/io-wallet-oid-federation": "1.5.4-alpha-20260717125503",
148
- "@pagopa/io-wallet-oid4vci": "1.5.4-alpha-20260717125503",
149
- "@pagopa/io-wallet-oid4vp": "1.5.4-alpha-20260717125503",
150
- "@pagopa/io-wallet-utils": "1.5.4-alpha-20260717125503",
146
+ "@pagopa/io-wallet-oauth2": "1.5.4",
147
+ "@pagopa/io-wallet-oid-federation": "1.5.4",
148
+ "@pagopa/io-wallet-oid4vci": "1.5.4",
149
+ "@pagopa/io-wallet-oid4vp": "1.5.4",
150
+ "@pagopa/io-wallet-utils": "1.5.4",
151
151
  "@sd-jwt/core": "^0.19.0",
152
152
  "@sd-jwt/crypto-nodejs": "^0.19.0",
153
153
  "@sd-jwt/jwt-status-list": "^0.19.0",
package/src/api/index.ts CHANGED
@@ -4,10 +4,10 @@ import * as RemotePresentation from "../credential/presentation";
4
4
  import * as CredentialStatus from "../credential/status";
5
5
  import * as Trustmark from "../credential/trustmark";
6
6
  import * as CredentialsCatalogue from "../credentials-catalogue";
7
+ import * as KA from "../key-attestation";
7
8
  import * as Trust from "../trust";
8
9
  import * as WalletInstance from "../wallet-instance";
9
10
  import * as WIA from "../wallet-instance-attestation";
10
- import * as WUA from "../wallet-unit-attestation";
11
11
 
12
12
  /**
13
13
  * The Wallet public API.
@@ -17,15 +17,15 @@ export interface IoWalletApi {
17
17
  CredentialsCatalogue: CredentialsCatalogue.CredentialsCatalogueApi;
18
18
  CredentialsOffer: CredentialsOffer.OfferApi;
19
19
  CredentialStatus: CredentialStatus.CredentialStatusApi;
20
+ KeyAttestation: KA.KeyAttestationApi;
20
21
  RemotePresentation: RemotePresentation.RemotePresentationApi;
21
22
  Trust: Trust.TrustApi;
22
23
  Trustmark: Trustmark.TrustmarkApi;
23
24
  WalletInstance: WalletInstance.WalletInstanceApi;
24
25
  WalletInstanceAttestation: WIA.WalletInstanceAttestationApi;
25
- WalletUnitAttestation: WUA.WalletUnitAttestationApi;
26
26
  }
27
27
 
28
- export type ItwVersion = "1.0.0" | "1.3.3";
28
+ export type ItwVersion = "1.0.0" | "1.4.6";
29
29
 
30
30
  /**
31
31
  * The Wallet API implementations grouped by IT-Wallet specifications version.
@@ -36,24 +36,23 @@ export const ioWalletApiByVersion: Record<ItwVersion, IoWalletApi> = {
36
36
  CredentialsCatalogue: CredentialsCatalogue.V1_0_0,
37
37
  CredentialsOffer: CredentialsOffer.V1_0_0,
38
38
  CredentialStatus: CredentialStatus.V1_0_0,
39
+ KeyAttestation: KA.V1_0_0,
39
40
  RemotePresentation: RemotePresentation.V1_0_0,
40
41
  Trust: Trust.V1_0_0,
41
42
  Trustmark: Trustmark.V1_0_0,
42
43
  WalletInstance: WalletInstance.V1_0_0,
43
44
  WalletInstanceAttestation: WIA.V1_0_0,
44
- WalletUnitAttestation: WUA.V1_0_0,
45
45
  },
46
- // TODO: replace v1.0.0 with v1.3.3 implementations
47
- "1.3.3": {
48
- CredentialIssuance: CredentialIssuance.V1_3_3,
49
- CredentialsCatalogue: CredentialsCatalogue.V1_3_3,
50
- CredentialsOffer: CredentialsOffer.V1_3_3,
51
- CredentialStatus: CredentialStatus.V1_3_3,
52
- RemotePresentation: RemotePresentation.V1_3_3,
46
+ "1.4.6": {
47
+ CredentialIssuance: CredentialIssuance.V1_4_6,
48
+ CredentialsCatalogue: CredentialsCatalogue.V1_4_6,
49
+ CredentialsOffer: CredentialsOffer.V1_4_6,
50
+ CredentialStatus: CredentialStatus.V1_4_6,
51
+ KeyAttestation: KA.V1_4_6,
52
+ RemotePresentation: RemotePresentation.V1_4_6,
53
53
  Trust: Trust.V1_0_0,
54
- Trustmark: Trustmark.V1_3_3,
55
- WalletInstance: WalletInstance.V1_3_3,
56
- WalletInstanceAttestation: WIA.V1_3_3,
57
- WalletUnitAttestation: WUA.V1_3_3,
54
+ Trustmark: Trustmark.V1_4_6,
55
+ WalletInstance: WalletInstance.V1_4_6,
56
+ WalletInstanceAttestation: WIA.V1_4_6,
58
57
  },
59
58
  };
@@ -8,7 +8,7 @@ Credentials instead require a simpler authorization flow and they require other
8
8
 
9
9
  The supported credentials are defined in the entity configuration of the issuer which is evaluted and parsed in the `evaluateIssuerTrust` step. Available credentials are identified with a unique `credential_configuration_id`, that must be used when requesting authorization. The Authorization Server returns an array of **credential identifiers** that map to the `credential_configuration_id` provided: to obtain the credential, one of the credential identifiers (or all of them) must be requested to the credential endpoint.
10
10
 
11
- In the newest versions of IT-Wallet specifications it is mandatory that the cryptographic keys bound to each credential are stored in a WSCD and attested in a **Wallet Unit Attestation**, that must be sent to the Issuer when requesting a credential.
11
+ The IT-Wallet specifications require that the cryptographic keys associated with each credential be stored in a WSCD and attested through a **Key Attestation**, which must be provided to the Issuer when requesting a credential.
12
12
 
13
13
  ## Sequence Diagram
14
14
 
@@ -22,7 +22,7 @@ graph TD;
22
22
  C4.1[completeEaaUserAuthorizationWithQueryMode]
23
23
  E4[completePidUserAuthorizationWithQueryMode]
24
24
  5[authorizeAccess]
25
- 6[WalletUnitAttestation.getAttestation]
25
+ 6[KeyAttestation.getAttestation]
26
26
  7[obtainCredential]
27
27
  8[verifyAndParseCredential]
28
28
  credSel{Is credential an eID?}
@@ -102,7 +102,7 @@ The expected result from the authentication process is in `form_post.jwt` format
102
102
 
103
103
  ## Batch issuance
104
104
 
105
- To obtain a batch of credentials the Issuance module exposes a dedicated method—`obtainCredentialsBatch`—that returns a list of credentials of the same type with different cryptographic data. For this reason the caller must generate multiple keys and attest them in a single Wallet Unit Attestation.
105
+ To obtain a batch of credentials the Issuance module exposes a dedicated method—`obtainCredentialsBatch`—that returns a list of credentials of the same type with different cryptographic data. For this reason the caller must generate multiple keys and attest them in a single Key Attestation.
106
106
 
107
107
  ## Examples
108
108
 
@@ -145,11 +145,11 @@ const walletInstanceAttestation =
145
145
  );
146
146
 
147
147
  const credentialKeyTag = uuidv4().toString();
148
- let walletUnitAttestation: string | undefined;
148
+ let keyAttestation: string | undefined;
149
149
 
150
- // Obtains a Wallet Unit Attestation if supported
151
- if (wallet.WalletUnitAttestation.isSupported) {
152
- walletUnitAttestation = await wallet.WalletUnitAttestation.getAttestation(); // See the Wallet Unit Attestation README for more details
150
+ // Obtains a Key Attestation if supported
151
+ if (wallet.KeyAttestation.isSupported) {
152
+ keyAttestation = await wallet.KeyAttestation.getAttestation(); // See the Key Attestation README for more details
153
153
  } else {
154
154
  await generate(credentialKeyTag); // Let's assume this function generates a new hardware-backed key pair
155
155
  }
@@ -248,7 +248,7 @@ const { credential, format } = await wallet.CredentialIssuance.obtainCredential(
248
248
  {
249
249
  credentialCryptoContext,
250
250
  dPopCryptoContext,
251
- walletUnitAttestation, // Required in issuance v1.3
251
+ keyAttestation, // Required in issuance v1.4
252
252
  appFetch,
253
253
  }
254
254
  );
@@ -410,7 +410,7 @@ const { credential, format } = await wallet.CredentialIssuance.obtainCredential(
410
410
  {
411
411
  credentialCryptoContext,
412
412
  dPopCryptoContext,
413
- walletUnitAttestation, // Required in issuance v1.3
413
+ keyAttestation, // Required in issuance v1.4
414
414
  appFetch,
415
415
  }
416
416
  );
@@ -20,7 +20,7 @@ export interface ObtainCredentialApi {
20
20
  * @param credentialDefinition The credential definition of the credential to be obtained returned by {@link authorizeAccess}
21
21
  * @param context.credentialCryptoContext The crypto context used to obtain the credential
22
22
  * @param context.dPopCryptoContext The DPoP crypto context
23
- * @param context.walletUnitAttestation (optional) The Wallet Unit Attestation JWT bound to the provided credentialCryptoContext
23
+ * @param context.keyAttestation (optional) The Key Attestation JWT bound to the provided credentialCryptoContext
24
24
  * @param context.appFetch (optional) fetch api implementation. Default: built-in fetch
25
25
  * @returns The credential response containing the credential
26
26
  */
@@ -36,7 +36,7 @@ export interface ObtainCredentialApi {
36
36
  appFetch?: GlobalFetch["fetch"];
37
37
  credentialCryptoContext: CryptoContext;
38
38
  dPopCryptoContext: CryptoContext;
39
- walletUnitAttestation?: string;
39
+ keyAttestation?: string;
40
40
  },
41
41
  ): Promise<{
42
42
  credential: string;
@@ -63,7 +63,7 @@ export interface ObtainCredentialApi {
63
63
  appFetch?: GlobalFetch["fetch"];
64
64
  credentialCryptoContexts: CryptoContext[];
65
65
  dPopCryptoContext: CryptoContext;
66
- walletUnitAttestation?: string;
66
+ keyAttestation?: string;
67
67
  },
68
68
  ): Promise<{ credential: string; format: CredentialFormat }[]>;
69
69
  }
@@ -2,4 +2,4 @@ import * as Errors from "./common/errors";
2
2
  export { Errors };
3
3
  export type * from "./api";
4
4
  export { Issuance as V1_0_0 } from "./v1.0.0";
5
- export { Issuance as V1_3_3 } from "./v1.3.3";
5
+ export { Issuance as V1_4_6 } from "./v1.4.6";
@@ -1,6 +1,6 @@
1
1
  import type { MRTDPoPApi } from "../api/mrtd-pop";
2
2
 
3
- import { sdkConfigV1_0, sdkConfigV1_3 } from "../../../utils/config";
3
+ import { sdkConfigV1_0, sdkConfigV1_4 } from "../../../utils/config";
4
4
  import { verifyAndParseChallengeInfo } from "./01-verify-and-parse-challenge-info";
5
5
  import { createInitChallenge } from "./02-init-challenge";
6
6
  import {
@@ -17,7 +17,7 @@ export const MRTDPoPv1_0: MRTDPoPApi = {
17
17
 
18
18
  export const MRTDPoPv1_3: MRTDPoPApi = {
19
19
  buildChallengeCallbackUrl,
20
- initChallenge: createInitChallenge({ sdkConfig: sdkConfigV1_3 }),
21
- validateChallenge: createValidateChallenge({ sdkConfig: sdkConfigV1_3 }),
20
+ initChallenge: createInitChallenge({ sdkConfig: sdkConfigV1_4 }),
21
+ validateChallenge: createValidateChallenge({ sdkConfig: sdkConfigV1_4 }),
22
22
  verifyAndParseChallengeInfo,
23
23
  };
@@ -13,7 +13,7 @@ import {
13
13
  createSignJwtFromCryptoContext,
14
14
  partialCallbacks,
15
15
  } from "../../../utils/callbacks";
16
- import { sdkConfigV1_3 } from "../../../utils/config";
16
+ import { sdkConfigV1_4 } from "../../../utils/config";
17
17
  import { IoWalletError } from "../../../utils/errors";
18
18
  import { Logger, LogLevel } from "../../../utils/logging";
19
19
  import { selectCredentialDefinition } from "../common/02-start-user-authorization";
@@ -78,7 +78,7 @@ export const startUserAuthorization: IssuanceApi["startUserAuthorization"] =
78
78
  },
79
79
  clientId,
80
80
  codeChallengeMethodsSupported: ["S256"],
81
- config: sdkConfigV1_3,
81
+ config: sdkConfigV1_4,
82
82
  dpop: {
83
83
  signer: wiaSigner,
84
84
  },
@@ -98,7 +98,7 @@ export const startUserAuthorization: IssuanceApi["startUserAuthorization"] =
98
98
  signJwt,
99
99
  },
100
100
  clientAttestation: walletInstanceAttestation,
101
- config: sdkConfigV1_3,
101
+ config: sdkConfigV1_4,
102
102
  jti: uuidv4(),
103
103
  signer: wiaSigner,
104
104
  });
@@ -22,11 +22,11 @@ import {
22
22
  createVerifyJwtFromJwks,
23
23
  partialCallbacks,
24
24
  } from "../../../utils/callbacks";
25
- import { sdkConfigV1_3, sdkConfigV1_4 } from "../../../utils/config";
25
+ import { sdkConfigV1_4 } from "../../../utils/config";
26
26
  import { IoWalletError, IssuerResponseError } from "../../../utils/errors";
27
27
  import { Logger, LogLevel } from "../../../utils/logging";
28
28
  import { hasStatusOrThrow } from "../../../utils/misc";
29
- import { RemotePresentation as RemotePresentationFlow } from "../../presentation/v1.3.3";
29
+ import { RemotePresentation as RemotePresentationFlow } from "../../presentation/v1.4.6";
30
30
  import { AuthorizationError, AuthorizationIdpError } from "../common/errors";
31
31
  import { mapToRequestObject } from "./mappers";
32
32
 
@@ -110,7 +110,7 @@ export const getRequestedCredentialToBePresented: IssuanceApi["getRequestedCrede
110
110
  callbacks: {
111
111
  verifyJwt: createVerifyJwtFromJwks(issuerConf.keys),
112
112
  },
113
- config: sdkConfigV1_3,
113
+ config: sdkConfigV1_4,
114
114
  requestObjectJwt,
115
115
  });
116
116
 
@@ -293,8 +293,6 @@ const processPidPresentationAndCreateAuthzResponse = async ({
293
293
  encryptJwe: partialCallbacks.encryptJwe,
294
294
  generateRandom: partialCallbacks.generateRandom,
295
295
  },
296
- // The SDK 1.4 config is used here in order to resolve the encryption data from the Request Object
297
- // client_metadata, otherwise OpenID Federation clients always ignore client_metadata as per 1.3.3 specs.
298
296
  config: sdkConfigV1_4,
299
297
  requestObject,
300
298
  rpJwks: {
@@ -11,7 +11,7 @@ import {
11
11
  createSignJwtFromCryptoContext,
12
12
  partialCallbacks,
13
13
  } from "../../../utils/callbacks";
14
- import { sdkConfigV1_3 } from "../../../utils/config";
14
+ import { sdkConfigV1_4 } from "../../../utils/config";
15
15
  import { IoWalletError } from "../../../utils/errors";
16
16
 
17
17
  export const authorizeAccess: IssuanceApi["authorizeAccess"] = async (
@@ -52,7 +52,7 @@ export const authorizeAccess: IssuanceApi["authorizeAccess"] = async (
52
52
  signJwt: createSignJwtFromCryptoContext(wiaCryptoContext),
53
53
  },
54
54
  clientAttestation: walletInstanceAttestation,
55
- config: sdkConfigV1_3,
55
+ config: sdkConfigV1_4,
56
56
  signer: {
57
57
  alg: "ES256",
58
58
  method: "jwk",
@@ -18,7 +18,7 @@ import {
18
18
  createSignJwtFromCryptoContext,
19
19
  partialCallbacks,
20
20
  } from "../../../utils/callbacks";
21
- import { sdkConfigV1_3 } from "../../../utils/config";
21
+ import { sdkConfigV1_4 } from "../../../utils/config";
22
22
  import {
23
23
  IoWalletError,
24
24
  IssuerResponseError,
@@ -112,7 +112,7 @@ export const requestCredentials = async ({
112
112
  signJwt,
113
113
  },
114
114
  clientId,
115
- config: sdkConfigV1_3,
115
+ config: sdkConfigV1_4,
116
116
  credential_identifier: credentialIdentifier,
117
117
  issuerIdentifier: issuerConf.credential_endpoint,
118
118
  keyAttestation: keyAttestationJwt,
@@ -161,12 +161,11 @@ export const obtainCredential: IssuanceApi["obtainCredential"] = async (
161
161
  appFetch = fetch,
162
162
  credentialCryptoContext,
163
163
  dPopCryptoContext,
164
- walletUnitAttestation,
164
+ keyAttestation,
165
165
  } = context;
166
- if (!walletUnitAttestation) {
166
+ if (!keyAttestation) {
167
167
  throw new ValidationFailed({
168
- message:
169
- "The Wallet Unit Attestation is required to obtain the credential",
168
+ message: "The Key Attestation is required to obtain the credential",
170
169
  });
171
170
  }
172
171
 
@@ -202,7 +201,7 @@ export const obtainCredential: IssuanceApi["obtainCredential"] = async (
202
201
  credentialIdentifier: credential_identifier!,
203
202
  dPopCryptoContext,
204
203
  issuerConf,
205
- keyAttestationJwt: walletUnitAttestation,
204
+ keyAttestationJwt: keyAttestation,
206
205
  });
207
206
 
208
207
  Logger.log(
@@ -233,12 +232,11 @@ export const obtainCredentialsBatch: IssuanceApi["obtainCredentialsBatch"] =
233
232
  appFetch = fetch,
234
233
  credentialCryptoContexts,
235
234
  dPopCryptoContext,
236
- walletUnitAttestation,
235
+ keyAttestation,
237
236
  } = context;
238
- if (!walletUnitAttestation) {
237
+ if (!keyAttestation) {
239
238
  throw new ValidationFailed({
240
- message:
241
- "The Wallet Unit Attestation is required to obtain the credential",
239
+ message: "The Key Attestation is required to obtain the credential",
242
240
  });
243
241
  }
244
242
 
@@ -253,7 +251,7 @@ export const obtainCredentialsBatch: IssuanceApi["obtainCredentialsBatch"] =
253
251
  credentialIdentifier: credential_identifier,
254
252
  dPopCryptoContext,
255
253
  issuerConf,
256
- keyAttestationJwt: walletUnitAttestation,
254
+ keyAttestationJwt: keyAttestation,
257
255
  });
258
256
 
259
257
  // Extract the format corresponding to the credential_configuration_id used
@@ -119,18 +119,20 @@ The Credential Offer flow ends once `extractGrantDetails` returns. The Issuance
119
119
  <summary>Offer by reference</summary>
120
120
 
121
121
  ```ts
122
- import { CredentialOffer } from "@pagopa/io-react-native-wallet";
122
+ import { ioWallet } from "@pagopa/io-react-native-wallet";
123
+
124
+ const wallet = new IoWallet({ version: "1.4.6" });
123
125
 
124
126
  const uri =
125
127
  "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fissuer.example.com%2Foffer";
126
128
 
127
129
  // 1) Resolve — fetches the offer from the URI and validates it
128
- const offer = await CredentialOffer.V1_3_3.resolveCredentialOffer(uri, {
130
+ const offer = await wallet.CredentialsOffer.resolveCredentialOffer(uri, {
129
131
  fetch: appFetch,
130
132
  });
131
133
 
132
134
  // 2) Extract grant details
133
- const grant = CredentialOffer.V1_3_3.extractGrantDetails(offer);
135
+ const grant = wallet.CredentialsOffer.extractGrantDetails(offer);
134
136
  // {
135
137
  // grantType: "authorization_code",
136
138
  // authorizationCodeGrant: { scope: "org.iso.18013.5.1.mDL", ... }
@@ -143,16 +145,18 @@ const grant = CredentialOffer.V1_3_3.extractGrantDetails(offer);
143
145
  <summary>Offer by value</summary>
144
146
 
145
147
  ```ts
146
- import { CredentialOffer } from "@pagopa/io-react-native-wallet";
148
+ import { ioWallet } from "@pagopa/io-react-native-wallet";
149
+
150
+ const wallet = new IoWallet({ version: "1.4.6" });
147
151
 
148
152
  const uri =
149
153
  "openid-credential-offer://?credential_offer=%7B%22credential_issuer%22%3A%22https%3A%2F%2Fissuer.example.com%22%2C%22credential_configuration_ids%22%3A%5B%22UniversityDegree%22%5D%2C%22grants%22%3A%7B%22authorization_code%22%3A%7B%22scope%22%3A%22UniversityDegree%22%7D%7D%7D";
150
154
 
151
155
  // 1) Resolve — decodes the inline offer and validates it
152
- const offer = await CredentialOffer.V1_3_3.resolveCredentialOffer(uri);
156
+ const offer = await wallet.CredentialsOffer.resolveCredentialOffer(uri);
153
157
 
154
158
  // 2) Extract grant details
155
- const grant = CredentialOffer.V1_3_3.extractGrantDetails(offer);
159
+ const grant = wallet.CredentialsOffer.extractGrantDetails(offer);
156
160
  ```
157
161
 
158
162
  </details>
@@ -2,4 +2,4 @@ import * as Errors from "./common/errors";
2
2
  export { Errors };
3
3
  export type * from "./api";
4
4
  export { Offer as V1_0_0 } from "./v1.0.0";
5
- export { Offer as V1_3_3 } from "./v1.3.3";
5
+ export { Offer as V1_4_6 } from "./v1.4.6";
@@ -5,11 +5,11 @@ import {
5
5
 
6
6
  import type { OfferApi } from "../api";
7
7
 
8
- import { sdkConfigV1_3 } from "../../../utils/config";
8
+ import { sdkConfigV1_4 } from "../../../utils/config";
9
9
  import { InvalidQRCodeError } from "../common/errors";
10
10
 
11
11
  /**
12
- * v1.3.3 implementation — first step of the User Request Flow
12
+ * First step of the User Request Flow
13
13
  * (IT-Wallet spec, Section 12.1.2).
14
14
  *
15
15
  * Delegates to the SDK's {@link sdkResolveCredentialOffer} for URI parsing
@@ -31,7 +31,7 @@ export const resolveCredentialOffer: OfferApi["resolveCredentialOffer"] =
31
31
  // Parse the URI and fetch the offer when transmitted by reference
32
32
  const resolved = await sdkResolveCredentialOffer({
33
33
  callbacks: { fetch: fetchFn },
34
- config: sdkConfigV1_3,
34
+ config: sdkConfigV1_4,
35
35
  credentialOffer,
36
36
  }).catch((e: unknown) => {
37
37
  if (e instanceof CredentialOfferError) {
@@ -5,12 +5,12 @@ import {
5
5
 
6
6
  import type { OfferApi } from "../api";
7
7
 
8
- import { sdkConfigV1_3 } from "../../../utils/config";
8
+ import { sdkConfigV1_4 } from "../../../utils/config";
9
9
  import { withMappedErrors } from "../../../utils/errors";
10
10
  import { InvalidCredentialOfferError } from "../common/errors";
11
11
 
12
12
  /**
13
- * v1.3.3 implementation — second and final step of the User Request Flow
13
+ * Second and final step of the User Request Flow
14
14
  * (IT-Wallet spec, Section 12.1.2).
15
15
  *
16
16
  * IT-Wallet v1.3 only supports the `authorization_code` grant type;
@@ -26,7 +26,7 @@ export const extractGrantDetails: OfferApi["extractGrantDetails"] = (offer) =>
26
26
  withMappedErrors(
27
27
  () =>
28
28
  sdkExtractGrantDetails({
29
- config: sdkConfigV1_3,
29
+ config: sdkConfigV1_4,
30
30
  credentialOffer: offer,
31
31
  }),
32
32
  CredentialOfferError,
@@ -5,11 +5,11 @@ import {
5
5
 
6
6
  import type { OfferApi } from "../api";
7
7
 
8
- import { sdkConfigV1_3 } from "../../../utils/config";
8
+ import { sdkConfigV1_4 } from "../../../utils/config";
9
9
  import { InvalidCredentialOfferError } from "../common/errors";
10
10
 
11
11
  /**
12
- * v1.3.3 implementation — validates a resolved Credential Offer against the
12
+ * Validates a resolved Credential Offer against the
13
13
  * Credential Issuer metadata (IT-Wallet spec, Section 12.1.2).
14
14
  *
15
15
  * Performs the IT-Wallet v1.3 structural checks on the offer and, when the
@@ -23,7 +23,7 @@ import { InvalidCredentialOfferError } from "../common/errors";
23
23
  export const validateCredentialOffer: OfferApi["validateCredentialOffer"] =
24
24
  async ({ credentialIssuerMetadata, offer }) => {
25
25
  await sdkValidateCredentialOffer({
26
- config: sdkConfigV1_3,
26
+ config: sdkConfigV1_4,
27
27
  credentialIssuerMetadata,
28
28
  credentialOffer: offer,
29
29
  }).catch((e: unknown) => {