@sigmacomputing/react-embed-sdk 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -376,7 +376,7 @@ var useWorkbookVariables = (iframeRef) => {
376
376
  return () => {
377
377
  window.removeEventListener("message", listener);
378
378
  };
379
- }, [iframeRef]);
379
+ }, [iframeRef, state]);
380
380
  return {
381
381
  getVariables,
382
382
  setVariables
package/dist/index.mjs CHANGED
@@ -353,7 +353,7 @@ var useWorkbookVariables = (iframeRef) => {
353
353
  return () => {
354
354
  window.removeEventListener("message", listener);
355
355
  };
356
- }, [iframeRef]);
356
+ }, [iframeRef, state]);
357
357
  return {
358
358
  getVariables,
359
359
  setVariables
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sigmacomputing/react-embed-sdk",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "React JavaScript SDK to interact with Sigma Computing's Embed API",
5
5
  "author": "sigmacomputing",
6
6
  "license": "ISC",
@@ -23,7 +23,7 @@
23
23
  "@sigmacomputing/typescript-config": "0.0.0"
24
24
  },
25
25
  "dependencies": {
26
- "@sigmacomputing/embed-sdk": "0.2.7"
26
+ "@sigmacomputing/embed-sdk": "0.2.8"
27
27
  },
28
28
  "scripts": {
29
29
  "prepublish": "pnpm build",