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

@particle-network/chains

Package Overview
Dependencies
Maintainers
5
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@particle-network/chains - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

1

dist/chains.d.ts

@@ -11,1 +11,2 @@ import type { Chain, ChainId, ChainInfo, ChainType } from './types';

export declare function getAllChainInfos(compareFn?: (a: ChainInfo, b: ChainInfo) => number): ChainInfo[];
export declare function getParticleNode(id: ChainId, projectId: String, projectKey: String): string;

@@ -118,2 +118,3 @@ "use strict";

getEVMChainInfoById: () => getEVMChainInfoById,
getParticleNode: () => getParticleNode,
getSolanaChainInfoById: () => getSolanaChainInfoById,

@@ -207,2 +208,5 @@ isChainSupportEIP1559: () => isChainSupportEIP1559

}
function getParticleNode(id, projectId, projectKey) {
return `https://rpc.particle.network/evm-chain?chainId=${id}&projectUuid=${projectId}&projectKey=${projectKey}`;
}

@@ -1234,3 +1238,3 @@ // src/index.ts

},
rpcUrl: "https://matic-mumbai.chainstacklabs.com",
rpcUrl: "https://polygon-mumbai.gateway.tenderly.co",
faucetUrl: "https://faucet.polygon.technology",

@@ -1237,0 +1241,0 @@ blockExplorerUrl: "https://mumbai.polygonscan.com",

@@ -17,2 +17,3 @@ var __defProp = Object.defineProperty;

getEVMChainInfoById: () => getEVMChainInfoById,
getParticleNode: () => getParticleNode,
getSolanaChainInfoById: () => getSolanaChainInfoById,

@@ -106,2 +107,5 @@ isChainSupportEIP1559: () => isChainSupportEIP1559

}
function getParticleNode(id, projectId, projectKey) {
return `https://rpc.particle.network/evm-chain?chainId=${id}&projectUuid=${projectId}&projectKey=${projectKey}`;
}

@@ -1133,3 +1137,3 @@ // src/index.ts

},
rpcUrl: "https://matic-mumbai.chainstacklabs.com",
rpcUrl: "https://polygon-mumbai.gateway.tenderly.co",
faucetUrl: "https://faucet.polygon.technology",

@@ -1136,0 +1140,0 @@ blockExplorerUrl: "https://mumbai.polygonscan.com",

2

package.json
{
"name": "@particle-network/chains",
"version": "1.0.4",
"version": "1.0.5",
"description": "paritlce chains",

@@ -5,0 +5,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet

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