@cortexkit/pi-openai-auth 0.3.0 → 0.3.1

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/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  import type { ExtensionAPI } from '@earendil-works/pi-coding-agent';
2
+ export declare function installRawCodexWebSocket(): () => void;
2
3
  export default function cortexKitPiOpenAIAuth(pi: ExtensionAPI): void;
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ class PiRawCodexWebSocket extends RawWebSocket {
12
12
  }
13
13
  let rawWebSocketInstallCount = 0;
14
14
  let originalWebSocket;
15
- function installRawCodexWebSocket() {
15
+ export function installRawCodexWebSocket() {
16
16
  const global = globalThis;
17
17
  if (rawWebSocketInstallCount === 0) {
18
18
  originalWebSocket = global.WebSocket;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cortexkit/pi-openai-auth",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -31,6 +31,7 @@
31
31
  },
32
32
  "scripts": {
33
33
  "build": "rm -rf dist && tsc -p tsconfig.build.json",
34
+ "test": "bun test src/tests",
34
35
  "typecheck": "tsc",
35
36
  "types": "tsc",
36
37
  "prepublishOnly": "bun run build"