@vnejs/plugins.scenario.fastforward 0.2.7 → 0.2.8

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/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "@vnejs/contracts.scenario.fastforward";
2
- import { regPlugin } from "@vnejs/shared";
2
+ import { regPlugin } from "@vnejs/registry";
3
3
  import { CONSTANTS, PARAMS, PLUGIN_NAME, SETTINGS_KEYS, SUBSCRIBE_EVENTS } from "@vnejs/contracts.scenario.fastforward";
4
4
  import { FastforwardEmit } from "./modules/emit.js";
5
5
  import { Fastforward } from "./modules/fastforward.js";
@@ -3,7 +3,7 @@ import type { FastforwardPluginConstants, FastforwardPluginEvents, FastforwardPl
3
3
  export declare class Fastforward extends ModuleCore<FastforwardPluginEvents, FastforwardPluginConstants, FastforwardPluginSettings, FastforwardPluginParams> {
4
4
  name: string;
5
5
  subscribe: () => void;
6
- setup: () => Promise<[import("@vnejs/shared").EmitResults<"vne:settings:init"> | undefined, import("@vnejs/shared").EmitResults<"vne:settings:init"> | undefined]>;
6
+ setup: () => Promise<[import("@vnejs/registry").EmitResults<"vne:settings:init"> | undefined, import("@vnejs/registry").EmitResults<"vne:settings:init"> | undefined]>;
7
7
  init: () => void;
8
8
  onStop: () => void;
9
9
  onStart: () => void;
@@ -12,6 +12,6 @@ export declare class Fastforward extends ModuleCore<FastforwardPluginEvents, Fas
12
12
  source: string;
13
13
  };
14
14
  onToggle: () => void;
15
- emitStop: () => Promise<import("@vnejs/shared").EmitResults<"vne:fastforward:stop">> | undefined;
15
+ emitStop: () => Promise<import("@vnejs/registry").EmitResults<"vne:fastforward:stop">> | undefined;
16
16
  setValue: (value: boolean) => void;
17
17
  }
@@ -5,6 +5,6 @@ export declare class FastforwardStorage extends ModuleCore<FastforwardPluginEven
5
5
  name: string;
6
6
  subscribe: () => void;
7
7
  init: () => Promise<void>;
8
- onVisitAdd: ({ key, group }?: FastforwardVisitAddPayload) => Promise<import("@vnejs/shared").EmitResults<"vne:storage:set">> | undefined;
9
- onClear: () => Promise<import("@vnejs/shared").EmitResults<"vne:storage:rm_all">> | undefined;
8
+ onVisitAdd: ({ key, group }?: FastforwardVisitAddPayload) => Promise<import("@vnejs/registry").EmitResults<"vne:storage:set">> | undefined;
9
+ onClear: () => Promise<import("@vnejs/registry").EmitResults<"vne:storage:rm_all">> | undefined;
10
10
  }
@@ -4,7 +4,7 @@ import type { FastforwardPluginConstants, FastforwardPluginEvents, FastforwardPl
4
4
  export declare class FastforwardVisits extends ModuleCore<FastforwardPluginEvents, FastforwardPluginConstants, FastforwardPluginSettings, FastforwardPluginParams, ModuleGlobalStateFastforwardVisits> {
5
5
  name: string;
6
6
  subscribe: () => void;
7
- setup: () => Promise<import("@vnejs/shared").EmitResults<"vne:settings:init">> | undefined;
7
+ setup: () => Promise<import("@vnejs/registry").EmitResults<"vne:settings:init">> | undefined;
8
8
  onVisitCheck: () => Promise<{
9
9
  isAllowed: boolean;
10
10
  source: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vnejs/plugins.scenario.fastforward",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@vnejs/module.core": "~0.2.0",
38
- "@vnejs/shared": "~0.2.0"
38
+ "@vnejs/registry": "~0.2.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@vnejs/configs.ts-common": "~0.2.0",
package/src/index.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import "@vnejs/contracts.scenario.fastforward";
2
2
 
3
- import { regPlugin } from "@vnejs/shared";
3
+ import { regPlugin } from "@vnejs/registry";
4
4
  import { CONSTANTS, PARAMS, PLUGIN_NAME, SETTINGS_KEYS, SUBSCRIBE_EVENTS } from "@vnejs/contracts.scenario.fastforward";
5
5
 
6
6
  import { FastforwardEmit } from "./modules/emit.js";