@cocreate/organizations 1.13.3 → 1.13.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 +7 -0
- package/package.json +1 -1
- package/src/client.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.13.4](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.13.3...v1.13.4) (2023-05-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* socket.status renamed to socket.organization ([6eb9919](https://github.com/CoCreate-app/CoCreate-organizations/commit/6eb9919f1b41da5dc1891f3801c6dcf93301cdb5))
|
|
7
|
+
|
|
1
8
|
## [1.13.3](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.13.2...v1.13.3) (2023-05-11)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -21,8 +21,8 @@ const CoCreateOrganization = {
|
|
|
21
21
|
let organization_id = org._id
|
|
22
22
|
let key = org.key
|
|
23
23
|
|
|
24
|
-
if (
|
|
25
|
-
crud.socket.
|
|
24
|
+
if (crud.socket.organization !== true) {
|
|
25
|
+
crud.socket.organization = true
|
|
26
26
|
crud.socket.create({organization_id, key})
|
|
27
27
|
}
|
|
28
28
|
|