@defillama/sdk 5.0.151 → 5.0.154

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.
@@ -97,7 +97,7 @@ function filterRPCs(rpc) {
97
97
  if (i.includes('$'))
98
98
  return false; // remove anything where api key is injected
99
99
  // reject websocket, http, testnet, devnet, and anything with '='
100
- if (/(wss\:|ws\:|http\:|test|devnet|terminet\.io|huobichain\.com|getblock\.io|bitstack\.com|nodereal.io\/v1|pokt\.network|ankr\.com|histori\.xyz|owlracle\.info\=)/.test(i))
100
+ if (/(wss\:|ws\:|http\:|test|devnet|terminet\.io|huobichain\.com|getblock\.io|bitstack\.com|nodereal.io\/v1|pokt\.network|ankr\.com|histori\.xyz|chainstacklabs\.com|owlracle\.info\=)/.test(i))
101
101
  return false; // remove anything with blacklisted words
102
102
  return true;
103
103
  }).map((i) => {
@@ -118,7 +118,7 @@ const chainShortNameMapping = {
118
118
  hydradx: 'hdx',
119
119
  nibiru: 'cataclysm_1',
120
120
  elsm: 'ely',
121
- tac: 'tacchain_239_1',
121
+ tac: 'tacchain',
122
122
  };
123
123
  async function filterForWorkingRPCs(rpc, chain, chainId) {
124
124
  if (rpc.length < 10)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defillama/sdk",
3
- "version": "5.0.151",
3
+ "version": "5.0.154",
4
4
  "description": "SDK for calculating TVL",
5
5
  "main": "build/index.js",
6
6
  "scripts": {