react-shared-states 1.0.15 → 1.0.16

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.
@@ -78,5 +78,5 @@ export declare class SharedValuesApi<T extends SharedValue, V, R = T> {
78
78
  * get all values from the shared data
79
79
  */
80
80
  getAll(): Record<string, Record<string, any>>;
81
- subscribe<S extends string = string>(sharedCreated: SharedCreated, listener: AFunction): void;
81
+ subscribe<S extends string = string>(sharedCreated: SharedCreated, listener: AFunction): () => void;
82
82
  }
package/dist/main.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * react-shared-states v1.0.15
2
+ * react-shared-states v1.0.16
3
3
  * (c) Hichem Taboukouyout
4
4
  * Released under the MIT License.
5
5
  * Github: github.com/HichemTab-tech/react-shared-states
package/dist/main.min.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * react-shared-states v1.0.15
2
+ * react-shared-states v1.0.16
3
3
  * (c) Hichem Taboukouyout
4
4
  * Released under the MIT License.
5
5
  * Github: github.com/HichemTab-tech/react-shared-states
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-shared-states",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "type": "module",
5
5
  "description": "Global state made as simple as useState, with zero config, built-in async caching, and automatic scoping.",
6
6
  "keywords": [