🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@0xsequence/network

Package Overview
Dependencies
Maintainers
5
Versions
563
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xsequence/network - npm Package Compare versions

Comparing version
2.3.40
to
2.3.41
+38
-2
constants/dist/0xsequence-network-constants.cjs.dev.js

@@ -75,2 +75,4 @@ 'use strict';

ChainId[ChainId["HYPEREVM"] = 999] = "HYPEREVM";
ChainId[ChainId["SONIC"] = 146] = "SONIC";
ChainId[ChainId["BERACHAIN"] = 80094] = "BERACHAIN";
return ChainId;

@@ -991,3 +993,3 @@ }({});

name: 'Monad Explorer',
rootUrl: 'https://mainnet-beta.monvision.io/'
rootUrl: 'https://monvision.io/'
},

@@ -1044,3 +1046,3 @@ nativeToken: {

name: 'Incentiv Testnet Explorer v2',
rootUrl: 'https://explorer.testnet.incentiv.net/'
rootUrl: 'https://explorer-testnet.incentiv.io/'
},

@@ -1154,2 +1156,36 @@ nativeToken: {

}
},
[ChainId.SONIC]: {
chainId: ChainId.SONIC,
type: NetworkType.MAINNET,
name: 'sonic',
title: 'Sonic',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SONIC}.webp`,
testnet: false,
blockExplorer: {
name: 'Sonic',
rootUrl: 'https://sonicscan.org/'
},
nativeToken: {
symbol: 'Sonic',
name: 'Sonic',
decimals: 18
}
},
[ChainId.BERACHAIN]: {
chainId: ChainId.BERACHAIN,
type: NetworkType.MAINNET,
name: 'berachain',
title: 'Berachain',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BERACHAIN}.webp`,
testnet: false,
blockExplorer: {
name: 'Berachain',
rootUrl: 'https://berascan.com/'
},
nativeToken: {
symbol: 'Berachain',
name: 'Berachain',
decimals: 18
}
}

@@ -1156,0 +1192,0 @@ };

@@ -75,2 +75,4 @@ 'use strict';

ChainId[ChainId["HYPEREVM"] = 999] = "HYPEREVM";
ChainId[ChainId["SONIC"] = 146] = "SONIC";
ChainId[ChainId["BERACHAIN"] = 80094] = "BERACHAIN";
return ChainId;

@@ -991,3 +993,3 @@ }({});

name: 'Monad Explorer',
rootUrl: 'https://mainnet-beta.monvision.io/'
rootUrl: 'https://monvision.io/'
},

@@ -1044,3 +1046,3 @@ nativeToken: {

name: 'Incentiv Testnet Explorer v2',
rootUrl: 'https://explorer.testnet.incentiv.net/'
rootUrl: 'https://explorer-testnet.incentiv.io/'
},

@@ -1154,2 +1156,36 @@ nativeToken: {

}
},
[ChainId.SONIC]: {
chainId: ChainId.SONIC,
type: NetworkType.MAINNET,
name: 'sonic',
title: 'Sonic',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SONIC}.webp`,
testnet: false,
blockExplorer: {
name: 'Sonic',
rootUrl: 'https://sonicscan.org/'
},
nativeToken: {
symbol: 'Sonic',
name: 'Sonic',
decimals: 18
}
},
[ChainId.BERACHAIN]: {
chainId: ChainId.BERACHAIN,
type: NetworkType.MAINNET,
name: 'berachain',
title: 'Berachain',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BERACHAIN}.webp`,
testnet: false,
blockExplorer: {
name: 'Berachain',
rootUrl: 'https://berascan.com/'
},
nativeToken: {
symbol: 'Berachain',
name: 'Berachain',
decimals: 18
}
}

@@ -1156,0 +1192,0 @@ };

@@ -71,2 +71,4 @@ let NetworkType = /*#__PURE__*/function (NetworkType) {

ChainId[ChainId["HYPEREVM"] = 999] = "HYPEREVM";
ChainId[ChainId["SONIC"] = 146] = "SONIC";
ChainId[ChainId["BERACHAIN"] = 80094] = "BERACHAIN";
return ChainId;

@@ -987,3 +989,3 @@ }({});

name: 'Monad Explorer',
rootUrl: 'https://mainnet-beta.monvision.io/'
rootUrl: 'https://monvision.io/'
},

@@ -1040,3 +1042,3 @@ nativeToken: {

name: 'Incentiv Testnet Explorer v2',
rootUrl: 'https://explorer.testnet.incentiv.net/'
rootUrl: 'https://explorer-testnet.incentiv.io/'
},

@@ -1150,2 +1152,36 @@ nativeToken: {

}
},
[ChainId.SONIC]: {
chainId: ChainId.SONIC,
type: NetworkType.MAINNET,
name: 'sonic',
title: 'Sonic',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SONIC}.webp`,
testnet: false,
blockExplorer: {
name: 'Sonic',
rootUrl: 'https://sonicscan.org/'
},
nativeToken: {
symbol: 'Sonic',
name: 'Sonic',
decimals: 18
}
},
[ChainId.BERACHAIN]: {
chainId: ChainId.BERACHAIN,
type: NetworkType.MAINNET,
name: 'berachain',
title: 'Berachain',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BERACHAIN}.webp`,
testnet: false,
blockExplorer: {
name: 'Berachain',
rootUrl: 'https://berascan.com/'
},
nativeToken: {
symbol: 'Berachain',
name: 'Berachain',
decimals: 18
}
}

@@ -1152,0 +1188,0 @@ };

+1
-1

@@ -270,3 +270,3 @@ 'use strict';

disabled: true
}), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV_TESTNET_V2), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.KATANA), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.SANDBOX_TESTNET), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.ARC_TESTNET), ...hardhatNetworks]);
}), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV_TESTNET_V2), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.KATANA), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.SANDBOX_TESTNET), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.ARC_TESTNET), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.HYPEREVM), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.BERACHAIN), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.SONIC), ...hardhatNetworks]);

@@ -273,0 +273,0 @@ class JsonRpcRouter {

@@ -270,3 +270,3 @@ 'use strict';

disabled: true
}), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV_TESTNET_V2), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.KATANA), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.SANDBOX_TESTNET), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.ARC_TESTNET), ...hardhatNetworks]);
}), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV_TESTNET_V2), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.INCENTIV), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.KATANA), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.SANDBOX_TESTNET), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.ARC_TESTNET), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.HYPEREVM), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.BERACHAIN), createNetworkConfig(constants_dist_0xsequenceNetworkConstants.ChainId.SONIC), ...hardhatNetworks]);

@@ -273,0 +273,0 @@ class JsonRpcRouter {

@@ -267,3 +267,3 @@ import { networks, ChainId } from '../constants/dist/0xsequence-network-constants.esm.js';

disabled: true
}), createNetworkConfig(ChainId.INCENTIV_TESTNET_V2), createNetworkConfig(ChainId.INCENTIV), createNetworkConfig(ChainId.KATANA), createNetworkConfig(ChainId.SANDBOX_TESTNET), createNetworkConfig(ChainId.ARC_TESTNET), ...hardhatNetworks]);
}), createNetworkConfig(ChainId.INCENTIV_TESTNET_V2), createNetworkConfig(ChainId.INCENTIV), createNetworkConfig(ChainId.KATANA), createNetworkConfig(ChainId.SANDBOX_TESTNET), createNetworkConfig(ChainId.ARC_TESTNET), createNetworkConfig(ChainId.HYPEREVM), createNetworkConfig(ChainId.BERACHAIN), createNetworkConfig(ChainId.SONIC), ...hardhatNetworks]);

@@ -270,0 +270,0 @@ class JsonRpcRouter {

@@ -91,5 +91,7 @@ export declare enum NetworkType {

ARC_TESTNET = 5042002,
HYPEREVM = 999
HYPEREVM = 999,
SONIC = 146,
BERACHAIN = 80094
}
export declare const networks: Record<ChainId, NetworkMetadata>;
export declare function getChainIdFromNetwork(networkName: string): ChainId;
{
"name": "@0xsequence/network",
"version": "2.3.40",
"version": "2.3.41",
"description": "network sub-package for Sequence",

@@ -15,6 +15,6 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/network",

"dependencies": {
"@0xsequence/relayer": "2.3.40",
"@0xsequence/utils": "2.3.40",
"@0xsequence/core": "2.3.40",
"@0xsequence/indexer": "2.3.40"
"@0xsequence/utils": "2.3.41",
"@0xsequence/core": "2.3.41",
"@0xsequence/relayer": "2.3.41",
"@0xsequence/indexer": "2.3.41"
},

@@ -21,0 +21,0 @@ "devDependencies": {

@@ -149,3 +149,6 @@ import { ethers } from 'ethers'

createNetworkConfig(ChainId.ARC_TESTNET),
createNetworkConfig(ChainId.HYPEREVM),
createNetworkConfig(ChainId.BERACHAIN),
createNetworkConfig(ChainId.SONIC),
...hardhatNetworks
])

@@ -153,3 +153,9 @@ export enum NetworkType {

// HYPEREVM
HYPEREVM = 999
HYPEREVM = 999,
// SONIC
SONIC = 146,
// BERACHAIN
BERACHAIN = 80094
}

@@ -1070,3 +1076,3 @@

name: 'Monad Explorer',
rootUrl: 'https://mainnet-beta.monvision.io/'
rootUrl: 'https://monvision.io/'
},

@@ -1126,3 +1132,3 @@ nativeToken: {

name: 'Incentiv Testnet Explorer v2',
rootUrl: 'https://explorer.testnet.incentiv.net/'
rootUrl: 'https://explorer-testnet.incentiv.io/'
},

@@ -1242,2 +1248,38 @@ nativeToken: {

}
},
[ChainId.SONIC]: {
chainId: ChainId.SONIC,
type: NetworkType.MAINNET,
name: 'sonic',
title: 'Sonic',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.SONIC}.webp`,
testnet: false,
blockExplorer: {
name: 'Sonic',
rootUrl: 'https://sonicscan.org/'
},
nativeToken: {
symbol: 'Sonic',
name: 'Sonic',
decimals: 18
}
},
[ChainId.BERACHAIN]: {
chainId: ChainId.BERACHAIN,
type: NetworkType.MAINNET,
name: 'berachain',
title: 'Berachain',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.BERACHAIN}.webp`,
testnet: false,
blockExplorer: {
name: 'Berachain',
rootUrl: 'https://berascan.com/'
},
nativeToken: {
symbol: 'Berachain',
name: 'Berachain',
decimals: 18
}
}

@@ -1244,0 +1286,0 @@ }