@openid4vc/oauth2 0.3.0-alpha-20251110114129 → 0.3.0-alpha-20251111183603

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.cts CHANGED
@@ -1427,9 +1427,9 @@ declare const zAuthorizationChallengeRequest: z$1.ZodObject<{
1427
1427
  client_id: z$1.ZodOptional<z$1.ZodString>;
1428
1428
  auth_session: z$1.ZodOptional<z$1.ZodString>;
1429
1429
  presentation_during_issuance_session: z$1.ZodOptional<z$1.ZodString>;
1430
+ scope: z$1.ZodOptional<z$1.ZodString>;
1430
1431
  redirect_uri: z$1.ZodOptional<z$1.ZodURL>;
1431
1432
  resource: z$1.ZodOptional<z$1.ZodString>;
1432
- scope: z$1.ZodOptional<z$1.ZodString>;
1433
1433
  state: z$1.ZodOptional<z$1.ZodString>;
1434
1434
  issuer_state: z$1.ZodOptional<z$1.ZodString>;
1435
1435
  dpop_jkt: z$1.ZodOptional<z$1.ZodBase64URL>;
@@ -2723,7 +2723,7 @@ declare class Oauth2AuthorizationServer {
2723
2723
  /**
2724
2724
  * Parse a pushed authorization request
2725
2725
  */
2726
- parsePushedAuthorizationRequest(options: ParsePushedAuthorizationRequestOptions): Promise<ParsePushedAuthorizationRequestResult>;
2726
+ parsePushedAuthorizationRequest(options: Omit<ParsePushedAuthorizationRequestOptions, 'callbacks'>): Promise<ParsePushedAuthorizationRequestResult>;
2727
2727
  /**
2728
2728
  * Verify pushed authorization request.
2729
2729
  *
package/dist/index.d.mts CHANGED
@@ -1427,9 +1427,9 @@ declare const zAuthorizationChallengeRequest: z$1.ZodObject<{
1427
1427
  client_id: z$1.ZodOptional<z$1.ZodString>;
1428
1428
  auth_session: z$1.ZodOptional<z$1.ZodString>;
1429
1429
  presentation_during_issuance_session: z$1.ZodOptional<z$1.ZodString>;
1430
+ scope: z$1.ZodOptional<z$1.ZodString>;
1430
1431
  redirect_uri: z$1.ZodOptional<z$1.ZodURL>;
1431
1432
  resource: z$1.ZodOptional<z$1.ZodString>;
1432
- scope: z$1.ZodOptional<z$1.ZodString>;
1433
1433
  state: z$1.ZodOptional<z$1.ZodString>;
1434
1434
  issuer_state: z$1.ZodOptional<z$1.ZodString>;
1435
1435
  dpop_jkt: z$1.ZodOptional<z$1.ZodBase64URL>;
@@ -2723,7 +2723,7 @@ declare class Oauth2AuthorizationServer {
2723
2723
  /**
2724
2724
  * Parse a pushed authorization request
2725
2725
  */
2726
- parsePushedAuthorizationRequest(options: ParsePushedAuthorizationRequestOptions): Promise<ParsePushedAuthorizationRequestResult>;
2726
+ parsePushedAuthorizationRequest(options: Omit<ParsePushedAuthorizationRequestOptions, 'callbacks'>): Promise<ParsePushedAuthorizationRequestResult>;
2727
2727
  /**
2728
2728
  * Verify pushed authorization request.
2729
2729
  *
package/dist/index.mjs CHANGED
@@ -2075,7 +2075,10 @@ var Oauth2AuthorizationServer = class {
2075
2075
  * Parse a pushed authorization request
2076
2076
  */
2077
2077
  async parsePushedAuthorizationRequest(options) {
2078
- return await parsePushedAuthorizationRequest(options);
2078
+ return await parsePushedAuthorizationRequest({
2079
+ ...options,
2080
+ callbacks: this.options.callbacks
2081
+ });
2079
2082
  }
2080
2083
  /**
2081
2084
  * Verify pushed authorization request.