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

@luxfi/common

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luxfi/common - npm Package Compare versions

Comparing version 0.3.61 to 0.3.62

2

dist/index-lux.d.ts
import { CHAINS_ENUM as CHAINS_ENUM_FULL } from "./chain";
export * from "./number";
export * from "./chain";
export declare const CHAINS: Omit<Record<CHAINS_ENUM_FULL, import("./chain").Chain>, CHAINS_ENUM_FULL.RONIN>, CHAINS_ENUM: Pick<typeof CHAINS_ENUM_FULL, CHAINS_ENUM_FULL.ETH | CHAINS_ENUM_FULL.BSC | CHAINS_ENUM_FULL.GNOSIS | CHAINS_ENUM_FULL.HECO | CHAINS_ENUM_FULL.POLYGON | CHAINS_ENUM_FULL.FTM | CHAINS_ENUM_FULL.OKT | CHAINS_ENUM_FULL.ARBITRUM | CHAINS_ENUM_FULL.AVAX | CHAINS_ENUM_FULL.OP | CHAINS_ENUM_FULL.CELO | CHAINS_ENUM_FULL.MOVR | CHAINS_ENUM_FULL.CRO | CHAINS_ENUM_FULL.BOBA | CHAINS_ENUM_FULL.METIS | CHAINS_ENUM_FULL.BTT | CHAINS_ENUM_FULL.AURORA | CHAINS_ENUM_FULL.MOBM | CHAINS_ENUM_FULL.SBCH | CHAINS_ENUM_FULL.FUSE | CHAINS_ENUM_FULL.HMY | CHAINS_ENUM_FULL.ASTAR | CHAINS_ENUM_FULL.KLAY | CHAINS_ENUM_FULL.IOTX | CHAINS_ENUM_FULL.RSK | CHAINS_ENUM_FULL.WAN | CHAINS_ENUM_FULL.KCC | CHAINS_ENUM_FULL.SGB | CHAINS_ENUM_FULL.EVMOS | CHAINS_ENUM_FULL.DFK | CHAINS_ENUM_FULL.TLOS | CHAINS_ENUM_FULL.NOVA | CHAINS_ENUM_FULL.CANTO | CHAINS_ENUM_FULL.DOGE | CHAINS_ENUM_FULL.STEP | CHAINS_ENUM_FULL.KAVA | CHAINS_ENUM_FULL.MADA | CHAINS_ENUM_FULL.CFX | CHAINS_ENUM_FULL.BRISE | CHAINS_ENUM_FULL.CKB | CHAINS_ENUM_FULL.TOMB | CHAINS_ENUM_FULL.PZE | CHAINS_ENUM_FULL.ERA | CHAINS_ENUM_FULL.EOS | CHAINS_ENUM_FULL.CORE | CHAINS_ENUM_FULL.FLR | CHAINS_ENUM_FULL.WEMIX | CHAINS_ENUM_FULL.METER | CHAINS_ENUM_FULL.ETC | CHAINS_ENUM_FULL.FSN | CHAINS_ENUM_FULL.PULSE | CHAINS_ENUM_FULL.ROSE | CHAINS_ENUM_FULL.OAS | CHAINS_ENUM_FULL.ZORA | CHAINS_ENUM_FULL.LINEA | CHAINS_ENUM_FULL.BASE | CHAINS_ENUM_FULL.GETH | CHAINS_ENUM_FULL.GARBITRUM | CHAINS_ENUM_FULL.CGNOSIS | CHAINS_ENUM_FULL.MANTLE | CHAINS_ENUM_FULL.TENET | CHAINS_ENUM_FULL.TBSC | CHAINS_ENUM_FULL.MPOLYGON | CHAINS_ENUM_FULL.GOP | CHAINS_ENUM_FULL.GBOBA | CHAINS_ENUM_FULL.GBASE | CHAINS_ENUM_FULL.GLINEA | CHAINS_ENUM_FULL.TFTM | CHAINS_ENUM_FULL.LYX | CHAINS_ENUM_FULL.TLYX | CHAINS_ENUM_FULL.TDEBANK | CHAINS_ENUM_FULL.TMNT | CHAINS_ENUM_FULL.OPBNB | CHAINS_ENUM_FULL.GERA | CHAINS_ENUM_FULL.PMANTA | CHAINS_ENUM_FULL.TOPBNB | CHAINS_ENUM_FULL.TTENET | CHAINS_ENUM_FULL.LOOT | CHAINS_ENUM_FULL.TLOOT | CHAINS_ENUM_FULL.SETH | CHAINS_ENUM_FULL.SSCROLL | CHAINS_ENUM_FULL.AZETA | CHAINS_ENUM_FULL.SHIB | CHAINS_ENUM_FULL.TAVAX | CHAINS_ENUM_FULL.PSHIB | CHAINS_ENUM_FULL.GMETIS | CHAINS_ENUM_FULL.SARB | CHAINS_ENUM_FULL.TSTLS | CHAINS_ENUM_FULL.CFLR | CHAINS_ENUM_FULL.ACELO | CHAINS_ENUM_FULL.DBTT | CHAINS_ENUM_FULL.TEVMOS | CHAINS_ENUM_FULL.MANTA | CHAINS_ENUM_FULL.TDFK | CHAINS_ENUM_FULL.TWEMIX | CHAINS_ENUM_FULL.TSTEP | CHAINS_ENUM_FULL.METC | CHAINS_ENUM_FULL.TFSN | CHAINS_ENUM_FULL.AMOBM | CHAINS_ENUM_FULL.TKCC | CHAINS_ENUM_FULL.TIOTX | CHAINS_ENUM_FULL.TPLS | CHAINS_ENUM_FULL.HETH | CHAINS_ENUM_FULL.BKLAY | CHAINS_ENUM_FULL.CSGB | CHAINS_ENUM_FULL.TKAVA | CHAINS_ENUM_FULL.SCRL | CHAINS_ENUM_FULL.FX | CHAINS_ENUM_FULL.DFX | CHAINS_ENUM_FULL.TAURORA | CHAINS_ENUM_FULL.TCRO | CHAINS_ENUM_FULL.SMODE | CHAINS_ENUM_FULL.TIMXZE | CHAINS_ENUM_FULL.KTAIKO | CHAINS_ENUM_FULL.TCFX | CHAINS_ENUM_FULL.TX1 | CHAINS_ENUM_FULL.TSBY | CHAINS_ENUM_FULL.TAZE | CHAINS_ENUM_FULL.BEAM | CHAINS_ENUM_FULL.TBEAM | CHAINS_ENUM_FULL.TFRAX | CHAINS_ENUM_FULL.TPEGO | CHAINS_ENUM_FULL.TFRAME | CHAINS_ENUM_FULL.PEGO | CHAINS_ENUM_FULL.ZKFAIR | CHAINS_ENUM_FULL.TRSK | CHAINS_ENUM_FULL.TALOT | CHAINS_ENUM_FULL.FON | CHAINS_ENUM_FULL.BFC | CHAINS_ENUM_FULL.TBFC | CHAINS_ENUM_FULL.ABERA | CHAINS_ENUM_FULL.ALOT | CHAINS_ENUM_FULL.XAI | CHAINS_ENUM_FULL.TSAVM | CHAINS_ENUM_FULL.GXAI | CHAINS_ENUM_FULL.SXAI | CHAINS_ENUM_FULL.SBLAST | CHAINS_ENUM_FULL.ZETA | CHAINS_ENUM_FULL.RARI | CHAINS_ENUM_FULL.HUBBLE | CHAINS_ENUM_FULL.TRARI | CHAINS_ENUM_FULL.MODE | CHAINS_ENUM_FULL.MERLIN | CHAINS_ENUM_FULL.DYM | CHAINS_ENUM_FULL.EON | CHAINS_ENUM_FULL.BLAST | CHAINS_ENUM_FULL.SX | CHAINS_ENUM_FULL.PLATON | CHAINS_ENUM_FULL.MAP | CHAINS_ENUM_FULL.FRAX | CHAINS_ENUM_FULL.AZE | CHAINS_ENUM_FULL.KARAK>, CHAINS_LIST: (import("@luxfi/common/dist/chain-data").ChainRaw & {
export declare const CHAINS: Omit<Record<CHAINS_ENUM_FULL, import("./chain").Chain>, CHAINS_ENUM_FULL.RONIN>, CHAINS_ENUM: Pick<typeof CHAINS_ENUM_FULL, CHAINS_ENUM_FULL.ETH | CHAINS_ENUM_FULL.BSC | CHAINS_ENUM_FULL.GNOSIS | CHAINS_ENUM_FULL.HECO | CHAINS_ENUM_FULL.POLYGON | CHAINS_ENUM_FULL.FTM | CHAINS_ENUM_FULL.OKT | CHAINS_ENUM_FULL.ARBITRUM | CHAINS_ENUM_FULL.AVAX | CHAINS_ENUM_FULL.OP | CHAINS_ENUM_FULL.CELO | CHAINS_ENUM_FULL.MOVR | CHAINS_ENUM_FULL.CRO | CHAINS_ENUM_FULL.BOBA | CHAINS_ENUM_FULL.METIS | CHAINS_ENUM_FULL.BTT | CHAINS_ENUM_FULL.AURORA | CHAINS_ENUM_FULL.MOBM | CHAINS_ENUM_FULL.SBCH | CHAINS_ENUM_FULL.FUSE | CHAINS_ENUM_FULL.HMY | CHAINS_ENUM_FULL.ASTAR | CHAINS_ENUM_FULL.KLAY | CHAINS_ENUM_FULL.IOTX | CHAINS_ENUM_FULL.RSK | CHAINS_ENUM_FULL.WAN | CHAINS_ENUM_FULL.KCC | CHAINS_ENUM_FULL.SGB | CHAINS_ENUM_FULL.EVMOS | CHAINS_ENUM_FULL.DFK | CHAINS_ENUM_FULL.TLOS | CHAINS_ENUM_FULL.NOVA | CHAINS_ENUM_FULL.CANTO | CHAINS_ENUM_FULL.DOGE | CHAINS_ENUM_FULL.STEP | CHAINS_ENUM_FULL.KAVA | CHAINS_ENUM_FULL.MADA | CHAINS_ENUM_FULL.CFX | CHAINS_ENUM_FULL.BRISE | CHAINS_ENUM_FULL.CKB | CHAINS_ENUM_FULL.TOMB | CHAINS_ENUM_FULL.PZE | CHAINS_ENUM_FULL.ERA | CHAINS_ENUM_FULL.EOS | CHAINS_ENUM_FULL.CORE | CHAINS_ENUM_FULL.FLR | CHAINS_ENUM_FULL.WEMIX | CHAINS_ENUM_FULL.METER | CHAINS_ENUM_FULL.ETC | CHAINS_ENUM_FULL.FSN | CHAINS_ENUM_FULL.PULSE | CHAINS_ENUM_FULL.ROSE | CHAINS_ENUM_FULL.OAS | CHAINS_ENUM_FULL.ZORA | CHAINS_ENUM_FULL.LINEA | CHAINS_ENUM_FULL.BASE | CHAINS_ENUM_FULL.GETH | CHAINS_ENUM_FULL.GARBITRUM | CHAINS_ENUM_FULL.CGNOSIS | CHAINS_ENUM_FULL.MANTLE | CHAINS_ENUM_FULL.TENET | CHAINS_ENUM_FULL.TBSC | CHAINS_ENUM_FULL.MPOLYGON | CHAINS_ENUM_FULL.GOP | CHAINS_ENUM_FULL.GBOBA | CHAINS_ENUM_FULL.GBASE | CHAINS_ENUM_FULL.GLINEA | CHAINS_ENUM_FULL.TFTM | CHAINS_ENUM_FULL.LYX | CHAINS_ENUM_FULL.TLYX | CHAINS_ENUM_FULL.TDEBANK | CHAINS_ENUM_FULL.TMNT | CHAINS_ENUM_FULL.OPBNB | CHAINS_ENUM_FULL.GERA | CHAINS_ENUM_FULL.PMANTA | CHAINS_ENUM_FULL.TOPBNB | CHAINS_ENUM_FULL.TTENET | CHAINS_ENUM_FULL.LOOT | CHAINS_ENUM_FULL.TLOOT | CHAINS_ENUM_FULL.SETH | CHAINS_ENUM_FULL.SSCROLL | CHAINS_ENUM_FULL.AZETA | CHAINS_ENUM_FULL.SHIB | CHAINS_ENUM_FULL.TAVAX | CHAINS_ENUM_FULL.PSHIB | CHAINS_ENUM_FULL.GMETIS | CHAINS_ENUM_FULL.SARB | CHAINS_ENUM_FULL.TSTLS | CHAINS_ENUM_FULL.CFLR | CHAINS_ENUM_FULL.ACELO | CHAINS_ENUM_FULL.DBTT | CHAINS_ENUM_FULL.TEVMOS | CHAINS_ENUM_FULL.MANTA | CHAINS_ENUM_FULL.TDFK | CHAINS_ENUM_FULL.TWEMIX | CHAINS_ENUM_FULL.TSTEP | CHAINS_ENUM_FULL.METC | CHAINS_ENUM_FULL.TFSN | CHAINS_ENUM_FULL.AMOBM | CHAINS_ENUM_FULL.TKCC | CHAINS_ENUM_FULL.TIOTX | CHAINS_ENUM_FULL.TPLS | CHAINS_ENUM_FULL.HETH | CHAINS_ENUM_FULL.BKLAY | CHAINS_ENUM_FULL.CSGB | CHAINS_ENUM_FULL.TKAVA | CHAINS_ENUM_FULL.SCRL | CHAINS_ENUM_FULL.FX | CHAINS_ENUM_FULL.DFX | CHAINS_ENUM_FULL.TAURORA | CHAINS_ENUM_FULL.TCRO | CHAINS_ENUM_FULL.SMODE | CHAINS_ENUM_FULL.TIMXZE | CHAINS_ENUM_FULL.KTAIKO | CHAINS_ENUM_FULL.TCFX | CHAINS_ENUM_FULL.TX1 | CHAINS_ENUM_FULL.TSBY | CHAINS_ENUM_FULL.TAZE | CHAINS_ENUM_FULL.BEAM | CHAINS_ENUM_FULL.TBEAM | CHAINS_ENUM_FULL.TFRAX | CHAINS_ENUM_FULL.TPEGO | CHAINS_ENUM_FULL.TFRAME | CHAINS_ENUM_FULL.PEGO | CHAINS_ENUM_FULL.ZKFAIR | CHAINS_ENUM_FULL.TRSK | CHAINS_ENUM_FULL.TALOT | CHAINS_ENUM_FULL.FON | CHAINS_ENUM_FULL.BFC | CHAINS_ENUM_FULL.TBFC | CHAINS_ENUM_FULL.ABERA | CHAINS_ENUM_FULL.ALOT | CHAINS_ENUM_FULL.XAI | CHAINS_ENUM_FULL.TSAVM | CHAINS_ENUM_FULL.GXAI | CHAINS_ENUM_FULL.SXAI | CHAINS_ENUM_FULL.SBLAST | CHAINS_ENUM_FULL.ZETA | CHAINS_ENUM_FULL.RARI | CHAINS_ENUM_FULL.HUBBLE | CHAINS_ENUM_FULL.TRARI | CHAINS_ENUM_FULL.MODE | CHAINS_ENUM_FULL.MERLIN | CHAINS_ENUM_FULL.DYM | CHAINS_ENUM_FULL.EON | CHAINS_ENUM_FULL.BLAST | CHAINS_ENUM_FULL.SX | CHAINS_ENUM_FULL.PLATON | CHAINS_ENUM_FULL.MAP | CHAINS_ENUM_FULL.FRAX | CHAINS_ENUM_FULL.AZE | CHAINS_ENUM_FULL.KARAK>, CHAINS_LIST: (import("@luxwallet/common/dist/chain-data").ChainRaw & {
logo: string;

@@ -6,0 +6,0 @@ whiteLogo?: string | undefined;

import { CHAINS_ENUM as CHAINS_ENUM_FULL } from "./chain";
export * from "./number";
export * from "./chain";
export declare const CHAINS: Omit<Record<CHAINS_ENUM_FULL, import("./chain").Chain>, CHAINS_ENUM_FULL.RONIN>, CHAINS_ENUM: Pick<typeof CHAINS_ENUM_FULL, CHAINS_ENUM_FULL.ETH | CHAINS_ENUM_FULL.BSC | CHAINS_ENUM_FULL.GNOSIS | CHAINS_ENUM_FULL.HECO | CHAINS_ENUM_FULL.POLYGON | CHAINS_ENUM_FULL.FTM | CHAINS_ENUM_FULL.OKT | CHAINS_ENUM_FULL.ARBITRUM | CHAINS_ENUM_FULL.AVAX | CHAINS_ENUM_FULL.OP | CHAINS_ENUM_FULL.CELO | CHAINS_ENUM_FULL.MOVR | CHAINS_ENUM_FULL.CRO | CHAINS_ENUM_FULL.BOBA | CHAINS_ENUM_FULL.METIS | CHAINS_ENUM_FULL.BTT | CHAINS_ENUM_FULL.AURORA | CHAINS_ENUM_FULL.MOBM | CHAINS_ENUM_FULL.SBCH | CHAINS_ENUM_FULL.FUSE | CHAINS_ENUM_FULL.HMY | CHAINS_ENUM_FULL.ASTAR | CHAINS_ENUM_FULL.KLAY | CHAINS_ENUM_FULL.IOTX | CHAINS_ENUM_FULL.RSK | CHAINS_ENUM_FULL.WAN | CHAINS_ENUM_FULL.KCC | CHAINS_ENUM_FULL.SGB | CHAINS_ENUM_FULL.EVMOS | CHAINS_ENUM_FULL.DFK | CHAINS_ENUM_FULL.TLOS | CHAINS_ENUM_FULL.NOVA | CHAINS_ENUM_FULL.CANTO | CHAINS_ENUM_FULL.DOGE | CHAINS_ENUM_FULL.STEP | CHAINS_ENUM_FULL.KAVA | CHAINS_ENUM_FULL.MADA | CHAINS_ENUM_FULL.CFX | CHAINS_ENUM_FULL.BRISE | CHAINS_ENUM_FULL.CKB | CHAINS_ENUM_FULL.TOMB | CHAINS_ENUM_FULL.PZE | CHAINS_ENUM_FULL.ERA | CHAINS_ENUM_FULL.EOS | CHAINS_ENUM_FULL.CORE | CHAINS_ENUM_FULL.FLR | CHAINS_ENUM_FULL.WEMIX | CHAINS_ENUM_FULL.METER | CHAINS_ENUM_FULL.ETC | CHAINS_ENUM_FULL.FSN | CHAINS_ENUM_FULL.PULSE | CHAINS_ENUM_FULL.ROSE | CHAINS_ENUM_FULL.OAS | CHAINS_ENUM_FULL.ZORA | CHAINS_ENUM_FULL.LINEA | CHAINS_ENUM_FULL.BASE | CHAINS_ENUM_FULL.GETH | CHAINS_ENUM_FULL.GARBITRUM | CHAINS_ENUM_FULL.CGNOSIS | CHAINS_ENUM_FULL.MANTLE | CHAINS_ENUM_FULL.TENET | CHAINS_ENUM_FULL.TBSC | CHAINS_ENUM_FULL.MPOLYGON | CHAINS_ENUM_FULL.GOP | CHAINS_ENUM_FULL.GBOBA | CHAINS_ENUM_FULL.GBASE | CHAINS_ENUM_FULL.GLINEA | CHAINS_ENUM_FULL.TFTM | CHAINS_ENUM_FULL.LYX | CHAINS_ENUM_FULL.TLYX | CHAINS_ENUM_FULL.TDEBANK | CHAINS_ENUM_FULL.TMNT | CHAINS_ENUM_FULL.OPBNB | CHAINS_ENUM_FULL.GERA | CHAINS_ENUM_FULL.PMANTA | CHAINS_ENUM_FULL.TOPBNB | CHAINS_ENUM_FULL.TTENET | CHAINS_ENUM_FULL.LOOT | CHAINS_ENUM_FULL.TLOOT | CHAINS_ENUM_FULL.SETH | CHAINS_ENUM_FULL.SSCROLL | CHAINS_ENUM_FULL.AZETA | CHAINS_ENUM_FULL.SHIB | CHAINS_ENUM_FULL.TAVAX | CHAINS_ENUM_FULL.PSHIB | CHAINS_ENUM_FULL.GMETIS | CHAINS_ENUM_FULL.SARB | CHAINS_ENUM_FULL.TSTLS | CHAINS_ENUM_FULL.CFLR | CHAINS_ENUM_FULL.ACELO | CHAINS_ENUM_FULL.DBTT | CHAINS_ENUM_FULL.TEVMOS | CHAINS_ENUM_FULL.MANTA | CHAINS_ENUM_FULL.TDFK | CHAINS_ENUM_FULL.TWEMIX | CHAINS_ENUM_FULL.TSTEP | CHAINS_ENUM_FULL.METC | CHAINS_ENUM_FULL.TFSN | CHAINS_ENUM_FULL.AMOBM | CHAINS_ENUM_FULL.TKCC | CHAINS_ENUM_FULL.TIOTX | CHAINS_ENUM_FULL.TPLS | CHAINS_ENUM_FULL.HETH | CHAINS_ENUM_FULL.BKLAY | CHAINS_ENUM_FULL.CSGB | CHAINS_ENUM_FULL.TKAVA | CHAINS_ENUM_FULL.SCRL | CHAINS_ENUM_FULL.FX | CHAINS_ENUM_FULL.DFX | CHAINS_ENUM_FULL.TAURORA | CHAINS_ENUM_FULL.TCRO | CHAINS_ENUM_FULL.SMODE | CHAINS_ENUM_FULL.TIMXZE | CHAINS_ENUM_FULL.KTAIKO | CHAINS_ENUM_FULL.TCFX | CHAINS_ENUM_FULL.TX1 | CHAINS_ENUM_FULL.TSBY | CHAINS_ENUM_FULL.TAZE | CHAINS_ENUM_FULL.BEAM | CHAINS_ENUM_FULL.TBEAM | CHAINS_ENUM_FULL.TFRAX | CHAINS_ENUM_FULL.TPEGO | CHAINS_ENUM_FULL.TFRAME | CHAINS_ENUM_FULL.PEGO | CHAINS_ENUM_FULL.ZKFAIR | CHAINS_ENUM_FULL.TRSK | CHAINS_ENUM_FULL.TALOT | CHAINS_ENUM_FULL.FON | CHAINS_ENUM_FULL.BFC | CHAINS_ENUM_FULL.TBFC | CHAINS_ENUM_FULL.ABERA | CHAINS_ENUM_FULL.ALOT | CHAINS_ENUM_FULL.XAI | CHAINS_ENUM_FULL.TSAVM | CHAINS_ENUM_FULL.GXAI | CHAINS_ENUM_FULL.SXAI | CHAINS_ENUM_FULL.SBLAST | CHAINS_ENUM_FULL.ZETA | CHAINS_ENUM_FULL.RARI | CHAINS_ENUM_FULL.HUBBLE | CHAINS_ENUM_FULL.TRARI | CHAINS_ENUM_FULL.MODE | CHAINS_ENUM_FULL.MERLIN | CHAINS_ENUM_FULL.DYM | CHAINS_ENUM_FULL.EON | CHAINS_ENUM_FULL.BLAST | CHAINS_ENUM_FULL.SX | CHAINS_ENUM_FULL.PLATON | CHAINS_ENUM_FULL.MAP | CHAINS_ENUM_FULL.FRAX | CHAINS_ENUM_FULL.AZE | CHAINS_ENUM_FULL.KARAK>, CHAINS_LIST: (import("@luxfi/common/dist/chain-data").ChainRaw & {
export declare const CHAINS: Omit<Record<CHAINS_ENUM_FULL, import("./chain").Chain>, CHAINS_ENUM_FULL.RONIN>, CHAINS_ENUM: Pick<typeof CHAINS_ENUM_FULL, CHAINS_ENUM_FULL.ETH | CHAINS_ENUM_FULL.BSC | CHAINS_ENUM_FULL.GNOSIS | CHAINS_ENUM_FULL.HECO | CHAINS_ENUM_FULL.POLYGON | CHAINS_ENUM_FULL.FTM | CHAINS_ENUM_FULL.OKT | CHAINS_ENUM_FULL.ARBITRUM | CHAINS_ENUM_FULL.AVAX | CHAINS_ENUM_FULL.OP | CHAINS_ENUM_FULL.CELO | CHAINS_ENUM_FULL.MOVR | CHAINS_ENUM_FULL.CRO | CHAINS_ENUM_FULL.BOBA | CHAINS_ENUM_FULL.METIS | CHAINS_ENUM_FULL.BTT | CHAINS_ENUM_FULL.AURORA | CHAINS_ENUM_FULL.MOBM | CHAINS_ENUM_FULL.SBCH | CHAINS_ENUM_FULL.FUSE | CHAINS_ENUM_FULL.HMY | CHAINS_ENUM_FULL.ASTAR | CHAINS_ENUM_FULL.KLAY | CHAINS_ENUM_FULL.IOTX | CHAINS_ENUM_FULL.RSK | CHAINS_ENUM_FULL.WAN | CHAINS_ENUM_FULL.KCC | CHAINS_ENUM_FULL.SGB | CHAINS_ENUM_FULL.EVMOS | CHAINS_ENUM_FULL.DFK | CHAINS_ENUM_FULL.TLOS | CHAINS_ENUM_FULL.NOVA | CHAINS_ENUM_FULL.CANTO | CHAINS_ENUM_FULL.DOGE | CHAINS_ENUM_FULL.STEP | CHAINS_ENUM_FULL.KAVA | CHAINS_ENUM_FULL.MADA | CHAINS_ENUM_FULL.CFX | CHAINS_ENUM_FULL.BRISE | CHAINS_ENUM_FULL.CKB | CHAINS_ENUM_FULL.TOMB | CHAINS_ENUM_FULL.PZE | CHAINS_ENUM_FULL.ERA | CHAINS_ENUM_FULL.EOS | CHAINS_ENUM_FULL.CORE | CHAINS_ENUM_FULL.FLR | CHAINS_ENUM_FULL.WEMIX | CHAINS_ENUM_FULL.METER | CHAINS_ENUM_FULL.ETC | CHAINS_ENUM_FULL.FSN | CHAINS_ENUM_FULL.PULSE | CHAINS_ENUM_FULL.ROSE | CHAINS_ENUM_FULL.OAS | CHAINS_ENUM_FULL.ZORA | CHAINS_ENUM_FULL.LINEA | CHAINS_ENUM_FULL.BASE | CHAINS_ENUM_FULL.GETH | CHAINS_ENUM_FULL.GARBITRUM | CHAINS_ENUM_FULL.CGNOSIS | CHAINS_ENUM_FULL.MANTLE | CHAINS_ENUM_FULL.TENET | CHAINS_ENUM_FULL.TBSC | CHAINS_ENUM_FULL.MPOLYGON | CHAINS_ENUM_FULL.GOP | CHAINS_ENUM_FULL.GBOBA | CHAINS_ENUM_FULL.GBASE | CHAINS_ENUM_FULL.GLINEA | CHAINS_ENUM_FULL.TFTM | CHAINS_ENUM_FULL.LYX | CHAINS_ENUM_FULL.TLYX | CHAINS_ENUM_FULL.TDEBANK | CHAINS_ENUM_FULL.TMNT | CHAINS_ENUM_FULL.OPBNB | CHAINS_ENUM_FULL.GERA | CHAINS_ENUM_FULL.PMANTA | CHAINS_ENUM_FULL.TOPBNB | CHAINS_ENUM_FULL.TTENET | CHAINS_ENUM_FULL.LOOT | CHAINS_ENUM_FULL.TLOOT | CHAINS_ENUM_FULL.SETH | CHAINS_ENUM_FULL.SSCROLL | CHAINS_ENUM_FULL.AZETA | CHAINS_ENUM_FULL.SHIB | CHAINS_ENUM_FULL.TAVAX | CHAINS_ENUM_FULL.PSHIB | CHAINS_ENUM_FULL.GMETIS | CHAINS_ENUM_FULL.SARB | CHAINS_ENUM_FULL.TSTLS | CHAINS_ENUM_FULL.CFLR | CHAINS_ENUM_FULL.ACELO | CHAINS_ENUM_FULL.DBTT | CHAINS_ENUM_FULL.TEVMOS | CHAINS_ENUM_FULL.MANTA | CHAINS_ENUM_FULL.TDFK | CHAINS_ENUM_FULL.TWEMIX | CHAINS_ENUM_FULL.TSTEP | CHAINS_ENUM_FULL.METC | CHAINS_ENUM_FULL.TFSN | CHAINS_ENUM_FULL.AMOBM | CHAINS_ENUM_FULL.TKCC | CHAINS_ENUM_FULL.TIOTX | CHAINS_ENUM_FULL.TPLS | CHAINS_ENUM_FULL.HETH | CHAINS_ENUM_FULL.BKLAY | CHAINS_ENUM_FULL.CSGB | CHAINS_ENUM_FULL.TKAVA | CHAINS_ENUM_FULL.SCRL | CHAINS_ENUM_FULL.FX | CHAINS_ENUM_FULL.DFX | CHAINS_ENUM_FULL.TAURORA | CHAINS_ENUM_FULL.TCRO | CHAINS_ENUM_FULL.SMODE | CHAINS_ENUM_FULL.TIMXZE | CHAINS_ENUM_FULL.KTAIKO | CHAINS_ENUM_FULL.TCFX | CHAINS_ENUM_FULL.TX1 | CHAINS_ENUM_FULL.TSBY | CHAINS_ENUM_FULL.TAZE | CHAINS_ENUM_FULL.BEAM | CHAINS_ENUM_FULL.TBEAM | CHAINS_ENUM_FULL.TFRAX | CHAINS_ENUM_FULL.TPEGO | CHAINS_ENUM_FULL.TFRAME | CHAINS_ENUM_FULL.PEGO | CHAINS_ENUM_FULL.ZKFAIR | CHAINS_ENUM_FULL.TRSK | CHAINS_ENUM_FULL.TALOT | CHAINS_ENUM_FULL.FON | CHAINS_ENUM_FULL.BFC | CHAINS_ENUM_FULL.TBFC | CHAINS_ENUM_FULL.ABERA | CHAINS_ENUM_FULL.ALOT | CHAINS_ENUM_FULL.XAI | CHAINS_ENUM_FULL.TSAVM | CHAINS_ENUM_FULL.GXAI | CHAINS_ENUM_FULL.SXAI | CHAINS_ENUM_FULL.SBLAST | CHAINS_ENUM_FULL.ZETA | CHAINS_ENUM_FULL.RARI | CHAINS_ENUM_FULL.HUBBLE | CHAINS_ENUM_FULL.TRARI | CHAINS_ENUM_FULL.MODE | CHAINS_ENUM_FULL.MERLIN | CHAINS_ENUM_FULL.DYM | CHAINS_ENUM_FULL.EON | CHAINS_ENUM_FULL.BLAST | CHAINS_ENUM_FULL.SX | CHAINS_ENUM_FULL.PLATON | CHAINS_ENUM_FULL.MAP | CHAINS_ENUM_FULL.FRAX | CHAINS_ENUM_FULL.AZE | CHAINS_ENUM_FULL.KARAK>, CHAINS_LIST: (import("@luxwallet/common/dist/chain-data").ChainRaw & {
logo: string;

@@ -6,0 +6,0 @@ whiteLogo?: string | undefined;

{
"name": "@luxfi/common",
"version": "0.3.61",
"description": "",
"version": "0.3.62",
"description": "[![NPM version](https://img.shields.io/npm/v/@debank/common.svg)](https://www.npmjs.org/package/@debank/common) [![Build Status][actions-image]][actions-url]",
"main": "dist/index.js",

@@ -53,4 +53,3 @@ "types": "dist/index.d.ts",

"typescript": "^4.5.4"
},
"dependencies": {}
}
}

@@ -1,2 +0,2 @@

# @luxfi/common
# @luxwallet/common

@@ -14,3 +14,3 @@ [![NPM version](https://img.shields.io/npm/v/@debank/common.svg)](https://www.npmjs.org/package/@debank/common)

```bash
yarn add @luxfi/common
yarn add @luxwallet/common
```

@@ -21,4 +21,4 @@

```ts
import { CHAINS_LIST, CHAINS, CHAINS_ENUM } from '@luxfi/common'
import { type Chain } from '@luxfi/common'
import { CHAINS_LIST, CHAINS, CHAINS_ENUM } from '@luxwallet/common'
import { type Chain } from '@luxwallet/common'
```

@@ -32,11 +32,11 @@

- default: `@luxfi/common`
- rabby: `@luxfi/common/dist/index-lux`
- mainsite: `@luxfi/common/dist/index-mainsite`
- default: `@luxwallet/common`
- rabby: `@luxwallet/common/dist/index-lux`
- mainsite: `@luxwallet/common/dist/index-mainsite`
```ts
// full
import { CHAINS_LIST, CHAINS, CHAINS_ENUM } from '@luxfi/common'
import { CHAINS_LIST, CHAINS, CHAINS_ENUM } from '@luxwallet/common'
// rabby
import { CHAINS_LIST, CHAINS, CHAINS_ENUM } from '@luxfi/common/dist/index-lux'
import { CHAINS_LIST, CHAINS, CHAINS_ENUM } from '@luxwallet/common/dist/index-lux'
```

@@ -53,3 +53,3 @@

So if your webpack-based project used to import ALL chains before, but from one moment, you customize the chain list and add one new entry (like `'@luxfi/common/dist/index-lux'`), you can configure the `resolve.alias` to keep `@luxfi/common` in your project, just like:
So if your webpack-based project used to import ALL chains before, but from one moment, you customize the chain list and add one new entry (like `'@luxwallet/common/dist/index-lux'`), you can configure the `resolve.alias` to keep `@luxwallet/common` in your project, just like:

@@ -62,3 +62,3 @@ ```js

alias: {
'@luxfi/common': '@luxfi/common/dist/index-lux'
'@luxwallet/common': '@luxwallet/common/dist/index-lux'
}

@@ -69,13 +69,13 @@ }

Why? `CHAINS_ENUM` exported from `'@luxfi/common'` is the real `enum` type in TypeScript, but the `CHAINS_ENUM` from `'@luxfi/common/dist/index-lux'` is a const object which generated by `enum` type. You can use `CHAINS_ENUM.ETH` from `'@luxfi/common'` as enum, but you **cannot** use `CHAINS_ENUM.ETH` from `'@luxfi/common/dist/index-lux'` as enum.
Why? `CHAINS_ENUM` exported from `'@luxwallet/common'` is the real `enum` type in TypeScript, but the `CHAINS_ENUM` from `'@luxwallet/common/dist/index-lux'` is a const object which generated by `enum` type. You can use `CHAINS_ENUM.ETH` from `'@luxwallet/common'` as enum, but you **cannot** use `CHAINS_ENUM.ETH` from `'@luxwallet/common/dist/index-lux'` as enum.
in [Rabby] project, we used to use `CHAINS_ENUM` as enum, but one day we need omit some chains at runtime, we don't want change all references of `CHAINS_ENUM` at [Rabby], so we configure the `resolve.alias` to keep `@luxfi/common` in [Rabby] project, but at runtime it's actually `@luxfi/common/dist/index-lux`.
in [Rabby] project, we used to use `CHAINS_ENUM` as enum, but one day we need omit some chains at runtime, we don't want change all references of `CHAINS_ENUM` at [Rabby], so we configure the `resolve.alias` to keep `@luxwallet/common` in [Rabby] project, but at runtime it's actually `@luxwallet/common/dist/index-lux`.
If you never mind the enum type, e.g. you start a fresh project, you can use `@luxfi/common/dist/index-lux` directly.
If you never mind the enum type, e.g. you start a fresh project, you can use `@luxwallet/common/dist/index-lux` directly.
```ts
// full
import { CHAINS_LIST, CHAINS, CHAINS_ENUM } from '@luxfi/common'
import { CHAINS_LIST, CHAINS, CHAINS_ENUM } from '@luxwallet/common'
// rabby
import { CHAINS_LIST, CHAINS, CHAINS_ENUM } from '@luxfi/common/dist/index-lux'
import { CHAINS_LIST, CHAINS, CHAINS_ENUM } from '@luxwallet/common/dist/index-lux'
```

@@ -82,0 +82,0 @@

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