@hot-updater/firebase 0.20.15 → 0.21.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/dist/firebase/functions/index.cjs +4 -2
- package/dist/index.cjs +22 -1347
- package/dist/index.js +23 -1348
- package/package.json +7 -5
|
@@ -4754,7 +4754,8 @@ const INIT_BUNDLE_ROLLBACK_UPDATE_INFO = {
|
|
|
4754
4754
|
shouldForceUpdate: true,
|
|
4755
4755
|
message: null,
|
|
4756
4756
|
status: "ROLLBACK",
|
|
4757
|
-
storageUri: null
|
|
4757
|
+
storageUri: null,
|
|
4758
|
+
fileHash: null
|
|
4758
4759
|
};
|
|
4759
4760
|
const convertToBundle = (data) => ({
|
|
4760
4761
|
id: data.id,
|
|
@@ -4774,7 +4775,8 @@ const makeResponse = (bundle, status) => ({
|
|
|
4774
4775
|
message: bundle.message,
|
|
4775
4776
|
shouldForceUpdate: status === "ROLLBACK" ? true : bundle.shouldForceUpdate,
|
|
4776
4777
|
status,
|
|
4777
|
-
storageUri: bundle.storageUri
|
|
4778
|
+
storageUri: bundle.storageUri,
|
|
4779
|
+
fileHash: bundle.fileHash
|
|
4778
4780
|
});
|
|
4779
4781
|
const getUpdateInfo = async (db, args) => {
|
|
4780
4782
|
switch (args._updateStrategy) {
|