New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@0xsequence/network

Package Overview
Dependencies
Maintainers
7
Versions
506
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 0.0.0-20240321190537 to 0.0.0-20240321210738

24

constants/dist/0xsequence-network-constants.cjs.dev.js

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

ChainId[ChainId["XAI_SEPOLIA"] = 37714555429] = "XAI_SEPOLIA";
ChainId[ChainId["ASTAR_ZKEVM"] = 3776] = "ASTAR_ZKEVM";
ChainId[ChainId["ASTAR_ZKATANA"] = 1261120] = "ASTAR_ZKATANA";
ChainId[ChainId["HARDHAT"] = 31337] = "HARDHAT";

@@ -382,2 +384,24 @@ ChainId[ChainId["HARDHAT_2"] = 31338] = "HARDHAT_2";

},
[ChainId.ASTAR_ZKEVM]: {
chainId: ChainId.ASTAR_ZKEVM,
type: NetworkType.MAINNET,
name: 'astar-zkevm',
title: 'Astar zkEVM',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ASTAR_ZKEVM}.webp`,
blockExplorer: {
name: 'Astar zkEVM Explorer',
rootUrl: 'https://astar-zkevm.explorer.startale.com/'
}
},
[ChainId.ASTAR_ZKATANA]: {
chainId: ChainId.ASTAR_ZKATANA,
type: NetworkType.TESTNET,
name: 'astar-zkatana',
title: 'Astar zkATANA Testnet',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ASTAR_ZKATANA}.webp`,
blockExplorer: {
name: 'Astar zkATANA Explorer',
rootUrl: 'https://zkatana.explorer.startale.com/'
}
},
[ChainId.HARDHAT]: {

@@ -384,0 +408,0 @@ chainId: ChainId.HARDHAT,

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

ChainId[ChainId["XAI_SEPOLIA"] = 37714555429] = "XAI_SEPOLIA";
ChainId[ChainId["ASTAR_ZKEVM"] = 3776] = "ASTAR_ZKEVM";
ChainId[ChainId["ASTAR_ZKATANA"] = 1261120] = "ASTAR_ZKATANA";
ChainId[ChainId["HARDHAT"] = 31337] = "HARDHAT";

@@ -382,2 +384,24 @@ ChainId[ChainId["HARDHAT_2"] = 31338] = "HARDHAT_2";

},
[ChainId.ASTAR_ZKEVM]: {
chainId: ChainId.ASTAR_ZKEVM,
type: NetworkType.MAINNET,
name: 'astar-zkevm',
title: 'Astar zkEVM',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ASTAR_ZKEVM}.webp`,
blockExplorer: {
name: 'Astar zkEVM Explorer',
rootUrl: 'https://astar-zkevm.explorer.startale.com/'
}
},
[ChainId.ASTAR_ZKATANA]: {
chainId: ChainId.ASTAR_ZKATANA,
type: NetworkType.TESTNET,
name: 'astar-zkatana',
title: 'Astar zkATANA Testnet',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ASTAR_ZKATANA}.webp`,
blockExplorer: {
name: 'Astar zkATANA Explorer',
rootUrl: 'https://zkatana.explorer.startale.com/'
}
},
[ChainId.HARDHAT]: {

@@ -384,0 +408,0 @@ chainId: ChainId.HARDHAT,

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

ChainId[ChainId["XAI_SEPOLIA"] = 37714555429] = "XAI_SEPOLIA";
ChainId[ChainId["ASTAR_ZKEVM"] = 3776] = "ASTAR_ZKEVM";
ChainId[ChainId["ASTAR_ZKATANA"] = 1261120] = "ASTAR_ZKATANA";
ChainId[ChainId["HARDHAT"] = 31337] = "HARDHAT";

@@ -378,2 +380,24 @@ ChainId[ChainId["HARDHAT_2"] = 31338] = "HARDHAT_2";

},
[ChainId.ASTAR_ZKEVM]: {
chainId: ChainId.ASTAR_ZKEVM,
type: NetworkType.MAINNET,
name: 'astar-zkevm',
title: 'Astar zkEVM',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ASTAR_ZKEVM}.webp`,
blockExplorer: {
name: 'Astar zkEVM Explorer',
rootUrl: 'https://astar-zkevm.explorer.startale.com/'
}
},
[ChainId.ASTAR_ZKATANA]: {
chainId: ChainId.ASTAR_ZKATANA,
type: NetworkType.TESTNET,
name: 'astar-zkatana',
title: 'Astar zkATANA Testnet',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ASTAR_ZKATANA}.webp`,
blockExplorer: {
name: 'Astar zkATANA Explorer',
rootUrl: 'https://zkatana.explorer.startale.com/'
}
},
[ChainId.HARDHAT]: {

@@ -380,0 +404,0 @@ chainId: ChainId.HARDHAT,

2

dist/0xsequence-network.cjs.dev.js

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

disabled: true
}), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.SEPOLIA], genUrls('sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.POLYGON_MUMBAI], genUrls('mumbai')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.BSC_TESTNET], genUrls('bsc-testnet')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.ARBITRUM_SEPOLIA], genUrls('arbitrum-sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.BASE], genUrls('base')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.BASE_SEPOLIA], genUrls('base-sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.HOMEVERSE], genUrls('homeverse')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.HOMEVERSE_TESTNET], genUrls('homeverse-testnet')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.XAI_SEPOLIA], genUrls('xai-sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.AVALANCHE_TESTNET], genUrls('avalanche-testnet')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.HARDHAT], {
}), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.SEPOLIA], genUrls('sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.POLYGON_MUMBAI], genUrls('mumbai')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.BSC_TESTNET], genUrls('bsc-testnet')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.ARBITRUM_SEPOLIA], genUrls('arbitrum-sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.BASE], genUrls('base')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.BASE_SEPOLIA], genUrls('base-sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.HOMEVERSE], genUrls('homeverse')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.HOMEVERSE_TESTNET], genUrls('homeverse-testnet')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.XAI_SEPOLIA], genUrls('xai-sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.AVALANCHE_TESTNET], genUrls('avalanche-testnet')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.ASTAR_ZKEVM], genUrls('astar-zkevm')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.ASTAR_ZKATANA], genUrls('astar-zkatana')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.HARDHAT], {
rpcUrl: 'http://localhost:8545',

@@ -251,0 +251,0 @@ relayer: {

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

disabled: true
}), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.SEPOLIA], genUrls('sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.POLYGON_MUMBAI], genUrls('mumbai')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.BSC_TESTNET], genUrls('bsc-testnet')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.ARBITRUM_SEPOLIA], genUrls('arbitrum-sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.BASE], genUrls('base')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.BASE_SEPOLIA], genUrls('base-sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.HOMEVERSE], genUrls('homeverse')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.HOMEVERSE_TESTNET], genUrls('homeverse-testnet')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.XAI_SEPOLIA], genUrls('xai-sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.AVALANCHE_TESTNET], genUrls('avalanche-testnet')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.HARDHAT], {
}), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.SEPOLIA], genUrls('sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.POLYGON_MUMBAI], genUrls('mumbai')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.BSC_TESTNET], genUrls('bsc-testnet')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.ARBITRUM_SEPOLIA], genUrls('arbitrum-sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.BASE], genUrls('base')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.BASE_SEPOLIA], genUrls('base-sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.HOMEVERSE], genUrls('homeverse')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.HOMEVERSE_TESTNET], genUrls('homeverse-testnet')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.XAI_SEPOLIA], genUrls('xai-sepolia')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.AVALANCHE_TESTNET], genUrls('avalanche-testnet')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.ASTAR_ZKEVM], genUrls('astar-zkevm')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.ASTAR_ZKATANA], genUrls('astar-zkatana')), _extends({}, constants_dist_0xsequenceNetworkConstants.networks[constants_dist_0xsequenceNetworkConstants.ChainId.HARDHAT], {
rpcUrl: 'http://localhost:8545',

@@ -251,0 +251,0 @@ relayer: {

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

disabled: true
}), _extends({}, networks[ChainId.SEPOLIA], genUrls('sepolia')), _extends({}, networks[ChainId.POLYGON_MUMBAI], genUrls('mumbai')), _extends({}, networks[ChainId.BSC_TESTNET], genUrls('bsc-testnet')), _extends({}, networks[ChainId.ARBITRUM_SEPOLIA], genUrls('arbitrum-sepolia')), _extends({}, networks[ChainId.BASE], genUrls('base')), _extends({}, networks[ChainId.BASE_SEPOLIA], genUrls('base-sepolia')), _extends({}, networks[ChainId.HOMEVERSE], genUrls('homeverse')), _extends({}, networks[ChainId.HOMEVERSE_TESTNET], genUrls('homeverse-testnet')), _extends({}, networks[ChainId.XAI_SEPOLIA], genUrls('xai-sepolia')), _extends({}, networks[ChainId.AVALANCHE_TESTNET], genUrls('avalanche-testnet')), _extends({}, networks[ChainId.HARDHAT], {
}), _extends({}, networks[ChainId.SEPOLIA], genUrls('sepolia')), _extends({}, networks[ChainId.POLYGON_MUMBAI], genUrls('mumbai')), _extends({}, networks[ChainId.BSC_TESTNET], genUrls('bsc-testnet')), _extends({}, networks[ChainId.ARBITRUM_SEPOLIA], genUrls('arbitrum-sepolia')), _extends({}, networks[ChainId.BASE], genUrls('base')), _extends({}, networks[ChainId.BASE_SEPOLIA], genUrls('base-sepolia')), _extends({}, networks[ChainId.HOMEVERSE], genUrls('homeverse')), _extends({}, networks[ChainId.HOMEVERSE_TESTNET], genUrls('homeverse-testnet')), _extends({}, networks[ChainId.XAI_SEPOLIA], genUrls('xai-sepolia')), _extends({}, networks[ChainId.AVALANCHE_TESTNET], genUrls('avalanche-testnet')), _extends({}, networks[ChainId.ASTAR_ZKEVM], genUrls('astar-zkevm')), _extends({}, networks[ChainId.ASTAR_ZKATANA], genUrls('astar-zkatana')), _extends({}, networks[ChainId.HARDHAT], {
rpcUrl: 'http://localhost:8545',

@@ -248,0 +248,0 @@ relayer: {

@@ -30,2 +30,4 @@ export declare enum ChainId {

XAI_SEPOLIA = 37714555429,
ASTAR_ZKEVM = 3776,
ASTAR_ZKATANA = 1261120,
HARDHAT = 31337,

@@ -32,0 +34,0 @@ HARDHAT_2 = 31338

{
"name": "@0xsequence/network",
"version": "0.0.0-20240321190537",
"version": "0.0.0-20240321210738",
"description": "network sub-package for Sequence",

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

"dependencies": {
"@0xsequence/core": "0.0.0-20240321190537",
"@0xsequence/indexer": "0.0.0-20240321190537",
"@0xsequence/relayer": "0.0.0-20240321190537",
"@0xsequence/utils": "0.0.0-20240321190537"
"@0xsequence/core": "0.0.0-20240321210738",
"@0xsequence/indexer": "0.0.0-20240321210738",
"@0xsequence/relayer": "0.0.0-20240321210738",
"@0xsequence/utils": "0.0.0-20240321210738"
},

@@ -18,0 +18,0 @@ "peerDependencies": {

@@ -155,2 +155,10 @@ import { ethers } from 'ethers'

{
...networks[ChainId.ASTAR_ZKEVM],
...genUrls('astar-zkevm')
},
{
...networks[ChainId.ASTAR_ZKATANA],
...genUrls('astar-zkatana')
},
{
...networks[ChainId.HARDHAT],

@@ -157,0 +165,0 @@ rpcUrl: 'http://localhost:8545',

@@ -52,2 +52,6 @@ export enum ChainId {

// Astar
ASTAR_ZKEVM = 3776,
ASTAR_ZKATANA = 1261120,
// HARDHAT TESTNETS

@@ -420,3 +424,24 @@ HARDHAT = 31337,

},
[ChainId.ASTAR_ZKEVM]: {
chainId: ChainId.ASTAR_ZKEVM,
type: NetworkType.MAINNET,
name: 'astar-zkevm',
title: 'Astar zkEVM',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ASTAR_ZKEVM}.webp`,
blockExplorer: {
name: 'Astar zkEVM Explorer',
rootUrl: 'https://astar-zkevm.explorer.startale.com/'
}
},
[ChainId.ASTAR_ZKATANA]: {
chainId: ChainId.ASTAR_ZKATANA,
type: NetworkType.TESTNET,
name: 'astar-zkatana',
title: 'Astar zkATANA Testnet',
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ASTAR_ZKATANA}.webp`,
blockExplorer: {
name: 'Astar zkATANA Explorer',
rootUrl: 'https://zkatana.explorer.startale.com/'
}
},
[ChainId.HARDHAT]: {

@@ -423,0 +448,0 @@ chainId: ChainId.HARDHAT,

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