serialized-query
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -28,3 +28,9 @@ import { rtdb } from "firebase-api-surface"; | ||
setPath(path: string | LazyPath): this; | ||
/** | ||
* hashCode | ||
* | ||
* get a unique numeric hashcode for this query | ||
*/ | ||
hashCode(): number; | ||
stringHashCode(): string; | ||
limitToFirst(num: number): this; | ||
@@ -31,0 +37,0 @@ limitToLast(num: number): this; |
@@ -34,2 +34,7 @@ "use strict"; | ||
} | ||
/** | ||
* hashCode | ||
* | ||
* get a unique numeric hashcode for this query | ||
*/ | ||
hashCode() { | ||
@@ -49,2 +54,5 @@ const identity = this.toJSON(); | ||
} | ||
stringHashCode() { | ||
return String(this.hashCode); | ||
} | ||
limitToFirst(num) { | ||
@@ -51,0 +59,0 @@ this._limitToFirst = num; |
{ | ||
"name": "serialized-query", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "A simple Typescript class to serialize Firebase queries", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16142
244