@salesforce/lds-runtime-bridge 1.281.0 → 1.283.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 +11 -3
- package/package.json +8 -8
package/dist/ldsRuntimeBridge.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* *******************************************************************************************
|
|
13
13
|
*/
|
|
14
14
|
import { setDefaultLuvio } from 'force/ldsEngine';
|
|
15
|
-
import { StoreKeySet, serializeStructuredKey, StringKeyInMemoryStore, Reader, deepFreeze, emitAdapterEvent, InMemoryStore, Environment, Luvio } from 'force/luvioEngine';
|
|
15
|
+
import { setBypassDeepFreeze, 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
18
|
import '@salesforce/gate/lds.idempotencyWriteDisabled';
|
|
@@ -530,7 +530,9 @@ function isUnfulfilledSnapshot(cachedSnapshotResult) {
|
|
|
530
530
|
* @param durableStore A DurableStore implementation
|
|
531
531
|
* @param instrumentation An instrumentation function implementation
|
|
532
532
|
*/
|
|
533
|
-
function makeDurable(environment, { durableStore, instrumentation, useRevivingStore, enableDurableMetadataRefresh = false, }) {
|
|
533
|
+
function makeDurable(environment, { durableStore, instrumentation, useRevivingStore, enableDurableMetadataRefresh = false, disableDeepFreeze = false, }) {
|
|
534
|
+
// runtimes can choose to disable deepFreeze, e.g. headless mobile runtime
|
|
535
|
+
setBypassDeepFreeze(disableDeepFreeze);
|
|
534
536
|
let stagingStore = null;
|
|
535
537
|
const durableTTLStore = new DurableTTLStore(durableStore);
|
|
536
538
|
const mergeKeysPromiseMap = new Map();
|
|
@@ -2483,6 +2485,9 @@ function sanitizePredicateIDValue(value, draftFunction) {
|
|
|
2483
2485
|
if (isArray(value)) {
|
|
2484
2486
|
return value.map((singleValue) => sanitizePredicateIDValue(singleValue, draftFunction));
|
|
2485
2487
|
}
|
|
2488
|
+
else if (typeof value === 'string' && value === '') {
|
|
2489
|
+
return value;
|
|
2490
|
+
}
|
|
2486
2491
|
else {
|
|
2487
2492
|
const coercedId = getRecordId18(value);
|
|
2488
2493
|
if (coercedId !== undefined) {
|
|
@@ -2556,6 +2561,9 @@ function createSinglePredicate(val, operator, field, alias) {
|
|
|
2556
2561
|
else if (field.apiName === 'weakEtag') {
|
|
2557
2562
|
leftPath = '$.weakEtag';
|
|
2558
2563
|
}
|
|
2564
|
+
else if (field.apiName === 'RecordTypeId') {
|
|
2565
|
+
leftPath = '$.recordTypeId';
|
|
2566
|
+
}
|
|
2559
2567
|
return {
|
|
2560
2568
|
alias,
|
|
2561
2569
|
leftPath,
|
|
@@ -4069,4 +4077,4 @@ function ldsRuntimeBridge() {
|
|
|
4069
4077
|
}
|
|
4070
4078
|
|
|
4071
4079
|
export { ldsRuntimeBridge as default };
|
|
4072
|
-
// version: 1.
|
|
4080
|
+
// version: 1.283.0-a330da944
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-bridge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.283.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.
|
|
38
|
-
"@salesforce/lds-instrumentation": "^1.
|
|
37
|
+
"@salesforce/lds-adapters-uiapi": "^1.283.0",
|
|
38
|
+
"@salesforce/lds-instrumentation": "^1.283.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.
|
|
44
|
-
"@salesforce/lds-network-aura": "^1.
|
|
45
|
-
"@salesforce/lds-runtime-aura": "^1.
|
|
46
|
-
"@salesforce/lds-store-nimbus": "^1.
|
|
47
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
43
|
+
"@salesforce/lds-drafts-adapters-uiapi": "^1.283.0",
|
|
44
|
+
"@salesforce/lds-network-aura": "^1.283.0",
|
|
45
|
+
"@salesforce/lds-runtime-aura": "^1.283.0",
|
|
46
|
+
"@salesforce/lds-store-nimbus": "^1.283.0",
|
|
47
|
+
"@salesforce/nimbus-plugin-lds": "^1.283.0",
|
|
48
48
|
"babel-plugin-dynamic-import-node": "^2.3.3"
|
|
49
49
|
},
|
|
50
50
|
"luvioBundlesize": [
|