react-state-bucket 1.0.6 → 1.0.7

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -36,7 +36,7 @@ npm install react-state-bucket
36
36
  "use client";
37
37
 
38
38
  import React from "react";
39
- import createBucket from "react-state-bucket";
39
+ import {createBucket} from "react-state-bucket";
40
40
 
41
41
  // Create a bucket with initial state
42
42
  const useGlobalState = createBucket({ count: 0, user: "Guest" });
@@ -107,7 +107,7 @@ function PersistentExample() {
107
107
  "use client";
108
108
 
109
109
  import React from "react";
110
- import createBucket from "react-state-bucket";
110
+ import {createBucket} from "react-state-bucket";
111
111
 
112
112
  // Create a global bucket
113
113
  const useGlobalState = createBucket({ count: 0, user: "Guest" });
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.6",
2
+ "version": "1.0.7",
3
3
  "name": "react-state-bucket",
4
4
  "author": "Naxrul Ahmed",
5
5
  "license": "MIT",