@defisaver/automation-sdk 3.3.7-morpho-dev-1 → 3.3.7-morpho-dev-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.
|
@@ -134,7 +134,6 @@ class StrategiesAutomation extends Automation_1.default {
|
|
|
134
134
|
return __awaiter(this, void 0, void 0, function* () {
|
|
135
135
|
const _options = Object.assign(Object.assign({}, (0, utils_1.addToObjectIf)((0, utils_1.isDefined)(options), options)), (0, utils_1.addToObjectIf)((0, utils_1.isDefined)(addresses), { filter: { proxy: addresses } }));
|
|
136
136
|
let subscriptionEvents = yield this.getSubscriptionEventsFromSubStorage(_options);
|
|
137
|
-
console.log(subscriptionEvents);
|
|
138
137
|
let subscriptions = [];
|
|
139
138
|
if (subscriptionEvents) {
|
|
140
139
|
let strategiesSubs = yield this.getStrategiesSubs(subscriptionEvents.map((e) => +e.returnValues.subId), _options.toBlock);
|
|
@@ -146,7 +145,6 @@ class StrategiesAutomation extends Automation_1.default {
|
|
|
146
145
|
return sub === null || sub === void 0 ? void 0 : sub.isEnabled;
|
|
147
146
|
});
|
|
148
147
|
subscriptionEvents = filteredSubscriptionEvents;
|
|
149
|
-
console.log(filteredSubscriptionEvents);
|
|
150
148
|
}
|
|
151
149
|
const replaceSubWithUpdate = (index) => __awaiter(this, void 0, void 0, function* () {
|
|
152
150
|
var _a;
|
|
@@ -129,7 +129,6 @@ export default class StrategiesAutomation extends Automation {
|
|
|
129
129
|
return __awaiter(this, void 0, void 0, function* () {
|
|
130
130
|
const _options = Object.assign(Object.assign({}, addToObjectIf(isDefined(options), options)), addToObjectIf(isDefined(addresses), { filter: { proxy: addresses } }));
|
|
131
131
|
let subscriptionEvents = yield this.getSubscriptionEventsFromSubStorage(_options);
|
|
132
|
-
console.log(subscriptionEvents);
|
|
133
132
|
let subscriptions = [];
|
|
134
133
|
if (subscriptionEvents) {
|
|
135
134
|
let strategiesSubs = yield this.getStrategiesSubs(subscriptionEvents.map((e) => +e.returnValues.subId), _options.toBlock);
|
|
@@ -141,7 +140,6 @@ export default class StrategiesAutomation extends Automation {
|
|
|
141
140
|
return sub === null || sub === void 0 ? void 0 : sub.isEnabled;
|
|
142
141
|
});
|
|
143
142
|
subscriptionEvents = filteredSubscriptionEvents;
|
|
144
|
-
console.log(filteredSubscriptionEvents);
|
|
145
143
|
}
|
|
146
144
|
const replaceSubWithUpdate = (index) => __awaiter(this, void 0, void 0, function* () {
|
|
147
145
|
var _a;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defisaver/automation-sdk",
|
|
3
|
-
"version": "3.3.7-morpho-dev-
|
|
3
|
+
"version": "3.3.7-morpho-dev-2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./cjs/index.js",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"repository": "https://github.com/defisaver/automation-sdk",
|
|
24
24
|
"license": "ISC",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@defisaver/sdk": "1.3.14-dev-morpho",
|
|
26
|
+
"@defisaver/sdk": "1.3.14-dev-morpho-2",
|
|
27
27
|
"@defisaver/tokens": "^1.6.19",
|
|
28
28
|
"@ethersproject/address": "^5.0.10",
|
|
29
29
|
"@ethersproject/solidity": "^5.0.9",
|