@openid4vc/openid4vp 0.3.0-alpha-20250511130123 → 0.3.0-alpha-20250511195407
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1506,8 +1506,8 @@ async function createOpenid4vpAuthorizationResponse(options) {
|
|
|
1506
1506
|
jweEncryptor: jarm?.encryption && (supportedJarmMetadata.type === "encrypt" || supportedJarmMetadata.type === "sign_encrypt") ? {
|
|
1507
1507
|
method: "jwk",
|
|
1508
1508
|
publicJwk: clientMetaJwks.encJwk,
|
|
1509
|
-
apu: jarm.encryption
|
|
1510
|
-
apv: authorizationRequestPayload.nonce,
|
|
1509
|
+
apu: jarm.encryption.nonce ? (0, import_utils16.encodeToBase64Url)(jarm.encryption.nonce) : void 0,
|
|
1510
|
+
apv: (0, import_utils16.encodeToBase64Url)(authorizationRequestPayload.nonce),
|
|
1511
1511
|
alg: supportedJarmMetadata.client_metadata.authorization_encrypted_response_alg,
|
|
1512
1512
|
enc: supportedJarmMetadata.client_metadata.authorization_encrypted_response_enc
|
|
1513
1513
|
} : void 0,
|