@dhedge/backend-flatcoin-core 0.3.37 → 0.3.38

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.
@@ -59,7 +59,17 @@ let NotificationService = class NotificationService {
59
59
  async sendSlackMonitoringNotification(message, slackUri = this.slackMonitoringUri) {
60
60
  if (this.slackMonitoringUri) {
61
61
  try {
62
- await axios_1.default.post(slackUri, { text: message });
62
+ await axios_1.default.post(slackUri, {
63
+ blocks: [
64
+ {
65
+ type: 'section',
66
+ text: {
67
+ type: 'mrkdwn',
68
+ text: message,
69
+ },
70
+ },
71
+ ],
72
+ });
63
73
  }
64
74
  catch (error) {
65
75
  this.logger.error(`Error sending notification '${message}' to slack channel ${slackUri}`, error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhedge/backend-flatcoin-core",
3
- "version": "0.3.37",
3
+ "version": "0.3.38",
4
4
  "description": "Backend Flatcoin Core",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",