@haniffalab/cherita-react 2.0.0-dev.2026-05-07.sha-4912ae8d → 2.1.0

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.
@@ -60,7 +60,7 @@ const persistOptions = {
60
60
  return false;
61
61
  }
62
62
  },
63
- buster: "2.0.0-dev.2026-05-07.sha-4912ae8d" || '0.0.0'
63
+ buster: "2.1.0" || '0.0.0'
64
64
  // @TODO: add maxAge and api version numbers as buster
65
65
  };
66
66
  const initialDataset = {
@@ -176,7 +176,7 @@ function SettingsProvider(_ref2) {
176
176
 
177
177
  // If the buster is not set or does not match the current package version,
178
178
  // reset localSettings to avoid stale data
179
- if (!buster || buster !== "2.0.0-dev.2026-05-07.sha-4912ae8d") {
179
+ if (!buster || buster !== "2.1.0") {
180
180
  localSettings = {};
181
181
  }
182
182
  const initSettings = (0, _react.useRef)(initializer({
@@ -201,7 +201,7 @@ function SettingsProvider(_ref2) {
201
201
  if (canOverrideSettings && settings) {
202
202
  try {
203
203
  localStorage.setItem(DATASET_STORAGE_KEY, JSON.stringify(_objectSpread({
204
- buster: "2.0.0-dev.2026-05-07.sha-4912ae8d" || '0.0.0',
204
+ buster: "2.1.0" || '0.0.0',
205
205
  timestamp: Date.now()
206
206
  }, _lodash.default.omit(settings, 'data'))));
207
207
  } catch (err) {
@@ -51,7 +51,7 @@ const persistOptions = {
51
51
  return false;
52
52
  }
53
53
  },
54
- buster: "2.0.0-dev.2026-05-07.sha-4912ae8d" || '0.0.0'
54
+ buster: "2.1.0" || '0.0.0'
55
55
  // @TODO: add maxAge and api version numbers as buster
56
56
  };
57
57
  const initialDataset = {
@@ -166,7 +166,7 @@ export function SettingsProvider(_ref2) {
166
166
 
167
167
  // If the buster is not set or does not match the current package version,
168
168
  // reset localSettings to avoid stale data
169
- if (!buster || buster !== "2.0.0-dev.2026-05-07.sha-4912ae8d") {
169
+ if (!buster || buster !== "2.1.0") {
170
170
  localSettings = {};
171
171
  }
172
172
  const initSettings = useRef(initializer({
@@ -191,7 +191,7 @@ export function SettingsProvider(_ref2) {
191
191
  if (canOverrideSettings && settings) {
192
192
  try {
193
193
  localStorage.setItem(DATASET_STORAGE_KEY, JSON.stringify(_objectSpread({
194
- buster: "2.0.0-dev.2026-05-07.sha-4912ae8d" || '0.0.0',
194
+ buster: "2.1.0" || '0.0.0',
195
195
  timestamp: Date.now()
196
196
  }, _.omit(settings, 'data'))));
197
197
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haniffalab/cherita-react",
3
- "version": "2.0.0-dev.2026-05-07.sha-4912ae8d",
3
+ "version": "2.1.0",
4
4
  "author": "Haniffa Lab",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -148,6 +148,5 @@
148
148
  "bugs": {
149
149
  "url": "https://github.com/haniffalab/cherita-react/issues"
150
150
  },
151
- "homepage": "https://github.com/haniffalab/cherita-react#readme",
152
- "prereleaseSha": "4912ae8d7f36ad71726376d16984a42d1c64e4cc"
153
- }
151
+ "homepage": "https://github.com/haniffalab/cherita-react#readme"
152
+ }