@dan-uni/dan-any-plugin-detaolu 0.0.2 → 0.6.8

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 CHANGED
@@ -706,14 +706,14 @@ async function src_detaolu(that, config) {
706
706
  weight: 10,
707
707
  pool: pool.shared.pool ?? pool.most.pool,
708
708
  attr: [
709
- 'Protect'
709
+ UniDMTools.DMAttr.Protect
710
710
  ],
711
711
  platform: pool.shared.platform ?? pool.most.platform,
712
712
  extra: {
713
713
  danuni: {
714
714
  merge: {
715
715
  count: p.danuni_count,
716
- duration: Math.max(...progess) - Math.min(...progess),
716
+ duration: Number.parseFloat((Math.max(...progess) - Math.min(...progess)).toFixed(3)),
717
717
  senders: pool.dans.filter((d)=>d.content === p.chosen_str).map((d)=>d.senderID),
718
718
  taolu_count: pool.dans.length,
719
719
  taolu_senders: pool.dans.map((d)=>d.senderID)