react-hooks-global-states 1.0.0 → 1.0.2

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/README.md CHANGED
@@ -8,7 +8,7 @@ To see **TODO-LIST** with the hooks and **async storage** take a look here: [tod
8
8
 
9
9
  To see how to create a custom hook connected to your favorite async storage, please refer to the documentation section titled **Extending Global Hooks**
10
10
 
11
- You can also see an introduction video [here!](https://www.youtube.com/watch?v=WfoMhO1zZ04&t=8s)
11
+ You can also see an introduction video [here!](https://www.youtube.com/watch?v=1UBqXk2MH8I)
12
12
 
13
13
  **react-hooks-global-states** is compatible with both **React** and **React Native**. However, if you prefer, you can also explore [**react-global-state-hooks**](https://www.npmjs.com/package/react-global-state-hooks) for web applications, and [**react-native-global-state-hooks**](https://www.npmjs.com/package/react-native-global-state-hooks) for React Native projects. Each of these libraries extends the capabilities of **react-hooks-global-states** to suit the specific environments.
14
14
 
@@ -105,7 +105,7 @@ export type StoreTools<TState = any, TMetadata = any, TActions = any> = {
105
105
  * @returns {ActionCollectionConfig<TState, TMetadata>} result - The action collection configuration
106
106
  */
107
107
  export interface ActionCollectionConfig<TState, TMetadata = null> {
108
- [key: string]: (...parameters: any[]) => (storeTools: StoreTools<TState, TMetadata>) => unknown | void;
108
+ [key: string]: (...parameters: any[]) => (storeTools: any) => unknown | void;
109
109
  }
110
110
  /**
111
111
  * This is the actions object returned by the hook when you pass an storeActionsConfig configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-hooks-global-states",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "This is a package to easily handling global-state across your react-components No-redux",
5
5
  "main": "lib/bundle.js",
6
6
  "types": "lib/src/index.d.ts",