@salesforce/lds-runtime-bridge 1.273.1 → 1.274.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.
@@ -3030,11 +3030,7 @@ function findFieldInfo(objectInfo, fieldName) {
3030
3030
  }
3031
3031
  async function readIngestionTimestampForKey(key, query) {
3032
3032
  let ingestionTimestamp = 0;
3033
- const sql = `
3034
- SELECT json_extract(metadata, '${JSON_EXTRACT_PATH_INGESTION_TIMESTAMP}')
3035
- FROM lds_data
3036
- WHERE key IS ?
3037
- `;
3033
+ const sql = `SELECT json_extract(metadata, '${JSON_EXTRACT_PATH_INGESTION_TIMESTAMP}') FROM lds_data WHERE key IS ?`;
3038
3034
  const results = await query(sql, [key]);
3039
3035
  const [timestamp] = results.rows.map((row) => row[0]);
3040
3036
  if (timestamp !== null) {
@@ -3042,9 +3038,7 @@ async function readIngestionTimestampForKey(key, query) {
3042
3038
  if (isNaN(numericalTimestamp)) {
3043
3039
  return ingestionTimestamp;
3044
3040
  }
3045
- // adjust the timestamp to account for ingestion processing time
3046
- // 30s is used because this is the default record TTL
3047
- ingestionTimestamp = numericalTimestamp - 30000;
3041
+ ingestionTimestamp = numericalTimestamp;
3048
3042
  }
3049
3043
  return ingestionTimestamp;
3050
3044
  }
@@ -4010,4 +4004,4 @@ function ldsRuntimeBridge() {
4010
4004
  }
4011
4005
 
4012
4006
  export { ldsRuntimeBridge as default };
4013
- // version: 1.273.1-37fe48f59
4007
+ // version: 1.274.0-67da496e8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-bridge",
3
- "version": "1.273.1",
3
+ "version": "1.274.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS runtime for bridge.app.",
6
6
  "main": "dist/ldsRuntimeBridge.js",
@@ -34,17 +34,17 @@
34
34
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-bridge"
35
35
  },
36
36
  "dependencies": {
37
- "@salesforce/lds-adapters-uiapi": "^1.273.1",
38
- "@salesforce/lds-instrumentation": "^1.273.1",
37
+ "@salesforce/lds-adapters-uiapi": "^1.274.0",
38
+ "@salesforce/lds-instrumentation": "^1.274.0",
39
39
  "@salesforce/user": "0.0.21",
40
40
  "o11y": "244.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@salesforce/lds-drafts-adapters-uiapi": "^1.273.1",
44
- "@salesforce/lds-network-aura": "^1.273.1",
45
- "@salesforce/lds-runtime-aura": "^1.273.1",
46
- "@salesforce/lds-store-nimbus": "^1.273.1",
47
- "@salesforce/nimbus-plugin-lds": "^1.273.1",
43
+ "@salesforce/lds-drafts-adapters-uiapi": "^1.274.0",
44
+ "@salesforce/lds-network-aura": "^1.274.0",
45
+ "@salesforce/lds-runtime-aura": "^1.274.0",
46
+ "@salesforce/lds-store-nimbus": "^1.274.0",
47
+ "@salesforce/nimbus-plugin-lds": "^1.274.0",
48
48
  "babel-plugin-dynamic-import-node": "^2.3.3"
49
49
  },
50
50
  "luvioBundlesize": [