@rovenue/react-native-sdk 0.24.0 → 0.26.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.
package/dist/version.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SDK_VERSION
3
- } from "./chunk-ETC46J2X.js";
3
+ } from "./chunk-BORMJJTI.js";
4
4
  export {
5
5
  SDK_VERSION
6
6
  };
@@ -199,8 +199,10 @@ public class RovenueModule: Module {
199
199
  let u = await Rovenue.shared.currentUser()
200
200
  return ["rovenueId": u.rovenueId, "appUserId": u.appUserId as Any?]
201
201
  }
202
- AsyncFunction("identify") { (appUserId: String) in
203
- try await rovenueCall { try await Rovenue.shared.identify(appUserId) }
202
+ AsyncFunction("identify") { (appUserId: String, identityToken: String) in
203
+ try await rovenueCall {
204
+ try await Rovenue.shared.identify(appUserId: appUserId, identityToken: identityToken)
205
+ }
204
206
  }
205
207
  AsyncFunction("setAttribution") { (provider: String, data: [String: Any]) in
206
208
  guard let mmp = AttributionProvider(rawValue: provider) else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rovenue/react-native-sdk",
3
- "version": "0.24.0",
3
+ "version": "0.26.0",
4
4
  "description": "Rovenue React Native SDK — subscriptions, entitlements, virtual currencies and funnels for Expo / React Native apps.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://rovenue.io",
@@ -1,7 +0,0 @@
1
- // src/version.ts
2
- var SDK_VERSION = "0.24.0";
3
-
4
- export {
5
- SDK_VERSION
6
- };
7
- //# sourceMappingURL=chunk-ETC46J2X.js.map