@astral/mobx-query 1.12.0 → 1.12.1
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/MobxQuery/MobxQuery.js
CHANGED
|
@@ -144,10 +144,10 @@ export class MobxQuery {
|
|
|
144
144
|
const queryKey = [...rootKey, { fetchPolicy, date, isBackground, type }];
|
|
145
145
|
const queryKeyHash = this.serialize(queryKey);
|
|
146
146
|
const dataKeyHash = this.serialize([...rootKey, { type }]);
|
|
147
|
-
const statusKeyHash = this.serialize([...rootKey, { type }]);
|
|
147
|
+
const statusKeyHash = this.serialize([...rootKey, { type, date }]);
|
|
148
148
|
const backgroundStatusKeyHash = this.serialize([
|
|
149
149
|
...rootKey,
|
|
150
|
-
{ type, isBackground },
|
|
150
|
+
{ type, isBackground, date },
|
|
151
151
|
]);
|
|
152
152
|
return {
|
|
153
153
|
queryKey,
|
|
@@ -147,10 +147,10 @@ class MobxQuery {
|
|
|
147
147
|
const queryKey = [...rootKey, { fetchPolicy, date, isBackground, type }];
|
|
148
148
|
const queryKeyHash = this.serialize(queryKey);
|
|
149
149
|
const dataKeyHash = this.serialize([...rootKey, { type }]);
|
|
150
|
-
const statusKeyHash = this.serialize([...rootKey, { type }]);
|
|
150
|
+
const statusKeyHash = this.serialize([...rootKey, { type, date }]);
|
|
151
151
|
const backgroundStatusKeyHash = this.serialize([
|
|
152
152
|
...rootKey,
|
|
153
|
-
{ type, isBackground },
|
|
153
|
+
{ type, isBackground, date },
|
|
154
154
|
]);
|
|
155
155
|
return {
|
|
156
156
|
queryKey,
|