@pontive/pontkit-core 1.7.5 → 1.7.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/catalog.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/index.js +295 -295
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1248 -1241
- package/dist/index.mjs.map +1 -1
- package/dist/utils/post-auth-destination.d.ts +6 -0
- package/package.json +1 -1
|
@@ -18,3 +18,9 @@ export interface PostAuthPage {
|
|
|
18
18
|
env: Pick<EnvConfig, "signinUrl" | "signupUrl" | "invitationUrl" | "signinRedirectUrl">;
|
|
19
19
|
}
|
|
20
20
|
export declare function postAuthDestination({ pathname, search, env }: PostAuthPage): string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the page was opened to answer an invitation: its query carries the
|
|
23
|
+
* token an invitation link does. Any page mounting a widget can be one — for a
|
|
24
|
+
* regular app it is the app's own sign-in page, its initiate_login_uri.
|
|
25
|
+
*/
|
|
26
|
+
export declare function answersInvitation(search: string): boolean;
|