@xuda.io/notification_module 1.1.42 → 1.1.43
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/index.js +14 -10
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -683,16 +683,20 @@ exports.get_system_notifications = async function (req) {
|
|
|
683
683
|
// // console.log(aa);
|
|
684
684
|
// }, 2000);
|
|
685
685
|
|
|
686
|
-
|
|
686
|
+
// class notifications_validation_class {
|
|
687
|
+
// constructor(name) {
|
|
688
|
+
// this.name = name;
|
|
689
|
+
// }
|
|
687
690
|
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
691
|
+
// new_version_available(params) {
|
|
692
|
+
// console.log(`Hello, my name is ${this.name}`);
|
|
693
|
+
// }
|
|
694
|
+
// }
|
|
692
695
|
|
|
693
|
-
|
|
694
|
-
console.log(`Hello, my name is ${this.name}`);
|
|
695
|
-
}
|
|
696
|
-
}
|
|
696
|
+
// module.exports = notifications_validation_class;
|
|
697
697
|
|
|
698
|
-
|
|
698
|
+
exports.notifications_validation_fx = async function (params) {
|
|
699
|
+
const fx = {
|
|
700
|
+
new_version_available: function () {},
|
|
701
|
+
};
|
|
702
|
+
};
|