@bucketco/react-sdk
Advanced tools
Comparing version
@@ -162,4 +162,4 @@ import { default as React, ReactNode } from 'react'; | ||
* useEffect(() => { | ||
* return client?.on("enabledCheck", () => { | ||
* console.log("enabledCheck hook called"); | ||
* return client?.on("check", () => { | ||
* console.log("check hook called"); | ||
* }); | ||
@@ -166,0 +166,0 @@ * }, [client]); |
{ | ||
"name": "@bucketco/react-sdk", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"license": "MIT", | ||
@@ -37,3 +37,3 @@ "repository": { | ||
"dependencies": { | ||
"@bucketco/browser-sdk": "3.1.0", | ||
"@bucketco/browser-sdk": "3.1.1", | ||
"canonical-json": "^0.0.4", | ||
@@ -70,3 +70,3 @@ "rollup": "^4.2.0" | ||
}, | ||
"gitHead": "1736c1483f6be12b8f7004752b3c807f16999ae1" | ||
"gitHead": "10eae8456d53e5fe8b238646ce977e941b00541b" | ||
} |
@@ -412,3 +412,3 @@ # Bucket React SDK | ||
useEffect(() => { | ||
client.on("enabledCheck", (evt) => { | ||
client.on("check", (evt) => { | ||
console.log(`The feature ${evt.key} is ${evt.value} for user.`); | ||
@@ -415,0 +415,0 @@ }); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
903372
0.04%5030
0.06%+ Added
- Removed
Updated