@salesforce/lds-runtime-mobile 1.295.0 → 1.296.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 +12 -2
- package/package.json +17 -17
- package/sfdc/main.js +12 -2
package/dist/main.js
CHANGED
|
@@ -10653,7 +10653,17 @@ function singleNotPredicateToIncludeNulls(predicate, defaultAlias) {
|
|
|
10653
10653
|
return predicateToSQL(predicate, defaultAlias);
|
|
10654
10654
|
}
|
|
10655
10655
|
const { sql, binding } = predicateToSQL(predicate, defaultAlias);
|
|
10656
|
-
|
|
10656
|
+
// if date time predicate do not copy the date value bindings to the not null predicate
|
|
10657
|
+
const copyBindings = predicate.dataType !== undefined &&
|
|
10658
|
+
(predicate.dataType === 'DateTime' || predicate.dataType === 'Date')
|
|
10659
|
+
? []
|
|
10660
|
+
: predicate.bindings;
|
|
10661
|
+
const notNull = {
|
|
10662
|
+
...predicate,
|
|
10663
|
+
bindings: copyBindings,
|
|
10664
|
+
operator: 'IS NOT',
|
|
10665
|
+
value: null,
|
|
10666
|
+
};
|
|
10657
10667
|
const notNullSql = predicateToSQL(notNull, defaultAlias);
|
|
10658
10668
|
return {
|
|
10659
10669
|
sql: `${sql} AND ${notNullSql.sql}`,
|
|
@@ -18451,4 +18461,4 @@ register({
|
|
|
18451
18461
|
});
|
|
18452
18462
|
|
|
18453
18463
|
export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, registerReportObserver, reportGraphqlQueryParseError };
|
|
18454
|
-
// version: 1.
|
|
18464
|
+
// version: 1.296.0-ad26368c0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-mobile",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.296.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS runtime for mobile/hybrid environments.",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -32,26 +32,26 @@
|
|
|
32
32
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-mobile"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@salesforce/lds-adapters-uiapi-mobile": "^1.
|
|
36
|
-
"@salesforce/lds-bindings": "^1.
|
|
37
|
-
"@salesforce/lds-instrumentation": "^1.
|
|
38
|
-
"@salesforce/lds-priming": "^1.
|
|
35
|
+
"@salesforce/lds-adapters-uiapi-mobile": "^1.296.0",
|
|
36
|
+
"@salesforce/lds-bindings": "^1.296.0",
|
|
37
|
+
"@salesforce/lds-instrumentation": "^1.296.0",
|
|
38
|
+
"@salesforce/lds-priming": "^1.296.0",
|
|
39
39
|
"@salesforce/user": "0.0.21",
|
|
40
40
|
"o11y": "250.7.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@salesforce/lds-adapters-graphql": "^1.
|
|
44
|
-
"@salesforce/lds-drafts": "^1.
|
|
45
|
-
"@salesforce/lds-drafts-adapters-uiapi": "^1.
|
|
46
|
-
"@salesforce/lds-graphql-eval": "^1.
|
|
47
|
-
"@salesforce/lds-graphql-local-evaluation": "^1.
|
|
48
|
-
"@salesforce/lds-network-adapter": "^1.
|
|
49
|
-
"@salesforce/lds-network-nimbus": "^1.
|
|
50
|
-
"@salesforce/lds-store-binary": "^1.
|
|
51
|
-
"@salesforce/lds-store-nimbus": "^1.
|
|
52
|
-
"@salesforce/lds-store-sql": "^1.
|
|
53
|
-
"@salesforce/lds-utils-adapters": "^1.
|
|
54
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
43
|
+
"@salesforce/lds-adapters-graphql": "^1.296.0",
|
|
44
|
+
"@salesforce/lds-drafts": "^1.296.0",
|
|
45
|
+
"@salesforce/lds-drafts-adapters-uiapi": "^1.296.0",
|
|
46
|
+
"@salesforce/lds-graphql-eval": "^1.296.0",
|
|
47
|
+
"@salesforce/lds-graphql-local-evaluation": "^1.296.0",
|
|
48
|
+
"@salesforce/lds-network-adapter": "^1.296.0",
|
|
49
|
+
"@salesforce/lds-network-nimbus": "^1.296.0",
|
|
50
|
+
"@salesforce/lds-store-binary": "^1.296.0",
|
|
51
|
+
"@salesforce/lds-store-nimbus": "^1.296.0",
|
|
52
|
+
"@salesforce/lds-store-sql": "^1.296.0",
|
|
53
|
+
"@salesforce/lds-utils-adapters": "^1.296.0",
|
|
54
|
+
"@salesforce/nimbus-plugin-lds": "^1.296.0",
|
|
55
55
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
56
56
|
"wait-for-expect": "^3.0.2"
|
|
57
57
|
},
|
package/sfdc/main.js
CHANGED
|
@@ -10653,7 +10653,17 @@ function singleNotPredicateToIncludeNulls(predicate, defaultAlias) {
|
|
|
10653
10653
|
return predicateToSQL(predicate, defaultAlias);
|
|
10654
10654
|
}
|
|
10655
10655
|
const { sql, binding } = predicateToSQL(predicate, defaultAlias);
|
|
10656
|
-
|
|
10656
|
+
// if date time predicate do not copy the date value bindings to the not null predicate
|
|
10657
|
+
const copyBindings = predicate.dataType !== undefined &&
|
|
10658
|
+
(predicate.dataType === 'DateTime' || predicate.dataType === 'Date')
|
|
10659
|
+
? []
|
|
10660
|
+
: predicate.bindings;
|
|
10661
|
+
const notNull = {
|
|
10662
|
+
...predicate,
|
|
10663
|
+
bindings: copyBindings,
|
|
10664
|
+
operator: 'IS NOT',
|
|
10665
|
+
value: null,
|
|
10666
|
+
};
|
|
10657
10667
|
const notNullSql = predicateToSQL(notNull, defaultAlias);
|
|
10658
10668
|
return {
|
|
10659
10669
|
sql: `${sql} AND ${notNullSql.sql}`,
|
|
@@ -18451,4 +18461,4 @@ register({
|
|
|
18451
18461
|
});
|
|
18452
18462
|
|
|
18453
18463
|
export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, registerReportObserver, reportGraphqlQueryParseError };
|
|
18454
|
-
// version: 1.
|
|
18464
|
+
// version: 1.296.0-ad26368c0
|