@omni-commerce/sdk 0.29.0 → 0.30.0

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/react.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { CSSProperties, ReactNode } from 'react';
3
3
  import { OmniChatEmbedOptions, OmniApplicationChatOptions } from './embed.cjs';
4
4
  export { OmniApplicationOptions, OmniChatApplication, OmniChatSession, OmniFrontendTool } from './embed.cjs';
@@ -7,7 +7,7 @@ type OmniChatOptions = OmniChatEmbedOptions | OmniApplicationChatOptions;
7
7
  type OmniProviderProps = OmniChatOptions & {
8
8
  children: ReactNode;
9
9
  };
10
- declare function OmniProvider({ children, ...options }: OmniProviderProps): react_jsx_runtime.JSX.Element;
10
+ declare function OmniProvider({ children, ...options }: OmniProviderProps): react.JSX.Element;
11
11
  interface OmniChatProps {
12
12
  className?: string;
13
13
  style?: CSSProperties;
@@ -20,8 +20,8 @@ interface OmniChatLayoutProps {
20
20
  title?: string;
21
21
  }
22
22
  /** Full-height desktop docking; below 960px a launcher opens a full-height modal. */
23
- declare function OmniChatLayout({ children, className, title, }: OmniChatLayoutProps): react_jsx_runtime.JSX.Element;
23
+ declare function OmniChatLayout({ children, className, title, }: OmniChatLayoutProps): react.JSX.Element;
24
24
  /** The hosted assistant owns its styles and runtime, so the host needs no Tailwind or assistant-ui dependencies. */
25
- declare function OmniChat({ className, style, title, onRequestClose, }: OmniChatProps): react_jsx_runtime.JSX.Element;
25
+ declare function OmniChat({ className, style, title, onRequestClose, }: OmniChatProps): react.JSX.Element;
26
26
 
27
27
  export { OmniApplicationChatOptions, OmniChat, OmniChatEmbedOptions, OmniChatLayout, type OmniChatLayoutProps, type OmniChatProps, OmniProvider, type OmniProviderProps };
package/dist/react.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { CSSProperties, ReactNode } from 'react';
3
3
  import { OmniChatEmbedOptions, OmniApplicationChatOptions } from './embed.js';
4
4
  export { OmniApplicationOptions, OmniChatApplication, OmniChatSession, OmniFrontendTool } from './embed.js';
@@ -7,7 +7,7 @@ type OmniChatOptions = OmniChatEmbedOptions | OmniApplicationChatOptions;
7
7
  type OmniProviderProps = OmniChatOptions & {
8
8
  children: ReactNode;
9
9
  };
10
- declare function OmniProvider({ children, ...options }: OmniProviderProps): react_jsx_runtime.JSX.Element;
10
+ declare function OmniProvider({ children, ...options }: OmniProviderProps): react.JSX.Element;
11
11
  interface OmniChatProps {
12
12
  className?: string;
13
13
  style?: CSSProperties;
@@ -20,8 +20,8 @@ interface OmniChatLayoutProps {
20
20
  title?: string;
21
21
  }
22
22
  /** Full-height desktop docking; below 960px a launcher opens a full-height modal. */
23
- declare function OmniChatLayout({ children, className, title, }: OmniChatLayoutProps): react_jsx_runtime.JSX.Element;
23
+ declare function OmniChatLayout({ children, className, title, }: OmniChatLayoutProps): react.JSX.Element;
24
24
  /** The hosted assistant owns its styles and runtime, so the host needs no Tailwind or assistant-ui dependencies. */
25
- declare function OmniChat({ className, style, title, onRequestClose, }: OmniChatProps): react_jsx_runtime.JSX.Element;
25
+ declare function OmniChat({ className, style, title, onRequestClose, }: OmniChatProps): react.JSX.Element;
26
26
 
27
27
  export { OmniApplicationChatOptions, OmniChat, OmniChatEmbedOptions, OmniChatLayout, type OmniChatLayoutProps, type OmniChatProps, OmniProvider, type OmniProviderProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omni-commerce/sdk",
3
- "version": "0.29.0",
3
+ "version": "0.30.0",
4
4
  "description": "TypeScript SDK for the OmniCommerce API. Generated from the public OpenAPI spec.",
5
5
  "license": "MIT",
6
6
  "private": false,