react-native-nami-sdk 3.3.0-beta.2 → 3.3.0-beta.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.
|
@@ -106,7 +106,7 @@ class NamiBridgeModule(reactContext: ReactApplicationContext) :
|
|
|
106
106
|
} else {
|
|
107
107
|
Arguments.createArray()
|
|
108
108
|
}
|
|
109
|
-
val settingsList = mutableListOf("extendedClientInfo:react-native:3.3.0-beta.
|
|
109
|
+
val settingsList = mutableListOf("extendedClientInfo:react-native:3.3.0-beta.3")
|
|
110
110
|
namiCommandsReact?.toArrayList()?.filterIsInstance<String>()?.let { commandsFromReact ->
|
|
111
111
|
settingsList.addAll(commandsFromReact)
|
|
112
112
|
}
|
package/ios/Nami.m
CHANGED
|
@@ -50,7 +50,7 @@ RCT_EXPORT_METHOD(configure: (NSDictionary *)configDict completion: (RCTResponse
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
// Start commands with header iformation for Nami to let them know this is a React client.
|
|
53
|
-
NSMutableArray *namiCommandStrings = [NSMutableArray arrayWithArray:@[@"extendedClientInfo:react-native:3.3.0-beta.
|
|
53
|
+
NSMutableArray *namiCommandStrings = [NSMutableArray arrayWithArray:@[@"extendedClientInfo:react-native:3.3.0-beta.3"]];
|
|
54
54
|
|
|
55
55
|
// Add additional namiCommands app may have sent in.
|
|
56
56
|
NSObject *appCommandStrings = configDict[@"namiCommands"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-nami-sdk",
|
|
3
|
-
"version": "3.3.0-beta.
|
|
3
|
+
"version": "3.3.0-beta.3",
|
|
4
4
|
"description": "React Native Module for Nami - Easy subscriptions & in-app purchases, with powerful built-in paywalls and A/B testing.",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"types": "index.d.ts",
|
package/src/NamiFlowManager.ts
CHANGED
|
@@ -33,7 +33,7 @@ export const NamiFlowManager: INamiFlowManager = {
|
|
|
33
33
|
const subscription: EmitterSubscription = flowEmitter.addListener(
|
|
34
34
|
NamiFlowManagerEvents.RegisterStepHandoff,
|
|
35
35
|
(event: { handoffTag: string; handoffData?: string }) => {
|
|
36
|
-
console.
|
|
36
|
+
console.warn('[NamiFlowManager] Received handoff event:', event);
|
|
37
37
|
callback(event.handoffTag, event.handoffData);
|
|
38
38
|
}
|
|
39
39
|
);
|
|
@@ -56,4 +56,4 @@ export const NamiFlowManager: INamiFlowManager = {
|
|
|
56
56
|
console.warn('[NamiFlowManager] Native method resume is not available.');
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
|
-
};
|
|
59
|
+
};
|