@defisaver/automation-sdk 1.2.26 → 1.2.27
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/index.d.ts +2 -1
- package/esm/index.js +2 -1
- package/package.json +1 -1
- package/src/index.ts +2 -1
- package/umd/index.js +11 -8
package/esm/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import ArbitrumStrategies from './automation/public/ArbitrumStrategies';
|
|
|
8
8
|
import * as triggerService from './services/triggerService';
|
|
9
9
|
import * as subDataService from './services/subDataService';
|
|
10
10
|
import * as strategySubService from './services/strategySubService';
|
|
11
|
+
import * as strategiesService from './services/strategiesService';
|
|
11
12
|
import * as constants from './constants';
|
|
12
13
|
import * as enums from './types/enums';
|
|
13
14
|
import type * as types from './types';
|
|
@@ -17,5 +18,5 @@ declare const utils: {
|
|
|
17
18
|
compareSubHashes: typeof compareSubHashes;
|
|
18
19
|
encodeSubId: typeof encodeSubId;
|
|
19
20
|
};
|
|
20
|
-
export { LegacyMakerAutomation, LegacyAaveAutomation, LegacyCompoundAutomation, EthereumStrategies, OptimismStrategies, ArbitrumStrategies, triggerService, subDataService, strategySubService, utils, enums, constants, };
|
|
21
|
+
export { LegacyMakerAutomation, LegacyAaveAutomation, LegacyCompoundAutomation, EthereumStrategies, OptimismStrategies, ArbitrumStrategies, triggerService, subDataService, strategySubService, utils, enums, constants, strategiesService, };
|
|
21
22
|
export type { types };
|
package/esm/index.js
CHANGED
|
@@ -13,10 +13,11 @@ import ArbitrumStrategies from './automation/public/ArbitrumStrategies';
|
|
|
13
13
|
import * as triggerService from './services/triggerService';
|
|
14
14
|
import * as subDataService from './services/subDataService';
|
|
15
15
|
import * as strategySubService from './services/strategySubService';
|
|
16
|
+
import * as strategiesService from './services/strategiesService';
|
|
16
17
|
import * as constants from './constants';
|
|
17
18
|
import * as enums from './types/enums';
|
|
18
19
|
import { getRatioStateInfoForAaveCloseStrategy, compareSubHashes, encodeSubId } from './services/utils';
|
|
19
20
|
const utils = {
|
|
20
21
|
getRatioStateInfoForAaveCloseStrategy, compareSubHashes, encodeSubId,
|
|
21
22
|
};
|
|
22
|
-
export { LegacyMakerAutomation, LegacyAaveAutomation, LegacyCompoundAutomation, EthereumStrategies, OptimismStrategies, ArbitrumStrategies, triggerService, subDataService, strategySubService, utils, enums, constants, };
|
|
23
|
+
export { LegacyMakerAutomation, LegacyAaveAutomation, LegacyCompoundAutomation, EthereumStrategies, OptimismStrategies, ArbitrumStrategies, triggerService, subDataService, strategySubService, utils, enums, constants, strategiesService, };
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -17,6 +17,7 @@ import ArbitrumStrategies from './automation/public/ArbitrumStrategies';
|
|
|
17
17
|
import * as triggerService from './services/triggerService';
|
|
18
18
|
import * as subDataService from './services/subDataService';
|
|
19
19
|
import * as strategySubService from './services/strategySubService';
|
|
20
|
+
import * as strategiesService from './services/strategiesService';
|
|
20
21
|
import * as constants from './constants';
|
|
21
22
|
|
|
22
23
|
import * as enums from './types/enums';
|
|
@@ -32,7 +33,7 @@ export {
|
|
|
32
33
|
LegacyMakerAutomation, LegacyAaveAutomation, LegacyCompoundAutomation,
|
|
33
34
|
EthereumStrategies, OptimismStrategies, ArbitrumStrategies,
|
|
34
35
|
triggerService, subDataService, strategySubService, utils,
|
|
35
|
-
enums, constants,
|
|
36
|
+
enums, constants, strategiesService,
|
|
36
37
|
};
|
|
37
38
|
|
|
38
39
|
export type { types };
|
package/umd/index.js
CHANGED
|
@@ -29389,8 +29389,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29389
29389
|
/* harmony export */ "LegacyCompoundAutomation": () => (/* reexport safe */ _automation_public_legacy_LegacyCompoundAutomation__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
29390
29390
|
/* harmony export */ "LegacyMakerAutomation": () => (/* reexport safe */ _automation_public_legacy_LegacyMakerAutomation__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
29391
29391
|
/* harmony export */ "OptimismStrategies": () => (/* reexport safe */ _automation_public_OptimismStrategies__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
29392
|
-
/* harmony export */ "constants": () => (/* reexport module object */
|
|
29393
|
-
/* harmony export */ "enums": () => (/* reexport module object */
|
|
29392
|
+
/* harmony export */ "constants": () => (/* reexport module object */ _constants__WEBPACK_IMPORTED_MODULE_11__),
|
|
29393
|
+
/* harmony export */ "enums": () => (/* reexport module object */ _types_enums__WEBPACK_IMPORTED_MODULE_12__),
|
|
29394
|
+
/* harmony export */ "strategiesService": () => (/* reexport module object */ _services_strategiesService__WEBPACK_IMPORTED_MODULE_10__),
|
|
29394
29395
|
/* harmony export */ "strategySubService": () => (/* reexport module object */ _services_strategySubService__WEBPACK_IMPORTED_MODULE_9__),
|
|
29395
29396
|
/* harmony export */ "subDataService": () => (/* reexport module object */ _services_subDataService__WEBPACK_IMPORTED_MODULE_8__),
|
|
29396
29397
|
/* harmony export */ "triggerService": () => (/* reexport module object */ _services_triggerService__WEBPACK_IMPORTED_MODULE_7__),
|
|
@@ -29406,9 +29407,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29406
29407
|
/* harmony import */ var _services_triggerService__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(246);
|
|
29407
29408
|
/* harmony import */ var _services_subDataService__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(29);
|
|
29408
29409
|
/* harmony import */ var _services_strategySubService__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(249);
|
|
29409
|
-
/* harmony import */ var
|
|
29410
|
-
/* harmony import */ var
|
|
29411
|
-
/* harmony import */ var
|
|
29410
|
+
/* harmony import */ var _services_strategiesService__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(27);
|
|
29411
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(5);
|
|
29412
|
+
/* harmony import */ var _types_enums__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(6);
|
|
29413
|
+
/* harmony import */ var _services_utils__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(18);
|
|
29412
29414
|
// TODO
|
|
29413
29415
|
// [] Check @ts-ignores and PlaceholderType
|
|
29414
29416
|
// [] Improve typing for subData, trigger and strategySub services
|
|
@@ -29428,10 +29430,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
29428
29430
|
|
|
29429
29431
|
|
|
29430
29432
|
|
|
29433
|
+
|
|
29431
29434
|
var utils = {
|
|
29432
|
-
getRatioStateInfoForAaveCloseStrategy:
|
|
29433
|
-
compareSubHashes:
|
|
29434
|
-
encodeSubId:
|
|
29435
|
+
getRatioStateInfoForAaveCloseStrategy: _services_utils__WEBPACK_IMPORTED_MODULE_13__.getRatioStateInfoForAaveCloseStrategy,
|
|
29436
|
+
compareSubHashes: _services_utils__WEBPACK_IMPORTED_MODULE_13__.compareSubHashes,
|
|
29437
|
+
encodeSubId: _services_utils__WEBPACK_IMPORTED_MODULE_13__.encodeSubId
|
|
29435
29438
|
};
|
|
29436
29439
|
|
|
29437
29440
|
})();
|