UNPKG

@jswork/jzyunqi-interceptors

Version:

Interceptors for jzyunqi/yw.

26 lines (25 loc) 988 B
/*! * name: @jswork/jzyunqi-interceptors * description: Interceptors for jzyunqi/yw. * homepage: https://js.work * version: 1.0.12 * date: 2025-03-01 11:46:15 * license: MIT */ // response import suffixArrayInterceptorResponse from './interceptors/response/suffix-array'; import weiboNormalizeInterceptorResponse from './interceptors/response/weibo-normalize'; // request import suffixArrayInterceptorRequest from './interceptors/request/suffix-array'; import removeSpecialInterceptorRequest from './interceptors/request/remove-special'; var JzyunqiInterceptors = [ { type: 'response', fn: suffixArrayInterceptorResponse }, { type: 'response', fn: weiboNormalizeInterceptorResponse }, { type: 'request', fn: suffixArrayInterceptorRequest }, { type: 'request', fn: removeSpecialInterceptorRequest }, ]; // for commonjs es5 require if (typeof module !== 'undefined' && module.exports) { module.exports = JzyunqiInterceptors; } export default JzyunqiInterceptors;