@bodhiapp/bodhi-js-ext 0.0.33 → 0.0.34

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,6 +1,6 @@
1
1
  import { UserInfo } from '@bodhiapp/bodhi-js-core';
2
2
  import { ApiRequest, ApiResponse, ExtRequest, ExtResponse, OperationErrorResponse } from '@bodhiapp/bodhi-browser-types';
3
- import { ErrorResponse } from '@bodhiapp/ts-client/openai';
3
+ import { BodhiErrorResponse } from '@bodhiapp/ts-client';
4
4
  import { EXT2EXT_CLIENT_MESSAGE_TYPES } from './constants';
5
5
  export type ExtClientApiRequest<T = unknown> = ApiRequest<T> & {
6
6
  authenticated?: boolean;
@@ -114,7 +114,7 @@ export interface ExtClientStreamChunkMessage<TRes = unknown> {
114
114
  export interface ExtClientStreamApiErrorMessage {
115
115
  type: typeof EXT2EXT_CLIENT_MESSAGE_TYPES.EXT2EXT_CLIENT_STREAM_API_ERROR;
116
116
  requestId: string;
117
- response: ApiResponse<ErrorResponse>;
117
+ response: ApiResponse<BodhiErrorResponse>;
118
118
  }
119
119
  /**
120
120
  * Streaming error message - same format as StreamErrorMessage from bodhi-browser-ext
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bodhiapp/bodhi-js-ext",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "description": "Extension SDK for Bodhi Browser - chrome.runtime communication",
5
5
  "type": "module",
6
6
  "main": "dist/bodhi-ext.cjs.js",
@@ -37,9 +37,9 @@
37
37
  "typecheck": "tsc --noEmit"
38
38
  },
39
39
  "dependencies": {
40
- "@bodhiapp/bodhi-browser-types": "0.0.33",
41
- "@bodhiapp/bodhi-js-core": "0.0.33",
42
- "@bodhiapp/ts-client": "0.1.29"
40
+ "@bodhiapp/bodhi-browser-types": "0.0.34",
41
+ "@bodhiapp/bodhi-js-core": "0.0.34",
42
+ "@bodhiapp/ts-client": "0.1.31"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@eslint/js": "^9.23.0",