Skip to content

Commit d4f9118

Browse files
committed
Update FirebaseJson.
1 parent 6fd8941 commit d4f9118

File tree

10 files changed

+147
-135
lines changed

10 files changed

+147
-135
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ESP-Google-Sheet-Client",
3-
"version": "1.4.3",
3+
"version": "1.4.4",
44
"keywords": "communication, REST, esp32, esp8266, raspberrypi, arduino",
55
"description": "Arduino Google Sheet REST client library for Arduino devices. This library allows devices to communicate with Google Sheet API to read, edit and delete the spreadsheets",
66
"repository": {

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name=ESP-Google-Sheet-Client
22

3-
version=1.4.3
3+
version=1.4.4
44

55
author=Mobizt
66

src/ESP_Google_Sheet_Client.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#ifndef ESP_GOOGLE_SHEET_CLIENT_VERSION
2-
#define ESP_GOOGLE_SHEET_CLIENT_VERSION "1.4.3"
2+
#define ESP_GOOGLE_SHEET_CLIENT_VERSION "1.4.4"
33
#endif
44

55
/**
66
* Google Sheet Client, ESP_Google_Sheet_Client.h v1.4.3
77
*
88
* This library supports Espressif ESP8266 and ESP32 MCUs
99
*
10-
* Created November 10, 2023
10+
* Created March 25, 2023
1111
*
1212
* The MIT License (MIT)
1313
* Copyright (c) 2023 K. Suwatchai (Mobizt)

src/client/GS_TCP_Client.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
#include "../GS_Const.h"
3131
#include "../mbfs/MB_FS.h"
3232
#include "../GS_Helper.h"
33-
#include "../client/SSLClient/ESP_SSLClient.h"
33+
#if __has_include(<ESP_SSLClient.h>)
34+
#include <ESP_SSLClient.h>
35+
#else
36+
#include "./client/SSLClient/ESP_SSLClient.h"
37+
#endif
3438
#include "../GS_Network.h"
3539

3640
#if defined(ESP32)

src/json/FBJS_Config.h

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/json/FirebaseJson.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
2-
* FirebaseJson, version 3.0.6
2+
* FirebaseJson, version 3.0.10
33
*
44
* The Easiest Arduino library to parse, create and edit JSON object using a relative path.
55
*
6-
* Created March 5, 2023
6+
* Created March 25, 2024
77
*
88
* Features
99
* - Using path to access node element in search style e.g. json.get(result,"a/b/c")
@@ -456,6 +456,9 @@ void FirebaseJsonBase::mCollectIterator(MB_JSON *e, int type, int &arrIndex)
456456
char *p = MB_JSON_PrintUnformatted(e);
457457
if (p)
458458
{
459+
if (result.ofs1 == 0)
460+
result.ofs1 = iterator_data.buf_offset;
461+
459462
int i = iterator_data.buf_offset;
460463
size_t pos = buf.find(p, i);
461464
if (pos != MB_String::npos)

0 commit comments

Comments
 (0)