Skip to content

Releases: tuax/tua-api

v0.4.0

09 Dec 13:29
6733b38
Compare
Choose a tag to compare

v0.3.3

03 Dec 12:27
2ede19d
Compare
Choose a tag to compare
  • fix: close #14, user should receive data through afterFn

  • chore: add TuaApi prefix to dist's files, add TuaApi.umd.min.js

  • perf: print req data only when it has data

v0.3.2

15 Nov 03:05
Compare
Choose a tag to compare

fix: fix: reqFn params in wx

v0.3.1

14 Nov 10:32
Compare
Choose a tag to compare

fix: close #13, add axios/fetch-jsonp as dependencies

v0.3.0

13 Nov 15:38
Compare
Choose a tag to compare

refactor: close #10, merge wx into core, add adapters/ dir, update deps

import TuaApi from 'tua-api'

const tuaApi = new TuaApi({ reqType: 'wx' })

v0.2.2

31 Oct 06:12
22e9adc
Compare
Choose a tag to compare

fix: ctx.reqTime is undefined in middleware (#9)

v0.2.1

22 Oct 09:40
Compare
Choose a tag to compare

fix: close #6, console log version

v0.2.0

17 Oct 15:02
1e51d4a
Compare
Choose a tag to compare

feat: close #3, add useGlobalMiddleware option

v0.1.1

01 Oct 13:43
68acf66
Compare
Choose a tag to compare
  • fix: support miniprogram passing header by beforeFn (but still recommend you to use middleware)

v0.1.0

01 Oct 11:23
Compare
Choose a tag to compare
  • feat: support miniprogram and web (axios, fetch-jsonp)
  • feat: support koa style middleware