fix(core): update
This commit is contained in:
parent
2274afcd38
commit
924bc2c5a7
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@api.global/typedrequest',
|
||||
version: '3.0.10',
|
||||
version: '3.0.11',
|
||||
description: 'make typed requests towards apis'
|
||||
}
|
||||
|
@ -23,6 +23,9 @@ export class VirtualStream<T = ArrayBufferLike> implements plugins.typedRequestI
|
||||
originalPayload?: any,
|
||||
path = []
|
||||
): any {
|
||||
if (!objectPayload) {
|
||||
return objectPayload;
|
||||
}
|
||||
if (plugins.smartbuffer.isBufferLike(objectPayload)) {
|
||||
return objectPayload;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user