Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

@hey-api/client-fetch

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hey-api/client-fetch - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

8

package.json
{
"name": "@hey-api/client-fetch",
"version": "0.4.2",
"description": "Type-safe Fetch API client for your @hey-api/openapi-ts types",
"version": "0.4.3",
"description": "πŸš€ Fetch API client for `@hey-api/openapi-ts` codegen.",
"homepage": "https://heyapi.dev/",

@@ -19,3 +19,3 @@ "repository": {

},
"funding": "https://github.com/sponsors/mrlubos",
"funding": "https://github.com/sponsors/hey-api",
"keywords": [

@@ -65,4 +65,4 @@ "client",

"test": "vitest run",
"typecheck": "vitest --typecheck"
"typecheck": "vitest --typecheck --watch=false"
}
}
<div align="center">
<img width="150" height="150" src="https://heyapi.dev/logo.png" alt="Logo">
<h1 align="center"><b>Fetch API Client</b></h1>
<p align="center">πŸš€ Type-safe Fetch API client for your Hey API types.</p>
<p align="center">πŸš€ Fetch API client for `@hey-api/openapi-ts` codegen.</p>
</div>
Plug and play Fetch API wrapper for `@hey-api/openapi-ts` generator.
[Live demo](https://stackblitz.com/edit/hey-api-client-fetch-example?file=openapi-ts.config.ts,src%2Fclient%2Fschemas.gen.ts,src%2Fclient%2Fservices.gen.ts,src%2Fclient%2Ftypes.gen.ts,src%2FApp.tsx)

@@ -13,3 +11,3 @@

- seamless integration with `@hey-api/openapi-ts`
- seamless integration with `@hey-api/openapi-ts` ecosystem
- type-safe response data and errors

@@ -27,3 +25,3 @@ - access to the original request and response

Love Hey API? Please consider becoming a [sponsor](https://github.com/sponsors/mrlubos).
Love Hey API? Please consider becoming a [sponsor](https://github.com/sponsors/hey-api).

@@ -30,0 +28,0 @@ ## GitHub Integration (coming soon)

@@ -335,2 +335,3 @@ import type { Config } from './types';

// TODO: parser - better detection of MIME types
if (content.startsWith('application/json') || content.endsWith('+json')) {

@@ -337,0 +338,0 @@ return 'json';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc