@infinite-table/infinite-react 3.2.8 → 3.2.9

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.
package/index.dev.js CHANGED
@@ -18793,7 +18793,7 @@ var useLicense = (licenseKey = "") => {
18793
18793
  const valid = (0, import_react53.useMemo)(() => {
18794
18794
  let valid2 = isValidLicense(licenseKey, {
18795
18795
  publishedAt: 1624970570587,
18796
- version: "3.2.8"
18796
+ version: "3.2.9"
18797
18797
  });
18798
18798
  if (!licenseKey && !valid2 && isInsidePlayground) {
18799
18799
  return true;
@@ -22320,7 +22320,9 @@ var InfiniteTableComponent = React67.memo(
22320
22320
  );
22321
22321
  return brain.onVerticalRenderRangeChange(onChange);
22322
22322
  }, [brain, scrollStopDelay]);
22323
- const licenseValid = useLicense(licenseKey);
22323
+ const licenseValid = useLicense(
22324
+ licenseKey || (masterContext == null ? void 0 : masterContext.getMasterState().licenseKey)
22325
+ );
22324
22326
  const domProps = useDOMProps(componentState.domProps);
22325
22327
  const LoadMaskCmp = (_a = components2 == null ? void 0 : components2.LoadMask) != null ? _a : LoadMask;
22326
22328
  React67.useEffect(() => {
package/index.dev.mjs CHANGED
@@ -18768,7 +18768,7 @@ var useLicense = (licenseKey = "") => {
18768
18768
  const valid = useMemo14(() => {
18769
18769
  let valid2 = isValidLicense(licenseKey, {
18770
18770
  publishedAt: 1624970570587,
18771
- version: "3.2.8"
18771
+ version: "3.2.9"
18772
18772
  });
18773
18773
  if (!licenseKey && !valid2 && isInsidePlayground) {
18774
18774
  return true;
@@ -22305,7 +22305,9 @@ var InfiniteTableComponent = React67.memo(
22305
22305
  );
22306
22306
  return brain.onVerticalRenderRangeChange(onChange);
22307
22307
  }, [brain, scrollStopDelay]);
22308
- const licenseValid = useLicense(licenseKey);
22308
+ const licenseValid = useLicense(
22309
+ licenseKey || (masterContext == null ? void 0 : masterContext.getMasterState().licenseKey)
22310
+ );
22309
22311
  const domProps = useDOMProps(componentState.domProps);
22310
22312
  const LoadMaskCmp = (_a = components2 == null ? void 0 : components2.LoadMask) != null ? _a : LoadMask;
22311
22313
  React67.useEffect(() => {