@arkadiuminc/sdk 2.70.3 → 2.70.4
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.
|
@@ -34,7 +34,8 @@ interface AuthUIManagerContract {
|
|
|
34
34
|
export declare function getAvatarLink(avatarName: string, extension: string): string;
|
|
35
35
|
interface UserIdentity {
|
|
36
36
|
eagleId: string | undefined;
|
|
37
|
-
|
|
37
|
+
arkUserId: string;
|
|
38
|
+
arkSessionId: string;
|
|
38
39
|
}
|
|
39
40
|
export declare abstract class Auth {
|
|
40
41
|
private backendApi;
|
|
@@ -54,9 +55,11 @@ export declare abstract class Auth {
|
|
|
54
55
|
}
|
|
55
56
|
export declare class AuthArena extends Auth {
|
|
56
57
|
private persistence;
|
|
58
|
+
private arkSessionId?;
|
|
57
59
|
constructor(backendApi: Backend, host: IHost, rpcProvider: RpcProvider, persistence: PersistenceArena);
|
|
58
60
|
getUserProfile(): Promise<UserProfile | null>;
|
|
59
61
|
getUserIdentity(): Promise<UserIdentity>;
|
|
62
|
+
private getOrCreateArkSessionId;
|
|
60
63
|
}
|
|
61
64
|
export declare class AuthGame extends Auth {
|
|
62
65
|
private rpcProvider;
|