From d1b5e245c42fc61f4639ece43078cd36c2677ffb Mon Sep 17 00:00:00 2001 From: Kyle Peacock Date: Fri, 1 Apr 2022 13:50:21 -0700 Subject: [PATCH] chore: reduces default delegation expiration to 8 hours (#550) * Sets default timeout to 8 hours also updates Readme and JSDOC * example for create * additional documentation * changelog * keydown instead of deprecated keypress --- docs/generated/changelog.html | 1 + packages/auth-client/README.md | 31 +++++-- packages/auth-client/src/idleManager.test.ts | 2 +- packages/auth-client/src/idleManager.ts | 44 +++++---- packages/auth-client/src/index.ts | 98 ++++++++++++++++++-- 5 files changed, 140 insertions(+), 36 deletions(-) diff --git a/docs/generated/changelog.html b/docs/generated/changelog.html index 6b3ead8fd..138919cb3 100644 --- a/docs/generated/changelog.html +++ b/docs/generated/changelog.html @@ -22,6 +22,7 @@

Version 0.10.5

of logging the user out and prompting re-authentication. See the @dfinity/auth-client Readme for more details +
  • Reduces the maxTimeToLive default setting from 24 hours to 8
  • Version 0.10.3