@salesforce/lds-runtime-bridge 1.421.0 → 1.422.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.
@@ -18,8 +18,8 @@ import { idleDetector, getInstrumentation } from 'o11y/client';
18
18
  import { instrument } from 'force/ldsBindings';
19
19
  import { extractRecordIdFromStoreKey, RECORD_VIEW_ENTITY_ID_PREFIX, isStoreKeyRecordViewEntity, keyBuilderRecord, RECORD_ID_PREFIX, RECORD_FIELDS_KEY_JUNCTION } from 'force/ldsAdaptersUiapi';
20
20
  import networkAdapter from 'force/ldsNetwork';
21
- import { initializeOneStore, getRuntime as getRuntime$1 } from 'native/ldsRuntimeMobile';
22
- import ldsEngineCreator from 'force/ldsEngineCreator';
21
+ import ldsEngineCreator, { initializeOneStore } from 'force/ldsEngineCreator';
22
+ import { getRuntime as getRuntime$1 } from 'native/ldsRuntimeMobile';
23
23
 
24
24
  // the last version the metadata shape was altered
25
25
  const DURABLE_METADATA_VERSION = '0.111.0';
@@ -2316,8 +2316,6 @@ function getRuntime() {
2316
2316
  });
2317
2317
  // Currently instruments store runtime perf
2318
2318
  setupMobileInstrumentation(luvio, store);
2319
- // Initialize OneStore
2320
- initializeOneStore(durableStore['plugin'], luvio);
2321
2319
  return luvio;
2322
2320
  }
2323
2321
 
@@ -2338,6 +2336,8 @@ function ldsRuntimeBridge() {
2338
2336
  // Since LdsSqliteStore plugin is present, use Luvio with persistent store
2339
2337
  const luvio = getRuntime();
2340
2338
  setDefaultLuvio({ luvio });
2339
+ // Use Aura OneStore initialization for bridge.app
2340
+ initializeOneStore(luvio);
2341
2341
  return { name: 'ldsRuntimeBridge' };
2342
2342
  }
2343
2343
  }
@@ -2348,4 +2348,4 @@ function ldsRuntimeBridge() {
2348
2348
  }
2349
2349
 
2350
2350
  export { ldsRuntimeBridge as default };
2351
- // version: 1.421.0-2828c95aef
2351
+ // version: 1.422.0-6c9a1d2120
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-bridge",
3
- "version": "1.421.0",
3
+ "version": "1.422.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS runtime for bridge.app.",
6
6
  "main": "dist/ldsRuntimeBridge.js",
@@ -34,18 +34,18 @@
34
34
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-bridge"
35
35
  },
36
36
  "dependencies": {
37
- "@salesforce/lds-bindings": "^1.421.0",
38
- "@salesforce/lds-durable-records": "^1.421.0",
39
- "@salesforce/lds-instrumentation": "^1.421.0",
40
- "@salesforce/lds-runtime-mobile": "^1.421.0",
37
+ "@salesforce/lds-bindings": "^1.422.0",
38
+ "@salesforce/lds-durable-records": "^1.422.0",
39
+ "@salesforce/lds-instrumentation": "^1.422.0",
40
+ "@salesforce/lds-runtime-mobile": "^1.422.0",
41
41
  "@salesforce/user": "0.0.21",
42
42
  "o11y": "250.7.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@salesforce/lds-network-aura": "^1.421.0",
46
- "@salesforce/lds-runtime-aura": "^1.421.0",
47
- "@salesforce/lds-store-nimbus": "^1.421.0",
48
- "@salesforce/nimbus-plugin-lds": "^1.421.0",
45
+ "@salesforce/lds-network-aura": "^1.422.0",
46
+ "@salesforce/lds-runtime-aura": "^1.422.0",
47
+ "@salesforce/lds-store-nimbus": "^1.422.0",
48
+ "@salesforce/nimbus-plugin-lds": "^1.422.0",
49
49
  "babel-plugin-dynamic-import-node": "^2.3.3"
50
50
  },
51
51
  "luvioBundlesize": [