@quintype/framework 7.18.8-webengage.2 → 7.18.8
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
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [7.18.8](https://github.com/quintype/quintype-node-framework/compare/v7.18.7...v7.18.8) (2023-02-24)
|
|
6
|
+
|
|
5
7
|
### [7.18.7](https://github.com/quintype/quintype-node-framework/compare/v7.18.6...v7.18.7) (2023-02-21)
|
|
6
8
|
|
|
7
9
|
### [7.18.6](https://github.com/quintype/quintype-node-framework/compare/v7.18.4...v7.18.6) (2023-02-20)
|
package/package.json
CHANGED
|
@@ -24,7 +24,6 @@ exports.triggerWebengageNotifications = async function triggerWebengageNotificat
|
|
|
24
24
|
res.status(200).send("webengage event triggered successfully");
|
|
25
25
|
return;
|
|
26
26
|
} catch (error) {
|
|
27
|
-
console.log("webengage event failed");
|
|
28
27
|
res.status(500).send("webengage event failed");
|
|
29
28
|
return;
|
|
30
29
|
}
|
package/server/routes.js
CHANGED
|
@@ -23,7 +23,7 @@ const { redirectStory } = require("./handlers/story-redirect");
|
|
|
23
23
|
const { simpleJsonHandler } = require("./handlers/simple-json-handler");
|
|
24
24
|
const { makePickComponentSync } = require("../isomorphic/impl/make-pick-component-sync");
|
|
25
25
|
const { registerFCMTopic } = require("./handlers/fcm-registration-handler");
|
|
26
|
-
const { triggerWebengageNotifications } = require("./handlers/webengage");
|
|
26
|
+
const { triggerWebengageNotifications } = require("./handlers/webengage-notifications");
|
|
27
27
|
const rp = require("request-promise");
|
|
28
28
|
const bodyParser = require("body-parser");
|
|
29
29
|
const get = require("lodash/get");
|
|
@@ -430,7 +430,7 @@ exports.isomorphicRoutes = function isomorphicRoutes(
|
|
|
430
430
|
|
|
431
431
|
if (webengageConfig.enableWebengage) {
|
|
432
432
|
app.post(
|
|
433
|
-
"/webengage/trigger-notification",
|
|
433
|
+
"/integrations/webengage/trigger-notification",
|
|
434
434
|
bodyParser.json(),
|
|
435
435
|
withConfig(triggerWebengageNotifications, webengageConfig)
|
|
436
436
|
);
|