@pagopa/io-react-native-wallet 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. package/lib/commonjs/client/generated/wallet-provider.js +22 -22
  2. package/lib/commonjs/client/generated/wallet-provider.js.map +1 -1
  3. package/lib/commonjs/client/index.js +1 -2
  4. package/lib/commonjs/client/index.js.map +1 -1
  5. package/lib/commonjs/credential/issuance/02-evaluate-issuer-trust.js +2 -1
  6. package/lib/commonjs/credential/issuance/02-evaluate-issuer-trust.js.map +1 -1
  7. package/lib/commonjs/credential/issuance/03-start-credential-issuance.js +287 -0
  8. package/lib/commonjs/credential/issuance/03-start-credential-issuance.js.map +1 -0
  9. package/lib/commonjs/credential/issuance/03-start-user-authorization.js +56 -83
  10. package/lib/commonjs/credential/issuance/03-start-user-authorization.js.map +1 -1
  11. package/lib/commonjs/credential/issuance/04-complete-user-authorization.js +88 -0
  12. package/lib/commonjs/credential/issuance/04-complete-user-authorization.js.map +1 -1
  13. package/lib/commonjs/credential/issuance/05-authorize-access.js +56 -33
  14. package/lib/commonjs/credential/issuance/05-authorize-access.js.map +1 -1
  15. package/lib/commonjs/credential/issuance/06-obtain-credential.js +51 -78
  16. package/lib/commonjs/credential/issuance/06-obtain-credential.js.map +1 -1
  17. package/lib/commonjs/credential/issuance/07-verify-and-parse-credential.js +21 -44
  18. package/lib/commonjs/credential/issuance/07-verify-and-parse-credential.js.map +1 -1
  19. package/lib/commonjs/credential/issuance/index.js +7 -0
  20. package/lib/commonjs/credential/issuance/index.js.map +1 -1
  21. package/lib/commonjs/credential/issuance/types.js +28 -0
  22. package/lib/commonjs/credential/issuance/types.js.map +1 -0
  23. package/lib/commonjs/index.js.map +1 -1
  24. package/lib/commonjs/pid/sd-jwt/converters.js +5 -9
  25. package/lib/commonjs/pid/sd-jwt/converters.js.map +1 -1
  26. package/lib/commonjs/pid/sd-jwt/types.js +3 -3
  27. package/lib/commonjs/pid/sd-jwt/types.js.map +1 -1
  28. package/lib/commonjs/sd-jwt/__test__/converters.test.js +1 -1
  29. package/lib/commonjs/sd-jwt/__test__/converters.test.js.map +1 -1
  30. package/lib/commonjs/sd-jwt/__test__/index.test.js +30 -43
  31. package/lib/commonjs/sd-jwt/__test__/index.test.js.map +1 -1
  32. package/lib/commonjs/sd-jwt/__test__/types.test.js +16 -24
  33. package/lib/commonjs/sd-jwt/__test__/types.test.js.map +1 -1
  34. package/lib/commonjs/sd-jwt/index.js +3 -9
  35. package/lib/commonjs/sd-jwt/index.js.map +1 -1
  36. package/lib/commonjs/sd-jwt/types.js +11 -16
  37. package/lib/commonjs/sd-jwt/types.js.map +1 -1
  38. package/lib/commonjs/trust/types.js +70 -29
  39. package/lib/commonjs/trust/types.js.map +1 -1
  40. package/lib/commonjs/utils/auth.js +44 -0
  41. package/lib/commonjs/utils/auth.js.map +1 -0
  42. package/lib/commonjs/utils/errors.js +77 -2
  43. package/lib/commonjs/utils/errors.js.map +1 -1
  44. package/lib/commonjs/utils/misc.js +34 -1
  45. package/lib/commonjs/utils/misc.js.map +1 -1
  46. package/lib/commonjs/utils/par.js +23 -15
  47. package/lib/commonjs/utils/par.js.map +1 -1
  48. package/lib/commonjs/utils/pop.js +33 -0
  49. package/lib/commonjs/utils/pop.js.map +1 -0
  50. package/lib/commonjs/wallet-instance-attestation/issuing.js +17 -2
  51. package/lib/commonjs/wallet-instance-attestation/issuing.js.map +1 -1
  52. package/lib/commonjs/wallet-instance-attestation/types.js +7 -7
  53. package/lib/commonjs/wallet-instance-attestation/types.js.map +1 -1
  54. package/lib/module/client/generated/wallet-provider.js +16 -19
  55. package/lib/module/client/generated/wallet-provider.js.map +1 -1
  56. package/lib/module/client/index.js +1 -2
  57. package/lib/module/client/index.js.map +1 -1
  58. package/lib/module/credential/issuance/02-evaluate-issuer-trust.js +2 -1
  59. package/lib/module/credential/issuance/02-evaluate-issuer-trust.js.map +1 -1
  60. package/lib/module/credential/issuance/03-start-credential-issuance.js +276 -0
  61. package/lib/module/credential/issuance/03-start-credential-issuance.js.map +1 -0
  62. package/lib/module/credential/issuance/03-start-user-authorization.js +56 -80
  63. package/lib/module/credential/issuance/03-start-user-authorization.js.map +1 -1
  64. package/lib/module/credential/issuance/04-complete-user-authorization.js +85 -1
  65. package/lib/module/credential/issuance/04-complete-user-authorization.js.map +1 -1
  66. package/lib/module/credential/issuance/05-authorize-access.js +54 -33
  67. package/lib/module/credential/issuance/05-authorize-access.js.map +1 -1
  68. package/lib/module/credential/issuance/06-obtain-credential.js +50 -75
  69. package/lib/module/credential/issuance/06-obtain-credential.js.map +1 -1
  70. package/lib/module/credential/issuance/07-verify-and-parse-credential.js +21 -44
  71. package/lib/module/credential/issuance/07-verify-and-parse-credential.js.map +1 -1
  72. package/lib/module/credential/issuance/index.js +2 -1
  73. package/lib/module/credential/issuance/index.js.map +1 -1
  74. package/lib/module/credential/issuance/types.js +18 -0
  75. package/lib/module/credential/issuance/types.js.map +1 -0
  76. package/lib/module/index.js.map +1 -1
  77. package/lib/module/pid/sd-jwt/converters.js +5 -9
  78. package/lib/module/pid/sd-jwt/converters.js.map +1 -1
  79. package/lib/module/pid/sd-jwt/types.js +3 -3
  80. package/lib/module/pid/sd-jwt/types.js.map +1 -1
  81. package/lib/module/sd-jwt/__test__/converters.test.js +1 -1
  82. package/lib/module/sd-jwt/__test__/converters.test.js.map +1 -1
  83. package/lib/module/sd-jwt/__test__/index.test.js +30 -43
  84. package/lib/module/sd-jwt/__test__/index.test.js.map +1 -1
  85. package/lib/module/sd-jwt/__test__/types.test.js +16 -24
  86. package/lib/module/sd-jwt/__test__/types.test.js.map +1 -1
  87. package/lib/module/sd-jwt/index.js +3 -9
  88. package/lib/module/sd-jwt/index.js.map +1 -1
  89. package/lib/module/sd-jwt/types.js +11 -16
  90. package/lib/module/sd-jwt/types.js.map +1 -1
  91. package/lib/module/sd-jwt/verifier.js.map +1 -1
  92. package/lib/module/trust/types.js +70 -29
  93. package/lib/module/trust/types.js.map +1 -1
  94. package/lib/module/utils/auth.js +35 -0
  95. package/lib/module/utils/auth.js.map +1 -0
  96. package/lib/module/utils/errors.js +71 -0
  97. package/lib/module/utils/errors.js.map +1 -1
  98. package/lib/module/utils/misc.js +31 -0
  99. package/lib/module/utils/misc.js.map +1 -1
  100. package/lib/module/utils/par.js +24 -16
  101. package/lib/module/utils/par.js.map +1 -1
  102. package/lib/module/utils/pop.js +24 -0
  103. package/lib/module/utils/pop.js.map +1 -0
  104. package/lib/module/wallet-instance-attestation/issuing.js +17 -2
  105. package/lib/module/wallet-instance-attestation/issuing.js.map +1 -1
  106. package/lib/module/wallet-instance-attestation/types.js +7 -7
  107. package/lib/module/wallet-instance-attestation/types.js.map +1 -1
  108. package/lib/typescript/client/generated/wallet-provider.d.ts +35 -13
  109. package/lib/typescript/client/generated/wallet-provider.d.ts.map +1 -1
  110. package/lib/typescript/client/index.d.ts.map +1 -1
  111. package/lib/typescript/credential/issuance/01-start-flow.d.ts +1 -0
  112. package/lib/typescript/credential/issuance/01-start-flow.d.ts.map +1 -1
  113. package/lib/typescript/credential/issuance/02-evaluate-issuer-trust.d.ts +2 -1
  114. package/lib/typescript/credential/issuance/02-evaluate-issuer-trust.d.ts.map +1 -1
  115. package/lib/typescript/credential/issuance/03-start-credential-issuance.d.ts +41 -0
  116. package/lib/typescript/credential/issuance/03-start-credential-issuance.d.ts.map +1 -0
  117. package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts +23 -18
  118. package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts.map +1 -1
  119. package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts +24 -12
  120. package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts.map +1 -1
  121. package/lib/typescript/credential/issuance/05-authorize-access.d.ts +22 -16
  122. package/lib/typescript/credential/issuance/05-authorize-access.d.ts.map +1 -1
  123. package/lib/typescript/credential/issuance/06-obtain-credential.d.ts +19 -26
  124. package/lib/typescript/credential/issuance/06-obtain-credential.d.ts.map +1 -1
  125. package/lib/typescript/credential/issuance/07-verify-and-parse-credential.d.ts +10 -15
  126. package/lib/typescript/credential/issuance/07-verify-and-parse-credential.d.ts.map +1 -1
  127. package/lib/typescript/credential/issuance/index.d.ts +3 -4
  128. package/lib/typescript/credential/issuance/index.d.ts.map +1 -1
  129. package/lib/typescript/credential/issuance/types.d.ts +63 -0
  130. package/lib/typescript/credential/issuance/types.d.ts.map +1 -0
  131. package/lib/typescript/credential/presentation/types.d.ts +6 -6
  132. package/lib/typescript/index.d.ts +2 -1
  133. package/lib/typescript/index.d.ts.map +1 -1
  134. package/lib/typescript/pid/sd-jwt/converters.d.ts.map +1 -1
  135. package/lib/typescript/pid/sd-jwt/types.d.ts +36 -36
  136. package/lib/typescript/pid/sd-jwt/types.d.ts.map +1 -1
  137. package/lib/typescript/sd-jwt/index.d.ts +40 -68
  138. package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
  139. package/lib/typescript/sd-jwt/types.d.ts +64 -121
  140. package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
  141. package/lib/typescript/trust/index.d.ts +150 -48
  142. package/lib/typescript/trust/index.d.ts.map +1 -1
  143. package/lib/typescript/trust/types.d.ts +2838 -1740
  144. package/lib/typescript/trust/types.d.ts.map +1 -1
  145. package/lib/typescript/utils/auth.d.ts +52 -0
  146. package/lib/typescript/utils/auth.d.ts.map +1 -0
  147. package/lib/typescript/utils/errors.d.ts +36 -1
  148. package/lib/typescript/utils/errors.d.ts.map +1 -1
  149. package/lib/typescript/utils/integrity.d.ts +1 -1
  150. package/lib/typescript/utils/misc.d.ts +18 -0
  151. package/lib/typescript/utils/misc.d.ts.map +1 -1
  152. package/lib/typescript/utils/par.d.ts +8 -31
  153. package/lib/typescript/utils/par.d.ts.map +1 -1
  154. package/lib/typescript/utils/pop.d.ts +26 -0
  155. package/lib/typescript/utils/pop.d.ts.map +1 -0
  156. package/lib/typescript/wallet-instance-attestation/issuing.d.ts +2 -1
  157. package/lib/typescript/wallet-instance-attestation/issuing.d.ts.map +1 -1
  158. package/lib/typescript/wallet-instance-attestation/types.d.ts +59 -59
  159. package/lib/typescript/wallet-instance-attestation/types.d.ts.map +1 -1
  160. package/package.json +2 -1
  161. package/src/client/generated/wallet-provider.ts +24 -21
  162. package/src/client/index.ts +3 -8
  163. package/src/credential/issuance/01-start-flow.ts +1 -0
  164. package/src/credential/issuance/02-evaluate-issuer-trust.ts +2 -1
  165. package/src/credential/issuance/03-start-credential-issuance.ts +407 -0
  166. package/src/credential/issuance/03-start-user-authorization.ts +91 -92
  167. package/src/credential/issuance/04-complete-user-authorization.ts +114 -13
  168. package/src/credential/issuance/05-authorize-access.ts +74 -49
  169. package/src/credential/issuance/06-obtain-credential.ts +77 -111
  170. package/src/credential/issuance/07-verify-and-parse-credential.ts +30 -67
  171. package/src/credential/issuance/index.ts +6 -4
  172. package/src/credential/issuance/types.ts +25 -0
  173. package/src/index.ts +2 -1
  174. package/src/pid/sd-jwt/converters.ts +5 -11
  175. package/src/pid/sd-jwt/types.ts +8 -6
  176. package/src/sd-jwt/__test__/converters.test.ts +1 -1
  177. package/src/sd-jwt/__test__/index.test.ts +45 -74
  178. package/src/sd-jwt/__test__/types.test.ts +21 -33
  179. package/src/sd-jwt/index.ts +3 -12
  180. package/src/sd-jwt/types.ts +17 -22
  181. package/src/trust/types.ts +64 -32
  182. package/src/utils/auth.ts +37 -0
  183. package/src/utils/errors.ts +85 -1
  184. package/src/utils/integrity.ts +1 -1
  185. package/src/utils/misc.ts +43 -0
  186. package/src/utils/par.ts +29 -17
  187. package/src/utils/pop.ts +34 -0
  188. package/src/wallet-instance-attestation/issuing.ts +39 -2
  189. package/src/wallet-instance-attestation/types.ts +11 -7
  190. package/lib/commonjs/credential/issuance/07-confirm-credential.js +0 -6
  191. package/lib/commonjs/credential/issuance/07-confirm-credential.js.map +0 -1
  192. package/lib/commonjs/credential/issuance/08-confirm-credential.js +0 -6
  193. package/lib/commonjs/credential/issuance/08-confirm-credential.js.map +0 -1
  194. package/lib/module/credential/issuance/07-confirm-credential.js +0 -2
  195. package/lib/module/credential/issuance/07-confirm-credential.js.map +0 -1
  196. package/lib/module/credential/issuance/08-confirm-credential.js +0 -2
  197. package/lib/module/credential/issuance/08-confirm-credential.js.map +0 -1
  198. package/lib/typescript/credential/issuance/07-confirm-credential.d.ts +0 -11
  199. package/lib/typescript/credential/issuance/07-confirm-credential.d.ts.map +0 -1
  200. package/lib/typescript/credential/issuance/08-confirm-credential.d.ts +0 -11
  201. package/lib/typescript/credential/issuance/08-confirm-credential.d.ts.map +0 -1
  202. package/src/credential/issuance/07-confirm-credential.ts +0 -14
  203. package/src/credential/issuance/08-confirm-credential.ts +0 -14
  204. package/src/sd-jwt/__test__/converters.test.js +0 -24
  205. package/src/sd-jwt/verifier.js +0 -12
@@ -151,7 +151,7 @@ export declare const getWalletProviderEntityConfiguration: (entityBaseUrl: Param
151
151
  grant_types_supported: string[];
152
152
  token_endpoint_auth_methods_supported: string[];
153
153
  token_endpoint_auth_signing_alg_values_supported: string[];
154
- attested_security_context_values_supported?: string[] | undefined;
154
+ aal_values_supported?: string[] | undefined;
155
155
  } & {
156
156
  [k: string]: unknown;
157
157
  };
@@ -273,40 +273,91 @@ export declare const getCredentialIssuerEntityConfiguration: (entityBaseUrl: Par
273
273
  x5u?: string | undefined;
274
274
  }[];
275
275
  };
276
+ display: {
277
+ name: string;
278
+ locale: string;
279
+ logo: {
280
+ url: string;
281
+ alt_text: string;
282
+ };
283
+ }[];
276
284
  credential_issuer: string;
277
- authorization_endpoint: string;
278
- token_endpoint: string;
279
- pushed_authorization_request_endpoint: string;
280
- dpop_signing_alg_values_supported: string[];
281
285
  credential_endpoint: string;
282
- credentials_supported: {
283
- id: string;
286
+ revocation_endpoint: string;
287
+ status_attestation_endpoint: string;
288
+ credential_configurations_supported: Record<string, {
284
289
  display: {
285
290
  name: string;
286
291
  locale: string;
287
- logo: {
292
+ logo?: {
288
293
  url: string;
289
294
  alt_text: string;
290
- };
291
- background_color: string;
292
- text_color: string;
295
+ } | undefined;
296
+ background_color?: string | undefined;
297
+ text_color?: string | undefined;
293
298
  }[];
294
299
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
300
+ scope: string;
301
+ claims: Record<string, {
302
+ value_type: string;
303
+ display: {
304
+ name: string;
305
+ locale: string;
306
+ }[];
307
+ }>;
295
308
  cryptographic_binding_methods_supported: string[];
296
- cryptographic_suites_supported: string[];
297
- credential_definition: {
298
- type: string[];
299
- credentialSubject: Record<string, {
300
- mandatory: boolean;
301
- display: {
302
- name: string;
303
- locale: string;
304
- }[];
305
- }>;
306
- };
307
- }[];
309
+ credential_signing_alg_values_supported: string[];
310
+ }>;
311
+ };
312
+ oauth_authorization_server: {
313
+ jwks: {
314
+ keys: {
315
+ kty: "RSA" | "EC";
316
+ alg?: string | undefined;
317
+ crv?: string | undefined;
318
+ d?: string | undefined;
319
+ dp?: string | undefined;
320
+ dq?: string | undefined;
321
+ e?: string | undefined;
322
+ ext?: boolean | undefined;
323
+ k?: string | undefined;
324
+ key_ops?: string[] | undefined;
325
+ kid?: string | undefined;
326
+ n?: string | undefined;
327
+ p?: string | undefined;
328
+ q?: string | undefined;
329
+ qi?: string | undefined;
330
+ use?: string | undefined;
331
+ x?: string | undefined;
332
+ y?: string | undefined;
333
+ x5c?: string[] | undefined;
334
+ x5t?: string | undefined;
335
+ "x5t#S256"?: string | undefined;
336
+ x5u?: string | undefined;
337
+ }[];
338
+ };
339
+ authorization_endpoint: string;
340
+ pushed_authorization_request_endpoint: string;
341
+ token_endpoint: string;
342
+ client_registration_types_supported: string[];
343
+ code_challenge_methods_supported: string[];
344
+ acr_values_supported: string[];
345
+ grant_types_supported: string[];
346
+ issuer: string;
347
+ scopes_supported: string[];
348
+ response_modes_supported: string[];
349
+ token_endpoint_auth_methods_supported: string[];
350
+ token_endpoint_auth_signing_alg_values_supported: string[];
351
+ request_object_signing_alg_values_supported: string[];
352
+ dpop_signing_alg_values_supported?: string[] | undefined;
353
+ introspection_endpoint?: string | undefined;
354
+ authorization_details_types_supported?: string[] | undefined;
355
+ request_parameter_supported?: boolean | undefined;
356
+ request_uri_parameter_supported?: boolean | undefined;
357
+ response_types_supported?: string[] | undefined;
358
+ subject_types_supported?: string[] | undefined;
308
359
  };
309
- wallet_relying_party?: {
360
+ openid_relying_party?: {
310
361
  jwks: {
311
362
  keys: {
312
363
  kty: "RSA" | "EC";
@@ -672,40 +723,91 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
672
723
  x5u?: string | undefined;
673
724
  }[];
674
725
  };
726
+ display: {
727
+ name: string;
728
+ locale: string;
729
+ logo: {
730
+ url: string;
731
+ alt_text: string;
732
+ };
733
+ }[];
675
734
  credential_issuer: string;
676
- authorization_endpoint: string;
677
- token_endpoint: string;
678
- pushed_authorization_request_endpoint: string;
679
- dpop_signing_alg_values_supported: string[];
680
735
  credential_endpoint: string;
681
- credentials_supported: {
682
- id: string;
736
+ revocation_endpoint: string;
737
+ status_attestation_endpoint: string;
738
+ credential_configurations_supported: Record<string, {
683
739
  display: {
684
740
  name: string;
685
741
  locale: string;
686
- logo: {
742
+ logo?: {
687
743
  url: string;
688
744
  alt_text: string;
689
- };
690
- background_color: string;
691
- text_color: string;
745
+ } | undefined;
746
+ background_color?: string | undefined;
747
+ text_color?: string | undefined;
692
748
  }[];
693
749
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
750
+ scope: string;
751
+ claims: Record<string, {
752
+ value_type: string;
753
+ display: {
754
+ name: string;
755
+ locale: string;
756
+ }[];
757
+ }>;
694
758
  cryptographic_binding_methods_supported: string[];
695
- cryptographic_suites_supported: string[];
696
- credential_definition: {
697
- type: string[];
698
- credentialSubject: Record<string, {
699
- mandatory: boolean;
700
- display: {
701
- name: string;
702
- locale: string;
703
- }[];
704
- }>;
705
- };
706
- }[];
759
+ credential_signing_alg_values_supported: string[];
760
+ }>;
761
+ };
762
+ oauth_authorization_server: {
763
+ jwks: {
764
+ keys: {
765
+ kty: "RSA" | "EC";
766
+ alg?: string | undefined;
767
+ crv?: string | undefined;
768
+ d?: string | undefined;
769
+ dp?: string | undefined;
770
+ dq?: string | undefined;
771
+ e?: string | undefined;
772
+ ext?: boolean | undefined;
773
+ k?: string | undefined;
774
+ key_ops?: string[] | undefined;
775
+ kid?: string | undefined;
776
+ n?: string | undefined;
777
+ p?: string | undefined;
778
+ q?: string | undefined;
779
+ qi?: string | undefined;
780
+ use?: string | undefined;
781
+ x?: string | undefined;
782
+ y?: string | undefined;
783
+ x5c?: string[] | undefined;
784
+ x5t?: string | undefined;
785
+ "x5t#S256"?: string | undefined;
786
+ x5u?: string | undefined;
787
+ }[];
788
+ };
789
+ authorization_endpoint: string;
790
+ pushed_authorization_request_endpoint: string;
791
+ token_endpoint: string;
792
+ client_registration_types_supported: string[];
793
+ code_challenge_methods_supported: string[];
794
+ acr_values_supported: string[];
795
+ grant_types_supported: string[];
796
+ issuer: string;
797
+ scopes_supported: string[];
798
+ response_modes_supported: string[];
799
+ token_endpoint_auth_methods_supported: string[];
800
+ token_endpoint_auth_signing_alg_values_supported: string[];
801
+ request_object_signing_alg_values_supported: string[];
802
+ dpop_signing_alg_values_supported?: string[] | undefined;
803
+ introspection_endpoint?: string | undefined;
804
+ authorization_details_types_supported?: string[] | undefined;
805
+ request_parameter_supported?: boolean | undefined;
806
+ request_uri_parameter_supported?: boolean | undefined;
807
+ response_types_supported?: string[] | undefined;
808
+ subject_types_supported?: string[] | undefined;
707
809
  };
708
- wallet_relying_party?: {
810
+ openid_relying_party?: {
709
811
  jwks: {
710
812
  keys: {
711
813
  kty: "RSA" | "EC";
@@ -928,7 +1030,7 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
928
1030
  grant_types_supported: string[];
929
1031
  token_endpoint_auth_methods_supported: string[];
930
1032
  token_endpoint_auth_signing_alg_values_supported: string[];
931
- attested_security_context_values_supported?: string[] | undefined;
1033
+ aal_values_supported?: string[] | undefined;
932
1034
  } & {
933
1035
  [k: string]: unknown;
934
1036
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts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