@bodhiapp/bodhi-js-ext 0.0.32 → 0.0.33
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/messages.d.ts +2 -2
- package/package.json +4 -4
package/dist/messages.d.ts
CHANGED
|
@@ -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 {
|
|
3
|
+
import { ErrorResponse } from '@bodhiapp/ts-client/openai';
|
|
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<
|
|
117
|
+
response: ApiResponse<ErrorResponse>;
|
|
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.
|
|
3
|
+
"version": "0.0.33",
|
|
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.
|
|
41
|
-
"@bodhiapp/bodhi-js-core": "0.0.
|
|
42
|
-
"@bodhiapp/ts-client": "0.1.
|
|
40
|
+
"@bodhiapp/bodhi-browser-types": "0.0.33",
|
|
41
|
+
"@bodhiapp/bodhi-js-core": "0.0.33",
|
|
42
|
+
"@bodhiapp/ts-client": "0.1.29"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@eslint/js": "^9.23.0",
|