@cocreate/organizations 1.14.0 → 1.14.1

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,10 @@
1
+ ## [1.14.1](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.14.0...v1.14.1) (2023-05-20)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update packages to latest version. This commit updates various packages in the dependencies section of the package.json file to their latest published versions, thereby fixing multiple bugs and improving overall performance. ([0350a07](https://github.com/CoCreate-app/CoCreate-organizations/commit/0350a07f26027496324961c70da3350f42315b5a))
7
+
1
8
  # [1.14.0](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.13.4...v1.14.0) (2023-05-18)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/organizations",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "description": "A simple organizations component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "organizations",
@@ -59,10 +59,10 @@
59
59
  "webpack-log": "^3.0.1"
60
60
  },
61
61
  "dependencies": {
62
- "@cocreate/actions": "^1.8.8",
63
- "@cocreate/crud-client": "^1.20.4",
64
- "@cocreate/docs": "^1.7.8",
65
- "@cocreate/form": "^1.14.6",
66
- "@cocreate/indexeddb": "^1.8.6"
62
+ "@cocreate/actions": "^1.8.11",
63
+ "@cocreate/crud-client": "^1.21.2",
64
+ "@cocreate/docs": "^1.7.11",
65
+ "@cocreate/form": "^1.14.11",
66
+ "@cocreate/indexeddb": "^1.9.3"
67
67
  }
68
68
  }
package/src/server.js CHANGED
@@ -30,6 +30,7 @@ class CoCreateOrganization {
30
30
  owner: data.user._id
31
31
  }
32
32
 
33
+ // TODO: check if user exist and check if credentials match
33
34
  const user = {
34
35
  _id: data.user._id,
35
36
  name: data.user.name || 'Admin',