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
0
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.1.10 to 0.1.11

2

package.json
{
"name": "@hey-api/client-fetch",
"version": "0.1.10",
"version": "0.1.11",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Typesafe Fetch API client for your @hey-api/openapi-ts types",

<div align="center">
<img width="150" height="150" src="https://heyapi.vercel.app/logo.png" alt="Logo">
<h1 align="center"><b>Fetch API Client</b></h1>
<p align="center">🚀 Typesafe Fetch API client for your @hey-api/openapi-ts types.</p>
<p align="center">🚀 Typesafe Fetch API client for your Hey API types.</p>
</div>
Plug and play Fetch API wrapper for @hey-api/openapi-ts generator.
Plug and play Fetch API wrapper for `@hey-api/openapi-ts` generator.

@@ -16,4 +16,5 @@ [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)

- access to the original request and response
- each request call is configurable
- granular request and response customization options
- minimal learning curve thanks to extending the underlying technology
- support bundling inside the generated output

@@ -20,0 +21,0 @@ ## Documentation

@@ -121,4 +121,4 @@ import type { Client, Config, RequestOptions } from './types';

let data = await response[parseAs]();
if (parseAs === 'json' && options.responseTransformer) {
data = await options.responseTransformer(data);
if (parseAs === 'json' && opts.responseTransformer) {
data = await opts.responseTransformer(data);
}

@@ -125,0 +125,0 @@

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