@tanstack/solid-query 4.19.1 → 4.20.2

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.
@@ -3749,8 +3749,7 @@ describe('createQuery', () => {
3749
3749
  <Page />
3750
3750
  </QueryClientProvider>));
3751
3751
  await sleep(10);
3752
- expect(renders).toBe(2);
3753
- expect(hashes).toBe(2);
3752
+ expect(renders).toBe(hashes);
3754
3753
  });
3755
3754
  it('should refetch when changed enabled to true in error state', async () => {
3756
3755
  const queryFn = jest.fn();
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/solid-query",
3
- "version": "4.19.1",
3
+ "version": "4.20.2",
4
4
  "description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -16,7 +16,7 @@
16
16
  "exports": {
17
17
  ".": {
18
18
  "types": "./build/lib/index.d.ts",
19
- "solid": "./build/solid/index.js",
19
+ "solid": "./build/solid/index.jsx",
20
20
  "import": "./build/lib/index.mjs",
21
21
  "browser": "./build/lib/index.mjs",
22
22
  "require": "./build/lib/index.js",
@@ -36,7 +36,7 @@
36
36
  "solid-jest": "^0.2.0"
37
37
  },
38
38
  "dependencies": {
39
- "@tanstack/query-core": "4.19.1"
39
+ "@tanstack/query-core": "4.20.2"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "solid-js": "^1.5.7"
@@ -5210,8 +5210,7 @@ describe('createQuery', () => {
5210
5210
 
5211
5211
  await sleep(10)
5212
5212
 
5213
- expect(renders).toBe(2)
5214
- expect(hashes).toBe(2)
5213
+ expect(renders).toBe(hashes)
5215
5214
  })
5216
5215
 
5217
5216
  it('should refetch when changed enabled to true in error state', async () => {
File without changes