@defisaver/automation-sdk 1.0.1 → 1.0.2
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 -2
- package/package.json +1 -1
- package/umd/web3.d.ts +6 -5
package/esm/index.d.ts
CHANGED
|
@@ -9,12 +9,13 @@ import * as triggerService from './services/triggerService';
|
|
|
9
9
|
import * as subDataService from './services/subDataService';
|
|
10
10
|
import * as strategySubService from './services/strategySubService';
|
|
11
11
|
import * as constants from './constants';
|
|
12
|
-
import { getRatioStateInfoForAaveCloseStrategy, compareSubHashes } from './services/utils';
|
|
13
12
|
import * as enums from './types/enums';
|
|
14
13
|
import type * as types from './types';
|
|
14
|
+
import { getRatioStateInfoForAaveCloseStrategy, compareSubHashes, encodeSubId } from './services/utils';
|
|
15
15
|
declare const utils: {
|
|
16
16
|
getRatioStateInfoForAaveCloseStrategy: typeof getRatioStateInfoForAaveCloseStrategy;
|
|
17
17
|
compareSubHashes: typeof compareSubHashes;
|
|
18
|
+
encodeSubId: typeof encodeSubId;
|
|
18
19
|
};
|
|
19
20
|
export { LegacyMakerAutomation, LegacyAaveAutomation, LegacyCompoundAutomation, EthereumStrategies, OptimismStrategies, ArbitrumStrategies, triggerService, subDataService, strategySubService, utils, enums, constants, };
|
|
20
21
|
export type { types };
|
package/esm/index.js
CHANGED
|
@@ -14,9 +14,9 @@ import * as triggerService from './services/triggerService';
|
|
|
14
14
|
import * as subDataService from './services/subDataService';
|
|
15
15
|
import * as strategySubService from './services/strategySubService';
|
|
16
16
|
import * as constants from './constants';
|
|
17
|
-
import { getRatioStateInfoForAaveCloseStrategy, compareSubHashes } from './services/utils';
|
|
18
17
|
import * as enums from './types/enums';
|
|
18
|
+
import { getRatioStateInfoForAaveCloseStrategy, compareSubHashes, encodeSubId } from './services/utils';
|
|
19
19
|
const utils = {
|
|
20
|
-
getRatioStateInfoForAaveCloseStrategy, compareSubHashes,
|
|
20
|
+
getRatioStateInfoForAaveCloseStrategy, compareSubHashes, encodeSubId,
|
|
21
21
|
};
|
|
22
22
|
export { LegacyMakerAutomation, LegacyAaveAutomation, LegacyCompoundAutomation, EthereumStrategies, OptimismStrategies, ArbitrumStrategies, triggerService, subDataService, strategySubService, utils, enums, constants, };
|
package/package.json
CHANGED
package/umd/web3.d.ts
CHANGED
|
@@ -28910,7 +28910,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28910
28910
|
/* harmony export */ "LegacyMakerAutomation": () => (/* reexport safe */ _automation_public_legacy_LegacyMakerAutomation__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
28911
28911
|
/* harmony export */ "OptimismStrategies": () => (/* reexport safe */ _automation_public_OptimismStrategies__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
28912
28912
|
/* harmony export */ "constants": () => (/* reexport module object */ _constants__WEBPACK_IMPORTED_MODULE_10__),
|
|
28913
|
-
/* harmony export */ "enums": () => (/* reexport module object */
|
|
28913
|
+
/* harmony export */ "enums": () => (/* reexport module object */ _types_enums__WEBPACK_IMPORTED_MODULE_11__),
|
|
28914
28914
|
/* harmony export */ "strategySubService": () => (/* reexport module object */ _services_strategySubService__WEBPACK_IMPORTED_MODULE_9__),
|
|
28915
28915
|
/* harmony export */ "subDataService": () => (/* reexport module object */ _services_subDataService__WEBPACK_IMPORTED_MODULE_8__),
|
|
28916
28916
|
/* harmony export */ "triggerService": () => (/* reexport module object */ _services_triggerService__WEBPACK_IMPORTED_MODULE_7__),
|
|
@@ -28927,8 +28927,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28927
28927
|
/* harmony import */ var _services_subDataService__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(29);
|
|
28928
28928
|
/* harmony import */ var _services_strategySubService__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(249);
|
|
28929
28929
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(5);
|
|
28930
|
-
/* harmony import */ var
|
|
28931
|
-
/* harmony import */ var
|
|
28930
|
+
/* harmony import */ var _types_enums__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(6);
|
|
28931
|
+
/* harmony import */ var _services_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(18);
|
|
28932
28932
|
// TODO
|
|
28933
28933
|
// [] Check @ts-ignores and PlaceholderType
|
|
28934
28934
|
// [] Improve typing for subData, trigger and strategySub services
|
|
@@ -28949,8 +28949,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28949
28949
|
|
|
28950
28950
|
|
|
28951
28951
|
var utils = {
|
|
28952
|
-
getRatioStateInfoForAaveCloseStrategy:
|
|
28953
|
-
compareSubHashes:
|
|
28952
|
+
getRatioStateInfoForAaveCloseStrategy: _services_utils__WEBPACK_IMPORTED_MODULE_12__.getRatioStateInfoForAaveCloseStrategy,
|
|
28953
|
+
compareSubHashes: _services_utils__WEBPACK_IMPORTED_MODULE_12__.compareSubHashes,
|
|
28954
|
+
encodeSubId: _services_utils__WEBPACK_IMPORTED_MODULE_12__.encodeSubId
|
|
28954
28955
|
};
|
|
28955
28956
|
|
|
28956
28957
|
})();
|