diff --git a/package-lock.json b/package-lock.json index e55a33a3..f32cbc79 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@mojaloop/central-services-shared", - "version": "9.1.1", + "version": "9.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -248,9 +248,9 @@ } }, "@hapi/hoek": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.0.2.tgz", - "integrity": "sha512-LyibKv2QnD9BPI5g2L+g85yiIPv3ajYpENGFgy4u0xCLPhXWG1Zdx29neSB8sgX0/wz6k5TMjHzTwJ6+DaBYOA==" + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.0.3.tgz", + "integrity": "sha512-jKtjLLDiH95b002sJVc5c74PE6KKYftuyVdVmsuYId5stTaWcRFqE+5ukZI4gDUKjGn8wv2C3zPn3/nyjEI7gg==" } } }, @@ -345,9 +345,9 @@ } }, "@hapi/hoek": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-8.5.0.tgz", - "integrity": "sha512-7XYT10CZfPsH7j9F1Jmg1+d0ezOux2oM2GfArAzLwWe4mE2Dr3hVjsAL6+TFY49RRJlCdJDMw3nJsLFroTc8Kw==" + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-8.5.1.tgz", + "integrity": "sha512-yN7kbciD87WzLGc5539Tn0sApjyiGHAJgKvG9W8C7O+6c7qmoQMfVs0W4bX17eqz6C78QJqqFrtgdK5EWf6Qow==" }, "@hapi/iron": { "version": "5.1.4", diff --git a/package.json b/package.json index 22fffa26..33a79a94 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mojaloop/central-services-shared", - "version": "9.1.1", + "version": "9.1.2", "description": "Shared code for central services", "main": "src/index.js", "scripts": { diff --git a/src/enums/settlements.js b/src/enums/settlements.js index 8ff6775c..b2cd75f8 100644 --- a/src/enums/settlements.js +++ b/src/enums/settlements.js @@ -42,9 +42,20 @@ const SettlementInterchange = { MULTILATERAL: 2 } +const isActiveText = { + activated: 'activated', + disabled: 'disabled' +} +const booleanType = { + 0: false, + 1: true +} + module.exports = { SettlementWindowState, SettlementDelay, SettlementGranularity, - SettlementInterchange + SettlementInterchange, + isActiveText, + booleanType }