@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.
@@ -26,6 +26,7 @@ export declare class AssetValue extends BigIntArithmetics {
26
26
  address?: string;
27
27
  caip?: string;
28
28
  pubkey?: string;
29
+ identifier?: string;
29
30
  chain: Chain;
30
31
  isGasAsset: boolean;
31
32
  isSynthetic: boolean;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/helpers",
3
- "version": "4.0.7",
3
+ "version": "4.0.8",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "scripts": {
@@ -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;