component-shipinlv 1.1.21 → 1.1.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,8 @@ var VideoPublishAccountManageHomePage = function VideoPublishAccountManageHomePa
34
34
  favoritedCount: 0,
35
35
  videoCount: 0,
36
36
  created: 0,
37
- updated: 0
37
+ updated: 0,
38
+ proxyInfo: {}
38
39
  }),
39
40
  _useState2 = _slicedToArray(_useState, 2),
40
41
  accountDetail = _useState2[0],
@@ -89,7 +90,7 @@ var VideoPublishAccountManageHomePage = function VideoPublishAccountManageHomePa
89
90
  setOpenMenuItems = _useState4[1];
90
91
  var onOpen = function onOpen(url) {
91
92
  var _window$getBridge;
92
- (_window$getBridge = window.getBridge()) === null || _window$getBridge === void 0 || _window$getBridge.openVideoAccountBrowser(accountDetail.platform, '', accountDetail.accountId, url);
93
+ (_window$getBridge = window.getBridge()) === null || _window$getBridge === void 0 || _window$getBridge.openVideoAccountBrowser(accountDetail.platform, '', accountDetail.accountId, url, accountDetail.proxyInfo);
93
94
  Tool.toast('正在打开浏览器, 请稍等...', 8);
94
95
  };
95
96
  var onOpenMenuItems = function onOpenMenuItems(platform) {
@@ -135,7 +135,8 @@ var HomePageAccountList = function HomePageAccountList(_ref) {
135
135
  favoritedCount: 0,
136
136
  videoCount: 0,
137
137
  created: 0,
138
- updated: 0
138
+ updated: 0,
139
+ proxyInfo: {}
139
140
  });
140
141
  return;
141
142
  }
@@ -161,7 +161,7 @@ declare const Tool: {
161
161
  OsPathSeparator(): string;
162
162
  getTitleByPath(path: string): string;
163
163
  h5Pay(query: Pay.H5PayQuery): void;
164
- notification(type: "error" | "success" | "info" | "warning", message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
164
+ notification(type: "success" | "info" | "warning" | "error", message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
165
165
  notificationSuccess(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
166
166
  notificationError(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
167
167
  notificationWarning(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
@@ -47,6 +47,7 @@ declare namespace VideoPublishVideoAccount {
47
47
  videoCount: number;
48
48
  created: number;
49
49
  updated: number;
50
+ proxyInfo: Global.ProxyInfo;
50
51
  }
51
52
  interface Detail {
52
53
  id: number;
package/dist/window.d.ts CHANGED
@@ -19,7 +19,7 @@ declare interface Window{
19
19
  getChromiumPath: () => string;
20
20
  getClientUniqueKey: () => string;
21
21
 
22
- openVideoAccountBrowser: ( platform: string, subPlatform: string, accountId: string, url: string ) => void;
22
+ openVideoAccountBrowser: ( platform: string, subPlatform: string, accountId: string, url: string , proxyInfo?: Global.ProxyInfo ) => void;
23
23
  };
24
24
 
25
25
  getClientIdentity: () => Promise<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",