firebase-admin
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -15,4 +15,4 @@ | ||
* @param {String} password The password for the account. | ||
* @property {Promise} ready A promise that will resolve when the account is | ||
* ready to use and reject if there's a problem logging in. | ||
* @property {external:Promise} ready A promise that will resolve when the | ||
* account is ready to use and reject if there's a problem logging in. | ||
*/ | ||
@@ -54,4 +54,5 @@ function FirebaseAccount(email, password) { | ||
* @param {String} name The name of the new instance. | ||
* @returns {Promise} A promise that resolves with a {@link FirebaseInstance} if | ||
* successful and rejects with an Error if there's an error. | ||
* @returns {external:Promise} A promise that resolves with a | ||
* {@link FirebaseInstance} if successful and rejects with an Error if | ||
* there's an error. | ||
* @example | ||
@@ -102,4 +103,5 @@ * account.createDatabase('newfirebase') | ||
* @param {String} name The name of the instance. | ||
* @returns {Promise} A promise that resolves with a {@link FirebaseInstance} if | ||
* successful and rejects with an Error if there's an error. | ||
* @returns {external:Promise} A promise that resolves with a | ||
* @link FirebaseInstance} if successful and rejects with an Error if | ||
* there's an error. | ||
* @example | ||
@@ -139,3 +141,3 @@ * account.getDatabase('existingfirebase') | ||
* @param {FirebaseInstance} db The instance to remove. | ||
* @returns {Promise} A promise that resolves if db is deleted | ||
* @returns {external:Promise} A promise that resolves if db is deleted | ||
* successfully and rejects with an Error if there's an error. | ||
@@ -142,0 +144,0 @@ */ |
@@ -76,3 +76,3 @@ | ||
* Promises to get all the auth tokens associated with the instance. | ||
* @returns {Promise} A promise that resolves with an Array of the | ||
* @returns {external:Promise} A promise that resolves with an Array of the | ||
* instance's currently-valid auth tokens and rejects with an Error | ||
@@ -79,0 +79,0 @@ * if there's an error. |
{ | ||
"name": "firebase-admin", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Programmatically instantiate and modify Firebase instances.", | ||
@@ -22,3 +22,4 @@ "keywords": [ | ||
"scripts": { | ||
"test": "source ./test/prep.bash && ./node_modules/mocha/bin/mocha --recursive -u bdd -t 10000 -s 1000 -r ./test/setup test/spec" | ||
"test": "source ./test/prep.bash && ./node_modules/mocha/bin/mocha --recursive -u bdd -t 10000 -s 1000 -r ./test/setup test/spec", | ||
"postpublish": "git checkout gh-pages && ./node_modules/.bin/jsdoc -t ./node_modules/ink-docstrap/template -d . -c .jsdocrc *.js README.md && git commit -am 'Update docs' && git push hub && git checkout master" | ||
}, | ||
@@ -34,4 +35,6 @@ "dependencies": { | ||
"chai-as-promised": "^4.1.1", | ||
"prompt": "^0.2.13" | ||
"prompt": "^0.2.13", | ||
"jsdoc": "^3.3.0-alpha9", | ||
"ink-docstrap": "^0.4.12" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
23550
6
12
601