@cocreate/notification 1.5.0 → 1.5.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 +7 -0
- package/package.json +1 -1
- package/src/server.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.5.1](https://github.com/CoCreate-app/CoCreate-notification/compare/v1.5.0...v1.5.1) (2023-12-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* typo ([c784c30](https://github.com/CoCreate-app/CoCreate-notification/commit/c784c30a2de58eb3d3a0001986dbaacecb8abd09))
|
|
7
|
+
|
|
1
8
|
# [1.5.0](https://github.com/CoCreate-app/CoCreate-notification/compare/v1.4.0...v1.5.0) (2023-11-25)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/notification",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Simple HTML5 & JavaScript component add, update & remove values in element's notification from input, select or js api. Easily configured using HTML5 notification and/or JavaScript API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cocreate",
|
package/src/server.js
CHANGED
|
@@ -154,7 +154,7 @@ class CoCreateNotification {
|
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
const jwt = webpush.generateRequestDetails(subscription.endpoint, payload, tokenOptions);
|
|
157
|
-
const apiKey = getAPIKeyForEndpoint(
|
|
157
|
+
const apiKey = getAPIKeyForEndpoint(subscription.endpoint);
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
const options = {
|