paynl-pos-sdk-react-native 0.0.66 → 0.0.67

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.
Files changed (2) hide show
  1. package/ios/PaynlSdk.mm +7 -5
  2. package/package.json +1 -1
package/ios/PaynlSdk.mm CHANGED
@@ -119,11 +119,13 @@ RCT_EXPORT_MODULE(PaynlSdk)
119
119
  reject(@"UNSUPPORTED", @"This feature is not supported on iOS", nil);
120
120
  }
121
121
 
122
- - (nonnull NSDictionary *)getOfflineQueue {
123
- return @{
124
- @"size": @0,
125
- @"queue": @[]
126
- };
122
+ - (void)getOfflineQueue:(nonnull RCTPromiseResolveBlock)resolve reject:(nonnull RCTPromiseRejectBlock)reject {
123
+ NSMutableDictionary *model = [@{
124
+ @"size": @0,
125
+ @"queue": @[]
126
+ } mutableCopy];
127
+
128
+ resolve(model);
127
129
  }
128
130
 
129
131
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paynl-pos-sdk-react-native",
3
- "version": "0.0.66",
3
+ "version": "0.0.67",
4
4
  "description": "A PayNL sdk to accept and process payments",
5
5
  "main": "./lib/commonjs/index.js",
6
6
  "module": "./lib/module/index.js",