@cloud411716/fancy-webnovel 1.0.3 → 1.0.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.
@@ -10,7 +10,7 @@ import { join } from 'path';
10
10
  import { notify } from '../../infra.js';
11
11
  import { initProject } from './init-project.js';
12
12
 
13
- export const inject = ['commands', 'userQuestions'];
13
+ // inject is declared in the root index.js; only apply() is imported by index.js
14
14
 
15
15
  function isValidPath(p) {
16
16
  return (
@@ -14,7 +14,7 @@ import * as fanqie from './platforms/fanqie.js';
14
14
  import * as jinjiang from './platforms/jinjiang.js';
15
15
  import * as qimao from './platforms/qimao.js';
16
16
 
17
- export const inject = ['commands', 'userQuestions'];
17
+ // inject is declared in the root index.js; only apply() is imported by index.js
18
18
 
19
19
  const PLATFORM_TABLE = [
20
20
  ['1', 'qidian', '起点'],
package/index.js CHANGED
@@ -30,7 +30,7 @@ import { apply as applyScan } from './commands/scan/index.js';
30
30
  * Services this plugin requires from the Cordis context.
31
31
  * All are provided by dsh-base, so this works on every DSH UI.
32
32
  */
33
- export const inject = ['commands', 'userQuestions'];
33
+ export const inject = ['commands', 'userQuestions', 'timer'];
34
34
 
35
35
  /**
36
36
  * Called once when the plugin is loaded into a Cordis context (fiber).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud411716/fancy-webnovel",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "exports": {