@inkeep/agents-ui-cloud 0.0.0-dev-20260508234956 → 0.0.0-dev-20260509025038
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/components/default-settings.cjs +1 -1
- package/dist/components/default-settings.js +0 -1
- package/dist/components/hooks/use-base-settings.cjs +1 -1
- package/dist/components/hooks/use-base-settings.js +12 -20
- package/dist/index.d.cts +0 -6
- package/dist/index.d.ts +0 -6
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={headers:{}},t={env:"production",primaryBrandColor:"#0000",
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={headers:{}},t={env:"production",primaryBrandColor:"#0000",privacyPreferences:{optOutAnalyticalCookies:!1,optOutAllAnalytics:!1,optOutFunctionalCookies:!1}},a={apiKey:"",url:"https://api.inkeep.com"};exports.defaultInkeepAIChatSettings=e;exports.defaultInkeepBaseSettings=t;exports.defaultInkeepSearchSettings=a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@inkeep/agents-ui"),
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@inkeep/agents-ui"),g=require("../default-settings.cjs"),S=require("./use-user-properties.cjs"),f=require("../utils/transform-source/index.cjs"),d=i=>{const e=o.mergeProps(g.defaultInkeepBaseSettings,i??{}),u=S.useUserProperties(e),{transformSource:a}=e,c={userProperties:u,transformSource(r,s,t){const n=f.transformInkeepSource?.(r,s,t)??r;return a?.(n,s,t)??n}};return o.mergeProps(e,c)};exports.useBaseSettings=d;
|
|
@@ -1,32 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { mergeProps as n } from "@inkeep/agents-ui";
|
|
3
|
-
import { defaultInkeepBaseSettings as
|
|
3
|
+
import { defaultInkeepBaseSettings as f } from "../default-settings.js";
|
|
4
4
|
import { useUserProperties as p } from "./use-user-properties.js";
|
|
5
5
|
import { transformInkeepSource as u } from "../utils/transform-source/index.js";
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
),
|
|
11
|
-
analyticsApiBaseUrl: f,
|
|
12
|
-
// privacyPreferences,
|
|
13
|
-
// env,
|
|
14
|
-
transformSource: m
|
|
15
|
-
} = r;
|
|
6
|
+
const d = (i) => {
|
|
7
|
+
const e = n(
|
|
8
|
+
f,
|
|
9
|
+
i ?? {}
|
|
10
|
+
), m = p(e), { transformSource: a } = e;
|
|
16
11
|
return n(
|
|
17
|
-
|
|
12
|
+
e,
|
|
18
13
|
{
|
|
19
|
-
userProperties:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
transformSource(e, t, s) {
|
|
24
|
-
const o = u?.(e, t, s) ?? e;
|
|
25
|
-
return m?.(o, t, s) ?? o;
|
|
14
|
+
userProperties: m,
|
|
15
|
+
transformSource(r, t, s) {
|
|
16
|
+
const o = u?.(r, t, s) ?? r;
|
|
17
|
+
return a?.(o, t, s) ?? o;
|
|
26
18
|
}
|
|
27
19
|
}
|
|
28
20
|
);
|
|
29
21
|
};
|
|
30
22
|
export {
|
|
31
|
-
|
|
23
|
+
d as useBaseSettings
|
|
32
24
|
};
|
package/dist/index.d.cts
CHANGED
|
@@ -48,12 +48,6 @@ export declare interface InkeepCloudAIChatSettings extends InkeepAIChatSettings
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export declare interface InkeepCloudBaseSettings extends InkeepBaseSettings {
|
|
51
|
-
/**
|
|
52
|
-
* Custom base URL for analytics API endpoints.
|
|
53
|
-
* Useful when routing analytics requests through a proxy.
|
|
54
|
-
* Should include protocol (e.g., 'https://analytics.your-proxy.com')
|
|
55
|
-
*/
|
|
56
|
-
analyticsApiBaseUrl?: string;
|
|
57
51
|
/**
|
|
58
52
|
* Environment setting for the widget.
|
|
59
53
|
* Affects API endpoints and debug behaviors.
|
package/dist/index.d.ts
CHANGED
|
@@ -48,12 +48,6 @@ export declare interface InkeepCloudAIChatSettings extends InkeepAIChatSettings
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export declare interface InkeepCloudBaseSettings extends InkeepBaseSettings {
|
|
51
|
-
/**
|
|
52
|
-
* Custom base URL for analytics API endpoints.
|
|
53
|
-
* Useful when routing analytics requests through a proxy.
|
|
54
|
-
* Should include protocol (e.g., 'https://analytics.your-proxy.com')
|
|
55
|
-
*/
|
|
56
|
-
analyticsApiBaseUrl?: string;
|
|
57
51
|
/**
|
|
58
52
|
* Environment setting for the widget.
|
|
59
53
|
* Affects API endpoints and debug behaviors.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-ui-cloud",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260509025038",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Inkeep, Inc. Customer License (IICL) v1.1",
|
|
6
6
|
"homepage": "",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@radix-ui/react-use-controllable-state": "^1.1.0",
|
|
42
42
|
"lucide-react": "^0.503.0",
|
|
43
|
-
"@inkeep/agents-ui": "0.0.0-dev-
|
|
43
|
+
"@inkeep/agents-ui": "0.0.0-dev-20260509025038"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@biomejs/biome": "1.9.4",
|