@namzu/openrouter 3.1.2 → 3.2.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/CHANGELOG.md +13 -0
- package/README.md +17 -0
- package/dist/client.d.ts +31 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +464 -50
- package/dist/client.js.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +542 -52
- package/src/types.ts +2 -0
package/src/types.ts
CHANGED
|
@@ -14,6 +14,8 @@ export interface OpenRouterConfig {
|
|
|
14
14
|
siteUrl?: string
|
|
15
15
|
siteName?: string
|
|
16
16
|
timeout?: number
|
|
17
|
+
/** Receives the driver's debug lines. Absent, they are discarded. */
|
|
18
|
+
logger?: import('@namzu/sdk').Logger
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
export interface OpenRouterProviderConfig extends OpenRouterConfig {
|