@polyvharmony/live-scenes-foundation 1.3.3 → 1.3.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/CHANGELOG.md +22 -0
- package/ets/modules.abc +0 -0
- package/libs/plvsocket.har +0 -0
- package/oh-package.json5 +1 -1
- package/package.json +1 -1
- package/src/main/ets/modules/socket/PLVSocketIO.d.ets +8 -7
- package/src/main/ets/modules/web/PLVWebController.d.ets +37 -37
- package/src/main/module.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
## [v1.3.4] - 2025-12-26
|
|
2
|
+
|
|
3
|
+
### 【观看端场景】
|
|
4
|
+
|
|
5
|
+
修复优化:
|
|
6
|
+
|
|
7
|
+
1. 聊天室引用消息显示ui优化 [Demo]
|
|
8
|
+
2. 优化httpdns解析功能 [Demo、SDK]
|
|
9
|
+
|
|
10
|
+
### 【开播端场景】
|
|
11
|
+
|
|
12
|
+
修复优化:
|
|
13
|
+
|
|
14
|
+
1. 聊天室引用消息显示ui优化 [Demo]
|
|
15
|
+
2. 优化httpdns解析功能 [Demo、SDK]
|
|
16
|
+
|
|
17
|
+
### 【SDK】
|
|
18
|
+
|
|
19
|
+
新增功能:
|
|
20
|
+
|
|
21
|
+
1. 聊天室socket支持https [SDK]
|
|
22
|
+
|
|
1
23
|
## [v1.3.3] - 2025-12-05
|
|
2
24
|
|
|
3
25
|
### 【观看端场景】
|
package/ets/modules.abc
CHANGED
|
Binary file
|
package/libs/plvsocket.har
CHANGED
|
Binary file
|
package/oh-package.json5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@polyvharmony/live-scenes-foundation","version":"1.3.
|
|
1
|
+
{"name":"@polyvharmony/live-scenes-foundation","version":"1.3.4","description":"polyv live-scenes-foundation","author":"POLYV","license":"MIT","dependencies":{"socket":"file:./libs/plvsocket.har","jsbridge":"file:./libs/plvjsbridge.har","@ohos/axios":"2.2.4","class-transformer":"file:./libs/plvclasstransformer.har","@pura/harmony-utils":"1.1.0","@ohos/crypto-js":"2.0.4","@ohos-port/xlog":"1.2.0"},"types":"Index.d.ets","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"dependencyPkgVersion":{"socket":"1.0.3","jsbridge":"1.0.0","@ohos/axios":"2.2.4","class-transformer":"0.5.1","@pura/harmony-utils":"1.1.0","@ohos/crypto-js":"2.0.4","@ohos-port/xlog":"1.2.0"},"declarationEntry":["@normalized:N&&&@polyvharmony/live-scenes-foundation/src/main/ets/modules/log/PLVXLogWorker&1.3.4"],"useNormalizedOHMUrl":true},"compatibleSdkVersionStage":"beta1","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@polyvharmony/live-scenes-foundation","version":"1.3.
|
|
1
|
+
{"name":"@polyvharmony/live-scenes-foundation","version":"1.3.4","description":"polyv live-scenes-foundation","author":"POLYV","license":"MIT","dependencies":{"socket":"file:./libs/plvsocket.har","jsbridge":"file:./libs/plvjsbridge.har","@ohos/axios":"2.2.4","class-transformer":"file:./libs/plvclasstransformer.har","@pura/harmony-utils":"1.1.0","@ohos/crypto-js":"2.0.4","@ohos-port/xlog":"1.2.0"},"types":"Index.d.ets","artifactType":"obfuscation","metadata":{"byteCodeHar":true,"sourceRoots":["./src/main"],"debug":false,"dependencyPkgVersion":{"socket":"1.0.3","jsbridge":"1.0.0","@ohos/axios":"2.2.4","class-transformer":"0.5.1","@pura/harmony-utils":"1.1.0","@ohos/crypto-js":"2.0.4","@ohos-port/xlog":"1.2.0"},"declarationEntry":["@normalized:N&&&@polyvharmony/live-scenes-foundation/src/main/ets/modules/log/PLVXLogWorker&1.3.4"],"useNormalizedOHMUrl":true},"compatibleSdkVersionStage":"beta1","compatibleSdkVersion":12,"compatibleSdkType":"HarmonyOS","obfuscated":true}
|
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
// @ts-nocheck
|
|
3
3
|
import { PLVCallback } from '../../common/PLVCallback';
|
|
4
4
|
export declare class PLVSocketIO {
|
|
5
|
-
private client
|
|
5
|
+
private client?;
|
|
6
6
|
protected socketIOStatus: PLVSocketIOStatus;
|
|
7
7
|
protected onSocketIOStatusListener?: PLVCallback<PLVSocketIOStatus, void>;
|
|
8
8
|
protected isTokenExpired: boolean;
|
|
9
9
|
private set_open_listener;
|
|
10
|
-
protected set_fail_listener(
|
|
11
|
-
protected set_reconnecting_listener(
|
|
10
|
+
protected set_fail_listener(g18: () => void): void;
|
|
11
|
+
protected set_reconnecting_listener(f18: () => void): void;
|
|
12
12
|
private set_reconnect_listener;
|
|
13
|
-
protected set_close_listener(
|
|
14
|
-
protected set_socket_open_listener(
|
|
15
|
-
protected set_socket_close_listener(
|
|
16
|
-
protected connect(
|
|
13
|
+
protected set_close_listener(d18: (reason: string) => void): void;
|
|
14
|
+
protected set_socket_open_listener(c18: (nsp: string) => void): void;
|
|
15
|
+
protected set_socket_close_listener(b18: (nsp: string) => void): void;
|
|
16
|
+
protected connect(a18: string): void;
|
|
17
|
+
protected createSocket(z17: string): void;
|
|
17
18
|
protected connectWithQuery(w17: string, x17: string, y17: string): void;
|
|
18
19
|
connected(): boolean;
|
|
19
20
|
disconnect(v17?: boolean): void;
|
|
@@ -43,48 +43,48 @@ export declare class PLVWebController extends webview.WebviewController {
|
|
|
43
43
|
_overScrollMode: OverScrollMode;
|
|
44
44
|
private dialogController;
|
|
45
45
|
private jsBridge;
|
|
46
|
-
constructor(
|
|
46
|
+
constructor(c24?: string);
|
|
47
47
|
accessBackward(): boolean;
|
|
48
48
|
backward(): void;
|
|
49
|
-
darkMode(
|
|
50
|
-
forceDarkAccess(
|
|
51
|
-
domStorageAccess(
|
|
52
|
-
zoomAccess(
|
|
53
|
-
fileAccess(
|
|
54
|
-
multiWindowAccess(
|
|
55
|
-
allowWindowOpenMethod(
|
|
56
|
-
javaScriptAccess(
|
|
57
|
-
mixMode(
|
|
58
|
-
cacheMode(
|
|
59
|
-
onControllerAttached(
|
|
60
|
-
addOnControllerAttached(
|
|
61
|
-
onInterceptRequest(
|
|
62
|
-
onLoadIntercept(
|
|
63
|
-
onWindowNew(
|
|
64
|
-
onShowFileSelector(
|
|
65
|
-
onFullScreenEnter(
|
|
66
|
-
onFullScreenExit(
|
|
67
|
-
onProgressChange(
|
|
68
|
-
onPageBegin(
|
|
69
|
-
onPageEnd(
|
|
70
|
-
addOnPageEnd(
|
|
71
|
-
onErrorReceive(
|
|
72
|
-
backgroundColor(
|
|
73
|
-
verticalScrollBarAccess(
|
|
74
|
-
nestedScrollOptions(
|
|
75
|
-
overScrollMode(
|
|
76
|
-
userAgent(
|
|
77
|
-
addOnReloaded(
|
|
78
|
-
registerHandler(
|
|
79
|
-
callHandle(
|
|
80
|
-
loadHtmlData(
|
|
81
|
-
loadUrlCatch(
|
|
49
|
+
darkMode(z23: WebDarkMode): PLVWebController;
|
|
50
|
+
forceDarkAccess(y23: boolean): PLVWebController;
|
|
51
|
+
domStorageAccess(x23: boolean): PLVWebController;
|
|
52
|
+
zoomAccess(w23: boolean): PLVWebController;
|
|
53
|
+
fileAccess(v23: boolean): PLVWebController;
|
|
54
|
+
multiWindowAccess(u23: boolean): PLVWebController;
|
|
55
|
+
allowWindowOpenMethod(t23: boolean): PLVWebController;
|
|
56
|
+
javaScriptAccess(s23: boolean): PLVWebController;
|
|
57
|
+
mixMode(r23: MixedMode): PLVWebController;
|
|
58
|
+
cacheMode(q23: CacheMode): PLVWebController;
|
|
59
|
+
onControllerAttached(p23: PLVCallback<void, void>): PLVWebController;
|
|
60
|
+
addOnControllerAttached(o23: PLVCallback<void, void>): PLVWebController;
|
|
61
|
+
onInterceptRequest(n23: PLVCallback<WebResourceRequest, WebResourceResponse>): PLVWebController;
|
|
62
|
+
onLoadIntercept(m23: PLVCallback<WebResourceRequest, boolean>): PLVWebController;
|
|
63
|
+
onWindowNew(l23: PLVCallback<OnWindowNewEvent, boolean>): PLVWebController;
|
|
64
|
+
onShowFileSelector(k23: PLVCallback<OnShowFileSelectorEvent, boolean>): PLVWebController;
|
|
65
|
+
onFullScreenEnter(j23: PLVCallback<void, boolean>): PLVWebController;
|
|
66
|
+
onFullScreenExit(i23: PLVCallback<void, boolean>): PLVWebController;
|
|
67
|
+
onProgressChange(h23: PLVCallback<OnProgressChangeEvent, void>): PLVWebController;
|
|
68
|
+
onPageBegin(g23: PLVCallback<OnPageBeginEvent, void>): PLVWebController;
|
|
69
|
+
onPageEnd(f23: PLVCallback<OnPageEndEvent, void>): PLVWebController;
|
|
70
|
+
addOnPageEnd(e23: PLVCallback<OnPageEndEvent, void>): PLVWebController;
|
|
71
|
+
onErrorReceive(d23: PLVCallback<OnErrorReceiveEvent, void>): PLVWebController;
|
|
72
|
+
backgroundColor(c23: ResourceColor): this;
|
|
73
|
+
verticalScrollBarAccess(b23: boolean): this;
|
|
74
|
+
nestedScrollOptions(a23: NestedScrollOptions): this;
|
|
75
|
+
overScrollMode(z22: OverScrollMode): void;
|
|
76
|
+
userAgent(y22?: string): this;
|
|
77
|
+
addOnReloaded(x22: PLVCallback): this;
|
|
78
|
+
registerHandler(v22: string, w22: PLVCallback2<string, PLVCallback<string>>): this;
|
|
79
|
+
callHandle(s22: string, t22: string, u22: PLVCallback<string>): this;
|
|
80
|
+
loadHtmlData(p22?: string): this;
|
|
81
|
+
loadUrlCatch(l22: string | Resource): void;
|
|
82
82
|
handleControllerAttached(): void;
|
|
83
83
|
handleFullScreenExit(): void;
|
|
84
84
|
handleFullScreenEnter(): void;
|
|
85
|
-
handleWindowNew(
|
|
86
|
-
handleIsLoadIntercept(
|
|
87
|
-
handlePageEnd(
|
|
85
|
+
handleWindowNew(h22: OnWindowNewEvent, i22: (webviewController: WebviewController) => CustomDialogController): void;
|
|
86
|
+
handleIsLoadIntercept(f22: WebResourceRequest | undefined): boolean;
|
|
87
|
+
handlePageEnd(c22: OnPageEndEvent): void;
|
|
88
88
|
handleErrorReceive(): void;
|
|
89
89
|
private getVideoWHEnterFullScreen;
|
|
90
90
|
}
|
package/src/main/module.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"app":{"bundleName":"net.plv.livescenes.demo","debug":false,"versionCode":
|
|
1
|
+
{"app":{"bundleName":"net.plv.livescenes.demo","debug":false,"versionCode":1030400,"versionName":"1.3.4","minAPIVersion":50000012,"targetAPIVersion":60000020,"apiReleaseType":"Release","targetMinorAPIVersion":0,"targetPatchAPIVersion":0,"compileSdkVersion":"6.0.0.47","compileSdkType":"HarmonyOS","appEnvironments":[],"bundleType":"app","buildMode":"release"},"module":{"name":"foundation","type":"har","deviceTypes":["default","tablet","2in1"],"packageName":"@polyvharmony/live-scenes-foundation","installationFree":false,"virtualMachine":"ark12.0.2.0","compileMode":"esmodule","dependencies":[]}}
|