sf-i-events 1.0.825 → 1.0.826
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/dev/index.html +5 -0
- package/package.json +1 -1
- package/sf-i-events.js +246 -225
- package/src/sf-i-events.ts +244 -375
package/dev/index.html
CHANGED
|
@@ -774,6 +774,11 @@
|
|
|
774
774
|
function eraseCookie(name) {
|
|
775
775
|
document.cookie = name +'=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;';
|
|
776
776
|
}
|
|
777
|
+
|
|
778
|
+
let _sfIEvents = document.querySelector('sf-i-events');
|
|
779
|
+
_sfIEvents.addEventListener('tokenExpired', function(e) {
|
|
780
|
+
console.log('sf-i-events-token-expired', e.detail);
|
|
781
|
+
});
|
|
777
782
|
|
|
778
783
|
// setCookie('admin', 'false', 10);
|
|
779
784
|
// setCookie('accessToken', 'lswr0qwuyso6z6c1vu', 10);
|