tsdf 10.0.0 → 10.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.
package/dist/main.cjs CHANGED
@@ -1902,6 +1902,8 @@ function newTSDFListQueryStore({
1902
1902
  const queryState = draftState.queries[key];
1903
1903
  if (!queryState)
1904
1904
  continue;
1905
+ if (queryState.items.includes(itemKey))
1906
+ continue;
1905
1907
  if (addItemToQueries.appendTo === "start") {
1906
1908
  queryState.items.unshift(itemKey);
1907
1909
  } else if (addItemToQueries.appendTo === "end") {
package/dist/main.js CHANGED
@@ -1868,6 +1868,8 @@ function newTSDFListQueryStore({
1868
1868
  const queryState = draftState.queries[key];
1869
1869
  if (!queryState)
1870
1870
  continue;
1871
+ if (queryState.items.includes(itemKey))
1872
+ continue;
1871
1873
  if (addItemToQueries.appendTo === "start") {
1872
1874
  queryState.items.unshift(itemKey);
1873
1875
  } else if (addItemToQueries.appendTo === "end") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsdf",
3
- "version": "10.0.0",
3
+ "version": "10.1.0",
4
4
  "description": "A data fetching solution based on t-state",
5
5
  "license": "MIT",
6
6
  "author": "Lucas Santos",