diff --git a/packages/seroval/src/core/context/parser/stream.ts b/packages/seroval/src/core/context/parser/stream.ts index 04ac772b..e070c21c 100644 --- a/packages/seroval/src/core/context/parser/stream.ts +++ b/packages/seroval/src/core/context/parser/stream.ts @@ -349,7 +349,7 @@ export default abstract class BaseStreamParserContext extends BaseSyncParserCont p: undefined, e: undefined, a: [ - this.parseSpecialReference(SpecialReference.PromiseResolve), + this.parseSpecialReference(SpecialReference.PromiseReject), parsed, ], f: undefined,