@aicore/cocodb-ws-client
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "@aicore/cocodb-ws-client", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Websocket client for cocoDb", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -191,9 +191,6 @@ import {sendMessage} from "./client.js"; | ||
*/ | ||
export function getFromNonIndex(tableName, queryObject) { | ||
export function getFromNonIndex(tableName, queryObject = {}) { | ||
if (isStringEmpty(tableName)) { | ||
throw new Error('Please provide valid table name'); | ||
} | ||
if (isObjectEmpty(queryObject)) { | ||
throw new Error('Please provide valid queryObject'); | ||
} | ||
return sendMessage( | ||
@@ -200,0 +197,0 @@ { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59937
419