omikit-plugin 3.2.43 → 3.2.44

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omikit-plugin",
3
- "version": "3.2.43",
3
+ "version": "3.2.44",
4
4
  "description": "Omikit Plugin by ViHAT",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
package/src/omikit.tsx CHANGED
@@ -257,3 +257,4 @@ export const OmiCallEvent = {
257
257
  onCallQuality: 'CALL_QUALITY',
258
258
  onAudioChange: 'AUDIO_CHANGE',
259
259
  };
260
+
@@ -29,6 +29,19 @@ declare module 'omikit-plugin' {
29
29
  export function transferCall(data: any): Promise<boolean>;
30
30
 
31
31
  export const omiEmitter: NativeEventEmitter;
32
+
33
+ export enum OmiCallState {
34
+ unknown,
35
+ calling,
36
+ incoming,
37
+ early,
38
+ connecting,
39
+ confirmed,
40
+ disconnected,
41
+ }
42
+
43
+
44
+
32
45
 
33
46
  export const OmiCallEvent: {
34
47
  onCallStateChanged: string;