@sphereon/oid4vci-client 0.19.1-fix.197 → 0.19.1-fix.203
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.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -2292,6 +2292,9 @@ ${JSON.stringify(response.errorBody)}`);
|
|
|
2292
2292
|
this._state.accessTokenResponse = response.successBody;
|
|
2293
2293
|
this._state.dpopResponseParams = response.params;
|
|
2294
2294
|
this._state.accessToken = response.successBody.access_token;
|
|
2295
|
+
if (response.successBody.c_nonce) {
|
|
2296
|
+
this._state.cachedCNonce = response.successBody.c_nonce;
|
|
2297
|
+
}
|
|
2295
2298
|
}
|
|
2296
2299
|
return {
|
|
2297
2300
|
...this.accessTokenResponse,
|
|
@@ -2805,6 +2808,9 @@ ${JSON.stringify(response.errorBody)}`);
|
|
|
2805
2808
|
this._state.accessTokenResponse = response.successBody;
|
|
2806
2809
|
this._state.dpopResponseParams = response.params;
|
|
2807
2810
|
this._state.accessToken = response.successBody.access_token;
|
|
2811
|
+
if (response.successBody.c_nonce) {
|
|
2812
|
+
this._state.cachedCNonce = response.successBody.c_nonce;
|
|
2813
|
+
}
|
|
2808
2814
|
}
|
|
2809
2815
|
return {
|
|
2810
2816
|
...this.accessTokenResponse,
|