From a913e8c10e8f41f15adf779147d7ebb122a73c5e Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Mon, 25 Aug 2025 17:18:59 +0800 Subject: [PATCH] bump version to 10.29.8 and include new version data in downloading report --- package.json | 2 +- src/client.ts | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1c919ab..471a881 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-update", - "version": "10.29.7", + "version": "10.29.8", "description": "react-native hot update", "main": "src/index", "scripts": { diff --git a/src/client.ts b/src/client.ts index ba31fb8..cd8bc9a 100644 --- a/src/client.ts +++ b/src/client.ts @@ -393,7 +393,12 @@ export class Pushy { } } let succeeded = ''; - this.report({ type: 'downloading' }); + this.report({ + type: 'downloading', + data: { + newVersion: hash, + }, + }); let lastError: any; let errorMessages: string[] = []; const diffUrl = await testUrls(joinUrls(paths, diff));