react-native-nami-sdk 3.3.5-1 → 3.3.5-3

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.
@@ -85,8 +85,8 @@ dependencies {
85
85
  implementation fileTree(dir: 'libs', include: ['*.jar'])
86
86
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
87
87
 
88
- playImplementation "com.namiml:sdk-android:3.3.5.1"
89
- amazonImplementation "com.namiml:sdk-amazon:3.3.5.1"
88
+ playImplementation "com.namiml:sdk-android:3.3.5.4"
89
+ amazonImplementation "com.namiml:sdk-amazon:3.3.5.4"
90
90
 
91
91
  implementation "com.facebook.react:react-native:+" // From node_modules
92
92
  coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.4"
@@ -83,6 +83,8 @@ class NamiPaywallManagerBridgeModule internal constructor(
83
83
  @ReactMethod
84
84
  fun registerCloseHandler() {
85
85
  NamiPaywallManager.registerCloseHandler { activity ->
86
+ Log.d(NAME, "close handler called, latestPaywallActivity: $activity")
87
+
86
88
  latestPaywallActivity = activity
87
89
  val map = Arguments.createMap().apply {
88
90
  putBoolean("paywallCloseRequested", true)
@@ -58,7 +58,7 @@ export interface Spec extends TurboModule {
58
58
  registerSignInHandler(): void;
59
59
  registerRestoreHandler(): void;
60
60
  registerDeeplinkActionHandler(): void;
61
- dismiss(): Promise<void>;
61
+ dismiss(): Promise<boolean>;
62
62
  show(): void;
63
63
  hide(): void;
64
64
  isHidden(): Promise<boolean>;
@@ -2,4 +2,4 @@
2
2
  * Auto-generated file. Do not edit manually.
3
3
  * React Native Nami SDK version.
4
4
  */
5
- export declare const NAMI_REACT_NATIVE_VERSION = "3.3.5-1";
5
+ export declare const NAMI_REACT_NATIVE_VERSION = "3.3.5-3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-nami-sdk",
3
- "version": "3.3.5-1",
3
+ "version": "3.3.5-3",
4
4
  "description": "React Native SDK for Nami - No-code paywall and onboarding flows with A/B testing.",
5
5
  "main": "index.ts",
6
6
  "types": "dist/index.d.ts",
@@ -67,7 +67,7 @@ export interface Spec extends TurboModule {
67
67
  registerRestoreHandler(): void;
68
68
  registerDeeplinkActionHandler(): void;
69
69
 
70
- dismiss(): Promise<void>;
70
+ dismiss(): Promise<boolean>;
71
71
  show(): void;
72
72
  hide(): void;
73
73
 
package/src/version.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Auto-generated file. Do not edit manually.
3
3
  * React Native Nami SDK version.
4
4
  */
5
- export const NAMI_REACT_NATIVE_VERSION = '3.3.5-1';
5
+ export const NAMI_REACT_NATIVE_VERSION = '3.3.5-3';