Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

abstracted-database

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abstracted-database - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

4

dist/commonjs/AbstractedDatabase.d.ts

@@ -63,3 +63,3 @@ import { DocumentChangeType as IFirestoreDbEvent, FirebaseFirestore } from '@firebase/firestore-types';

*/
abstract getList<T = any>(path: string | ISerializedQuery, idProp: string): Promise<T[]>;
abstract getList<T = any>(path: string | ISerializedQuery, idProp?: string): Promise<T[]>;
/**

@@ -77,3 +77,3 @@ * Get's a push-key from the server at a given path. This ensures that

*/
abstract getRecord<T = any>(path: string, idProp: string): Promise<T>;
abstract getRecord<T = any>(path: string, idProp?: string): Promise<T>;
/**

@@ -80,0 +80,0 @@ * Returns the value at a given path in the database. This method is a

@@ -63,3 +63,3 @@ import { DocumentChangeType as IFirestoreDbEvent, FirebaseFirestore } from '@firebase/firestore-types';

*/
abstract getList<T = any>(path: string | ISerializedQuery, idProp: string): Promise<T[]>;
abstract getList<T = any>(path: string | ISerializedQuery, idProp?: string): Promise<T[]>;
/**

@@ -77,3 +77,3 @@ * Get's a push-key from the server at a given path. This ensures that

*/
abstract getRecord<T = any>(path: string, idProp: string): Promise<T>;
abstract getRecord<T = any>(path: string, idProp?: string): Promise<T>;
/**

@@ -80,0 +80,0 @@ * Returns the value at a given path in the database. This method is a

{
"name": "abstracted-database",
"version": "0.5.2",
"version": "0.5.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/commonjs",

@@ -94,3 +94,3 @@ import {

path: string | ISerializedQuery,
idProp: string
idProp?: string
): Promise<T[]>;

@@ -111,3 +111,3 @@ /**

path: string,
idProp: string
idProp?: string
): Promise<T>;

@@ -114,0 +114,0 @@ /**

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc