Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "fireproof", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Promises for Firebase objects.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -19,2 +19,4 @@ | ||
You have to "bless" Fireproof with a promise library that follows the deferral model. Q.js, Kew, and Firebase $q are some examples. Just call Fireproof.bless(Q). | ||
- If the corresponding Firebase method has no return value but does something asynchronously, Fireproof returns a promise that fulfills if the interaction succeeds and rejects if an error occurs. This is true of, e.g., ```transaction()```, ```auth()```, ```set()```, ```update()```, ```remove()```, and ```once()```. | ||
@@ -50,5 +52,1 @@ | ||
## Other | ||
To provide promises with very little code, Fireproof uses [PinkySwear.js](https://github.com/timjansen/PinkySwear.js). | ||
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
40147
0
51