Compare commits

...

5 Commits

4 changed files with 3 additions and 7 deletions

View File

@ -3,10 +3,6 @@ on:
push:
branches:
- main
- v5
- v6
- v7
- v8
pull_request:
branches:
- main

View File

@ -1,6 +1,6 @@
{
"name": "keycloakify",
"version": "9.4.2",
"version": "9.4.4",
"description": "Create Keycloak themes using React",
"repository": {
"type": "git",

View File

@ -84,7 +84,7 @@ export declare namespace KcContext {
description?: string;
attributes: Record<string, string>;
};
isAppInitiatedAction: boolean;
isAppInitiatedAction?: boolean;
messagesPerField: {
/**
* Return text if message for given field exists. Useful eg. to add css styles for fields with message.

View File

@ -25,7 +25,7 @@ export function keycloakify() {
urlPathname = (() => {
let out = resolvedConfig.env.BASE_URL;
if (out.startsWith(".") && command === "build") {
if (out.startsWith(".") && command === "build" && resolvedConfig.envPrefix?.includes("STORYBOOK_") !== true) {
throw new Error(
[
`BASE_URL=${out} is not supported By Keycloakify. Use an absolute URL instead.`,