Skip to content

Commit

Permalink
Fixing example, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
jhagas committed Jul 19, 2024
1 parent e2d69a0 commit 6ed7672
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 24 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/arduino-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ jobs:
- uses: actions/checkout@v4
- uses: arduino/[email protected]
with:
library-manager: update
compliance: strict
library-manager: update
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ESP32 Supabase
# ESPSupabase

Simple library to connect ESP32/8266 to Supabase via REST API, including user authentication

Expand Down
2 changes: 1 addition & 1 deletion examples/insert/insert.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <Arduino.h>
#include <ESP_Supabase.h>
#include <ESPSupabase.h>

#if defined(ESP8266)
#include <ESP8266WiFi.h>
Expand Down
2 changes: 1 addition & 1 deletion examples/login-email/login-email.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <Arduino.h>
#include <ESP_Supabase.h>
#include <ESPSupabase.h>

#if defined(ESP8266)
#include <ESP8266WiFi.h>
Expand Down
2 changes: 1 addition & 1 deletion examples/login-phone/login-phone.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <Arduino.h>
#include <ESP_Supabase.h>
#include <ESPSupabase.h>

#if defined(ESP8266)
#include <ESP8266WiFi.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <Arduino.h>
#include <ArduinoJson.h>
#include <ESP_Supabase_Realtime.h>
#include <ESPSupabaseRealtime.h>

#if defined(ESP8266)
#include <ESP8266WiFi.h>
Expand Down
2 changes: 1 addition & 1 deletion examples/select/select.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <Arduino.h>
#include <ESP_Supabase.h>
#include <ESPSupabase.h>

#if defined(ESP8266)
#include <ESP8266WiFi.h>
Expand Down
2 changes: 1 addition & 1 deletion examples/update/update.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <Arduino.h>
#include <ESP_Supabase.h>
#include <ESPSupabase.h>

#if defined(ESP8266)
#include <ESP8266WiFi.h>
Expand Down
3 changes: 1 addition & 2 deletions examples/upload/upload.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

#include <ESP_Supabase.h>
#include <ESPSupabase.h>
#include "SPIFFS.h"

#if defined(ESP8266)
Expand Down
10 changes: 7 additions & 3 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
# Datatypes (KEYWORD1)
#######################################

Supabase KEYWORD2
Supabase KEYWORD2
SupabaseRealtime KEYWORD2

#######################################
# Methods and Functions (KEYWORD2)
Expand Down Expand Up @@ -42,8 +43,11 @@ doSelect KEYWORD2
doUpdate KEYWORD2
login_email KEYWORD2
login_phone KEYWORD2
upload KEYWORD2
setupRealtime KEYWORD2
upload KEYWORD2

addChangesListener KEYWORD2
listen KEYWORD2
loop KEYWORD2

#######################################
# Constants (LITERAL1)
Expand Down
6 changes: 3 additions & 3 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ESP-Supabase",
"name": "ESPSupabase",
"keywords": "supabase, postgresql, rest, database, IoT",
"version": "0.0.7",
"version": "0.1.0",
"description": "A Arduino Platform Library for connecting ESP32/ESP8266 to Supabase, including user authentication",
"authors": [
{
Expand All @@ -23,6 +23,6 @@
},
"repository": {
"type": "git",
"url": "https://github.com/jhagas/ESP32-Supabase.git"
"url": "https://github.com/jhagas/ESPSupabase.git"
}
}
10 changes: 5 additions & 5 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name=ESP-Supabase
version=0.0.7
author=Jhagas Hana Winaya <[email protected]>, Achmad Nashruddin Riskynanda <[email protected]>
name=ESPSupabase
version=0.1.0
author=Jhagas Hana Winaya <[email protected]>,Achmad Nashruddin Riskynanda <[email protected]>
maintainer=Jhagas Hana Winaya <[email protected]>
sentence=A Arduino Platform Library for interfacing ESP32/ESP8266 to Supabase, including user authentication.
paragraph=This allows developers to interface their ESP32/ESP8266 with Supabase, an open-source alternative to Firebase. The library simplifies the process of connecting to Supabase by providing a set of functions that abstract away the complexity of the underlying API.
category=Other
url=https://github.com/jhagas/ESP32-Supabase
category=Communication
url=https://github.com/jhagas/ESPSupabase
architectures=*
depends=ArduinoJson (>=7.1.0), WebSockets (>=2.4.1)
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/Realtime.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "ESP-Supabase-Realtime.h"
#include "ESPSupabaseRealtime.h"

// Internal functions
String getEventTable(JsonDocument result)
Expand Down
2 changes: 1 addition & 1 deletion src/Supabase.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "ESP-Supabase.h"
#include "ESPSupabase.h"

void Supabase::_check_last_string()
{
Expand Down

0 comments on commit 6ed7672

Please sign in to comment.