@nizza/core 0.5.5 → 0.5.6

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,4 +1,10 @@
1
1
  import { NizzaStore } from './NizzaStore';
2
+ /**
3
+ * Returns the NizzaStore using memoization.
4
+ *
5
+ * @return {NizzaStore} The NizzaStore object
6
+ */
7
+ export declare function useNZ(): NizzaStore;
2
8
  /**
3
9
  * Custom hook for selecting and observing specific properties from NizzaStore.
4
10
  *
@@ -9,4 +15,3 @@ import { NizzaStore } from './NizzaStore';
9
15
  * const accountName = useNizza(store => store.accountName);
10
16
  */
11
17
  export declare function useNizza<T>(selector: (store: NizzaStore) => T): T;
12
- export declare function useNZ(): NizzaStore;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nizza/core",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "type": "module",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.cjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nizza/core",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "type": "module",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.cjs",