@firebase/database
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -105,5 +105,3 @@ "use strict"; | ||
else { | ||
return LeafNode.__childrenNodeConstructor.EMPTY_NODE | ||
.updateImmediateChild(childName, newChildNode) | ||
.updatePriority(this.priorityNode_); | ||
return LeafNode.__childrenNodeConstructor.EMPTY_NODE.updateImmediateChild(childName, newChildNode).updatePriority(this.priorityNode_); | ||
} | ||
@@ -110,0 +108,0 @@ }; |
@@ -27,3 +27,3 @@ /** | ||
OperationType[OperationType["LISTEN_COMPLETE"] = 3] = "LISTEN_COMPLETE"; | ||
})(OperationType = OperationType || (OperationType = {})); | ||
})(OperationType || (OperationType = {})); | ||
/** | ||
@@ -30,0 +30,0 @@ * @param {boolean} fromUser |
@@ -53,3 +53,3 @@ /** | ||
TransactionStatus[TransactionStatus["NEEDS_ABORT"] = 4] = "NEEDS_ABORT"; | ||
})(TransactionStatus = TransactionStatus || (TransactionStatus = {})); | ||
})(TransactionStatus || (TransactionStatus = {})); | ||
/** | ||
@@ -56,0 +56,0 @@ * If a transaction does not succeed after 25 retries, we abort it. Among other things this ensure that if there's |
@@ -103,5 +103,3 @@ /** | ||
else { | ||
return LeafNode.__childrenNodeConstructor.EMPTY_NODE | ||
.updateImmediateChild(childName, newChildNode) | ||
.updatePriority(this.priorityNode_); | ||
return LeafNode.__childrenNodeConstructor.EMPTY_NODE.updateImmediateChild(childName, newChildNode).updatePriority(this.priorityNode_); | ||
} | ||
@@ -108,0 +106,0 @@ }; |
{ | ||
"name": "@firebase/database", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "", | ||
@@ -12,3 +12,3 @@ "main": "dist/cjs/index.node.js", | ||
"test:browser": "karma start --single-run", | ||
"test:node": "mocha 'test/{,!(browser)/**/}*.test.ts' --compilers ts:ts-node/register -r src/nodePatches.ts --retries 5 --timeout 5000 --exit", | ||
"test:node": "nyc --reporter lcovonly -- mocha 'test/{,!(browser)/**/}*.test.ts' --compilers ts:ts-node/register -r src/nodePatches.ts --retries 5 --timeout 5000 --exit", | ||
"prepare": "gulp build" | ||
@@ -21,3 +21,3 @@ }, | ||
"dependencies": { | ||
"@firebase/util": "^0.1.2", | ||
"@firebase/util": "^0.1.3", | ||
"faye-websocket": "0.11.1" | ||
@@ -42,2 +42,3 @@ }, | ||
"npm-run-all": "^4.1.1", | ||
"nyc": "^11.2.1", | ||
"sinon": "^4.0.2", | ||
@@ -57,3 +58,9 @@ "source-map-loader": "^0.2.3", | ||
}, | ||
"typings": "dist/cjs/index.d.ts" | ||
"typings": "dist/cjs/index.d.ts", | ||
"nyc": { | ||
"extension": [ | ||
".ts" | ||
], | ||
"reportDir": "./coverage/node" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3771149
23
45744
Updated@firebase/util@^0.1.3