Skip to content

Commit 6bdac9a

Browse files
committed
add additional reload prop
1 parent 2b37d01 commit 6bdac9a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@spring-media/ps-web-apis",
3-
"version": "1.10.26",
3+
"version": "1.11.0",
44
"description": "",
55
"main": "dist/ps-web-apis.cjs.js",
66
"module": "dist/ps-web-apis.esm.js",

src/ps-web-apis.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ export interface WhoamiV1 {
205205
* @param {String} config.props.template - valid choices are "register" and "login"
206206
* @param {String} config.props.variant - variant of the brand that should be shown e.g bild or welt
207207
* @param {boolean} [config.props.abortable] - user can leave auth screen if true (not yet implemented)
208+
* @param {boolean} [config.props.reloadOnNewAuth] - reload page if true after a new login or registration / no reload on already logged in user
208209
* @param {String} [config.props.loginHeadline]
209210
* @param {String} [config.props.registerHeadline]
210211
* @param {String} [config.props.loginCta]
@@ -248,6 +249,7 @@ export type WonderwallProps = {
248249
template: "login" | "register";
249250
variant: WonderwallVariant;
250251
abortable?: boolean;
252+
reloadOnNewAuth?: boolean;
251253
loginHeadline?: string;
252254
registerHeadline?: string;
253255
loginCta?: string;

0 commit comments

Comments
 (0)