New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cocreate/users

Package Overview
Dependencies
Maintainers
1
Versions
322
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocreate/users - npm Package Compare versions

Comparing version 1.29.0 to 1.30.0

14

package.json
{
"name": "@cocreate/users",
"version": "1.29.0",
"version": "1.30.0",
"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.4",
"@cocreate/crud-client": "^1.29.0",
"@cocreate/element-prototype": "^1.13.2",
"@cocreate/elements": "^1.26.4",
"@cocreate/local-storage": "^1.10.11",
"@cocreate/render": "^1.32.0"
"@cocreate/actions": "^1.13.0",
"@cocreate/crud-client": "^1.30.0",
"@cocreate/element-prototype": "^1.14.1",
"@cocreate/elements": "^1.27.1",
"@cocreate/local-storage": "^1.11.1",
"@cocreate/render": "^1.34.0"
}
}

@@ -178,6 +178,8 @@ /*globals CustomEvent, btoa*/

redirect: (data) => {
if (data.user_id && data.user_id !== Crud.socket.user_id)
if (data.user_id !== Crud.socket.user_id || data.clientId !== Crud.socket.clientId)
return
if (!data.user_id && data.clientId !== Crud.socket.clientId)
return
// if (data.user_id && data.user_id !== Crud.socket.user_id)
// return
// if (!data.user_id && data.clientId !== Crud.socket.clientId)
// return
if (data.userStatus == 'on' || data.userStatus == 'idle') {

@@ -184,0 +186,0 @@ let redirectTag = document.querySelector('[session="true"]');

@@ -116,2 +116,3 @@ class CoCreateUser {

user_id: data.user_id,
clientId: data.clientId,
userStatus: data.userStatus,

@@ -126,2 +127,3 @@ token: data.token,

userStatus: data.userStatus,
clientId: data.clientId,
token: data.token,

@@ -128,0 +130,0 @@ organization_id: data.organization_id || socket.organization_id

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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