@cocreate/authorize
Advanced tools
Comparing version 1.13.1 to 1.13.2
@@ -0,1 +1,8 @@ | ||
## [1.13.2](https://github.com/CoCreate-app/CoCreate-authorize/compare/v1.13.1...v1.13.2) (2024-01-30) | ||
### Bug Fixes | ||
* replaced this.user with $user_id ([4b3c672](https://github.com/CoCreate-app/CoCreate-authorize/commit/4b3c672fce83d96729900e2be08c93d4c36c97f8)) | ||
## [1.13.1](https://github.com/CoCreate-app/CoCreate-authorize/compare/v1.13.0...v1.13.1) (2024-01-17) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@cocreate/authorize", | ||
"version": "1.13.1", | ||
"version": "1.13.2", | ||
"description": "A simple authorize component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -235,3 +235,3 @@ (function (root, factory) { | ||
async function checkMethodOperators(data, key, value) { | ||
if (value === 'this.userId' && data.socket) | ||
if (value === '$user_Id' && data.socket) | ||
value = data.socket.user_id || data.user_id | ||
@@ -238,0 +238,0 @@ |
83674