@@ -1048,7 +1048,7 @@ IAsyncAction setTimeout(std::chrono::seconds time) {
10481048 co_await time;
10491049}
10501050
1051- winrt::fire_and_forget RNFetchBlob ::fetchBlob (
1051+ winrt::fire_and_forget ReactNativeBlobUtilState ::fetchBlob (
10521052 winrt::Microsoft::ReactNative::JSValueObject options,
10531053 std::string taskId,
10541054 std::string method,
@@ -1064,7 +1064,7 @@ winrt::fire_and_forget RNFetchBlob::fetchBlob(
10641064 {
10651065 filter.IgnorableServerCertificateErrors ().Append (Cryptography::Certificates::ChainValidationResult::Untrusted);
10661066 }
1067- RNFetchBlobState eventState;
1067+ ReactNativeBlobUtilState eventState;
10681068
10691069 winrt::Windows::Web::Http::HttpClient httpClient{ filter };
10701070
@@ -1217,7 +1217,7 @@ winrt::fire_and_forget RNFetchBlob::fetchBlob(
12171217 callback (error, " error" , " " );
12181218 }
12191219 else {
1220- callback (" RNFetchBlob request timed out" , " error" , " " );
1220+ callback (" React-native-blobl-util request timed out" , " error" , " " );
12211221 }
12221222 }
12231223
@@ -1539,7 +1539,7 @@ try
15391539
15401540 winrt::Windows::Web::Http::HttpResponseMessage response{ co_await httpClient.SendRequestAsync (httpRequestMessage, winrt::Windows::Web::Http::HttpCompletionOption::ResponseHeadersRead) };
15411541
1542- RNFetchBlobState eventState;
1542+ ReactNativeBlobUtilState eventState;
15431543
15441544 auto status{ static_cast <int >(response.StatusCode ()) };
15451545 if (config.followRedirect ) {
@@ -1564,7 +1564,7 @@ try
15641564
15651565 eventState.state = winrt::to_string (response.ReasonPhrase ());
15661566
1567- m_reactContext.CallJSFunction (L" RCTDeviceEventEmitter" , L" emit" , L" RNFetchBlobState " ,
1567+ m_reactContext.CallJSFunction (L" RCTDeviceEventEmitter" , L" emit" , L" ReactNativeBlobUtilState " ,
15681568 Microsoft::ReactNative::JSValueObject{
15691569 { " taskId" , taskId },
15701570 { " state" , eventState.state },
0 commit comments