@gjzq/sdk 1.6.0-beta.1 → 1.6.0-beta.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -397,7 +397,7 @@ type FundAccountLoginParams = {
397
397
  */
398
398
  declare function fundAccountLogin(param: FundAccountLoginParams): Promise<HttpResponse>;
399
399
 
400
- declare function getAppId(): Promise<string | undefined>;
400
+ declare function getAppId(): Promise<string>;
401
401
 
402
402
  /**
403
403
  * 获取AppVersion
@@ -990,6 +990,7 @@ declare function ready(): Promise<readyResult>;
990
990
  type PortfolioParams = {
991
991
  stockCode: string;
992
992
  codeType?: number;
993
+ stockName?: string;
993
994
  };
994
995
  /**
995
996
  * 添加股票至自选股 4020
@@ -1109,13 +1110,14 @@ declare function syncLoginStatusBetweenNativeAndServer(syncLoginTypes?: LoginTyp
1109
1110
  type TTrackEvent = {
1110
1111
  event_name: string;
1111
1112
  page_name: string;
1112
- element_name: string;
1113
- module_name: string;
1113
+ element_name?: string;
1114
+ module_name?: string;
1114
1115
  eventid?: string | number;
1115
1116
  from_page?: string;
1116
1117
  product_code?: string;
1117
1118
  location?: string;
1118
1119
  remarks?: string;
1120
+ [key: string]: any;
1119
1121
  };
1120
1122
  /**
1121
1123
  * trackEvent 功能组件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjzq/sdk",
3
- "version": "1.6.0-beta.1",
3
+ "version": "1.6.0-beta.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "es/index.mjs",
6
6
  "types": "./dist/index.d.ts",