@defisaver/automation-sdk 1.2.6 → 1.2.7

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.
@@ -153,12 +153,12 @@ export const MAINNET_BUNDLES_INFO = {
153
153
  [Bundles.MainnetIds.MORPHO_AAVE_V2_REPAY]: {
154
154
  strategyOrBundleId: Bundles.MainnetIds.MORPHO_AAVE_V2_REPAY,
155
155
  strategyId: Strategies.Identifiers.Repay,
156
- protocol: PROTOCOLS.Morpho,
156
+ protocol: PROTOCOLS.MorphoAaveV2,
157
157
  },
158
158
  [Bundles.MainnetIds.MORPHO_AAVE_V2_BOOST]: {
159
159
  strategyOrBundleId: Bundles.MainnetIds.MORPHO_AAVE_V2_BOOST,
160
160
  strategyId: Strategies.Identifiers.Boost,
161
- protocol: PROTOCOLS.Morpho,
161
+ protocol: PROTOCOLS.MorphoAaveV2,
162
162
  },
163
163
  };
164
164
  export const OPTIMISM_BUNDLES_INFO = {
@@ -268,7 +268,7 @@ const parsingMethodsMapping = {
268
268
  [ProtocolIdentifiers.StrategiesAutomation.ChickenBonds]: {
269
269
  [Strategies.Identifiers.Rebond]: parseChickenBondsRebond,
270
270
  },
271
- [ProtocolIdentifiers.StrategiesAutomation.Morpho]: {
271
+ [ProtocolIdentifiers.StrategiesAutomation.MorphoAaveV2]: {
272
272
  [Strategies.Identifiers.Repay]: parseMorphoAaveV2LeverageManagement,
273
273
  [Strategies.Identifiers.Boost]: parseMorphoAaveV2LeverageManagement,
274
274
  },
@@ -26,7 +26,7 @@ export declare namespace ProtocolIdentifiers {
26
26
  ChickenBonds = "Chicken Bonds",
27
27
  CompoundV3 = "Compound__V3",
28
28
  AaveV3 = "Aave__V3",
29
- Morpho = "Morpho"
29
+ MorphoAaveV2 = "Morpho-Aave__V2"
30
30
  }
31
31
  enum LegacyAutomation {
32
32
  MakerDAO = "MakerDAO",
@@ -31,7 +31,7 @@ export var ProtocolIdentifiers;
31
31
  StrategiesAutomation["ChickenBonds"] = "Chicken Bonds";
32
32
  StrategiesAutomation["CompoundV3"] = "Compound__V3";
33
33
  StrategiesAutomation["AaveV3"] = "Aave__V3";
34
- StrategiesAutomation["Morpho"] = "Morpho";
34
+ StrategiesAutomation["MorphoAaveV2"] = "Morpho-Aave__V2";
35
35
  })(StrategiesAutomation = ProtocolIdentifiers.StrategiesAutomation || (ProtocolIdentifiers.StrategiesAutomation = {}));
36
36
  let LegacyAutomation;
37
37
  (function (LegacyAutomation) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defisaver/automation-sdk",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./esm/index.js",
@@ -169,12 +169,12 @@ export const MAINNET_BUNDLES_INFO: MainnetBundleInfo = {
169
169
  [Bundles.MainnetIds.MORPHO_AAVE_V2_REPAY]: {
170
170
  strategyOrBundleId: Bundles.MainnetIds.MORPHO_AAVE_V2_REPAY,
171
171
  strategyId: Strategies.Identifiers.Repay,
172
- protocol: PROTOCOLS.Morpho,
172
+ protocol: PROTOCOLS.MorphoAaveV2,
173
173
  },
174
174
  [Bundles.MainnetIds.MORPHO_AAVE_V2_BOOST]: {
175
175
  strategyOrBundleId: Bundles.MainnetIds.MORPHO_AAVE_V2_BOOST,
176
176
  strategyId: Strategies.Identifiers.Boost,
177
- protocol: PROTOCOLS.Morpho,
177
+ protocol: PROTOCOLS.MorphoAaveV2,
178
178
  },
179
179
  };
180
180
 
@@ -358,7 +358,7 @@ const parsingMethodsMapping: StrategiesToProtocolVersionMapping = {
358
358
  [ProtocolIdentifiers.StrategiesAutomation.ChickenBonds]: {
359
359
  [Strategies.Identifiers.Rebond]: parseChickenBondsRebond,
360
360
  },
361
- [ProtocolIdentifiers.StrategiesAutomation.Morpho]: {
361
+ [ProtocolIdentifiers.StrategiesAutomation.MorphoAaveV2]: {
362
362
  [Strategies.Identifiers.Repay]: parseMorphoAaveV2LeverageManagement,
363
363
  [Strategies.Identifiers.Boost]: parseMorphoAaveV2LeverageManagement,
364
364
  },
@@ -29,7 +29,7 @@ export namespace ProtocolIdentifiers {
29
29
  ChickenBonds = 'Chicken Bonds',
30
30
  CompoundV3 = 'Compound__V3',
31
31
  AaveV3 = 'Aave__V3',
32
- Morpho = 'Morpho',
32
+ MorphoAaveV2 = 'Morpho-Aave__V2',
33
33
  }
34
34
 
35
35
  export enum LegacyAutomation {
package/umd/index.js CHANGED
@@ -260,12 +260,12 @@ var MAINNET_BUNDLES_INFO = {
260
260
  [_types_enums__WEBPACK_IMPORTED_MODULE_0__.Bundles.MainnetIds.MORPHO_AAVE_V2_REPAY]: {
261
261
  strategyOrBundleId: _types_enums__WEBPACK_IMPORTED_MODULE_0__.Bundles.MainnetIds.MORPHO_AAVE_V2_REPAY,
262
262
  strategyId: _types_enums__WEBPACK_IMPORTED_MODULE_0__.Strategies.Identifiers.Repay,
263
- protocol: PROTOCOLS.Morpho
263
+ protocol: PROTOCOLS.MorphoAaveV2
264
264
  },
265
265
  [_types_enums__WEBPACK_IMPORTED_MODULE_0__.Bundles.MainnetIds.MORPHO_AAVE_V2_BOOST]: {
266
266
  strategyOrBundleId: _types_enums__WEBPACK_IMPORTED_MODULE_0__.Bundles.MainnetIds.MORPHO_AAVE_V2_BOOST,
267
267
  strategyId: _types_enums__WEBPACK_IMPORTED_MODULE_0__.Strategies.Identifiers.Boost,
268
- protocol: PROTOCOLS.Morpho
268
+ protocol: PROTOCOLS.MorphoAaveV2
269
269
  }
270
270
  };
271
271
  var OPTIMISM_BUNDLES_INFO = {
@@ -371,7 +371,7 @@ var ProtocolIdentifiers;
371
371
  StrategiesAutomation["ChickenBonds"] = "Chicken Bonds";
372
372
  StrategiesAutomation["CompoundV3"] = "Compound__V3";
373
373
  StrategiesAutomation["AaveV3"] = "Aave__V3";
374
- StrategiesAutomation["Morpho"] = "Morpho";
374
+ StrategiesAutomation["MorphoAaveV2"] = "Morpho-Aave__V2";
375
375
  })(StrategiesAutomation || (StrategiesAutomation = {}));
376
376
  _ProtocolIdentifiers.StrategiesAutomation = StrategiesAutomation;
377
377
  var LegacyAutomation;
@@ -1699,7 +1699,7 @@ var parsingMethodsMapping = {
1699
1699
  [_types_enums__WEBPACK_IMPORTED_MODULE_2__.ProtocolIdentifiers.StrategiesAutomation.ChickenBonds]: {
1700
1700
  [_types_enums__WEBPACK_IMPORTED_MODULE_2__.Strategies.Identifiers.Rebond]: parseChickenBondsRebond
1701
1701
  },
1702
- [_types_enums__WEBPACK_IMPORTED_MODULE_2__.ProtocolIdentifiers.StrategiesAutomation.Morpho]: {
1702
+ [_types_enums__WEBPACK_IMPORTED_MODULE_2__.ProtocolIdentifiers.StrategiesAutomation.MorphoAaveV2]: {
1703
1703
  [_types_enums__WEBPACK_IMPORTED_MODULE_2__.Strategies.Identifiers.Repay]: parseMorphoAaveV2LeverageManagement,
1704
1704
  [_types_enums__WEBPACK_IMPORTED_MODULE_2__.Strategies.Identifiers.Boost]: parseMorphoAaveV2LeverageManagement
1705
1705
  }