@askly/widget 2.7.0 → 2.8.0

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 CHANGED
@@ -108,10 +108,11 @@ const hash = crypto
108
108
 
109
109
  Without a valid `hash` the traits are still used locally, but Askly will not link the accounts.
110
110
 
111
- > **Known limitation:** a signature is accepted for 5 minutes from its `timestamp`. On a page that
112
- > stays open longer, call `Askly.identify()` again with a freshly generated `hash` and `timestamp`
113
- > (for example on a timer, or before the user opens the chat). If `identify()` is rejected, the
114
- > reason is logged to the browser console.
111
+ The `hash` only has to be fresh at the moment `identify()` (or `init()`) runs: it is valid for 5
112
+ minutes from its `timestamp`. Once Askly has verified it, the widget holds a session for that user
113
+ and keeps renewing it, so a page that stays open for hours keeps working without a new hash. If
114
+ `identify()` is rejected, the reason is logged to the browser console and messages are sent as
115
+ the anonymous visitor.
115
116
 
116
117
  #### Logging out
117
118