@cocreate/users
Advanced tools
Comparing version 1.28.3 to 1.28.4
{ | ||
"name": "@cocreate/users", | ||
"version": "1.28.3", | ||
"version": "1.28.4", | ||
"description": "A simple users component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.", | ||
@@ -61,9 +61,9 @@ "keywords": [ | ||
"dependencies": { | ||
"@cocreate/actions": "^1.12.0", | ||
"@cocreate/crud-client": "^1.28.10", | ||
"@cocreate/element-prototype": "^1.11.7", | ||
"@cocreate/elements": "^1.25.1", | ||
"@cocreate/local-storage": "^1.10.7", | ||
"@cocreate/render": "^1.29.0" | ||
"@cocreate/actions": "^1.12.1", | ||
"@cocreate/crud-client": "^1.28.12", | ||
"@cocreate/element-prototype": "^1.11.8", | ||
"@cocreate/elements": "^1.25.2", | ||
"@cocreate/local-storage": "^1.10.8", | ||
"@cocreate/render": "^1.29.1" | ||
} | ||
} |
@@ -32,3 +32,3 @@ /*globals CustomEvent, btoa*/ | ||
let user = data[0] | ||
// data.method = 'create.object' | ||
// data.method = 'object.create' | ||
// data['array'] = array | ||
@@ -48,3 +48,3 @@ | ||
status: 'await', | ||
method: 'create.object', | ||
method: 'object.create', | ||
array: 'keys', | ||
@@ -93,3 +93,3 @@ object: { | ||
let request = { | ||
method: 'read.object', | ||
method: 'object.read', | ||
array: 'keys', | ||
@@ -96,0 +96,0 @@ $filter: { |
@@ -19,3 +19,3 @@ class CoCreateUser { | ||
if (data.user) { | ||
data.user.method = 'create.object' | ||
data.user.method = 'object.create' | ||
const response = await this.crud.send(data.user) | ||
@@ -26,3 +26,3 @@ this.wsManager.send(response); | ||
if (data.userKey) { | ||
data.userKey.method = 'create.object' | ||
data.userKey.method = 'object.create' | ||
const response = await this.crud.send(data.userKey) | ||
@@ -53,3 +53,3 @@ this.wsManager.send(response); | ||
try { | ||
data.method = 'read.object' | ||
data.method = 'object.read' | ||
let socket = data.socket | ||
@@ -111,3 +111,3 @@ delete data.socket | ||
data.method = 'update.object' | ||
data.method = 'object.update' | ||
data = await this.crud.send(data) | ||
@@ -114,0 +114,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
150189