@salesforce/lds-runtime-aura 1.453.0 → 1.454.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/ldsEngineCreator.js +22 -14
- package/package.json +43 -43
package/dist/ldsEngineCreator.js
CHANGED
|
@@ -49,7 +49,7 @@ import { createStorage, clearStorages } from 'force/ldsDurableStorage';
|
|
|
49
49
|
import { registerSubRequestNetworkAdapter } from 'force/ldsNetwork';
|
|
50
50
|
|
|
51
51
|
const { create: create$1, freeze, keys: keys$2, entries: entries$1 } = Object;
|
|
52
|
-
const { isArray: isArray$
|
|
52
|
+
const { isArray: isArray$4 } = Array;
|
|
53
53
|
const { stringify: stringify$3, parse: parse$2 } = JSON;
|
|
54
54
|
const WeakSetConstructor = WeakSet;
|
|
55
55
|
const LogLevelMap = {
|
|
@@ -191,7 +191,7 @@ function stableJSONStringify$2(node) {
|
|
|
191
191
|
}
|
|
192
192
|
let i;
|
|
193
193
|
let out;
|
|
194
|
-
if (isArray$
|
|
194
|
+
if (isArray$4(node)) {
|
|
195
195
|
out = "[";
|
|
196
196
|
for (i = 0; i < node.length; i++) {
|
|
197
197
|
if (i) {
|
|
@@ -299,7 +299,7 @@ function deepFreeze(value) {
|
|
|
299
299
|
return;
|
|
300
300
|
}
|
|
301
301
|
deeplyFrozen.add(value);
|
|
302
|
-
if (isArray$
|
|
302
|
+
if (isArray$4(value)) {
|
|
303
303
|
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
304
304
|
deepFreeze(value[i]);
|
|
305
305
|
}
|
|
@@ -526,7 +526,7 @@ function buildServiceDescriptor$p() {
|
|
|
526
526
|
};
|
|
527
527
|
}
|
|
528
528
|
|
|
529
|
-
const { isArray: isArray$
|
|
529
|
+
const { isArray: isArray$3 } = Array;
|
|
530
530
|
let Ok$1 = class Ok {
|
|
531
531
|
constructor(value) {
|
|
532
532
|
this.value = value;
|
|
@@ -606,8 +606,8 @@ function deepEquals$1(x, y) {
|
|
|
606
606
|
return y === null;
|
|
607
607
|
} else if (y === null) {
|
|
608
608
|
return x === null;
|
|
609
|
-
} else if (isArray$
|
|
610
|
-
if (!isArray$
|
|
609
|
+
} else if (isArray$3(x)) {
|
|
610
|
+
if (!isArray$3(y) || x.length !== y.length) {
|
|
611
611
|
return false;
|
|
612
612
|
}
|
|
613
613
|
for (let i = 0; i < x.length; ++i) {
|
|
@@ -2589,7 +2589,7 @@ function buildServiceDescriptor$d(luvio) {
|
|
|
2589
2589
|
},
|
|
2590
2590
|
};
|
|
2591
2591
|
}
|
|
2592
|
-
// version: 1.
|
|
2592
|
+
// version: 1.454.0-4223ab4365
|
|
2593
2593
|
|
|
2594
2594
|
class AuraGraphQLNormalizedCacheControlCommand extends AuraNormalizedCacheControlCommand {
|
|
2595
2595
|
constructor(config, documentRootType, services) {
|
|
@@ -2928,7 +2928,7 @@ function buildServiceDescriptor$9(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
2928
2928
|
},
|
|
2929
2929
|
};
|
|
2930
2930
|
}
|
|
2931
|
-
// version: 1.
|
|
2931
|
+
// version: 1.454.0-4223ab4365
|
|
2932
2932
|
|
|
2933
2933
|
class RetryService {
|
|
2934
2934
|
constructor(defaultRetryPolicy) {
|
|
@@ -4725,9 +4725,10 @@ var TypeCheckShapes;
|
|
|
4725
4725
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
4726
4726
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
4727
4727
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
4728
|
-
// engine version: 0.161.
|
|
4728
|
+
// engine version: 0.161.2-bd1bd38a
|
|
4729
4729
|
|
|
4730
4730
|
const { keys: keys$1 } = Object;
|
|
4731
|
+
const { isArray: isArray$2 } = Array;
|
|
4731
4732
|
|
|
4732
4733
|
// we're going to intentionally bundle this small bit of luvio engine code into
|
|
4733
4734
|
// this module to keep it runtime dependency-free
|
|
@@ -4800,7 +4801,14 @@ const fetchNetworkAdapter = async (resourceRequest, _resourceRequestContext) =>
|
|
|
4800
4801
|
function generateQueryString(params) {
|
|
4801
4802
|
const searchParams = new URLSearchParams();
|
|
4802
4803
|
for (const key of keys$1(params)) {
|
|
4803
|
-
|
|
4804
|
+
const value = params[key];
|
|
4805
|
+
// omit undefined and empty-array values entirely: String(undefined) === 'undefined'
|
|
4806
|
+
// and String([]) === '', both of which would otherwise serialize as a valueless
|
|
4807
|
+
// `key=` or literal `key=undefined` query param that servers can reject.
|
|
4808
|
+
if (value === undefined || (isArray$2(value) && value.length === 0)) {
|
|
4809
|
+
continue;
|
|
4810
|
+
}
|
|
4811
|
+
searchParams.append(key, String(value));
|
|
4804
4812
|
}
|
|
4805
4813
|
const queryString = searchParams.toString();
|
|
4806
4814
|
if (queryString.length > 0) {
|
|
@@ -5817,7 +5825,7 @@ class PrioritizedConfigService {
|
|
|
5817
5825
|
get: (_, property) => {
|
|
5818
5826
|
const propertyPath = [...path, property];
|
|
5819
5827
|
const value = this.valueFor(propertyPath);
|
|
5820
|
-
return typeof value === "object" && value !== null && !isArray$
|
|
5828
|
+
return typeof value === "object" && value !== null && !isArray$4(value) ? this.buildReadonlyObjectProxy(propertyPath) : value;
|
|
5821
5829
|
},
|
|
5822
5830
|
getOwnPropertyDescriptor: (target, property) => {
|
|
5823
5831
|
const propertyPath = [...path, property];
|
|
@@ -5825,7 +5833,7 @@ class PrioritizedConfigService {
|
|
|
5825
5833
|
return {
|
|
5826
5834
|
value: (
|
|
5827
5835
|
// TODO - need to wrap arrays in a Proxy as well
|
|
5828
|
-
typeof value === "object" && value !== null && !isArray$
|
|
5836
|
+
typeof value === "object" && value !== null && !isArray$4(value) ? this.buildReadonlyObjectProxy(propertyPath) : value
|
|
5829
5837
|
),
|
|
5830
5838
|
writable: false,
|
|
5831
5839
|
configurable: true,
|
|
@@ -5926,7 +5934,7 @@ function getEnvironmentSetting(name) {
|
|
|
5926
5934
|
}
|
|
5927
5935
|
return undefined;
|
|
5928
5936
|
}
|
|
5929
|
-
// version: 1.
|
|
5937
|
+
// version: 1.454.0-761808c4e9
|
|
5930
5938
|
|
|
5931
5939
|
const auraClientService = getAuraClientService();
|
|
5932
5940
|
const defaultConfig = {
|
|
@@ -11584,4 +11592,4 @@ function ldsEngineCreator() {
|
|
|
11584
11592
|
}
|
|
11585
11593
|
|
|
11586
11594
|
export { LexRequestStrategy, PDL_ENGINE_REGISTRATION_ID, PdlPrefetcherEventType, PdlRequestPriority, buildPredictorForContext, configService, ldsEngineCreator as default, initializeLDS, initializeOneStore, notifyUpdateAvailableFactory, registerRequestStrategy, saveRequestAsPrediction, subscribeToPrefetcherEvents, unregisterRequestStrategy, whenPredictionsReady };
|
|
11587
|
-
// version: 1.
|
|
11595
|
+
// version: 1.454.0-4223ab4365
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-aura",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.454.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS engine for Aura runtime.",
|
|
6
6
|
"main": "dist/ldsEngineCreator.js",
|
|
@@ -34,53 +34,53 @@
|
|
|
34
34
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-aura"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@conduit-client/service-provisioner": "3.26.
|
|
38
|
-
"@conduit-client/tools-core": "3.26.
|
|
39
|
-
"@salesforce/lds-adapters-apex": "^1.
|
|
40
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
41
|
-
"@salesforce/lds-ads-bridge": "^1.
|
|
42
|
-
"@salesforce/lds-aura-storage": "^1.
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
44
|
-
"@salesforce/lds-instrumentation": "^1.
|
|
45
|
-
"@salesforce/lds-network-adapter": "^1.
|
|
46
|
-
"@salesforce/lds-network-aura": "^1.
|
|
47
|
-
"@salesforce/lds-network-fetch": "^1.
|
|
37
|
+
"@conduit-client/service-provisioner": "3.26.3",
|
|
38
|
+
"@conduit-client/tools-core": "3.26.3",
|
|
39
|
+
"@salesforce/lds-adapters-apex": "^1.454.0",
|
|
40
|
+
"@salesforce/lds-adapters-uiapi": "^1.454.0",
|
|
41
|
+
"@salesforce/lds-ads-bridge": "^1.454.0",
|
|
42
|
+
"@salesforce/lds-aura-storage": "^1.454.0",
|
|
43
|
+
"@salesforce/lds-bindings": "^1.454.0",
|
|
44
|
+
"@salesforce/lds-instrumentation": "^1.454.0",
|
|
45
|
+
"@salesforce/lds-network-adapter": "^1.454.0",
|
|
46
|
+
"@salesforce/lds-network-aura": "^1.454.0",
|
|
47
|
+
"@salesforce/lds-network-fetch": "^1.454.0",
|
|
48
48
|
"jwt-encode": "1.0.1"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@conduit-client/command-aura-graphql-normalized-cache-control": "3.26.
|
|
52
|
-
"@conduit-client/command-aura-network": "3.26.
|
|
53
|
-
"@conduit-client/command-aura-normalized-cache-control": "3.26.
|
|
54
|
-
"@conduit-client/command-fetch-network": "3.26.
|
|
55
|
-
"@conduit-client/command-http-graphql-normalized-cache-control": "3.26.
|
|
56
|
-
"@conduit-client/command-http-normalized-cache-control": "3.26.
|
|
57
|
-
"@conduit-client/command-ndjson": "3.26.
|
|
58
|
-
"@conduit-client/command-network": "3.26.
|
|
59
|
-
"@conduit-client/command-sse": "3.26.
|
|
60
|
-
"@conduit-client/command-streaming": "3.26.
|
|
61
|
-
"@conduit-client/jwt-manager": "3.26.
|
|
62
|
-
"@conduit-client/service-aura-network": "3.26.
|
|
63
|
-
"@conduit-client/service-bindings-imperative": "3.26.
|
|
64
|
-
"@conduit-client/service-bindings-lwc": "3.26.
|
|
65
|
-
"@conduit-client/service-cache": "3.26.
|
|
66
|
-
"@conduit-client/service-cache-control": "3.26.
|
|
67
|
-
"@conduit-client/service-cache-inclusion-policy": "3.26.
|
|
68
|
-
"@conduit-client/service-config": "3.26.
|
|
69
|
-
"@conduit-client/service-feature-flags": "3.26.
|
|
70
|
-
"@conduit-client/service-fetch-network": "3.26.
|
|
71
|
-
"@conduit-client/service-instrument-command": "3.26.
|
|
72
|
-
"@conduit-client/service-pubsub": "3.26.
|
|
73
|
-
"@conduit-client/service-renewable-resource-manager": "3.26.
|
|
74
|
-
"@conduit-client/service-store": "3.26.
|
|
75
|
-
"@conduit-client/utils": "3.26.
|
|
76
|
-
"@luvio/network-adapter-composable": "0.161.
|
|
77
|
-
"@luvio/network-adapter-fetch": "0.161.
|
|
51
|
+
"@conduit-client/command-aura-graphql-normalized-cache-control": "3.26.3",
|
|
52
|
+
"@conduit-client/command-aura-network": "3.26.3",
|
|
53
|
+
"@conduit-client/command-aura-normalized-cache-control": "3.26.3",
|
|
54
|
+
"@conduit-client/command-fetch-network": "3.26.3",
|
|
55
|
+
"@conduit-client/command-http-graphql-normalized-cache-control": "3.26.3",
|
|
56
|
+
"@conduit-client/command-http-normalized-cache-control": "3.26.3",
|
|
57
|
+
"@conduit-client/command-ndjson": "3.26.3",
|
|
58
|
+
"@conduit-client/command-network": "3.26.3",
|
|
59
|
+
"@conduit-client/command-sse": "3.26.3",
|
|
60
|
+
"@conduit-client/command-streaming": "3.26.3",
|
|
61
|
+
"@conduit-client/jwt-manager": "3.26.3",
|
|
62
|
+
"@conduit-client/service-aura-network": "3.26.3",
|
|
63
|
+
"@conduit-client/service-bindings-imperative": "3.26.3",
|
|
64
|
+
"@conduit-client/service-bindings-lwc": "3.26.3",
|
|
65
|
+
"@conduit-client/service-cache": "3.26.3",
|
|
66
|
+
"@conduit-client/service-cache-control": "3.26.3",
|
|
67
|
+
"@conduit-client/service-cache-inclusion-policy": "3.26.3",
|
|
68
|
+
"@conduit-client/service-config": "3.26.3",
|
|
69
|
+
"@conduit-client/service-feature-flags": "3.26.3",
|
|
70
|
+
"@conduit-client/service-fetch-network": "3.26.3",
|
|
71
|
+
"@conduit-client/service-instrument-command": "3.26.3",
|
|
72
|
+
"@conduit-client/service-pubsub": "3.26.3",
|
|
73
|
+
"@conduit-client/service-renewable-resource-manager": "3.26.3",
|
|
74
|
+
"@conduit-client/service-store": "3.26.3",
|
|
75
|
+
"@conduit-client/utils": "3.26.3",
|
|
76
|
+
"@luvio/network-adapter-composable": "0.161.2",
|
|
77
|
+
"@luvio/network-adapter-fetch": "0.161.2",
|
|
78
78
|
"@lwc/state": "^0.29.0",
|
|
79
|
-
"@salesforce/lds-adapters-onestore-graphql": "^1.
|
|
79
|
+
"@salesforce/lds-adapters-onestore-graphql": "^1.454.0",
|
|
80
80
|
"@salesforce/lds-adapters-uiapi-lex": "^1.415.0",
|
|
81
|
-
"@salesforce/lds-durable-storage": "^1.
|
|
82
|
-
"@salesforce/lds-luvio-service": "^1.
|
|
83
|
-
"@salesforce/lds-luvio-uiapi-records-service": "^1.
|
|
81
|
+
"@salesforce/lds-durable-storage": "^1.454.0",
|
|
82
|
+
"@salesforce/lds-luvio-service": "^1.454.0",
|
|
83
|
+
"@salesforce/lds-luvio-uiapi-records-service": "^1.454.0"
|
|
84
84
|
},
|
|
85
85
|
"luvioBundlesize": [
|
|
86
86
|
{
|