Skip to content

Commit

Permalink
7.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenMols committed Feb 24, 2022
1 parent 4ee744d commit 16144ad
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ios/RNLinksdk.m
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ @implementation RNLinksdk
RCT_EXPORT_MODULE();

+ (NSString*)sdkVersion {
return @"7.3.0"; // SDK_VERSION
return @"7.2.1"; // SDK_VERSION
}

+ (NSString*)objCBridgeVersion {
Expand Down
14 changes: 7 additions & 7 deletions ios/RNLinksdk.m-e
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ RCT_EXPORT_METHOD(dismiss) {

+ (NSArray<id<PLKAccountSubtype>> *)accountSubtypesArrayFromAccountSubtypeDictionaries:(NSArray<NSDictionary<NSString *, NSString *> *> *)accountSubtypeDictionaries {
__block NSMutableArray<id<PLKAccountSubtype>> *results = [NSMutableArray array];

for (NSDictionary *accountSubtypeDictionary in accountSubtypeDictionaries) {
NSString *type = accountSubtypeDictionary[@"type"];
NSString *subtype = accountSubtypeDictionary[@"subtype"];
Expand All @@ -399,7 +399,7 @@ RCT_EXPORT_METHOD(dismiss) {
[results addObject:result];
}
}

return [results copy];
}

Expand Down Expand Up @@ -593,7 +593,7 @@ RCT_EXPORT_METHOD(dismiss) {

+ (NSArray<NSDictionary *> *)accountsDictionariesFromAccounts:(NSArray<PLKAccount *> *)accounts {
NSMutableArray<NSDictionary *> *results = [NSMutableArray arrayWithCapacity:accounts.count];

for (PLKAccount *account in accounts) {
NSDictionary *accountDictionary = [self dictionaryFromAccount:account];
[results addObject:accountDictionary];
Expand Down Expand Up @@ -680,7 +680,7 @@ RCT_EXPORT_METHOD(dismiss) {

+ (NSDictionary *)dictionaryFromEvent:(PLKLinkEvent *)event {
PLKEventMetadata *metadata = event.eventMetadata;

return @{
@"eventName": [self stringForEventName:event.eventName] ?: @"",
@"metadata": @{
Expand Down Expand Up @@ -710,9 +710,9 @@ RCT_EXPORT_METHOD(dismiss) {
if (!error || !errorDomain) {
return @"";
}

NSString *normalizedErrorDomain = errorDomain;

return @{
kPLKExitErrorInvalidRequestDomain: @"INVALID_REQUEST",
kPLKExitErrorInvalidInputDomain: @"INVALID_INPUT",
Expand Down Expand Up @@ -744,7 +744,7 @@ RCT_EXPORT_METHOD(dismiss) {
if (!eventName) {
return @"";
}

if (eventName.unknownStringValue) {
return eventName.unknownStringValue;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-plaid-link-sdk",
"version": "7.2.1",
"version": "7.3.0",
"description": "React Native Plaid Link SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 16144ad

Please sign in to comment.