@salesforce/lds-runtime-mobile 1.139.1 → 1.140.0
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.
- package/dist/main.js +6 -2
- package/package.json +1 -1
- package/sfdc/main.js +6 -2
package/dist/main.js
CHANGED
|
@@ -3040,7 +3040,11 @@ function operatorWithValue(operator, valueNode, objectInfoDataType) {
|
|
|
3040
3040
|
}
|
|
3041
3041
|
if (objectInfoDataType === 'Double') {
|
|
3042
3042
|
if (isScalarOperatorType(operator)) {
|
|
3043
|
-
|
|
3043
|
+
// allow a float/double value to be passed
|
|
3044
|
+
// also allow an integer to be passed to a double, but not a double to an integer
|
|
3045
|
+
const isFloatOrInt = is(valueNode, 'FloatValue') ||
|
|
3046
|
+
is(valueNode, 'IntValue');
|
|
3047
|
+
return isFloatOrInt
|
|
3044
3048
|
? success({
|
|
3045
3049
|
type: 'DoubleOperator',
|
|
3046
3050
|
operator,
|
|
@@ -15879,4 +15883,4 @@ register({
|
|
|
15879
15883
|
});
|
|
15880
15884
|
|
|
15881
15885
|
export { getRuntime, registerReportObserver, reportGraphqlQueryParseError };
|
|
15882
|
-
// version: 1.
|
|
15886
|
+
// version: 1.140.0-a9e378a04
|
package/package.json
CHANGED
package/sfdc/main.js
CHANGED
|
@@ -3040,7 +3040,11 @@ function operatorWithValue(operator, valueNode, objectInfoDataType) {
|
|
|
3040
3040
|
}
|
|
3041
3041
|
if (objectInfoDataType === 'Double') {
|
|
3042
3042
|
if (isScalarOperatorType(operator)) {
|
|
3043
|
-
|
|
3043
|
+
// allow a float/double value to be passed
|
|
3044
|
+
// also allow an integer to be passed to a double, but not a double to an integer
|
|
3045
|
+
const isFloatOrInt = is(valueNode, 'FloatValue') ||
|
|
3046
|
+
is(valueNode, 'IntValue');
|
|
3047
|
+
return isFloatOrInt
|
|
3044
3048
|
? success({
|
|
3045
3049
|
type: 'DoubleOperator',
|
|
3046
3050
|
operator,
|
|
@@ -15879,4 +15883,4 @@ register({
|
|
|
15879
15883
|
});
|
|
15880
15884
|
|
|
15881
15885
|
export { getRuntime, registerReportObserver, reportGraphqlQueryParseError };
|
|
15882
|
-
// version: 1.
|
|
15886
|
+
// version: 1.140.0-a9e378a04
|