Skip to content

Commit 7c50634

Browse files
authored
Merge pull request #332 from 0xsequence/Fix/stripped-coin-price
added preserve flag to Price class from PriceFeed
2 parents d3bfc54 + 66c4a09 commit 7c50634

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Packages/Sequence-Unity/Sequence/SequenceSDK/Indexer/DataTypes/Price.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using UnityEngine.Scripting;
23

34
namespace Sequence
45
{
@@ -8,6 +9,7 @@ public class Price
89
public decimal value;
910
public string currency;
1011

12+
[Preserve]
1113
public Price(decimal value, string currency)
1214
{
1315
this.value = value;

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.6.0",
3+
"version": "4.6.1",
44
"displayName": "Sequence Embedded Wallet SDK",
55
"description": "A Unity SDK for Sequence APIs",
66
"unity": "2021.3",

0 commit comments

Comments
 (0)