react-native-ota-hot-update 2.4.3 → 2.4.4

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.
@@ -308,7 +308,7 @@ void OTAExceptionHandler(NSException *exception) {
308
308
  }
309
309
 
310
310
  // Expose setupBundlePath method to JavaScript
311
- RCT_EXPORT_METHOD(setupBundlePath:(NSString *)path extension:(NSString *)extension version:(NSNumber *)version maxVersions:(NSNumber *)maxVersions metadata:(NSString *)metadata
311
+ RCT_EXPORT_METHOD(setupBundlePath:(NSString *)path extension:(NSString *)extension version:(nonnull NSNumber *)version maxVersions:(nonnull NSNumber *)maxVersions metadata:(NSString *)metadata
312
312
  resolve:(RCTPromiseResolveBlock)resolve
313
313
  reject:(RCTPromiseRejectBlock)reject) {
314
314
  if ([OtaHotUpdate isFilePathValid:path]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ota-hot-update",
3
- "version": "2.4.3",
3
+ "version": "2.4.4",
4
4
  "description": "Hot update for react native",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",