Skip to content

Commit a1d3e71

Browse files
committed
Fixed swap response converter on ios
1 parent 2695852 commit a1d3e71

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

Packages/Sequence-Unity/Sequence/SequenceSDK/Ethereum/Token.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public Token(BigInteger chainId, string contractAddress, string tokenId = null,
5454
}
5555
}
5656

57+
[Preserve]
5758
internal class TokenConverter : JsonConverter<Token>
5859
{
5960
public override void WriteJson(JsonWriter writer, Token value, JsonSerializer serializer)

Packages/Sequence-Unity/Sequence/SequenceSDK/Marketplace/DataTypes/SwapPrice.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public class SwapPrice
1515
[Obsolete("To retrieve the transaction value, please request a Swap Quote instead")]
1616
public string transactionValue;
1717

18+
[Preserve]
1819
public SwapPrice(Address currencyAddress, string currencyBalance, string price, string maxPrice, string transactionValue)
1920
{
2021
this.currencyAddress = currencyAddress;

Packages/Sequence-Unity/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xyz.0xsequence.waas-unity",
3-
"version": "4.3.0",
3+
"version": "4.3.1",
44
"displayName": "Sequence Embedded Wallet SDK",
55
"description": "A Unity SDK for Sequence APIs",
66
"unity": "2021.3",

0 commit comments

Comments
 (0)