omikit-plugin 3.2.42 → 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/lib/commonjs/types/index.d.js +2 -0
- package/lib/commonjs/types/index.d.js.map +1 -0
- package/lib/module/types/index.d.js +2 -0
- package/lib/module/types/index.d.js.map +1 -0
- package/package.json +2 -2
- package/src/omikit.tsx +1 -0
- package/src/types/{omikit-plugin.d.ts → index.d.ts} +13 -0
- package/lib/commonjs/types/omikit-plugin.d.js +0 -2
- package/lib/commonjs/types/omikit-plugin.d.js.map +0 -1
- package/lib/module/types/omikit-plugin.d.js +0 -2
- package/lib/module/types/omikit-plugin.d.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../src","sources":["index.d.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../src","sources":["index.d.ts"],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omikit-plugin",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.44",
|
|
4
4
|
"description": "Omikit Plugin by ViHAT",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
7
|
-
"types": "
|
|
7
|
+
"types": "src/types/index.d.ts",
|
|
8
8
|
"react-native": "src/index",
|
|
9
9
|
"source": "src/index",
|
|
10
10
|
"files": [
|
package/src/omikit.tsx
CHANGED
|
@@ -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;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../src","sources":["omikit-plugin.d.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../src","sources":["omikit-plugin.d.ts"],"mappings":""}
|