@pagopa/io-react-native-wallet 0.26.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 (120) hide show
  1. package/README.md +1 -3
  2. package/lib/commonjs/credential/issuance/04-complete-user-authorization.js +5 -5
  3. package/lib/commonjs/credential/issuance/04-complete-user-authorization.js.map +1 -1
  4. package/lib/commonjs/credential/issuance/05-authorize-access.js +4 -4
  5. package/lib/commonjs/credential/issuance/05-authorize-access.js.map +1 -1
  6. package/lib/commonjs/credential/issuance/06-obtain-credential.js +3 -5
  7. package/lib/commonjs/credential/issuance/06-obtain-credential.js.map +1 -1
  8. package/lib/commonjs/credential/issuance/README.md +2 -2
  9. package/lib/commonjs/credential/issuance/errors.js +1 -18
  10. package/lib/commonjs/credential/issuance/errors.js.map +1 -1
  11. package/lib/commonjs/credential/presentation/03-get-request-object.js +2 -3
  12. package/lib/commonjs/credential/presentation/03-get-request-object.js.map +1 -1
  13. package/lib/commonjs/credential/presentation/04-send-authorization-response.js +4 -5
  14. package/lib/commonjs/credential/presentation/04-send-authorization-response.js.map +1 -1
  15. package/lib/commonjs/credential/status/02-status-attestation.js +4 -7
  16. package/lib/commonjs/credential/status/02-status-attestation.js.map +1 -1
  17. package/lib/commonjs/index.js +1 -3
  18. package/lib/commonjs/index.js.map +1 -1
  19. package/lib/commonjs/trust/chain.js.map +1 -1
  20. package/lib/commonjs/trust/types.js +3 -31
  21. package/lib/commonjs/trust/types.js.map +1 -1
  22. package/lib/commonjs/utils/crypto.js +2 -3
  23. package/lib/commonjs/utils/crypto.js.map +1 -1
  24. package/lib/commonjs/utils/par.js +3 -4
  25. package/lib/commonjs/utils/par.js.map +1 -1
  26. package/lib/commonjs/wallet-instance-attestation/issuing.js +1 -2
  27. package/lib/commonjs/wallet-instance-attestation/issuing.js.map +1 -1
  28. package/lib/module/credential/issuance/04-complete-user-authorization.js +5 -5
  29. package/lib/module/credential/issuance/04-complete-user-authorization.js.map +1 -1
  30. package/lib/module/credential/issuance/05-authorize-access.js +4 -3
  31. package/lib/module/credential/issuance/05-authorize-access.js.map +1 -1
  32. package/lib/module/credential/issuance/06-obtain-credential.js +3 -4
  33. package/lib/module/credential/issuance/06-obtain-credential.js.map +1 -1
  34. package/lib/module/credential/issuance/README.md +2 -2
  35. package/lib/module/credential/issuance/errors.js +0 -16
  36. package/lib/module/credential/issuance/errors.js.map +1 -1
  37. package/lib/module/credential/presentation/03-get-request-object.js +2 -2
  38. package/lib/module/credential/presentation/03-get-request-object.js.map +1 -1
  39. package/lib/module/credential/presentation/04-send-authorization-response.js +4 -4
  40. package/lib/module/credential/presentation/04-send-authorization-response.js.map +1 -1
  41. package/lib/module/credential/status/02-status-attestation.js +4 -6
  42. package/lib/module/credential/status/02-status-attestation.js.map +1 -1
  43. package/lib/module/index.js +1 -2
  44. package/lib/module/index.js.map +1 -1
  45. package/lib/module/trust/chain.js.map +1 -1
  46. package/lib/module/trust/types.js +3 -31
  47. package/lib/module/trust/types.js.map +1 -1
  48. package/lib/module/utils/crypto.js +2 -2
  49. package/lib/module/utils/crypto.js.map +1 -1
  50. package/lib/module/utils/par.js +3 -3
  51. package/lib/module/utils/par.js.map +1 -1
  52. package/lib/module/wallet-instance-attestation/issuing.js +1 -2
  53. package/lib/module/wallet-instance-attestation/issuing.js.map +1 -1
  54. package/lib/typescript/credential/issuance/05-authorize-access.d.ts +1 -0
  55. package/lib/typescript/credential/issuance/05-authorize-access.d.ts.map +1 -1
  56. package/lib/typescript/credential/issuance/errors.d.ts +0 -9
  57. package/lib/typescript/credential/issuance/errors.d.ts.map +1 -1
  58. package/lib/typescript/credential/status/02-status-attestation.d.ts +1 -2
  59. package/lib/typescript/credential/status/02-status-attestation.d.ts.map +1 -1
  60. package/lib/typescript/index.d.ts +1 -2
  61. package/lib/typescript/index.d.ts.map +1 -1
  62. package/lib/typescript/trust/chain.d.ts.map +1 -1
  63. package/lib/typescript/trust/index.d.ts +8 -42
  64. package/lib/typescript/trust/index.d.ts.map +1 -1
  65. package/lib/typescript/trust/types.d.ts +84 -478
  66. package/lib/typescript/trust/types.d.ts.map +1 -1
  67. package/lib/typescript/utils/errors.d.ts.map +1 -1
  68. package/lib/typescript/utils/misc.d.ts.map +1 -1
  69. package/lib/typescript/wallet-instance-attestation/issuing.d.ts +2 -2
  70. package/lib/typescript/wallet-instance-attestation/issuing.d.ts.map +1 -1
  71. package/lib/typescript/wallet-instance-attestation/types.d.ts +4 -4
  72. package/package.json +18 -15
  73. package/src/credential/issuance/04-complete-user-authorization.ts +5 -5
  74. package/src/credential/issuance/05-authorize-access.ts +4 -3
  75. package/src/credential/issuance/06-obtain-credential.ts +3 -4
  76. package/src/credential/issuance/README.md +2 -2
  77. package/src/credential/issuance/errors.ts +0 -15
  78. package/src/credential/presentation/03-get-request-object.ts +2 -2
  79. package/src/credential/presentation/04-send-authorization-response.ts +4 -4
  80. package/src/credential/presentation/types.ts +1 -1
  81. package/src/credential/status/02-status-attestation.ts +4 -6
  82. package/src/index.ts +0 -2
  83. package/src/trust/chain.ts +14 -10
  84. package/src/trust/types.ts +1 -22
  85. package/src/utils/crypto.ts +2 -2
  86. package/src/utils/errors.ts +2 -2
  87. package/src/utils/misc.ts +2 -2
  88. package/src/utils/par.ts +3 -3
  89. package/src/wallet-instance-attestation/issuing.ts +1 -2
  90. package/lib/commonjs/cie/README.md +0 -6
  91. package/lib/commonjs/cie/component.js +0 -182
  92. package/lib/commonjs/cie/component.js.map +0 -1
  93. package/lib/commonjs/cie/error.js +0 -44
  94. package/lib/commonjs/cie/error.js.map +0 -1
  95. package/lib/commonjs/cie/index.js +0 -32
  96. package/lib/commonjs/cie/index.js.map +0 -1
  97. package/lib/commonjs/cie/manager.js +0 -142
  98. package/lib/commonjs/cie/manager.js.map +0 -1
  99. package/lib/module/cie/README.md +0 -6
  100. package/lib/module/cie/component.js +0 -172
  101. package/lib/module/cie/component.js.map +0 -1
  102. package/lib/module/cie/error.js +0 -36
  103. package/lib/module/cie/error.js.map +0 -1
  104. package/lib/module/cie/index.js +0 -4
  105. package/lib/module/cie/index.js.map +0 -1
  106. package/lib/module/cie/manager.js +0 -133
  107. package/lib/module/cie/manager.js.map +0 -1
  108. package/lib/typescript/cie/component.d.ts +0 -46
  109. package/lib/typescript/cie/component.d.ts.map +0 -1
  110. package/lib/typescript/cie/error.d.ts +0 -31
  111. package/lib/typescript/cie/error.d.ts.map +0 -1
  112. package/lib/typescript/cie/index.d.ts +0 -4
  113. package/lib/typescript/cie/index.d.ts.map +0 -1
  114. package/lib/typescript/cie/manager.d.ts +0 -5
  115. package/lib/typescript/cie/manager.d.ts.map +0 -1
  116. package/src/cie/README.md +0 -6
  117. package/src/cie/component.tsx +0 -218
  118. package/src/cie/error.ts +0 -58
  119. package/src/cie/index.ts +0 -4
  120. package/src/cie/manager.ts +0 -183
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/trust/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,SAAS;;;;;;;;;EAAuD,CAAC;AAC9E,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AA0ElD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAC9D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,QAAQ,MAAM,CAMhB,CAAC;AAEF,eAAO,MAAM,aAAa,YAAa,MAAM,0CAM5C,CAAC"}
1
+ {"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../../src/utils/misc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAGpE;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,WAClB,MAAM,gBAAgB,gCAAgC,WACnD,QAAQ,KAAG,QAAQ,QAAQ,CAUtC,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,oBAAoB,gDACrB,QAAQ,iCAIC,CAAC;AAItB,MAAM,MAAM,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,GAAG,CAAC,GAC7D,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,GACvB,EAAE,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,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"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="react-native" />
1
2
  import { type CryptoContext } from "@pagopa/io-react-native-jwt";
2
3
  import type { IntegrityContext } from "..";
3
4
  /**
@@ -17,8 +18,7 @@ export declare function getAttestationRequest(challenge: string, wiaCryptoContex
17
18
  * @param params.appFetch (optional) Http client
18
19
  * @param walletProviderBaseUrl Base url for the Wallet Provider
19
20
  * @returns The retrieved Wallet Instance Attestation token
20
- * @throws {WalletInstanceRevokedError} The Wallet Instance was revoked
21
- * @throws {WalletInstanceNotFoundError} The Wallet Instance does not exist
21
+ * @throws {WalletProviderResponseError} with a specific code for more context
22
22
  */
23
23
  export declare const getAttestation: ({ wiaCryptoContext, integrityContext, walletProviderBaseUrl, appFetch, }: {
24
24
  wiaCryptoContext: CryptoContext;
@@ -1 +1 @@
1
- {"version":3,"file":"issuing.d.ts","sourceRoot":"","sources":["../../../src/wallet-instance-attestation/issuing.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAGnB,MAAM,6BAA6B,CAAC;AAGrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,IAAI,CAAC;AAQ3C;;;;;;;;GAQG;AACH,wBAAsB,qBAAqB,CACzC,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,aAAa,EAC/B,gBAAgB,EAAE,gBAAgB,EAClC,qBAAqB,EAAE,MAAM,GAC5B,OAAO,CAAC,MAAM,CAAC,CAoCjB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc;sBAMP,aAAa;sBACb,gBAAgB;2BACX,MAAM;;;;;MAE3B,QAAQ,MAAM,CA6BjB,CAAC"}
1
+ {"version":3,"file":"issuing.d.ts","sourceRoot":"","sources":["../../../src/wallet-instance-attestation/issuing.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,KAAK,aAAa,EAGnB,MAAM,6BAA6B,CAAC;AAGrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,IAAI,CAAC;AAQ3C;;;;;;;;GAQG;AACH,wBAAsB,qBAAqB,CACzC,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,aAAa,EAC/B,gBAAgB,EAAE,gBAAgB,EAClC,qBAAqB,EAAE,MAAM,GAC5B,OAAO,CAAC,MAAM,CAAC,CAoCjB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;sBAMP,aAAa;sBACb,gBAAgB;2BACX,MAAM;;;;;MAE3B,QAAQ,MAAM,CA6BjB,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.26.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,37 +53,34 @@
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
- "@pagopa/react-native-cie": "^1.3.0",
60
- "@react-native/eslint-config": "^0.72.2",
58
+ "@react-native/eslint-config": "^0.75.5",
61
59
  "@rushstack/eslint-patch": "^1.3.2",
62
60
  "@types/jest": "^28.1.2",
63
- "@types/react": "^18.0.24",
61
+ "@types/react": "^18.2.6",
64
62
  "@types/react-native": "0.70.0",
63
+ "@types/url-parse": "^1.4.11",
65
64
  "del-cli": "^5.0.0",
66
65
  "eslint": "^8.4.1",
66
+ "eslint-plugin-prettier": "^5.2.3",
67
67
  "jest": "^28.1.1",
68
68
  "pod-install": "^0.1.0",
69
- "prettier": "^2.0.5",
70
- "react": "18.2.0",
71
- "react-native": "0.72.14",
69
+ "prettier": "^3.5.3",
70
+ "react": "18.3.1",
71
+ "react-native": "0.75.5",
72
72
  "react-native-builder-bob": "^0.20.0",
73
- "react-native-webview": "^13.10.5",
74
73
  "typed-openapi": "^0.4.1",
75
- "typescript": "^5.0.2"
74
+ "typescript": "5.0.4"
76
75
  },
77
76
  "resolutions": {
78
- "@types/react": "^18.0.24"
77
+ "@types/react": "^18.2.6"
79
78
  },
80
79
  "peerDependencies": {
81
80
  "@pagopa/io-react-native-crypto": "*",
82
81
  "@pagopa/io-react-native-jwt": "*",
83
- "@pagopa/react-native-cie": "*",
84
82
  "react": "*",
85
- "react-native": "*",
86
- "react-native-webview": "*"
83
+ "react-native": "*"
87
84
  },
88
85
  "engines": {
89
86
  "node": ">= 16.0.0"
@@ -94,6 +91,12 @@
94
91
  "modulePathIgnorePatterns": [
95
92
  "<rootDir>/example/node_modules",
96
93
  "<rootDir>/lib/"
94
+ ],
95
+ "transformIgnorePatterns": [
96
+ "node_modules/(?!(jest-)?@react-native|react-native|uuid)"
97
+ ],
98
+ "setupFiles": [
99
+ "<rootDir>/jestSetup.js"
97
100
  ]
98
101
  },
99
102
  "react-native-builder-bob": {
@@ -115,7 +118,7 @@
115
118
  "js-sha256": "^0.9.0",
116
119
  "parse-url": "^9.2.0",
117
120
  "react-native-url-polyfill": "^2.0.0",
118
- "react-native-uuid": "^2.0.1",
121
+ "uuid": "^11.0.3",
119
122
  "zod": "^3.21.4"
120
123
  }
121
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";
@@ -40,6 +40,7 @@ export type AuthorizeAccess = (
40
40
  * @param context.dPopCryptoContext The DPoP crypto context
41
41
  * @param context.appFetch (optional) fetch api implementation. Default: built-in fetch
42
42
  * @throws {ValidationFailed} if an error occurs while parsing the token response
43
+ * @throws {IssuerResponseError} with a specific code for more context
43
44
  * @return The token response containing the access token along with the token request signed with DPoP which has to be used in the {@link obtainCredential} step.
44
45
  */
45
46
  export const authorizeAccess: AuthorizeAccess = async (
@@ -70,14 +71,14 @@ export const authorizeAccess: AuthorizeAccess = async (
70
71
  {
71
72
  htm: "POST",
72
73
  htu: tokenUrl,
73
- jti: `${uuid.v4()}`,
74
+ jti: `${uuidv4()}`,
74
75
  },
75
76
  dPopCryptoContext
76
77
  );
77
78
 
78
79
  const signedWiaPoP = await createPopToken(
79
80
  {
80
- jti: `${uuid.v4()}`,
81
+ jti: `${uuidv4()}`,
81
82
  aud,
82
83
  iss,
83
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
@@ -160,8 +160,7 @@ export const obtainCredential: ObtainCredential = async (
160
160
  * Handle the credential error by mapping it to a custom exception.
161
161
  * If the error is not an instance of {@link UnexpectedStatusCodeError}, it is thrown as is.
162
162
  * @param e - The error to be handled
163
- * @throws {@link CredentialRequestError} if the status code is different from 404
164
- * @throws {@link CredentialInvalidStatusError} if the status code is 404 (meaning the credential is invalid)
163
+ * @throws {IssuerResponseError} with a specific code for more context
165
164
  */
166
165
  const handleObtainCredentialError = (e: unknown) => {
167
166
  if (!(e instanceof UnexpectedStatusCodeError)) {
@@ -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
 
@@ -27,18 +27,3 @@ export class AuthorizationIdpError extends IoWalletError {
27
27
  this.errorDescription = errorDescription;
28
28
  }
29
29
  }
30
-
31
- /**
32
- * Error subclass thrown when an operation has been aborted.
33
- */
34
- export class OperationAbortedError extends IoWalletError {
35
- code = "ERR_IO_WALLET_OPERATION_ABORTED";
36
-
37
- /** The aborted operation */
38
- operation: string;
39
-
40
- constructor(operation: string) {
41
- super(serializeAttrs({ operation }));
42
- this.operation = operation;
43
- }
44
- }
@@ -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,
@@ -30,8 +30,7 @@ export type StatusAttestation = (
30
30
  * @param credential - The credential to be verified
31
31
  * @param credentialCryptoContext - The credential's crypto context
32
32
  * @param context.appFetch (optional) fetch api implementation. Default: built-in fetch
33
- * @throws {@link CredentialInvalidStatusError} if the status attestation is invalid and thus the credential is not valid
34
- * @throws {@link StatusAttestationError} if an error occurs during the status attestation
33
+ * @throws {IssuerResponseError} with a specific code for more context
35
34
  * @returns The credential status attestation
36
35
  */
37
36
  export const statusAttestation: StatusAttestation = async (
@@ -47,7 +46,7 @@ export const statusAttestation: StatusAttestation = async (
47
46
  const credentialPop = await new SignJWT(credentialCryptoContext)
48
47
  .setPayload({
49
48
  aud: statusAttUrl,
50
- jti: uuid.v4().toString(),
49
+ jti: uuidv4().toString(),
51
50
  credential_hash: credentialHash,
52
51
  credential_hash_alg: "S256",
53
52
  })
@@ -83,8 +82,7 @@ export const statusAttestation: StatusAttestation = async (
83
82
  * Handle the status attestation error by mapping it to a custom exception.
84
83
  * If the error is not an instance of {@link UnexpectedStatusCodeError}, it is thrown as is.
85
84
  * @param e - The error to be handled
86
- * @throws {@link StatusAttestationError} if the status code is different from 404
87
- * @throws {@link CredentialInvalidStatusError} if the status code is 404 (meaning the credential is invalid)
85
+ * @throws {IssuerResponseError} with a specific code for more context
88
86
  */
89
87
  const handleStatusAttestationError = (e: unknown) => {
90
88
  if (!(e instanceof UnexpectedStatusCodeError)) {
package/src/index.ts CHANGED
@@ -11,7 +11,6 @@ import * as Errors from "./utils/errors";
11
11
  import * as WalletInstanceAttestation from "./wallet-instance-attestation";
12
12
  import * as Trust from "./trust";
13
13
  import * as WalletInstance from "./wallet-instance";
14
- import * as Cie from "./cie";
15
14
  import { AuthorizationDetail, AuthorizationDetails } from "./utils/par";
16
15
  import { createCryptoContextFor } from "./utils/crypto";
17
16
  import type { IntegrityContext } from "./utils/integrity";
@@ -28,7 +27,6 @@ export {
28
27
  AuthorizationDetail,
29
28
  AuthorizationDetails,
30
29
  fixBase64EncodingOnKey,
31
- Cie,
32
30
  };
33
31
 
34
32
  export type { IntegrityContext, AuthorizationContext };
@@ -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.