fix(core): update
This commit is contained in:
parent
fa93f13306
commit
18dd110d4e
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@push.rocks/smartrequest',
|
||||
version: '2.0.19',
|
||||
version: '2.0.20',
|
||||
description: 'dropin replacement for request'
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
import * as plugins from './smartrequest.plugins.js';
|
||||
import * as interfaces from './smartrequest.interfaces.js';
|
||||
|
||||
import { IncomingMessage } from 'http';
|
||||
|
||||
export interface IExtendedIncomingMessage extends IncomingMessage {
|
||||
export interface IExtendedIncomingMessage extends plugins.http.IncomingMessage {
|
||||
body: any;
|
||||
}
|
||||
|
||||
const buildUtf8Response = (
|
||||
incomingMessageArg: IncomingMessage,
|
||||
incomingMessageArg: plugins.http.IncomingMessage,
|
||||
autoJsonParse = true
|
||||
): Promise<IExtendedIncomingMessage> => {
|
||||
const done = plugins.smartpromise.defer<IExtendedIncomingMessage>();
|
||||
|
Loading…
Reference in New Issue
Block a user