@jolibox/types 1.1.13-beta.1 → 1.1.13-beta.10
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/commands/api.d.ts
CHANGED
|
@@ -5,12 +5,13 @@ export declare const API_GET_SYSTEM_INFO_SYNC = "API.getSystemInfoSync";
|
|
|
5
5
|
export declare const API_ENV = "API.env";
|
|
6
6
|
export interface ISystemInfo {
|
|
7
7
|
system: string;
|
|
8
|
-
platform:
|
|
8
|
+
platform: 'h5' | 'android' | 'ios';
|
|
9
9
|
brand?: string;
|
|
10
10
|
version: string;
|
|
11
11
|
appName?: string;
|
|
12
12
|
SDKVersion?: string;
|
|
13
13
|
pixelRatio: number;
|
|
14
|
+
language: string;
|
|
14
15
|
}
|
|
15
16
|
export interface APICommandParams {
|
|
16
17
|
[API_GET_SYSTEM_INFO]: () => Promise<StandardResponse<ISystemInfo>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type TrackEvent = 'jsSdkBegin' | 'onBeforeExit' | 'bootstrapModuleBeginToLoad' | 'bootstrapModuleLoaded' | 'implModuleBeginToLoad' | 'implModuleLoaded' | 'onDocumentReady' | 'joliboxServiceReady' | 'apiInvoked' | 'joliboxSpeedAnalysis' | 'joliboxNetRequestResult' | 'globalJsError' | 'CallRuntimeLoadFinished' | 'AdBreakJumpOut' | 'AdBreakHide' | 'CallAdsInit' | 'LoadAdsenseCompleted' | 'CallAdConfig' | 'PreventAdsCheating' | 'CallShowAdFn' | 'CallAdBreak' | 'CallAdUnit' | 'CallAdBreakDone' | 'CallBeforeAd' | 'CallAfterAd' | 'AdSenseUnitStatusChanged' | 'OpenGame' | 'PlayGame' | 'CloseGame' | 'LevelFinished' | 'TaskFinished' | 'UseGameItem' | 'LevelUpgrade' | 'HistoryUserLevel' | 'HistoryUserScore' | 'GameFCP' | 'GameLCP' | 'GameTTFB';
|
|
1
|
+
export type TrackEvent = 'jsSdkBegin' | 'onBeforeExit' | 'bootstrapModuleBeginToLoad' | 'bootstrapModuleLoaded' | 'implModuleBeginToLoad' | 'implModuleLoaded' | 'onDocumentReady' | 'joliboxServiceReady' | 'apiInvoked' | 'joliboxSpeedAnalysis' | 'joliboxNetRequestResult' | 'globalJsError' | 'CallRuntimeLoadFinished' | 'AdBreakJumpOut' | 'AdBreakHide' | 'CallAdsInit' | 'LoadAdsenseCompleted' | 'CallAdConfig' | 'PreventAdsCheating' | 'CallShowAdFn' | 'CallAdBreak' | 'CallAdUnit' | 'CallAdBreakDone' | 'CallBeforeAd' | 'CallAfterAd' | 'CallAdBreakTimeout' | 'AdSenseUnitStatusChanged' | 'OpenGame' | 'PlayGame' | 'CloseGame' | 'LevelFinished' | 'TaskFinished' | 'UseGameItem' | 'LevelUpgrade' | 'HistoryUserLevel' | 'HistoryUserScore' | 'GameFCP' | 'GameLCP' | 'GameTTFB';
|
|
2
2
|
export type PerformanceType = 'bootstrapModuleLoaded' | 'implementModuleLoaded' | 'joliboxGameServiceReady';
|
|
3
3
|
export declare const REPORT_SYSTEM_TIMELINE = "ReportSDK.traceSystemTimeline";
|
|
4
4
|
export declare const REPORT_SYSTEM_LOG = "ReportSDK.traceSystem";
|
package/package.json
CHANGED