com.typhoon.unitysdk 1.0.75 → 1.0.77

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 CHANGED
@@ -1,7 +1,20 @@
1
1
  # 更新日志
2
+ ## [1.0.77] - 2023-12-27
3
+
4
+ ### 修复
5
+ * SDKHttpClient某些渠道出错问题
6
+
7
+
8
+ ## [1.0.76] - 2023-12-22
9
+
10
+ ### 优化
11
+ * vivo小游戏JS端适配TPDebugger
12
+ * oppo小游戏JS端适配TPDebugger
13
+
14
+
2
15
  ## [1.0.75] - 2023-12-21
3
16
 
4
- ### 新增
17
+ ### 新增
5
18
  * oppo动态日志模式
6
19
  * oppo http请求
7
20
  * oppo事件上报
@@ -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
- byte[] bodyRaw = Encoding.UTF8.GetBytes(data);
39
- www.uploadHandler = (UploadHandler)new UploadHandlerRaw(bodyRaw);
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.75","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.75] - 2023-12-21\r\n\r\n### 新增\n* oppo动态日志模式\r\n* oppo http请求\r\n* oppo事件上报\r\n\r\n","major_flag":false,"write_time_stamp":1703173109000,"others":{"items":[]},"dependencies":{"com.unity.nuget.newtonsoft-json":"2.0.0"}}
1
+ {"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.77","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.77] - 2023-12-27\r\n\r\n### 修复\n* SDKHttpClient某些渠道出错问题\r\n\r\n","major_flag":false,"write_time_stamp":1703653541000,"others":{"items":[]},"dependencies":{"com.unity.nuget.newtonsoft-json":"2.0.0"}}