@spoosh/react 0.15.0 → 0.15.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/dist/index.js CHANGED
@@ -553,8 +553,7 @@ function createUsePages(options) {
553
553
  (tag) => (0, import_core3.matchTags)(tag, invalidatePatterns)
554
554
  );
555
555
  if (hasMatch) {
556
- setIsPending(true);
557
- controller.trigger().finally(() => setIsPending(false));
556
+ controller.refetch();
558
557
  }
559
558
  }
560
559
  );
package/dist/index.mjs CHANGED
@@ -565,8 +565,7 @@ function createUsePages(options) {
565
565
  (tag) => matchTags2(tag, invalidatePatterns)
566
566
  );
567
567
  if (hasMatch) {
568
- setIsPending(true);
569
- controller.trigger().finally(() => setIsPending(false));
568
+ controller.refetch();
570
569
  }
571
570
  }
572
571
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spoosh/react",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "license": "MIT",
5
5
  "description": "React hooks for Spoosh API toolkit",
6
6
  "keywords": [
@@ -34,7 +34,7 @@
34
34
  }
35
35
  },
36
36
  "peerDependencies": {
37
- "@spoosh/core": ">=0.18.0",
37
+ "@spoosh/core": ">=0.18.2",
38
38
  "@spoosh/transport-sse": ">=0.1.0",
39
39
  "react": "^18 || ^19"
40
40
  },
@@ -46,8 +46,8 @@
46
46
  "devDependencies": {
47
47
  "@testing-library/react": "^16.0.0",
48
48
  "jsdom": "^26.0.0",
49
- "@spoosh/core": "0.18.0",
50
- "@spoosh/transport-sse": "0.1.1",
49
+ "@spoosh/core": "0.18.2",
50
+ "@spoosh/transport-sse": "0.1.2",
51
51
  "@spoosh/test-utils": "0.3.0"
52
52
  },
53
53
  "scripts": {