expo-helium 3.1.6 → 3.1.7

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.
@@ -43,7 +43,7 @@ android {
43
43
  }
44
44
 
45
45
  dependencies {
46
- implementation("com.tryhelium.paywall:core:0.1.20")
46
+ implementation("com.tryhelium.paywall:core:0.1.21")
47
47
  implementation("com.google.code.gson:gson:2.10.1")
48
48
  implementation("com.android.billingclient:billing:8.0.0")
49
49
  implementation("org.jetbrains.kotlin:kotlin-reflect")
@@ -290,7 +290,7 @@ class HeliumPaywallSdkModule : Module() {
290
290
 
291
291
  // Set custom user ID
292
292
  Function("setCustomUserId") { newUserId: String ->
293
- HeliumIdentityManager.shared.setCustomUserId(newUserId)
293
+ Helium.shared.overrideUserId(customUserId = newUserId, customUserTraits = null)
294
294
  }
295
295
 
296
296
  // Check if user has entitlement for a specific paywall
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-helium",
3
- "version": "3.1.6",
3
+ "version": "3.1.7",
4
4
  "description": "Helium paywalls expo sdk",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",