react-native-nami-sdk 3.4.1-dev.202605272004 → 3.4.1-rc.202605281509
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/android/build.gradle +2 -2
- package/dist/specs/NativeNamiCampaignManager.d.ts +1 -1
- package/dist/src/types.d.ts +1 -9
- package/dist/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/react-native-nami-sdk.podspec +1 -1
- package/specs/NativeNamiCampaignManager.ts +1 -1
- package/src/types.ts +1 -10
- package/src/version.ts +1 -1
package/android/build.gradle
CHANGED
|
@@ -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.4.1-
|
|
89
|
-
amazonImplementation "com.namiml:sdk-amazon:3.4.1-
|
|
88
|
+
playImplementation "com.namiml:sdk-android:3.4.1-rc.202605281509"
|
|
89
|
+
amazonImplementation "com.namiml:sdk-amazon:3.4.1-rc.202605281509"
|
|
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"
|
|
@@ -3,7 +3,7 @@ export interface Spec extends TurboModule {
|
|
|
3
3
|
launch(label: string | null, withUrl: string | null, context: {
|
|
4
4
|
productGroups?: string[];
|
|
5
5
|
customAttributes?: {
|
|
6
|
-
[key: string]: string
|
|
6
|
+
[key: string]: string;
|
|
7
7
|
};
|
|
8
8
|
customObject?: {
|
|
9
9
|
[key: string]: unknown;
|
package/dist/src/types.d.ts
CHANGED
|
@@ -92,18 +92,10 @@ export declare enum LaunchCampaignResultAction {
|
|
|
92
92
|
export type FailureResultObject = {
|
|
93
93
|
error: string;
|
|
94
94
|
};
|
|
95
|
-
/**
|
|
96
|
-
* Permitted value types for entries in {@link PaywallLaunchContext.customAttributes}.
|
|
97
|
-
*
|
|
98
|
-
* Both native primitives and their string equivalents are accepted; the underlying
|
|
99
|
-
* Apple/Android SDKs treat the two wire formats identically when evaluating
|
|
100
|
-
* targeting predicates.
|
|
101
|
-
*/
|
|
102
|
-
export type CustomAttributeValue = string | boolean | number;
|
|
103
95
|
export type PaywallLaunchContext = {
|
|
104
96
|
productGroups?: string[];
|
|
105
97
|
customAttributes: {
|
|
106
|
-
[key: string]:
|
|
98
|
+
[key: string]: string;
|
|
107
99
|
};
|
|
108
100
|
customObject?: {
|
|
109
101
|
[key: string]: unknown;
|
package/dist/src/version.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-nami-sdk",
|
|
3
|
-
"version": "3.4.1-
|
|
3
|
+
"version": "3.4.1-rc.202605281509",
|
|
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",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
]
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"@namiml/expo-nami-iap": "3.4.1-
|
|
66
|
+
"@namiml/expo-nami-iap": "3.4.1-rc.202605281509",
|
|
67
67
|
"react": ">=18",
|
|
68
68
|
"react-native": ">=0.73"
|
|
69
69
|
},
|
|
@@ -21,7 +21,7 @@ Pod::Spec.new do |s|
|
|
|
21
21
|
s.requires_arc = true
|
|
22
22
|
s.swift_version = '5.0' # or your supported version
|
|
23
23
|
|
|
24
|
-
s.dependency 'Nami', '3.4.1-
|
|
24
|
+
s.dependency 'Nami', '3.4.1-rc.202605281509'
|
|
25
25
|
|
|
26
26
|
pod_target_xcconfig = {
|
|
27
27
|
'DEFINES_MODULE' => 'YES',
|
|
@@ -7,7 +7,7 @@ export interface Spec extends TurboModule {
|
|
|
7
7
|
withUrl: string | null,
|
|
8
8
|
context: {
|
|
9
9
|
productGroups?: string[];
|
|
10
|
-
customAttributes?: { [key: string]: string
|
|
10
|
+
customAttributes?: { [key: string]: string };
|
|
11
11
|
customObject?: { [key: string]: unknown };
|
|
12
12
|
} | null,
|
|
13
13
|
completion: (
|
package/src/types.ts
CHANGED
|
@@ -203,21 +203,12 @@ export type FailureResultObject = {
|
|
|
203
203
|
error: string;
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
/**
|
|
207
|
-
* Permitted value types for entries in {@link PaywallLaunchContext.customAttributes}.
|
|
208
|
-
*
|
|
209
|
-
* Both native primitives and their string equivalents are accepted; the underlying
|
|
210
|
-
* Apple/Android SDKs treat the two wire formats identically when evaluating
|
|
211
|
-
* targeting predicates.
|
|
212
|
-
*/
|
|
213
|
-
export type CustomAttributeValue = string | boolean | number;
|
|
214
|
-
|
|
215
206
|
export type PaywallLaunchContext = {
|
|
216
207
|
// Can contain multiple product group identifiers
|
|
217
208
|
productGroups?: string[];
|
|
218
209
|
// Key-value pairs used to override template values
|
|
219
210
|
customAttributes: {
|
|
220
|
-
[key: string]:
|
|
211
|
+
[key: string]: string;
|
|
221
212
|
};
|
|
222
213
|
// Custom object used as data source for advanced paywall components
|
|
223
214
|
customObject?: {
|
package/src/version.ts
CHANGED