mixpanel-browser 2.55.1 → 2.56.0-ac-alpha-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/.eslintrc.json CHANGED
@@ -27,5 +27,35 @@
27
27
  "error",
28
28
  "always"
29
29
  ]
30
- }
30
+ },
31
+ "overrides": [{
32
+ "files": ["tests/unit/**/*.js"],
33
+ "parserOptions": {
34
+ "ecmaVersion": 8,
35
+ "sourceType": "module"
36
+ },
37
+ "env": {
38
+ "mocha": true
39
+ },
40
+ "rules": {
41
+ "camelcase": "error",
42
+ "eol-last": "error",
43
+ "eqeqeq": "error",
44
+ "indent": ["error", 2],
45
+ "linebreak-style": [
46
+ "error",
47
+ "unix"
48
+ ],
49
+ "no-console": "off",
50
+ "no-trailing-spaces": "error",
51
+ "quotes": [
52
+ "error",
53
+ "backtick"
54
+ ],
55
+ "semi": [
56
+ "error",
57
+ "always"
58
+ ]
59
+ }
60
+ }]
31
61
  }
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ **2.56.0** (4 Nov 2024)
2
+ - Recording payloads now include additional metadata: the current URL, library type, and library version.
3
+ - Sourcemaps are now generated for the recorder module.
4
+ - Added debugging method `mixpanel.get_session_replay_url()` which will return a Mixpanel UI link to the session replay if there is an active recording taking place.
5
+ - Refactored session recording module to encapsulate each active recording and its metadata. Added a unit test suite for the new `session-recording.js`.
6
+ - Added some additional error handling for when `stopRecording` fails or rrweb silently fails to start recording.
7
+ - Removed `record_inline_images` option due to buggy behavior in rrweb.
8
+
1
9
  **2.55.1** (27 Aug 2024)
2
10
  - Adds a minimum recording length option for session recording
3
11
  - Fixes and improvements for session recording batcher to support offline queueing and retry