serialized-query
Advanced tools
Comparing version 0.4.10 to 0.5.0
@@ -1,5 +0,5 @@ | ||
import { rtdb } from "firebase-api-surface"; | ||
export interface ISimplifiedDBAdaptor { | ||
ref: (path: string) => any; | ||
} | ||
export declare type DataSnapshot = import("@firebase/database-types").DataSnapshot; | ||
export declare type LazyPath = () => string; | ||
@@ -35,3 +35,3 @@ export declare function slashNotation(path: string): string; | ||
protected _equalTo: string; | ||
protected _handleSnapshot: (snap: rtdb.IDataSnapshot) => any; | ||
protected _handleSnapshot: (snap: DataSnapshot) => any; | ||
constructor(path?: string | LazyPath); | ||
@@ -64,3 +64,3 @@ readonly path: string | LazyPath; | ||
/** allows you to add a handler/transformer for snapshots with the results of the execute() method */ | ||
handleSnapshot(fn: (snap: rtdb.IDataSnapshot) => any): this; | ||
handleSnapshot(fn: (snap: DataSnapshot) => any): this; | ||
/** execute the query as a one time fetch */ | ||
@@ -67,0 +67,0 @@ execute(): Promise<any>; |
@@ -1,5 +0,5 @@ | ||
import { rtdb } from "firebase-api-surface"; | ||
export interface ISimplifiedDBAdaptor { | ||
ref: (path: string) => any; | ||
} | ||
export declare type DataSnapshot = import("@firebase/database-types").DataSnapshot; | ||
export declare type LazyPath = () => string; | ||
@@ -35,3 +35,3 @@ export declare function slashNotation(path: string): string; | ||
protected _equalTo: string; | ||
protected _handleSnapshot: (snap: rtdb.IDataSnapshot) => any; | ||
protected _handleSnapshot: (snap: DataSnapshot) => any; | ||
constructor(path?: string | LazyPath); | ||
@@ -64,3 +64,3 @@ readonly path: string | LazyPath; | ||
/** allows you to add a handler/transformer for snapshots with the results of the execute() method */ | ||
handleSnapshot(fn: (snap: rtdb.IDataSnapshot) => any): this; | ||
handleSnapshot(fn: (snap: DataSnapshot) => any): this; | ||
/** execute the query as a one time fetch */ | ||
@@ -67,0 +67,0 @@ execute(): Promise<any>; |
{ | ||
"name": "serialized-query", | ||
"version": "0.4.10", | ||
"version": "0.5.0", | ||
"description": "A simple Typescript class to serialize Firebase queries", | ||
@@ -19,3 +19,3 @@ "license": "MIT", | ||
"main": "lib/cjs/serialized-query.js", | ||
"typings": "lib/cjs/serialized-query.d.ts", | ||
"typings": "lib/es/serialized-query.d.ts", | ||
"scripts": { | ||
@@ -34,9 +34,8 @@ "clean": "rimraf lib", | ||
"dependencies": { | ||
"common-types": "^1.8.2", | ||
"firebase-api-surface": "^0.8.5" | ||
"common-types": "^1.9.7" | ||
}, | ||
"devDependencies": { | ||
"@firebase/database-types": "^0.3.6", | ||
"@types/chai": "^4.1.2", | ||
"@types/chalk": "^2.2.0", | ||
"@types/firebase": "^3.2.1", | ||
"@types/mocha": "^2.2.41", | ||
@@ -46,3 +45,4 @@ "@types/node": "^6.0.0", | ||
"@types/stack-trace": "^0.0.28", | ||
"abstracted-admin": "^0.15.2", | ||
"abstracted-admin": "^0.15.4", | ||
"abstracted-firebase": "^0.15.13", | ||
"async-shelljs": "^0.1.2", | ||
@@ -54,3 +54,3 @@ "bili": "^3.1.2", | ||
"firemock": "^0.19.1", | ||
"firemodel": "^0.19.1", | ||
"firemodel": "^0.20.1", | ||
"js-yaml": "^3.0.0", | ||
@@ -57,0 +57,0 @@ "lodash": "^4.0.0", |
Sorry, the diff of this file is not supported yet
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
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
29199
1
0
28
- Removedfirebase-api-surface@^0.8.5
- Removed@firebase/app-types@0.1.2(transitive)
- Removed@firebase/database-types@0.1.2(transitive)
- Removedfirebase-api-surface@0.8.5(transitive)
Updatedcommon-types@^1.9.7