@defisaver/automation-sdk 1.2.27 → 1.2.29
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/esm/constants/index.js +20 -0
- package/esm/services/strategiesService.js +56 -0
- package/esm/services/strategySubService.d.ts +14 -0
- package/esm/services/strategySubService.js +22 -0
- package/esm/services/subDataService.d.ts +14 -0
- package/esm/services/subDataService.js +26 -0
- package/esm/services/triggerService.d.ts +34 -0
- package/esm/services/triggerService.js +71 -0
- package/esm/types/enums.d.ts +7 -2
- package/esm/types/enums.js +5 -0
- package/package.json +1 -1
- package/src/constants/index.ts +20 -0
- package/src/services/strategiesService.ts +76 -0
- package/src/services/strategySubService.ts +46 -0
- package/src/services/subDataService.ts +40 -0
- package/src/services/triggerService.ts +97 -0
- package/src/types/enums.ts +5 -0
- package/umd/index.js +2727 -566
- package/yarn-error.log +7233 -0
package/src/types/enums.ts
CHANGED
|
@@ -31,6 +31,7 @@ export namespace ProtocolIdentifiers {
|
|
|
31
31
|
AaveV3 = 'Aave__V3',
|
|
32
32
|
MorphoAaveV2 = 'Morpho-Aave__V2',
|
|
33
33
|
Exchange = 'Exchange',
|
|
34
|
+
Spark = 'Spark',
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
export enum LegacyAutomation {
|
|
@@ -110,6 +111,10 @@ export namespace Bundles {
|
|
|
110
111
|
MORPHO_AAVE_V2_BOOST = 15,
|
|
111
112
|
LIQUITY_REPAY = 16,
|
|
112
113
|
LIQUITY_BOOST = 17,
|
|
114
|
+
SPARK_REPAY = 18,
|
|
115
|
+
SPARK_BOOST = 19,
|
|
116
|
+
SPARK_CLOSE_TO_DEBT = 20,
|
|
117
|
+
SPARK_CLOSE_TO_COLLATERAL = 21,
|
|
113
118
|
}
|
|
114
119
|
|
|
115
120
|
export enum OptimismIds {
|