@haniffalab/cherita-react 1.4.1-dev.2025-08-18.6fbf7a74 → 1.4.1-dev.2025-08-18.6c0f20a7

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.
@@ -39,7 +39,7 @@ const select = (dispatch, item) => {
39
39
  value: _constants.COLOR_ENCODINGS.VAR
40
40
  });
41
41
  };
42
- const debounceSelect = _lodash.default.debounce(select, 2000);
42
+ const debounceSelect = _lodash.default.debounce(select, 500);
43
43
  function onVarSelect(dispatch, item) {
44
44
  dispatch({
45
45
  type: "add.var",
@@ -60,7 +60,7 @@ const persistOptions = {
60
60
  return false;
61
61
  }
62
62
  },
63
- buster: "1.4.1-dev.2025-08-18.6fbf7a74" || "0.0.0"
63
+ buster: "1.4.1-dev.2025-08-18.6c0f20a7" || "0.0.0"
64
64
  // @TODO: add maxAge and api version numbers as buster
65
65
  };
66
66
  const initialDataset = {
@@ -164,7 +164,7 @@ function SettingsProvider(_ref2) {
164
164
 
165
165
  // If the buster is not set or does not match the current package version,
166
166
  // reset localSettings to avoid stale data
167
- if (!buster || buster !== "1.4.1-dev.2025-08-18.6fbf7a74") {
167
+ if (!buster || buster !== "1.4.1-dev.2025-08-18.6c0f20a7") {
168
168
  localSettings = {};
169
169
  }
170
170
  const initSettings = (0, _react.useRef)(initializer({
@@ -189,7 +189,7 @@ function SettingsProvider(_ref2) {
189
189
  if (canOverrideSettings) {
190
190
  try {
191
191
  localStorage.setItem(DATASET_STORAGE_KEY, JSON.stringify(_objectSpread(_objectSpread({
192
- buster: "1.4.1-dev.2025-08-18.6fbf7a74" || "0.0.0",
192
+ buster: "1.4.1-dev.2025-08-18.6c0f20a7" || "0.0.0",
193
193
  timestamp: Date.now()
194
194
  }, _lodash.default.omit(settings, "data")), settings)));
195
195
  } catch (err) {
@@ -30,7 +30,7 @@ const select = (dispatch, item) => {
30
30
  value: COLOR_ENCODINGS.VAR
31
31
  });
32
32
  };
33
- const debounceSelect = _.debounce(select, 2000);
33
+ const debounceSelect = _.debounce(select, 500);
34
34
  function onVarSelect(dispatch, item) {
35
35
  dispatch({
36
36
  type: "add.var",
@@ -50,7 +50,7 @@ const persistOptions = {
50
50
  return false;
51
51
  }
52
52
  },
53
- buster: "1.4.1-dev.2025-08-18.6fbf7a74" || "0.0.0"
53
+ buster: "1.4.1-dev.2025-08-18.6c0f20a7" || "0.0.0"
54
54
  // @TODO: add maxAge and api version numbers as buster
55
55
  };
56
56
  const initialDataset = {
@@ -153,7 +153,7 @@ export function SettingsProvider(_ref2) {
153
153
 
154
154
  // If the buster is not set or does not match the current package version,
155
155
  // reset localSettings to avoid stale data
156
- if (!buster || buster !== "1.4.1-dev.2025-08-18.6fbf7a74") {
156
+ if (!buster || buster !== "1.4.1-dev.2025-08-18.6c0f20a7") {
157
157
  localSettings = {};
158
158
  }
159
159
  const initSettings = useRef(initializer({
@@ -178,7 +178,7 @@ export function SettingsProvider(_ref2) {
178
178
  if (canOverrideSettings) {
179
179
  try {
180
180
  localStorage.setItem(DATASET_STORAGE_KEY, JSON.stringify(_objectSpread(_objectSpread({
181
- buster: "1.4.1-dev.2025-08-18.6fbf7a74" || "0.0.0",
181
+ buster: "1.4.1-dev.2025-08-18.6c0f20a7" || "0.0.0",
182
182
  timestamp: Date.now()
183
183
  }, _.omit(settings, "data")), settings)));
184
184
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haniffalab/cherita-react",
3
- "version": "1.4.1-dev.2025-08-18.6fbf7a74",
3
+ "version": "1.4.1-dev.2025-08-18.6c0f20a7",
4
4
  "author": "Haniffa Lab",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -128,5 +128,5 @@
128
128
  "url": "https://github.com/haniffalab/cherita-react/issues"
129
129
  },
130
130
  "homepage": "https://github.com/haniffalab/cherita-react#readme",
131
- "prereleaseSha": "6fbf7a74893c9385c9f23ecbef969792d6d34869"
131
+ "prereleaseSha": "6c0f20a73409ff2b0644935a5a5442cf9908270b"
132
132
  }