Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public AbiData(string abi, object[] args)
}
}

[Preserve]
public class AbiDataConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public DelayedEncodeData(string abi, object[] args, string func)
}
}

[Preserve]
public class DelayedEncodeDataConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public SuccessfulBatchTransactionReturn(SuccessfulTransactionReturn[] successful
}
}

[Preserve]
public class TransactionReceiptConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using Newtonsoft.Json;
using Sequence.Utils;
using UnityEngine.Scripting;

namespace Sequence {

Expand Down Expand Up @@ -49,6 +50,7 @@ public override int GetHashCode()
}
}

[Preserve]
public class AddressJsonConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using UnityEngine.Scripting;

namespace Sequence.Pay.Sardine
{
Expand All @@ -22,6 +23,7 @@ public static string AsString(this PaymentMethod paymentMethod)
}
}

[Preserve]
public class PaymentMethodConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using UnityEngine;
using UnityEngine.Scripting;

namespace Sequence.Utils
{
[Preserve]
public class EnumConverter<T> : JsonConverter where T : struct, Enum
{
public override bool CanConvert(Type objectType)
Expand Down
2 changes: 1 addition & 1 deletion Packages/Sequence-Unity/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xyz.0xsequence.waas-unity",
"version": "4.5.1",
"version": "4.5.2",
"displayName": "Sequence Embedded Wallet SDK",
"description": "A Unity SDK for Sequence APIs",
"unity": "2021.3",
Expand Down