@lawrenceliang-btc/atel-sdk 1.1.37 → 1.1.38

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.
Files changed (2) hide show
  1. package/bin/atel.mjs +4 -2
  2. package/package.json +1 -1
package/bin/atel.mjs CHANGED
@@ -336,8 +336,10 @@ async function pushTradeNotification(eventType, payload, body) {
336
336
  return `❌ 里程碑 M${p.milestoneIndex ?? '?'} 被拒绝\n订单: ${p.orderId || body?.orderId || '?'}${desc}\n原因: ${p.rejectReason || '未说明'}`;
337
337
  },
338
338
  'order_settled': (p) => {
339
- const amount = p.priceAmount ? `\n金额: $${p.priceAmount} USDC${chainLabel(p)}` : '';
340
- return `💰 订单已结算完成\n订单: ${p.orderId || body?.orderId || '?'}${amount}\nUSDC 已支付`;
339
+ const cl = chainLabel(p);
340
+ const amount = p.priceAmount ? `\n金额: $${p.priceAmount} USDC${cl}` : '';
341
+ const dest = cl === ' (Fast)' ? '\n资金已到达执行方 Fast 钱包' : '\nUSDC 已支付';
342
+ return `💰 订单已结算完成\n订单: ${p.orderId || body?.orderId || '?'}${amount}${dest}`;
341
343
  },
342
344
  };
343
345
  const tmpl = templates[eventType];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lawrenceliang-btc/atel-sdk",
3
- "version": "1.1.37",
3
+ "version": "1.1.38",
4
4
  "description": "ATEL Protocol SDK - Agent Trust & Exchange Layer",
5
5
  "repository": {
6
6
  "type": "git",