@pagopa/io-react-native-wallet 0.27.0 → 0.27.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 (63) hide show
  1. package/lib/commonjs/credential/issuance/04-complete-user-authorization.js +5 -5
  2. package/lib/commonjs/credential/issuance/04-complete-user-authorization.js.map +1 -1
  3. package/lib/commonjs/credential/issuance/05-authorize-access.js +3 -4
  4. package/lib/commonjs/credential/issuance/05-authorize-access.js.map +1 -1
  5. package/lib/commonjs/credential/issuance/06-obtain-credential.js +2 -3
  6. package/lib/commonjs/credential/issuance/06-obtain-credential.js.map +1 -1
  7. package/lib/commonjs/credential/issuance/README.md +2 -2
  8. package/lib/commonjs/credential/presentation/03-get-request-object.js +2 -3
  9. package/lib/commonjs/credential/presentation/03-get-request-object.js.map +1 -1
  10. package/lib/commonjs/credential/presentation/04-send-authorization-response.js +4 -5
  11. package/lib/commonjs/credential/presentation/04-send-authorization-response.js.map +1 -1
  12. package/lib/commonjs/credential/status/02-status-attestation.js +2 -3
  13. package/lib/commonjs/credential/status/02-status-attestation.js.map +1 -1
  14. package/lib/commonjs/trust/chain.js.map +1 -1
  15. package/lib/commonjs/trust/types.js +3 -31
  16. package/lib/commonjs/trust/types.js.map +1 -1
  17. package/lib/commonjs/utils/crypto.js +2 -3
  18. package/lib/commonjs/utils/crypto.js.map +1 -1
  19. package/lib/commonjs/utils/par.js +3 -4
  20. package/lib/commonjs/utils/par.js.map +1 -1
  21. package/lib/module/credential/issuance/04-complete-user-authorization.js +5 -5
  22. package/lib/module/credential/issuance/04-complete-user-authorization.js.map +1 -1
  23. package/lib/module/credential/issuance/05-authorize-access.js +3 -3
  24. package/lib/module/credential/issuance/05-authorize-access.js.map +1 -1
  25. package/lib/module/credential/issuance/06-obtain-credential.js +2 -2
  26. package/lib/module/credential/issuance/06-obtain-credential.js.map +1 -1
  27. package/lib/module/credential/issuance/README.md +2 -2
  28. package/lib/module/credential/presentation/03-get-request-object.js +2 -2
  29. package/lib/module/credential/presentation/03-get-request-object.js.map +1 -1
  30. package/lib/module/credential/presentation/04-send-authorization-response.js +4 -4
  31. package/lib/module/credential/presentation/04-send-authorization-response.js.map +1 -1
  32. package/lib/module/credential/status/02-status-attestation.js +2 -2
  33. package/lib/module/credential/status/02-status-attestation.js.map +1 -1
  34. package/lib/module/trust/chain.js.map +1 -1
  35. package/lib/module/trust/types.js +3 -31
  36. package/lib/module/trust/types.js.map +1 -1
  37. package/lib/module/utils/crypto.js +2 -2
  38. package/lib/module/utils/crypto.js.map +1 -1
  39. package/lib/module/utils/par.js +3 -3
  40. package/lib/module/utils/par.js.map +1 -1
  41. package/lib/typescript/trust/chain.d.ts.map +1 -1
  42. package/lib/typescript/trust/index.d.ts +8 -42
  43. package/lib/typescript/trust/index.d.ts.map +1 -1
  44. package/lib/typescript/trust/types.d.ts +84 -478
  45. package/lib/typescript/trust/types.d.ts.map +1 -1
  46. package/lib/typescript/utils/errors.d.ts.map +1 -1
  47. package/lib/typescript/utils/misc.d.ts.map +1 -1
  48. package/lib/typescript/wallet-instance-attestation/types.d.ts +4 -4
  49. package/package.json +17 -10
  50. package/src/credential/issuance/04-complete-user-authorization.ts +5 -5
  51. package/src/credential/issuance/05-authorize-access.ts +3 -3
  52. package/src/credential/issuance/06-obtain-credential.ts +2 -2
  53. package/src/credential/issuance/README.md +2 -2
  54. package/src/credential/presentation/03-get-request-object.ts +2 -2
  55. package/src/credential/presentation/04-send-authorization-response.ts +4 -4
  56. package/src/credential/presentation/types.ts +1 -1
  57. package/src/credential/status/02-status-attestation.ts +2 -2
  58. package/src/trust/chain.ts +14 -10
  59. package/src/trust/types.ts +1 -22
  60. package/src/utils/crypto.ts +2 -2
  61. package/src/utils/errors.ts +2 -2
  62. package/src/utils/misc.ts +2 -2
  63. package/src/utils/par.ts +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/trust/types.ts"],"names":[],"mappings":"AAEA,OA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AAK,GAAG,GAChC,UAAU,CAAC,EAAE,CAAC,GACd,KAAK,CAAC;AAEZ;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,SAAU,MAAM,WAGjD,CAAC;AAEb;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC,eAChC,MAAM,KACjB,QAAQ,MAAM,CAMhB,CAAC;AAEF,eAAO,MAAM,aAAa,YAAa,MAAM,0CAM5C,CAAC"}
@@ -601,9 +601,9 @@ export declare const WalletInstanceAttestationJwt: z.ZodObject<{
601
601
  }, "strip", z.ZodTypeAny, {
602
602
  sub: string;
603
603
  authorization_endpoint: string;
604
- response_types_supported: string[];
605
604
  request_object_signing_alg_values_supported: string[];
606
605
  aal: string;
606
+ response_types_supported: string[];
607
607
  vp_formats_supported: {
608
608
  "vc+sd-jwt"?: {
609
609
  "sd-jwt_alg_values": string[];
@@ -616,9 +616,9 @@ export declare const WalletInstanceAttestationJwt: z.ZodObject<{
616
616
  }, {
617
617
  sub: string;
618
618
  authorization_endpoint: string;
619
- response_types_supported: string[];
620
619
  request_object_signing_alg_values_supported: string[];
621
620
  aal: string;
621
+ response_types_supported: string[];
622
622
  vp_formats_supported: {
623
623
  "vc+sd-jwt"?: {
624
624
  "sd-jwt_alg_values": string[];
@@ -674,9 +674,9 @@ export declare const WalletInstanceAttestationJwt: z.ZodObject<{
674
674
  } & {
675
675
  sub: string;
676
676
  authorization_endpoint: string;
677
- response_types_supported: string[];
678
677
  request_object_signing_alg_values_supported: string[];
679
678
  aal: string;
679
+ response_types_supported: string[];
680
680
  vp_formats_supported: {
681
681
  "vc+sd-jwt"?: {
682
682
  "sd-jwt_alg_values": string[];
@@ -732,9 +732,9 @@ export declare const WalletInstanceAttestationJwt: z.ZodObject<{
732
732
  } & {
733
733
  sub: string;
734
734
  authorization_endpoint: string;
735
- response_types_supported: string[];
736
735
  request_object_signing_alg_values_supported: string[];
737
736
  aal: string;
737
+ response_types_supported: string[];
738
738
  vp_formats_supported: {
739
739
  "vc+sd-jwt"?: {
740
740
  "sd-jwt_alg_values": string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagopa/io-react-native-wallet",
3
- "version": "0.27.0",
3
+ "version": "0.27.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",
@@ -53,27 +53,28 @@
53
53
  "registry": "https://registry.npmjs.org/"
54
54
  },
55
55
  "devDependencies": {
56
- "@pagopa/eslint-config": "^3.0.0",
57
56
  "@pagopa/io-react-native-crypto": "^0.2.3",
58
57
  "@pagopa/io-react-native-jwt": "^1.3.0",
59
- "@react-native/eslint-config": "^0.72.2",
58
+ "@react-native/eslint-config": "^0.75.5",
60
59
  "@rushstack/eslint-patch": "^1.3.2",
61
60
  "@types/jest": "^28.1.2",
62
- "@types/react": "^18.0.24",
61
+ "@types/react": "^18.2.6",
63
62
  "@types/react-native": "0.70.0",
63
+ "@types/url-parse": "^1.4.11",
64
64
  "del-cli": "^5.0.0",
65
65
  "eslint": "^8.4.1",
66
+ "eslint-plugin-prettier": "^5.2.3",
66
67
  "jest": "^28.1.1",
67
68
  "pod-install": "^0.1.0",
68
- "prettier": "^2.0.5",
69
- "react": "18.2.0",
70
- "react-native": "0.72.14",
69
+ "prettier": "^3.5.3",
70
+ "react": "18.3.1",
71
+ "react-native": "0.75.5",
71
72
  "react-native-builder-bob": "^0.20.0",
72
73
  "typed-openapi": "^0.4.1",
73
- "typescript": "^5.0.2"
74
+ "typescript": "5.0.4"
74
75
  },
75
76
  "resolutions": {
76
- "@types/react": "^18.0.24"
77
+ "@types/react": "^18.2.6"
77
78
  },
78
79
  "peerDependencies": {
79
80
  "@pagopa/io-react-native-crypto": "*",
@@ -90,6 +91,12 @@
90
91
  "modulePathIgnorePatterns": [
91
92
  "<rootDir>/example/node_modules",
92
93
  "<rootDir>/lib/"
94
+ ],
95
+ "transformIgnorePatterns": [
96
+ "node_modules/(?!(jest-)?@react-native|react-native|uuid)"
97
+ ],
98
+ "setupFiles": [
99
+ "<rootDir>/jestSetup.js"
93
100
  ]
94
101
  },
95
102
  "react-native-builder-bob": {
@@ -111,7 +118,7 @@
111
118
  "js-sha256": "^0.9.0",
112
119
  "parse-url": "^9.2.0",
113
120
  "react-native-url-polyfill": "^2.0.0",
114
- "react-native-uuid": "^2.0.1",
121
+ "uuid": "^11.0.3",
115
122
  "zod": "^3.21.4"
116
123
  }
117
124
  }
@@ -15,7 +15,7 @@ import {
15
15
  type CryptoContext,
16
16
  } from "@pagopa/io-react-native-jwt";
17
17
  import { RequestObject } from "../presentation/types";
18
- import uuid from "react-native-uuid";
18
+ import { v4 as uuidv4 } from "uuid";
19
19
  import { ResponseUriResultShape } from "./types";
20
20
  import { getJwtFromFormPost } from "../../utils/decoder";
21
21
  import { AuthorizationError, AuthorizationIdpError } from "./errors";
@@ -169,7 +169,7 @@ export const completeUserAuthorizationWithFormPostJwtMode: CompleteUserAuthoriza
169
169
  })
170
170
  .setPayload({
171
171
  vp: walletInstanceAttestation,
172
- jti: uuid.v4().toString(),
172
+ jti: uuidv4().toString(),
173
173
  nonce: requestObject.nonce,
174
174
  })
175
175
  .setIssuedAt()
@@ -184,7 +184,7 @@ export const completeUserAuthorizationWithFormPostJwtMode: CompleteUserAuthoriza
184
184
  })
185
185
  .setPayload({
186
186
  vp: pid,
187
- jti: uuid.v4().toString(),
187
+ jti: uuidv4().toString(),
188
188
  nonce: requestObject.nonce,
189
189
  })
190
190
  .setIssuedAt()
@@ -196,8 +196,8 @@ export const completeUserAuthorizationWithFormPostJwtMode: CompleteUserAuthoriza
196
196
  * is cointaned in the `vp` property of the signed jwt token payload
197
197
  */
198
198
  const presentationSubmission = {
199
- definition_id: `${uuid.v4()}`,
200
- id: `${uuid.v4()}`,
199
+ definition_id: `${uuidv4()}`,
200
+ id: `${uuidv4()}`,
201
201
  descriptor_map: [
202
202
  {
203
203
  id: "PersonIdentificationData",
@@ -2,7 +2,7 @@ import { hasStatusOrThrow, type Out } from "../../utils/misc";
2
2
  import type { EvaluateIssuerTrust } from "./02-evaluate-issuer-trust";
3
3
  import type { StartUserAuthorization } from "./03-start-user-authorization";
4
4
  import { createDPopToken } from "../../utils/dpop";
5
- import uuid from "react-native-uuid";
5
+ import { v4 as uuidv4 } from "uuid";
6
6
  import { createPopToken } from "../../utils/pop";
7
7
  import * as WalletInstanceAttestation from "../../wallet-instance-attestation";
8
8
  import type { CryptoContext } from "@pagopa/io-react-native-jwt";
@@ -71,14 +71,14 @@ export const authorizeAccess: AuthorizeAccess = async (
71
71
  {
72
72
  htm: "POST",
73
73
  htu: tokenUrl,
74
- jti: `${uuid.v4()}`,
74
+ jti: `${uuidv4()}`,
75
75
  },
76
76
  dPopCryptoContext
77
77
  );
78
78
 
79
79
  const signedWiaPoP = await createPopToken(
80
80
  {
81
- jti: `${uuid.v4()}`,
81
+ jti: `${uuidv4()}`,
82
82
  aud,
83
83
  iss,
84
84
  },
@@ -16,7 +16,7 @@ import {
16
16
  } from "../../utils/errors";
17
17
  import { CredentialResponse } from "./types";
18
18
  import { createDPopToken } from "../../utils/dpop";
19
- import uuid from "react-native-uuid";
19
+ import { v4 as uuidv4 } from "uuid";
20
20
 
21
21
  export type ObtainCredential = (
22
22
  issuerConf: Out<EvaluateIssuerTrust>["issuerConf"],
@@ -127,7 +127,7 @@ export const obtainCredential: ObtainCredential = async (
127
127
  {
128
128
  htm: "POST",
129
129
  htu: credentialUrl,
130
- jti: `${uuid.v4()}`,
130
+ jti: `${uuidv4()}`,
131
131
  ath: await sha256ToBase64(accessToken.access_token),
132
132
  },
133
133
  dPopCryptoContext
@@ -108,7 +108,7 @@ const eid = {
108
108
  const eidCryptoContext = createCryptoContextFor(eid.keyTag);
109
109
 
110
110
  // Create credential crypto context
111
- const credentialKeyTag = uuid.v4().toString();
111
+ const credentialKeyTag = uuidv4().toString();
112
112
  await generate(credentialKeyTag); // Let's assume this function generates a new hardware-backed key pair
113
113
  const credentialCryptoContext = createCryptoContextFor(credentialKeyTag);
114
114
 
@@ -244,7 +244,7 @@ const authorizationContext = idpHint.includes("servizicie")
244
244
  * Create credential crypto context for the PID
245
245
  * WARNING: The eID keytag must be persisted and later used when requesting a credential which requires a eID presentation
246
246
  */
247
- const credentialKeyTag = uuid.v4().toString();
247
+ const credentialKeyTag = uuidv4().toString();
248
248
  await generate(credentialKeyTag);
249
249
  const credentialCryptoContext = createCryptoContextFor(credentialKeyTag);
250
250
 
@@ -1,4 +1,4 @@
1
- import uuid from "react-native-uuid";
1
+ import { v4 as uuidv4 } from "uuid";
2
2
  import {
3
3
  decode as decodeJwt,
4
4
  sha256ToBase64,
@@ -41,7 +41,7 @@ export const getRequestObject: GetRequestObject = async (
41
41
  ) => {
42
42
  const signedWalletInstanceDPoP = await createDPopToken(
43
43
  {
44
- jti: `${uuid.v4()}`,
44
+ jti: `${uuidv4()}`,
45
45
  htm: "GET",
46
46
  htu: requestUri,
47
47
  ath: await sha256ToBase64(walletInstanceAttestation),
@@ -1,5 +1,5 @@
1
1
  import { EncryptJwe, SignJWT } from "@pagopa/io-react-native-jwt";
2
- import uuid from "react-native-uuid";
2
+ import { v4 as uuidv4 } from "uuid";
3
3
  import * as WalletInstanceAttestation from "../../wallet-instance-attestation";
4
4
  import type { JWK } from "@pagopa/io-react-native-jwt/lib/typescript/types";
5
5
  import { NoSuitableKeysFoundInEntityConfiguration } from "./errors";
@@ -79,7 +79,7 @@ const prepareVpToken = async (
79
79
  })
80
80
  .setPayload({
81
81
  vp: vp,
82
- jti: `${uuid.v4()}`,
82
+ jti: `${uuidv4()}`,
83
83
  iss,
84
84
  nonce: requestObject.nonce,
85
85
  })
@@ -90,8 +90,8 @@ const prepareVpToken = async (
90
90
 
91
91
  const vc_scope = requestObject.scope;
92
92
  const presentation_submission = {
93
- definition_id: `${uuid.v4()}`,
94
- id: `${uuid.v4()}`,
93
+ definition_id: `${uuidv4()}`,
94
+ id: `${uuidv4()}`,
95
95
  descriptor_map: paths.map((p) => ({
96
96
  id: vc_scope,
97
97
  path: `$.vp_token.${p.path}`,
@@ -8,7 +8,7 @@ import * as z from "zod";
8
8
  export type Presentation = [
9
9
  /* verified credential token */ string,
10
10
  /* claims */ string[],
11
- /* the context for the key associated to the credential */ CryptoContext
11
+ /* the context for the key associated to the credential */ CryptoContext,
12
12
  ];
13
13
 
14
14
  export type RequestObject = z.infer<typeof RequestObject>;
@@ -5,7 +5,7 @@ import {
5
5
  } from "../../utils/misc";
6
6
  import type { EvaluateIssuerTrust, ObtainCredential } from "../issuance";
7
7
  import { type CryptoContext, SignJWT } from "@pagopa/io-react-native-jwt";
8
- import uuid from "react-native-uuid";
8
+ import { v4 as uuidv4 } from "uuid";
9
9
  import { StatusAttestationResponse } from "./types";
10
10
  import {
11
11
  IssuerResponseError,
@@ -46,7 +46,7 @@ export const statusAttestation: StatusAttestation = async (
46
46
  const credentialPop = await new SignJWT(credentialCryptoContext)
47
47
  .setPayload({
48
48
  aud: statusAttUrl,
49
- jti: uuid.v4().toString(),
49
+ jti: uuidv4().toString(),
50
50
  credential_hash: credentialHash,
51
51
  credential_hash_alg: "S256",
52
52
  })
@@ -71,8 +71,8 @@ export async function validateTrustChain(
71
71
  elementIndex === 0
72
72
  ? FirstElementShape
73
73
  : elementIndex === chain.length - 1
74
- ? LastElementShape
75
- : MiddleElementShape;
74
+ ? LastElementShape
75
+ : MiddleElementShape;
76
76
 
77
77
  // select the kid from the current index
78
78
  const selectKid = (currentIndex: number): string => {
@@ -137,15 +137,19 @@ export function renewTrustChain(
137
137
  ec.success
138
138
  ? getSignedEntityConfiguration(ec.data.payload.iss, { appFetch })
139
139
  : es.success
140
- ? getSignedEntityStatement(es.data.payload.iss, es.data.payload.sub, {
141
- appFetch,
142
- })
143
- : // if the element fail to parse in both EntityStatement and EntityConfiguration, raise an error
144
- Promise.reject(
145
- new IoWalletError(
146
- `Cannot renew trust chain because the element #${i} failed to be parsed.`
140
+ ? getSignedEntityStatement(
141
+ es.data.payload.iss,
142
+ es.data.payload.sub,
143
+ {
144
+ appFetch,
145
+ }
146
+ )
147
+ : // if the element fail to parse in both EntityStatement and EntityConfiguration, raise an error
148
+ Promise.reject(
149
+ new IoWalletError(
150
+ `Cannot renew trust chain because the element #${i} failed to be parsed.`
151
+ )
147
152
  )
148
- )
149
153
  )
150
154
  );
151
155
  }
@@ -20,14 +20,6 @@ type CredentialDisplayMetadata = z.infer<typeof CredentialDisplayMetadata>;
20
20
  const CredentialDisplayMetadata = z.object({
21
21
  name: z.string(),
22
22
  locale: z.string(),
23
- logo: z
24
- .object({
25
- url: z.string(),
26
- alt_text: z.string(),
27
- })
28
- .optional(), // TODO [SIW-1268]: should not be optional
29
- background_color: z.string().optional(), // TODO [SIW-1268]: should not be optional
30
- text_color: z.string().optional(), // TODO [SIW-1268]: should not be optional
31
23
  });
32
24
 
33
25
  // Metadata for displaying issuer information
@@ -37,12 +29,6 @@ type CredentialIssuerDisplayMetadata = z.infer<
37
29
  const CredentialIssuerDisplayMetadata = z.object({
38
30
  name: z.string(),
39
31
  locale: z.string(),
40
- logo: z
41
- .object({
42
- url: z.string(),
43
- alt_text: z.string(),
44
- })
45
- .optional(), // TODO [SIW-1268]: should not be optional
46
32
  });
47
33
 
48
34
  type ClaimsMetadata = z.infer<typeof ClaimsMetadata>;
@@ -70,7 +56,7 @@ const SupportedCredentialMetadata = z.object({
70
56
  format: z.union([z.literal("vc+sd-jwt"), z.literal("vc+mdoc-cbor")]),
71
57
  scope: z.string(),
72
58
  display: z.array(CredentialDisplayMetadata),
73
- claims: ClaimsMetadata.optional(), // TODO [SIW-1268]: should not be optional
59
+ claims: ClaimsMetadata,
74
60
  cryptographic_binding_methods_supported: z.array(z.string()),
75
61
  credential_signing_alg_values_supported: z.array(z.string()),
76
62
  authentic_source: z.string().optional(),
@@ -172,22 +158,15 @@ export const CredentialIssuerEntityConfiguration = BaseEntityConfiguration.and(
172
158
  oauth_authorization_server: z.object({
173
159
  authorization_endpoint: z.string(),
174
160
  pushed_authorization_request_endpoint: z.string(),
175
- dpop_signing_alg_values_supported: z.array(z.string()).optional(), // TODO [SIW-1268]: should not be optional
176
161
  token_endpoint: z.string(),
177
- introspection_endpoint: z.string().optional(), // TODO [SIW-1268]: should not be optional
178
162
  client_registration_types_supported: z.array(z.string()),
179
163
  code_challenge_methods_supported: z.array(z.string()),
180
- authorization_details_types_supported: z.array(z.string()).optional(), // TODO [SIW-1268]: should not be optional,
181
164
  acr_values_supported: z.array(z.string()),
182
165
  grant_types_supported: z.array(z.string()),
183
166
  issuer: z.string(),
184
167
  jwks: z.object({ keys: z.array(JWK) }),
185
168
  scopes_supported: z.array(z.string()),
186
- request_parameter_supported: z.boolean().optional(), // TODO [SIW-1268]: should not be optional
187
- request_uri_parameter_supported: z.boolean().optional(), // TODO [SIW-1268]: should not be optional
188
- response_types_supported: z.array(z.string()).optional(), // TODO [SIW-1268]: should not be optional
189
169
  response_modes_supported: z.array(z.string()),
190
- subject_types_supported: z.array(z.string()).optional(), // TODO [SIW-1268]: should not be optional
191
170
  token_endpoint_auth_methods_supported: z.array(z.string()),
192
171
  token_endpoint_auth_signing_alg_values_supported: z.array(z.string()),
193
172
  request_object_signing_alg_values_supported: z.array(z.string()),
@@ -4,7 +4,7 @@ import {
4
4
  generate,
5
5
  deleteKey,
6
6
  } from "@pagopa/io-react-native-crypto";
7
- import uuid from "react-native-uuid";
7
+ import { v4 as uuidv4 } from "uuid";
8
8
  import { thumbprint, type CryptoContext } from "@pagopa/io-react-native-jwt";
9
9
  import { fixBase64EncodingOnKey } from "./jwk";
10
10
 
@@ -58,7 +58,7 @@ export const withEphemeralKey = async <R>(
58
58
  fn: (ephemeralContext: CryptoContext) => Promise<R>
59
59
  ): Promise<R> => {
60
60
  // Use an ephemeral key to be destroyed after use
61
- const keytag = `ephemeral-${uuid.v4()}`;
61
+ const keytag = `ephemeral-${uuidv4()}`;
62
62
  await generate(keytag);
63
63
  const ephemeralContext = createCryptoContextFor(keytag);
64
64
  return fn(ephemeralContext).finally(() => deleteKey(keytag));
@@ -225,8 +225,8 @@ export const isWalletProviderResponseError = (
225
225
  type ErrorCodeMap<T> = T extends typeof IssuerResponseError
226
226
  ? IssuerResponseErrorCode
227
227
  : T extends typeof WalletProviderResponseError
228
- ? WalletProviderResponseErrorCode
229
- : never;
228
+ ? WalletProviderResponseErrorCode
229
+ : never;
230
230
 
231
231
  type ErrorCase<T> = {
232
232
  code: ErrorCodeMap<T>;
package/src/utils/misc.ts CHANGED
@@ -37,8 +37,8 @@ export const parseRawHttpResponse = <T extends Record<string, unknown>>(
37
37
  export type Out<FN> = FN extends (...args: any[]) => Promise<any>
38
38
  ? Awaited<ReturnType<FN>>
39
39
  : FN extends (...args: any[]) => any
40
- ? ReturnType<FN>
41
- : never;
40
+ ? ReturnType<FN>
41
+ : never;
42
42
 
43
43
  /**
44
44
  * TODO [SIW-1310]: replace this function with a cryptographically secure one.
package/src/utils/par.ts CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  type CryptoContext,
4
4
  SignJWT,
5
5
  } from "@pagopa/io-react-native-jwt";
6
- import uuid from "react-native-uuid";
6
+ import { v4 as uuidv4 } from "uuid";
7
7
  import * as z from "zod";
8
8
  import * as WalletInstanceAttestation from "../wallet-instance-attestation";
9
9
  import { generateRandomAlphaNumericString, hasStatusOrThrow } from "./misc";
@@ -51,7 +51,7 @@ export const makeParRequest =
51
51
 
52
52
  const signedWiaPoP = await createPopToken(
53
53
  {
54
- jti: `${uuid.v4()}`,
54
+ jti: `${uuidv4()}`,
55
55
  aud,
56
56
  iss,
57
57
  },
@@ -74,7 +74,7 @@ export const makeParRequest =
74
74
  kid: wiaPublicKey.kid,
75
75
  })
76
76
  .setPayload({
77
- jti: `${uuid.v4()}`,
77
+ jti: `${uuidv4()}`,
78
78
  aud,
79
79
  response_type: "code",
80
80
  response_mode: responseMode,