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

@aicore/coco-db-client

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aicore/coco-db-client - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

14

package.json
{
"name": "@aicore/coco-db-client",
"version": "1.0.15",
"version": "1.0.16",
"description": "JS client for cocoDb",

@@ -52,10 +52,10 @@ "main": "src/index.js",

"devDependencies": {
"@commitlint/cli": "17.3.0",
"@commitlint/config-conventional": "17.3.0",
"c8": "7.12.0",
"@commitlint/cli": "17.5.1",
"@commitlint/config-conventional": "17.4.4",
"c8": "7.13.0",
"chai": "4.3.7",
"cli-color": "2.0.3",
"documentation": "14.0.1",
"eslint": "8.31.0",
"glob": "8.0.3",
"eslint": "8.37.0",
"glob": "8.1.0",
"husky": "8.0.3",

@@ -65,5 +65,5 @@ "mocha": "10.2.0"

"dependencies": {
"node-fetch": "3.3.0",
"node-fetch": "3.3.1",
"@aicore/libcommonutils": "1.0.19"
}
}

@@ -84,5 +84,7 @@ // @INCLUDE_IN_API_DOCS

* @param documentId - The documentId of the document you want to delete.
* @param {string} [condition] - Optional coco query condition of the form "$.cost<35" that must be satisfied
* for delete to happen. See query API for more details on how to write coco query strings.
* @returns A promise
*/
export function deleteDocument(tableName, documentId) {
export function deleteDocument(tableName, documentId, condition) {
if (isStringEmpty(tableName)) {

@@ -96,3 +98,4 @@ throw new Error('Please provide valid table Name');

tableName: tableName,
documentId: documentId
documentId: documentId,
condition
});

@@ -99,0 +102,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