From f630b5fb393f38a7a0623756d3ad932eba20734c Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 5 Mar 2024 01:18:22 +0000 Subject: [PATCH] chore: update node constants --- node/constants.js | 3 +++ node/lib/constants.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/node/constants.js b/node/constants.js index 59031ee1d..dfc956201 100644 --- a/node/constants.js +++ b/node/constants.js @@ -115,6 +115,9 @@ module.exports = { DC_PROVIDER_STATUS_BROKEN: 3, DC_PROVIDER_STATUS_OK: 1, DC_PROVIDER_STATUS_PREPARATION: 2, + DC_PUSH_CONNECTED: 2, + DC_PUSH_HEARTBEAT: 1, + DC_PUSH_NOT_CONNECTED: 0, DC_QR_ACCOUNT: 250, DC_QR_ADDR: 320, DC_QR_ASK_VERIFYCONTACT: 200, diff --git a/node/lib/constants.ts b/node/lib/constants.ts index 2fe4f9af5..7cdee1dcc 100644 --- a/node/lib/constants.ts +++ b/node/lib/constants.ts @@ -115,6 +115,9 @@ export enum C { DC_PROVIDER_STATUS_BROKEN = 3, DC_PROVIDER_STATUS_OK = 1, DC_PROVIDER_STATUS_PREPARATION = 2, + DC_PUSH_CONNECTED = 2, + DC_PUSH_HEARTBEAT = 1, + DC_PUSH_NOT_CONNECTED = 0, DC_QR_ACCOUNT = 250, DC_QR_ADDR = 320, DC_QR_ASK_VERIFYCONTACT = 200,