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

@vivlab/api-database

Package Overview
Dependencies
Maintainers
3
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vivlab/api-database - npm Package Compare versions

Comparing version 1.0.36 to 1.0.37

2

dist/libraries/algoliasearch.d.ts

@@ -11,3 +11,3 @@ export interface AlgoliaOptions {

}
export declare function count({ indice, activeOnly }: AlgoliaOptions & {
export declare function count({ indice, activeOnly, stripeAccount }: AlgoliaOptions & {
activeOnly: boolean;

@@ -14,0 +14,0 @@ }): Promise<{

@@ -12,7 +12,7 @@ "use strict";

const PREFIX = process.env.NODE_ENV === "production" ? "prod" : "dev";
async function count({ indice, activeOnly }) {
async function count({ indice, activeOnly, stripeAccount }) {
const index = client.initIndex(indice);
const result = await index.search("", {
hitsPerPage: 0,
filters: activeOnly ? "active:true" : undefined
filters: activeOnly ? `_account:${stripeAccount} AND active:true` : undefined
});

@@ -19,0 +19,0 @@ return { count: result.nbHits };

{
"name": "@vivlab/api-database",
"version": "1.0.36",
"version": "1.0.37",
"description": "",

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

Sorry, the diff of this file is not supported yet

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