@defisaver/sdk 1.0.50 → 1.0.51
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.
|
@@ -38,7 +38,7 @@ export class CompoundV3SupplyAction extends Action {
|
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
39
|
const asset = getAssetInfoByAddress(this.tokenForApproval);
|
|
40
40
|
if (asset.symbol !== 'ETH')
|
|
41
|
-
return [{ asset: this.tokenForApproval, owner: this.args[
|
|
41
|
+
return [{ asset: this.tokenForApproval, owner: this.args[3] }];
|
|
42
42
|
return [];
|
|
43
43
|
});
|
|
44
44
|
}
|
package/package.json
CHANGED
|
@@ -34,7 +34,7 @@ export class CompoundV3SupplyAction extends Action {
|
|
|
34
34
|
async getAssetsToApprove() {
|
|
35
35
|
const asset = getAssetInfoByAddress(this.tokenForApproval);
|
|
36
36
|
|
|
37
|
-
if (asset.symbol !== 'ETH') return [{ asset: this.tokenForApproval, owner: this.args[
|
|
37
|
+
if (asset.symbol !== 'ETH') return [{ asset: this.tokenForApproval, owner: this.args[3] }];
|
|
38
38
|
return [];
|
|
39
39
|
}
|
|
40
|
-
}
|
|
40
|
+
}
|
package/umd/index.js
CHANGED
|
@@ -9093,7 +9093,7 @@ class CompoundV3SupplyAction extends _Action__WEBPACK_IMPORTED_MODULE_1__.Action
|
|
|
9093
9093
|
var asset = (0,_defisaver_tokens__WEBPACK_IMPORTED_MODULE_0__.getAssetInfoByAddress)(_this.tokenForApproval);
|
|
9094
9094
|
if (asset.symbol !== 'ETH') return [{
|
|
9095
9095
|
asset: _this.tokenForApproval,
|
|
9096
|
-
owner: _this.args[
|
|
9096
|
+
owner: _this.args[3]
|
|
9097
9097
|
}];
|
|
9098
9098
|
return [];
|
|
9099
9099
|
})();
|