diff --git a/library.json b/library.json index 081ca8fdb..6dac950ed 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "Firebase Arduino Client Library for ESP8266 and ESP32", - "version": "4.4.11", + "version": "4.4.12", "keywords": "communication, REST, esp32, esp8266, arduino", "description": "The library supports Firebase products e.g. Realtime database, Cloud Firestore database, Firebase Storage and Google Cloud Storage, Cloud Functions for Firebase and Cloud Messaging. The library also supported other Arduino devices using Clients interfaces e.g. WiFiClient, EthernetClient, and GSMClient.", "repository": { diff --git a/library.properties b/library.properties index fc43adb25..d1494a262 100644 --- a/library.properties +++ b/library.properties @@ -1,6 +1,6 @@ name=Firebase Arduino Client Library for ESP8266 and ESP32 -version=4.4.11 +version=4.4.12 author=Mobizt diff --git a/src/client/FB_TCP_Client.h b/src/client/FB_TCP_Client.h index 625102e3a..c2116c297 100644 --- a/src/client/FB_TCP_Client.h +++ b/src/client/FB_TCP_Client.h @@ -1,7 +1,7 @@ /** - * Firebase TCP Client v1.0.3 + * Firebase TCP Client v1.0.4 * - * Created December 27, 2023 + * Created March 1, 2024 * * The MIT License (MIT) * Copyright (c) 2022 K. Suwatchai (Mobizt) @@ -32,7 +32,11 @@ #include "./FB_Const.h" #include "./mbfs/MB_FS.h" #include "./FB_Utils.h" +#if __has_include() +#include +#else #include "./client/SSLClient/ESP_SSLClient.h" +#endif #include "./FB_Network.h" #if defined(ESP32) @@ -658,7 +662,7 @@ class Firebase_TCP_Client : public Client size_t write(const uint8_t *data, size_t size) { - + if (!_tcp_client) return setError(FIREBASE_ERROR_TCP_CLIENT_NOT_INITIALIZED); diff --git a/src/core/Firebase_Client_Version.h b/src/core/Firebase_Client_Version.h index 49f579fbf..9901e10b1 100644 --- a/src/core/Firebase_Client_Version.h +++ b/src/core/Firebase_Client_Version.h @@ -1,6 +1,5 @@ #ifndef FIREBASE_CLIENT_VERSION -#define FIREBASE_CLIENT_VERSION "4.4.11" -#define FIREBASE_CLIENT_VERSION_NUM 40411 +#define FIREBASE_CLIENT_VERSION "4.4.12" +#define FIREBASE_CLIENT_VERSION_NUM 40412 -#define FIREBASE_CLIENT_VERSION_CHECK(ver) (true) #endif \ No newline at end of file