Skip to content

Commit

Permalink
Add MockCloudEvents for RTDB-V2 (#156)
Browse files Browse the repository at this point in the history
* Add and handle MockCloudEvents for RTDB-V2

This commit is a follow-up to firebase-function's addition of rtdb-v2, firebase/firebase-functions#1127.

Wrap can now handle:

* `database.onValueCreated`
* `database.onValueDeleted`
* `database.onValueUpdated`
* `database.onValueWritten`
  • Loading branch information
TheIronDev committed Aug 2, 2022
1 parent 721b74f commit 7ca7e22
Show file tree
Hide file tree
Showing 14 changed files with 549 additions and 19 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@types/mocha": "^5.2.7",
"chai": "^4.2.0",
"firebase-admin": "^10.1.0",
"firebase-functions": "^3.21.0",
"firebase-functions": "^3.22.0",
"firebase-tools": "^8.9.2",
"mocha": "^6.2.2",
"prettier": "^1.19.1",
Expand All @@ -57,7 +57,7 @@
},
"peerDependencies": {
"firebase-admin": ">=6.0.0",
"firebase-functions": ">=3.21.0",
"firebase-functions": ">=3.22.0",
"jest": ">=28.0.0"
},
"engines": {
Expand Down

0 comments on commit 7ca7e22

Please sign in to comment.