@arkadiuminc/sdk 2.70.2 → 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.
|
@@ -37,7 +37,7 @@ export declare class AnalyticsApi implements AnalyticsApiContract {
|
|
|
37
37
|
private configuredProviders;
|
|
38
38
|
private disabledProviders;
|
|
39
39
|
private info;
|
|
40
|
-
private
|
|
40
|
+
private _adBlockerPopupEngagementGameSlug;
|
|
41
41
|
providersTypes: typeof AnalyticsProviderType;
|
|
42
42
|
constructor(host: IHost, rpcProvider: RpcProvider, debugProvider: DebugProvider, auth: AuthArena, persistence: PersistenceArena);
|
|
43
43
|
getEnvVersion(): Promise<EnvironmentVersion>;
|
|
@@ -52,7 +52,7 @@ export declare class AnalyticsApi implements AnalyticsApiContract {
|
|
|
52
52
|
enableProvider(providerType: AnalyticsProviderType): void;
|
|
53
53
|
disableProvider(providerType: AnalyticsProviderType): void;
|
|
54
54
|
markAsEngagedWithAdBlockerPopup(): Promise<void>;
|
|
55
|
-
private
|
|
55
|
+
private getAdBlockerPopupEngagement;
|
|
56
56
|
clearProviders(): void;
|
|
57
57
|
}
|
|
58
58
|
export declare class AnalyticsApiProxy implements AnalyticsApiContract {
|
|
@@ -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;
|