Update sessionData after /setup call

This commit is contained in:
nicholas
2024-01-03 15:46:50 +01:00
parent a597582764
commit c28c325aef
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
'@adyen/adyen-web': patch
---
update sessionData after /setup call

View File

@@ -67,6 +67,10 @@ class Session {
this.configuration = { ...response.configuration };
}
if (response.sessionData) {
this.updateSessionData(response.sessionData);
}
return response;
});
}