@gearbox-protocol/sdk 8.27.8 → 8.27.9

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.
@@ -327,7 +327,7 @@ function isPublicNetwork(networkOrChainId) {
327
327
  function getCuratorName(marketConfigurator, network) {
328
328
  const chainz = network ? [chains[network]] : Object.values(chains);
329
329
  for (const c of chainz) {
330
- for (const [a, curator] of Object.entries({
330
+ for (const [a, curator] of import_utils.TypedObjectUtils.entries({
331
331
  ...c.defaultMarketConfigurators,
332
332
  ...c.testMarketConfigurators
333
333
  })) {
@@ -311,7 +311,7 @@ function isPublicNetwork(networkOrChainId) {
311
311
  function getCuratorName(marketConfigurator, network) {
312
312
  const chainz = network ? [chains[network]] : Object.values(chains);
313
313
  for (const c of chainz) {
314
- for (const [a, curator] of Object.entries({
314
+ for (const [a, curator] of TypedObjectUtils.entries({
315
315
  ...c.defaultMarketConfigurators,
316
316
  ...c.testMarketConfigurators
317
317
  })) {
@@ -56,7 +56,7 @@ export declare function isPublicNetwork(networkOrChainId: NetworkType | number |
56
56
  * @param network
57
57
  * @returns
58
58
  */
59
- export declare function getCuratorName(marketConfigurator: Address, network?: NetworkType): string | undefined;
59
+ export declare function getCuratorName(marketConfigurator: Address, network?: NetworkType): Curator | undefined;
60
60
  /**
61
61
  * Finds market configurator address by curator name
62
62
  * @param curator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "8.27.8",
3
+ "version": "8.27.9",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",