@inkeep/cxkit-docusaurus 0.0.0-dev-20250226174540 → 0.0.0-dev-20250226174841

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 strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=e=>e;exports.defineConfig=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=e=>{typeof window<"u"&&(window.InkeepConfig=e)};exports.defineConfig=n;
@@ -1,6 +1,6 @@
1
1
  import { PluginConfig } from './types';
2
2
  export type * from '@inkeep/cxkit-react';
3
- export declare const defineConfig: (config: PluginConfig) => PluginConfig;
3
+ export declare const defineConfig: (config: PluginConfig) => void;
4
4
  declare global {
5
5
  interface Window {
6
6
  InkeepConfig: PluginConfig;
@@ -1,6 +1,6 @@
1
1
  import { PluginConfig } from './types';
2
2
  export type * from '@inkeep/cxkit-react';
3
- export declare const defineConfig: (config: PluginConfig) => PluginConfig;
3
+ export declare const defineConfig: (config: PluginConfig) => void;
4
4
  declare global {
5
5
  interface Window {
6
6
  InkeepConfig: PluginConfig;
@@ -1,4 +1,6 @@
1
- const n = (e) => e;
1
+ const e = (n) => {
2
+ typeof window < "u" && (window.InkeepConfig = n);
3
+ };
2
4
  export {
3
- n as defineConfig
5
+ e as defineConfig
4
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/cxkit-docusaurus",
3
- "version": "0.0.0-dev-20250226174540",
3
+ "version": "0.0.0-dev-20250226174841",
4
4
  "description": "Docusaurus plugin for Inkeep Chat and Search components",
5
5
  "license": "Inkeep, Inc. Customer License (IICL) v1.1",
6
6
  "homepage": "",
@@ -35,12 +35,12 @@
35
35
  "typescript": "5.7.3",
36
36
  "vite": "5.4.11",
37
37
  "vite-plugin-dts": "4.4.0",
38
- "@inkeep/cxkit-types": "0.0.0-dev-20250226174540"
38
+ "@inkeep/cxkit-types": "0.0.0-dev-20250226174841"
39
39
  },
40
40
  "dependencies": {
41
41
  "merge-anything": "6.0.2",
42
42
  "path": "^0.12.7",
43
- "@inkeep/cxkit-react": "0.0.0-dev-20250226174540"
43
+ "@inkeep/cxkit-react": "0.0.0-dev-20250226174841"
44
44
  },
45
45
  "module": "dist/index.js",
46
46
  "types": "dist/index.d.ts",