@salesforce/lds-runtime-bridge 1.253.0 → 1.257.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.
@@ -16,6 +16,7 @@ import { StoreKeySet, serializeStructuredKey, StringKeyInMemoryStore, Reader, de
16
16
  import { instrumentLuvio } from 'force/ldsInstrumentation';
17
17
  import { isStoreKeyRecordViewEntity, RECORD_ID_PREFIX, RECORD_FIELDS_KEY_JUNCTION, getRecordId18, extractRecordIdFromStoreKey, RECORD_VIEW_ENTITY_ID_PREFIX, keyBuilderRecord } from 'force/ldsAdaptersUiapi';
18
18
  import '@salesforce/gate/lds.idempotencyWriteDisabled';
19
+ import '@salesforce/gate/lds.backdatingEnabled';
19
20
  import { Kind, buildSchema, isObjectType, defaultFieldResolver } from 'force/ldsGraphqlParser';
20
21
  import excludeStaleRecordsGate from '@salesforce/gate/lds.graphqlEvalExcludeStaleRecords';
21
22
  import networkAdapter from 'force/ldsNetwork';
@@ -3325,8 +3326,9 @@ async function fetchIngestionTimeStampFromDatabase(apiName, info, args, query) {
3325
3326
  const results = await query(sql, [key]);
3326
3327
  const [timestamp] = results.rows.map((row) => row[0]);
3327
3328
  if (timestamp !== null && typeof timestamp === 'number') {
3328
- //go back 1000 ms to adjust for margin of error when top level query is stored and when raml objects are stored
3329
- ingestionTimestamp = timestamp - 1000;
3329
+ // adjust the timestamp to account for ingestion processing time
3330
+ // 30s is used because this is the default record TTL
3331
+ ingestionTimestamp = timestamp - 30000;
3330
3332
  }
3331
3333
  }
3332
3334
  return ingestionTimestamp;
@@ -3754,4 +3756,4 @@ function ldsRuntimeBridge() {
3754
3756
  }
3755
3757
 
3756
3758
  export { ldsRuntimeBridge as default };
3757
- // version: 1.253.0-5f7477b3b
3759
+ // version: 1.257.0-236dcdea5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-bridge",
3
- "version": "1.253.0",
3
+ "version": "1.257.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": "*",
38
- "@salesforce/lds-instrumentation": "*",
37
+ "@salesforce/lds-adapters-uiapi": "^1.257.0",
38
+ "@salesforce/lds-instrumentation": "^1.257.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": "*",
44
- "@salesforce/lds-network-aura": "*",
45
- "@salesforce/lds-runtime-aura": "*",
46
- "@salesforce/lds-store-nimbus": "*",
47
- "@salesforce/nimbus-plugin-lds": "*",
43
+ "@salesforce/lds-drafts-adapters-uiapi": "^1.257.0",
44
+ "@salesforce/lds-network-aura": "^1.257.0",
45
+ "@salesforce/lds-runtime-aura": "^1.257.0",
46
+ "@salesforce/lds-store-nimbus": "^1.257.0",
47
+ "@salesforce/nimbus-plugin-lds": "^1.257.0",
48
48
  "babel-plugin-dynamic-import-node": "^2.3.3"
49
49
  },
50
50
  "luvioBundlesize": [