zego-zim-web
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -340,6 +340,18 @@ export interface ZIMError { | ||
type: ZIMMessageType.Image | ZIMMessageType.File | ZIMMessageType.Audio | ZIMMessageType.Video; | ||
fileLocalPath?: string; | ||
/** | ||
* Required when sending local file media message. | ||
*/ | ||
fileLocalPath?: File; | ||
/** | ||
* Required when sending remote file media message. | ||
*/ | ||
fileDownloadUrl?: string; | ||
fileName?: string; | ||
fileSize?: number; | ||
/** | ||
* Required for audio file. | ||
*/ | ||
audioDuration?: number; | ||
/** | ||
* Required for video file. | ||
*/ | ||
videoDuration?: number; | ||
} | ||
@@ -360,3 +372,3 @@ export interface ZIMMessage extends ZIMMessageBase { | ||
type: ZIMMessageType.Image | ZIMMessageType.File | ZIMMessageType.Audio | ZIMMessageType.Video; | ||
fileLocalPath: string; | ||
fileLocalPath: File; | ||
fileDownloadUrl: string; | ||
@@ -654,6 +666,2 @@ fileName: string; | ||
export default class ZIM { | ||
private static _instatance; | ||
private engine; | ||
private constructor(); | ||
private static TAG; | ||
static getVersion(): string; | ||
@@ -660,0 +668,0 @@ /** |
{ | ||
"name": "zego-zim-web", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "ZEGO ZIM SDK for Web", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
805650
810
0