cortico-world-parlor 0.37.4 → 0.37.5
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/CHANGELOG.md +6 -0
- package/assets/screenshots/lobby.png +0 -0
- package/package.json +1 -1
- package/src/room/client.ts +1 -1
- package/src/web/announcement-banner.js +2 -2
- package/src/web/games/registry.js +2 -2
- package/src/web/parent.html +2 -2
- package/src/web/play.html +5 -5
- package/src/web/play.js +4 -4
- package/src/web/support-link.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## 0.37.5(2026-11-08)
|
|
2
|
+
|
|
3
|
+
- 更新大厅截图 `assets/screenshots/lobby.png`:换成 0.37.4 上线后的新大厅首屏(茶馆插画铺满整屏、左上文案、左下「推荐客厅」与右下「找一桌」两块牌子),1920×952,供扩展市场详情页与社区曝光申请使用;`table.png` 未改动。
|
|
4
|
+
- **纯静态资源改动**:无协议、工具契约、游戏逻辑、网页产物与数据库迁移变更;`describe.json` 静态摘要不变,Coo 侧无需升级配置,本版仅为让市场与宣传素材用上新版界面图。
|
|
5
|
+
- 包版本、客户端版本与网页资源 `?v=` 统一为 0.37.5;发布内容以 npm tarball 为准。
|
|
6
|
+
|
|
1
7
|
## 0.37.4(2026-11-08)
|
|
2
8
|
|
|
3
9
|
- 大厅首屏改版([PR #22](https://github.com/biliye/cortico-world-parlor/pull/22)):茶馆插画铺满整屏当背景,文案回到左上,「推荐客厅」与「找一桌」两块牌子分坐左右底角;副文案按整句换行,窄屏按顺序摞起来,聊天面板展开时给牌子让位。新增会动的茶馆场景与鲸鱼娘素材。
|
|
Binary file
|
package/package.json
CHANGED
package/src/room/client.ts
CHANGED
|
@@ -29,7 +29,7 @@ export interface ReplayResponse {
|
|
|
29
29
|
* 能不能玩需要新能力的游戏(狼人杀要 ≥ 0.29.0)。
|
|
30
30
|
* 它跟 npm 包版本解耦——发新版时在这里抬一格即可(有测试盯着别忘)。
|
|
31
31
|
*/
|
|
32
|
-
export const PARLOR_CLIENT_VERSION = '0.37.
|
|
32
|
+
export const PARLOR_CLIENT_VERSION = '0.37.5';
|
|
33
33
|
|
|
34
34
|
export class ParlorHttpError extends Error {
|
|
35
35
|
readonly status: number;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { el, btn, icon } from './common.js';
|
|
7
7
|
/* 内部模块统一带同一个版本号:版本不一致会让浏览器当成两份,订阅会各记各的。 */
|
|
8
|
-
import { onAnnouncements } from './announcements.js?v=0.37.
|
|
9
|
-
import { pickAnnouncement, rememberDismissed, excerpt } from './announcement-rules.js?v=0.37.
|
|
8
|
+
import { onAnnouncements } from './announcements.js?v=0.37.5';
|
|
9
|
+
import { pickAnnouncement, rememberDismissed, excerpt } from './announcement-rules.js?v=0.37.5';
|
|
10
10
|
|
|
11
11
|
const DISMISSED_KEY = 'parlor-announcements-dismissed';
|
|
12
12
|
const SEEN_KEY = 'parlor-announcements-seen';
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
* - `blurb` / `foot` / `guide` 是大厅卡片的文案与玩法说明。
|
|
11
11
|
*/
|
|
12
12
|
import { mountDice } from './dice.js';
|
|
13
|
-
import { mountDdz } from './ddz.js?v=0.37.
|
|
13
|
+
import { mountDdz } from './ddz.js?v=0.37.5';
|
|
14
14
|
import { mountMonopoly } from './monopoly.js';
|
|
15
|
-
import { mountWerewolf } from './werewolf.js?v=0.37.
|
|
15
|
+
import { mountWerewolf } from './werewolf.js?v=0.37.5';
|
|
16
16
|
|
|
17
17
|
export const GAMES = {
|
|
18
18
|
dice: {
|
package/src/web/parent.html
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<meta name="color-scheme" content="light">
|
|
8
8
|
<meta name="referrer" content="no-referrer">
|
|
9
9
|
<title>客厅 · 家长</title>
|
|
10
|
-
<link rel="stylesheet" href="/parent/assets/parent.css?v=0.37.
|
|
10
|
+
<link rel="stylesheet" href="/parent/assets/parent.css?v=0.37.5">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
|
13
13
|
<svg class="sprite" aria-hidden="true" width="0" height="0" focusable="false">
|
|
@@ -161,6 +161,6 @@
|
|
|
161
161
|
</main>
|
|
162
162
|
|
|
163
163
|
<div id="toast" class="toast" role="status" aria-live="polite" hidden></div>
|
|
164
|
-
<script type="module" src="/parent/assets/parent.js?v=0.37.
|
|
164
|
+
<script type="module" src="/parent/assets/parent.js?v=0.37.5"></script>
|
|
165
165
|
</body>
|
|
166
166
|
</html>
|
package/src/web/play.html
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
<meta name="theme-color" content="#10191b">
|
|
7
7
|
<meta name="color-scheme" content="dark light">
|
|
8
8
|
<title>鲸语会馆 · 今晚,来一局</title>
|
|
9
|
-
<script src="/play/assets/theme.js?v=0.37.
|
|
9
|
+
<script src="/play/assets/theme.js?v=0.37.5"></script>
|
|
10
10
|
<link rel="stylesheet" href="/play/assets/play.css">
|
|
11
|
-
<link rel="stylesheet" href="/play/assets/club.css?v=0.37.
|
|
12
|
-
<link rel="stylesheet" href="/play/assets/appearance.css?v=0.37.
|
|
13
|
-
<link rel="stylesheet" href="/play/assets/night.css?v=0.37.
|
|
11
|
+
<link rel="stylesheet" href="/play/assets/club.css?v=0.37.5">
|
|
12
|
+
<link rel="stylesheet" href="/play/assets/appearance.css?v=0.37.5">
|
|
13
|
+
<link rel="stylesheet" href="/play/assets/night.css?v=0.37.5">
|
|
14
14
|
</head>
|
|
15
15
|
<body class="theme-club">
|
|
16
16
|
<svg class="sprite" aria-hidden="true" width="0" height="0" focusable="false">
|
|
@@ -106,6 +106,6 @@
|
|
|
106
106
|
<div id="app" class="app"><div class="booting" id="boot-note">正在打开客厅…</div></div>
|
|
107
107
|
<div id="toast" class="toast" role="status" aria-live="polite" hidden></div>
|
|
108
108
|
<noscript><p class="noscript">这个页面要开 JavaScript 才能玩。</p></noscript>
|
|
109
|
-
<script type="module" src="/play/assets/vue-loader.js?v=0.37.
|
|
109
|
+
<script type="module" src="/play/assets/vue-loader.js?v=0.37.5"></script>
|
|
110
110
|
</body>
|
|
111
111
|
</html>
|
package/src/web/play.js
CHANGED
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
el, clear, icon, initialOf, fmtClock, fmtDateTime, fmtLeft, clockSpan, btn, playerClass,
|
|
6
6
|
isNearBottom, readable, GAME_LABELS, STATUS_LABELS, KIND_LABELS,
|
|
7
7
|
} from './common.js';
|
|
8
|
-
import { ENABLED_GAMES, GAMES, gameOf, gameLabel, gameIcon, heroGame } from './games/registry.js?v=0.37.
|
|
8
|
+
import { ENABLED_GAMES, GAMES, gameOf, gameLabel, gameIcon, heroGame } from './games/registry.js?v=0.37.5';
|
|
9
9
|
import { createClubState, conversationKey, readRoute, routeUrl } from './club-state.js';
|
|
10
10
|
import { createRoomCarousel } from './room-carousel.js';
|
|
11
|
-
import { supportLink } from './support-link.js?v=0.37.
|
|
12
|
-
import { mountAnnouncementBanner } from './announcement-banner.js?v=0.37.
|
|
13
|
-
import { startAnnouncementWatch } from './announcements.js?v=0.37.
|
|
11
|
+
import { supportLink } from './support-link.js?v=0.37.5';
|
|
12
|
+
import { mountAnnouncementBanner } from './announcement-banner.js?v=0.37.5';
|
|
13
|
+
import { startAnnouncementWatch } from './announcements.js?v=0.37.5';
|
|
14
14
|
|
|
15
15
|
const club = createClubState({
|
|
16
16
|
getItem: key => sessionStorage.getItem(key),
|
package/src/web/support-link.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** 公告入口独立刷新,避免打断牌桌和聊天草稿。取数在 announcements.js,首屏横幅用的是同一份。 */
|
|
2
|
-
import { onAnnouncements } from './announcements.js?v=0.37.
|
|
2
|
+
import { onAnnouncements } from './announcements.js?v=0.37.5';
|
|
3
3
|
|
|
4
4
|
export function supportLink(getToken) {
|
|
5
5
|
const link = document.createElement('a');
|