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