com.typhoon.unitysdk 1.0.76 → 1.0.78
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 +13 -1
- package/Editor/PluginModuleInstaller.cs +6 -6
- package/Runtime/SDKHttpClient.cs +9 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
# 更新日志
|
|
2
|
+
## [1.0.78] - 2023-12-30
|
|
3
|
+
|
|
4
|
+
### 其它
|
|
5
|
+
* 更换插件安装包到新的Cdn地址
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## [1.0.77] - 2023-12-27
|
|
9
|
+
|
|
10
|
+
### 修复
|
|
11
|
+
* SDKHttpClient某些渠道出错问题
|
|
12
|
+
|
|
13
|
+
|
|
2
14
|
## [1.0.76] - 2023-12-22
|
|
3
15
|
|
|
4
|
-
### 优化
|
|
16
|
+
### 优化
|
|
5
17
|
* vivo小游戏JS端适配TPDebugger
|
|
6
18
|
* oppo小游戏JS端适配TPDebugger
|
|
7
19
|
|
|
@@ -52,19 +52,19 @@ namespace TyphoonUnitySDK
|
|
|
52
52
|
// 插件清单
|
|
53
53
|
public static PluginInfo[] PluginsManifest = new PluginInfo[]
|
|
54
54
|
{
|
|
55
|
-
new PluginInfo(PluginNames.NodeJsV10_13, "https://
|
|
55
|
+
new PluginInfo(PluginNames.NodeJsV10_13, "https://cdn.youshengxplay.com/plugins/node-v10.13.0.zip",
|
|
56
56
|
"4fec379039bda31dd4f5d7dee27c8f84", "node-v10.13.0"),
|
|
57
|
-
new PluginInfo(PluginNames.NodeJsV15, "https://
|
|
57
|
+
new PluginInfo(PluginNames.NodeJsV15, "https://cdn.youshengxplay.com/plugins/node-v15.14.0-win-x64.zip",
|
|
58
58
|
"40d03c7c1eed5c6943cc618086adfdf6", "node-v15.14.0-win-x64"),
|
|
59
|
-
new PluginInfo(PluginNames.Openssl, "https://
|
|
59
|
+
new PluginInfo(PluginNames.Openssl, "https://cdn.youshengxplay.com/plugins/openssl.zip",
|
|
60
60
|
"bfeb2896c357fdeea87a16ee913e8a65", "openssl"),
|
|
61
|
-
new PluginInfo(PluginNames.QGToolKit, "https://
|
|
61
|
+
new PluginInfo(PluginNames.QGToolKit, "https://cdn.youshengxplay.com/plugins/quickgame-toolkit-unity.zip",
|
|
62
62
|
"a11318f47be10876439a88baf2776b78", "quickgame-toolkit-unity"),
|
|
63
63
|
new PluginInfo(PluginNames.VivoNodeModule,
|
|
64
|
-
"https://
|
|
64
|
+
"https://cdn.youshengxplay.com/plugins/vivo_node_modules_v1.zip",
|
|
65
65
|
"c6ee54d0fa3dae6eca0ad6613f6c15e0", "vivo_node_modules"),
|
|
66
66
|
new PluginInfo(PluginNames.OppoMiniGameCli,
|
|
67
|
-
"https://
|
|
67
|
+
"https://cdn.youshengxplay.com/plugins/oppo-minigame-v231212.zip",
|
|
68
68
|
"3b9458fd745a4425506bd3bcf34fd8d5", "oppo-minigame-v231212"),
|
|
69
69
|
};
|
|
70
70
|
|
package/Runtime/SDKHttpClient.cs
CHANGED
|
@@ -35,8 +35,15 @@ namespace TyphoonUnitySDK
|
|
|
35
35
|
var uri = new Uri(url);
|
|
36
36
|
using (UnityWebRequest www = UnityWebRequest.Post(uri, data))
|
|
37
37
|
{
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
try
|
|
39
|
+
{
|
|
40
|
+
byte[] bodyRaw = Encoding.UTF8.GetBytes(data);
|
|
41
|
+
www.uploadHandler = (UploadHandler)new UploadHandlerRaw(bodyRaw);
|
|
42
|
+
}
|
|
43
|
+
catch (Exception e)
|
|
44
|
+
{
|
|
45
|
+
}
|
|
46
|
+
|
|
40
47
|
www.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();
|
|
41
48
|
if (timeOut > 0)
|
|
42
49
|
{
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.
|
|
1
|
+
{"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.78","description":"","unity":"2018.1","type":"tool","hideInEditor":false,"author":{"name":"Jan Zhang","email":"","url":""},"changelogUrl":"","documentationUrl":"","keywords":["typhoon"],"license":"","licensesUrl":"","customDependencies":[{"PackageName":"com.unity.nuget.newtonsoft-json","Value":"2.0.0"}],"version_log":"## [1.0.78] - 2023-12-30\r\n\r\n### 其它\n* 更换插件安装包到新的Cdn地址\r\n\r\n","major_flag":false,"write_time_stamp":1703927964000,"others":{"items":[]},"dependencies":{"com.unity.nuget.newtonsoft-json":"2.0.0"}}
|