@salesforce/lds-runtime-bridge 1.229.0-dev1 → 1.229.0-dev10
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 +9 -4
- package/package.json +8 -8
package/dist/ldsRuntimeBridge.js
CHANGED
|
@@ -15,6 +15,7 @@ import { setDefaultLuvio } from 'force/ldsEngine';
|
|
|
15
15
|
import { StoreKeySet, serializeStructuredKey, Reader, deepFreeze, emitAdapterEvent, InMemoryStore, Environment, Luvio } from 'force/luvioEngine';
|
|
16
16
|
import { instrumentLuvio } from 'force/ldsInstrumentation';
|
|
17
17
|
import { keyBuilderRecord } from 'force/ldsAdaptersUiapi';
|
|
18
|
+
import '@salesforce/gate/lds.idempotencyWriteDisabled';
|
|
18
19
|
import '@salesforce/gate/lds.graphqlEvalExcludeStaleRecords';
|
|
19
20
|
import networkAdapter from 'force/ldsNetwork';
|
|
20
21
|
import ldsEngineCreator from 'force/ldsEngineCreator';
|
|
@@ -68,6 +69,9 @@ function handleDurableStoreRejection(instrument) {
|
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
function isStoreEntryError(storeRecord) {
|
|
72
|
+
if (!storeRecord || typeof storeRecord !== 'object') {
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
71
75
|
return storeRecord.__type === 'error';
|
|
72
76
|
}
|
|
73
77
|
|
|
@@ -652,12 +656,12 @@ function makeDurable(environment, { durableStore, instrumentation }) {
|
|
|
652
656
|
}
|
|
653
657
|
return environment.getNode(key, ingestStagingStore);
|
|
654
658
|
};
|
|
655
|
-
const wrapNormalizedGraphNode = function (normalized) {
|
|
659
|
+
const wrapNormalizedGraphNode = function (normalized, key) {
|
|
656
660
|
validateNotDisposed();
|
|
657
661
|
if (ingestStagingStore === null) {
|
|
658
662
|
ingestStagingStore = buildIngestStagingStore(environment);
|
|
659
663
|
}
|
|
660
|
-
return environment.wrapNormalizedGraphNode(normalized, ingestStagingStore);
|
|
664
|
+
return environment.wrapNormalizedGraphNode(normalized, key, ingestStagingStore);
|
|
661
665
|
};
|
|
662
666
|
const rebuildSnapshot = function (snapshot, onRebuild) {
|
|
663
667
|
validateNotDisposed();
|
|
@@ -6210,6 +6214,7 @@ var PredicateType;
|
|
|
6210
6214
|
PredicateType["single"] = "single";
|
|
6211
6215
|
PredicateType["not"] = "not";
|
|
6212
6216
|
})(PredicateType || (PredicateType = {}));
|
|
6217
|
+
const PARENT_RELATIONSHIP = 'parentRelationship';
|
|
6213
6218
|
|
|
6214
6219
|
({
|
|
6215
6220
|
kind: Kind.DIRECTIVE,
|
|
@@ -6226,7 +6231,7 @@ var PredicateType;
|
|
|
6226
6231
|
},
|
|
6227
6232
|
value: {
|
|
6228
6233
|
kind: Kind.STRING,
|
|
6229
|
-
value:
|
|
6234
|
+
value: PARENT_RELATIONSHIP,
|
|
6230
6235
|
block: false,
|
|
6231
6236
|
},
|
|
6232
6237
|
},
|
|
@@ -6567,4 +6572,4 @@ function ldsRuntimeBridge() {
|
|
|
6567
6572
|
}
|
|
6568
6573
|
|
|
6569
6574
|
export { ldsRuntimeBridge as default };
|
|
6570
|
-
// version: 1.229.0-
|
|
6575
|
+
// version: 1.229.0-dev10-bc9ef2513
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-bridge",
|
|
3
|
-
"version": "1.229.0-
|
|
3
|
+
"version": "1.229.0-dev10",
|
|
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.229.0-
|
|
38
|
-
"@salesforce/lds-instrumentation": "1.229.0-
|
|
37
|
+
"@salesforce/lds-adapters-uiapi": "1.229.0-dev10",
|
|
38
|
+
"@salesforce/lds-instrumentation": "1.229.0-dev10",
|
|
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.229.0-
|
|
44
|
-
"@salesforce/lds-network-aura": "1.229.0-
|
|
45
|
-
"@salesforce/lds-runtime-aura": "1.229.0-
|
|
46
|
-
"@salesforce/lds-store-nimbus": "1.229.0-
|
|
47
|
-
"@salesforce/nimbus-plugin-lds": "1.229.0-
|
|
43
|
+
"@salesforce/lds-drafts-adapters-uiapi": "1.229.0-dev10",
|
|
44
|
+
"@salesforce/lds-network-aura": "1.229.0-dev10",
|
|
45
|
+
"@salesforce/lds-runtime-aura": "1.229.0-dev10",
|
|
46
|
+
"@salesforce/lds-store-nimbus": "1.229.0-dev10",
|
|
47
|
+
"@salesforce/nimbus-plugin-lds": "1.229.0-dev10",
|
|
48
48
|
"babel-plugin-dynamic-import-node": "^2.3.3"
|
|
49
49
|
},
|
|
50
50
|
"luvioBundlesize": [
|