@dhedge/backend-flatcoin-core 0.3.37 → 0.3.39
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.
|
@@ -447,6 +447,7 @@ exports.getDepositsQuery = (0, graphql_request_1.gql) `
|
|
|
447
447
|
depositAmount
|
|
448
448
|
mintedAmount
|
|
449
449
|
blockNumber
|
|
450
|
+
transactionHash
|
|
450
451
|
}
|
|
451
452
|
}
|
|
452
453
|
`;
|
|
@@ -475,6 +476,7 @@ exports.getDepositsByDepositorAddressQuery = (0, graphql_request_1.gql) `
|
|
|
475
476
|
depositAmount
|
|
476
477
|
mintedAmount
|
|
477
478
|
blockNumber
|
|
479
|
+
transactionHash
|
|
478
480
|
}
|
|
479
481
|
}
|
|
480
482
|
`;
|
|
@@ -485,6 +487,7 @@ exports.getWithdrawsQuery = (0, graphql_request_1.gql) `
|
|
|
485
487
|
withdrawer
|
|
486
488
|
withdrawAmount
|
|
487
489
|
burnedAmount
|
|
490
|
+
transactionHash
|
|
488
491
|
}
|
|
489
492
|
}
|
|
490
493
|
`;
|
|
@@ -518,6 +521,7 @@ exports.getWithdrawsByWithdrawerAddressQuery = (0, graphql_request_1.gql) `
|
|
|
518
521
|
withdrawer
|
|
519
522
|
withdrawAmount
|
|
520
523
|
burnedAmount
|
|
524
|
+
transactionHash
|
|
521
525
|
}
|
|
522
526
|
}
|
|
523
527
|
`;
|
|
@@ -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, {
|
|
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);
|