@tstdl/base 0.93.181 → 0.93.182

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,7 @@ import { toArray } from '../../utils/array/array.js';
29
29
  import { composeAsyncMiddleware } from '../../utils/middleware.js';
30
30
  import { mapObjectValues } from '../../utils/object/object.js';
31
31
  import { deferThrow } from '../../utils/throw.js';
32
- import { isArray, isBlob, isDefined, isNotInstanceOf, isNotNull, isNotNullOrUndefined, isNull, isNullOrUndefined, isObject, isReadableStream, isUint8Array, isUndefined } from '../../utils/type-guards.js';
32
+ import { isArray, isBlob, isDefined, isNotNull, isNotNullOrUndefined, isNull, isNullOrUndefined, isObject, isReadableStream, isUint8Array, isUndefined } from '../../utils/type-guards.js';
33
33
  import { mebibyte } from '../../utils/units.js';
34
34
  import { logAndGetErrorResponse } from '../response.js';
35
35
  import { normalizedApiDefinition, normalizedApiDefinitionEndpointsEntries } from '../types.js';
@@ -245,7 +245,7 @@ let ApiGateway = ApiGateway_1 = class ApiGateway {
245
245
  }
246
246
  else {
247
247
  const endpointDefinitionResult = context.endpoint.definition.result;
248
- if (isDevMode() && isDefined(endpointDefinitionResult) && isNotInstanceOf(endpointDefinitionResult, DataStream) && isNotInstanceOf(endpointDefinitionResult, ServerSentEvents)) {
248
+ if (isDevMode() && isDefined(endpointDefinitionResult) && (endpointDefinitionResult != DataStream) && (endpointDefinitionResult != ServerSentEvents)) {
249
249
  Schema.assert(endpointDefinitionResult, result);
250
250
  }
251
251
  context.response.body = match(result)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tstdl/base",
3
- "version": "0.93.181",
3
+ "version": "0.93.182",
4
4
  "author": "Patrick Hein",
5
5
  "publishConfig": {
6
6
  "access": "public"