@xuda.io/notification_module 1.1.43 → 1.1.44

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.
Files changed (2) hide show
  1. package/index.js +5 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -695,8 +695,12 @@ exports.get_system_notifications = async function (req) {
695
695
 
696
696
  // module.exports = notifications_validation_class;
697
697
 
698
- exports.notifications_validation_fx = async function (params) {
698
+ exports.notifications_validation_fx = async function (method, params) {
699
699
  const fx = {
700
700
  new_version_available: function () {},
701
701
  };
702
+
703
+ if (fx[method]) {
704
+ return await fx[method]();
705
+ }
702
706
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/notification_module",
3
- "version": "1.1.43",
3
+ "version": "1.1.44",
4
4
  "description": "Xuda Notification Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {