Socket
Socket
Sign inDemoInstall

@chainify/types

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chainify/types - npm Package Compare versions

Comparing version 1.2.24 to 1.2.25

6

CHANGELOG.md
# @chainify/types
## 1.2.25
### Patch Changes
- 44d79eb55: use asset.type instead of asset.isNative
## 1.2.24

@@ -4,0 +10,0 @@

6

dist/lib/Asset.d.ts
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

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc