@defisaver/automation-sdk 3.3.7-morpho-dev → 3.3.7-morpho-dev-1

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,6 +134,7 @@ 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);
137
138
  let subscriptions = [];
138
139
  if (subscriptionEvents) {
139
140
  let strategiesSubs = yield this.getStrategiesSubs(subscriptionEvents.map((e) => +e.returnValues.subId), _options.toBlock);
@@ -145,6 +146,7 @@ class StrategiesAutomation extends Automation_1.default {
145
146
  return sub === null || sub === void 0 ? void 0 : sub.isEnabled;
146
147
  });
147
148
  subscriptionEvents = filteredSubscriptionEvents;
149
+ console.log(filteredSubscriptionEvents);
148
150
  }
149
151
  const replaceSubWithUpdate = (index) => __awaiter(this, void 0, void 0, function* () {
150
152
  var _a;
@@ -129,6 +129,7 @@ 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);
132
133
  let subscriptions = [];
133
134
  if (subscriptionEvents) {
134
135
  let strategiesSubs = yield this.getStrategiesSubs(subscriptionEvents.map((e) => +e.returnValues.subId), _options.toBlock);
@@ -140,6 +141,7 @@ export default class StrategiesAutomation extends Automation {
140
141
  return sub === null || sub === void 0 ? void 0 : sub.isEnabled;
141
142
  });
142
143
  subscriptionEvents = filteredSubscriptionEvents;
144
+ console.log(filteredSubscriptionEvents);
143
145
  }
144
146
  const replaceSubWithUpdate = (index) => __awaiter(this, void 0, void 0, function* () {
145
147
  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-1",
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.11",
26
+ "@defisaver/sdk": "1.3.14-dev-morpho",
27
27
  "@defisaver/tokens": "^1.6.19",
28
28
  "@ethersproject/address": "^5.0.10",
29
29
  "@ethersproject/solidity": "^5.0.9",