@sap-ux/fe-mockserver-core
Advanced tools
Comparing version 1.1.75 to 1.1.76
@@ -48,2 +48,3 @@ /// <reference types="node" /> | ||
countRequested: boolean; | ||
isCountQuery: boolean; | ||
responseData: any; | ||
@@ -50,0 +51,0 @@ private allParams; |
@@ -50,2 +50,3 @@ "use strict"; | ||
this.countRequested = searchParams.has('$count'); | ||
this.isCountQuery = this.context.endsWith('$count'); | ||
const selectParams = searchParams.get('$select'); | ||
@@ -387,2 +388,5 @@ if (selectParams) { | ||
} | ||
if (typeof this.responseData === 'number' && this.isCountQuery) { | ||
return this.responseData.toString(); | ||
} | ||
if (this.dataAccess.getMetadata().getVersion() === '4.0') { | ||
@@ -389,0 +393,0 @@ if (this.statusCode === 204) { |
{ | ||
"name": "@sap-ux/fe-mockserver-core", | ||
"version": "1.1.75", | ||
"version": "1.1.76", | ||
"description": "SAP Fiori OData - Fiori elements mock server core", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
542981
6274