@salesforce/lds-runtime-aura 1.380.0-dev11 → 1.380.0-dev12
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 +9 -9
- package/package.json +36 -36
package/dist/ldsEngineCreator.js
CHANGED
|
@@ -863,14 +863,14 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
|
|
|
863
863
|
if (this.shouldUseAuraNetwork()) {
|
|
864
864
|
return this.convertAuraResponseToData(
|
|
865
865
|
this.services.auraNetwork(this.endpoint, this.auraParams, this.actionConfig),
|
|
866
|
-
(errs) => this.
|
|
866
|
+
(errs) => this.coerceAuraErrors(errs)
|
|
867
867
|
);
|
|
868
868
|
} else if (this.shouldUseFetch()) {
|
|
869
869
|
return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
|
|
870
870
|
}
|
|
871
871
|
return resolvedPromiseLike$3(err$1(toError("Aura/Fetch network services not found")));
|
|
872
872
|
}
|
|
873
|
-
|
|
873
|
+
coerceAuraErrors(auraErrors) {
|
|
874
874
|
return toError(auraErrors[0]);
|
|
875
875
|
}
|
|
876
876
|
async coerceFetchError(errorResponse) {
|
|
@@ -1006,14 +1006,14 @@ class AuraCacheControlCommand extends CacheControlCommand {
|
|
|
1006
1006
|
if (this.shouldUseAuraNetwork()) {
|
|
1007
1007
|
return this.convertAuraResponseToData(
|
|
1008
1008
|
this.services.auraNetwork(this.endpoint, this.auraParams, this.actionConfig),
|
|
1009
|
-
(errs) => this.
|
|
1009
|
+
(errs) => this.coerceAuraErrors(errs)
|
|
1010
1010
|
);
|
|
1011
1011
|
} else if (this.shouldUseFetch()) {
|
|
1012
1012
|
return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
|
|
1013
1013
|
}
|
|
1014
1014
|
return resolvedPromiseLike$3(err$1(toError("Aura/Fetch network services not found")));
|
|
1015
1015
|
}
|
|
1016
|
-
|
|
1016
|
+
coerceAuraErrors(auraErrors) {
|
|
1017
1017
|
return toError(auraErrors[0]);
|
|
1018
1018
|
}
|
|
1019
1019
|
async coerceFetchError(errorResponse) {
|
|
@@ -2422,7 +2422,7 @@ function buildServiceDescriptor$5(luvio) {
|
|
|
2422
2422
|
},
|
|
2423
2423
|
};
|
|
2424
2424
|
}
|
|
2425
|
-
// version: 1.380.0-
|
|
2425
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
2426
2426
|
|
|
2427
2427
|
/*!
|
|
2428
2428
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -2522,7 +2522,7 @@ class AuraGraphQLNormalizedCacheControlCommand extends AuraNormalizedCacheContro
|
|
|
2522
2522
|
this.originalAuraParams,
|
|
2523
2523
|
this.actionConfig
|
|
2524
2524
|
),
|
|
2525
|
-
(errs) => this.
|
|
2525
|
+
(errs) => this.coerceAuraErrors(errs)
|
|
2526
2526
|
).then((result) => {
|
|
2527
2527
|
return buildSubscribableResult$1(result, this.buildSubscribe(), () => this.refresh());
|
|
2528
2528
|
});
|
|
@@ -2732,7 +2732,7 @@ function buildServiceDescriptor$1(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
2732
2732
|
},
|
|
2733
2733
|
};
|
|
2734
2734
|
}
|
|
2735
|
-
// version: 1.380.0-
|
|
2735
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
2736
2736
|
|
|
2737
2737
|
/*!
|
|
2738
2738
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -6223,7 +6223,7 @@ function getEnvironmentSetting(name) {
|
|
|
6223
6223
|
}
|
|
6224
6224
|
return undefined;
|
|
6225
6225
|
}
|
|
6226
|
-
// version: 1.380.0-
|
|
6226
|
+
// version: 1.380.0-dev12-c6c835c6d3
|
|
6227
6227
|
|
|
6228
6228
|
const forceRecordTransactionsDisabled = getEnvironmentSetting(EnvironmentSettings.ForceRecordTransactionsDisabled);
|
|
6229
6229
|
//TODO: Some duplication here that can be most likely moved to a util class
|
|
@@ -7190,4 +7190,4 @@ function ldsEngineCreator() {
|
|
|
7190
7190
|
}
|
|
7191
7191
|
|
|
7192
7192
|
export { LexRequestStrategy, PdlRequestPriority, buildPredictorForContext, ldsEngineCreator as default, initializeLDS, initializeOneStore, notifyUpdateAvailableFactory, registerRequestStrategy, saveRequestAsPrediction, unregisterRequestStrategy, whenPredictionsReady };
|
|
7193
|
-
// version: 1.380.0-
|
|
7193
|
+
// version: 1.380.0-dev12-045476126f
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-aura",
|
|
3
|
-
"version": "1.380.0-
|
|
3
|
+
"version": "1.380.0-dev12",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS engine for Aura runtime",
|
|
6
6
|
"main": "dist/ldsEngineCreator.js",
|
|
@@ -34,47 +34,47 @@
|
|
|
34
34
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-aura"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@luvio/service-provisioner": " 5.60.0-
|
|
38
|
-
"@luvio/tools-core": " 5.60.0-
|
|
39
|
-
"@salesforce/lds-adapters-apex": "^1.380.0-
|
|
40
|
-
"@salesforce/lds-adapters-uiapi": "^1.380.0-
|
|
37
|
+
"@luvio/service-provisioner": " 5.60.0-dev3",
|
|
38
|
+
"@luvio/tools-core": " 5.60.0-dev3",
|
|
39
|
+
"@salesforce/lds-adapters-apex": "^1.380.0-dev12",
|
|
40
|
+
"@salesforce/lds-adapters-uiapi": "^1.380.0-dev12",
|
|
41
41
|
"@salesforce/lds-adapters-uiapi-lex": "^1.371.0",
|
|
42
|
-
"@salesforce/lds-ads-bridge": "^1.380.0-
|
|
43
|
-
"@salesforce/lds-aura-storage": "^1.380.0-
|
|
44
|
-
"@salesforce/lds-bindings": "^1.380.0-
|
|
45
|
-
"@salesforce/lds-instrumentation": "^1.380.0-
|
|
46
|
-
"@salesforce/lds-network-aura": "^1.380.0-
|
|
47
|
-
"@salesforce/lds-network-fetch": "^1.380.0-
|
|
42
|
+
"@salesforce/lds-ads-bridge": "^1.380.0-dev12",
|
|
43
|
+
"@salesforce/lds-aura-storage": "^1.380.0-dev12",
|
|
44
|
+
"@salesforce/lds-bindings": "^1.380.0-dev12",
|
|
45
|
+
"@salesforce/lds-instrumentation": "^1.380.0-dev12",
|
|
46
|
+
"@salesforce/lds-network-aura": "^1.380.0-dev12",
|
|
47
|
+
"@salesforce/lds-network-fetch": "^1.380.0-dev12",
|
|
48
48
|
"jwt-encode": "1.0.1"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@luvio/command-aura-graphql-normalized-cache-control": " 5.60.0-
|
|
52
|
-
"@luvio/command-aura-network": " 5.60.0-
|
|
53
|
-
"@luvio/command-aura-normalized-cache-control": " 5.60.0-
|
|
54
|
-
"@luvio/command-aura-resource-cache-control": " 5.60.0-
|
|
55
|
-
"@luvio/command-fetch-network": " 5.60.0-
|
|
56
|
-
"@luvio/command-http-graphql-normalized-cache-control": " 5.60.0-
|
|
57
|
-
"@luvio/command-http-normalized-cache-control": " 5.60.0-
|
|
58
|
-
"@luvio/command-ndjson": " 5.60.0-
|
|
59
|
-
"@luvio/command-network": " 5.60.0-
|
|
60
|
-
"@luvio/command-sse": " 5.60.0-
|
|
61
|
-
"@luvio/command-streaming": " 5.60.0-
|
|
51
|
+
"@luvio/command-aura-graphql-normalized-cache-control": " 5.60.0-dev3",
|
|
52
|
+
"@luvio/command-aura-network": " 5.60.0-dev3",
|
|
53
|
+
"@luvio/command-aura-normalized-cache-control": " 5.60.0-dev3",
|
|
54
|
+
"@luvio/command-aura-resource-cache-control": " 5.60.0-dev3",
|
|
55
|
+
"@luvio/command-fetch-network": " 5.60.0-dev3",
|
|
56
|
+
"@luvio/command-http-graphql-normalized-cache-control": " 5.60.0-dev3",
|
|
57
|
+
"@luvio/command-http-normalized-cache-control": " 5.60.0-dev3",
|
|
58
|
+
"@luvio/command-ndjson": " 5.60.0-dev3",
|
|
59
|
+
"@luvio/command-network": " 5.60.0-dev3",
|
|
60
|
+
"@luvio/command-sse": " 5.60.0-dev3",
|
|
61
|
+
"@luvio/command-streaming": " 5.60.0-dev3",
|
|
62
62
|
"@luvio/network-adapter-composable": "0.158.7",
|
|
63
63
|
"@luvio/network-adapter-fetch": "0.158.7",
|
|
64
|
-
"@luvio/service-aura-network": " 5.60.0-
|
|
65
|
-
"@luvio/service-cache": " 5.60.0-
|
|
66
|
-
"@luvio/service-cache-control": " 5.60.0-
|
|
67
|
-
"@luvio/service-cache-inclusion-policy": " 5.60.0-
|
|
68
|
-
"@luvio/service-feature-flags": " 5.60.0-
|
|
69
|
-
"@luvio/service-fetch-network": " 5.60.0-
|
|
70
|
-
"@luvio/service-instrument-command": " 5.60.0-
|
|
71
|
-
"@luvio/service-pubsub": " 5.60.0-
|
|
72
|
-
"@luvio/service-store": " 5.60.0-
|
|
73
|
-
"@luvio/utils": " 5.60.0-
|
|
74
|
-
"@salesforce/lds-adapters-onestore-graphql": "^1.380.0-
|
|
75
|
-
"@salesforce/lds-adapters-uiapi-lex": "^1.380.0-
|
|
76
|
-
"@salesforce/lds-luvio-service": "^1.380.0-
|
|
77
|
-
"@salesforce/lds-luvio-uiapi-records-service": "^1.380.0-
|
|
64
|
+
"@luvio/service-aura-network": " 5.60.0-dev3",
|
|
65
|
+
"@luvio/service-cache": " 5.60.0-dev3",
|
|
66
|
+
"@luvio/service-cache-control": " 5.60.0-dev3",
|
|
67
|
+
"@luvio/service-cache-inclusion-policy": " 5.60.0-dev3",
|
|
68
|
+
"@luvio/service-feature-flags": " 5.60.0-dev3",
|
|
69
|
+
"@luvio/service-fetch-network": " 5.60.0-dev3",
|
|
70
|
+
"@luvio/service-instrument-command": " 5.60.0-dev3",
|
|
71
|
+
"@luvio/service-pubsub": " 5.60.0-dev3",
|
|
72
|
+
"@luvio/service-store": " 5.60.0-dev3",
|
|
73
|
+
"@luvio/utils": " 5.60.0-dev3",
|
|
74
|
+
"@salesforce/lds-adapters-onestore-graphql": "^1.380.0-dev12",
|
|
75
|
+
"@salesforce/lds-adapters-uiapi-lex": "^1.380.0-dev12",
|
|
76
|
+
"@salesforce/lds-luvio-service": "^1.380.0-dev12",
|
|
77
|
+
"@salesforce/lds-luvio-uiapi-records-service": "^1.380.0-dev12"
|
|
78
78
|
},
|
|
79
79
|
"luvioBundlesize": [
|
|
80
80
|
{
|