@launchdarkly/session-replay 1.0.3 → 1.1.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/package.json CHANGED
@@ -1,55 +1,55 @@
1
1
  {
2
- "name": "@launchdarkly/session-replay",
3
- "version": "1.0.3",
4
- "description": "Browser observability for your web app. Record session replays to visualize usage patterns.",
5
- "keywords": [
6
- "launchdarkly",
7
- "session replay",
8
- "debugging",
9
- "observability",
10
- "browser",
11
- "library"
12
- ],
13
- "homepage": "https://github.com/launchdarkly/observability-sdk#readme",
14
- "bugs": {
15
- "url": "https://github.com/launchdarkly/observability-sdk/issues",
16
- "email": "support@launchdarkly.com"
17
- },
18
- "license": "Apache-2.0",
19
- "repository": {
20
- "type": "git",
21
- "url": "https://github.com/launchdarkly/observability-sdk.git"
22
- },
23
- "scripts": {
24
- "typegen": "tsc",
25
- "build": "vite build"
26
- },
27
- "dependencies": {
28
- "highlight.run": "9.27.1"
29
- },
30
- "devDependencies": {
31
- "rollup-plugin-visualizer": "^5.14.0",
32
- "typescript": "^5.8.3",
33
- "vite": "^6.3.4",
34
- "vitest": "^3.1.2"
35
- },
36
- "type": "module",
37
- "main": "./dist/index.js",
38
- "module": "./dist/index.js",
39
- "unpkg": "./dist/index.umd.js",
40
- "jsdelivr": "./dist/index.umd.js",
41
- "types": "./dist/index.d.ts",
42
- "files": [
43
- "dist"
44
- ],
45
- "size-limit": [
46
- {
47
- "path": [
48
- "dist/*.js",
49
- "!dist/*.umd.js"
50
- ],
51
- "limit": "256 kB",
52
- "brotli": true
53
- }
54
- ]
55
- }
2
+ "name": "@launchdarkly/session-replay",
3
+ "version": "1.1.1",
4
+ "description": "Browser observability for your web app. Record session replays to visualize usage patterns.",
5
+ "keywords": [
6
+ "launchdarkly",
7
+ "session replay",
8
+ "debugging",
9
+ "observability",
10
+ "browser",
11
+ "library"
12
+ ],
13
+ "homepage": "https://github.com/launchdarkly/observability-sdk#readme",
14
+ "bugs": {
15
+ "url": "https://github.com/launchdarkly/observability-sdk/issues",
16
+ "email": "support@launchdarkly.com"
17
+ },
18
+ "license": "Apache-2.0",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/launchdarkly/observability-sdk.git"
22
+ },
23
+ "scripts": {
24
+ "typegen": "tsc",
25
+ "build": "vite build"
26
+ },
27
+ "dependencies": {
28
+ "highlight.run": "workspace:*"
29
+ },
30
+ "devDependencies": {
31
+ "rollup-plugin-visualizer": "^5.14.0",
32
+ "typescript": "^5.8.3",
33
+ "vite": "^6.3.4",
34
+ "vitest": "^3.1.2"
35
+ },
36
+ "type": "module",
37
+ "main": "./dist/index.js",
38
+ "module": "./dist/index.js",
39
+ "unpkg": "./dist/index.umd.js",
40
+ "jsdelivr": "./dist/index.umd.js",
41
+ "types": "./dist/index.d.ts",
42
+ "files": [
43
+ "dist"
44
+ ],
45
+ "size-limit": [
46
+ {
47
+ "path": [
48
+ "dist/*.js",
49
+ "!dist/*.umd.js"
50
+ ],
51
+ "limit": "256 kB",
52
+ "brotli": true
53
+ }
54
+ ]
55
+ }
package/CHANGELOG.md DELETED
@@ -1,437 +0,0 @@
1
- # @launchdarkly/session-replay
2
-
3
- ## [1.0.3](https://github.com/launchdarkly/observability-sdk/compare/session-replay-1.0.2...session-replay-1.0.3) (2026-02-26)
4
-
5
-
6
- ### Dependencies
7
-
8
- * The following workspace dependencies were updated
9
- * dependencies
10
- * highlight.run bumped to 9.27.1
11
-
12
- ## [1.0.2](https://github.com/launchdarkly/observability-sdk/compare/session-replay-1.0.1...session-replay-1.0.2) (2026-02-23)
13
-
14
-
15
- ### Dependencies
16
-
17
- * The following workspace dependencies were updated
18
- * dependencies
19
- * highlight.run bumped to 9.27.0
20
-
21
- ## [1.0.1](https://github.com/launchdarkly/observability-sdk/compare/session-replay-1.0.0...session-replay-1.0.1) (2026-02-13)
22
-
23
-
24
- ### Dependencies
25
-
26
- * The following workspace dependencies were updated
27
- * dependencies
28
- * highlight.run bumped to 9.26.1
29
-
30
- ## [1.0.0](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.5.2...session-replay-1.0.0) (2026-01-28)
31
-
32
- This release marks the 1.0.0 stable version of the LaunchDarkly Session Replay SDK.
33
-
34
- ## [0.5.2](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.5.1...session-replay-0.5.2) (2026-01-23)
35
-
36
-
37
- ### Dependencies
38
-
39
- * The following workspace dependencies were updated
40
- * dependencies
41
- * highlight.run bumped to 9.26.0
42
-
43
- ## [0.5.1](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.5.0...session-replay-0.5.1) (2026-01-21)
44
-
45
-
46
- ### Dependencies
47
-
48
- * The following workspace dependencies were updated
49
- * dependencies
50
- * highlight.run bumped to 9.25.1
51
-
52
- ## [0.5.0](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.11...session-replay-0.5.0) (2025-12-23)
53
-
54
-
55
- ### Features
56
-
57
- * publish umd for broser environments ([#334](https://github.com/launchdarkly/observability-sdk/issues/334)) ([3e90673](https://github.com/launchdarkly/observability-sdk/commit/3e90673e42335aeeef78cc807a07dfa21da19291))
58
-
59
- ## [0.4.11](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.10...session-replay-0.4.11) (2025-12-18)
60
-
61
-
62
- ### Dependencies
63
-
64
- * The following workspace dependencies were updated
65
- * dependencies
66
- * highlight.run bumped to 9.25.0
67
-
68
- ## [0.4.10](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.9...session-replay-0.4.10) (2025-12-12)
69
-
70
-
71
- ### Dependencies
72
-
73
- * The following workspace dependencies were updated
74
- * dependencies
75
- * highlight.run bumped to 9.24.0
76
-
77
- ## [0.4.9](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.8...session-replay-0.4.9) (2025-11-12)
78
-
79
-
80
- ### Dependencies
81
-
82
- * The following workspace dependencies were updated
83
- * dependencies
84
- * highlight.run bumped to 9.23.0
85
-
86
- ## [0.4.8](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.7...session-replay-0.4.8) (2025-11-10)
87
-
88
-
89
- ### Dependencies
90
-
91
- * The following workspace dependencies were updated
92
- * dependencies
93
- * highlight.run bumped to 9.22.5
94
-
95
- ## [0.4.7](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.6...session-replay-0.4.7) (2025-10-30)
96
-
97
-
98
- ### Dependencies
99
-
100
- * The following workspace dependencies were updated
101
- * dependencies
102
- * highlight.run bumped to 9.22.4
103
-
104
- ## [0.4.6](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.5...session-replay-0.4.6) (2025-10-24)
105
-
106
-
107
- ### Dependencies
108
-
109
- * The following workspace dependencies were updated
110
- * dependencies
111
- * highlight.run bumped to 9.22.3
112
-
113
- ## [0.4.5](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.4...session-replay-0.4.5) (2025-10-06)
114
-
115
-
116
- ### Dependencies
117
-
118
- * The following workspace dependencies were updated
119
- * dependencies
120
- * highlight.run bumped to 9.22.2
121
-
122
- ## [0.4.4](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.3...session-replay-0.4.4) (2025-10-03)
123
-
124
-
125
- ### Dependencies
126
-
127
- * The following workspace dependencies were updated
128
- * dependencies
129
- * highlight.run bumped to 9.22.1
130
-
131
- ## [0.4.3](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.2...session-replay-0.4.3) (2025-10-01)
132
-
133
-
134
- ### Dependencies
135
-
136
- * The following workspace dependencies were updated
137
- * dependencies
138
- * highlight.run bumped to 9.22.0
139
-
140
- ## [0.4.2](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.1...session-replay-0.4.2) (2025-09-24)
141
-
142
-
143
- ### Dependencies
144
-
145
- * The following workspace dependencies were updated
146
- * dependencies
147
- * highlight.run bumped to 9.21.1
148
-
149
- ## [0.4.1](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.4.0...session-replay-0.4.1) (2025-09-09)
150
-
151
-
152
- ### Dependencies
153
-
154
- * The following workspace dependencies were updated
155
- * dependencies
156
- * highlight.run bumped to 9.21.0
157
-
158
- ## [0.4.0](https://github.com/launchdarkly/observability-sdk/compare/session-replay-0.3.12...session-replay-0.4.0) (2025-08-29)
159
-
160
-
161
- ### Features
162
-
163
- * Version Packages ([#136](https://github.com/launchdarkly/observability-sdk/issues/136)) ([c271dc8](https://github.com/launchdarkly/observability-sdk/commit/c271dc87e4aba78355ca54cc7af9200f63da26a8))
164
-
165
- ## 0.3.12
166
-
167
- ### Patch Changes
168
-
169
- - Updated dependencies [7e8f9e5]
170
- - Updated dependencies [7e8f9e5]
171
- - highlight.run@9.20.0
172
-
173
- ## 0.3.11
174
-
175
- ### Patch Changes
176
-
177
- - 4ab5879: update o11y plugin docs to point to new launchdarkly pages and correctly reflect the SDK name
178
-
179
- ## 0.3.10
180
-
181
- ### Patch Changes
182
-
183
- - Updated dependencies [1beae4d]
184
- - highlight.run@9.19.1
185
-
186
- ## 0.3.9
187
-
188
- ### Patch Changes
189
-
190
- - Updated dependencies [d181f89]
191
- - highlight.run@9.19.0
192
-
193
- ## 0.3.8
194
-
195
- ### Patch Changes
196
-
197
- - d0ab9e3: conditionally check for window api availability
198
- - Updated dependencies [d0ab9e3]
199
- - highlight.run@9.18.23
200
-
201
- ## 0.3.7
202
-
203
- ### Patch Changes
204
-
205
- - 54aab8b: delete sessionData\_ localstorage values to avoid overfilling quota
206
- - Updated dependencies [54aab8b]
207
- - highlight.run@9.18.22
208
-
209
- ## 0.3.6
210
-
211
- ### Patch Changes
212
-
213
- - 060dfe9: introduce LDObserve.stop api
214
-
215
- ## 0.3.5
216
-
217
- ### Patch Changes
218
-
219
- - Updated dependencies [011032f]
220
- - highlight.run@9.18.21
221
-
222
- ## 0.3.4
223
-
224
- ### Patch Changes
225
-
226
- - a151858: support delayed plugin initialization via manualStart setting and start API.
227
- - Updated dependencies [a151858]
228
- - highlight.run@9.18.20
229
-
230
- ## 0.3.3
231
-
232
- ### Patch Changes
233
-
234
- - 9d1fa42: report member.email from context object
235
- - Updated dependencies [9d1fa42]
236
- - highlight.run@9.18.19
237
-
238
- ## 0.3.2
239
-
240
- ### Patch Changes
241
-
242
- - 3b7818c: update README EAP notice
243
-
244
- ## 0.3.1
245
-
246
- ### Patch Changes
247
-
248
- - Updated dependencies [491a594]
249
- - highlight.run@9.18.18
250
-
251
- ## 0.3.0
252
-
253
- ### Minor Changes
254
-
255
- - 3993134: refactor observability plugins to no longer require an observability project id
256
-
257
- ### Patch Changes
258
-
259
- - Updated dependencies [3993134]
260
- - Updated dependencies [2dcbae1]
261
- - highlight.run@9.18.17
262
-
263
- ## 0.2.2
264
-
265
- ### Patch Changes
266
-
267
- - 5fdfaba: update readmes to update early access preview progress
268
- - 5fdfaba: gracefully handle broken url for LDRecord.getSession
269
- - 5fdfaba: enable session replay in webdriver navigators
270
- - Updated dependencies [5fdfaba]
271
- - Updated dependencies [5fdfaba]
272
- - Updated dependencies [5fdfaba]
273
- - highlight.run@9.18.16
274
-
275
- ## 0.2.1
276
-
277
- ### Patch Changes
278
-
279
- - Updated dependencies [49b32d8]
280
- - highlight.run@9.18.15
281
-
282
- ## 0.2.0
283
-
284
- ### Minor Changes
285
-
286
- - c901c22: move metrics listeners to Observability plugin from SessionReplay
287
- - 4b48fe8: set privacySetting to `strict` by default when not set
288
-
289
- ### Patch Changes
290
-
291
- - c901c22: fix ErrorListener incorrectly reporting stacktrace via trace event
292
- - c901c22: fix document_load metric not forwarding to ldClient
293
- - c901c22: allow reporting 0-value document_load durations
294
- - Updated dependencies [c901c22]
295
- - Updated dependencies [c901c22]
296
- - Updated dependencies [c901c22]
297
- - highlight.run@9.18.14
298
-
299
- ## 0.1.17
300
-
301
- ### Patch Changes
302
-
303
- - 3f513ca: remove verbosity of user instrumentation events by default.
304
- only reports click, input, and submit window events as spans unless `otel.eventNames` is provided.
305
- - Updated dependencies [3f513ca]
306
- - highlight.run@9.18.13
307
-
308
- ## 0.1.16
309
-
310
- ### Patch Changes
311
-
312
- - 575ac87: ensure omitting project id does not break sdk
313
- - 575ac87: report all attributes of evaluation reason
314
- - Updated dependencies [575ac87]
315
- - Updated dependencies [575ac87]
316
- - highlight.run@9.18.12
317
-
318
- ## 0.1.15
319
-
320
- ### Patch Changes
321
-
322
- - Updated dependencies [24ff099]
323
- - highlight.run@9.18.11
324
-
325
- ## 0.1.14
326
-
327
- ### Patch Changes
328
-
329
- - b22881f: fix plugins not exporting types
330
- - bcbb6f7: export plugin options correctly
331
- - 188357c: fix session replay and observability plugin reporting to different sessions
332
- - 18ff47a: fix span duplication happening due to an unnecessary export retry
333
- - Updated dependencies [b22881f]
334
- - Updated dependencies [bcbb6f7]
335
- - Updated dependencies [188357c]
336
- - Updated dependencies [18ff47a]
337
- - highlight.run@9.18.10
338
-
339
- ## 0.1.13
340
-
341
- ### Patch Changes
342
-
343
- - d349bc2: wrap plugin initialization with try / catch to limit impact of internal errors
344
- - Updated dependencies [0e87afd]
345
- - Updated dependencies [d349bc2]
346
- - Updated dependencies [0e87afd]
347
- - highlight.run@9.18.9
348
-
349
- ## 0.1.12
350
-
351
- ### Patch Changes
352
-
353
- - 0ea7461: fix previous session not being resumed when tab is reloaded
354
- - Updated dependencies [af513d3]
355
- - highlight.run@9.18.8
356
-
357
- ## 0.1.11
358
-
359
- ### Patch Changes
360
-
361
- - Updated dependencies [57fa91d]
362
- - highlight.run@9.18.7
363
-
364
- ## 0.1.10
365
-
366
- ### Patch Changes
367
-
368
- - Updated dependencies [36e2247]
369
- - Updated dependencies [2c29bf4]
370
- - Updated dependencies [a8bf1aa]
371
- - highlight.run@9.18.6
372
-
373
- ## 0.1.9
374
-
375
- ### Patch Changes
376
-
377
- - Updated dependencies [bcd8ece]
378
- - highlight.run@9.18.5
379
-
380
- ## 0.1.8
381
-
382
- ### Patch Changes
383
-
384
- - Updated dependencies [1ab53f8]
385
- - highlight.run@9.18.4
386
-
387
- ## 0.1.7
388
-
389
- ### Patch Changes
390
-
391
- - Updated dependencies [bb75fea]
392
- - highlight.run@9.18.3
393
-
394
- ## 0.1.6
395
-
396
- ### Patch Changes
397
-
398
- - Updated dependencies [027df7b]
399
- - highlight.run@9.18.2
400
-
401
- ## 0.1.5
402
-
403
- ### Patch Changes
404
-
405
- - 24f38cf: update launchdarkly package reporting of attributes for application and environment
406
-
407
- ## 0.1.4
408
-
409
- ### Patch Changes
410
-
411
- - 96d5818: change type exports to be compatible with moduleResolution node
412
- - Updated dependencies [96d5818]
413
- - highlight.run@9.18.1
414
-
415
- ## 0.1.3
416
-
417
- ### Patch Changes
418
-
419
- - 6e77363: include highlight.run as dependency for type resolution
420
-
421
- ## 0.1.2
422
-
423
- ### Patch Changes
424
-
425
- - 1ea87fd: correctly publish dist directory
426
-
427
- ## 0.1.1
428
-
429
- ### Patch Changes
430
-
431
- - bcac87b: release initial public version
432
-
433
- ## 0.1.0
434
-
435
- ### Minor Changes
436
-
437
- - 26cc5f1: refactors highlight.run SDK into plugins consumed by new @launchdarkly packages
@@ -1 +0,0 @@
1
- {"version":3,"file":"LDObserve-6M5A_Cdv.js","sources":["../../../highlight-run/dist/LDObserve.js"],"sourcesContent":["import { B as u } from \"./buffer-DIFxvF2Q.js\";\nclass a extends u {\n start() {\n return this._sdk.start();\n }\n stop() {\n return this._sdk.stop();\n }\n recordGauge(r) {\n return this._bufferCall(\"recordGauge\", [r]);\n }\n recordCount(r) {\n return this._bufferCall(\"recordCount\", [r]);\n }\n recordIncr(r) {\n return this._bufferCall(\"recordIncr\", [r]);\n }\n recordHistogram(r) {\n return this._bufferCall(\"recordHistogram\", [r]);\n }\n recordUpDownCounter(r) {\n return this._bufferCall(\"recordUpDownCounter\", [r]);\n }\n // TODO: Ask @vkorolik about using this method before initialization. Doesn't\n // this cause problems if someone tries to work with the returned span?\n startSpan(r, e, t, s) {\n return this._bufferCall(\"startSpan\", [r, e, t, s]);\n }\n startManualSpan(r, e, t, s) {\n return this._bufferCall(\"startManualSpan\", [r, e, t, s]);\n }\n register(r, e) {\n return this._bufferCall(\"register\", [r, e]);\n }\n recordLog(r, e, t) {\n return this._bufferCall(\"recordLog\", [r, e, t]);\n }\n recordError(r, e, t, s, l) {\n return this._bufferCall(\"recordError\", [\n r,\n e,\n t,\n s,\n l\n ]);\n }\n}\nlet o;\ntypeof globalThis != \"undefined\" ? globalThis.LDObserve ? o = globalThis.LDObserve : (o = new a(), globalThis.LDObserve = o) : o = new a();\nexport {\n o as LDObserve\n};\n//# sourceMappingURL=LDObserve.js.map\n"],"names":["u"],"mappings":";AACA,MAAM,UAAUA,EAAE;AAAA,EAChB,QAAQ;AACN,WAAO,KAAK,KAAK,MAAK;AAAA,EACxB;AAAA,EACA,OAAO;AACL,WAAO,KAAK,KAAK,KAAI;AAAA,EACvB;AAAA,EACA,YAAY,GAAG;AACb,WAAO,KAAK,YAAY,eAAe,CAAC,CAAC,CAAC;AAAA,EAC5C;AAAA,EACA,YAAY,GAAG;AACb,WAAO,KAAK,YAAY,eAAe,CAAC,CAAC,CAAC;AAAA,EAC5C;AAAA,EACA,WAAW,GAAG;AACZ,WAAO,KAAK,YAAY,cAAc,CAAC,CAAC,CAAC;AAAA,EAC3C;AAAA,EACA,gBAAgB,GAAG;AACjB,WAAO,KAAK,YAAY,mBAAmB,CAAC,CAAC,CAAC;AAAA,EAChD;AAAA,EACA,oBAAoB,GAAG;AACrB,WAAO,KAAK,YAAY,uBAAuB,CAAC,CAAC,CAAC;AAAA,EACpD;AAAA;AAAA;AAAA,EAGA,UAAU,GAAG,GAAG,GAAG,GAAG;AACpB,WAAO,KAAK,YAAY,aAAa,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAAA,EACnD;AAAA,EACA,gBAAgB,GAAG,GAAG,GAAG,GAAG;AAC1B,WAAO,KAAK,YAAY,mBAAmB,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAAA,EACzD;AAAA,EACA,SAAS,GAAG,GAAG;AACb,WAAO,KAAK,YAAY,YAAY,CAAC,GAAG,CAAC,CAAC;AAAA,EAC5C;AAAA,EACA,UAAU,GAAG,GAAG,GAAG;AACjB,WAAO,KAAK,YAAY,aAAa,CAAC,GAAG,GAAG,CAAC,CAAC;AAAA,EAChD;AAAA,EACA,YAAY,GAAG,GAAG,GAAG,GAAG,GAAG;AACzB,WAAO,KAAK,YAAY,eAAe;AAAA,MACrC;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACN,CAAK;AAAA,EACH;AACF;AACG,IAAC;AACJ,OAAO,aAAc,MAAc,WAAW,YAAY,IAAI,WAAW,aAAa,IAAI,IAAI,EAAC,GAAI,WAAW,YAAY,KAAK,IAAI,IAAI,EAAC;"}