@openid4vc/openid4vci 0.4.4-alpha-20251229125818 → 0.4.4-alpha-20260105092804
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 +4 -4
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_oauth20 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";
|
|
@@ -2680,7 +2680,7 @@ interface ParseKeyAttestationJwtOptions {
|
|
|
2680
2680
|
declare function parseKeyAttestationJwt({
|
|
2681
2681
|
keyAttestationJwt,
|
|
2682
2682
|
use
|
|
2683
|
-
}: ParseKeyAttestationJwtOptions):
|
|
2683
|
+
}: ParseKeyAttestationJwtOptions): _openid4vc_oauth20.DecodeJwtResult<zod0.ZodObject<{
|
|
2684
2684
|
typ: zod0.ZodUnion<[zod0.ZodLiteral<"keyattestation+jwt">, zod0.ZodLiteral<"key-attestation+jwt">]>;
|
|
2685
2685
|
alg: zod0.ZodString;
|
|
2686
2686
|
kid: zod0.ZodOptional<zod0.ZodString>;
|
|
@@ -2954,7 +2954,7 @@ declare function verifyKeyAttestationJwt(options: VerifyKeyAttestationJwtOptions
|
|
|
2954
2954
|
status?: Record<string, any> | undefined;
|
|
2955
2955
|
trust_chain?: [string, ...string[]] | undefined;
|
|
2956
2956
|
};
|
|
2957
|
-
signer:
|
|
2957
|
+
signer: _openid4vc_oauth20.JwtSignerWithJwk;
|
|
2958
2958
|
}>;
|
|
2959
2959
|
//#endregion
|
|
2960
2960
|
//#region src/metadata/credential-issuer/credential-configurations.d.ts
|
|
@@ -3118,7 +3118,7 @@ declare class Openid4vciClient {
|
|
|
3118
3118
|
};
|
|
3119
3119
|
dpop: {
|
|
3120
3120
|
nonce: string | undefined;
|
|
3121
|
-
signer:
|
|
3121
|
+
signer: _openid4vc_oauth20.JwtSignerJwk;
|
|
3122
3122
|
} | undefined;
|
|
3123
3123
|
}>;
|
|
3124
3124
|
/**
|
|
@@ -3177,7 +3177,7 @@ declare class Openid4vciClient {
|
|
|
3177
3177
|
issuerMetadata: IssuerMetadataResult;
|
|
3178
3178
|
}): Promise<{
|
|
3179
3179
|
authorizationServer: string;
|
|
3180
|
-
accessTokenResponse:
|
|
3180
|
+
accessTokenResponse: _openid4vc_oauth20.AccessTokenResponse;
|
|
3181
3181
|
dpop?: RequestDpopOptions;
|
|
3182
3182
|
}>;
|
|
3183
3183
|
/**
|
|
@@ -3197,7 +3197,7 @@ declare class Openid4vciClient {
|
|
|
3197
3197
|
issuerMetadata: IssuerMetadataResult;
|
|
3198
3198
|
}): Promise<{
|
|
3199
3199
|
authorizationServer: string;
|
|
3200
|
-
accessTokenResponse:
|
|
3200
|
+
accessTokenResponse: _openid4vc_oauth20.AccessTokenResponse;
|
|
3201
3201
|
dpop?: RequestDpopOptions;
|
|
3202
3202
|
}>;
|
|
3203
3203
|
/**
|
|
@@ -3252,7 +3252,7 @@ declare class Openid4vciClient {
|
|
|
3252
3252
|
additionalRequestPayload,
|
|
3253
3253
|
accessToken,
|
|
3254
3254
|
dpop
|
|
3255
|
-
}: Pick<SendNotificationOptions, 'accessToken' | 'additionalRequestPayload' | 'issuerMetadata' | 'dpop' | 'notification'>): Promise<
|
|
3255
|
+
}: Pick<SendNotificationOptions, 'accessToken' | 'additionalRequestPayload' | 'issuerMetadata' | 'dpop' | 'notification'>): Promise<_openid4vc_oauth20.ResourceRequestResponseOk>;
|
|
3256
3256
|
}
|
|
3257
3257
|
//#endregion
|
|
3258
3258
|
//#region ../oauth2/src/common/jwk/z-jwk.d.ts
|
|
@@ -3938,7 +3938,7 @@ declare class Openid4vciIssuer {
|
|
|
3938
3938
|
status?: Record<string, any> | undefined;
|
|
3939
3939
|
trust_chain?: [string, ...string[]] | undefined;
|
|
3940
3940
|
};
|
|
3941
|
-
signer:
|
|
3941
|
+
signer: _openid4vc_oauth20.JwtSignerWithJwk;
|
|
3942
3942
|
keyAttestation: {
|
|
3943
3943
|
header: {
|
|
3944
3944
|
[x: string]: unknown;
|
|
@@ -4061,7 +4061,7 @@ declare class Openid4vciIssuer {
|
|
|
4061
4061
|
status?: Record<string, any> | undefined;
|
|
4062
4062
|
trust_chain?: [string, ...string[]] | undefined;
|
|
4063
4063
|
};
|
|
4064
|
-
signer:
|
|
4064
|
+
signer: _openid4vc_oauth20.JwtSignerWithJwk;
|
|
4065
4065
|
} | undefined;
|
|
4066
4066
|
}>;
|
|
4067
4067
|
/**
|
|
@@ -4192,7 +4192,7 @@ declare class Openid4vciIssuer {
|
|
|
4192
4192
|
status?: Record<string, any> | undefined;
|
|
4193
4193
|
trust_chain?: [string, ...string[]] | undefined;
|
|
4194
4194
|
};
|
|
4195
|
-
signer:
|
|
4195
|
+
signer: _openid4vc_oauth20.JwtSignerWithJwk;
|
|
4196
4196
|
}>;
|
|
4197
4197
|
/**
|
|
4198
4198
|
* @throws Oauth2ServerErrorResponseError - when validation of the credential request fails
|
|
@@ -4328,7 +4328,7 @@ declare class Openid4vciIssuer {
|
|
|
4328
4328
|
status?: Record<string, any> | undefined;
|
|
4329
4329
|
trust_chain?: [string, ...string[]] | undefined;
|
|
4330
4330
|
};
|
|
4331
|
-
signer:
|
|
4331
|
+
signer: _openid4vc_oauth20.JwtSignerWithJwk;
|
|
4332
4332
|
};
|
|
4333
4333
|
clientAttestationPop: {
|
|
4334
4334
|
header: {
|
|
@@ -4418,7 +4418,7 @@ declare class Openid4vciIssuer {
|
|
|
4418
4418
|
status?: Record<string, any> | undefined;
|
|
4419
4419
|
trust_chain?: [string, ...string[]] | undefined;
|
|
4420
4420
|
};
|
|
4421
|
-
signer:
|
|
4421
|
+
signer: _openid4vc_oauth20.JwtSignerWithJwk;
|
|
4422
4422
|
};
|
|
4423
4423
|
}>;
|
|
4424
4424
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openid4vc/openid4vci",
|
|
3
|
-
"version": "0.4.4-alpha-
|
|
3
|
+
"version": "0.4.4-alpha-20260105092804",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"directory": "packages/openid4vci"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"zod": "^4.
|
|
24
|
-
"@openid4vc/oauth2": "0.4.4-alpha-
|
|
25
|
-
"@openid4vc/utils": "0.4.4-alpha-
|
|
23
|
+
"zod": "^4.3.5",
|
|
24
|
+
"@openid4vc/oauth2": "0.4.4-alpha-20260105092804",
|
|
25
|
+
"@openid4vc/utils": "0.4.4-alpha-20260105092804"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"jose": "^6.1.3"
|