@skippr/live-agent-sdk 0.95.0 → 0.96.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 +2 -2
- package/dist/esm/lib-exports.js +5 -5
- package/dist/skippr-sdk.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,9 +19,9 @@ Embed product specialists that see, speak, and act in real time. Configure **mod
|
|
|
19
19
|
|
|
20
20
|
## Prerequisites
|
|
21
21
|
|
|
22
|
-
You need an `appKey` from the [Skippr Platform](https://
|
|
22
|
+
You need an `appKey` from the [Skippr Platform](https://app.skippr.ai/).
|
|
23
23
|
|
|
24
|
-
1. **Sign up** at [
|
|
24
|
+
1. **Sign up** at [app.skippr.ai](https://app.skippr.ai/)
|
|
25
25
|
2. **Create your modules** in the dashboard — for example an `onboarding` agent to walk new users through setup and a `support` module for help. Every active module shows up in the widget's picker automatically.
|
|
26
26
|
3. **Create an App Key** in Settings and copy the `appKey` — one App Key works for all your modules
|
|
27
27
|
|
package/dist/esm/lib-exports.js
CHANGED
|
@@ -3341,7 +3341,7 @@ function subscribeToLocationChange(listener) {
|
|
|
3341
3341
|
}
|
|
3342
3342
|
|
|
3343
3343
|
// src/hooks/useAdoptionGoals.ts
|
|
3344
|
-
var API_URL = "https://
|
|
3344
|
+
var API_URL = "https://app.skippr.ai/api";
|
|
3345
3345
|
var MATCH_DEBOUNCE_MS = 400;
|
|
3346
3346
|
function useAdoptionGoals({
|
|
3347
3347
|
enabled,
|
|
@@ -3415,7 +3415,7 @@ function useAdoptionGoals({
|
|
|
3415
3415
|
|
|
3416
3416
|
// src/hooks/useAuth.ts
|
|
3417
3417
|
import { useCallback as useCallback12, useEffect as useEffect13, useState as useState11 } from "react";
|
|
3418
|
-
var API_URL2 = "https://
|
|
3418
|
+
var API_URL2 = "https://app.skippr.ai/api";
|
|
3419
3419
|
function storageKey(appKey) {
|
|
3420
3420
|
return `skippr_auth_${appKey}`;
|
|
3421
3421
|
}
|
|
@@ -3695,7 +3695,7 @@ function useAutoStart({
|
|
|
3695
3695
|
// src/hooks/useAvailableModules.ts
|
|
3696
3696
|
import { useCallback as useCallback13, useEffect as useEffect15, useRef as useRef13, useState as useState12 } from "react";
|
|
3697
3697
|
var EMPTY_DEFAULT = { agentId: null, sessionId: null };
|
|
3698
|
-
var API_URL3 = "https://
|
|
3698
|
+
var API_URL3 = "https://app.skippr.ai/api";
|
|
3699
3699
|
function useAvailableModules({
|
|
3700
3700
|
enabled,
|
|
3701
3701
|
bearerToken,
|
|
@@ -3839,7 +3839,7 @@ function usePlanUpdates() {
|
|
|
3839
3839
|
|
|
3840
3840
|
// src/hooks/useSession.ts
|
|
3841
3841
|
import { useCallback as useCallback15, useEffect as useEffect18, useRef as useRef14, useState as useState15 } from "react";
|
|
3842
|
-
var API_URL4 = "https://
|
|
3842
|
+
var API_URL4 = "https://app.skippr.ai/api";
|
|
3843
3843
|
async function fetchSessionMessages(sessionId, authedFetch) {
|
|
3844
3844
|
try {
|
|
3845
3845
|
const resp = await authedFetch(`${API_URL4}/v1/sessions/${sessionId}/messages`);
|
|
@@ -4197,7 +4197,7 @@ function useSession({
|
|
|
4197
4197
|
|
|
4198
4198
|
// src/hooks/useSessionHistory.ts
|
|
4199
4199
|
import { useEffect as useEffect19, useState as useState16 } from "react";
|
|
4200
|
-
var API_URL5 = "https://
|
|
4200
|
+
var API_URL5 = "https://app.skippr.ai/api";
|
|
4201
4201
|
var EMPTY = { messages: [], phases: [] };
|
|
4202
4202
|
function useSessionHistory({
|
|
4203
4203
|
agentId,
|