@jolibox/types 1.1.19-beta.6 → 1.1.19

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/env.d.ts CHANGED
@@ -7,6 +7,7 @@ export interface Env {
7
7
  platform: string;
8
8
  system: string;
9
9
  lang: 'zh' | 'en';
10
+ adId?: string;
10
11
  };
11
12
  hostInfo?: {
12
13
  appName: string;
@@ -4,6 +4,8 @@ export declare const ON_I18N_CHANGED = "onI18nChanged";
4
4
  export declare const ON_MODAL_IFRAME_CLOSED = "onModalIframeClosed";
5
5
  export declare const ON_MODAL_IFRAME_LOADED = "onModalIframeLoaded";
6
6
  export declare const ON_INTERCEPT_SYSTEM_EXIT = "onInterceptSystemExit";
7
+ export declare const ON_INTERCEPT_BACK_PRESS = "onInterceptBackPress";
8
+ export declare const ON_BACK_PRESS = "onBackPress";
7
9
  export interface RumtimeEventParams {
8
10
  [DOCUMENT_READY]: (startTime: number) => void;
9
11
  [ON_LOGIN_COMPLETE]: (params: {
@@ -22,4 +24,10 @@ export interface RumtimeEventParams {
22
24
  [ON_INTERCEPT_SYSTEM_EXIT]: (params: {
23
25
  intercept: boolean;
24
26
  }) => void;
27
+ [ON_INTERCEPT_BACK_PRESS]: (params: {
28
+ intercept: boolean;
29
+ }) => void;
30
+ [ON_BACK_PRESS]: (params: {
31
+ intercept?: boolean;
32
+ }) => void;
25
33
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jolibox/types",
3
3
  "description": "This project is common types used for JS-SDk interfere & implement",
4
- "version": "1.1.19-beta.6",
4
+ "version": "1.1.19",
5
5
  "typings": "dist/index.d.ts",
6
6
  "license": "MIT",
7
7
  "files": [