@ray-js/ray-ipc-player 2.1.1-beta.3 → 2.1.1

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.
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  interface ErrorOverlayProps {
3
3
  isError: boolean;
4
4
  videoErrCode: string | number;
5
- borderRadius: number;
5
+ borderRadius: number | string;
6
6
  brandColor: string;
7
7
  getClassName: (className: string) => string;
8
8
  renderErrIcon?: () => React.ReactNode;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  interface LoadingOverlayProps {
3
3
  isLoading: boolean;
4
4
  loadingText?: string;
5
- borderRadius: number;
5
+ borderRadius: number | string;
6
6
  getClassName: (className: string) => string;
7
7
  }
8
8
  declare const LoadingOverlay: React.FC<LoadingOverlayProps>;
@@ -6,7 +6,7 @@ import Strings from '../i18n';
6
6
  * 获取错误码对应文本
7
7
  */
8
8
  export const getErrCodeText = code => {
9
- return String.getLang("ipc_player_error_".concat(code));
9
+ return Strings.getLang("ipc_player_error_".concat(code));
10
10
  };
11
11
 
12
12
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ray-ipc-player",
3
- "version": "2.1.1-beta.3",
3
+ "version": "2.1.1",
4
4
  "description": "ray小程序播放器",
5
5
  "keywords": [
6
6
  "tuya-miniapp",