@react-native-ohos/react-native-tcp-socket 6.3.1-rc.3 → 6.4.0-bate.1
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/harmony/tcp_socket/BuildProfile.ets +3 -3
- package/harmony/tcp_socket/Index.ets +4 -1
- package/harmony/tcp_socket/oh-package.json5 +1 -1
- package/harmony/tcp_socket/src/main/ets/{TcpSocketPackage.ts → TcpSocketPackage.ets} +2 -2
- package/harmony/tcp_socket.har +0 -0
- package/package.json +11 -5
- /package/harmony/tcp_socket/{ts.ts → ts.ets} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Use these variables when you tailor your ArkTS code. They must be of the const type.
|
|
3
3
|
*/
|
|
4
|
-
export const HAR_VERSION = '6.
|
|
4
|
+
export const HAR_VERSION = '6.4.0-bate.1';
|
|
5
5
|
export const BUILD_MODE_NAME = 'debug';
|
|
6
6
|
export const DEBUG = true;
|
|
7
7
|
export const TARGET_NAME = 'default';
|
|
@@ -9,9 +9,9 @@ export const TARGET_NAME = 'default';
|
|
|
9
9
|
/**
|
|
10
10
|
* BuildProfile Class is used only for compatibility purposes.
|
|
11
11
|
*/
|
|
12
|
-
export default class BuildProfile {
|
|
12
|
+
export default class BuildProfile {
|
|
13
13
|
static readonly HAR_VERSION = HAR_VERSION;
|
|
14
14
|
static readonly BUILD_MODE_NAME = BUILD_MODE_NAME;
|
|
15
15
|
static readonly DEBUG = DEBUG;
|
|
16
16
|
static readonly TARGET_NAME = TARGET_NAME;
|
|
17
|
-
}
|
|
17
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Use of this source code is governed by a MIT license that can be
|
|
4
4
|
* found in the LICENSE file.
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { RNOHPackage, TurboModulesFactory } from '@rnoh/react-native-openharmony';
|
|
7
7
|
import type { TurboModule, TurboModuleContext } from '@rnoh/react-native-openharmony/ts';
|
|
8
8
|
import { TcpSocketTurboModule } from './TcpSocketTurboModule';
|
|
9
9
|
|
|
@@ -20,7 +20,7 @@ class TcpSocketTurboModulesFactory extends TurboModulesFactory {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export class TcpSocketPackage extends
|
|
23
|
+
export class TcpSocketPackage extends RNOHPackage {
|
|
24
24
|
createTurboModulesFactory(ctx: TurboModuleContext): TurboModulesFactory {
|
|
25
25
|
return new TcpSocketTurboModulesFactory(ctx);
|
|
26
26
|
}
|
package/harmony/tcp_socket.har
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-ohos/react-native-tcp-socket",
|
|
3
3
|
"title": "React Native Tcp Socket",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.4.0-bate.1",
|
|
5
5
|
"description": "React Native TCP socket API for HarmonyOS with SSL/TLS support",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"types": "lib/types/index.d.ts",
|
|
@@ -36,7 +36,13 @@
|
|
|
36
36
|
"react-native-library"
|
|
37
37
|
],
|
|
38
38
|
"harmony": {
|
|
39
|
-
"alias": "react-native-tcp-socket"
|
|
39
|
+
"alias": "react-native-tcp-socket",
|
|
40
|
+
"autolinking": {
|
|
41
|
+
"etsPackageClassName":"TcpSocketPackage",
|
|
42
|
+
"cppPackageClassName":"TcpSocketPackage",
|
|
43
|
+
"cmakeLibraryTargetName": "rnoh_tcp_socket",
|
|
44
|
+
"ohPackageName": "@react-native-ohos/react-native-tcp-socket"
|
|
45
|
+
}
|
|
40
46
|
},
|
|
41
47
|
"license": "MIT",
|
|
42
48
|
"licenseFilename": "LICENSE",
|
|
@@ -63,8 +69,8 @@
|
|
|
63
69
|
"jest": "^26.6.3",
|
|
64
70
|
"metro-react-native-babel-preset": "^0.58.0",
|
|
65
71
|
"prettier": "^1.18.2",
|
|
66
|
-
"react": "
|
|
67
|
-
"react-native": "0.
|
|
72
|
+
"react": "19.1.1",
|
|
73
|
+
"react-native": "0.82.1",
|
|
68
74
|
"semantic-release": "^17.0.1",
|
|
69
75
|
"typescript": "^4.1.3",
|
|
70
76
|
"react-native-harmony-cli": "npm:@react-native-oh/react-native-harmony-cli@^0.0.27"
|
|
@@ -74,4 +80,4 @@
|
|
|
74
80
|
"eventemitter3": "^4.0.7",
|
|
75
81
|
"react-native-tcp-socket": "6.2.0"
|
|
76
82
|
}
|
|
77
|
-
}
|
|
83
|
+
}
|
|
File without changes
|