Skip to content

Commit ec31e02

Browse files
committed
Backwards compatibility
1 parent 413d01e commit ec31e02

File tree

4 files changed

+7
-19
lines changed

4 files changed

+7
-19
lines changed

Assets/Thirdweb/Core/Scripts/Transaction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ private async Task<string> SendGasless()
372372

373373
var postData = new RelayerRequest(request, signature, forwarderAddress);
374374

375-
using UnityWebRequest req = UnityWebRequest.Post(relayerUrl, "", "application/json");
375+
using UnityWebRequest req = UnityWebRequest.Post(relayerUrl, "");
376376
byte[] bodyRaw = System.Text.Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(postData));
377377
req.uploadHandler = (UploadHandler)new UploadHandlerRaw(bodyRaw);
378378
req.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();

Assets/Thirdweb/Core/Scripts/TransactionManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public static async Task<TransactionReceipt> ThirdwebWriteRawResult<TWFunction>(
118118

119119
var postData = new RelayerRequest(request, signature, forwarderAddress);
120120

121-
using UnityWebRequest req = UnityWebRequest.Post(relayerUrl, "", "application/json");
121+
using UnityWebRequest req = UnityWebRequest.Post(relayerUrl, "");
122122
byte[] bodyRaw = System.Text.Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(postData));
123123
req.uploadHandler = (UploadHandler)new UploadHandlerRaw(bodyRaw);
124124
req.downloadHandler = (DownloadHandler)new DownloadHandlerBuffer();

Assets/Thirdweb/Examples/Scenes/Scene_Marketplace.unity

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -699,10 +699,6 @@ PrefabInstance:
699699
propertyPath: m_Pivot.y
700700
value: 0.5
701701
objectReference: {fileID: 0}
702-
- target: {fileID: 7058917396649323394, guid: 02bb9df8f04df2b4c8b9667a6e73a2b7, type: 3}
703-
propertyPath: m_RootOrder
704-
value: 4
705-
objectReference: {fileID: 0}
706702
- target: {fileID: 7058917396649323394, guid: 02bb9df8f04df2b4c8b9667a6e73a2b7, type: 3}
707703
propertyPath: m_AnchorMax.x
708704
value: 0.5
@@ -1155,10 +1151,6 @@ PrefabInstance:
11551151
propertyPath: m_Pivot.y
11561152
value: 1
11571153
objectReference: {fileID: 0}
1158-
- target: {fileID: 7988299437291109124, guid: c0a6febe87e862049aafa44a9f65ff2c, type: 3}
1159-
propertyPath: m_RootOrder
1160-
value: 3
1161-
objectReference: {fileID: 0}
11621154
- target: {fileID: 7988299437291109124, guid: c0a6febe87e862049aafa44a9f65ff2c, type: 3}
11631155
propertyPath: m_AnchorMax.x
11641156
value: 0.5
@@ -1252,10 +1244,6 @@ PrefabInstance:
12521244
propertyPath: m_Pivot.y
12531245
value: 0.5
12541246
objectReference: {fileID: 0}
1255-
- target: {fileID: 6187535723501583949, guid: c1ebffa97f49c3d40b9927ff37c9c4f3, type: 3}
1256-
propertyPath: m_RootOrder
1257-
value: 5
1258-
objectReference: {fileID: 0}
12591247
- target: {fileID: 6187535723501583949, guid: c1ebffa97f49c3d40b9927ff37c9c4f3, type: 3}
12601248
propertyPath: m_AnchorMax.x
12611249
value: 0.5

Assets/Thirdweb/Examples/Scenes/Scene_Prefabs.unity

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -483,13 +483,13 @@ RectTransform:
483483
m_Children:
484484
- {fileID: 1550381722}
485485
- {fileID: 411000614}
486+
- {fileID: 2106293919}
486487
- {fileID: 866517574}
487488
- {fileID: 1773737938}
489+
- {fileID: 2063946298}
488490
- {fileID: 2775678917868836931}
489-
- {fileID: 1324182571102397454}
490491
- {fileID: 4701600027365654829}
491-
- {fileID: 2063946298}
492-
- {fileID: 2106293919}
492+
- {fileID: 1324182571102397454}
493493
- {fileID: 1919283922}
494494
m_Father: {fileID: 0}
495495
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@@ -960,7 +960,7 @@ PrefabInstance:
960960
objectReference: {fileID: 0}
961961
- target: {fileID: 7702873693426126306, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3}
962962
propertyPath: m_AnchoredPosition.x
963-
value: -49.999878
963+
value: -49.999756
964964
objectReference: {fileID: 0}
965965
- target: {fileID: 7702873693426126306, guid: 487e6840fccf4594ca24581d2b3e9d25, type: 3}
966966
propertyPath: m_AnchoredPosition.y
@@ -2217,7 +2217,7 @@ PrefabInstance:
22172217
SceneRoots:
22182218
m_ObjectHideFlags: 0
22192219
m_Roots:
2220+
- {fileID: 574059470}
22202221
- {fileID: 940597156}
22212222
- {fileID: 136589469}
22222223
- {fileID: 4404896360639781402}
2223-
- {fileID: 574059470}

0 commit comments

Comments
 (0)