com.typhoon.unitysdk 1.0.52 → 1.0.53

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,13 @@
1
1
  # 更新日志
2
- ## [1.0.52] - 2023-12-10
2
+ ## [1.0.53] - 2023-12-10
3
3
 
4
4
  ### 修复
5
+ * 拉取最新版本信息时GET请求避免本地缓存问题
6
+
7
+
8
+ ## [1.0.52] - 2023-12-10
9
+
10
+ ### 修复
5
11
  * 安装更新报错问题
6
12
 
7
13
 
@@ -786,7 +786,7 @@ namespace TyphoonUnitySDK
786
786
  public static async Task<(PackageVersionInfo info, string state)> RequestLatestInfo()
787
787
  {
788
788
  //从镜像地址中检查
789
- var url = "https://registry.npmmirror.com/com.typhoon.unitysdk/latest";
789
+ var url = $"https://registry.npmmirror.com/com.typhoon.unitysdk/latest?{Guid.NewGuid().ToString()}";
790
790
  PackageVersionInfo latest = null;
791
791
  var req = await HttpGet(url);
792
792
  if (req.state)
@@ -1040,7 +1040,7 @@ namespace TyphoonUnitySDK
1040
1040
  //获取所有版本信息
1041
1041
  public static async Task<(List<PackageVersionInfo> infos, string state)> RequestAllVersionInfo()
1042
1042
  {
1043
- var url = "https://registry.npmmirror.com/com.typhoon.unitysdk";
1043
+ var url = $"https://registry.npmmirror.com/com.typhoon.unitysdk?{Guid.NewGuid().ToString()}";
1044
1044
  var req = await HttpGet(url);
1045
1045
  var versionInfos = new List<PackageVersionInfo>();
1046
1046
  if (req.state)
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.52","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.52] - 2023-12-10\r\n\r\n### 修复\n* 安装更新报错问题\r\n\r\n","major_flag":true,"write_time_stamp":1702190819000,"others":{"items":[]},"dependencies":{"com.unity.nuget.newtonsoft-json":"2.0.0"}}
1
+ {"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.53","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.53] - 2023-12-10\r\n\r\n### 修复\n* 拉取最新版本信息时GET请求避免本地缓存问题\r\n\r\n","major_flag":false,"write_time_stamp":1702191533000,"others":{"items":[]},"dependencies":{"com.unity.nuget.newtonsoft-json":"2.0.0"}}