@gfean/react-native-bundle-drop 0.11.0 → 0.12.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.
|
@@ -534,6 +534,9 @@ async function runUpload(platform, options, dependencies = defaultUploadDependen
|
|
|
534
534
|
try {
|
|
535
535
|
writeArtifactResult(artifactDir, {
|
|
536
536
|
success: false,
|
|
537
|
+
projectId: null,
|
|
538
|
+
channelId: null,
|
|
539
|
+
serverUrl: (0, serverUrl_1.normalizeServerUrl)(serverUrl),
|
|
537
540
|
status: 'failed',
|
|
538
541
|
error: uploadError,
|
|
539
542
|
platform,
|
|
@@ -572,6 +575,11 @@ async function runUpload(platform, options, dependencies = defaultUploadDependen
|
|
|
572
575
|
const hasSourceMap = Boolean(options.sourcemap && artifact.sourceMapPath &&
|
|
573
576
|
fs.existsSync(artifact.sourceMapPath));
|
|
574
577
|
const result = {
|
|
578
|
+
success: true,
|
|
579
|
+
projectId: responseData.projectId ?? null,
|
|
580
|
+
channelId: responseData.channelId ?? null,
|
|
581
|
+
// Keep the artifact bound to the endpoint actually used for this upload.
|
|
582
|
+
serverUrl: (0, serverUrl_1.normalizeServerUrl)(serverUrl),
|
|
575
583
|
platform,
|
|
576
584
|
appVersion: version,
|
|
577
585
|
channel,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gfean/react-native-bundle-drop",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"nativeVersion": "0.6.4",
|
|
5
5
|
"description": "Over-the-air updates for Expo and bare React Native apps, with channels, staged rollouts, patch delivery, and rollback.",
|
|
6
6
|
"main": "lib/index.js",
|