koishi-plugin-aka-60s-api 0.2.11 → 0.2.12

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/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -477,7 +477,7 @@ ${newsItem.link}`).join("\n\n");
477
477
  }
478
478
  __name(sendMoyuToChannels, "sendMoyuToChannels");
479
479
  function formatGoldText(data) {
480
- const targetNames = ["黄金", "伦敦金(现货黄金)", "白银", "钯金"];
480
+ const targetNames = ["今日金价", "伦敦金(现货黄金)", "白银价格", "铂金价格", "钯金价格"];
481
481
  const metals = data.metals.filter((item) => targetNames.includes(item.name)).map((item) => {
482
482
  return `${item.name}: ${item.today_price}${item.unit}`;
483
483
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-aka-60s-api",
3
3
  "description": "调用60s API转发信息的工具 - 个人用",
4
- "version": "0.2.11",
4
+ "version": "0.2.12",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [