diff --git a/node/constants.js b/node/constants.js index 59031ee1d8..dfc9562018 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 2fe4f9af50..7cdee1dcc4 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,