module-develop-kit 0.4.3 → 0.4.4
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/dist/index.d.ts +29 -2
- package/dist/index.es.js +2371 -2562
- package/package.json +16 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as default_2 } from 'crypto-js';
|
|
2
|
+
import { HtmlTagDescriptor } from 'vite';
|
|
2
3
|
import { Plugin as Plugin_2 } from 'vite';
|
|
3
4
|
import { Ref } from 'vue';
|
|
4
5
|
|
|
@@ -122,7 +123,29 @@ export declare interface ICallConfig extends SipAccount {
|
|
|
122
123
|
/**
|
|
123
124
|
* ice地址
|
|
124
125
|
*/
|
|
125
|
-
iceService:
|
|
126
|
+
iceService: {
|
|
127
|
+
/**
|
|
128
|
+
* stun 地址
|
|
129
|
+
*/
|
|
130
|
+
stunServerUrl: string;
|
|
131
|
+
/**
|
|
132
|
+
* turn 信息
|
|
133
|
+
*/
|
|
134
|
+
turnServer?: {
|
|
135
|
+
/**
|
|
136
|
+
* turn 服务器地址,可以多个
|
|
137
|
+
*/
|
|
138
|
+
urls: string | string[];
|
|
139
|
+
/**
|
|
140
|
+
* turn 服务器用户名
|
|
141
|
+
*/
|
|
142
|
+
username: string;
|
|
143
|
+
/**
|
|
144
|
+
* turn 服务器密码
|
|
145
|
+
*/
|
|
146
|
+
credential: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
126
149
|
/**
|
|
127
150
|
* 是否开发环境
|
|
128
151
|
*/
|
|
@@ -295,6 +318,10 @@ export declare const useCall: (callBack?: (status: ECallStatus, callStatusText:
|
|
|
295
318
|
getErrorMessage: () => any;
|
|
296
319
|
};
|
|
297
320
|
|
|
298
|
-
|
|
321
|
+
/**
|
|
322
|
+
* 兼容性检测
|
|
323
|
+
* @param options 可以选择自定义插入内容
|
|
324
|
+
*/
|
|
325
|
+
export declare const vitePluginCompatibilityDetection: (options?: HtmlTagDescriptor) => Plugin_2;
|
|
299
326
|
|
|
300
327
|
export { }
|