@cocreate/users 1.34.1 → 1.34.2

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,11 @@
1
+ ## [1.34.2](https://github.com/CoCreate-app/CoCreate-users/compare/v1.34.1...v1.34.2) (2024-02-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * hostname selector ([3b6d38d](https://github.com/CoCreate-app/CoCreate-users/commit/3b6d38d74a09cf72ff5440e2dc1647c5bc078675))
7
+ * Removed https://cdn.cocreate.app/latest/CoCreate.min.css ([aaa7944](https://github.com/CoCreate-app/CoCreate-users/commit/aaa79444b46077144b81f84c524dd49d9744622f))
8
+
1
9
  ## [1.34.1](https://github.com/CoCreate-app/CoCreate-users/compare/v1.34.0...v1.34.1) (2024-01-30)
2
10
 
3
11
 
package/docs/index.html CHANGED
@@ -21,11 +21,6 @@
21
21
  property="og:image"
22
22
  content="https://cdn.cocreate.app/docs/users.png" />
23
23
 
24
- <!-- CoCreate CSS -->
25
- <link
26
- rel="stylesheet"
27
- href="https://cdn.cocreate.app/latest/CoCreate.min.css"
28
- type="text/css" />
29
24
  <link
30
25
  rel="stylesheet"
31
26
  href="../index.css"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/users",
3
- "version": "1.34.1",
3
+ "version": "1.34.2",
4
4
  "description": "A simple users component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "users",
package/src/client.js CHANGED
@@ -242,7 +242,7 @@ const CoCreateUser = {
242
242
  if (origin)
243
243
  origin = await origin.getValue() || window.location.origin
244
244
 
245
- let hostname = action.form.querySelector('input[key="origin"]');
245
+ let hostname = action.form.querySelector('input[key="hostname"]');
246
246
  if (hostname)
247
247
  hostname = await hostname.getValue() || window.location.hostname
248
248
 
package/src/server.js CHANGED
@@ -222,6 +222,7 @@ class CoCreateUser {
222
222
  organization_id: data.organization_id
223
223
  }
224
224
 
225
+ // TODO: wsManager.emit('postmark', email) needs to await response
225
226
  self.wsManager.emit('postmark', email);
226
227
 
227
228
  break