@gearbox-protocol/sdk 9.10.5 → 9.10.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.
@@ -127,7 +127,7 @@ class AbstractMigrateCreditAccountsService extends import_base.SDKConstruct {
127
127
  return updates;
128
128
  }
129
129
  static getV310TargetTokenAddress(source, chainId) {
130
- return AbstractMigrateCreditAccountsService.V300_TO_V310_TOKENS_OVERRIDES[chainId][source] ?? source;
130
+ return AbstractMigrateCreditAccountsService.V300_TO_V310_TOKENS_OVERRIDES[chainId]?.[source] ?? source;
131
131
  }
132
132
  static getMigrationBotAddress(chainId) {
133
133
  const botAddress = chainId === import_chains.chains.Mainnet.id ? AbstractMigrateCreditAccountsService.accountMigratorBot : void 0;
@@ -107,7 +107,7 @@ class AbstractMigrateCreditAccountsService extends SDKConstruct {
107
107
  return updates;
108
108
  }
109
109
  static getV310TargetTokenAddress(source, chainId) {
110
- return AbstractMigrateCreditAccountsService.V300_TO_V310_TOKENS_OVERRIDES[chainId][source] ?? source;
110
+ return AbstractMigrateCreditAccountsService.V300_TO_V310_TOKENS_OVERRIDES[chainId]?.[source] ?? source;
111
111
  }
112
112
  static getMigrationBotAddress(chainId) {
113
113
  const botAddress = chainId === CHAINS.Mainnet.id ? AbstractMigrateCreditAccountsService.accountMigratorBot : void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "9.10.5",
3
+ "version": "9.10.6",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",