react-native-nami-sdk 3.4.2-dev.202606042208 → 3.4.2-dev.202606090629

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.4.2-dev.202606042208"
89
- amazonImplementation "com.namiml:sdk-amazon:3.4.2-dev.202606042208"
88
+ playImplementation "com.namiml:sdk-android:3.4.2-dev.202606090629"
89
+ amazonImplementation "com.namiml:sdk-amazon:3.4.2-dev.202606090629"
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 | boolean | number;
6
+ [key: string]: string;
7
7
  };
8
8
  customObject?: {
9
9
  [key: string]: unknown;
@@ -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]: CustomAttributeValue;
98
+ [key: string]: string;
107
99
  };
108
100
  customObject?: {
109
101
  [key: string]: unknown;
@@ -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.4.2-dev.202606042208";
5
+ export declare const NAMI_REACT_NATIVE_VERSION = "3.4.2-dev.202606090629";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-nami-sdk",
3
- "version": "3.4.2-dev.202606042208",
3
+ "version": "3.4.2-dev.202606090629",
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",
@@ -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.2-dev.202606042208'
24
+ s.dependency 'Nami', '3.4.2-dev.202606090629'
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 | boolean | number };
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]: CustomAttributeValue;
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
@@ -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.4.2-dev.202606042208';
5
+ export const NAMI_REACT_NATIVE_VERSION = '3.4.2-dev.202606090629';