New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nodeart/dal

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodeart/dal - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

package.json
{
"name": "@nodeart/dal",
"version": "1.0.1",
"version": "1.0.2",
"description": "Bridge for database connector(for now only Firebase).",

@@ -12,5 +12,5 @@ "main": "index.ts",

"dependencies": {
"@nodeart/firebaseconnector": "^1.0.3",
"@nodeart/firebaseconnector": "^1.0.4",
"@angular/core": "2.2.0"
}
}

@@ -12,2 +12,6 @@ import { esIndex } from './consts';

addGeneralCategory(generalCategoryForm){
this.connector.addGeneralCategory(generalCategoryForm);
}
addCategory(categoryForm){

@@ -25,6 +29,2 @@ this.connector.addCategory(categoryForm);

addAttrToCategory(categoryId){
this.connector.getFirebaseDB().list('category/' + categoryId + "/attrs")
}
addProduct(product){

@@ -49,3 +49,4 @@ this.connector.addProduct(product);

getBasketProductsByIds(queryObj){
getProductsByIds(queryObj){
return this.connector.requestData(esIndex, 'product', queryObj);

@@ -62,2 +63,6 @@ }

getСomparison(id){
return this.connector.getComparison(id);
}
addProductToBasket(id, product){

@@ -71,5 +76,17 @@ return this.connector.addProductToBasket(id, product);

addProductToComparison(id, product){
return this.connector.addProductToComparison(id, product);
}
removeProductFromComparison(id, idInComparison){
return this.connector.removeProductFromComparison(id, idInComparison);
}
searchProducts(queryObj){
return this.connector.requestData(esIndex, 'product', queryObj);
}
getPriceRanges(queryObj){
return this.connector.requestAggregations(esIndex, 'product', queryObj);
}

@@ -83,2 +100,10 @@ filterProducts(queryObj){

}
getGeneralCategory(queryObj){
return this.connector.requestData(esIndex, 'general-category', queryObj);
}
getGeneralCategories(queryObj){
return this.connector.requestData(esIndex, 'general-category', queryObj);
}

@@ -89,2 +114,6 @@ getCategories(queryObj){

getProductsByCategoryIds(queryObj){
return this.connector.requestData(esIndex, 'product', queryObj);
}
getProducts(queryObj){

@@ -121,3 +150,3 @@ return this.connector.requestData(esIndex, 'product', queryObj);

}
checkOldSessionFlow(deviceId){

@@ -124,0 +153,0 @@ this.connector.checkOldSessionFlow(deviceId);

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