@sparkvault/sdk-js 18.0.4 → 18.0.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/README.md CHANGED
@@ -469,14 +469,15 @@ uncertain submission must be selected again after reload. If storage is
469
469
  unavailable, the live wizard continues in memory.
470
470
 
471
471
  The wizard searches the same published index as the desk's knowledge base,
472
- locally; the visitor's question is not uploaded for search. Articles open inside
473
- the widget, with a link to the canonical page. Explicit helpful feedback or
474
- contact intent records content-free assistance analytics; closing records no
472
+ locally; the visitor's question is not uploaded for search. Articles and FAQ answers open inside
473
+ the widget, with a link to the canonical page. Displayed answers record a view, and
474
+ Yes / No feedback uses the help center's browser visitor. Article and FAQ reports
475
+ remain separate. Explicit helpful feedback or
476
+ contact intent also records content-free assistance analytics; closing records no
475
477
  invented outcome. Search outages and protected articles are separate states,
476
- with contact still available subject to its own access policy. Republish older
477
- KB releases once to generate their in-widget reader documents; the canonical
478
- help-center link remains available. Help Desk > Settings > General can set a
479
- short note shown beside the "Still need help? Open a ticket" button under the
478
+ with contact still available subject to its own access policy. Publishing generates
479
+ in-widget reader documents and the canonical help-center pages together. Help Desk > Settings > General can set a
480
+ short note shown beside the "Still need help? Open a support ticket" button under the
480
481
  suggestions, such as who answers and how soon. The optional public desk field
481
482
  is `ticket_contact_note` (one line, up to 160 characters); null or omission
482
483
  shows no note. It is rendered as text, never HTML.
@@ -573,6 +574,19 @@ const form = await sv.products.helpDesk.mountForm({
573
574
 
574
575
  Call `form.destroy()` when your component unmounts or your website customer changes.
575
576
 
577
+ When a desk uses OAuth sign-in (`auth_mode: 'oauth2'`), a signed-out form offers
578
+ a link to the hosted help desk before asking the customer to write a request.
579
+ The link opens in a new tab, keeping the original page in place.
580
+ The portal sends the customer to the configured identity provider and receives
581
+ the standard OAuth callback. The embedding website supplies no assertion or
582
+ provider token. Any draft already on the embedding page stays there, available
583
+ to copy; it is not transferred in a URL. An existing desk customer session can
584
+ still use the form normally. When `oauth_identity.guest_email` is true, the
585
+ portal also offers the independent email sign-in window for requests made
586
+ under an email identity. The customer chooses it explicitly; an OAuth failure
587
+ never starts it automatically, and matching email addresses do not link the
588
+ two identities' request history.
589
+
576
590
  The form handles a summary and details, screenshots and files, the desk's email-code flow (pasted
577
591
  codes, sending a new code, using a different email), a missing display name,
578
592
  submitting once, and retrying the same draft after an uncertain response.