@bravemobile/react-native-code-push 10.0.0-beta.3 → 10.0.0-beta.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.
Files changed (2) hide show
  1. package/CodePush.js +1 -1
  2. package/package.json +1 -1
package/CodePush.js CHANGED
@@ -472,7 +472,7 @@ async function syncInternal(options = {}, syncStatusChangeCallback, downloadProg
472
472
 
473
473
  syncStatusChangeCallback(CodePush.SyncStatus.CHECKING_FOR_UPDATE);
474
474
  const remotePackage = await checkForUpdate(handleBinaryVersionMismatchCallback);
475
- remotePackageLabel = remotePackage.label;
475
+ remotePackageLabel = remotePackage?.label;
476
476
 
477
477
  const doDownloadAndInstall = async () => {
478
478
  syncStatusChangeCallback(CodePush.SyncStatus.DOWNLOADING_PACKAGE);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bravemobile/react-native-code-push",
3
- "version": "10.0.0-beta.3",
3
+ "version": "10.0.0-beta.4",
4
4
  "description": "React Native plugin for the CodePush service",
5
5
  "main": "CodePush.js",
6
6
  "typings": "typings/react-native-code-push.d.ts",