@openid4vc/oauth2 0.3.0-alpha-20251029093110 → 0.3.0-alpha-20251029102217

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.mjs CHANGED
@@ -1954,6 +1954,7 @@ async function sendAuthorizationChallengeRequest(options) {
1954
1954
  scope: options.scope,
1955
1955
  redirect_uri: options.redirectUri,
1956
1956
  resource: options.resource,
1957
+ state: options.state,
1957
1958
  code_challenge: pkce?.codeChallenge,
1958
1959
  code_challenge_method: pkce?.codeChallengeMethod,
1959
1960
  presentation_during_issuance_session: options.presentationDuringIssuanceSession
@@ -2207,7 +2208,8 @@ var Oauth2Client = class {
2207
2208
  redirectUri: options.redirectUri,
2208
2209
  scope: options.scope,
2209
2210
  resource: options.resource,
2210
- dpop: options.dpop
2211
+ dpop: options.dpop,
2212
+ state: options.state
2211
2213
  });
2212
2214
  } catch (error) {
2213
2215
  if (!(error instanceof Oauth2ClientAuthorizationChallengeError && error.errorResponse.error === Oauth2ErrorCodes.RedirectToWeb)) throw error;
@@ -2235,7 +2237,8 @@ var Oauth2Client = class {
2235
2237
  scope: options.scope,
2236
2238
  pkceCodeVerifier: pkce?.codeVerifier,
2237
2239
  resource: options.resource,
2238
- dpop: options.dpop
2240
+ dpop: options.dpop,
2241
+ state: options.state
2239
2242
  });
2240
2243
  }
2241
2244
  sendAuthorizationChallengeRequest(options) {