@rfkit/charts 1.0.92 → 1.0.93

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4841,13 +4841,13 @@ const usePublish = ({ publish = ()=>{}, subscribe = ()=>{} })=>{
4841
4841
  (0, __WEBPACK_EXTERNAL_MODULE_react__.useEffect)(()=>{
4842
4842
  if (globalID) {
4843
4843
  const p = PUB_SUB(globalID);
4844
+ p.getSourceData = getSourceData;
4844
4845
  dispatch({
4845
4846
  payload: {
4846
4847
  publish: p
4847
4848
  }
4848
4849
  });
4849
4850
  publish?.(p);
4850
- publish.getSourceData = getSourceData;
4851
4851
  }
4852
4852
  }, [
4853
4853
  JSON.stringify(publish),
package/package.json CHANGED
@@ -5,6 +5,6 @@
5
5
  "types": "index.d.ts",
6
6
  "author": "Hxgh",
7
7
  "license": "MIT",
8
- "version": "1.0.92",
8
+ "version": "1.0.93",
9
9
  "private": false
10
10
  }