@pioneer-platform/helpers 4.0.7 → 4.0.8
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.
@@ -185,6 +185,7 @@ var AssetValue = /** @class */ (function (_super) {
|
|
185
185
|
_this.isSynthetic = false;
|
186
186
|
var assetInfo = getAssetInfo(identifier);
|
187
187
|
_this.type = (0, asset_1.getAssetType)(assetInfo);
|
188
|
+
_this.identifier = identifier;
|
188
189
|
_this.chain = assetInfo.chain;
|
189
190
|
_this.ticker = assetInfo.ticker;
|
190
191
|
_this.symbol = assetInfo.symbol;
|
package/package.json
CHANGED
@@ -106,6 +106,7 @@ export class AssetValue extends BigIntArithmetics {
|
|
106
106
|
address?: string;
|
107
107
|
caip?: string;
|
108
108
|
pubkey?: string;
|
109
|
+
identifier?: string;
|
109
110
|
//@ts-ignore
|
110
111
|
chain: Chain;
|
111
112
|
isGasAsset = false;
|
@@ -135,6 +136,7 @@ export class AssetValue extends BigIntArithmetics {
|
|
135
136
|
|
136
137
|
const assetInfo:any = getAssetInfo(identifier);
|
137
138
|
this.type = getAssetType(assetInfo);
|
139
|
+
this.identifier = identifier;
|
138
140
|
this.chain = assetInfo.chain;
|
139
141
|
this.ticker = assetInfo.ticker;
|
140
142
|
this.symbol = assetInfo.symbol;
|