1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 07:21:39 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

bump version to 10.29.8 and include new version data in downloading report

This commit is contained in:
sunnylqm
2025-08-25 17:18:59 +08:00
parent c5f458291a
commit a913e8c10e
2 changed files with 7 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "react-native-update", "name": "react-native-update",
"version": "10.29.7", "version": "10.29.8",
"description": "react-native hot update", "description": "react-native hot update",
"main": "src/index", "main": "src/index",
"scripts": { "scripts": {

View File

@@ -393,7 +393,12 @@ export class Pushy {
} }
} }
let succeeded = ''; let succeeded = '';
this.report({ type: 'downloading' }); this.report({
type: 'downloading',
data: {
newVersion: hash,
},
});
let lastError: any; let lastError: any;
let errorMessages: string[] = []; let errorMessages: string[] = [];
const diffUrl = await testUrls(joinUrls(paths, diff)); const diffUrl = await testUrls(joinUrls(paths, diff));