@chainify/types
Advanced tools
Comparing version 1.2.24 to 1.2.25
# @chainify/types | ||
## 1.2.25 | ||
### Patch Changes | ||
- 44d79eb55: use asset.type instead of asset.isNative | ||
## 1.2.24 | ||
@@ -4,0 +10,0 @@ |
import { ChainId } from '@liquality/cryptoassets'; | ||
export { ChainId } from '@liquality/cryptoassets'; | ||
export declare type AssetType = 'native' | 'erc20' | 'nft'; | ||
export declare enum AssetTypes { | ||
native = "native", | ||
erc20 = "erc20", | ||
nft = "nft" | ||
} | ||
export interface Asset { | ||
@@ -8,3 +13,2 @@ name: string; | ||
chain: ChainId; | ||
isNative: boolean; | ||
type: AssetType; | ||
@@ -11,0 +15,0 @@ decimals: number; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ChainId = void 0; | ||
exports.AssetTypes = exports.ChainId = void 0; | ||
var cryptoassets_1 = require("@liquality/cryptoassets"); | ||
Object.defineProperty(exports, "ChainId", { enumerable: true, get: function () { return cryptoassets_1.ChainId; } }); | ||
var AssetTypes; | ||
(function (AssetTypes) { | ||
AssetTypes["native"] = "native"; | ||
AssetTypes["erc20"] = "erc20"; | ||
AssetTypes["nft"] = "nft"; | ||
})(AssetTypes = exports.AssetTypes || (exports.AssetTypes = {})); | ||
//# sourceMappingURL=Asset.js.map |
{ | ||
"name": "@chainify/types", | ||
"version": "1.2.24", | ||
"version": "1.2.25", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "Liquality <info@liquality.io>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18692
326