@openid4vc/openid4vci 0.3.0-alpha-20251031102233 → 0.3.0-alpha-20251031103301
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/dist/index.d.mts +12 -12
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContentType, Fetch, FetchHeaders, HttpMethod, InferOutputUnion, Oid4vcTsConfig, OrPromise, StringWithAutoCompletion, getGlobalConfig, setGlobalConfig } from "@openid4vc/utils";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _openid4vc_oauth28 from "@openid4vc/oauth2";
|
|
3
3
|
import { AuthorizationCodeGrantIdentifier, AuthorizationServerMetadata, CallbackContext, CreateAuthorizationRequestUrlOptions, CreateClientAttestationJwtOptions, CreatePkceReturn, DecodeJwtResult, Jwk, JwtSigner, JwtSignerWithJwk, PreAuthorizedCodeGrantIdentifier, RequestDpopOptions, ResourceRequestResponseNotOk, ResourceRequestResponseOk, RetrieveAuthorizationCodeAccessTokenOptions, RetrievePreAuthorizedCodeAccessTokenOptions, authorizationCodeGrantIdentifier, preAuthorizedCodeGrantIdentifier } from "@openid4vc/oauth2";
|
|
4
4
|
import * as zod0 from "zod";
|
|
5
5
|
import z from "zod";
|
|
@@ -3050,7 +3050,7 @@ interface ParseKeyAttestationJwtOptions {
|
|
|
3050
3050
|
declare function parseKeyAttestationJwt({
|
|
3051
3051
|
keyAttestationJwt,
|
|
3052
3052
|
use
|
|
3053
|
-
}: ParseKeyAttestationJwtOptions):
|
|
3053
|
+
}: ParseKeyAttestationJwtOptions): _openid4vc_oauth28.DecodeJwtResult<zod0.ZodObject<{
|
|
3054
3054
|
typ: zod0.ZodUnion<[zod0.ZodLiteral<"keyattestation+jwt">, zod0.ZodLiteral<"key-attestation+jwt">]>;
|
|
3055
3055
|
alg: zod0.ZodString;
|
|
3056
3056
|
kid: zod0.ZodOptional<zod0.ZodString>;
|
|
@@ -3324,7 +3324,7 @@ declare function verifyKeyAttestationJwt(options: VerifyKeyAttestationJwtOptions
|
|
|
3324
3324
|
status?: Record<string, any> | undefined;
|
|
3325
3325
|
trust_chain?: [string, ...string[]] | undefined;
|
|
3326
3326
|
};
|
|
3327
|
-
signer:
|
|
3327
|
+
signer: _openid4vc_oauth28.JwtSignerWithJwk;
|
|
3328
3328
|
}>;
|
|
3329
3329
|
//#endregion
|
|
3330
3330
|
//#region src/metadata/credential-issuer/credential-configurations.d.ts
|
|
@@ -3489,7 +3489,7 @@ declare class Openid4vciClient {
|
|
|
3489
3489
|
};
|
|
3490
3490
|
dpop: {
|
|
3491
3491
|
nonce: string | undefined;
|
|
3492
|
-
signer:
|
|
3492
|
+
signer: _openid4vc_oauth28.JwtSignerJwk;
|
|
3493
3493
|
} | undefined;
|
|
3494
3494
|
}>;
|
|
3495
3495
|
/**
|
|
@@ -3548,7 +3548,7 @@ declare class Openid4vciClient {
|
|
|
3548
3548
|
issuerMetadata: IssuerMetadataResult;
|
|
3549
3549
|
}): Promise<{
|
|
3550
3550
|
authorizationServer: string;
|
|
3551
|
-
accessTokenResponse:
|
|
3551
|
+
accessTokenResponse: _openid4vc_oauth28.AccessTokenResponse;
|
|
3552
3552
|
dpop?: RequestDpopOptions;
|
|
3553
3553
|
}>;
|
|
3554
3554
|
/**
|
|
@@ -3568,7 +3568,7 @@ declare class Openid4vciClient {
|
|
|
3568
3568
|
issuerMetadata: IssuerMetadataResult;
|
|
3569
3569
|
}): Promise<{
|
|
3570
3570
|
authorizationServer: string;
|
|
3571
|
-
accessTokenResponse:
|
|
3571
|
+
accessTokenResponse: _openid4vc_oauth28.AccessTokenResponse;
|
|
3572
3572
|
dpop?: RequestDpopOptions;
|
|
3573
3573
|
}>;
|
|
3574
3574
|
/**
|
|
@@ -3623,7 +3623,7 @@ declare class Openid4vciClient {
|
|
|
3623
3623
|
additionalRequestPayload,
|
|
3624
3624
|
accessToken,
|
|
3625
3625
|
dpop
|
|
3626
|
-
}: Pick<SendNotificationOptions, 'accessToken' | 'additionalRequestPayload' | 'issuerMetadata' | 'dpop' | 'notification'>): Promise<
|
|
3626
|
+
}: Pick<SendNotificationOptions, 'accessToken' | 'additionalRequestPayload' | 'issuerMetadata' | 'dpop' | 'notification'>): Promise<_openid4vc_oauth28.ResourceRequestResponseOk>;
|
|
3627
3627
|
}
|
|
3628
3628
|
//#endregion
|
|
3629
3629
|
//#region ../oauth2/src/common/jwk/z-jwk.d.ts
|
|
@@ -4341,7 +4341,7 @@ declare class Openid4vciIssuer {
|
|
|
4341
4341
|
status?: Record<string, any> | undefined;
|
|
4342
4342
|
trust_chain?: [string, ...string[]] | undefined;
|
|
4343
4343
|
};
|
|
4344
|
-
signer:
|
|
4344
|
+
signer: _openid4vc_oauth28.JwtSignerWithJwk;
|
|
4345
4345
|
keyAttestation: {
|
|
4346
4346
|
header: {
|
|
4347
4347
|
[x: string]: unknown;
|
|
@@ -4464,7 +4464,7 @@ declare class Openid4vciIssuer {
|
|
|
4464
4464
|
status?: Record<string, any> | undefined;
|
|
4465
4465
|
trust_chain?: [string, ...string[]] | undefined;
|
|
4466
4466
|
};
|
|
4467
|
-
signer:
|
|
4467
|
+
signer: _openid4vc_oauth28.JwtSignerWithJwk;
|
|
4468
4468
|
} | undefined;
|
|
4469
4469
|
}>;
|
|
4470
4470
|
/**
|
|
@@ -4595,7 +4595,7 @@ declare class Openid4vciIssuer {
|
|
|
4595
4595
|
status?: Record<string, any> | undefined;
|
|
4596
4596
|
trust_chain?: [string, ...string[]] | undefined;
|
|
4597
4597
|
};
|
|
4598
|
-
signer:
|
|
4598
|
+
signer: _openid4vc_oauth28.JwtSignerWithJwk;
|
|
4599
4599
|
}>;
|
|
4600
4600
|
/**
|
|
4601
4601
|
* @throws Oauth2ServerErrorResponseError - when validation of the credential request fails
|
|
@@ -4731,7 +4731,7 @@ declare class Openid4vciIssuer {
|
|
|
4731
4731
|
status?: Record<string, any> | undefined;
|
|
4732
4732
|
trust_chain?: [string, ...string[]] | undefined;
|
|
4733
4733
|
};
|
|
4734
|
-
signer:
|
|
4734
|
+
signer: _openid4vc_oauth28.JwtSignerWithJwk;
|
|
4735
4735
|
};
|
|
4736
4736
|
clientAttestationPop: {
|
|
4737
4737
|
header: {
|
|
@@ -4821,7 +4821,7 @@ declare class Openid4vciIssuer {
|
|
|
4821
4821
|
status?: Record<string, any> | undefined;
|
|
4822
4822
|
trust_chain?: [string, ...string[]] | undefined;
|
|
4823
4823
|
};
|
|
4824
|
-
signer:
|
|
4824
|
+
signer: _openid4vc_oauth28.JwtSignerWithJwk;
|
|
4825
4825
|
};
|
|
4826
4826
|
}>;
|
|
4827
4827
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openid4vc/openid4vci",
|
|
3
|
-
"version": "0.3.0-alpha-
|
|
3
|
+
"version": "0.3.0-alpha-20251031103301",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"zod": "^4.1.12",
|
|
24
|
-
"@openid4vc/oauth2": "0.3.0-alpha-
|
|
25
|
-
"@openid4vc/utils": "0.3.0-alpha-
|
|
24
|
+
"@openid4vc/oauth2": "0.3.0-alpha-20251031103301",
|
|
25
|
+
"@openid4vc/utils": "0.3.0-alpha-20251031103301"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"jose": "^6.1.0"
|