gg.easy.airship 0.1.2118 → 0.1.2119
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/Editor/Artifacts/AirshipReconciliationService.cs +1 -1
- package/Editor/EditorIntegrationsConfig.cs +1 -1
- package/Runtime/Code/Http/Public/HttpManager.cs +17 -9
- package/Runtime/Code/Platform/Shared/AirshipPlatformUrl.cs +0 -4
- package/Runtime/Plugins/Android/libLuauPlugin.so +0 -0
- package/Runtime/Plugins/Linux/libLuauPlugin.so +0 -0
- package/Runtime/Plugins/Mac/LuauPlugin.bundle/Contents/MacOS/LuauPlugin +0 -0
- package/Runtime/Plugins/Windows/x64/LuauPlugin.dll +0 -0
- package/Runtime/Plugins/Windows/x64/LuauPlugin.pdb +0 -0
- package/Runtime/Plugins/iOS/LuauPluginIos.a +0 -0
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ namespace Airship.Editor {
|
|
|
22
22
|
/// Handles the reconciliation of AirshipComponents
|
|
23
23
|
/// </summary>
|
|
24
24
|
internal static class AirshipReconciliationService {
|
|
25
|
-
public static ReconcilerVersion DefaultReconcilerVersion => ReconcilerVersion.
|
|
25
|
+
public static ReconcilerVersion DefaultReconcilerVersion => ReconcilerVersion.Version2;
|
|
26
26
|
public static ReconcilerVersion ReconcilerVersion {
|
|
27
27
|
get {
|
|
28
28
|
if (EditorIntegrationsConfig.instance.useProjectReconcileOption) {
|
|
@@ -37,7 +37,7 @@ namespace Code.Http.Public {
|
|
|
37
37
|
if (req.result == UnityWebRequest.Result.ProtocolError) {
|
|
38
38
|
return new HttpResponse() {
|
|
39
39
|
success = false,
|
|
40
|
-
error = req.
|
|
40
|
+
error = req.downloadHandler.text,
|
|
41
41
|
statusCode = (int)req.responseCode,
|
|
42
42
|
headers = req.GetResponseHeaders()
|
|
43
43
|
};
|
|
@@ -114,9 +114,11 @@ namespace Code.Http.Public {
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
RestClient.Post(UnityWebRequestProxyHelper.ApplyProxySettings(options)).Then((res) => {
|
|
117
|
+
var success = 200 <= res.StatusCode && res.StatusCode < 300;
|
|
117
118
|
task.SetResult(new HttpResponse() {
|
|
118
|
-
success =
|
|
119
|
-
data = res.Text,
|
|
119
|
+
success = success,
|
|
120
|
+
data = success ? res.Text : null,
|
|
121
|
+
error = success ? null : res.Text,
|
|
120
122
|
statusCode = (int)res.StatusCode,
|
|
121
123
|
headers = res.Headers
|
|
122
124
|
});
|
|
@@ -158,9 +160,11 @@ namespace Code.Http.Public {
|
|
|
158
160
|
}
|
|
159
161
|
|
|
160
162
|
RestClient.Delete(UnityWebRequestProxyHelper.ApplyProxySettings(options)).Then((res) => {
|
|
163
|
+
var success = 200 <= res.StatusCode && res.StatusCode < 300;
|
|
161
164
|
task.SetResult(new HttpResponse() {
|
|
162
|
-
success =
|
|
163
|
-
data = res.Text,
|
|
165
|
+
success = success,
|
|
166
|
+
data = success ? res.Text : null,
|
|
167
|
+
error = success ? null : res.Text,
|
|
164
168
|
statusCode = (int)res.StatusCode,
|
|
165
169
|
headers = res.Headers
|
|
166
170
|
});
|
|
@@ -203,9 +207,11 @@ namespace Code.Http.Public {
|
|
|
203
207
|
}
|
|
204
208
|
|
|
205
209
|
RestClient.Patch(UnityWebRequestProxyHelper.ApplyProxySettings(options)).Then((res) => {
|
|
210
|
+
var success = 200 <= res.StatusCode && res.StatusCode < 300;
|
|
206
211
|
task.SetResult(new HttpResponse() {
|
|
207
|
-
success =
|
|
208
|
-
data = res.Text,
|
|
212
|
+
success = success,
|
|
213
|
+
data = success ? res.Text : null,
|
|
214
|
+
error = success ? null : res.Text,
|
|
209
215
|
statusCode = (int)res.StatusCode,
|
|
210
216
|
headers = res.Headers
|
|
211
217
|
});
|
|
@@ -255,9 +261,11 @@ namespace Code.Http.Public {
|
|
|
255
261
|
}
|
|
256
262
|
|
|
257
263
|
RestClient.Put(UnityWebRequestProxyHelper.ApplyProxySettings(options)).Then((res) => {
|
|
264
|
+
var success = 200 <= res.StatusCode && res.StatusCode < 300;
|
|
258
265
|
task.SetResult(new HttpResponse() {
|
|
259
|
-
success =
|
|
260
|
-
data = res.Text,
|
|
266
|
+
success = success,
|
|
267
|
+
data = success ? res.Text : null,
|
|
268
|
+
error = success ? null : res.Text,
|
|
261
269
|
statusCode = (int)res.StatusCode,
|
|
262
270
|
headers = res.Headers
|
|
263
271
|
});
|
|
@@ -9,7 +9,6 @@ namespace Code.Platform.Shared {
|
|
|
9
9
|
public static string dataStoreService = "https://data-store-service-fxy2zritya-uc.a.run.app";
|
|
10
10
|
public static string deploymentService = "https://deployment-service-fxy2zritya-uc.a.run.app";
|
|
11
11
|
public static string analyticsService = "https://analytics-service-fxy2zritya-uc.a.run.app";
|
|
12
|
-
public static string moderationService = "https://moderation-service-fxy2zritya-uc.a.run.app";
|
|
13
12
|
public static string gameCdn = "https://gcdn-staging.easy.gg";
|
|
14
13
|
public static string cdn = "https://cdn-staging.easy.gg";
|
|
15
14
|
public static string mainWeb = "https://staging.airship.gg";
|
|
@@ -21,7 +20,6 @@ namespace Code.Platform.Shared {
|
|
|
21
20
|
public static string dataStoreService = "https://api-staging.airship.gg/data-store";
|
|
22
21
|
public static string deploymentService = "https://api-staging.airship.gg/deployment";
|
|
23
22
|
public static string analyticsService = "https://api-staging.airship.gg/analytics";
|
|
24
|
-
public static string moderationService = "https://api-staging.airship.gg/moderation";
|
|
25
23
|
public static string gameCdn = "https://gcdn-staging.easy.gg";
|
|
26
24
|
public static string cdn = "https://cdn-staging.easy.gg";
|
|
27
25
|
public static string mainWeb = "https://staging.airship.gg";
|
|
@@ -35,7 +33,6 @@ namespace Code.Platform.Shared {
|
|
|
35
33
|
public static string dataStoreService = "https://data-store-service-hwcvz2epka-uc.a.run.app";
|
|
36
34
|
public static string deploymentService = "https://deployment-service-hwcvz2epka-uc.a.run.app";
|
|
37
35
|
public static string analyticsService = "https://analytics-service-hwcvz2epka-uc.a.run.app";
|
|
38
|
-
public static string moderationService = "https://moderation-service-fxy2zritya-uc.a.run.app"; // TODO: Update this url to production url
|
|
39
36
|
public static string cdn = "https://cdn.airship.gg";
|
|
40
37
|
public static string gameCdn = "https://gcdn.airship.gg";
|
|
41
38
|
public static string mainWeb = "https://airship.gg";
|
|
@@ -47,7 +44,6 @@ namespace Code.Platform.Shared {
|
|
|
47
44
|
public static string dataStoreService = "https://api.airship.gg/data-store";
|
|
48
45
|
public static string deploymentService = "https://api.airship.gg/deployment";
|
|
49
46
|
public static string analyticsService = "https://api.airship.gg/analytics";
|
|
50
|
-
public static string moderationService = "https://api.airship.gg/moderation";
|
|
51
47
|
public static string cdn = "https://cdn.airship.gg";
|
|
52
48
|
public static string gameCdn = "https://gcdn.airship.gg";
|
|
53
49
|
public static string mainWeb = "https://airship.gg";
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|