@sparkstudio/authentication-ui 1.0.4 → 1.0.5

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.css CHANGED
@@ -1,3 +1,3 @@
1
- @import "/node_modules/@sparkstudio/common-ui/dist/index.css";
1
+ @import "/node_modules/@sparkstudio/accounts-ui/dist/index.css";
2
2
 
3
3
  /*# sourceMappingURL=index.css.map */
package/dist/index.d.cts CHANGED
@@ -18,6 +18,11 @@ interface LoginButtonProps {
18
18
  }
19
19
  declare function LoginButton({ onSuccess }: LoginButtonProps): react_jsx_runtime.JSX.Element;
20
20
 
21
+ interface AuthenticationTestButtonProps {
22
+ onSuccess?: (tokenResponse: any) => void;
23
+ }
24
+ declare function AuthenticationTestButton({ onSuccess }: AuthenticationTestButtonProps): react_jsx_runtime.JSX.Element;
25
+
21
26
  /**
22
27
  * Represents an Auto-generated model for UserDTO.
23
28
  */
@@ -102,4 +107,4 @@ declare class SparkStudioAuthenticationSDK {
102
107
  constructor(baseUrl: string);
103
108
  }
104
109
 
105
- export { AuthenticatorProvider, type AuthenticatorProviderProps, EMPTY_GUID, type Guid, LoginButton, SparkStudioAuthenticationSDK, UserInfoCard, UserProvider, useUser };
110
+ export { AuthenticationTestButton, AuthenticatorProvider, type AuthenticatorProviderProps, EMPTY_GUID, type Guid, LoginButton, SparkStudioAuthenticationSDK, UserInfoCard, UserProvider, useUser };
package/dist/index.d.ts CHANGED
@@ -18,6 +18,11 @@ interface LoginButtonProps {
18
18
  }
19
19
  declare function LoginButton({ onSuccess }: LoginButtonProps): react_jsx_runtime.JSX.Element;
20
20
 
21
+ interface AuthenticationTestButtonProps {
22
+ onSuccess?: (tokenResponse: any) => void;
23
+ }
24
+ declare function AuthenticationTestButton({ onSuccess }: AuthenticationTestButtonProps): react_jsx_runtime.JSX.Element;
25
+
21
26
  /**
22
27
  * Represents an Auto-generated model for UserDTO.
23
28
  */
@@ -102,4 +107,4 @@ declare class SparkStudioAuthenticationSDK {
102
107
  constructor(baseUrl: string);
103
108
  }
104
109
 
105
- export { AuthenticatorProvider, type AuthenticatorProviderProps, EMPTY_GUID, type Guid, LoginButton, SparkStudioAuthenticationSDK, UserInfoCard, UserProvider, useUser };
110
+ export { AuthenticationTestButton, AuthenticatorProvider, type AuthenticatorProviderProps, EMPTY_GUID, type Guid, LoginButton, SparkStudioAuthenticationSDK, UserInfoCard, UserProvider, useUser };