Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.0.3 to 1.0.4

8

CHANGELOG.md
# @chainify/types
## 1.0.4
### Patch Changes
- 4a324c902: - add cryptoassets as dependency
- add sign typed data interface
- add optimism chain provider
## 1.0.3

@@ -4,0 +12,0 @@

16

dist/lib/Asset.d.ts

@@ -1,15 +0,3 @@

export declare enum ChainId {
Bitcoin = "bitcoin",
BitcoinCash = "bitcoin_cash",
Ethereum = "ethereum",
Rootstock = "rsk",
BinanceSmartChain = "bsc",
Near = "near",
Polygon = "polygon",
Arbitrum = "arbitrum",
Solana = "solana",
Fuse = "fuse",
Terra = "terra",
Optimism = "optimism"
}
import { ChainId } from '@liquality/cryptoassets';
export { ChainId } from '@liquality/cryptoassets';
export declare type AssetType = 'native' | 'erc20';

@@ -16,0 +4,0 @@ export interface Asset {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ChainId = void 0;
var ChainId;
(function (ChainId) {
ChainId["Bitcoin"] = "bitcoin";
ChainId["BitcoinCash"] = "bitcoin_cash";
ChainId["Ethereum"] = "ethereum";
ChainId["Rootstock"] = "rsk";
ChainId["BinanceSmartChain"] = "bsc";
ChainId["Near"] = "near";
ChainId["Polygon"] = "polygon";
ChainId["Arbitrum"] = "arbitrum";
ChainId["Solana"] = "solana";
ChainId["Fuse"] = "fuse";
ChainId["Terra"] = "terra";
ChainId["Optimism"] = "optimism";
})(ChainId = exports.ChainId || (exports.ChainId = {}));
var cryptoassets_1 = require("@liquality/cryptoassets");
Object.defineProperty(exports, "ChainId", { enumerable: true, get: function () { return cryptoassets_1.ChainId; } });
//# sourceMappingURL=Asset.js.map

@@ -8,5 +8,10 @@ export interface EIP1559Fee {

}
export interface MultilayerGasPrice {
l1: number;
l2: number;
}
export declare type FeeType = EIP1559Fee | number;
export interface FeeDetail {
fee: FeeType;
multilayerFee?: MultilayerGasPrice;
wait?: number;

@@ -13,0 +18,0 @@ }

{
"name": "@chainify/types",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

@@ -19,4 +19,5 @@ "author": "Liquality <info@liquality.io>",

"@ethersproject/bignumber": "5.6.0",
"@liquality/cryptoassets": "^1.13.2",
"bignumber.js": "^9.0.2"
}
}

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