@jolibox/native-bridge 1.1.18-beta.2 → 1.1.18-beta.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.
|
@@ -173,6 +173,17 @@ declare global {
|
|
|
173
173
|
errNo?: number;
|
|
174
174
|
}>;
|
|
175
175
|
|
|
176
|
+
/**
|
|
177
|
+
* for IOS, webview中同步调用会导致UI线程卡顿。appEvent 高频发送,会导致音视频终端。所以将appEvent异步 调端,由端侧发事件
|
|
178
|
+
* @param params
|
|
179
|
+
* @returns
|
|
180
|
+
*/
|
|
181
|
+
trackAppEventAsync: (params: { url: string; body: string }) => Promise<{
|
|
182
|
+
/** 错误消息 */
|
|
183
|
+
errMsg: string;
|
|
184
|
+
/** 错误码 */
|
|
185
|
+
errNo?: number;
|
|
186
|
+
}>;
|
|
176
187
|
/**
|
|
177
188
|
* 网络请求
|
|
178
189
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jolibox/native-bridge",
|
|
3
3
|
"description": "This project is Jolibox JS-SDk bridge for Native",
|
|
4
|
-
"version": "1.1.18-beta.
|
|
4
|
+
"version": "1.1.18-beta.4",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
7
7
|
"license": "MIT",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
],
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@jolibox/common": "1.1.18-beta.
|
|
15
|
-
"@jolibox/types": "1.1.18-beta.
|
|
14
|
+
"@jolibox/common": "1.1.18-beta.4",
|
|
15
|
+
"@jolibox/types": "1.1.18-beta.4"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"typescript": "5.7.3",
|
|
@@ -173,6 +173,17 @@ declare global {
|
|
|
173
173
|
errNo?: number;
|
|
174
174
|
}>;
|
|
175
175
|
|
|
176
|
+
/**
|
|
177
|
+
* for IOS, webview中同步调用会导致UI线程卡顿。appEvent 高频发送,会导致音视频终端。所以将appEvent异步 调端,由端侧发事件
|
|
178
|
+
* @param params
|
|
179
|
+
* @returns
|
|
180
|
+
*/
|
|
181
|
+
trackAppEventAsync: (params: { url: string; body: string }) => Promise<{
|
|
182
|
+
/** 错误消息 */
|
|
183
|
+
errMsg: string;
|
|
184
|
+
/** 错误码 */
|
|
185
|
+
errNo?: number;
|
|
186
|
+
}>;
|
|
176
187
|
/**
|
|
177
188
|
* 网络请求
|
|
178
189
|
*/
|