mixpanel-browser 2.56.0 → 2.58.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ **2.58.0** (16 Dec 2024)
2
+ - Added canvas recording option
3
+ - Session Replay checkpoint events now include a starting URL
4
+
5
+ **2.57.1** (12 Dec 2024)
6
+ - Asynchronous abstractions (primarily Promise support) introduced in internal refactor of batch/queue/retry system.
7
+
8
+ **2.57.0** (Dec 2024)
9
+ REDACTED
10
+
1
11
  **2.56.0** (4 Nov 2024)
2
12
  - Recording payloads now include additional metadata: the current URL, library type, and library version.
3
13
  - Sourcemaps are now generated for the recorder module.
package/LICENSE CHANGED
@@ -1,17 +1,3 @@
1
- Copyright 2015 Mixpanel, Inc.
2
-
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this work except in compliance with the License.
5
- You may obtain a copy of the License below, or at:
6
-
7
- http://www.apache.org/licenses/LICENSE-2.0
8
-
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
14
-
15
1
  Apache License
16
2
  Version 2.0, January 2004
17
3
  http://www.apache.org/licenses/
@@ -200,7 +186,7 @@ limitations under the License.
200
186
  same "printed page" as the copyright notice for easier
201
187
  identification within third-party archives.
202
188
 
203
- Copyright [yyyy] [name of copyright owner]
189
+ Copyright 2015 Mixpanel, Inc.
204
190
 
205
191
  Licensed under the Apache License, Version 2.0 (the "License");
206
192
  you may not use this file except in compliance with the License.
package/build.sh CHANGED
@@ -14,11 +14,11 @@ ln -sf mixpanel.globals.js build/mixpanel.js
14
14
 
15
15
  if [ ! -z "$FULL" ]; then
16
16
  echo 'Minifying main build and snippets'
17
- java -jar vendor/closure-compiler/compiler.jar --js build/mixpanel.js --js_output_file build/mixpanel.min.js --compilation_level ADVANCED_OPTIMIZATIONS --output_wrapper "(function() {
17
+ java -jar vendor/closure-compiler/compiler.jar --js build/mixpanel.js --language_in ECMASCRIPT5 --externs src/externs.js --js_output_file build/mixpanel.min.js --compilation_level ADVANCED_OPTIMIZATIONS --output_wrapper "(function() {
18
18
  %output%
19
19
  })();"
20
- java -jar vendor/closure-compiler/compiler.jar --js src/loaders/mixpanel-jslib-snippet.js --js_output_file build/mixpanel-jslib-snippet.min.js --compilation_level ADVANCED_OPTIMIZATIONS
21
- java -jar vendor/closure-compiler/compiler.jar --js src/loaders/mixpanel-jslib-snippet.js --js_output_file build/mixpanel-jslib-snippet.min.test.js --compilation_level ADVANCED_OPTIMIZATIONS --define='MIXPANEL_LIB_URL="../build/mixpanel.min.js"'
20
+ java -jar vendor/closure-compiler/compiler.jar --js src/loaders/mixpanel-jslib-snippet.js --language_in ECMASCRIPT5 --js_output_file build/mixpanel-jslib-snippet.min.js --compilation_level ADVANCED_OPTIMIZATIONS
21
+ java -jar vendor/closure-compiler/compiler.jar --js src/loaders/mixpanel-jslib-snippet.js --language_in ECMASCRIPT5 --js_output_file build/mixpanel-jslib-snippet.min.test.js --compilation_level ADVANCED_OPTIMIZATIONS --define='MIXPANEL_LIB_URL="../build/mixpanel.min.js"'
22
22
 
23
23
  echo 'Building mixpanel-js-wrapper'
24
24
  npx rollup src/loaders/mixpanel-js-wrapper.js -o build/mixpanel-js-wrapper.js -c rollup.config.js