mixpanel-react-native 2.1.0 → 2.2.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/CHANGELOG.md +22 -0
- package/MixpanelReactNative.podspec +2 -2
- package/Samples/ContextAPIMixpanel/android/.project +28 -0
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanel.xcodeproj/project.pbxproj +2 -0
- package/Samples/ContextAPIMixpanel/ios/Podfile +1 -1
- package/Samples/ContextAPIMixpanel/package.json +1 -1
- package/Samples/MixpanelDemo/android/.project +28 -0
- package/Samples/MixpanelDemo/ios/MixpanelDemo.xcodeproj/project.pbxproj +2 -0
- package/Samples/MixpanelDemo/ios/Podfile +1 -1
- package/Samples/MixpanelDemo/package.json +1 -1
- package/Samples/SimpleMixpanel/android/.project +28 -0
- package/Samples/SimpleMixpanel/ios/Podfile +1 -1
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel.xcodeproj/project.pbxproj +4 -2
- package/Samples/SimpleMixpanel/package.json +1 -1
- package/__tests__/index.test.js +2 -2
- package/android/build.gradle +1 -1
- package/docs/Mixpanel.html +71 -32
- package/docs/MixpanelGroup.html +7 -7
- package/docs/People.html +12 -12
- package/docs/index.html +1 -1
- package/docs/index.js.html +2 -1
- package/index.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
#
|
|
2
2
|
|
|
3
|
+
## [v2.2.1](https://github.com/mixpanel/mixpanel-react-native/tree/v2.2.1) (2023-03-23)
|
|
4
|
+
|
|
5
|
+
### Enhancements
|
|
6
|
+
|
|
7
|
+
- bump iOS version to 4.1.0 [\#180](https://github.com/mixpanel/mixpanel-react-native/pull/180)
|
|
8
|
+
|
|
9
|
+
## [v2.2.0](https://github.com/mixpanel/mixpanel-react-native/tree/v2.2.0) (2023-03-06)
|
|
10
|
+
|
|
11
|
+
### NOTE:
|
|
12
|
+
- From this version we will prefix randomly generated device-specific distinct_ids with "$device:". The prefix is applied the next time a new random ID is generated, any IDs generated by previous SDK versions and persisted on the device will continue to be used as-is until reset is called to generate a new ID. This does not change the value sent for the $device_id property, which will continue to be the randomly-generated ID without a prefix. Mixpanel's $identify endpoint has been updated to accept UUIDs with this prefix to coordinate with this change.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Enhancements
|
|
16
|
+
|
|
17
|
+
- bump ios to 4.0.5 and android to 7.3.0 [\#176](https://github.com/mixpanel/mixpanel-react-native/pull/176)
|
|
18
|
+
|
|
19
|
+
#
|
|
20
|
+
|
|
3
21
|
## [v2.1.0](https://github.com/mixpanel/mixpanel-react-native/tree/v2.1.0) (2022-09-14)
|
|
4
22
|
|
|
5
23
|
### Enhancements
|
|
@@ -246,6 +264,10 @@ Report issues or give us any feedback is appreciated!
|
|
|
246
264
|
|
|
247
265
|
|
|
248
266
|
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
249
271
|
|
|
250
272
|
|
|
251
273
|
|
|
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
|
|
|
10
10
|
s.license = package['license']
|
|
11
11
|
s.author = { 'Mixpanel, Inc' => 'support@mixpanel.com' }
|
|
12
12
|
s.homepage = package['homepage']
|
|
13
|
-
s.platform = :ios, "
|
|
13
|
+
s.platform = :ios, "11.0"
|
|
14
14
|
s.swift_version = '5.0'
|
|
15
15
|
s.source = { :git => "https://github.com/mixpanel/mixpanel-react-native.git", :tag => s.version }
|
|
16
16
|
s.source_files = "ios/*.{swift,h,m}"
|
|
@@ -19,5 +19,5 @@ Pod::Spec.new do |s|
|
|
|
19
19
|
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
|
|
20
20
|
|
|
21
21
|
s.dependency "React-Core"
|
|
22
|
-
s.dependency "Mixpanel-swift", '4.0
|
|
22
|
+
s.dependency "Mixpanel-swift", '4.1.0'
|
|
23
23
|
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<projectDescription>
|
|
3
|
+
<name>android_</name>
|
|
4
|
+
<comment>Project android_ created by Buildship.</comment>
|
|
5
|
+
<projects>
|
|
6
|
+
</projects>
|
|
7
|
+
<buildSpec>
|
|
8
|
+
<buildCommand>
|
|
9
|
+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
|
|
10
|
+
<arguments>
|
|
11
|
+
</arguments>
|
|
12
|
+
</buildCommand>
|
|
13
|
+
</buildSpec>
|
|
14
|
+
<natures>
|
|
15
|
+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
|
16
|
+
</natures>
|
|
17
|
+
<filteredResources>
|
|
18
|
+
<filter>
|
|
19
|
+
<id>1632526110612</id>
|
|
20
|
+
<name></name>
|
|
21
|
+
<type>30</type>
|
|
22
|
+
<matcher>
|
|
23
|
+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
|
24
|
+
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
|
25
|
+
</matcher>
|
|
26
|
+
</filter>
|
|
27
|
+
</filteredResources>
|
|
28
|
+
</projectDescription>
|
|
@@ -494,6 +494,7 @@
|
|
|
494
494
|
CURRENT_PROJECT_VERSION = 1;
|
|
495
495
|
ENABLE_BITCODE = NO;
|
|
496
496
|
INFOPLIST_FILE = ContextAPIMixpanel/Info.plist;
|
|
497
|
+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
|
497
498
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
498
499
|
"$(inherited)",
|
|
499
500
|
"@executable_path/Frameworks",
|
|
@@ -520,6 +521,7 @@
|
|
|
520
521
|
CLANG_ENABLE_MODULES = YES;
|
|
521
522
|
CURRENT_PROJECT_VERSION = 1;
|
|
522
523
|
INFOPLIST_FILE = ContextAPIMixpanel/Info.plist;
|
|
524
|
+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
|
523
525
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
524
526
|
"$(inherited)",
|
|
525
527
|
"@executable_path/Frameworks",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|
2
2
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
3
3
|
|
|
4
|
-
platform :ios, '
|
|
4
|
+
platform :ios, '11.0'
|
|
5
5
|
|
|
6
6
|
target 'ContextAPIMixpanel' do
|
|
7
7
|
config = use_native_modules!
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<projectDescription>
|
|
3
|
+
<name>android__</name>
|
|
4
|
+
<comment>Project android__ created by Buildship.</comment>
|
|
5
|
+
<projects>
|
|
6
|
+
</projects>
|
|
7
|
+
<buildSpec>
|
|
8
|
+
<buildCommand>
|
|
9
|
+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
|
|
10
|
+
<arguments>
|
|
11
|
+
</arguments>
|
|
12
|
+
</buildCommand>
|
|
13
|
+
</buildSpec>
|
|
14
|
+
<natures>
|
|
15
|
+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
|
16
|
+
</natures>
|
|
17
|
+
<filteredResources>
|
|
18
|
+
<filter>
|
|
19
|
+
<id>1632526110615</id>
|
|
20
|
+
<name></name>
|
|
21
|
+
<type>30</type>
|
|
22
|
+
<matcher>
|
|
23
|
+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
|
24
|
+
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
|
25
|
+
</matcher>
|
|
26
|
+
</filter>
|
|
27
|
+
</filteredResources>
|
|
28
|
+
</projectDescription>
|
|
@@ -665,6 +665,7 @@
|
|
|
665
665
|
CURRENT_PROJECT_VERSION = 1;
|
|
666
666
|
ENABLE_BITCODE = NO;
|
|
667
667
|
INFOPLIST_FILE = MixpanelDemo/Info.plist;
|
|
668
|
+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
|
668
669
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
669
670
|
OTHER_LDFLAGS = (
|
|
670
671
|
"$(inherited)",
|
|
@@ -688,6 +689,7 @@
|
|
|
688
689
|
CLANG_ENABLE_MODULES = YES;
|
|
689
690
|
CURRENT_PROJECT_VERSION = 1;
|
|
690
691
|
INFOPLIST_FILE = MixpanelDemo/Info.plist;
|
|
692
|
+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
|
691
693
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
692
694
|
OTHER_LDFLAGS = (
|
|
693
695
|
"$(inherited)",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|
2
2
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
3
3
|
|
|
4
|
-
platform :ios, '
|
|
4
|
+
platform :ios, '11.0'
|
|
5
5
|
|
|
6
6
|
target 'MixpanelDemo' do
|
|
7
7
|
config = use_native_modules!
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"mixpanel-react-native": "file:../..",
|
|
14
14
|
"react": "17.0.1",
|
|
15
|
-
"react-native": "0.64.
|
|
15
|
+
"react-native": "0.64.4",
|
|
16
16
|
"react-native-gesture-handler": "^1.8.0",
|
|
17
17
|
"react-native-interactable": "^2.0.1",
|
|
18
18
|
"react-native-ionicons": "^4.6.5",
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<projectDescription>
|
|
3
|
+
<name>SimpleMixpanel</name>
|
|
4
|
+
<comment>Project android created by Buildship.</comment>
|
|
5
|
+
<projects>
|
|
6
|
+
</projects>
|
|
7
|
+
<buildSpec>
|
|
8
|
+
<buildCommand>
|
|
9
|
+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
|
|
10
|
+
<arguments>
|
|
11
|
+
</arguments>
|
|
12
|
+
</buildCommand>
|
|
13
|
+
</buildSpec>
|
|
14
|
+
<natures>
|
|
15
|
+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
|
16
|
+
</natures>
|
|
17
|
+
<filteredResources>
|
|
18
|
+
<filter>
|
|
19
|
+
<id>0</id>
|
|
20
|
+
<name></name>
|
|
21
|
+
<type>30</type>
|
|
22
|
+
<matcher>
|
|
23
|
+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
|
24
|
+
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
|
25
|
+
</matcher>
|
|
26
|
+
</filter>
|
|
27
|
+
</filteredResources>
|
|
28
|
+
</projectDescription>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|
2
2
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
3
3
|
|
|
4
|
-
platform :ios, '
|
|
4
|
+
platform :ios, '11.0'
|
|
5
5
|
|
|
6
6
|
target 'SimpleMixpanel' do
|
|
7
7
|
config = use_native_modules!
|
|
@@ -443,7 +443,7 @@
|
|
|
443
443
|
"$(inherited)",
|
|
444
444
|
);
|
|
445
445
|
INFOPLIST_FILE = SimpleMixpanelTests/Info.plist;
|
|
446
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
446
|
+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
|
447
447
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
448
448
|
"$(inherited)",
|
|
449
449
|
"@executable_path/Frameworks",
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
BUNDLE_LOADER = "$(TEST_HOST)";
|
|
469
469
|
COPY_PHASE_STRIP = NO;
|
|
470
470
|
INFOPLIST_FILE = SimpleMixpanelTests/Info.plist;
|
|
471
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
471
|
+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
|
472
472
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
473
473
|
"$(inherited)",
|
|
474
474
|
"@executable_path/Frameworks",
|
|
@@ -494,6 +494,7 @@
|
|
|
494
494
|
CURRENT_PROJECT_VERSION = 1;
|
|
495
495
|
ENABLE_BITCODE = NO;
|
|
496
496
|
INFOPLIST_FILE = SimpleMixpanel/Info.plist;
|
|
497
|
+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
|
497
498
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
498
499
|
"$(inherited)",
|
|
499
500
|
"@executable_path/Frameworks",
|
|
@@ -520,6 +521,7 @@
|
|
|
520
521
|
CLANG_ENABLE_MODULES = YES;
|
|
521
522
|
CURRENT_PROJECT_VERSION = 1;
|
|
522
523
|
INFOPLIST_FILE = SimpleMixpanel/Info.plist;
|
|
524
|
+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
|
523
525
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
524
526
|
"$(inherited)",
|
|
525
527
|
"@executable_path/Frameworks",
|
package/__tests__/index.test.js
CHANGED
|
@@ -9,13 +9,13 @@ import { NativeModules } from 'react-native';
|
|
|
9
9
|
|
|
10
10
|
test(`it calls MixpanelReactNative initialize`, async () => {
|
|
11
11
|
const mixpanel = await Mixpanel.init("token", true);
|
|
12
|
-
expect(NativeModules.MixpanelReactNative.initialize).toBeCalledWith("token", true, false, {"$lib_version": "2.1
|
|
12
|
+
expect(NativeModules.MixpanelReactNative.initialize).toBeCalledWith("token", true, false, {"$lib_version": "2.2.1", "mp_lib": "react-native"});
|
|
13
13
|
});
|
|
14
14
|
|
|
15
15
|
test(`it calls MixpanelReactNative initialize with optOut and superProperties`, async () => {
|
|
16
16
|
const mixpanel = new Mixpanel("token", true);
|
|
17
17
|
mixpanel.init(true, {"super": "property"})
|
|
18
|
-
expect(NativeModules.MixpanelReactNative.initialize).toBeCalledWith("token", true, true, {"$lib_version": "2.1
|
|
18
|
+
expect(NativeModules.MixpanelReactNative.initialize).toBeCalledWith("token", true, true, {"$lib_version": "2.2.1", "mp_lib": "react-native", "super": "property"}, "https://api.mixpanel.com");
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
test(`it calls MixpanelReactNative setServerURL`, async () => {
|
package/android/build.gradle
CHANGED
package/docs/Mixpanel.html
CHANGED
|
@@ -309,7 +309,7 @@ Initializes Mixpanel and return an instance of Mixpanel the given project token.
|
|
|
309
309
|
|
|
310
310
|
<dt class="tag-source">Source:</dt>
|
|
311
311
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
312
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
312
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line86">line 86</a>
|
|
313
313
|
</li></ul></dd>
|
|
314
314
|
|
|
315
315
|
|
|
@@ -469,7 +469,7 @@ Initializes Mixpanel and return an instance of Mixpanel the given project token.
|
|
|
469
469
|
|
|
470
470
|
<dt class="tag-source">Source:</dt>
|
|
471
471
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
472
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
472
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line311">line 311</a>
|
|
473
473
|
</li></ul></dd>
|
|
474
474
|
|
|
475
475
|
|
|
@@ -636,7 +636,7 @@ People.identify() if you wish the new alias to be used for Events and People.
|
|
|
636
636
|
|
|
637
637
|
<dt class="tag-source">Source:</dt>
|
|
638
638
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
639
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
639
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line212">line 212</a>
|
|
640
640
|
</li></ul></dd>
|
|
641
641
|
|
|
642
642
|
|
|
@@ -729,7 +729,7 @@ superProperties registered before the clearSuperProperties method was called.
|
|
|
729
729
|
|
|
730
730
|
<dt class="tag-source">Source:</dt>
|
|
731
731
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
732
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
732
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line419">line 419</a>
|
|
733
733
|
</li></ul></dd>
|
|
734
734
|
|
|
735
735
|
|
|
@@ -891,7 +891,7 @@ to Group Analytics using the same group value will create and store new values.<
|
|
|
891
891
|
|
|
892
892
|
<dt class="tag-source">Source:</dt>
|
|
893
893
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
894
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
894
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line339">line 339</a>
|
|
895
895
|
</li></ul></dd>
|
|
896
896
|
|
|
897
897
|
|
|
@@ -1028,7 +1028,7 @@ to Group Analytics using the same group value will create and store new values.<
|
|
|
1028
1028
|
|
|
1029
1029
|
<dt class="tag-source">Source:</dt>
|
|
1030
1030
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1031
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1031
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line444">line 444</a>
|
|
1032
1032
|
</li></ul></dd>
|
|
1033
1033
|
|
|
1034
1034
|
|
|
@@ -1144,7 +1144,7 @@ send all remaining messages to the server.
|
|
|
1144
1144
|
|
|
1145
1145
|
<dt class="tag-source">Source:</dt>
|
|
1146
1146
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1147
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1147
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line504">line 504</a>
|
|
1148
1148
|
</li></ul></dd>
|
|
1149
1149
|
|
|
1150
1150
|
|
|
@@ -1240,7 +1240,7 @@ const deviceId = await mixpanel.getDeviceId();
|
|
|
1240
1240
|
|
|
1241
1241
|
<dt class="tag-source">Source:</dt>
|
|
1242
1242
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1243
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1243
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line491">line 491</a>
|
|
1244
1244
|
</li></ul></dd>
|
|
1245
1245
|
|
|
1246
1246
|
|
|
@@ -1358,7 +1358,7 @@ const distinctId = await mixpanel.getDistinctId();
|
|
|
1358
1358
|
|
|
1359
1359
|
<dt class="tag-source">Source:</dt>
|
|
1360
1360
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1361
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1361
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line473">line 473</a>
|
|
1362
1362
|
</li></ul></dd>
|
|
1363
1363
|
|
|
1364
1364
|
|
|
@@ -1541,7 +1541,7 @@ Group Analytics properties.
|
|
|
1541
1541
|
|
|
1542
1542
|
<dt class="tag-source">Source:</dt>
|
|
1543
1543
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1544
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1544
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line301">line 301</a>
|
|
1545
1545
|
</li></ul></dd>
|
|
1546
1546
|
|
|
1547
1547
|
|
|
@@ -1641,7 +1641,7 @@ People Analytics properties.
|
|
|
1641
1641
|
|
|
1642
1642
|
<dt class="tag-source">Source:</dt>
|
|
1643
1643
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1644
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1644
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line251">line 251</a>
|
|
1645
1645
|
</li></ul></dd>
|
|
1646
1646
|
|
|
1647
1647
|
|
|
@@ -1755,7 +1755,7 @@ and persist beyond the lifetime of your application.
|
|
|
1755
1755
|
|
|
1756
1756
|
<dt class="tag-source">Source:</dt>
|
|
1757
1757
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1758
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1758
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line407">line 407</a>
|
|
1759
1759
|
</li></ul></dd>
|
|
1760
1760
|
|
|
1761
1761
|
|
|
@@ -1865,7 +1865,7 @@ and persist beyond the lifetime of your application.
|
|
|
1865
1865
|
|
|
1866
1866
|
<dt class="tag-source">Source:</dt>
|
|
1867
1867
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1868
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1868
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line149">line 149</a>
|
|
1869
1869
|
</li></ul></dd>
|
|
1870
1870
|
|
|
1871
1871
|
|
|
@@ -2036,7 +2036,7 @@ your application.
|
|
|
2036
2036
|
|
|
2037
2037
|
<dt class="tag-source">Source:</dt>
|
|
2038
2038
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2039
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2039
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line192">line 192</a>
|
|
2040
2040
|
</li></ul></dd>
|
|
2041
2041
|
|
|
2042
2042
|
|
|
@@ -2072,7 +2072,7 @@ your application.
|
|
|
2072
2072
|
|
|
2073
2073
|
|
|
2074
2074
|
|
|
2075
|
-
<h4 class="name" id="init"><span class="type-signature">(async) </span>init<span class="signature">(optOutTrackingDefault, superProperties)</span><span class="type-signature"></span></h4>
|
|
2075
|
+
<h4 class="name" id="init"><span class="type-signature">(async) </span>init<span class="signature">(optOutTrackingDefault, superProperties, serverURL)</span><span class="type-signature"></span></h4>
|
|
2076
2076
|
|
|
2077
2077
|
|
|
2078
2078
|
|
|
@@ -2106,6 +2106,8 @@ your application.
|
|
|
2106
2106
|
|
|
2107
2107
|
|
|
2108
2108
|
|
|
2109
|
+
<th>Default</th>
|
|
2110
|
+
|
|
2109
2111
|
|
|
2110
2112
|
<th class="last">Description</th>
|
|
2111
2113
|
</tr>
|
|
@@ -2131,6 +2133,10 @@ your application.
|
|
|
2131
2133
|
|
|
2132
2134
|
|
|
2133
2135
|
|
|
2136
|
+
<td class="default">
|
|
2137
|
+
|
|
2138
|
+
</td>
|
|
2139
|
+
|
|
2134
2140
|
|
|
2135
2141
|
<td class="description last">Optional Whether or not Mixpanel can start tracking by default. See optOutTracking()</td>
|
|
2136
2142
|
</tr>
|
|
@@ -2154,11 +2160,44 @@ your application.
|
|
|
2154
2160
|
|
|
2155
2161
|
|
|
2156
2162
|
|
|
2163
|
+
<td class="default">
|
|
2164
|
+
|
|
2165
|
+
</td>
|
|
2166
|
+
|
|
2157
2167
|
|
|
2158
2168
|
<td class="description last">Optional A Map containing the key value pairs of the super properties to register</td>
|
|
2159
2169
|
</tr>
|
|
2160
2170
|
|
|
2161
2171
|
|
|
2172
|
+
|
|
2173
|
+
<tr>
|
|
2174
|
+
|
|
2175
|
+
<td class="name"><code>serverURL</code></td>
|
|
2176
|
+
|
|
2177
|
+
|
|
2178
|
+
<td class="type">
|
|
2179
|
+
|
|
2180
|
+
|
|
2181
|
+
<span class="param-type">string</span>
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
|
|
2185
|
+
</td>
|
|
2186
|
+
|
|
2187
|
+
|
|
2188
|
+
|
|
2189
|
+
|
|
2190
|
+
<td class="default">
|
|
2191
|
+
|
|
2192
|
+
https://api.mixpanel.com
|
|
2193
|
+
|
|
2194
|
+
</td>
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
<td class="description last">Optional Set the base URL used for Mixpanel API requests. See setServerURL()</td>
|
|
2198
|
+
</tr>
|
|
2199
|
+
|
|
2200
|
+
|
|
2162
2201
|
</tbody>
|
|
2163
2202
|
</table>
|
|
2164
2203
|
|
|
@@ -2196,7 +2235,7 @@ your application.
|
|
|
2196
2235
|
|
|
2197
2236
|
<dt class="tag-source">Source:</dt>
|
|
2198
2237
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2199
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2238
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line65">line 65</a>
|
|
2200
2239
|
</li></ul></dd>
|
|
2201
2240
|
|
|
2202
2241
|
|
|
@@ -2286,7 +2325,7 @@ This method will internally track an opt-in event to your project.
|
|
|
2286
2325
|
|
|
2287
2326
|
<dt class="tag-source">Source:</dt>
|
|
2288
2327
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2289
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2328
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line159">line 159</a>
|
|
2290
2329
|
</li></ul></dd>
|
|
2291
2330
|
|
|
2292
2331
|
|
|
@@ -2378,7 +2417,7 @@ This method will also remove any user-related information from the device.
|
|
|
2378
2417
|
|
|
2379
2418
|
<dt class="tag-source">Source:</dt>
|
|
2380
2419
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2381
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2420
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line170">line 170</a>
|
|
2382
2421
|
</li></ul></dd>
|
|
2383
2422
|
|
|
2384
2423
|
|
|
@@ -2525,7 +2564,7 @@ to remove a superProperty, call unregisterSuperProperty() or clearSuperPropertie
|
|
|
2525
2564
|
|
|
2526
2565
|
<dt class="tag-source">Source:</dt>
|
|
2527
2566
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2528
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2567
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line361">line 361</a>
|
|
2529
2568
|
</li></ul></dd>
|
|
2530
2569
|
|
|
2531
2570
|
|
|
@@ -2665,7 +2704,7 @@ same names has already been registered.
|
|
|
2665
2704
|
|
|
2666
2705
|
<dt class="tag-source">Source:</dt>
|
|
2667
2706
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2668
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2707
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line376">line 376</a>
|
|
2669
2708
|
</li></ul></dd>
|
|
2670
2709
|
|
|
2671
2710
|
|
|
@@ -2825,7 +2864,7 @@ same names has already been registered.
|
|
|
2825
2864
|
|
|
2826
2865
|
<dt class="tag-source">Source:</dt>
|
|
2827
2866
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2828
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2867
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line324">line 324</a>
|
|
2829
2868
|
</li></ul></dd>
|
|
2830
2869
|
|
|
2831
2870
|
|
|
@@ -2914,7 +2953,7 @@ same names has already been registered.
|
|
|
2914
2953
|
|
|
2915
2954
|
<dt class="tag-source">Source:</dt>
|
|
2916
2955
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2917
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2956
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line455">line 455</a>
|
|
2918
2957
|
</li></ul></dd>
|
|
2919
2958
|
|
|
2920
2959
|
|
|
@@ -3052,7 +3091,7 @@ when the app enters the background on iOS. This is set to true by default.
|
|
|
3052
3091
|
|
|
3053
3092
|
<dt class="tag-source">Source:</dt>
|
|
3054
3093
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3055
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
3094
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line123">line 123</a>
|
|
3056
3095
|
</li></ul></dd>
|
|
3057
3096
|
|
|
3058
3097
|
|
|
@@ -3212,7 +3251,7 @@ when the app enters the background on iOS. This is set to true by default.
|
|
|
3212
3251
|
|
|
3213
3252
|
<dt class="tag-source">Source:</dt>
|
|
3214
3253
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3215
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
3254
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line285">line 285</a>
|
|
3216
3255
|
</li></ul></dd>
|
|
3217
3256
|
|
|
3218
3257
|
|
|
@@ -3351,7 +3390,7 @@ you are running into issues with the SDK that you want to debug
|
|
|
3351
3390
|
|
|
3352
3391
|
<dt class="tag-source">Source:</dt>
|
|
3353
3392
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3354
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
3393
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line112">line 112</a>
|
|
3355
3394
|
</li></ul></dd>
|
|
3356
3395
|
|
|
3357
3396
|
|
|
@@ -3490,7 +3529,7 @@ To route data to Mixpanel's EU servers, set to https://api-eu.mixpanel.com
|
|
|
3490
3529
|
|
|
3491
3530
|
<dt class="tag-source">Source:</dt>
|
|
3492
3531
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3493
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
3532
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line100">line 100</a>
|
|
3494
3533
|
</li></ul></dd>
|
|
3495
3534
|
|
|
3496
3535
|
|
|
@@ -3630,7 +3669,7 @@ Defaults to true.</td>
|
|
|
3630
3669
|
|
|
3631
3670
|
<dt class="tag-source">Source:</dt>
|
|
3632
3671
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3633
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
3672
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line140">line 140</a>
|
|
3634
3673
|
</li></ul></dd>
|
|
3635
3674
|
|
|
3636
3675
|
|
|
@@ -3769,7 +3808,7 @@ property, representing the number of seconds between your calls.
|
|
|
3769
3808
|
|
|
3770
3809
|
<dt class="tag-source">Source:</dt>
|
|
3771
3810
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3772
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
3811
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line430">line 430</a>
|
|
3773
3812
|
</li></ul></dd>
|
|
3774
3813
|
|
|
3775
3814
|
|
|
@@ -3935,7 +3974,7 @@ that event.
|
|
|
3935
3974
|
|
|
3936
3975
|
<dt class="tag-source">Source:</dt>
|
|
3937
3976
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3938
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
3977
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line234">line 234</a>
|
|
3939
3978
|
</li></ul></dd>
|
|
3940
3979
|
|
|
3941
3980
|
|
|
@@ -4124,7 +4163,7 @@ that event. Group key/value pairs are upserted into the property map before trac
|
|
|
4124
4163
|
|
|
4125
4164
|
<dt class="tag-source">Source:</dt>
|
|
4126
4165
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4127
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
4166
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line269">line 269</a>
|
|
4128
4167
|
</li></ul></dd>
|
|
4129
4168
|
|
|
4130
4169
|
|
|
@@ -4265,7 +4304,7 @@ To clear all superProperties, use clearSuperProperties()
|
|
|
4265
4304
|
|
|
4266
4305
|
<dt class="tag-source">Source:</dt>
|
|
4267
4306
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4268
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
4307
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line392">line 392</a>
|
|
4269
4308
|
</li></ul></dd>
|
|
4270
4309
|
|
|
4271
4310
|
|
|
@@ -4317,7 +4356,7 @@ To clear all superProperties, use clearSuperProperties()
|
|
|
4317
4356
|
<br class="clear">
|
|
4318
4357
|
|
|
4319
4358
|
<footer>
|
|
4320
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.
|
|
4359
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Wed Mar 22 2023 21:33:52 GMT-0700 (Pacific Daylight Time)
|
|
4321
4360
|
</footer>
|
|
4322
4361
|
|
|
4323
4362
|
<script> prettyPrint(); </script>
|
package/docs/MixpanelGroup.html
CHANGED
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
|
|
96
96
|
<dt class="tag-source">Source:</dt>
|
|
97
97
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
98
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
98
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line721">line 721</a>
|
|
99
99
|
</li></ul></dd>
|
|
100
100
|
|
|
101
101
|
|
|
@@ -284,7 +284,7 @@ If the property exists and is not list-valued, the remove will be ignored.
|
|
|
284
284
|
|
|
285
285
|
<dt class="tag-source">Source:</dt>
|
|
286
286
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
287
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
287
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line792">line 792</a>
|
|
288
288
|
</li></ul></dd>
|
|
289
289
|
|
|
290
290
|
|
|
@@ -446,7 +446,7 @@ possibly overwriting an existing property with the same name.
|
|
|
446
446
|
|
|
447
447
|
<dt class="tag-source">Source:</dt>
|
|
448
448
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
449
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
449
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line740">line 740</a>
|
|
450
450
|
</li></ul></dd>
|
|
451
451
|
|
|
452
452
|
|
|
@@ -606,7 +606,7 @@ possibly overwriting an existing property with the same name.
|
|
|
606
606
|
|
|
607
607
|
<dt class="tag-source">Source:</dt>
|
|
608
608
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
609
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
609
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line759">line 759</a>
|
|
610
610
|
</li></ul></dd>
|
|
611
611
|
|
|
612
612
|
|
|
@@ -768,7 +768,7 @@ If the property exists and is not list-valued, the union will be ignored.
|
|
|
768
768
|
|
|
769
769
|
<dt class="tag-source">Source:</dt>
|
|
770
770
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
771
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
771
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line808">line 808</a>
|
|
772
772
|
</li></ul></dd>
|
|
773
773
|
|
|
774
774
|
|
|
@@ -905,7 +905,7 @@ If the property exists and is not list-valued, the union will be ignored.
|
|
|
905
905
|
|
|
906
906
|
<dt class="tag-source">Source:</dt>
|
|
907
907
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
908
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
908
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line777">line 777</a>
|
|
909
909
|
</li></ul></dd>
|
|
910
910
|
|
|
911
911
|
|
|
@@ -957,7 +957,7 @@ If the property exists and is not list-valued, the union will be ignored.
|
|
|
957
957
|
<br class="clear">
|
|
958
958
|
|
|
959
959
|
<footer>
|
|
960
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.
|
|
960
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Wed Mar 22 2023 21:33:52 GMT-0700 (Pacific Daylight Time)
|
|
961
961
|
</footer>
|
|
962
962
|
|
|
963
963
|
<script> prettyPrint(); </script>
|
package/docs/People.html
CHANGED
|
@@ -100,7 +100,7 @@ call to identify using a different id.</div>
|
|
|
100
100
|
|
|
101
101
|
<dt class="tag-source">Source:</dt>
|
|
102
102
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
103
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
103
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line520">line 520</a>
|
|
104
104
|
</li></ul></dd>
|
|
105
105
|
|
|
106
106
|
|
|
@@ -289,7 +289,7 @@ currently have a list value, the append will be ignored.
|
|
|
289
289
|
|
|
290
290
|
<dt class="tag-source">Source:</dt>
|
|
291
291
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
292
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
292
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line611">line 611</a>
|
|
293
293
|
</li></ul></dd>
|
|
294
294
|
|
|
295
295
|
|
|
@@ -377,7 +377,7 @@ currently have a list value, the append will be ignored.
|
|
|
377
377
|
|
|
378
378
|
<dt class="tag-source">Source:</dt>
|
|
379
379
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
380
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
380
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line701">line 701</a>
|
|
381
381
|
</li></ul></dd>
|
|
382
382
|
|
|
383
383
|
|
|
@@ -468,7 +468,7 @@ to People Analytics using the same distinct id will create and store new values.
|
|
|
468
468
|
|
|
469
469
|
<dt class="tag-source">Source:</dt>
|
|
470
470
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
471
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
471
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line711">line 711</a>
|
|
472
472
|
</li></ul></dd>
|
|
473
473
|
|
|
474
474
|
|
|
@@ -630,7 +630,7 @@ provide a negative number for the value.
|
|
|
630
630
|
|
|
631
631
|
<dt class="tag-source">Source:</dt>
|
|
632
632
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
633
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
633
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line579">line 579</a>
|
|
634
634
|
</li></ul></dd>
|
|
635
635
|
|
|
636
636
|
|
|
@@ -792,7 +792,7 @@ If the property exists and is not list-valued, the remove will be ignored.
|
|
|
792
792
|
|
|
793
793
|
<dt class="tag-source">Source:</dt>
|
|
794
794
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
795
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
795
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line655">line 655</a>
|
|
796
796
|
</li></ul></dd>
|
|
797
797
|
|
|
798
798
|
|
|
@@ -954,7 +954,7 @@ possibly overwriting an existing property with the same name.
|
|
|
954
954
|
|
|
955
955
|
<dt class="tag-source">Source:</dt>
|
|
956
956
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
957
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
957
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line537">line 537</a>
|
|
958
958
|
</li></ul></dd>
|
|
959
959
|
|
|
960
960
|
|
|
@@ -1114,7 +1114,7 @@ possibly overwriting an existing property with the same name.
|
|
|
1114
1114
|
|
|
1115
1115
|
<dt class="tag-source">Source:</dt>
|
|
1116
1116
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1117
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1117
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line556">line 556</a>
|
|
1118
1118
|
</li></ul></dd>
|
|
1119
1119
|
|
|
1120
1120
|
|
|
@@ -1274,7 +1274,7 @@ possibly overwriting an existing property with the same name.
|
|
|
1274
1274
|
|
|
1275
1275
|
<dt class="tag-source">Source:</dt>
|
|
1276
1276
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1277
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1277
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line687">line 687</a>
|
|
1278
1278
|
</li></ul></dd>
|
|
1279
1279
|
|
|
1280
1280
|
|
|
@@ -1436,7 +1436,7 @@ If the property exists and is not list-valued, the union will be ignored.
|
|
|
1436
1436
|
|
|
1437
1437
|
<dt class="tag-source">Source:</dt>
|
|
1438
1438
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1439
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1439
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line634">line 634</a>
|
|
1440
1440
|
</li></ul></dd>
|
|
1441
1441
|
|
|
1442
1442
|
|
|
@@ -1573,7 +1573,7 @@ If the property exists and is not list-valued, the union will be ignored.
|
|
|
1573
1573
|
|
|
1574
1574
|
<dt class="tag-source">Source:</dt>
|
|
1575
1575
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1576
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1576
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line674">line 674</a>
|
|
1577
1577
|
</li></ul></dd>
|
|
1578
1578
|
|
|
1579
1579
|
|
|
@@ -1625,7 +1625,7 @@ If the property exists and is not list-valued, the union will be ignored.
|
|
|
1625
1625
|
<br class="clear">
|
|
1626
1626
|
|
|
1627
1627
|
<footer>
|
|
1628
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.
|
|
1628
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Wed Mar 22 2023 21:33:52 GMT-0700 (Pacific Daylight Time)
|
|
1629
1629
|
</footer>
|
|
1630
1630
|
|
|
1631
1631
|
<script> prettyPrint(); </script>
|
package/docs/index.html
CHANGED
|
@@ -178,7 +178,7 @@ Please refer to our <a href="https://mixpanel.com/legal/app-store-privacy-detai
|
|
|
178
178
|
<br class="clear">
|
|
179
179
|
|
|
180
180
|
<footer>
|
|
181
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.
|
|
181
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Wed Mar 22 2023 21:33:52 GMT-0700 (Pacific Daylight Time)
|
|
182
182
|
</footer>
|
|
183
183
|
|
|
184
184
|
<script> prettyPrint(); </script>
|
package/docs/index.js.html
CHANGED
|
@@ -87,6 +87,7 @@ export class Mixpanel {
|
|
|
87
87
|
*
|
|
88
88
|
* @param {boolean} optOutTrackingDefault Optional Whether or not Mixpanel can start tracking by default. See optOutTracking()
|
|
89
89
|
* @param {object} superProperties Optional A Map containing the key value pairs of the super properties to register
|
|
90
|
+
* @param {string} serverURL Optional Set the base URL used for Mixpanel API requests. See setServerURL()
|
|
90
91
|
*
|
|
91
92
|
*/
|
|
92
93
|
async init(optOutTrackingDefault = DEFAULT_OPT_OUT, superProperties = {}, serverURL = "https://api.mixpanel.com") {
|
|
@@ -928,7 +929,7 @@ class ObjectHelper {
|
|
|
928
929
|
<br class="clear">
|
|
929
930
|
|
|
930
931
|
<footer>
|
|
931
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.
|
|
932
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Wed Mar 22 2023 21:33:52 GMT-0700 (Pacific Daylight Time)
|
|
932
933
|
</footer>
|
|
933
934
|
|
|
934
935
|
<script> prettyPrint(); </script>
|
package/index.js
CHANGED
|
@@ -59,6 +59,7 @@ export class Mixpanel {
|
|
|
59
59
|
*
|
|
60
60
|
* @param {boolean} optOutTrackingDefault Optional Whether or not Mixpanel can start tracking by default. See optOutTracking()
|
|
61
61
|
* @param {object} superProperties Optional A Map containing the key value pairs of the super properties to register
|
|
62
|
+
* @param {string} serverURL Optional Set the base URL used for Mixpanel API requests. See setServerURL()
|
|
62
63
|
*
|
|
63
64
|
*/
|
|
64
65
|
async init(optOutTrackingDefault = DEFAULT_OPT_OUT, superProperties = {}, serverURL = "https://api.mixpanel.com") {
|