@bodhiapp/bodhi-js-ext 0.0.42 → 0.0.44

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.
@@ -17,6 +17,7 @@ export type { ExtClientApiError, ExtClientApiResponseMessage } from './messages'
17
17
  export declare class BodhiExtClient {
18
18
  private extensionId?;
19
19
  private isAuthenticating;
20
+ private isExchanging;
20
21
  private authClientId;
21
22
  private authServerUrl;
22
23
  private logger;
@@ -136,6 +137,7 @@ export declare class BodhiExtClient {
136
137
  * @param endpoint API endpoint path
137
138
  * @param body Optional request body
138
139
  * @param headers Optional headers
140
+ * @param authenticated Attach the current token when one exists (safe: skipped if none)
139
141
  * @returns API response from LLM server via bodhi-browser-ext
140
142
  */
141
143
  private sendApiRequest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bodhiapp/bodhi-js-ext",
3
- "version": "0.0.42",
3
+ "version": "0.0.44",
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.42",
41
- "@bodhiapp/bodhi-js-core": "0.0.42",
42
- "@bodhiapp/ts-client": "0.1.37"
40
+ "@bodhiapp/bodhi-browser-types": "0.0.44",
41
+ "@bodhiapp/bodhi-js-core": "0.0.44",
42
+ "@bodhiapp/ts-client": "0.1.38"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@eslint/js": "^9.23.0",