@bymax-one/nest-realtime 1.0.1 → 1.0.3

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": "@bymax-one/nest-realtime",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Realtime backend → frontend communication for NestJS — dual-transport SSE (default) and WebSocket (opt-in) with a unified server-side API.",
5
5
  "author": "Bymax One <support@bymax.one>",
6
6
  "license": "MIT",
@@ -54,6 +54,26 @@
54
54
  "default": "./dist/react/index.cjs"
55
55
  }
56
56
  },
57
+ "./websocket": {
58
+ "import": {
59
+ "types": "./dist/websocket/index.d.ts",
60
+ "default": "./dist/websocket/index.mjs"
61
+ },
62
+ "require": {
63
+ "types": "./dist/websocket/index.d.cts",
64
+ "default": "./dist/websocket/index.cjs"
65
+ }
66
+ },
67
+ "./internal": {
68
+ "import": {
69
+ "types": "./dist/internal/index.d.ts",
70
+ "default": "./dist/internal/index.mjs"
71
+ },
72
+ "require": {
73
+ "types": "./dist/internal/index.d.cts",
74
+ "default": "./dist/internal/index.cjs"
75
+ }
76
+ },
57
77
  "./package.json": "./package.json"
58
78
  },
59
79
  "typesVersions": {
@@ -63,6 +83,12 @@
63
83
  ],
64
84
  "react": [
65
85
  "./dist/react/index.d.cts"
86
+ ],
87
+ "websocket": [
88
+ "./dist/websocket/index.d.cts"
89
+ ],
90
+ "internal": [
91
+ "./dist/internal/index.d.cts"
66
92
  ]
67
93
  }
68
94
  },
@@ -70,14 +96,16 @@
70
96
  "build": "pnpm clean && tsup",
71
97
  "check:exports": "attw --pack . --profile strict",
72
98
  "check:published": "node scripts/check-published-surface.mjs",
99
+ "check:runtime": "node scripts/check-consumer-runtime.mjs",
100
+ "check:surface": "node scripts/check-public-surface.mjs",
73
101
  "clean": "rm -rf dist coverage",
74
102
  "lint": "eslint src",
75
103
  "lint:fix": "eslint src --fix",
76
104
  "mutation": "stryker run",
77
105
  "mutation:dry-run": "stryker run --dryRunOnly",
78
106
  "mutation:incremental": "stryker run --incremental",
79
- "prepublishOnly": "pnpm clean && pnpm typecheck && pnpm lint && pnpm test:cov:all && pnpm build && pnpm check:published",
80
- "release": "pnpm publish --provenance",
107
+ "prepublishOnly": "pnpm clean && pnpm typecheck && pnpm lint && pnpm test:cov:all && pnpm build && pnpm check:published && pnpm check:surface && pnpm check:runtime",
108
+ "release": "npm publish --provenance --access public",
81
109
  "size": "node scripts/check-size.mjs",
82
110
  "test": "jest",
83
111
  "test:all": "pnpm test && pnpm test:e2e",