@extn/segi-nestjs 0.1.1 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -40,6 +40,17 @@ await app.listen(3000);
40
40
 
41
41
  Every unhandled exception is forwarded to segi while still surfacing the original error to the client.
42
42
 
43
+ ## Session recording
44
+
45
+ Session recording is a browser-side feature — wire it in with [`@extn/segi-js`](../segi-js) or [`@extn/segi-nextjs`](../segi-nextjs). The NestJS package is server-only and never touches the DOM. Server-side it does, however, expose an admin helper to fetch recordings programmatically (e.g. to attach a replay link to a Slack alert):
46
+
47
+ ```ts
48
+ const recording = await this.segi.adminApi.recordings.find({ projectId, sessionUid });
49
+ // recording.replayUrl is a signed admin URL with the rrweb player
50
+ ```
51
+
52
+ Recording quotas are per organization plan (Free 10 / Team 30 / Enterprise ∞ per project per month) — see [docs/12-session-recording.md](https://github.com/extension-co/segi/blob/main/docs/12-session-recording.md) and [docs/13-plans-and-billing.md](https://github.com/extension-co/segi/blob/main/docs/13-plans-and-billing.md).
53
+
43
54
  ## Docs
44
55
 
45
56
  <https://segi.extn.ai/docs>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extn/segi-nestjs",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "NestJS integration for the segi error monitoring service",
5
5
  "license": "UNLICENSED",
6
6
  "main": "./dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "@nestjs/core": "^10.0.0"
27
27
  },
28
28
  "dependencies": {
29
- "@extn/segi-shared": "0.1.1"
29
+ "@extn/segi-shared": "0.2.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@nestjs/common": "^10.4.0",