@openid4vc/oauth2 0.3.0-alpha-20250315153126 → 0.3.0-alpha-20250318163628

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 CHANGED
@@ -8480,8 +8480,8 @@ declare function verifyResourceRequest(options: VerifyResourceRequestOptions): P
8480
8480
  'x5t#S256': z.ZodOptional<z.ZodString>;
8481
8481
  x5u: z.ZodOptional<z.ZodString>;
8482
8482
  }, z.ZodTypeAny, "passthrough"> | undefined;
8483
- scheme: any;
8484
- accessToken: any;
8483
+ scheme: SupportedAuthenticationScheme;
8484
+ accessToken: string;
8485
8485
  authorizationServer: string;
8486
8486
  }>;
8487
8487
 
@@ -9801,7 +9801,7 @@ declare class Oauth2Client {
9801
9801
  dpop: RequestDpopOptions | undefined;
9802
9802
  } | {
9803
9803
  dpop: {
9804
- nonce: any;
9804
+ nonce: string | null;
9805
9805
  signer: JwtSignerJwk;
9806
9806
  } | undefined;
9807
9807
  authorizationRequestUrl: string;
@@ -9810,7 +9810,7 @@ declare class Oauth2Client {
9810
9810
  sendAuthorizationChallengeRequest(options: Omit<SendAuthorizationChallengeRequestOptions, 'callbacks'>): Promise<{
9811
9811
  pkce: CreatePkceReturn | undefined;
9812
9812
  dpop: {
9813
- nonce: any;
9813
+ nonce: string | undefined;
9814
9814
  signer: JwtSignerJwk;
9815
9815
  } | undefined;
9816
9816
  authorizationChallengeResponse: z.objectOutputType<{
@@ -10573,8 +10573,8 @@ declare class Oauth2ResourceServer {
10573
10573
  'x5t#S256': z.ZodOptional<z.ZodString>;
10574
10574
  x5u: z.ZodOptional<z.ZodString>;
10575
10575
  }, z.ZodTypeAny, "passthrough"> | undefined;
10576
- scheme: any;
10577
- accessToken: any;
10576
+ scheme: SupportedAuthenticationScheme;
10577
+ accessToken: string;
10578
10578
  authorizationServer: string;
10579
10579
  }>;
10580
10580
  }
package/dist/index.d.ts CHANGED
@@ -8480,8 +8480,8 @@ declare function verifyResourceRequest(options: VerifyResourceRequestOptions): P
8480
8480
  'x5t#S256': z.ZodOptional<z.ZodString>;
8481
8481
  x5u: z.ZodOptional<z.ZodString>;
8482
8482
  }, z.ZodTypeAny, "passthrough"> | undefined;
8483
- scheme: any;
8484
- accessToken: any;
8483
+ scheme: SupportedAuthenticationScheme;
8484
+ accessToken: string;
8485
8485
  authorizationServer: string;
8486
8486
  }>;
8487
8487
 
@@ -9801,7 +9801,7 @@ declare class Oauth2Client {
9801
9801
  dpop: RequestDpopOptions | undefined;
9802
9802
  } | {
9803
9803
  dpop: {
9804
- nonce: any;
9804
+ nonce: string | null;
9805
9805
  signer: JwtSignerJwk;
9806
9806
  } | undefined;
9807
9807
  authorizationRequestUrl: string;
@@ -9810,7 +9810,7 @@ declare class Oauth2Client {
9810
9810
  sendAuthorizationChallengeRequest(options: Omit<SendAuthorizationChallengeRequestOptions, 'callbacks'>): Promise<{
9811
9811
  pkce: CreatePkceReturn | undefined;
9812
9812
  dpop: {
9813
- nonce: any;
9813
+ nonce: string | undefined;
9814
9814
  signer: JwtSignerJwk;
9815
9815
  } | undefined;
9816
9816
  authorizationChallengeResponse: z.objectOutputType<{
@@ -10573,8 +10573,8 @@ declare class Oauth2ResourceServer {
10573
10573
  'x5t#S256': z.ZodOptional<z.ZodString>;
10574
10574
  x5u: z.ZodOptional<z.ZodString>;
10575
10575
  }, z.ZodTypeAny, "passthrough"> | undefined;
10576
- scheme: any;
10577
- accessToken: any;
10576
+ scheme: SupportedAuthenticationScheme;
10577
+ accessToken: string;
10578
10578
  authorizationServer: string;
10579
10579
  }>;
10580
10580
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openid4vc/oauth2",
3
- "version": "0.3.0-alpha-20250315153126",
3
+ "version": "0.3.0-alpha-20250318163628",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "zod": "^3.24.1",
24
- "@openid4vc/utils": "0.3.0-alpha-20250315153126"
24
+ "@openid4vc/utils": "0.3.0-alpha-20250318163628"
25
25
  },
26
26
  "devDependencies": {
27
27
  "jose": "^5.9.6"