react-native-userleap 2.8.3 → 2.9.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.
Files changed (30) hide show
  1. package/android/build/.transforms/830ba0456f46efc8f644a3281864352c/results.bin +1 -0
  2. package/android/build/.transforms/830ba0456f46efc8f644a3281864352c/transformed/classes/classes.dex +0 -0
  3. package/android/build/.transforms/f1120d4d0bb50e645b596021af7bc0a0/results.bin +1 -0
  4. package/android/build/.transforms/f1120d4d0bb50e645b596021af7bc0a0/transformed/classes/classes.dex +0 -0
  5. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +4 -2
  6. package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +2 -0
  7. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  8. package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
  9. package/android/build/intermediates/compile_symbol_list/debug/R.txt +1497 -312
  10. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +1 -1
  11. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +1 -1
  12. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +1 -1
  13. package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +1 -1
  14. package/android/build/intermediates/incremental/packageDebugResources/merger.xml +1 -1
  15. package/android/build/intermediates/javac/debug/classes/com/userleap/reactnative/BuildConfig.class +0 -0
  16. package/android/build/intermediates/javac/debug/classes/com/userleap/reactnative/UserLeapModule$1.class +0 -0
  17. package/android/build/intermediates/javac/debug/classes/com/userleap/reactnative/UserLeapModule$2.class +0 -0
  18. package/android/build/intermediates/javac/debug/classes/com/userleap/reactnative/UserLeapModule.class +0 -0
  19. package/android/build/intermediates/javac/debug/classes/com/userleap/reactnative/UserLeapPackage.class +0 -0
  20. package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +2 -0
  21. package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +2 -2
  22. package/android/build/intermediates/packaged_manifests/debug/output-metadata.json +4 -2
  23. package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
  24. package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +1147 -35
  25. package/android/build/outputs/logs/manifest-merger-debug-report.txt +18 -18
  26. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  27. package/android/build.gradle +1 -1
  28. package/index.d.ts +7 -7
  29. package/package.json +2 -1
  30. package/react-native-userleap.podspec +1 -1
@@ -1,25 +1,25 @@
1
1
  -- Merging decision tree log ---
2
2
  manifest
3
- ADDED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml:1:1-4:12
4
- INJECTED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml:1:1-4:12
5
- INJECTED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml:1:1-4:12
3
+ ADDED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml:1:1-4:12
4
+ INJECTED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml:1:1-4:12
5
+ INJECTED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml:1:1-4:12
6
6
  package
7
- ADDED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml:2:11-45
8
- INJECTED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml
9
- INJECTED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml
7
+ ADDED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml:2:11-45
8
+ INJECTED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml
9
+ INJECTED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml
10
10
  xmlns:android
11
- ADDED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml:1:11-69
11
+ ADDED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml:1:11-69
12
12
  uses-sdk
13
- INJECTED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml reason: use-sdk injection requested
14
- INJECTED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml
15
- INJECTED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml
16
- INJECTED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml
17
- INJECTED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml
13
+ INJECTED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml reason: use-sdk injection requested
14
+ INJECTED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml
15
+ INJECTED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml
16
+ INJECTED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml
17
+ INJECTED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml
18
18
  android:targetSdkVersion
19
- INJECTED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml
20
- ADDED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml
21
- INJECTED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml
19
+ INJECTED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml
20
+ ADDED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml
21
+ INJECTED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml
22
22
  android:minSdkVersion
23
- INJECTED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml
24
- ADDED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml
25
- INJECTED from /Users/ghostr/UserLeap/react-native-userleap/android/src/main/AndroidManifest.xml
23
+ INJECTED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml
24
+ ADDED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml
25
+ INJECTED from /Users/ghostr/UserLeap/playground/example/node_modules/react-native-userleap/android/src/main/AndroidManifest.xml
@@ -80,5 +80,5 @@ repositories {
80
80
  dependencies {
81
81
  //noinspection GradleDynamicVersion
82
82
  implementation 'com.facebook.react:react-native:+' // From node_modules
83
- implementation ("com.userleap:userleap-android-sdk:2.6.10") // update this version on android updates
83
+ implementation ("com.userleap:userleap-android-sdk:2.7.0") // update this version on android updates
84
84
  }
package/index.d.ts CHANGED
@@ -8,16 +8,16 @@ declare namespace UserLeap {
8
8
  function visitorIdentifierString(): string;
9
9
  function configure(environment: string): void;
10
10
  function presentSurvey(): void;
11
- function track(event: string, surveyStateCallback: (SurveyState) => void): void;
12
- function trackAndIdentify(event: string, userId: string, partnerAnonymousId: string, surveyStateCallback: (SurveyState) => void): void;
11
+ function track(event: string, surveyStateCallback: ((surveyState: string) => void)): void;
12
+ function trackAndIdentify(event: string, userId: string | undefined, partnerAnonymousId: string | undefined, surveyStateCallback: ((surveyState: string) => void)): void;
13
13
  function setEmailAddress(emailAddress: string): void;
14
14
  function setVisitorAttribute(key: string, value: string): void;
15
- function setVisitorAttributes(attributes: Map<string, string>): void;
16
- function removeVisitorAttributes(keys: Array<string>): void;
17
- function setVisitorAttributesAndIdentify(attributes: Map<string, string>, userId: string, partnerAnonymousId: string): void;
15
+ function setVisitorAttributes(attributes: {[key: string]: string}): void;
16
+ function removeVisitorAttributes(keys: [string]): void;
17
+ function setVisitorAttributesAndIdentify(attributes: {[key: string]: string}, userId: string | undefined, partnerAnonymousId: string | undefined): void;
18
18
  function setUserIdentifier(identifier: string): void;
19
19
  function logout(): void;
20
20
  function trackAndPresent(event: string): void;
21
- function trackIdentifyAndPresent(event: string, userId: string, partnerAnonymousId: string): void;
22
- };
21
+ function trackIdentifyAndPresent(event: string, userId: string | undefined, partnerAnonymousId: string | undefined): void;
22
+ }
23
23
  export default UserLeap;
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "react-native-userleap",
3
- "version": "2.8.3",
3
+ "version": "2.9.0",
4
4
  "description": "React Native module for UserLeap",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
7
  "homepage": "https://docs.sprig.com/docs/react-native-module",
8
8
  "files": [
9
9
  "README.md",
10
+ "LICENSE.md",
10
11
  "android",
11
12
  "index.js",
12
13
  "index.d.ts",
@@ -19,6 +19,6 @@ Pod::Spec.new do |s|
19
19
  s.requires_arc = true
20
20
 
21
21
  s.dependency "React"
22
- s.dependency "UserLeapKit", "4.8.6"
22
+ s.dependency "UserLeapKit", "4.9.0"
23
23
  end
24
24