mixpanel-browser 2.55.0 → 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 +31 -1
- package/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/dist/mixpanel-core.cjs.js +727 -69
- package/dist/mixpanel-recorder.js +215 -88
- package/dist/mixpanel-recorder.min.js +10 -9
- package/dist/mixpanel-recorder.min.js.map +1 -0
- package/dist/mixpanel-with-async-recorder.cjs.js +727 -69
- package/dist/mixpanel.amd.js +913 -147
- package/dist/mixpanel.cjs.js +913 -147
- package/dist/mixpanel.globals.js +727 -69
- package/dist/mixpanel.min.js +124 -110
- package/dist/mixpanel.min.js.map +8 -0
- package/dist/mixpanel.module.js +913 -147
- package/dist/mixpanel.umd.js +913 -147
- package/package.json +1 -1
- package/src/autocapture/index.js +250 -0
- package/src/autocapture/utils.js +413 -0
- package/src/config.js +1 -1
- package/src/mixpanel-core.js +31 -59
- package/src/recorder/index.js +39 -232
- package/src/recorder/rollup.config.js +2 -1
- package/src/recorder/session-recording.js +305 -0
- package/src/request-batcher.js +7 -2
- package/src/request-queue.js +5 -3
- package/src/utils.js +55 -14
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,17 @@
|
|
|
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
|
+
|
|
9
|
+
**2.55.1** (27 Aug 2024)
|
|
10
|
+
- Adds a minimum recording length option for session recording
|
|
11
|
+
- Fixes and improvements for session recording batcher to support offline queueing and retry
|
|
12
|
+
- Fix for query param parsing/escaping
|
|
13
|
+
- Support for more UTM tags / click IDs (thanks @aliyalcinkaya)
|
|
14
|
+
|
|
1
15
|
**2.55.0** (2 Aug 2024)
|
|
2
16
|
- Added new build to support native JavaScript modules
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -78,4 +78,4 @@ Mixpanel production releases are tested against a large matrix of browsers and o
|
|
|
78
78
|
- Publish to readme.io via the [rdme](https://www.npmjs.com/package/rdme) util: `RDME_API_KEY=<API_KEY> RDME_DOC_VERSION=<version> npm run dox-publish`
|
|
79
79
|
|
|
80
80
|
## Thanks
|
|
81
|
-
For patches and support: @bohanyang, @dehau, @drubin, @D1plo1d, @feychenie, @mogstad, @pfhayes, @sandorfr, @stefansedich, @gfx, @pkaminski, @austince, @danielbaker, @mkdai, @wolever, @dpraul, @chriszamierowski, @JoaoGomesTW
|
|
81
|
+
For patches and support: @bohanyang, @dehau, @drubin, @D1plo1d, @feychenie, @mogstad, @pfhayes, @sandorfr, @stefansedich, @gfx, @pkaminski, @austince, @danielbaker, @mkdai, @wolever, @dpraul, @chriszamierowski, @JoaoGomesTW, @@aliyalcinkaya
|