@bodhiapp/bodhi-js-react-ext 0.0.18 → 0.0.20

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,5 +1,5 @@
1
- import { ExtUIClientParams } from '../../ext/src/index.ts';
2
- import { BodhiProviderProps as CoreBodhiProviderProps, UIClient } from '../../react-core/src/index.ts';
1
+ import { ExtUIClientParams } from '@bodhiapp/bodhi-js-ext';
2
+ import { BodhiProviderProps as CoreBodhiProviderProps, UIClient } from '@bodhiapp/bodhi-js-react-core';
3
3
  export interface BodhiProviderProps extends Omit<CoreBodhiProviderProps, 'client'> {
4
4
  authClientId?: string;
5
5
  clientConfig?: ExtUIClientParams;
@@ -4,4 +4,4 @@
4
4
  * Usage:
5
5
  * import type { CreateChatCompletionRequest, Model } from '@bodhiapp/bodhi-js-react-ext/api';
6
6
  */
7
- export * from '../../../core/src/api/index.ts';
7
+ export * from '@bodhiapp/bodhi-js-core/api';
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * For advanced usage with custom client configuration, use @bodhiapp/bodhi-js-react-core.
6
6
  */
7
7
  export { BodhiProvider, type BodhiProviderProps } from './BodhiProvider';
8
- export { ExtUIClient, type ExtUIClientParams, BodhiExtClient } from '../../ext/src/index.ts';
9
- export { BodhiReactContext, useBodhi, type BodhiContext, type SetupState, type ClientContextState, type ClientContextStatus, INITIAL_CLIENT_CONTEXT_STATE, INITIALIZING_CLIENT_CONTEXT_STATE, ClientCtxState, clientStateToContextState, isClientCtxInitialized, isClientCtxInitializing, isClientCtxNotInitialized, isClientCtxReady, isOverallReady, type ApiResponseResult, type ClientState, type AuthState, type UIClient, type LogLevel, type OperationError, isApiResultError, isApiResultOperationError, isApiResultSuccess, isDirectState, isExtensionState, isWebUIClient, isAuthError, isAuthLoading, isAuthenticated, isClientReady, isOperationError, createApiError, createOperationError, BodhiBadge, type BodhiBadgeProps, type BodhiBadgeSize, type BodhiBadgeVariant, } from '../../react-core/src/index.ts';
8
+ export { ExtUIClient, type ExtUIClientParams, BodhiExtClient } from '@bodhiapp/bodhi-js-ext';
9
+ export { BodhiReactContext, useBodhi, type BodhiContext, type SetupState, type ClientContextState, type ClientContextStatus, INITIAL_CLIENT_CONTEXT_STATE, INITIALIZING_CLIENT_CONTEXT_STATE, ClientCtxState, clientStateToContextState, isClientCtxInitialized, isClientCtxInitializing, isClientCtxNotInitialized, isClientCtxReady, isOverallReady, type ApiResponseResult, type ClientState, type AuthState, type UIClient, type LogLevel, type OperationError, isApiResultError, isApiResultOperationError, isApiResultSuccess, isDirectState, isExtensionState, isWebUIClient, isAuthError, isAuthLoading, isAuthenticated, isClientReady, isOperationError, createApiError, createOperationError, BodhiBadge, type BodhiBadgeProps, type BodhiBadgeSize, type BodhiBadgeVariant, } from '@bodhiapp/bodhi-js-react-core';
10
10
  export { BUILD_MODE as REACT_EXT_BUILD_MODE } from './build-info';
11
- export { EXT_BUILD_MODE } from '../../ext/src/index.ts';
11
+ export { EXT_BUILD_MODE } from '@bodhiapp/bodhi-js-ext';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bodhiapp/bodhi-js-react-ext",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "description": "React bindings for Bodhi Browser SDK with ExtUIClient preset (Chrome Extension)",
5
5
  "type": "module",
6
6
  "main": "dist/bodhi-react-ext.cjs.js",
@@ -42,8 +42,10 @@
42
42
  "typecheck": "tsc --noEmit"
43
43
  },
44
44
  "dependencies": {
45
- "@bodhiapp/bodhi-js-react-core": "0.0.18",
46
- "@bodhiapp/bodhi-js-ext": "0.0.18"
45
+ "@bodhiapp/bodhi-browser-types": "0.0.20",
46
+ "@bodhiapp/setup-modal-types": "0.0.20",
47
+ "@bodhiapp/bodhi-js-react-core": "0.0.20",
48
+ "@bodhiapp/bodhi-js-ext": "0.0.20"
47
49
  },
48
50
  "peerDependencies": {
49
51
  "react": "^18.3.0 || ^19.0.0"