polycopy 0.3.0 → 0.3.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.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1394,7 +1394,7 @@ class Redeemer extends EventEmitter__default.default {
|
|
|
1394
1394
|
}
|
|
1395
1395
|
toMessages(eventRecords) {
|
|
1396
1396
|
return eventRecords.map(
|
|
1397
|
-
({ position, execCount, postSuccessTime }) => ` - ${position.slug} ${position.outcome}: ${position.currentValue} USDC (执行次数: ${execCount}
|
|
1397
|
+
({ position, execCount, postSuccessTime }) => ` - ${position.slug} ${position.outcome}: ${position.currentValue} USDC (执行次数: ${execCount}${postSuccessTime ? `确认时长: ${(Date.now() - postSuccessTime) / 1e3}s` : ""})`
|
|
1398
1398
|
);
|
|
1399
1399
|
}
|
|
1400
1400
|
async autoRedeem() {
|