keystone-design-bootstrap 1.0.105-dev.0 → 1.0.105
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/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/design_system/components/ChatWidget.tsx +1 -1
- package/src/lib/chat-backend-constants.ts +8 -0
- package/src/lib/chat-backend.ts +5 -4
- package/src/next/layouts/root-layout.tsx +11 -2
package/dist/index.d.ts
CHANGED
|
@@ -42,6 +42,11 @@ interface ResolvedCtaUrls {
|
|
|
42
42
|
}
|
|
43
43
|
declare function resolveCtaUrls(companyInformation?: CompanyInformation | null): ResolvedCtaUrls;
|
|
44
44
|
|
|
45
|
+
/**
|
|
46
|
+
* Chat backend identifiers — isomorphic (safe to import from client
|
|
47
|
+
* components; no server-only dependencies). Backend *resolution* lives in
|
|
48
|
+
* ./chat-backend (server-only: reads env, logs via server-log).
|
|
49
|
+
*/
|
|
45
50
|
declare const RAILS_BACKEND: "rails";
|
|
46
51
|
declare const SOR_BACKEND: "sor";
|
|
47
52
|
type ChatBackend = typeof RAILS_BACKEND | typeof SOR_BACKEND;
|
package/dist/index.js
CHANGED
|
@@ -20175,7 +20175,7 @@ function useRealtimeReplyOrchestrator({
|
|
|
20175
20175
|
};
|
|
20176
20176
|
}
|
|
20177
20177
|
|
|
20178
|
-
// src/lib/chat-backend.ts
|
|
20178
|
+
// src/lib/chat-backend-constants.ts
|
|
20179
20179
|
var RAILS_BACKEND = "rails";
|
|
20180
20180
|
var SOR_BACKEND = "sor";
|
|
20181
20181
|
|