@pagopa/io-react-native-wallet 3.4.3 → 3.5.0
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.
- package/lib/commonjs/credential/issuance/README.md +10 -5
- package/lib/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.js +2 -3
- package/lib/commonjs/credential/issuance/v1.0.0/03-complete-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js +7 -8
- package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/types.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.3.3/types.js +2 -2
- package/lib/commonjs/credentials-catalogue/v1.3.3/types.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js +2 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
- package/lib/module/credential/issuance/README.md +10 -5
- package/lib/module/credential/issuance/v1.0.0/03-complete-user-authorization.js +2 -3
- package/lib/module/credential/issuance/v1.0.0/03-complete-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js +7 -8
- package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
- package/lib/module/credential/presentation/api/types.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.3.3/types.js +2 -2
- package/lib/module/credentials-catalogue/v1.3.3/types.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/types.js +2 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
- package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts +9 -6
- package/lib/typescript/credential/issuance/api/03-complete-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/index.d.ts +1 -0
- package/lib/typescript/credential/issuance/api/index.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/03-complete-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/api/06-evaluate-dcql-query.d.ts +2 -3
- package/lib/typescript/credential/presentation/api/06-evaluate-dcql-query.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/api/types.d.ts +2 -0
- package/lib/typescript/credential/presentation/api/types.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts +2 -2
- package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts +4 -4
- package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts +1 -0
- package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts +1 -0
- package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/credential/issuance/README.md +10 -5
- package/src/credential/issuance/api/03-complete-user-authorization.ts +10 -6
- package/src/credential/issuance/api/index.ts +1 -0
- package/src/credential/issuance/v1.0.0/03-complete-user-authorization.ts +2 -8
- package/src/credential/issuance/v1.3.3/03-complete-user-authorization.ts +21 -19
- package/src/credential/presentation/api/06-evaluate-dcql-query.ts +2 -2
- package/src/credential/presentation/api/types.ts +3 -0
- package/src/credentials-catalogue/v1.3.3/types.ts +2 -2
- package/src/wallet-instance-attestation/v1.3.3/types.ts +1 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import type { CryptoContext } from "@pagopa/io-react-native-jwt";
|
|
3
|
+
import type { DcqlQuery as DcqlQueryLib } from "dcql";
|
|
3
4
|
import type { jsonWebKeySet } from "@pagopa/io-wallet-oid-federation";
|
|
4
5
|
import type { SupportedSdJwtLegacyFormat } from "../../../sd-jwt/types";
|
|
5
6
|
|
|
@@ -112,6 +113,8 @@ export type RemotePresentation = {
|
|
|
112
113
|
*/
|
|
113
114
|
export type Credential4Dcql = [string /* keyTag */, string /* credential */];
|
|
114
115
|
|
|
116
|
+
export type DcqlQuery = DcqlQueryLib.Input;
|
|
117
|
+
|
|
115
118
|
/**
|
|
116
119
|
* An object that defines claims to disclose. Nested claims must use a nested structure.
|
|
117
120
|
* @example { name: true, address: { country: true } }
|
|
@@ -14,9 +14,9 @@ const ASDataCapability = z.object({
|
|
|
14
14
|
),
|
|
15
15
|
domains: z.array(z.string()).optional(),
|
|
16
16
|
data_origin_l10n_id: z.string(),
|
|
17
|
-
integration_endpoint: z.string(),
|
|
17
|
+
integration_endpoint: z.string().optional(),
|
|
18
18
|
integration_method: z.string(),
|
|
19
|
-
user_information_l10n_id: z.string(),
|
|
19
|
+
user_information_l10n_id: z.string().optional(),
|
|
20
20
|
// optional per spec (api_specification required in spec but absent in actual responses)
|
|
21
21
|
api_specification: z.string().optional(),
|
|
22
22
|
background_color: z.string().optional(),
|