polycopy 0.3.2 → 0.3.3
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1418,7 +1418,7 @@ class Redeemer extends EventEmitter__default.default {
|
|
|
1418
1418
|
}
|
|
1419
1419
|
toMessages(eventRecords) {
|
|
1420
1420
|
return eventRecords.map(
|
|
1421
|
-
({ position, execCount, postSuccessTime }) => ` - ${position.slug} ${position.outcome}: ${position.currentValue} USDC (执行次数: ${execCount}${postSuccessTime ?
|
|
1421
|
+
({ position, execCount, postSuccessTime }) => ` - ${position.slug} ${position.outcome}: ${position.currentValue} USDC (执行次数: ${execCount}${postSuccessTime ? ` 确认时长: ${(Date.now() - postSuccessTime) / 1e3}s` : ""})`
|
|
1422
1422
|
);
|
|
1423
1423
|
}
|
|
1424
1424
|
async autoRedeem() {
|