@sendity/client 0.1.2 → 0.1.4
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/dist/components/sendity.d.ts +8 -0
- package/dist/i18n/sendity.en.d.ts +2 -0
- package/dist/sendity-client.js +860 -768
- package/dist/tailwind.css +1 -1
- package/package.json +1 -1
|
@@ -40,6 +40,8 @@ export declare class Sendity extends HTMLElement {
|
|
|
40
40
|
private footerMessageEl;
|
|
41
41
|
private footerTimerEl;
|
|
42
42
|
private footerObserver;
|
|
43
|
+
private authStartObserver;
|
|
44
|
+
private authFlowStarted;
|
|
43
45
|
private footerWaitTimer;
|
|
44
46
|
private footerTransitionTimer;
|
|
45
47
|
private successTransitionTimer;
|
|
@@ -59,6 +61,7 @@ export declare class Sendity extends HTMLElement {
|
|
|
59
61
|
connectedCallback(): void;
|
|
60
62
|
disconnectedCallback(): void;
|
|
61
63
|
attributeChangedCallback(): void;
|
|
64
|
+
private startWhenVisible;
|
|
62
65
|
private start;
|
|
63
66
|
private stop;
|
|
64
67
|
private injectTailwind;
|
|
@@ -69,6 +72,9 @@ export declare class Sendity extends HTMLElement {
|
|
|
69
72
|
private showFooterWaitingState;
|
|
70
73
|
private startCountdown;
|
|
71
74
|
private stopCountdown;
|
|
75
|
+
private showExpiredState;
|
|
76
|
+
private renderExpiredAction;
|
|
77
|
+
private requestNewAuthRequest;
|
|
72
78
|
private handleInitialError;
|
|
73
79
|
private resolveConfig;
|
|
74
80
|
private parseAuthenticatedEventDelayMs;
|
|
@@ -91,6 +97,8 @@ export declare class Sendity extends HTMLElement {
|
|
|
91
97
|
private localeForLang;
|
|
92
98
|
private fetchAuthorizationAfterAuthenticatedSignal;
|
|
93
99
|
private updateCode;
|
|
100
|
+
private showPlaceholderCode;
|
|
101
|
+
private randomPlaceholderCode;
|
|
94
102
|
private renderError;
|
|
95
103
|
private showLoading;
|
|
96
104
|
private showCodeState;
|