@steerprotocol/sdk 3.1.0 → 3.2.0
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/dist/index.browser.mjs +34 -32
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.cjs +34 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +0 -5
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +34 -32
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -9210,54 +9210,56 @@ const deprecatedBundlesURL = "https://api.steer.finance/deprecated-bundles";
|
|
|
9210
9210
|
* Each chain has a dedicated subgraph URL for querying protocol data.
|
|
9211
9211
|
* Updated each chains for ormi and thegraph
|
|
9212
9212
|
*/
|
|
9213
|
+
const offlineSubgraphBaseUrl = "https://subgraph-archive.steer.finance/graphql";
|
|
9214
|
+
const offlineSubgraphUrl = (chain) => `${offlineSubgraphBaseUrl}/${chain}`;
|
|
9213
9215
|
const steerSubgraphConfig = {
|
|
9214
9216
|
[Chain.Polygon]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-polygon/prod/gn",
|
|
9215
9217
|
[Chain.BSC]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-bsc-beta/prod/gn",
|
|
9216
9218
|
[Chain.Optimism]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/GgW1EwNARL3dyo3acQ3VhraQQ66MHT7QnYuGcQc5geDG",
|
|
9217
9219
|
[Chain.Arbitrum]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-arbitrum/prod/gn",
|
|
9218
|
-
[Chain.Evmos]: "
|
|
9219
|
-
[Chain.Thundercore]: "
|
|
9220
|
-
[Chain.Metis]: "
|
|
9220
|
+
[Chain.Evmos]: offlineSubgraphUrl("evmos"),
|
|
9221
|
+
[Chain.Thundercore]: offlineSubgraphUrl("thundercore"),
|
|
9222
|
+
[Chain.Metis]: offlineSubgraphUrl("metis"),
|
|
9221
9223
|
[Chain.Base]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-base/beta/gn",
|
|
9222
9224
|
[Chain.Avalanche]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/GZotTj3rQJ8ZqVyodtK8TcnKcUxMgeF7mCJHGPYbu8dA",
|
|
9223
|
-
[Chain.PolygonzkEVM]: "
|
|
9225
|
+
[Chain.PolygonzkEVM]: offlineSubgraphUrl("zkevm"),
|
|
9224
9226
|
[Chain.Celo]: "https://subgraph-proxy-server-xf2uthetka-as.a.run.app/gateway-arbitrum/BPaFHyfVrhv3pdjGodpQcWggAg1Bcrvc9SFc2t2BXeho",
|
|
9225
|
-
[Chain.Kava]: "
|
|
9227
|
+
[Chain.Kava]: offlineSubgraphUrl("kava"),
|
|
9226
9228
|
[Chain.Linea]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-linea/prod/gn",
|
|
9227
|
-
[Chain.Scroll]: "
|
|
9228
|
-
[Chain.Manta]: "
|
|
9229
|
-
[Chain.Astar]: "
|
|
9230
|
-
[Chain.Fantom]: "
|
|
9229
|
+
[Chain.Scroll]: offlineSubgraphUrl("scroll"),
|
|
9230
|
+
[Chain.Manta]: offlineSubgraphUrl("manta"),
|
|
9231
|
+
[Chain.Astar]: offlineSubgraphUrl("astar"),
|
|
9232
|
+
[Chain.Fantom]: offlineSubgraphUrl("fantom"),
|
|
9231
9233
|
[Chain.OkxTestnet]: "https://subgraph.steer.finance/steer-x1-testnet/subgraphs/name/steerprotocol/steer-okxtestnet",
|
|
9232
|
-
[Chain.Mantle]: "
|
|
9233
|
-
[Chain.AstarZkevm]: "
|
|
9234
|
-
[Chain.Blast]: "
|
|
9235
|
-
[Chain.Mode]: "
|
|
9236
|
-
[Chain.Telos]: "
|
|
9237
|
-
[Chain.XLayer]: "
|
|
9238
|
-
[Chain.Taiko]: "
|
|
9234
|
+
[Chain.Mantle]: offlineSubgraphUrl("mantle"),
|
|
9235
|
+
[Chain.AstarZkevm]: offlineSubgraphUrl("astarzkevm"),
|
|
9236
|
+
[Chain.Blast]: offlineSubgraphUrl("blast"),
|
|
9237
|
+
[Chain.Mode]: offlineSubgraphUrl("mode"),
|
|
9238
|
+
[Chain.Telos]: offlineSubgraphUrl("telos"),
|
|
9239
|
+
[Chain.XLayer]: offlineSubgraphUrl("xlayer"),
|
|
9240
|
+
[Chain.Taiko]: offlineSubgraphUrl("taiko"),
|
|
9239
9241
|
[Chain.Rootstock]: "https://api.goldsky.com/api/public/project_cm2k9xbkz4qg901vs51bm5uau/subgraphs/steer-protocol-rootstock/prod/gn",
|
|
9240
|
-
[Chain.ZklinkNova]: "
|
|
9242
|
+
[Chain.ZklinkNova]: offlineSubgraphUrl("zklinknova"),
|
|
9241
9243
|
[Chain.Flare]: "https://api.goldsky.com/api/public/project_cm2k9xbkz4qg901vs51bm5uau/subgraphs/steer-protocol-flare/prod/gn",
|
|
9242
|
-
[Chain.BeraChainBartio]: "
|
|
9243
|
-
[Chain.Filecoin]: "
|
|
9244
|
-
[Chain.Apechain]: "
|
|
9245
|
-
[Chain.Zircuit]: "
|
|
9246
|
-
[Chain.Moonbeam]: "
|
|
9247
|
-
[Chain.Sei]: "
|
|
9248
|
-
[Chain.Sonic]: "
|
|
9249
|
-
[Chain.Zeta]: "
|
|
9244
|
+
[Chain.BeraChainBartio]: offlineSubgraphUrl("berabarito"),
|
|
9245
|
+
[Chain.Filecoin]: offlineSubgraphUrl("filecoin"),
|
|
9246
|
+
[Chain.Apechain]: offlineSubgraphUrl("apechain"),
|
|
9247
|
+
[Chain.Zircuit]: offlineSubgraphUrl("zircuit"),
|
|
9248
|
+
[Chain.Moonbeam]: offlineSubgraphUrl("moonbeam"),
|
|
9249
|
+
[Chain.Sei]: offlineSubgraphUrl("sei"),
|
|
9250
|
+
[Chain.Sonic]: offlineSubgraphUrl("sonic"),
|
|
9251
|
+
[Chain.Zeta]: offlineSubgraphUrl("zeta"),
|
|
9250
9252
|
[Chain.Mainnet]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-mainnet/prod/gn",
|
|
9251
|
-
[Chain.Soneium]: "
|
|
9253
|
+
[Chain.Soneium]: offlineSubgraphUrl("soneium"),
|
|
9252
9254
|
[Chain.Bera]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-bera/prod/gn",
|
|
9253
9255
|
[Chain.Unichain]: "https://api.goldsky.com/api/public/project_cmnrgd4exaie801sa45a1609h/subgraphs/steer-protocol-unichain/prod/gn",
|
|
9254
|
-
[Chain.Hemi]: "
|
|
9255
|
-
[Chain.TataraTestnet]: "
|
|
9256
|
-
[Chain.Core]: "
|
|
9257
|
-
[Chain.Peaq]: "
|
|
9256
|
+
[Chain.Hemi]: offlineSubgraphUrl("hemi"),
|
|
9257
|
+
[Chain.TataraTestnet]: offlineSubgraphUrl("tataratestnet"),
|
|
9258
|
+
[Chain.Core]: offlineSubgraphUrl("core"),
|
|
9259
|
+
[Chain.Peaq]: offlineSubgraphUrl("peaq"),
|
|
9258
9260
|
[Chain.Katana]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-katana/prod/gn",
|
|
9259
|
-
[Chain.Ronin]: "
|
|
9260
|
-
[Chain.Saga]: "
|
|
9261
|
+
[Chain.Ronin]: offlineSubgraphUrl("ronin"),
|
|
9262
|
+
[Chain.Saga]: offlineSubgraphUrl("saga"),
|
|
9261
9263
|
[Chain.Nibiru]: "https://app.sentio.xyz//api/v1/graphql/rakesh/steer-protocol-nibiru",
|
|
9262
9264
|
[Chain.Hyperevm]: "https://api.subgraph.ormilabs.com/api/public/803c8c8c-be12-4188-8523-b9853e23051d/subgraphs/steer-protocol-hyperevm/prod/gn",
|
|
9263
9265
|
[Chain.Bittensor]: "https://subgraph.35-247-158-26.sslip.io/subgraphs/name/steer-subgraph",
|