@sparkvault/sdk-js 15.3.0 → 15.3.1
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/index.cjs +23 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.mjs +23 -6
- package/dist/index.mjs.map +1 -1
- package/dist/products/help-desk/client.d.ts +6 -0
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +1 -1
|
@@ -30,6 +30,9 @@ export declare class HelpDeskClient {
|
|
|
30
30
|
private websiteAccountSuppressed;
|
|
31
31
|
private ticketAccess;
|
|
32
32
|
private currentTicketPolicy;
|
|
33
|
+
/** Only this client's own sign-in ceremonies create credentials it may revoke on account switch. */
|
|
34
|
+
private readonly issuedSessions;
|
|
35
|
+
private ownsSession;
|
|
33
36
|
private constructor();
|
|
34
37
|
/** Discover a desk by its configured host, before any customer credentials are sent. */
|
|
35
38
|
static connect(config: ResolvedConfig, options: HelpDeskConnectOptions): Promise<HelpDeskClient>;
|
|
@@ -51,6 +54,8 @@ export declare class HelpDeskClient {
|
|
|
51
54
|
subscribeSession(listener: (change: HelpDeskSessionChange) => void): () => void;
|
|
52
55
|
/** Explicitly refresh the host-managed session, for example after a backend handoff. */
|
|
53
56
|
refreshSession(): Promise<string | null>;
|
|
57
|
+
/** Resume provider authority without starting its proof before an independent access gate. */
|
|
58
|
+
private resetProviderSession;
|
|
54
59
|
/** Whether company identity can be established without customer interaction. */
|
|
55
60
|
get hasIdentityProvider(): boolean;
|
|
56
61
|
/** The independent ticket gate must be met before rendering authenticated ticket UI. */
|
|
@@ -137,4 +142,5 @@ export declare class HelpDeskClient {
|
|
|
137
142
|
attachmentDownload(attachmentId: string, number: number): Promise<HelpDeskAttachmentDownload>;
|
|
138
143
|
/** Revoke this bearer, clearing only the session whose logout completed. */
|
|
139
144
|
logout(): Promise<void>;
|
|
145
|
+
private releaseSession;
|
|
140
146
|
}
|