Добавить систему поддержки SHiNE

This commit is contained in:
AidarKC
2026-11-12 11:01:31 +03:00
parent 6b120731a3
commit c97df82538
34 changed files with 1323 additions and 52 deletions
+10
View File
@@ -1598,6 +1598,16 @@ export class AuthService {
return response.payload || {};
}
async getSupportTotals(channel) {
const payload = {
channelRootBlockNumber: Number(channel?.channelRootBlockNumber),
channelRootBlockHash: String(channel?.channelRootBlockHash || '').trim(),
};
const response = await this.ws.request('GetSupportTotals', payload);
if (response.status !== 200) throw opError('GetSupportTotals', response);
return response.payload || {};
}
async getMessageThread(message, depthUp = 20, depthDown = 2, limitChildrenPerNode = 50, login = '') {
const normalizedMessage = {
blockchainName: String(message?.blockchainName || '').trim(),