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

@spinque/query-api

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spinque/query-api - npm Package Compare versions

Comparing version 0.9.3 to 0.9.4

2

dist/FacetedSearch.d.ts

@@ -31,3 +31,3 @@ import { Query } from './types';

*/
addFacet(endpoint: string, type?: 'single' | 'multiple', filterEndpointPrefix?: string, filterEndpointParameterName?: string): void;
addFacet(endpoint: string, type?: 'single' | 'multiple', filterEndpointPostfix?: string, filterEndpointParameterName?: string): void;
get facets(): Facet[];

@@ -34,0 +34,0 @@ setModifier(modifier: Query | undefined): void;

@@ -54,9 +54,9 @@ "use strict";

*/
FacetedSearch.prototype.addFacet = function (endpoint, type, filterEndpointPrefix, filterEndpointParameterName) {
FacetedSearch.prototype.addFacet = function (endpoint, type, filterEndpointPostfix, filterEndpointParameterName) {
if (type === void 0) { type = 'single'; }
if (filterEndpointPrefix === void 0) { filterEndpointPrefix = ':FILTER'; }
if (filterEndpointPostfix === void 0) { filterEndpointPostfix = ':FILTER'; }
if (filterEndpointParameterName === void 0) { filterEndpointParameterName = 'value'; }
this._facets.push({
optionsEndpoint: endpoint,
filterEndpoint: "".concat(endpoint).concat(filterEndpointPrefix),
filterEndpoint: "".concat(endpoint).concat(filterEndpointPostfix),
filterParameterName: filterEndpointParameterName,

@@ -63,0 +63,0 @@ filterParameterValue: undefined,

{
"name": "@spinque/query-api",
"version": "0.9.3",
"version": "0.9.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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