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