@scalar/oas-utils
Advanced tools
Comparing version 0.2.55 to 0.2.56
# @scalar/oas-utils | ||
## 0.2.56 | ||
### Patch Changes | ||
- b8f9a95: feat: lower syntax highlighting response threshold | ||
- Updated dependencies [8759e7f] | ||
- @scalar/openapi-types@0.1.3 | ||
- @scalar/types@0.0.15 | ||
- @scalar/themes@0.9.37 | ||
## 0.2.55 | ||
@@ -4,0 +14,0 @@ |
@@ -6,3 +6,3 @@ import { z } from 'zod'; | ||
/** A single set of populated values for a sent request */ | ||
export type ResponseInstance<ResponseDataType = unknown> = Omit<Response, 'headers'> & { | ||
export type ResponseInstance = Omit<Response, 'headers'> & { | ||
/** Store headers as an object to match what we had with axios */ | ||
@@ -15,3 +15,5 @@ headers: Record<string, string>; | ||
/** The response data */ | ||
data: ResponseDataType; | ||
data: string | Blob; | ||
/** The response size in bytes */ | ||
size: number; | ||
/** The response status */ | ||
@@ -18,0 +20,0 @@ status: number; |
@@ -19,3 +19,3 @@ { | ||
], | ||
"version": "0.2.55", | ||
"version": "0.2.56", | ||
"engines": { | ||
@@ -111,5 +111,5 @@ "node": ">=18" | ||
"@scalar/object-utils": "1.1.10", | ||
"@scalar/openapi-types": "0.1.2", | ||
"@scalar/themes": "0.9.36", | ||
"@scalar/types": "0.0.14" | ||
"@scalar/openapi-types": "0.1.3", | ||
"@scalar/themes": "0.9.37", | ||
"@scalar/types": "0.0.15" | ||
}, | ||
@@ -122,5 +122,5 @@ "devDependencies": { | ||
"zod-to-ts": "^1.2.0", | ||
"@scalar/openapi-parser": "0.8.6", | ||
"@scalar/build-tooling": "0.1.11", | ||
"@scalar/openapi-types": "0.1.2", | ||
"@scalar/openapi-parser": "0.8.6" | ||
"@scalar/openapi-types": "0.1.3" | ||
}, | ||
@@ -127,0 +127,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
353978
7444
+ Added@scalar/openapi-types@0.1.3(transitive)
+ Added@scalar/themes@0.9.37(transitive)
+ Added@scalar/types@0.0.15(transitive)
- Removed@scalar/openapi-types@0.1.2(transitive)
- Removed@scalar/themes@0.9.36(transitive)
- Removed@scalar/types@0.0.14(transitive)
Updated@scalar/openapi-types@0.1.3
Updated@scalar/themes@0.9.37
Updated@scalar/types@0.0.15