@salesforce/lds-runtime-bridge 1.327.0 → 1.329.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/ldsRuntimeBridge.js +15 -5
- package/package.json +9 -9
package/dist/ldsRuntimeBridge.js
CHANGED
|
@@ -18,6 +18,7 @@ import { instrument } from 'force/ldsBindings';
|
|
|
18
18
|
import { extractRecordIdFromStoreKey, RECORD_VIEW_ENTITY_ID_PREFIX, isStoreKeyRecordViewEntity, keyBuilderRecord, RECORD_ID_PREFIX, RECORD_FIELDS_KEY_JUNCTION } from 'force/ldsAdaptersUiapi';
|
|
19
19
|
import networkAdapter from 'force/ldsNetwork';
|
|
20
20
|
import ldsEngineCreator from 'force/ldsEngineCreator';
|
|
21
|
+
import { getRuntime as getRuntime$1 } from 'native/ldsRuntimeMobile';
|
|
21
22
|
|
|
22
23
|
// the last version the metadata shape was altered
|
|
23
24
|
const DURABLE_METADATA_VERSION = '0.111.0';
|
|
@@ -1976,10 +1977,19 @@ function ldsRuntimeBridge() {
|
|
|
1976
1977
|
if (typeof __nimbus !== 'undefined' &&
|
|
1977
1978
|
__nimbus.plugins !== undefined &&
|
|
1978
1979
|
__nimbus.plugins.LdsSqliteStore !== undefined) {
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1980
|
+
if (__nimbus.plugins.GaterPlugin !== undefined &&
|
|
1981
|
+
__nimbus.plugins.GaterPlugin.isUnifiedLdsCacheEnabled !== undefined) {
|
|
1982
|
+
// The existence of isUnifiedLdsCacheEnabled must be synchronous, only if the feature flag is set.
|
|
1983
|
+
const { luvio } = getRuntime$1();
|
|
1984
|
+
setDefaultLuvio({ luvio });
|
|
1985
|
+
return { name: 'ldsRuntimeMobile' };
|
|
1986
|
+
}
|
|
1987
|
+
else {
|
|
1988
|
+
// Since LdsSqliteStore plugin is present, use Luvio with persistent store
|
|
1989
|
+
const luvio = getRuntime();
|
|
1990
|
+
setDefaultLuvio({ luvio });
|
|
1991
|
+
return { name: 'ldsRuntimeBridge' };
|
|
1992
|
+
}
|
|
1983
1993
|
}
|
|
1984
1994
|
else {
|
|
1985
1995
|
// Plugin not available fallback to lds-runtime-aura/ldsEngineCreator
|
|
@@ -1988,4 +1998,4 @@ function ldsRuntimeBridge() {
|
|
|
1988
1998
|
}
|
|
1989
1999
|
|
|
1990
2000
|
export { ldsRuntimeBridge as default };
|
|
1991
|
-
// version: 1.
|
|
2001
|
+
// version: 1.329.0-9b52e8059d
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-bridge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.329.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.
|
|
38
|
-
"@salesforce/lds-durable-records": "^1.
|
|
39
|
-
"@salesforce/lds-instrumentation": "^1.
|
|
40
|
-
"@salesforce/lds-runtime-mobile": "^1.
|
|
37
|
+
"@salesforce/lds-bindings": "^1.329.0",
|
|
38
|
+
"@salesforce/lds-durable-records": "^1.329.0",
|
|
39
|
+
"@salesforce/lds-instrumentation": "^1.329.0",
|
|
40
|
+
"@salesforce/lds-runtime-mobile": "^1.329.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.
|
|
46
|
-
"@salesforce/lds-runtime-aura": "^1.
|
|
47
|
-
"@salesforce/lds-store-nimbus": "^1.
|
|
48
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
45
|
+
"@salesforce/lds-network-aura": "^1.329.0",
|
|
46
|
+
"@salesforce/lds-runtime-aura": "^1.329.0",
|
|
47
|
+
"@salesforce/lds-store-nimbus": "^1.329.0",
|
|
48
|
+
"@salesforce/nimbus-plugin-lds": "^1.329.0",
|
|
49
49
|
"babel-plugin-dynamic-import-node": "^2.3.3"
|
|
50
50
|
},
|
|
51
51
|
"luvioBundlesize": [
|