Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b33b998ae4 | |||
| e17da1686d | |||
| ab06f4ceec | |||
| 47fe174ac6 | |||
| 747bf00e7b | |||
| 3baa55bd29 | |||
| 90e9d614f9 |
@@ -1,3 +1,9 @@
|
|||||||
|
# 2026.4.2
|
||||||
|
- Fix: id除外が機能しない問題
|
||||||
|
|
||||||
|
# 2026.4.1
|
||||||
|
- Chg: notificationsもfor内でlastReadを更新しないように
|
||||||
|
|
||||||
# 2026.4.0
|
# 2026.4.0
|
||||||
- Breaking: noticeUwuzuを0から作り直しました
|
- Breaking: noticeUwuzuを0から作り直しました
|
||||||
- Breaking: 25.12.0-alpha.1までの方針を全て廃止しました
|
- Breaking: 25.12.0-alpha.1までの方針を全て廃止しました
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ uwuzu v1.6.3以上で利用可能です。
|
|||||||
- 地震情報のWebSocketの接続先をテスト用サンドボックスに変更
|
- 地震情報のWebSocketの接続先をテスト用サンドボックスに変更
|
||||||
P2P地震情報の接続先を本番環境から[テスト用サンドボックスのエンドポイント](https://www.p2pquake.net/develop/json_api_v2/)に変更します。
|
P2P地震情報の接続先を本番環境から[テスト用サンドボックスのエンドポイント](https://www.p2pquake.net/develop/json_api_v2/)に変更します。
|
||||||
そのため、最新の情報は配信されません。
|
そのため、最新の情報は配信されません。
|
||||||
|
- 地震情報のid除外を無効化
|
||||||
|
地震情報のid除外を記録も確認も行わなくなります。
|
||||||
- i18nextのdebugを有効化
|
- i18nextのdebugを有効化
|
||||||
[i18nextでのdebug](https://www.i18next.com/overview/configuration-options#logging)が有効化されます。
|
[i18nextでのdebug](https://www.i18next.com/overview/configuration-options#logging)が有効化されます。
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "notice-uwuzu",
|
"name": "notice-uwuzu",
|
||||||
"version": "2026.4.0",
|
"version": "2026.4.2",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -27,8 +27,10 @@ try {
|
|||||||
|
|
||||||
const mem = Memory.memory;
|
const mem = Memory.memory;
|
||||||
const lastReadReply = mem.lastReadReply;
|
const lastReadReply = mem.lastReadReply;
|
||||||
|
mem.lastReadReply = notifications[0]?.valueid ?? lastReadReply;
|
||||||
|
Memory.memory = mem;
|
||||||
|
|
||||||
for (const [index, notification] of notifications.entries()) {
|
for (const notification of notifications) {
|
||||||
if (notification.category !== "reply" || typeof notification.valueid !== "string")
|
if (notification.category !== "reply" || typeof notification.valueid !== "string")
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
@@ -44,12 +46,6 @@ try {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (index === 0) {
|
|
||||||
const mem = Memory.memory;
|
|
||||||
mem.lastReadReply = ueuseResponse.data[0].uniqid;
|
|
||||||
Memory.memory = mem;
|
|
||||||
}
|
|
||||||
|
|
||||||
ueuses.push(ueuseResponse.data[0]);
|
ueuses.push(ueuseResponse.data[0]);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -68,7 +68,8 @@ if (config.earthquake?.useHistoryData) {
|
|||||||
processMessage(message);
|
processMessage(message);
|
||||||
|
|
||||||
if (!config.debug) {
|
if (!config.debug) {
|
||||||
mem.processedInfo.concat([id]);
|
const mem = Memory.memory;
|
||||||
|
mem.processedInfo = mem.processedInfo.concat([id]);
|
||||||
Memory.memory = mem;
|
Memory.memory = mem;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user