@pagopa/io-wallet-oauth2 1.4.2 → 1.5.1

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
@@ -1340,6 +1340,7 @@ async function createPushedAuthorizationRequest(options) {
1340
1340
  client_id: options.clientId,
1341
1341
  code_challenge: pkce.codeChallenge,
1342
1342
  code_challenge_method: pkce.codeChallengeMethod,
1343
+ ...options.issuerState !== void 0 ? { issuer_state: options.issuerState } : {},
1343
1344
  jti: options.jti ?? encodeToBase64Url6(
1344
1345
  await options.callbacks.generateRandom(RANDOM_BYTES_SIZE)
1345
1346
  ),