astro-tokenkit 1.0.21 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/client/tk-client.js +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js.map +1 -1
- package/dist/middleware.cjs.map +1 -1
- package/dist/middleware.js.map +1 -1
- package/dist/types.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -149,6 +149,7 @@ Astro TokenKit automatically monitors user inactivity and closes the session acr
|
|
|
149
149
|
| :--- | :--- | :--- |
|
|
150
150
|
| `timeout` | `number` | **Required.** Inactivity timeout in seconds. |
|
|
151
151
|
| `autoLogout`| `boolean` | Whether to automatically trigger logout by calling the configured logout endpoint (default: `true`). |
|
|
152
|
+
| `reload` | `boolean` | Whether to reload the page after automatic logout (default: `true`). |
|
|
152
153
|
| `activeTabOnly` | `boolean` | Whether to track activity only on the active tab to save CPU/memory (default: `true`). |
|
|
153
154
|
| `alert` | `any` | Custom data to be passed to the `tk:idle` event. Ideal for configuring SweetAlert options. |
|
|
154
155
|
|
package/dist/client/tk-client.js
CHANGED