upgrading dpendencies and fixing README errors
This commit is contained in:
@ -22,6 +22,8 @@ in any function like this;
|
||||
|
||||
The cloud-storage reference is also made available under the global context variable 'cloud-storage'.
|
||||
|
||||
*NOTE* If you run into problem, see if you're using any other firebase modules at the same time, which somtimes also define config nodes of their own called 'firebase-config' which can lead to unpredictable results.
|
||||
|
||||
# Realtime Database (rtdb) Nodes
|
||||
|
||||
## rtdb-get
|
||||
@ -32,7 +34,7 @@ input: {"payload": {"path": "foo/bar"}}
|
||||
output: whatever data was at the path "foo/bar" in the rtdb database
|
||||
|
||||
## rtdb-on
|
||||
Set up a snapshot listsner for a path in the rtdb database
|
||||
Set up a snapshot listener for a path in the rtdb database
|
||||
|
||||
input: {"payload": {"path": "foo/bar"}}
|
||||
|
||||
@ -87,12 +89,12 @@ output: the document at the path "foo/bar" in the firestore database, when chang
|
||||
## firestore-set
|
||||
Set data at a path in the firestore database. Uses "onSnapshot" so will fire every time the data at the path changes and so drive flow execution from that point.
|
||||
|
||||
input: {"payload": {"path": "foo/bar"}, {"some": object, "foo": 17}}
|
||||
input: {"payload": {"path": "foo/bar", "obj": {"some": object, "foo": 17}}
|
||||
|
||||
## firestore-add
|
||||
Adds the new object under the collection the path describes and assigns it a random id
|
||||
|
||||
input: {"payload": {"path": "foo/bar"}, {"some": object, "foo": 17}}
|
||||
input: {"payload": {"path": "foo/bar", "obj": {"some": object, "foo": 17}}
|
||||
|
||||
output: The id of the new document
|
||||
|
||||
|
||||
1146
package-lock.json
generated
1146
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-contrib-firebase-admin",
|
||||
"version": "1.1.26",
|
||||
"version": "1.1.27",
|
||||
"description": "A node-red module that wraps the server-side admin SDK of firebase, firestore, et.c.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
@ -46,8 +46,8 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@google-cloud/storage": "^3.0.3",
|
||||
"@google-cloud/storage": "^5.7.0",
|
||||
"@node-red/runtime": "^0.20.6",
|
||||
"firebase-admin": "^8.0.0"
|
||||
"firebase-admin": "^9.4.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user