@maxtroost/use-websocket 1.0.0 → 1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxtroost/use-websocket",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "A robust WebSocket connection management package for React applications with automatic reconnection, heartbeat monitoring, URI-based message routing, and React integration via TanStack Store.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -29,6 +29,12 @@
29
29
  "url": "https://github.com/max-troost-io/mt-use-websockets/issues"
30
30
  },
31
31
  "homepage": "https://github.com/max-troost-io/mt-use-websockets#readme",
32
+ "scripts": {
33
+ "build": "vite build",
34
+ "test": "vitest",
35
+ "test:run": "vitest run",
36
+ "prepublishOnly": "pnpm run build"
37
+ },
32
38
  "keywords": [
33
39
  "websocket",
34
40
  "react",
@@ -44,7 +50,6 @@
44
50
  "@tanstack/react-store": "^0.9.2",
45
51
  "@tanstack/store": "^0.9.2",
46
52
  "fast-equals": "^5.0.0",
47
- "notistack": "^3.0.0",
48
53
  "uuid": "^9.0.0",
49
54
  "usehooks-ts": "3.1.1"
50
55
  },
@@ -71,9 +76,5 @@
71
76
  "node": ">=18",
72
77
  "pnpm": ">=9"
73
78
  },
74
- "scripts": {
75
- "build": "vite build",
76
- "test": "vitest",
77
- "test:run": "vitest run"
78
- }
79
- }
79
+ "packageManager": "pnpm@9.15.0"
80
+ }