chainlist-rpcs 0.3.2 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/modules/filter.js CHANGED
@@ -3,8 +3,6 @@ import rpcs from '../constants/extraRpcs'
3
3
  import chains from '../constants/chainIds'
4
4
  import { chains_by_name } from './chains'
5
5
 
6
-
7
-
8
6
  /**
9
7
  * Retrieves the RPC urls for a specified blockchain.
10
8
  *
package/modules/rpcs.js CHANGED
@@ -10,7 +10,7 @@ const simple_rpc_list = Object.keys( rpcs ).reduce( ( acc, chainId ) => {
10
10
  Object.keys( simple_rpc_list ).forEach( chainId => {
11
11
  simple_rpc_list[chainId] = simple_rpc_list[chainId].map( rpc => {
12
12
  if( typeof rpc === 'string' ) {
13
- return { url: rpc }
13
+ return { url: rpc, tracking: 'unknown', trackingDetails: 'unknown' }
14
14
  }
15
15
  return rpc
16
16
  } )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chainlist-rpcs",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "type": "module",
5
5
  "description": "Wrapper around the rpcs as published by DefiLlama/chainlist.",
6
6
  "main": "app.js",