@algocare/react-native-code-push 11.1.2 → 11.2.0
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.
package/CodePush.js
CHANGED
|
@@ -562,7 +562,8 @@ async function syncInternal(
|
|
|
562
562
|
|
|
563
563
|
syncStatusChangeCallback(CodePush.SyncStatus.CHECKING_FOR_UPDATE)
|
|
564
564
|
const remotePackage = await checkForUpdate(
|
|
565
|
-
syncOptions.
|
|
565
|
+
syncOptions.prNumber,
|
|
566
|
+
syncOptions.packageHash,
|
|
566
567
|
handleBinaryVersionMismatchCallback
|
|
567
568
|
)
|
|
568
569
|
|
package/package.json
CHANGED
|
@@ -179,6 +179,8 @@ export interface RemotePackage extends Package {
|
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
export interface SyncOptions {
|
|
182
|
+
prNumber?: string
|
|
183
|
+
packageHash?: string
|
|
182
184
|
/**
|
|
183
185
|
* Specifies the deployment key you want to query for an update against. By default, this value is derived from the Info.plist
|
|
184
186
|
* file (iOS) and MainActivity.java file (Android), but this option allows you to override it from the script-side if you need to
|