@salesforce/lds-runtime-bridge 1.248.0 → 1.249.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.
@@ -15,6 +15,7 @@ import { setDefaultLuvio } from 'force/ldsEngine';
15
15
  import { StoreKeySet, serializeStructuredKey, StringKeyInMemoryStore, Reader, deepFreeze, emitAdapterEvent, InMemoryStore, Environment, Luvio } from 'force/luvioEngine';
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
+ import '@salesforce/gate/lds.idempotencyWriteDisabled';
18
19
  import { Kind, buildSchema, isObjectType, defaultFieldResolver } from 'force/ldsGraphqlParser';
19
20
  import excludeStaleRecordsGate from '@salesforce/gate/lds.graphqlEvalExcludeStaleRecords';
20
21
  import networkAdapter from 'force/ldsNetwork';
@@ -752,12 +753,12 @@ function makeDurable(environment, { durableStore, instrumentation, useRevivingSt
752
753
  }
753
754
  return environment.getNode(key, stagingStore);
754
755
  };
755
- const wrapNormalizedGraphNode = function (normalized) {
756
+ const wrapNormalizedGraphNode = function (normalized, key) {
756
757
  validateNotDisposed();
757
758
  if (stagingStore === null) {
758
759
  stagingStore = buildIngestStagingStore(environment);
759
760
  }
760
- return environment.wrapNormalizedGraphNode(normalized, stagingStore);
761
+ return environment.wrapNormalizedGraphNode(normalized, key, stagingStore);
761
762
  };
762
763
  const rebuildSnapshot = function (snapshot, onRebuild) {
763
764
  validateNotDisposed();
@@ -3753,4 +3754,4 @@ function ldsRuntimeBridge() {
3753
3754
  }
3754
3755
 
3755
3756
  export { ldsRuntimeBridge as default };
3756
- // version: 1.248.0-1f7f01112
3757
+ // version: 1.249.0-11c3e1ed5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-bridge",
3
- "version": "1.248.0",
3
+ "version": "1.249.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS runtime for bridge.app.",
6
6
  "main": "dist/ldsRuntimeBridge.js",