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

@axios-use/react

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axios-use/react - npm Package Compare versions

Comparing version 6.4.0 to 6.4.1

11

CHANGELOG.md

@@ -1,2 +0,2 @@

## [6.4.0](https://github.com/axios-use/react/compare/v6.3.0...v6.4.0) (2022-03-26)
## [6.4.0](https://github.com/axios-use/react/compare/v6.4.0...v6.4.1) (2023-04-23)

@@ -6,2 +6,11 @@

* **type:** `onCompleted` response generic error. ([aed68bf](https://github.com/axios-use/react/commit/aed68bfb8b5072a77197c29edd1c5b8773cc5ed8))
## [6.4.0](https://github.com/axios-use/react/compare/v6.3.0...v6.4.0) (2023-03-26)
### Bug Fixes
* **createRequestError:** value num 0. ([84a3084](https://github.com/axios-use/react/commit/84a3084c49be5175fcbeb72c9c987cc6ba46c3be))

@@ -8,0 +17,0 @@

2

esm/request.d.ts

@@ -29,3 +29,3 @@ import type { AxiosRequestConfig, AxiosResponse, AxiosError, Canceler } from "axios";

export declare type RequestCallbackFn<T extends Request> = {
onCompleted?: (data: Payload<T>, response: AxiosResponse<BodyData<T>>) => void;
onCompleted?: (data: Payload<T>, response: AxiosResponse<Payload<T>, BodyData<T>>) => void;
onError?: (err?: RequestError<Payload<T>, BodyData<T>>) => void;

@@ -32,0 +32,0 @@ };

@@ -29,3 +29,3 @@ import type { AxiosRequestConfig, AxiosResponse, AxiosError, Canceler } from "axios";

export declare type RequestCallbackFn<T extends Request> = {
onCompleted?: (data: Payload<T>, response: AxiosResponse<BodyData<T>>) => void;
onCompleted?: (data: Payload<T>, response: AxiosResponse<Payload<T>, BodyData<T>>) => void;
onError?: (err?: RequestError<Payload<T>, BodyData<T>>) => void;

@@ -32,0 +32,0 @@ };

{
"name": "@axios-use/react",
"version": "6.4.0",
"version": "6.4.1",
"description": "A React hook plugin for Axios. Lightweight, cancelable and less change",

@@ -5,0 +5,0 @@ "contributors": [

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