@sebspark/openapi-core 2.1.1 → 2.1.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -186,7 +186,7 @@ type RequestOptions = {
186
186
  type ArrayFormat = 'indices' | 'brackets' | 'repeat' | 'comma';
187
187
  type ClientOptions = RequestOptions & {
188
188
  arrayFormat?: ArrayFormat;
189
- authorizationTokenGenerator?: (url: string) => Promise<Map<string, string>> | undefined;
189
+ authorizationTokenGenerator?: (url: string) => Promise<Record<string, string>> | undefined;
190
190
  authorizationTokenRefresh?: (url: string) => Promise<void> | undefined;
191
191
  };
192
192
  type BaseClient = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebspark/openapi-core",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -19,7 +19,7 @@
19
19
  "@types/node": "20.17.17",
20
20
  "tsconfig": "*",
21
21
  "tsup-node": "0.1.0",
22
- "typescript": "5.8.2",
22
+ "typescript": "5.7.3",
23
23
  "vitest": "3.0.8"
24
24
  },
25
25
  "dependencies": {