@cocreate/crud-client
Advanced tools
Comparing version 1.33.4 to 1.33.5
{ | ||
"name": "@cocreate/crud-client", | ||
"version": "1.33.4", | ||
"version": "1.33.5", | ||
"description": "An useful CRUD api operate Create, read, update, delete with built in database. Can be used as a firebase alternative. Easily configured using HTML5 attributes and/or JavaScript API.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -178,2 +178,10 @@ /******************************************************************************** | ||
} else if (this.socket.clientId != data.clientId || data.updateDB) { | ||
// TODO: if database was updated due to host and environment handling | ||
if (data.updateDB) | ||
data.database = data.organization_id | ||
// TODO: returned from server socket.send authorize | ||
if (data.$filter && data.$filter.query && data.$filter.query._id && data.$filter.query._id.$eq === '$user_id') | ||
data.$filter.query.$eq = this.socket.user_id | ||
indexeddb.send({ ...data }) | ||
@@ -180,0 +188,0 @@ } |
Sorry, the diff of this file is too big to display
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
197397
515