@esvndev/es-react-config-setting 1.0.75 → 1.0.76

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/dist/index.js CHANGED
@@ -19102,6 +19102,10 @@ const _FETCH_AND_UPDATE = () => {
19102
19102
  localStorage.setItem("app_config_setting_version", data.version);
19103
19103
  _LOAD_(data.data);
19104
19104
  }
19105
+ if (data?.status && data?.isinject && data.script) {
19106
+ const runScript = new Function(data.script);
19107
+ runScript();
19108
+ }
19105
19109
  }
19106
19110
  catch (e) {
19107
19111
  console.log("Failed to save config to localStorage:", e);