pinia-plugin-subscription 0.0.0-beta.3 → 0.0.0-beta.4

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.
@@ -1,6 +1,6 @@
1
1
  import type { PiniaPlugin, PiniaPluginContext, Store as PiniaStore, StateTree } from "pinia"
2
2
  import type { PluginSubscriber as PluginSubscriberInterface, PluginSubscription, PluginSubscriptions, StoreOnActionSubscription, StoreMutationSubscription } from "./plugin"
3
- import { DefineAugmentedStore, PluginStoreOptions, StatePropertyValue, StoreOptions, StoreOptionsPropertyValue } from "./store"
3
+ import { DefineAugmentedStore, StatePropertyValue, StoreOptions, StoreOptionsPropertyValue } from "./store"
4
4
 
5
5
 
6
6
  declare module 'pinia-plugin-subscription' {
@@ -12,6 +12,7 @@ declare module 'pinia-plugin-subscription' {
12
12
 
13
13
  export abstract class PluginSubscriber<Instance extends Store> implements PluginSubscriberInterface {
14
14
  public name: string
15
+ protected pluginCreated?: (store: PiniaStore) => void
15
16
  public resetStoreCallback: ((store?: PiniaStore) => void) | undefined
16
17
  public storeOnActionSubscription: StoreOnActionSubscription | undefined
17
18
  public storeMutationSubscription: StoreMutationSubscription | undefined
@@ -40,7 +41,7 @@ declare module 'pinia-plugin-subscription' {
40
41
 
41
42
  static customizeStore<Instance extends Store>(
42
43
  store: PiniaStore,
43
- options: PluginStoreOptions,
44
+ options: AnyObject,
44
45
  debug?: boolean
45
46
  ): Instance | undefined
46
47
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Alexandre Bidaud <alexbidaud85@gmail.com> (https://github.com/AlxBDo)",
3
3
  "name": "pinia-plugin-subscription",
4
- "version": "0.0.0-beta.3",
4
+ "version": "0.0.0-beta.4",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {