@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.
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={headers:{}},t={env:"production",primaryBrandColor:"#0000",analyticsApiBaseUrl:"https://api.io.inkeep.com",privacyPreferences:{optOutAnalyticalCookies:!1,optOutAllAnalytics:!1,optOutFunctionalCookies:!1}},a={apiKey:"",url:"https://api.inkeep.com"};exports.defaultInkeepAIChatSettings=e;exports.defaultInkeepBaseSettings=t;exports.defaultInkeepSearchSettings=a;
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;
@@ -4,7 +4,6 @@ const e = {
4
4
  }, t = {
5
5
  env: "production",
6
6
  primaryBrandColor: "#0000",
7
- analyticsApiBaseUrl: "https://api.io.inkeep.com",
8
7
  privacyPreferences: {
9
8
  optOutAnalyticalCookies: !1,
10
9
  // disable use of cookies for analytics. Default is false.
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@inkeep/agents-ui"),l=require("../default-settings.cjs"),d=require("./use-user-properties.cjs"),g=require("../utils/transform-source/index.cjs"),S=i=>{const s=o.mergeProps(l.defaultInkeepBaseSettings,i??{}),a=d.useUserProperties(s),{analyticsApiBaseUrl:m,transformSource:u}=s,c={userProperties:a,async onEvent(e){["modal_opened","modal_closed"].includes(e.eventName)},transformSource(e,t,r){const n=g.transformInkeepSource?.(e,t,r)??e;return u?.(n,t,r)??n}};return o.mergeProps(s,c)};exports.useBaseSettings=S;
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 c } from "../default-settings.js";
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 k = (a) => {
7
- const r = n(
8
- c,
9
- a ?? {}
10
- ), i = p(r), {
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
- r,
12
+ e,
18
13
  {
19
- userProperties: i,
20
- async onEvent(e) {
21
- ["modal_opened", "modal_closed"].includes(e.eventName);
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
- k as useBaseSettings
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-20260508234956",
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-20260508234956"
43
+ "@inkeep/agents-ui": "0.0.0-dev-20260509025038"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@biomejs/biome": "1.9.4",