@salesforce/lds-runtime-mobile 1.238.0 → 1.239.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 +5 -5
- package/package.json +1 -1
- package/sfdc/main.js +5 -5
package/dist/main.js
CHANGED
|
@@ -4378,8 +4378,8 @@ function rootRecordQuery(selection, input) {
|
|
|
4378
4378
|
// If there is no metadata for this query or it somehow lacks a timestamp
|
|
4379
4379
|
// skip setting the root timestamp
|
|
4380
4380
|
if (queryMetadata !== undefined && queryMetadata.ingestionTimestamp !== undefined) {
|
|
4381
|
-
// subtract
|
|
4382
|
-
input.rootTimestamp = queryMetadata.ingestionTimestamp -
|
|
4381
|
+
// subtract 1000ms from timestamp to account for ingestion processing time
|
|
4382
|
+
input.rootTimestamp = queryMetadata.ingestionTimestamp - 1000;
|
|
4383
4383
|
}
|
|
4384
4384
|
}
|
|
4385
4385
|
return recordQuery(selection, alias, apiName, [], input);
|
|
@@ -9220,8 +9220,8 @@ async function fetchIngestionTimeStampFromDatabase(apiName, info, args, query) {
|
|
|
9220
9220
|
const results = await query(sql, [key]);
|
|
9221
9221
|
const [timestamp] = results.rows.map((row) => row[0]);
|
|
9222
9222
|
if (timestamp !== null && typeof timestamp === 'number') {
|
|
9223
|
-
//go back
|
|
9224
|
-
ingestionTimestamp = timestamp -
|
|
9223
|
+
//go back 1000 ms to adjust for margin of error when top level query is stored and when raml objects are stored
|
|
9224
|
+
ingestionTimestamp = timestamp - 1000;
|
|
9225
9225
|
}
|
|
9226
9226
|
}
|
|
9227
9227
|
return ingestionTimestamp;
|
|
@@ -17059,4 +17059,4 @@ register({
|
|
|
17059
17059
|
});
|
|
17060
17060
|
|
|
17061
17061
|
export { getRuntime, registerReportObserver, reportGraphqlQueryParseError };
|
|
17062
|
-
// version: 1.
|
|
17062
|
+
// version: 1.239.0-6c531185a
|
package/package.json
CHANGED
package/sfdc/main.js
CHANGED
|
@@ -4378,8 +4378,8 @@ function rootRecordQuery(selection, input) {
|
|
|
4378
4378
|
// If there is no metadata for this query or it somehow lacks a timestamp
|
|
4379
4379
|
// skip setting the root timestamp
|
|
4380
4380
|
if (queryMetadata !== undefined && queryMetadata.ingestionTimestamp !== undefined) {
|
|
4381
|
-
// subtract
|
|
4382
|
-
input.rootTimestamp = queryMetadata.ingestionTimestamp -
|
|
4381
|
+
// subtract 1000ms from timestamp to account for ingestion processing time
|
|
4382
|
+
input.rootTimestamp = queryMetadata.ingestionTimestamp - 1000;
|
|
4383
4383
|
}
|
|
4384
4384
|
}
|
|
4385
4385
|
return recordQuery(selection, alias, apiName, [], input);
|
|
@@ -9220,8 +9220,8 @@ async function fetchIngestionTimeStampFromDatabase(apiName, info, args, query) {
|
|
|
9220
9220
|
const results = await query(sql, [key]);
|
|
9221
9221
|
const [timestamp] = results.rows.map((row) => row[0]);
|
|
9222
9222
|
if (timestamp !== null && typeof timestamp === 'number') {
|
|
9223
|
-
//go back
|
|
9224
|
-
ingestionTimestamp = timestamp -
|
|
9223
|
+
//go back 1000 ms to adjust for margin of error when top level query is stored and when raml objects are stored
|
|
9224
|
+
ingestionTimestamp = timestamp - 1000;
|
|
9225
9225
|
}
|
|
9226
9226
|
}
|
|
9227
9227
|
return ingestionTimestamp;
|
|
@@ -17059,4 +17059,4 @@ register({
|
|
|
17059
17059
|
});
|
|
17060
17060
|
|
|
17061
17061
|
export { getRuntime, registerReportObserver, reportGraphqlQueryParseError };
|
|
17062
|
-
// version: 1.
|
|
17062
|
+
// version: 1.239.0-6c531185a
|