From ae60bf90fdb312fc62d50b86115a820d2f85d526 Mon Sep 17 00:00:00 2001 From: SDargarh Date: Tue, 23 Jan 2024 15:31:32 +0530 Subject: [PATCH] Increased rate limit for validating pin --- CHANGELOG.md | 6 +++++- package-lock.json | 4 ++-- package.json | 2 +- src/config/index.js | 4 ++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 614c74f..2395bc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -610,4 +610,8 @@ ### 2.4.2 (2024-01-09) -* Updated bitcoin controller version \ No newline at end of file +* Updated bitcoin controller version + +### 2.4.3 (2024-01-23) + +* Increased rate limit for validating pin \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 3c68b03..b0c25b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@getsafle/safle-vault", - "version": "2.4.2", + "version": "2.4.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@getsafle/safle-vault", - "version": "2.4.2", + "version": "2.4.3", "license": "MIT", "dependencies": { "@getsafle/asset-controller": "^1.0.10", diff --git a/package.json b/package.json index 5d02445..6c3eb10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@getsafle/safle-vault", - "version": "2.4.2", + "version": "2.4.3", "description": "Safle Vault is a non-custodial, flexible and highly available crypto wallet which can be used to access dapps, send/receive crypto and store identity. Vault SDK is used to manage the vault and provide methods to generate vault, add new accounts, update the state and also enable the user to perform several vault related operations.", "main": "src/index.js", "scripts": { diff --git a/src/config/index.js b/src/config/index.js index d08d8fd..1151e99 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -1,6 +1,6 @@ module.exports = { DEFAULT_GAS_LIMIT: 40000, REQUEST_BLOCKED_TIMEOUT: 3600000, - TOKEN_WINDOW: 30000, - TOKEN_COUNT: 10, + TOKEN_WINDOW: 15000, + TOKEN_COUNT: 20, };