@amplytools/react-native-amply-sdk 0.6.1 → 0.6.2
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.
|
@@ -527,7 +527,9 @@ static NSArray<ASDKDataSetTypeEventParam *> *AmplyEventParamsFromArray(id raw, B
|
|
|
527
527
|
if (outDroppedNullValue) *outDroppedNullValue = YES;
|
|
528
528
|
continue;
|
|
529
529
|
}
|
|
530
|
-
|
|
530
|
+
// valueType:nil → SDK falls back to raw attribute columns (no typed coercion),
|
|
531
|
+
// matching the Android bridge which relies on the Kotlin default.
|
|
532
|
+
[result addObject:[[ASDKDataSetTypeEventParam alloc] initWithName:name value:value compareType:@"===" valueType:nil]];
|
|
531
533
|
}
|
|
532
534
|
return result;
|
|
533
535
|
}
|
|
@@ -592,7 +594,9 @@ static ASDKDataSetType *AmplyDataSetTypeFromDictionary(NSDictionary *type, NSStr
|
|
|
592
594
|
BOOL droppedNullValue = NO;
|
|
593
595
|
NSArray<ASDKDataSetTypeEventParam *> *params = AmplyEventParamsFromArray(eventDict[@"params"], &droppedNullValue);
|
|
594
596
|
if (droppedNullValue) continue;
|
|
595
|
-
|
|
597
|
+
// id:nil → id-less declaration (limits-style): not projected into
|
|
598
|
+
// @events.aggregates, still fully queryable through @events.data.
|
|
599
|
+
[events addObject:[[ASDKDataSetTypeEventsEvent alloc] initWithName:eventNameStr type:eventType params:params id:nil]];
|
|
596
600
|
}
|
|
597
601
|
return [[ASDKDataSetTypeEvents alloc] initWithData:events];
|
|
598
602
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amplytools/react-native-amply-sdk",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "React Native SDK for Amply: Mobile SDK to orchestrate in-app experiences and campaigns remotely, without app releases",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|