@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 +5 -4
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/widget.js +1 -1
- package/package.json +1 -1
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
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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
|
|