@cocreate/organizations 1.21.4 → 1.21.5
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 +8 -0
- package/package.json +5 -5
- package/src/client.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [1.21.5](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.21.4...v1.21.5) (2023-10-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump dependencies ([4224b61](https://github.com/CoCreate-app/CoCreate-organizations/commit/4224b61e8191de791280144b61335023613fc149))
|
|
7
|
+
* post.message action ([12411d6](https://github.com/CoCreate-app/CoCreate-organizations/commit/12411d610bcaaeecd735992f22384111d4f06eaf))
|
|
8
|
+
|
|
1
9
|
## [1.21.4](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.21.3...v1.21.4) (2023-10-09)
|
|
2
10
|
|
|
3
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/organizations",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.5",
|
|
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",
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
"webpack-log": "^3.0.1"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@cocreate/actions": "^1.11.
|
|
62
|
-
"@cocreate/config": "^1.6.
|
|
63
|
-
"@cocreate/crud-client": "^1.28.
|
|
64
|
-
"@cocreate/elements": "^1.23.
|
|
61
|
+
"@cocreate/actions": "^1.11.6",
|
|
62
|
+
"@cocreate/config": "^1.6.4",
|
|
63
|
+
"@cocreate/crud-client": "^1.28.4",
|
|
64
|
+
"@cocreate/elements": "^1.23.4"
|
|
65
65
|
}
|
|
66
66
|
}
|
package/src/client.js
CHANGED
|
@@ -136,7 +136,7 @@ async function getOrganizationFromServiceWorker() {
|
|
|
136
136
|
const msg = new MessageChannel();
|
|
137
137
|
navigator.serviceWorker.ready
|
|
138
138
|
.then(() => {
|
|
139
|
-
navigator.serviceWorker.controller.postMessage('getOrganization', [msg.port1]);
|
|
139
|
+
navigator.serviceWorker.controller.postMessage({ action: 'getOrganization' }, [msg.port1]);
|
|
140
140
|
})
|
|
141
141
|
.catch(reject);
|
|
142
142
|
});
|