@useknest/widget-core 0.0.1-alpha.5 → 0.0.1-alpha.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.
@@ -6,7 +6,7 @@ export declare function getChatApiUrl(baseUrl?: string): string;
6
6
  export declare function getConfigApiUrl(baseUrl?: string): string;
7
7
  export declare const FALLBACK_ERROR_MESSAGE = "Sorry, I didn't get a response.";
8
8
  export declare const DEFAULT_ERROR_MESSAGE = "Unknown error occurred";
9
- export declare const DEFAULT_AVATAR_URL = "/default-avatar.svg";
9
+ export declare const DEFAULT_AVATAR_URL = "https://useknest.com/default-avatar.svg";
10
10
  export declare const DEFAULT_BRAND_COLOR = "#0d7a7f";
11
11
  export declare const DEFAULT_WELCOME_MESSAGE = "Hi! I'm your AI assistant. I'm trained to answer questions about your documentation. How can I help you today?";
12
12
  export declare const DEFAULT_EXAMPLE_QUESTIONS: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,yBAAyB,CAAC;AACvD,eAAO,MAAM,QAAQ,YAAY,CAAC;AAElC,wDAAwD;AACxD,wBAAgB,aAAa,CAAC,OAAO,GAAE,MAAyB,GAAG,MAAM,CAExE;AAED,wDAAwD;AACxD,wBAAgB,eAAe,CAAC,OAAO,GAAE,MAAyB,GAAG,MAAM,CAE1E;AAED,eAAO,MAAM,sBAAsB,oCAAoC,CAAC;AACxE,eAAO,MAAM,qBAAqB,2BAA2B,CAAC;AAC9D,eAAO,MAAM,kBAAkB,wBAAwB,CAAC;AACxD,eAAO,MAAM,mBAAmB,YAAY,CAAC;AAC7C,eAAO,MAAM,uBAAuB,mHAC6E,CAAC;AAClH,eAAO,MAAM,yBAAyB,UAIrC,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,yBAAyB,CAAC;AACvD,eAAO,MAAM,QAAQ,YAAY,CAAC;AAElC,wDAAwD;AACxD,wBAAgB,aAAa,CAAC,OAAO,GAAE,MAAyB,GAAG,MAAM,CAExE;AAED,wDAAwD;AACxD,wBAAgB,eAAe,CAAC,OAAO,GAAE,MAAyB,GAAG,MAAM,CAE1E;AAED,eAAO,MAAM,sBAAsB,oCAAoC,CAAC;AACxE,eAAO,MAAM,qBAAqB,2BAA2B,CAAC;AAC9D,eAAO,MAAM,kBAAkB,4CAA4C,CAAC;AAC5E,eAAO,MAAM,mBAAmB,YAAY,CAAC;AAC7C,eAAO,MAAM,uBAAuB,mHAC6E,CAAC;AAClH,eAAO,MAAM,yBAAyB,UAIrC,CAAC"}
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ function Wn(t = tn) {
6
6
  function qn(t = tn) {
7
7
  return `${t}${en}/widget-config`;
8
8
  }
9
- const Yn = "Sorry, I didn't get a response.", ie = "Unknown error occurred", Ra = "/default-avatar.svg", ka = "#0d7a7f", Aa = "Hi! I'm your AI assistant. I'm trained to answer questions about your documentation. How can I help you today?", xa = [
9
+ const Yn = "Sorry, I didn't get a response.", ie = "Unknown error occurred", Ra = "https://useknest.com/default-avatar.svg", ka = "#0d7a7f", Aa = "Hi! I'm your AI assistant. I'm trained to answer questions about your documentation. How can I help you today?", xa = [
10
10
  "How do I get started?",
11
11
  "What features are available?",
12
12
  "How do I integrate this?"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useknest/widget-core",
3
- "version": "0.0.1-alpha.5",
3
+ "version": "0.0.1-alpha.6",
4
4
  "type": "module",
5
5
  "description": "Core business logic for Knest chat widget",
6
6
  "files": [