@cocreate/authenticate 1.9.2 → 1.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.9.4](https://github.com/CoCreate-app/CoCreate-authenticate/compare/v1.9.3...v1.9.4) (2024-10-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * read return only if session ([32dc8b8](https://github.com/CoCreate-app/CoCreate-authenticate/commit/32dc8b874532435003acbee3f432aedd925b9bdb))
7
+
8
+ ## [1.9.3](https://github.com/CoCreate-app/CoCreate-authenticate/compare/v1.9.2...v1.9.3) (2024-06-23)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * bump dependencies ([68de4b0](https://github.com/CoCreate-app/CoCreate-authenticate/commit/68de4b08f5d78c5db3610eacabe9892bf951f016))
14
+
1
15
  ## [1.9.2](https://github.com/CoCreate-app/CoCreate-authenticate/compare/v1.9.1...v1.9.2) (2024-06-23)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/authenticate",
3
- "version": "1.9.2",
3
+ "version": "1.9.4",
4
4
  "description": "A simple authenticate component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "authenticate",
package/src/index.js CHANGED
@@ -138,9 +138,9 @@ class CoCreateAuthenticate {
138
138
 
139
139
  if (client.object && client.object.length) {
140
140
  sessions.set(clientId, client.object[0].session)
141
+ return client.object[0].session
141
142
  }
142
143
 
143
- return client.object[0].session
144
144
  }
145
145
 
146
146
  }