@salesforce/lds-runtime-one-app 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/oneAppLdsEngineCreator.js +22 -14
- package/package.json +43 -43
|
@@ -48,7 +48,7 @@ import { createStorage, clearStorages } from 'force/ldsDurableStorage';
|
|
|
48
48
|
import { registerSubRequestNetworkAdapter } from 'force/ldsNetwork';
|
|
49
49
|
|
|
50
50
|
const { create: create$1, freeze, keys: keys$2, entries: entries$1 } = Object;
|
|
51
|
-
const { isArray: isArray$
|
|
51
|
+
const { isArray: isArray$4 } = Array;
|
|
52
52
|
const { stringify: stringify$3, parse: parse$2 } = JSON;
|
|
53
53
|
const WeakSetConstructor = WeakSet;
|
|
54
54
|
const LogLevelMap = {
|
|
@@ -190,7 +190,7 @@ function stableJSONStringify$2(node) {
|
|
|
190
190
|
}
|
|
191
191
|
let i;
|
|
192
192
|
let out;
|
|
193
|
-
if (isArray$
|
|
193
|
+
if (isArray$4(node)) {
|
|
194
194
|
out = "[";
|
|
195
195
|
for (i = 0; i < node.length; i++) {
|
|
196
196
|
if (i) {
|
|
@@ -298,7 +298,7 @@ function deepFreeze(value) {
|
|
|
298
298
|
return;
|
|
299
299
|
}
|
|
300
300
|
deeplyFrozen.add(value);
|
|
301
|
-
if (isArray$
|
|
301
|
+
if (isArray$4(value)) {
|
|
302
302
|
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
303
303
|
deepFreeze(value[i]);
|
|
304
304
|
}
|
|
@@ -525,7 +525,7 @@ function buildServiceDescriptor$p() {
|
|
|
525
525
|
};
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
-
const { isArray: isArray$
|
|
528
|
+
const { isArray: isArray$3 } = Array;
|
|
529
529
|
let Ok$1 = class Ok {
|
|
530
530
|
constructor(value) {
|
|
531
531
|
this.value = value;
|
|
@@ -605,8 +605,8 @@ function deepEquals$1(x, y) {
|
|
|
605
605
|
return y === null;
|
|
606
606
|
} else if (y === null) {
|
|
607
607
|
return x === null;
|
|
608
|
-
} else if (isArray$
|
|
609
|
-
if (!isArray$
|
|
608
|
+
} else if (isArray$3(x)) {
|
|
609
|
+
if (!isArray$3(y) || x.length !== y.length) {
|
|
610
610
|
return false;
|
|
611
611
|
}
|
|
612
612
|
for (let i = 0; i < x.length; ++i) {
|
|
@@ -2588,7 +2588,7 @@ function buildServiceDescriptor$d(luvio) {
|
|
|
2588
2588
|
},
|
|
2589
2589
|
};
|
|
2590
2590
|
}
|
|
2591
|
-
// version: 1.
|
|
2591
|
+
// version: 1.454.0-4223ab4365
|
|
2592
2592
|
|
|
2593
2593
|
class AuraGraphQLNormalizedCacheControlCommand extends AuraNormalizedCacheControlCommand {
|
|
2594
2594
|
constructor(config, documentRootType, services) {
|
|
@@ -2927,7 +2927,7 @@ function buildServiceDescriptor$9(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
2927
2927
|
},
|
|
2928
2928
|
};
|
|
2929
2929
|
}
|
|
2930
|
-
// version: 1.
|
|
2930
|
+
// version: 1.454.0-4223ab4365
|
|
2931
2931
|
|
|
2932
2932
|
class RetryService {
|
|
2933
2933
|
constructor(defaultRetryPolicy) {
|
|
@@ -4640,9 +4640,10 @@ var TypeCheckShapes;
|
|
|
4640
4640
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
4641
4641
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
4642
4642
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
4643
|
-
// engine version: 0.161.
|
|
4643
|
+
// engine version: 0.161.2-bd1bd38a
|
|
4644
4644
|
|
|
4645
4645
|
const { keys: keys$1 } = Object;
|
|
4646
|
+
const { isArray: isArray$2 } = Array;
|
|
4646
4647
|
|
|
4647
4648
|
// we're going to intentionally bundle this small bit of luvio engine code into
|
|
4648
4649
|
// this module to keep it runtime dependency-free
|
|
@@ -4715,7 +4716,14 @@ const fetchNetworkAdapter = async (resourceRequest, _resourceRequestContext) =>
|
|
|
4715
4716
|
function generateQueryString(params) {
|
|
4716
4717
|
const searchParams = new URLSearchParams();
|
|
4717
4718
|
for (const key of keys$1(params)) {
|
|
4718
|
-
|
|
4719
|
+
const value = params[key];
|
|
4720
|
+
// omit undefined and empty-array values entirely: String(undefined) === 'undefined'
|
|
4721
|
+
// and String([]) === '', both of which would otherwise serialize as a valueless
|
|
4722
|
+
// `key=` or literal `key=undefined` query param that servers can reject.
|
|
4723
|
+
if (value === undefined || (isArray$2(value) && value.length === 0)) {
|
|
4724
|
+
continue;
|
|
4725
|
+
}
|
|
4726
|
+
searchParams.append(key, String(value));
|
|
4719
4727
|
}
|
|
4720
4728
|
const queryString = searchParams.toString();
|
|
4721
4729
|
if (queryString.length > 0) {
|
|
@@ -5732,7 +5740,7 @@ class PrioritizedConfigService {
|
|
|
5732
5740
|
get: (_, property) => {
|
|
5733
5741
|
const propertyPath = [...path, property];
|
|
5734
5742
|
const value = this.valueFor(propertyPath);
|
|
5735
|
-
return typeof value === "object" && value !== null && !isArray$
|
|
5743
|
+
return typeof value === "object" && value !== null && !isArray$4(value) ? this.buildReadonlyObjectProxy(propertyPath) : value;
|
|
5736
5744
|
},
|
|
5737
5745
|
getOwnPropertyDescriptor: (target, property) => {
|
|
5738
5746
|
const propertyPath = [...path, property];
|
|
@@ -5740,7 +5748,7 @@ class PrioritizedConfigService {
|
|
|
5740
5748
|
return {
|
|
5741
5749
|
value: (
|
|
5742
5750
|
// TODO - need to wrap arrays in a Proxy as well
|
|
5743
|
-
typeof value === "object" && value !== null && !isArray$
|
|
5751
|
+
typeof value === "object" && value !== null && !isArray$4(value) ? this.buildReadonlyObjectProxy(propertyPath) : value
|
|
5744
5752
|
),
|
|
5745
5753
|
writable: false,
|
|
5746
5754
|
configurable: true,
|
|
@@ -5841,7 +5849,7 @@ function getEnvironmentSetting(name) {
|
|
|
5841
5849
|
}
|
|
5842
5850
|
return undefined;
|
|
5843
5851
|
}
|
|
5844
|
-
// version: 1.
|
|
5852
|
+
// version: 1.454.0-761808c4e9
|
|
5845
5853
|
|
|
5846
5854
|
/**
|
|
5847
5855
|
* Helpers for reaching the Aura framework from the LDS Aura runtime.
|
|
@@ -11500,4 +11508,4 @@ function ldsEngineCreator() {
|
|
|
11500
11508
|
}
|
|
11501
11509
|
|
|
11502
11510
|
export { LexRequestStrategy, PDL_ENGINE_REGISTRATION_ID, PdlPrefetcherEventType, PdlRequestPriority, buildPredictorForContext, configService, ldsEngineCreator as default, initializeLDS, initializeOneStore, notifyUpdateAvailableFactory, registerRequestStrategy, saveRequestAsPrediction, subscribeToPrefetcherEvents, unregisterRequestStrategy, whenPredictionsReady };
|
|
11503
|
-
// version: 1.
|
|
11511
|
+
// version: 1.454.0-4223ab4365
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-one-app",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.454.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS engine for the one.app (LEX) runtime.",
|
|
6
6
|
"main": "dist/oneAppLdsEngineCreator.js",
|
|
@@ -34,53 +34,53 @@
|
|
|
34
34
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-one-app"
|
|
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
|
{
|