@arkadiuminc/sdk 2.47.0 → 2.48.0
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.
|
@@ -27,6 +27,8 @@ interface UserProfileReaderContract {
|
|
|
27
27
|
interface AuthUIManagerContract {
|
|
28
28
|
openAuthRequest: ReturnType<typeof createStore<boolean>>;
|
|
29
29
|
openAuthForm(): Promise<void>;
|
|
30
|
+
closeAuthForm(): Promise<void>;
|
|
31
|
+
onOpenAuthForm(observer: any): void;
|
|
30
32
|
}
|
|
31
33
|
export declare function getAvatarLink(avatarName: string, extension: string): string;
|
|
32
34
|
export declare abstract class Auth {
|
|
@@ -41,7 +43,8 @@ export declare abstract class Auth {
|
|
|
41
43
|
abstract getUserProfile(): Promise<UserProfile | null>;
|
|
42
44
|
onAuthStatusChange(observer: any): () => void;
|
|
43
45
|
openAuthForm(): Promise<void>;
|
|
44
|
-
|
|
46
|
+
closeAuthForm(): Promise<void>;
|
|
47
|
+
onOpenAuthForm(observer: any): void | undefined;
|
|
45
48
|
getUserId(): Promise<string | undefined>;
|
|
46
49
|
}
|
|
47
50
|
export declare class AuthArena extends Auth {
|