polycopy 0.0.8 → 0.0.9
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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -548,7 +548,7 @@ class Redeemer {
|
|
|
548
548
|
this.funderAddress = funderAddress;
|
|
549
549
|
this.onRedeemSuccess = onRedeemSuccess || null;
|
|
550
550
|
this.running = true;
|
|
551
|
-
init.logger.info("
|
|
551
|
+
init.logger.info("自动 redeem 已启动");
|
|
552
552
|
this.intervalId = setPromiseInterval__default.default(async () => {
|
|
553
553
|
await this.runOnce();
|
|
554
554
|
}, BASE_INTERVAL);
|
|
@@ -651,7 +651,7 @@ class Redeemer {
|
|
|
651
651
|
init.logger.error(`获取仓位失败: ${errorMsg}`);
|
|
652
652
|
return;
|
|
653
653
|
}
|
|
654
|
-
init.logger.info(
|
|
654
|
+
init.logger.info(`自动 redeem: ${positions.length} 个可 Redeem 仓位`);
|
|
655
655
|
for (const position of positions) {
|
|
656
656
|
let record = this.records.get(position.conditionId);
|
|
657
657
|
if (!record) {
|