@pagopa/io-react-native-wallet 3.8.2 → 3.8.4
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/common/06-verify-and-parse-credential.sdjwt.js +3 -3
- package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
- package/lib/commonjs/credential/presentation/common/utils/dcql.js +3 -3
- package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js +3 -4
- package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js.map +1 -1
- package/lib/commonjs/credential/status/v1.4.6/01-status-list.js +2 -2
- package/lib/commonjs/credential/status/v1.4.6/01-status-list.js.map +1 -1
- package/lib/commonjs/credential/status/v1.4.6/03-get-status.js +3 -2
- package/lib/commonjs/credential/status/v1.4.6/03-get-status.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js +1 -0
- package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.4.6/mappers.js +1 -0
- package/lib/commonjs/credentials-catalogue/v1.4.6/mappers.js.map +1 -1
- package/lib/commonjs/key-attestation/v1.4.6/issuing.js +14 -1
- package/lib/commonjs/key-attestation/v1.4.6/issuing.js.map +1 -1
- package/lib/commonjs/sd-jwt/index.js +4 -5
- package/lib/commonjs/sd-jwt/index.js.map +1 -1
- package/lib/commonjs/sd-jwt/utils.js +4 -4
- package/lib/commonjs/sd-jwt/utils.js.map +1 -1
- package/lib/commonjs/utils/callbacks.js +7 -6
- package/lib/commonjs/utils/callbacks.js.map +1 -1
- package/lib/commonjs/utils/credentials.js +3 -3
- package/lib/commonjs/utils/credentials.js.map +1 -1
- package/lib/commonjs/utils/error-codes.js +5 -1
- package/lib/commonjs/utils/error-codes.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/common/errors.js +32 -0
- package/lib/commonjs/wallet-instance-attestation/common/errors.js.map +1 -0
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js +2 -21
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.4.6/issuing.js +2 -1
- package/lib/commonjs/wallet-instance-attestation/v1.4.6/issuing.js.map +1 -1
- package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js +3 -3
- package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
- package/lib/module/credential/presentation/common/utils/dcql.js +3 -3
- package/lib/module/credential/presentation/common/utils/sd-jwt.js +4 -5
- package/lib/module/credential/presentation/common/utils/sd-jwt.js.map +1 -1
- package/lib/module/credential/status/v1.4.6/01-status-list.js +1 -1
- package/lib/module/credential/status/v1.4.6/01-status-list.js.map +1 -1
- package/lib/module/credential/status/v1.4.6/03-get-status.js +3 -2
- package/lib/module/credential/status/v1.4.6/03-get-status.js.map +1 -1
- package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js +1 -0
- package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.4.6/mappers.js +1 -0
- package/lib/module/credentials-catalogue/v1.4.6/mappers.js.map +1 -1
- package/lib/module/key-attestation/v1.4.6/issuing.js +15 -2
- package/lib/module/key-attestation/v1.4.6/issuing.js.map +1 -1
- package/lib/module/sd-jwt/index.js +4 -5
- package/lib/module/sd-jwt/index.js.map +1 -1
- package/lib/module/sd-jwt/utils.js +4 -4
- package/lib/module/sd-jwt/utils.js.map +1 -1
- package/lib/module/utils/callbacks.js +4 -3
- package/lib/module/utils/callbacks.js.map +1 -1
- package/lib/module/utils/credentials.js +3 -3
- package/lib/module/utils/credentials.js.map +1 -1
- package/lib/module/utils/error-codes.js +5 -1
- package/lib/module/utils/error-codes.js.map +1 -1
- package/lib/module/wallet-instance-attestation/common/errors.js +28 -0
- package/lib/module/wallet-instance-attestation/common/errors.js.map +1 -0
- package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js +1 -20
- package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.4.6/issuing.js +2 -1
- package/lib/module/wallet-instance-attestation/v1.4.6/issuing.js.map +1 -1
- package/lib/typescript/commonjs/credential/presentation/common/utils/dcql.d.ts +4 -28
- package/lib/typescript/commonjs/credential/presentation/common/utils/dcql.d.ts.map +1 -1
- package/lib/typescript/commonjs/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -1
- package/lib/typescript/commonjs/credential/status/v1.4.6/03-get-status.d.ts.map +1 -1
- package/lib/typescript/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +3 -0
- package/lib/typescript/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -1
- package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/mappers.d.ts +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/mappers.d.ts +1 -0
- package/lib/typescript/commonjs/credentials-catalogue/v1.4.6/mappers.d.ts.map +1 -1
- package/lib/typescript/commonjs/key-attestation/v1.4.6/issuing.d.ts.map +1 -1
- package/lib/typescript/commonjs/sd-jwt/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/utils/callbacks.d.ts.map +1 -1
- package/lib/typescript/commonjs/utils/error-codes.d.ts +5 -1
- package/lib/typescript/commonjs/utils/error-codes.d.ts.map +1 -1
- package/lib/typescript/commonjs/wallet-instance-attestation/common/errors.d.ts +5 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/common/errors.d.ts.map +1 -0
- package/lib/typescript/commonjs/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -1
- package/lib/typescript/commonjs/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +1 -1
- package/lib/typescript/module/credential/presentation/common/utils/dcql.d.ts +4 -28
- package/lib/typescript/module/credential/presentation/common/utils/dcql.d.ts.map +1 -1
- package/lib/typescript/module/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -1
- package/lib/typescript/module/credential/status/v1.4.6/03-get-status.d.ts.map +1 -1
- package/lib/typescript/module/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +3 -0
- package/lib/typescript/module/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -1
- package/lib/typescript/module/credentials-catalogue/v1.0.0/mappers.d.ts +1 -0
- package/lib/typescript/module/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/module/credentials-catalogue/v1.4.6/mappers.d.ts +1 -0
- package/lib/typescript/module/credentials-catalogue/v1.4.6/mappers.d.ts.map +1 -1
- package/lib/typescript/module/key-attestation/v1.4.6/issuing.d.ts.map +1 -1
- package/lib/typescript/module/sd-jwt/index.d.ts.map +1 -1
- package/lib/typescript/module/utils/callbacks.d.ts.map +1 -1
- package/lib/typescript/module/utils/error-codes.d.ts +5 -1
- package/lib/typescript/module/utils/error-codes.d.ts.map +1 -1
- package/lib/typescript/module/wallet-instance-attestation/common/errors.d.ts +5 -0
- package/lib/typescript/module/wallet-instance-attestation/common/errors.d.ts.map +1 -0
- package/lib/typescript/module/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -1
- package/lib/typescript/module/wallet-instance-attestation/v1.4.6/issuing.d.ts.map +1 -1
- package/package.json +14 -17
- package/src/credential/issuance/common/06-verify-and-parse-credential.sdjwt.ts +4 -4
- package/src/credential/presentation/common/utils/dcql.ts +3 -3
- package/src/credential/presentation/common/utils/sd-jwt.ts +4 -5
- package/src/credential/status/v1.4.6/01-status-list.ts +3 -3
- package/src/credential/status/v1.4.6/03-get-status.ts +5 -3
- package/src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts +1 -0
- package/src/credentials-catalogue/v1.4.6/mappers.ts +1 -0
- package/src/key-attestation/v1.4.6/issuing.ts +31 -2
- package/src/sd-jwt/index.ts +4 -5
- package/src/sd-jwt/utils.ts +4 -4
- package/src/utils/callbacks.ts +5 -4
- package/src/utils/credentials.ts +3 -3
- package/src/utils/error-codes.ts +5 -1
- package/src/wallet-instance-attestation/common/errors.ts +41 -0
- package/src/wallet-instance-attestation/v1.0.0/issuing.ts +1 -37
- package/src/wallet-instance-attestation/v1.4.6/issuing.ts +3 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
import { hasher } from "@owf/crypto";
|
|
3
4
|
import { EncryptJwe, getJwkFromHeader, SignJWT } from "@pagopa/io-react-native-jwt";
|
|
4
5
|
import { verify } from "@pagopa/io-react-native-jwt";
|
|
5
|
-
import { digest } from "@sd-jwt/crypto-nodejs";
|
|
6
6
|
import { X509 } from "jsrsasign";
|
|
7
7
|
import { getJwkFromCertificateChain, getJwkFromTrustChain } from "./crypto.js";
|
|
8
8
|
import { IoWalletError } from "./errors.js";
|
|
9
9
|
import { assert, generateRandomBytes } from "./misc.js";
|
|
10
10
|
|
|
11
|
-
// Fix incompatibility between ArrayBuffer types
|
|
11
|
+
// Fix incompatibility between ArrayBuffer types: the hasher accepts Uint8Array
|
|
12
|
+
// from the `hash` callback despite its narrower input types.
|
|
12
13
|
|
|
13
14
|
/**
|
|
14
15
|
* Extract the signing JWK from one of the supported signer methods.
|
|
@@ -71,7 +72,7 @@ export const partialCallbacks = {
|
|
|
71
72
|
sanUriNames
|
|
72
73
|
};
|
|
73
74
|
},
|
|
74
|
-
hash:
|
|
75
|
+
hash: hasher,
|
|
75
76
|
verifyJwt: async (jwtSigner, jwt) => {
|
|
76
77
|
try {
|
|
77
78
|
const signerJwk = await getJwkFromSigner(jwtSigner);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["EncryptJwe","getJwkFromHeader","SignJWT","verify","
|
|
1
|
+
{"version":3,"names":["hasher","EncryptJwe","getJwkFromHeader","SignJWT","verify","X509","getJwkFromCertificateChain","getJwkFromTrustChain","IoWalletError","assert","generateRandomBytes","getJwkFromSigner","signer","method","trustChain","length","kid","publicJwk","x5c","partialCallbacks","decryptJwe","encryptJwe","alg","enc","data","encryptionJwk","jwe","encrypt","generateRandom","getX509CertificateMetadata","certificate","x509","readCertPEM","sanExt","getExtSubjectAltName","sanDnsNames","sanUriNames","item","array","push","dns","uri","hash","verifyJwt","jwtSigner","jwt","signerJwk","compact","verified","createVerifyJwtFromJwks","jwks","_","header","createSignJwtFromCryptoContext","cryptoContext","signJwt","payload","setProtectedHeader","setPayload","sign","getPublicKey"],"sourceRoot":"../../../src","sources":["utils/callbacks.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,aAAa;AACpC,SAEEC,UAAU,EACVC,gBAAgB,EAChBC,OAAO,QACF,6BAA6B;AACpC,SAASC,MAAM,QAAQ,6BAA6B;AAEpD,SAASC,IAAI,QAAQ,WAAW;AAIhC,SAASC,0BAA0B,EAAEC,oBAAoB,QAAQ,aAAU;AAC3E,SAASC,aAAa,QAAQ,aAAU;AACxC,SAASC,MAAM,EAAEC,mBAAmB,QAAQ,WAAQ;;AAEpD;AACA;;AAWA;AACA;AACA;AACA;AACA;AACA,MAAMC,gBAAgB,GAAG,MAAOC,MAAiB,IAAmB;EAClE,QAAQA,MAAM,CAACC,MAAM;IACnB,KAAK,YAAY;MAAE;QACjBJ,MAAM,CACJG,MAAM,CAACE,UAAU,IAAIF,MAAM,CAACE,UAAU,CAACC,MAAM,GAAG,CAAC,EACjD,+CACF,CAAC;QACD,OAAOR,oBAAoB,CAACK,MAAM,CAACE,UAAU,EAAEF,MAAM,CAACI,GAAG,CAAC;MAC5D;IACA,KAAK,KAAK;MACR,OAAOJ,MAAM,CAACK,SAAS;IACzB,KAAK,KAAK;MACR,OAAOX,0BAA0B,CAACM,MAAM,CAACM,GAAG,CAAC;IAC/C;MACE,MAAM,IAAIV,aAAa,CAAC,8BAA8BI,MAAM,CAACC,MAAM,EAAE,CAAC;EAC1E;AACF,CAAC;;AAED;AAC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AM,CAACyC,GAAG,CAACE,OAAO,EAAED,SAAS,CAAC;MACpC,OAAO;QAAEA,SAAS;QAAEE,QAAQ,EAAE;MAAK,CAAC;IACtC,CAAC,CAAC,MAAM;MACN,OAAO;QAAEA,QAAQ,EAAE;MAAM,CAAC;IAC5B;EACF;AACF,CAAC;AAID;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAClCC,IAAW,IAEX,eAAeP,SAASA,CAACQ,CAAC,EAAEN,GAAG,EAAE;EAC/B,IAAI;IACF,MAAMC,SAAS,GAAG5C,gBAAgB,CAAC2C,GAAG,CAACO,MAAM,EAAeF,IAAI,CAAC;IACjE,MAAM9C,MAAM,CAACyC,GAAG,CAACE,OAAO,EAAED,SAAS,CAAC;IACpC,OAAO;MAAEA,SAAS;MAAEE,QAAQ,EAAE;IAAK,CAAC;EACtC,CAAC,CAAC,MAAM;IACN,OAAO;MAAEA,QAAQ,EAAE;IAAM,CAAC;EAC5B;AACF,CAAC;;AAEH;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMK,8BAA8B,GACzCC,aAA4B,IAE5B,eAAeC,OAAOA,CAACX,SAAS,EAAE;EAAEQ,MAAM;EAAEI;AAAQ,CAAC,EAAE;EACrD,OAAO;IACLX,GAAG,EAAE,MAAM,IAAI1C,OAAO,CAACmD,aAAa,CAAC,CAClCG,kBAAkB,CAACL,MAAM,CAAC,CAC1BM,UAAU,CAACF,OAAO,CAAC,CACnBG,IAAI,CAAC,CAAC;IACTb,SAAS,EACPF,SAAS,CAAC/B,MAAM,KAAK,KAAK,GACtB+B,SAAS,CAAC3B,SAAS,GACnB,MAAMqC,aAAa,CAACM,YAAY,CAAC;EACzC,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
import { hasher } from "@owf/crypto";
|
|
3
4
|
import { thumbprint } from "@pagopa/io-react-native-jwt";
|
|
4
|
-
import {
|
|
5
|
-
import { decodeSdJwtSync } from "@sd-jwt/decode";
|
|
5
|
+
import { decodeSdJwtSync } from "@sd-jwt/core";
|
|
6
6
|
import { LEGACY_SD_JWT } from "../sd-jwt/types.js";
|
|
7
7
|
import { IoWalletError } from "./errors.js";
|
|
8
8
|
const SD_JWT = ["dc+sd-jwt", LEGACY_SD_JWT];
|
|
@@ -16,7 +16,7 @@ const SD_JWT = ["dc+sd-jwt", LEGACY_SD_JWT];
|
|
|
16
16
|
export const extractJwkFromCredential = async (credential, format) => {
|
|
17
17
|
if (SD_JWT.includes(format)) {
|
|
18
18
|
// 1. SD-JWT case
|
|
19
|
-
const decoded = decodeSdJwtSync(fixLegacyCredentialSdJwt(credential),
|
|
19
|
+
const decoded = decodeSdJwtSync(fixLegacyCredentialSdJwt(credential), hasher);
|
|
20
20
|
const {
|
|
21
21
|
cnf
|
|
22
22
|
} = decoded.jwt.payload;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["hasher","thumbprint","decodeSdJwtSync","LEGACY_SD_JWT","IoWalletError","SD_JWT","extractJwkFromCredential","credential","format","includes","decoded","fixLegacyCredentialSdJwt","cnf","jwt","payload","jwk","kid","token","endsWith","hasKeyBindingJwt","split","at","length"],"sourceRoot":"../../../src","sources":["utils/credentials.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,aAAa;AACpC,SAASC,UAAU,QAAQ,6BAA6B;AACxD,SAASC,eAAe,QAAQ,cAAc;AAK9C,SACEC,aAAa,QAGR,oBAAiB;AACxB,SAASC,aAAa,QAAQ,aAAU;AAExC,MAAMC,MAAM,GAAG,CAAC,WAAW,EAAEF,aAAa,CAAC;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMG,wBAAwB,GAAG,MAAAA,CACtCC,UAAkB,EAClBC,MAAqD,KACpC;EACjB,IAAIH,MAAM,CAACI,QAAQ,CAACD,MAAM,CAAC,EAAE;IAC3B;IACA,MAAME,OAAO,GAAGR,eAAe,CAC7BS,wBAAwB,CAACJ,UAAU,CAAC,EACpCP,MACF,CAAC;IACD,MAAM;MAAEY;IAAI,CAAC,GAAGF,OAAO,CAACG,GAAG,CAACC,OAAkC;IAC9D,IAAIF,GAAG,CAACG,GAAG,EAAE;MACX,OAAO;QAAE,GAAGH,GAAG,CAACG,GAAG;QAAEC,GAAG,EAAE,MAAMf,UAAU,CAACW,GAAG,CAACG,GAAG;MAAE,CAAC;IACvD;EACF;EACA,MAAM,IAAIX,aAAa,CAAC,qBAAqBI,MAAM,gBAAgB,CAAC;AACtE,CAAC;;AAED;AACA;AACA;AACA;AACA,OAAO,MAAMG,wBAAwB,GAAIM,KAAa,IAAK;EACzD,IAAI,CAACA,KAAK,CAACC,QAAQ,CAAC,GAAG,CAAC,EAAE;IACxB,MAAMC,gBAAgB,GAAGF,KAAK,CAACG,KAAK,CAAC,GAAG,CAAC,CAACC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAED,KAAK,CAAC,GAAG,CAAC,CAACE,MAAM,KAAK,CAAC;IACzE;IACA,OAAOH,gBAAgB,GAAGF,KAAK,GAAG,GAAGA,KAAK,GAAG;EAC/C;EACA,OAAOA,KAAK;AACd,CAAC","ignoreList":[]}
|
|
@@ -25,7 +25,11 @@ export const IssuerResponseErrorCodes = {
|
|
|
25
25
|
};
|
|
26
26
|
export const WalletProviderResponseErrorCodes = {
|
|
27
27
|
/**
|
|
28
|
-
* An error code thrown when
|
|
28
|
+
* An error code thrown when an error occurs during the key attestation issuance.
|
|
29
|
+
*/
|
|
30
|
+
KeyAttestationIssuingFailed: "ERR_IO_KEY_ATTESTATION_ISSUING_FAILED",
|
|
31
|
+
/**
|
|
32
|
+
* An error code thrown when an error occurs during the wallet attestation issuance.
|
|
29
33
|
*/
|
|
30
34
|
WalletInstanceAttestationIssuingFailed: "ERR_IO_WALLET_INSTANCE_ATTESTATION_ISSUING_FAILED",
|
|
31
35
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IssuerResponseErrorCodes","CredentialInvalidStatus","CredentialIssuingNotSynchronous","CredentialRequestFailed","IssuerGenericError","MrtdChallengeInitRequestFailed","StatusAttestationRequestFailed","WalletProviderResponseErrorCodes","WalletInstanceAttestationIssuingFailed","WalletInstanceCreationFailed","WalletInstanceIntegrityFailed","WalletInstanceNotFound","WalletInstanceRevoked","WalletProviderGenericError","RelyingPartyResponseErrorCodes","InvalidAuthorizationResponse","RelyingPartyGenericError"],"sourceRoot":"../../../src","sources":["utils/error-codes.ts"],"mappings":";;AAAA,OAAO,MAAMA,wBAAwB,GAAG;EACtC;AACF;AACA;EACEC,uBAAuB,EAAE,+BAA+B;EACxD;AACF;AACA;EACEC,+BAA+B,EAAE,wCAAwC;EACzE;AACF;AACA;EACEC,uBAAuB,EAAE,+BAA+B;EACxDC,kBAAkB,EAAE,0BAA0B;EAC9C;AACF;AACA;EACEC,8BAA8B,EAAE,wCAAwC;EACxE;AACF;AACA;EACEC,8BAA8B,EAAE;AAClC,CAAU;AAEV,OAAO,MAAMC,gCAAgC,GAAG;EAC9C;AACF;AACA;EACEC,sCAAsC,EACpC,mDAAmD;EACrD;AACF;AACA;EACEC,4BAA4B,EAAE,wCAAwC;EACtE;AACF;AACA;EACEC,6BAA6B,EAAE,yCAAyC;EACxE;AACF;AACA;EACEC,sBAAsB,EAAE,kCAAkC;EAC1D;AACF;AACA;EACEC,qBAAqB,EAAE,gCAAgC;EACvDC,0BAA0B,EAAE;AAC9B,CAAU;AAEV,OAAO,MAAMC,8BAA8B,GAAG;EAC5C;AACF;AACA;EACEC,4BAA4B,EAAE,uCAAuC;EACrEC,wBAAwB,EAAE;AAC5B,CAAU","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["IssuerResponseErrorCodes","CredentialInvalidStatus","CredentialIssuingNotSynchronous","CredentialRequestFailed","IssuerGenericError","MrtdChallengeInitRequestFailed","StatusAttestationRequestFailed","WalletProviderResponseErrorCodes","KeyAttestationIssuingFailed","WalletInstanceAttestationIssuingFailed","WalletInstanceCreationFailed","WalletInstanceIntegrityFailed","WalletInstanceNotFound","WalletInstanceRevoked","WalletProviderGenericError","RelyingPartyResponseErrorCodes","InvalidAuthorizationResponse","RelyingPartyGenericError"],"sourceRoot":"../../../src","sources":["utils/error-codes.ts"],"mappings":";;AAAA,OAAO,MAAMA,wBAAwB,GAAG;EACtC;AACF;AACA;EACEC,uBAAuB,EAAE,+BAA+B;EACxD;AACF;AACA;EACEC,+BAA+B,EAAE,wCAAwC;EACzE;AACF;AACA;EACEC,uBAAuB,EAAE,+BAA+B;EACxDC,kBAAkB,EAAE,0BAA0B;EAC9C;AACF;AACA;EACEC,8BAA8B,EAAE,wCAAwC;EACxE;AACF;AACA;EACEC,8BAA8B,EAAE;AAClC,CAAU;AAEV,OAAO,MAAMC,gCAAgC,GAAG;EAC9C;AACF;AACA;EACEC,2BAA2B,EAAE,uCAAuC;EACpE;AACF;AACA;EACEC,sCAAsC,EACpC,mDAAmD;EACrD;AACF;AACA;EACEC,4BAA4B,EAAE,wCAAwC;EACtE;AACF;AACA;EACEC,6BAA6B,EAAE,yCAAyC;EACxE;AACF;AACA;EACEC,sBAAsB,EAAE,kCAAkC;EAC1D;AACF;AACA;EACEC,qBAAqB,EAAE,gCAAgC;EACvDC,0BAA0B,EAAE;AAC9B,CAAU;AAEV,OAAO,MAAMC,8BAA8B,GAAG;EAC5C;AACF;AACA;EACEC,4BAA4B,EAAE,uCAAuC;EACrEC,wBAAwB,EAAE;AAC5B,CAAU","ignoreList":[]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { ResponseErrorBuilder, WalletProviderResponseError, WalletProviderResponseErrorCodes } from "../../utils/errors.js";
|
|
4
|
+
import { Logger, LogLevel } from "../../utils/logging.js";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Shared handler for errors that occur during Wallet Instance Attestation issuance.
|
|
8
|
+
*/
|
|
9
|
+
export const handleAttestationCreationError = e => {
|
|
10
|
+
Logger.log(LogLevel.ERROR, `An error occurred while calling the Wallet Attestation endpoint: ${e}`);
|
|
11
|
+
if (!(e instanceof WalletProviderResponseError)) {
|
|
12
|
+
throw e;
|
|
13
|
+
}
|
|
14
|
+
throw new ResponseErrorBuilder(WalletProviderResponseError).handle(403, {
|
|
15
|
+
code: WalletProviderResponseErrorCodes.WalletInstanceRevoked,
|
|
16
|
+
message: "Unable to get an attestation for a revoked Wallet Instance"
|
|
17
|
+
}).handle(404, {
|
|
18
|
+
code: WalletProviderResponseErrorCodes.WalletInstanceNotFound,
|
|
19
|
+
message: "Unable to get an attestation for a Wallet Instance that does not exist"
|
|
20
|
+
}).handle(409, {
|
|
21
|
+
code: WalletProviderResponseErrorCodes.WalletInstanceIntegrityFailed,
|
|
22
|
+
message: "Unable to get an attestation for a Wallet Instance that failed the integrity check"
|
|
23
|
+
}).handle("*", {
|
|
24
|
+
code: WalletProviderResponseErrorCodes.WalletInstanceAttestationIssuingFailed,
|
|
25
|
+
message: "Unable to obtain wallet instance attestation"
|
|
26
|
+
}).buildFrom(e);
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ResponseErrorBuilder","WalletProviderResponseError","WalletProviderResponseErrorCodes","Logger","LogLevel","handleAttestationCreationError","e","log","ERROR","handle","code","WalletInstanceRevoked","message","WalletInstanceNotFound","WalletInstanceIntegrityFailed","WalletInstanceAttestationIssuingFailed","buildFrom"],"sourceRoot":"../../../../src","sources":["wallet-instance-attestation/common/errors.ts"],"mappings":";;AAAA,SACEA,oBAAoB,EACpBC,2BAA2B,EAC3BC,gCAAgC,QAC3B,uBAAoB;AAC3B,SAASC,MAAM,EAAEC,QAAQ,QAAQ,wBAAqB;;AAEtD;AACA;AACA;AACA,OAAO,MAAMC,8BAA8B,GAAIC,CAAU,IAAK;EAC5DH,MAAM,CAACI,GAAG,CACRH,QAAQ,CAACI,KAAK,EACd,oEAAoEF,CAAC,EACvE,CAAC;EAED,IAAI,EAAEA,CAAC,YAAYL,2BAA2B,CAAC,EAAE;IAC/C,MAAMK,CAAC;EACT;EAEA,MAAM,IAAIN,oBAAoB,CAACC,2BAA2B,CAAC,CACxDQ,MAAM,CAAC,GAAG,EAAE;IACXC,IAAI,EAAER,gCAAgC,CAACS,qBAAqB;IAC5DC,OAAO,EAAE;EACX,CAAC,CAAC,CACDH,MAAM,CAAC,GAAG,EAAE;IACXC,IAAI,EAAER,gCAAgC,CAACW,sBAAsB;IAC7DD,OAAO,EACL;EACJ,CAAC,CAAC,CACDH,MAAM,CAAC,GAAG,EAAE;IACXC,IAAI,EAAER,gCAAgC,CAACY,6BAA6B;IACpEF,OAAO,EACL;EACJ,CAAC,CAAC,CACDH,MAAM,CAAC,GAAG,EAAE;IACXC,IAAI,EAAER,gCAAgC,CAACa,sCAAsC;IAC7EH,OAAO,EAAE;EACX,CAAC,CAAC,CACDI,SAAS,CAACV,CAAC,CAAC;AACjB,CAAC","ignoreList":[]}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import { SignJWT, thumbprint } from "@pagopa/io-react-native-jwt";
|
|
4
4
|
import { getWalletProviderClient } from "../../client/index.js";
|
|
5
|
-
import { ResponseErrorBuilder, WalletProviderResponseError, WalletProviderResponseErrorCodes } from "../../utils/errors.js";
|
|
6
5
|
import { fixBase64EncodingOnKey, JWK } from "../../utils/jwk.js";
|
|
7
6
|
import { Logger, LogLevel } from "../../utils/logging.js";
|
|
7
|
+
import { handleAttestationCreationError } from "../common/errors.js";
|
|
8
8
|
import { mapToWalletAttestations } from "./mappers.js";
|
|
9
9
|
import { WalletAttestationResponse } from "./types.js";
|
|
10
10
|
|
|
@@ -78,23 +78,4 @@ export const getAttestation = async (requestParams, {
|
|
|
78
78
|
}
|
|
79
79
|
return mapToWalletAttestations(response);
|
|
80
80
|
};
|
|
81
|
-
const handleAttestationCreationError = e => {
|
|
82
|
-
Logger.log(LogLevel.ERROR, `An error occurred while calling /wallet-attestation endpoint: ${e}`);
|
|
83
|
-
if (!(e instanceof WalletProviderResponseError)) {
|
|
84
|
-
throw e;
|
|
85
|
-
}
|
|
86
|
-
throw new ResponseErrorBuilder(WalletProviderResponseError).handle(403, {
|
|
87
|
-
code: WalletProviderResponseErrorCodes.WalletInstanceRevoked,
|
|
88
|
-
message: "Unable to get an attestation for a revoked Wallet Instance"
|
|
89
|
-
}).handle(404, {
|
|
90
|
-
code: WalletProviderResponseErrorCodes.WalletInstanceNotFound,
|
|
91
|
-
message: "Unable to get an attestation for a Wallet Instance that does not exist"
|
|
92
|
-
}).handle(409, {
|
|
93
|
-
code: WalletProviderResponseErrorCodes.WalletInstanceIntegrityFailed,
|
|
94
|
-
message: "Unable to get an attestation for a Wallet Instance that failed the integrity check"
|
|
95
|
-
}).handle("*", {
|
|
96
|
-
code: WalletProviderResponseErrorCodes.WalletInstanceAttestationIssuingFailed,
|
|
97
|
-
message: "Unable to obtain wallet instance attestation"
|
|
98
|
-
}).buildFrom(e);
|
|
99
|
-
};
|
|
100
81
|
//# sourceMappingURL=issuing.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SignJWT","thumbprint","getWalletProviderClient","
|
|
1
|
+
{"version":3,"names":["SignJWT","thumbprint","getWalletProviderClient","fixBase64EncodingOnKey","JWK","Logger","LogLevel","handleAttestationCreationError","mapToWalletAttestations","WalletAttestationResponse","getAttestationRequest","challenge","wiaCryptoContext","integrityContext","walletProviderBaseUrl","jwk","getPublicKey","parsedJwk","parse","keyThumbprint","publicKey","kid","clientData","jwk_thumbprint","hardwareKeyTag","getHardwareKeyTag","authenticatorData","signature","getHardwareSignatureWithAuthData","JSON","stringify","setPayload","aud","cnf","hardware_key_tag","hardware_signature","integrity_assertion","iss","nonce","setProtectedHeader","typ","setIssuedAt","setExpirationTime","sign","getAttestation","requestParams","appFetch","fetch","api","get","then","response","log","DEBUG","signedAttestationRequest","post","body","assertion","catch","attestation","wallet_attestations","format","wallet_attestation"],"sourceRoot":"../../../../src","sources":["wallet-instance-attestation/v1.0.0/issuing.ts"],"mappings":";;AAAA,SAEEA,OAAO,EACPC,UAAU,QACL,6BAA6B;AAKpC,SAASC,uBAAuB,QAAQ,uBAAc;AACtD,SAASC,sBAAsB,EAAEC,GAAG,QAAQ,oBAAiB;AAC7D,SAASC,MAAM,EAAEC,QAAQ,QAAQ,wBAAqB;AACtD,SAASC,8BAA8B,QAAQ,qBAAkB;AACjE,SAASC,uBAAuB,QAAQ,cAAW;AACnD,SAASC,yBAAyB,QAAQ,YAAS;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAeC,qBAAqBA,CAClCC,SAAiB,EACjBC,gBAA+B,EAC/BC,gBAAkC,EAClCC,qBAA6B,EACZ;EACjB,MAAMC,GAAG,GAAG,MAAMH,gBAAgB,CAACI,YAAY,CAAC,CAAC;EACjD,MAAMC,SAAS,GAAGb,GAAG,CAACc,KAAK,CAACH,GAAG,CAAC;EAChC,MAAMI,aAAa,GAAG,MAAMlB,UAAU,CAACgB,SAAS,CAAC;EACjD,MAAMG,SAAS,GAAG;IAAE,GAAGH,SAAS;IAAEI,GAAG,EAAEF;EAAc,CAAC;EAEtD,MAAMG,UAAU,GAAG;IACjBX,SAAS;IACTY,cAAc,EAAEJ;EAClB,CAAC;EAED,MAAMK,cAAc,GAAGX,gBAAgB,CAACY,iBAAiB,CAAC,CAAC;EAC3D,MAAM;IAAEC,iBAAiB;IAAEC;EAAU,CAAC,GACpC,MAAMd,gBAAgB,CAACe,gCAAgC,CACrDC,IAAI,CAACC,SAAS,CAACR,UAAU,CAC3B,CAAC;EAEH,OAAO,IAAItB,OAAO,CAACY,gBAAgB,CAAC,CACjCmB,UAAU,CAAC;IACVC,GAAG,EAAElB,qBAAqB;IAC1BmB,GAAG,EAAE;MACHlB,GAAG,EAAEZ,sBAAsB,CAACiB,SA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,yBAAyB,CAACS,KAAK,CAAC,CACrCwC,KAAK,CAACnD,8BAA8B,CAAC;EAExC,KAAK,MAAMoD,WAAW,IAAIR,QAAQ,CAACS,mBAAmB,EAAE;IACtDvD,MAAM,CAAC+C,GAAG,CACR9C,QAAQ,CAAC+C,KAAK,EACd,kCAAkCM,WAAW,CAACE,MAAM,YAAYF,WAAW,CAACG,kBAAkB,EAChG,CAAC;EACH;EAEA,OAAOtD,uBAAuB,CAAC2C,QAAQ,CAAC;AAC1C,CAAC","ignoreList":[]}
|
|
@@ -5,6 +5,7 @@ import { Platform } from "react-native";
|
|
|
5
5
|
import { getWalletProviderClient } from "../../client/index.js";
|
|
6
6
|
import { fixBase64EncodingOnKey, JWK } from "../../utils/jwk.js";
|
|
7
7
|
import { Logger, LogLevel } from "../../utils/logging.js";
|
|
8
|
+
import { handleAttestationCreationError } from "../common/errors.js";
|
|
8
9
|
import { WalletInstanceAttestationResponse } from "./types.js";
|
|
9
10
|
async function getAttestationRequest({
|
|
10
11
|
challenge,
|
|
@@ -65,7 +66,7 @@ export const getAttestation = async (requestParams, {
|
|
|
65
66
|
header: {
|
|
66
67
|
"Content-Type": "text/plain"
|
|
67
68
|
}
|
|
68
|
-
}).then(WalletInstanceAttestationResponse.parse);
|
|
69
|
+
}).then(WalletInstanceAttestationResponse.parse).catch(handleAttestationCreationError);
|
|
69
70
|
Logger.log(LogLevel.DEBUG, `Obtained Wallet Instance Attestation in jwt format: ${response.wallet_instance_attestation}`);
|
|
70
71
|
return [{
|
|
71
72
|
attestation: response.wallet_instance_attestation,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SignJWT","thumbprint","Platform","getWalletProviderClient","fixBase64EncodingOnKey","JWK","Logger","LogLevel","WalletInstanceAttestationResponse","getAttestationRequest","challenge","walletSolutionId","walletSolutionVersion","wiaCryptoContext","integrityContext","jwk","getPublicKey","parsedJwk","parse","keyThumbprint","publicKey","kid","clientData","jwk_thumbprint","hardwareKeyTag","getHardwareKeyTag","authenticatorData","signature","getHardwareSignatureWithAuthData","JSON","stringify","setPayload","cnf","hardware_key_tag","hardware_signature","integrity_assertion","iss","nonce","platform","OS","wallet_solution_id","wallet_solution_version","setProtectedHeader","typ","setIssuedAt","setExpirationTime","sign","getAttestation","requestParams","appFetch","fetch","api","walletProviderBaseUrl","get","then","response","log","DEBUG","signedAttestationRequest","post","body","header","wallet_instance_attestation","attestation","format"],"sourceRoot":"../../../../src","sources":["wallet-instance-attestation/v1.4.6/issuing.ts"],"mappings":";;AAAA,SAEEA,OAAO,EACPC,UAAU,QACL,6BAA6B;AACpC,SAASC,QAAQ,QAAQ,cAAc;AAMvC,SAASC,uBAAuB,QAAQ,uBAAc;AACtD,SAASC,sBAAsB,EAAEC,GAAG,QAAQ,oBAAiB;AAC7D,SAASC,MAAM,EAAEC,QAAQ,QAAQ,wBAAqB;AACtD,SAASC,iCAAiC,QAAQ,YAAS;AAE3D,eAAeC,qBAAqBA,CAClC;EACEC,SAAS;EACTC,gBAAgB;EAChBC;AACsD,CAAC,EACzDC,gBAA+B,EAC/BC,gBAAkC,EACjB;EACjB,MAAMC,GAAG,GAAG,MAAMF,gBAAgB,CAACG,YAAY,CAAC,CAAC;EACjD,MAAMC,SAAS,
|
|
1
|
+
{"version":3,"names":["SignJWT","thumbprint","Platform","getWalletProviderClient","fixBase64EncodingOnKey","JWK","Logger","LogLevel","handleAttestationCreationError","WalletInstanceAttestationResponse","getAttestationRequest","challenge","walletSolutionId","walletSolutionVersion","wiaCryptoContext","integrityContext","jwk","getPublicKey","parsedJwk","parse","keyThumbprint","publicKey","kid","clientData","jwk_thumbprint","hardwareKeyTag","getHardwareKeyTag","authenticatorData","signature","getHardwareSignatureWithAuthData","JSON","stringify","setPayload","cnf","hardware_key_tag","hardware_signature","integrity_assertion","iss","nonce","platform","OS","wallet_solution_id","wallet_solution_version","setProtectedHeader","typ","setIssuedAt","setExpirationTime","sign","getAttestation","requestParams","appFetch","fetch","api","walletProviderBaseUrl","get","then","response","log","DEBUG","signedAttestationRequest","post","body","header","catch","wallet_instance_attestation","attestation","format"],"sourceRoot":"../../../../src","sources":["wallet-instance-attestation/v1.4.6/issuing.ts"],"mappings":";;AAAA,SAEEA,OAAO,EACPC,UAAU,QACL,6BAA6B;AACpC,SAASC,QAAQ,QAAQ,cAAc;AAMvC,SAASC,uBAAuB,QAAQ,uBAAc;AACtD,SAASC,sBAAsB,EAAEC,GAAG,QAAQ,oBAAiB;AAC7D,SAASC,MAAM,EAAEC,QAAQ,QAAQ,wBAAqB;AACtD,SAASC,8BAA8B,QAAQ,qBAAkB;AACjE,SAASC,iCAAiC,QAAQ,YAAS;AAE3D,eAAeC,qBAAqBA,CAClC;EACEC,SAAS;EACTC,gBAAgB;EAChBC;AACsD,CAAC,EACzDC,gBAA+B,EAC/BC,gBAAkC,EACjB;EACjB,MAAMC,GAAG,GAAG,MAAMF,gBAAgB,CAACG,YAAY,CAAC,CAAC;EACjD,MAAMC,SAAS,GAAGb,GAAG,CAACc,KAAK,CAACH,GAAG,CAAC;EAChC,MAAMI,aAAa,GAAG,MAAMnB,UAAU,CAACiB,SAAS,CAAC;EACjD,MAAMG,SAAS,GAAG;IAAE,GAAGH,SAAS;IAAEI,GAAG,EAAEF;EAAc,CAAC;EAEtD,MAAMG,UAAU,GAAG;IACjBZ,SAAS;IACTa,cAAc,EAAEJ;EAClB,CAAC;EAED,MAAMK,cAAc,GAAGV,gBAAgB,CAACW,iBAAiB,CAAC,CAAC;EAC3D,MAAM;IAAEC,iBAAiB;IAAEC;EAAU,CAAC,GACpC,MAAMb,gBAAgB,CAACc,gCAAgC,CACrDC,IAAI,CAACC,SAAS,CAACR,UAAU,CAC3B,CAAC;EAEH,OAAO,IAAIvB,OAAO,CAACc,gBAAgB,CAAC,CACjCkB,UAAU,CAAC;IACVC,GAAG,EAAE;MACHjB,GAAG,EAAEZ,sBAAsB,CAACiB,SAAS;IACvC,CAAC;IACDa,gBAAgB,EAAET,cAAc;IAChCU,kBAAkB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E;MACN,cAAc,EAAE;IAClB;EACF,CAAC,CAAC,CACDP,IAAI,CAAC9C,iCAAiC,CAACU,KAAK,CAAC,CAC7C4C,KAAK,CAACvD,8BAA8B,CAAC;EAExCF,MAAM,CAACmD,GAAG,CACRlD,QAAQ,CAACmD,KAAK,EACd,uDAAuDF,QAAQ,CAACQ,2BAA2B,EAC7F,CAAC;EAED,OAAO,CACL;IACEC,WAAW,EAAET,QAAQ,CAACQ,2BAA2B;IACjDE,MAAM,EAAE;EACV,CAAC,CACF;AACH,CAAC","ignoreList":[]}
|
|
@@ -19,17 +19,17 @@ export declare const extractFailedCredentialsDetails: (queryResult: DcqlQueryRes
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const getClaimsFromDcqlMatch: (match: DcqlQueryResult.CredentialMatch) => EvaluatedDisclosure[];
|
|
21
21
|
/**
|
|
22
|
-
* Recursively convert a claim path to a {@link PresentationFrame} for `@sd-jwt/
|
|
22
|
+
* Recursively convert a claim path to a {@link PresentationFrame} for `@sd-jwt/core`
|
|
23
23
|
* @param path The claim path array
|
|
24
24
|
* @param claim The decoded claim
|
|
25
|
-
* @returns A presentation frame compatible with `@sd-jwt/
|
|
25
|
+
* @returns A presentation frame compatible with `@sd-jwt/core`
|
|
26
26
|
*/
|
|
27
27
|
export declare const pathToPresentationFrame: (path: (null | number | string)[], claim: Record<string, unknown>) => PresentationFrame;
|
|
28
28
|
/**
|
|
29
29
|
* Build a presentation frame from the `dcql` result to use for disclosing the requested claims.
|
|
30
30
|
* @param match The DCQL query match
|
|
31
31
|
* @param originalQuery The original DCQL query
|
|
32
|
-
* @returns A presentation frame compatible with `@sd-jwt/
|
|
32
|
+
* @returns A presentation frame compatible with `@sd-jwt/core`
|
|
33
33
|
*/
|
|
34
34
|
export declare const getPresentationFrameFromDcqlMatch: (match: DcqlQueryResult.CredentialMatch, originalQuery: DcqlQuery) => PresentationFrame;
|
|
35
35
|
/**
|
|
@@ -47,31 +47,7 @@ export declare const getValidDcqlClaims: (match: DcqlQueryResult.CredentialMatch
|
|
|
47
47
|
[x: string]: unknown;
|
|
48
48
|
};
|
|
49
49
|
} | {
|
|
50
|
-
[x: string]:
|
|
51
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
52
|
-
} | (string | number | boolean | {
|
|
53
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
54
|
-
} | (string | number | boolean | {
|
|
55
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
56
|
-
} | (string | number | boolean | {
|
|
57
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
58
|
-
} | (string | number | boolean | {
|
|
59
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
60
|
-
} | (string | number | boolean | {
|
|
61
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
62
|
-
} | (string | number | boolean | {
|
|
63
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
64
|
-
} | (string | number | boolean | {
|
|
65
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null;
|
|
66
|
-
} | (string | number | boolean | {
|
|
67
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null;
|
|
68
|
-
} | (string | number | boolean | {
|
|
69
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null;
|
|
70
|
-
} | (string | number | boolean | {
|
|
71
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null;
|
|
72
|
-
} | (string | number | boolean | {
|
|
73
|
-
[key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
74
|
-
} | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
50
|
+
[x: string]: import("dcql").Json;
|
|
75
51
|
};
|
|
76
52
|
}[];
|
|
77
53
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dcql.d.ts","sourceRoot":"","sources":["../../../../../../../src/credential/presentation/common/utils/dcql.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,SAAS,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAWhD,KAAK,gBAAgB,GAAG,OAAO,CAC7B,eAAe,CAAC,eAAe,EAC/B;IAAE,OAAO,EAAE,IAAI,CAAA;CAAE,CAClB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,QAAQ,eAAe,KAGpD,CAAC,MAAM,EAAE,gBAAgB,CAAC,EAAE,CAAC;AAUpC;;GAEG;AACH,eAAO,MAAM,+BAA+B,GAC1C,aAAa,eAAe,KAC3B,cAAc,EAwCb,CAAC;AAEL;;;;GAIG;AACH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EAAE,EAChC,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC7B,iBAyBF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC,GAC5C,OAAO,eAAe,CAAC,eAAe,EACtC,eAAe,SAAS,KACvB,iBAyBF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,GAAI,OAAO,eAAe,CAAC,eAAe;;;;;;;;;;;GAmBxE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-jwt.d.ts","sourceRoot":"","sources":["../../../../../../../src/credential/presentation/common/utils/sd-jwt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"sd-jwt.d.ts","sourceRoot":"","sources":["../../../../../../../src/credential/presentation/common/utils/sd-jwt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,MAAM,CAAC;AAKlD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAMjD,KAAK,2BAA2B,GAAG,qBAAqB,GAAG;IACzD,mBAAmB,EAAE,eAAe,CAAC;CACtC,CAAC;AA4BF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAC9B,aAAa,eAAe,EAAE,KAC7B,OAAO,CAAC,2BAA2B,EAAE,CAuBvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"03-get-status.d.ts","sourceRoot":"","sources":["../../../../../../src/credential/status/v1.4.6/03-get-status.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"03-get-status.d.ts","sourceRoot":"","sources":["../../../../../../src/credential/status/v1.4.6/03-get-status.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAqBxD,eAAO,MAAM,SAAS,EAAE,aAAa,CAAC,WAAW,CAmBhD,CAAC"}
|
|
@@ -17,6 +17,7 @@ export declare const AllowedState: z.ZodObject<{
|
|
|
17
17
|
}, z.core.$catchall<z.ZodString>>;
|
|
18
18
|
export type AllowedState = z.infer<typeof AllowedState>;
|
|
19
19
|
declare const AuthenticSource: z.ZodObject<{
|
|
20
|
+
background_color: z.ZodOptional<z.ZodString>;
|
|
20
21
|
contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21
22
|
type: z.ZodString;
|
|
22
23
|
value: z.ZodString;
|
|
@@ -61,6 +62,7 @@ export declare const DigitalCredential: z.ZodObject<{
|
|
|
61
62
|
title_l10n_id: z.ZodString;
|
|
62
63
|
}, z.core.$strip>>;
|
|
63
64
|
authentic_sources: z.ZodArray<z.ZodObject<{
|
|
65
|
+
background_color: z.ZodOptional<z.ZodString>;
|
|
64
66
|
contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
65
67
|
type: z.ZodString;
|
|
66
68
|
value: z.ZodString;
|
|
@@ -201,6 +203,7 @@ export declare const DigitalCredentialsCatalogue: z.ZodObject<{
|
|
|
201
203
|
title_l10n_id: z.ZodString;
|
|
202
204
|
}, z.core.$strip>>;
|
|
203
205
|
authentic_sources: z.ZodArray<z.ZodObject<{
|
|
206
|
+
background_color: z.ZodOptional<z.ZodString>;
|
|
204
207
|
contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
205
208
|
type: z.ZodString;
|
|
206
209
|
value: z.ZodString;
|
package/lib/typescript/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DigitalCredentialsCatalogue.d.ts","sourceRoot":"","sources":["../../../../../src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,gBAAgB;;;;;iBAK3B,CAAC;AACH;;;GAGG;AACH,MAAM,MAAM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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+B5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,QAAA,MAAM,eAAe;;;iBAGnB,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,QAAA,MAAM,aAAa;;;;iBAIjB,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,QAAA,MAAM,cAAc;;;;;;;;;iBAKlB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;iBAOnB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQtC,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,2BAA2B,CACnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../src/credentials-catalogue/v1.0.0/mappers.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../src/credentials-catalogue/v1.0.0/mappers.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../src/credentials-catalogue/v1.4.6/mappers.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../src/credentials-catalogue/v1.4.6/mappers.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkGrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issuing.d.ts","sourceRoot":"","sources":["../../../../../src/key-attestation/v1.4.6/issuing.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"issuing.d.ts","sourceRoot":"","sources":["../../../../../src/key-attestation/v1.4.6/issuing.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,QAAQ,CAAC;AA6DzD,eAAO,MAAM,cAAc,EAAE,0BAA0B,CAAC,gBAAgB,CA+FrE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sd-jwt/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sd-jwt/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK/D,cAAc,SAAS,CAAC;AAExB;;;;;;;;GAQG;AACH,eAAO,MAAM,MAAM,GAAI,OAAO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYnC,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc,GACzB,OAAO,MAAM,EACb,WAAW,MAAM,EACjB,0DAA0D,YAAY,KACrE,OAAO,CAAC;IACT,QAAQ,EAAE,MAAM,CAAC;CAClB,CA2BA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callbacks.d.ts","sourceRoot":"","sources":["../../../../src/utils/callbacks.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"callbacks.d.ts","sourceRoot":"","sources":["../../../../src/utils/callbacks.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,aAAa,EAInB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,0BAA0B,CAAC;AAGhF,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAajC,KAAK,sBAAsB,GAAG,IAAI,CAChC,eAAe,EACf,sBAAsB,GAAG,SAAS,CACnC,CAAC;AAyBF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,sBAoC9B,CAAC;AAIF;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,GAClC,MAAM,GAAG,EAAE,KACV,eAAe,CAAC,WAAW,CAS3B,CAAC;AAEJ;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,GACzC,eAAe,aAAa,KAC3B,eAAe,CAAC,SAAS,CAYzB,CAAC"}
|
|
@@ -23,7 +23,11 @@ export declare const IssuerResponseErrorCodes: {
|
|
|
23
23
|
};
|
|
24
24
|
export declare const WalletProviderResponseErrorCodes: {
|
|
25
25
|
/**
|
|
26
|
-
* An error code thrown when
|
|
26
|
+
* An error code thrown when an error occurs during the key attestation issuance.
|
|
27
|
+
*/
|
|
28
|
+
readonly KeyAttestationIssuingFailed: "ERR_IO_KEY_ATTESTATION_ISSUING_FAILED";
|
|
29
|
+
/**
|
|
30
|
+
* An error code thrown when an error occurs during the wallet attestation issuance.
|
|
27
31
|
*/
|
|
28
32
|
readonly WalletInstanceAttestationIssuingFailed: "ERR_IO_WALLET_INSTANCE_ATTESTATION_ISSUING_FAILED";
|
|
29
33
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-codes.d.ts","sourceRoot":"","sources":["../../../../src/utils/error-codes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;IACnC;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;IAGH;;OAEG;;IAEH;;OAEG;;CAEK,CAAC;AAEX,eAAO,MAAM,gCAAgC;IAC3C;;OAEG;;IAGH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;CAGK,CAAC;AAEX,eAAO,MAAM,8BAA8B;IACzC;;OAEG;;;CAGK,CAAC;AAEX,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAE3E,MAAM,MAAM,6BAA6B,GACvC,CAAC,OAAO,8BAA8B,CAAC,CAAC,MAAM,OAAO,8BAA8B,CAAC,CAAC;AAEvF,MAAM,MAAM,+BAA+B,GACzC,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"error-codes.d.ts","sourceRoot":"","sources":["../../../../src/utils/error-codes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;IACnC;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;IAGH;;OAEG;;IAEH;;OAEG;;CAEK,CAAC;AAEX,eAAO,MAAM,gCAAgC;IAC3C;;OAEG;;IAEH;;OAEG;;IAGH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;CAGK,CAAC;AAEX,eAAO,MAAM,8BAA8B;IACzC;;OAEG;;;CAGK,CAAC;AAEX,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAE3E,MAAM,MAAM,6BAA6B,GACvC,CAAC,OAAO,8BAA8B,CAAC,CAAC,MAAM,OAAO,8BAA8B,CAAC,CAAC;AAEvF,MAAM,MAAM,+BAA+B,GACzC,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../../src/wallet-instance-attestation/common/errors.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,eAAO,MAAM,8BAA8B,GAAI,GAAG,OAAO,UA8BxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issuing.d.ts","sourceRoot":"","sources":["../../../../../src/wallet-instance-attestation/v1.0.0/issuing.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"issuing.d.ts","sourceRoot":"","sources":["../../../../../src/wallet-instance-attestation/v1.0.0/issuing.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,QAAQ,CAAC;AA6D3D,eAAO,MAAM,cAAc,EAAE,4BAA4B,CAAC,gBAAgB,CAiDvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AAyD3D,eAAO,MAAM,cAAc,EAAE,4BAA4B,CAAC,gBAAgB,CAiDvE,CAAC"}
|
|
@@ -19,17 +19,17 @@ export declare const extractFailedCredentialsDetails: (queryResult: DcqlQueryRes
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const getClaimsFromDcqlMatch: (match: DcqlQueryResult.CredentialMatch) => EvaluatedDisclosure[];
|
|
21
21
|
/**
|
|
22
|
-
* Recursively convert a claim path to a {@link PresentationFrame} for `@sd-jwt/
|
|
22
|
+
* Recursively convert a claim path to a {@link PresentationFrame} for `@sd-jwt/core`
|
|
23
23
|
* @param path The claim path array
|
|
24
24
|
* @param claim The decoded claim
|
|
25
|
-
* @returns A presentation frame compatible with `@sd-jwt/
|
|
25
|
+
* @returns A presentation frame compatible with `@sd-jwt/core`
|
|
26
26
|
*/
|
|
27
27
|
export declare const pathToPresentationFrame: (path: (null | number | string)[], claim: Record<string, unknown>) => PresentationFrame;
|
|
28
28
|
/**
|
|
29
29
|
* Build a presentation frame from the `dcql` result to use for disclosing the requested claims.
|
|
30
30
|
* @param match The DCQL query match
|
|
31
31
|
* @param originalQuery The original DCQL query
|
|
32
|
-
* @returns A presentation frame compatible with `@sd-jwt/
|
|
32
|
+
* @returns A presentation frame compatible with `@sd-jwt/core`
|
|
33
33
|
*/
|
|
34
34
|
export declare const getPresentationFrameFromDcqlMatch: (match: DcqlQueryResult.CredentialMatch, originalQuery: DcqlQuery) => PresentationFrame;
|
|
35
35
|
/**
|
|
@@ -47,31 +47,7 @@ export declare const getValidDcqlClaims: (match: DcqlQueryResult.CredentialMatch
|
|
|
47
47
|
[x: string]: unknown;
|
|
48
48
|
};
|
|
49
49
|
} | {
|
|
50
|
-
[x: string]:
|
|
51
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
52
|
-
} | (string | number | boolean | {
|
|
53
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
54
|
-
} | (string | number | boolean | {
|
|
55
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
56
|
-
} | (string | number | boolean | {
|
|
57
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
58
|
-
} | (string | number | boolean | {
|
|
59
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
60
|
-
} | (string | number | boolean | {
|
|
61
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
62
|
-
} | (string | number | boolean | {
|
|
63
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
64
|
-
} | (string | number | boolean | {
|
|
65
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null;
|
|
66
|
-
} | (string | number | boolean | {
|
|
67
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null;
|
|
68
|
-
} | (string | number | boolean | {
|
|
69
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null;
|
|
70
|
-
} | (string | number | boolean | {
|
|
71
|
-
[key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null;
|
|
72
|
-
} | (string | number | boolean | {
|
|
73
|
-
[key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
74
|
-
} | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
50
|
+
[x: string]: import("dcql").Json;
|
|
75
51
|
};
|
|
76
52
|
}[];
|
|
77
53
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dcql.d.ts","sourceRoot":"","sources":["../../../../../../../src/credential/presentation/common/utils/dcql.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,SAAS,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,oBAAiB,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAW,CAAC;AAWhD,KAAK,gBAAgB,GAAG,OAAO,CAC7B,eAAe,CAAC,eAAe,EAC/B;IAAE,OAAO,EAAE,IAAI,CAAA;CAAE,CAClB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,QAAQ,eAAe,KAGpD,CAAC,MAAM,E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AAC,eAAe,KACrC,mBAAmB,EAGnB,CAAC;AAEJ;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAClC,MAAM,CAAC,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC,EAAE,EAChC,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC7B,iBAyBF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC,GAC5C,OAAO,eAAe,CAAC,eAAe,EACtC,eAAe,SAAS,KACvB,iBAyBF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,GAAI,OAAO,eAAe,CAAC,eAAe;;;;;;;;;;;GAmBxE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-jwt.d.ts","sourceRoot":"","sources":["../../../../../../../src/credential/presentation/common/utils/sd-jwt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"sd-jwt.d.ts","sourceRoot":"","sources":["../../../../../../../src/credential/presentation/common/utils/sd-jwt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,MAAM,CAAC;AAKlD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAW,CAAC;AAMjD,KAAK,2BAA2B,GAAG,qBAAqB,GAAG;IACzD,mBAAmB,EAAE,eAAe,CAAC;CACtC,CAAC;AA4BF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAC9B,aAAa,eAAe,EAAE,KAC7B,OAAO,CAAC,2BAA2B,EAAE,CAuBvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"03-get-status.d.ts","sourceRoot":"","sources":["../../../../../../src/credential/status/v1.4.6/03-get-status.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"03-get-status.d.ts","sourceRoot":"","sources":["../../../../../../src/credential/status/v1.4.6/03-get-status.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAoB,CAAC;AAqBxD,eAAO,MAAM,SAAS,EAAE,aAAa,CAAC,WAAW,CAmBhD,CAAC"}
|
|
@@ -17,6 +17,7 @@ export declare const AllowedState: z.ZodObject<{
|
|
|
17
17
|
}, z.core.$catchall<z.ZodString>>;
|
|
18
18
|
export type AllowedState = z.infer<typeof AllowedState>;
|
|
19
19
|
declare const AuthenticSource: z.ZodObject<{
|
|
20
|
+
background_color: z.ZodOptional<z.ZodString>;
|
|
20
21
|
contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21
22
|
type: z.ZodString;
|
|
22
23
|
value: z.ZodString;
|
|
@@ -61,6 +62,7 @@ export declare const DigitalCredential: z.ZodObject<{
|
|
|
61
62
|
title_l10n_id: z.ZodString;
|
|
62
63
|
}, z.core.$strip>>;
|
|
63
64
|
authentic_sources: z.ZodArray<z.ZodObject<{
|
|
65
|
+
background_color: z.ZodOptional<z.ZodString>;
|
|
64
66
|
contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
65
67
|
type: z.ZodString;
|
|
66
68
|
value: z.ZodString;
|
|
@@ -201,6 +203,7 @@ export declare const DigitalCredentialsCatalogue: z.ZodObject<{
|
|
|
201
203
|
title_l10n_id: z.ZodString;
|
|
202
204
|
}, z.core.$strip>>;
|
|
203
205
|
authentic_sources: z.ZodArray<z.ZodObject<{
|
|
206
|
+
background_color: z.ZodOptional<z.ZodString>;
|
|
204
207
|
contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
205
208
|
type: z.ZodString;
|
|
206
209
|
value: z.ZodString;
|
package/lib/typescript/module/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DigitalCredentialsCatalogue.d.ts","sourceRoot":"","sources":["../../../../../src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,gBAAgB;;;;;iBAK3B,CAAC;AACH;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAE3E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAOhE,eAAO,MAAM,YAAY;;;iCAKF,CAAC;AAExB,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAyBxD,QAAA,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"DigitalCredentialsCatalogue.d.ts","sourceRoot":"","sources":["../../../../../src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,gBAAgB;;;;;iBAK3B,CAAC;AACH;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAE3E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAOhE,eAAO,MAAM,YAAY;;;iCAKF,CAAC;AAExB,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAyBxD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;iBAgBnB,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,gBAAgB;;;;;;;;;;iBAO3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAA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M,yBAAyB
|
|
1
|
+
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../src/credentials-catalogue/v1.0.0/mappers.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BrC,CAAC"}
|