@gearbox-protocol/sdk 11.6.4 → 11.6.6

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.
@@ -177,6 +177,12 @@ const chains = {
177
177
  // NOTE: Monad chain configs should be updated once the public mainnet is available
178
178
  Monad: (0, import_viem.defineChain)({
179
179
  ...import_chains.monad,
180
+ blockExplorers: {
181
+ default: {
182
+ name: "Monadscan",
183
+ url: "https://monadscan.com/"
184
+ }
185
+ },
180
186
  network: "Monad",
181
187
  defaultMarketConfigurators: {
182
188
  "0x16956912813ab9a38d95730b52a8cf53e860a7c5": "Tulipa",
@@ -53,7 +53,8 @@ function tryBisectBlockRange({ fromBlock, toBlock }, e) {
53
53
  "query exceeds max block",
54
54
  "range is too large",
55
55
  "eth_getLogs is limited to",
56
- "eth_getLogs requests with up to"
56
+ "eth_getLogs requests with up to",
57
+ "exceeded max allowed range"
57
58
  ];
58
59
  if (e instanceof Error && blockRangeErrors.some((errorText) => e.message.includes(errorText))) {
59
60
  const middle = (fromBlock + toBlock) / 2n;
@@ -162,6 +162,12 @@ const chains = {
162
162
  // NOTE: Monad chain configs should be updated once the public mainnet is available
163
163
  Monad: defineChain({
164
164
  ...monad,
165
+ blockExplorers: {
166
+ default: {
167
+ name: "Monadscan",
168
+ url: "https://monadscan.com/"
169
+ }
170
+ },
165
171
  network: "Monad",
166
172
  defaultMarketConfigurators: {
167
173
  "0x16956912813ab9a38d95730b52a8cf53e860a7c5": "Tulipa",
@@ -32,7 +32,8 @@ function tryBisectBlockRange({ fromBlock, toBlock }, e) {
32
32
  "query exceeds max block",
33
33
  "range is too large",
34
34
  "eth_getLogs is limited to",
35
- "eth_getLogs requests with up to"
35
+ "eth_getLogs requests with up to",
36
+ "exceeded max allowed range"
36
37
  ];
37
38
  if (e instanceof Error && blockRangeErrors.some((errorText) => e.message.includes(errorText))) {
38
39
  const middle = (fromBlock + toBlock) / 2n;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "11.6.4",
3
+ "version": "11.6.6",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",