From 5177ffdfa021014f7132bcf26ad8d6d8d5c04262 Mon Sep 17 00:00:00 2001 From: Kyle Peacock Date: Wed, 18 May 2022 13:49:39 -0700 Subject: [PATCH] feat: idlemanager reload by default (#570) * feature: adds a default callback to the idleManager By default, refreshes the page unless an alternative CB is provided during initialization or is registered after the fact * documentation: updating IdleManager readme and changelog * storage tests --- docs/generated/changelog.html | 7 + packages/auth-client/README.md | 52 ++++++- packages/auth-client/src/idleManager.test.ts | 29 +++- packages/auth-client/src/idleManager.ts | 12 +- packages/auth-client/src/index.test.ts | 142 ++++++++++++++++++- packages/auth-client/src/index.ts | 27 +++- 6 files changed, 250 insertions(+), 19 deletions(-) diff --git a/docs/generated/changelog.html b/docs/generated/changelog.html index 9d2ad0c19..e42febf40 100644 --- a/docs/generated/changelog.html +++ b/docs/generated/changelog.html @@ -10,6 +10,13 @@

Agent-JS Changelog

+

Version 0.11.2

+

Version 0.11.1