dsh-workbench-danmaku 0.4.0 → 0.4.1

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/lib/client.js CHANGED
@@ -3221,7 +3221,7 @@ function definition(host) {
3221
3221
  var tab = makeTab(host.react);
3222
3222
  return {
3223
3223
  id: ADDON_ID,
3224
- version: "0.4.0",
3224
+ version: "0.4.1",
3225
3225
  icon: tab("megaphone"),
3226
3226
  views: [
3227
3227
  {
package/lib/index.js CHANGED
@@ -128,7 +128,8 @@ export function apply(ctx) {
128
128
  // 更新来源:宿主「插件」页按它查新版本并安装(只认官方 npm registry)。
129
129
  update: { source: "npm", package: "dsh-workbench-danmaku" },
130
130
  category: "comm",
131
- tables: TABLES,
131
+ // 弹幕只在本机保存:没有导出、不同步,性质是临时。
132
+ tables: [{ name: TABLES[0], persistence: "ephemeral" }],
132
133
  // 配置交给宿主统一配置中心:不再声明 sync/exportData/importData,
133
134
  // 也就没有属于本插件的配置表需要同步或备份。
134
135
  config: configDecl(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-workbench-danmaku",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "个人工作台弹幕插件:把自建弹幕轮播在整个 DSH 界面,并可叠加到整个桌面",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -17,7 +17,7 @@
17
17
  "id": "wb-addon-danmaku",
18
18
  "title": "弹幕",
19
19
  "description": "在整个 DSH 界面(含工作台业务页与宿主弹窗之外的所有区域)与桌面透明层轮播自建弹幕;含弹幕库视图,配置项由宿主统一配置中心渲染",
20
- "version": "0.4.0",
20
+ "version": "0.4.1",
21
21
  "minShell": "0.8.0",
22
22
  "tables": [
23
23
  "danmaku"
@@ -45,7 +45,7 @@
45
45
  "./package.json": "./package.json"
46
46
  },
47
47
  "dependencies": {
48
- "dsh-workbench-host": "^0.19.0"
48
+ "dsh-workbench-host": "^0.28.0"
49
49
  },
50
50
  "dsh": {
51
51
  "bundle": {