mixpanel-react-native 2.2.4 → 2.3.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.
@@ -78,16 +78,8 @@
78
78
  mpProperties[key] = mixpanelTypeValue(value)
79
79
  }
80
80
  if (includeLibInfo) {
81
- mpProperties.merge(dict: AutomaticProperties.peopleProperties)
81
+ return mpProperties.merging(AutomaticProperties.peopleProperties) { (_, new) in new }
82
82
  }
83
83
  return mpProperties
84
84
  }
85
85
  }
86
-
87
- extension Dictionary {
88
- mutating func merge(dict: [Key: Value]){
89
- for (k, v) in dict {
90
- updateValue(v, forKey: k)
91
- }
92
- }
93
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mixpanel-react-native",
3
- "version": "2.2.4",
3
+ "version": "2.3.0",
4
4
  "description": "Official React Native Tracking Library for Mixpanel Analytics",
5
5
  "main": "index.js",
6
6
  "scripts": {