@sparkvault/sdk-js 16.5.1 → 16.6.0
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 +17 -8
- package/dist/index.cjs +320 -146
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +61 -16
- package/dist/index.mjs +320 -146
- package/dist/index.mjs.map +1 -1
- package/dist/products/help-desk/client.d.ts +7 -0
- package/dist/products/help-desk/form-composer.d.ts +1 -1
- package/dist/products/help-desk/form-types.d.ts +45 -15
- package/dist/products/help-desk/form.d.ts +16 -6
- package/dist/products/help-desk/support-types.d.ts +8 -0
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -408,15 +408,24 @@ Its first step holds an editable Summary and Additional details: a short,
|
|
|
408
408
|
one-line question starts as the Summary, a longer one as the details. Files
|
|
409
409
|
attach from the details composer by its Attach control, paste or drop. A
|
|
410
410
|
verified website session sends from that step, named in a "Posting as" line,
|
|
411
|
-
without another login. Anonymous visitors continue to a second step
|
|
412
|
-
|
|
413
|
-
|
|
411
|
+
without another login. Anonymous visitors continue to a second step that asks
|
|
412
|
+
nothing: **Sign in and send** opens the native auth.SV Identity window, which
|
|
413
|
+
offers the accounts already signed in on the browser or a fresh sign-in, before
|
|
414
414
|
the request is sent. An inline (`target`) wizard asks before its page is left
|
|
415
|
-
with an unsent request. “
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
host's
|
|
415
|
+
with an unsent request. “Switch account” changes only the support account, once
|
|
416
|
+
the window answers with one (closing it changes nothing); “Sign out” ends the
|
|
417
|
+
support session without a window and revokes it, even a session the host lent
|
|
418
|
+
through `getSessionToken`, so a host that lends one must drop it when
|
|
419
|
+
`onSession` reports `null`. The host website's own login is untouched. Both
|
|
420
|
+
suppress website sign-in until “Use website account” is chosen, which is
|
|
421
|
+
offered once the visitor has switched away from the website account; a Sign
|
|
422
|
+
out alone does not offer it. Switch account, Sign out and Use website account
|
|
423
|
+
each carry idle, unsent summary and details to the next form and remove the
|
|
424
|
+
previous account's saved copy of the request. Files stay behind: the next form
|
|
425
|
+
asks for them again, unless Use website account finds no website account. A
|
|
426
|
+
request this tab saved for the account arrived at takes priority over the
|
|
427
|
+
carried text, restored with its own notice instead.
|
|
428
|
+
Destroy/recreate the widget when the host's actual customer changes.
|
|
420
429
|
|
|
421
430
|
Knowledge-base access and ticket-portal access remain independent. Passwords,
|
|
422
431
|
approved networks and employee membership are enforced by the API, including
|