react-native-mparticle 2.7.11 → 2.7.12

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.
@@ -684,6 +684,11 @@ public class MParticleModule extends ReactContextBaseJavaModule {
684
684
  builder.quantity(quantity);
685
685
  }
686
686
 
687
+ if (map.hasKey("variant")) {
688
+ String variant = map.getString("variant");
689
+ builder.variant(variant);
690
+ }
691
+
687
692
  return builder.build();
688
693
  }
689
694
 
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "homepage": "https://www.mparticle.com",
5
5
  "license": "Apache-2.0",
6
6
  "repository": "mParticle/react-native-mparticle",
7
- "version": "2.7.11",
7
+ "version": "2.7.12",
8
8
  "main": "js/index.js",
9
9
  "scripts": {
10
10
  "test": "./node_modules/standard/bin/cmd.js",