@sendity/client 0.1.5 → 0.1.6
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 +5 -1
- package/dist/sendity-client.js +357 -291
- package/dist/tailwind.css +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,6 @@ type StoredAuthRequest = {
|
|
|
10
10
|
clientSecret: string;
|
|
11
11
|
};
|
|
12
12
|
export declare const HOSTED_SERVER_URL = "https://sendity.io/api";
|
|
13
|
-
export declare const HOSTED_VERIFY_URLS: string[];
|
|
14
13
|
export declare const AUTH_REQUEST_TTL_MS: number;
|
|
15
14
|
export declare const FOOTER_WAIT_DELAY_MS = 15000;
|
|
16
15
|
export declare const DEFAULT_AUTHENTICATED_EVENT_DELAY_MS = 2000;
|
|
@@ -55,6 +54,7 @@ export declare class Sendity extends HTMLElement {
|
|
|
55
54
|
private activeAuthRequestId?;
|
|
56
55
|
private activeAuthRequestSecret?;
|
|
57
56
|
private activeAuthRequestExpiresAt?;
|
|
57
|
+
private activeVerifyUrls;
|
|
58
58
|
private authenticated;
|
|
59
59
|
private static tailwindCssText;
|
|
60
60
|
private static tailwindLoading;
|
|
@@ -63,6 +63,8 @@ export declare class Sendity extends HTMLElement {
|
|
|
63
63
|
connectedCallback(): void;
|
|
64
64
|
disconnectedCallback(): void;
|
|
65
65
|
attributeChangedCallback(): void;
|
|
66
|
+
private isNoCardVariant;
|
|
67
|
+
private syncLayoutVariant;
|
|
66
68
|
private startWhenVisible;
|
|
67
69
|
private start;
|
|
68
70
|
private stop;
|
|
@@ -92,6 +94,7 @@ export declare class Sendity extends HTMLElement {
|
|
|
92
94
|
private dispatchPublicEvent;
|
|
93
95
|
private toPublicAuthenticatedDetail;
|
|
94
96
|
private primaryChannel;
|
|
97
|
+
private applyVerifyUrlsFromResponse;
|
|
95
98
|
private authRequestStatusUrl;
|
|
96
99
|
private authRequestStatusInit;
|
|
97
100
|
private extractClientSecret;
|
|
@@ -107,6 +110,7 @@ export declare class Sendity extends HTMLElement {
|
|
|
107
110
|
private showLoading;
|
|
108
111
|
private showCodeState;
|
|
109
112
|
private showSuccess;
|
|
113
|
+
private verifiedSigningInMessage;
|
|
110
114
|
private destinationAddressForChannel;
|
|
111
115
|
private escapeHtml;
|
|
112
116
|
private renderVerifiers;
|