@cocreate/crud-client
Advanced tools
Comparing version 1.28.9 to 1.28.10
{ | ||
"name": "@cocreate/crud-client", | ||
"version": "1.28.9", | ||
"version": "1.28.10", | ||
"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": [ |
@@ -155,3 +155,7 @@ /******************************************************************************** | ||
let response = await indexeddb.send({ | ||
clientId: data.clientId, | ||
frameId: data.frameId, | ||
socketId: data.socketId, | ||
method: 'update.' + type, | ||
array: data.array, | ||
[type]: data[type], | ||
@@ -164,6 +168,7 @@ $filter: { | ||
}, | ||
upsert: true, | ||
user_id: data.user_id, | ||
organization_id: data.organization_id | ||
}) | ||
if (response && response[type] && response[type].length) { | ||
@@ -170,0 +175,0 @@ console.log('crud synced: ', response) |
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
191718
561