Skip to content

Releases: krutoo/middleware-axios

3.0.0

15 Aug 07:08
1ce3f39
Compare
Choose a tag to compare

BREAKING changes

  • now it is a dual ESM+CJS package (#44)
  • axios updated to ^1.7.4 because of audit warnings (#44)
  • package.json: exports field added (#44)
  • package.json: src folder removed from files (#44)

Full Changelog: 2.1.6...3.0.0

2.1.6

11 Mar 09:23
21d1897
Compare
Choose a tag to compare

Patch changes

  • instanceConfig type now is CreateAxiosDefaults according to original axios.create function (#37)
  • defaults param type of middleware function fixed according to actual passed value (#38)
  • deps: dev-dependency axios updated to 1.6.7 (#37)

Full Changelog: 2.1.5...2.1.6

2.1.5

11 Nov 04:40
Compare
Choose a tag to compare

Updates

  • axios peer dependency fix for 2.1.4

2.1.4 (broken)

11 Nov 04:33
Compare
Choose a tag to compare

Updates

2.1.3 (broken)

24 Oct 07:51
Compare
Choose a tag to compare

Updates

  • minimal axios version now is ^1.1.3

2.1.2

15 Dec 12:39
Compare
Choose a tag to compare

Updates

  • Some dependencies updates (minimal axios version now is ^0.24.0)
  • TS types fixes (third argument of middleware type changed from AxiosRequestConfig to AxiosDefaults)

2.1.1

02 Sep 10:28
86336bc
Compare
Choose a tag to compare

Fixes

  • fix of building package after tests added to project

2.1.0

02 Sep 09:58
Compare
Choose a tag to compare

New features

  • middleware function now can use third argument - axios instance defaults

2.0.0

31 Jul 05:47
Compare
Choose a tag to compare

Fixes

  • middleware not invoked on request() calling

Thanks