x-app-sdk 1.1.2 → 1.1.3

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/README.md CHANGED
@@ -20,12 +20,14 @@ yarn add x-app-sdk
20
20
  #### `configUIApp(config)`
21
21
  Cấu hình giao diện ứng dụng trong SuperApp.
22
22
  ```js
23
- import { configUIApp } from 'x-app-sdk';
23
+ import { configUIApp, IViewUiConfig } from 'x-app-sdk';
24
24
 
25
- const config = {
25
+ const config: IViewUiConfig = {
26
26
  headerTitle: 'Tên ứng dụng',
27
27
  headerColor: '#ffffff',
28
28
  headerTextColor: '#000000'
29
+ headerSubTitle: 'Mô tả ngắn ứng dụng'; // optional
30
+ headerIcon: 'Link icon trên header'; // optional
29
31
  };
30
32
 
31
33
  configUIApp(config).then(response => {
package/dist/index.d.ts CHANGED
@@ -143,6 +143,8 @@ export declare interface IViewUiConfig {
143
143
  headerColor?: string;
144
144
  headerTitle?: string;
145
145
  headerTextColor?: string;
146
+ headerSubTitle?: string;
147
+ headerIcon?: string;
146
148
  }
147
149
 
148
150
  export declare const listenNotifiactionEvent: (callback: (data: FlutterMessageResponse) => void, customSdk?: typeof fltSDK) => (() => void);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-app-sdk",
3
3
  "private": false,
4
- "version": "1.1.2",
4
+ "version": "1.1.3",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",