@salesforce/lds-runtime-aura 1.389.0 → 1.389.1
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
|
@@ -877,14 +877,14 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
|
|
|
877
877
|
if (this.shouldUseAuraNetwork()) {
|
|
878
878
|
return this.convertAuraResponseToData(
|
|
879
879
|
this.services.auraNetwork(this.endpoint, this.auraParams, this.actionConfig),
|
|
880
|
-
(errs) => this.
|
|
880
|
+
(errs) => this.coerceAuraErrors(errs)
|
|
881
881
|
);
|
|
882
882
|
} else if (this.shouldUseFetch()) {
|
|
883
883
|
return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
|
|
884
884
|
}
|
|
885
885
|
return resolvedPromiseLike$3(err$1(toError("Aura/Fetch network services not found")));
|
|
886
886
|
}
|
|
887
|
-
|
|
887
|
+
coerceAuraErrors(auraErrors) {
|
|
888
888
|
return toError(auraErrors[0]);
|
|
889
889
|
}
|
|
890
890
|
async coerceFetchError(errorResponse) {
|
|
@@ -1020,14 +1020,14 @@ class AuraCacheControlCommand extends CacheControlCommand {
|
|
|
1020
1020
|
if (this.shouldUseAuraNetwork()) {
|
|
1021
1021
|
return this.convertAuraResponseToData(
|
|
1022
1022
|
this.services.auraNetwork(this.endpoint, this.auraParams, this.actionConfig),
|
|
1023
|
-
(errs) => this.
|
|
1023
|
+
(errs) => this.coerceAuraErrors(errs)
|
|
1024
1024
|
);
|
|
1025
1025
|
} else if (this.shouldUseFetch()) {
|
|
1026
1026
|
return this.convertFetchResponseToData(this.services.fetch(...this.fetchParams));
|
|
1027
1027
|
}
|
|
1028
1028
|
return resolvedPromiseLike$3(err$1(toError("Aura/Fetch network services not found")));
|
|
1029
1029
|
}
|
|
1030
|
-
|
|
1030
|
+
coerceAuraErrors(auraErrors) {
|
|
1031
1031
|
return toError(auraErrors[0]);
|
|
1032
1032
|
}
|
|
1033
1033
|
async coerceFetchError(errorResponse) {
|
|
@@ -2436,7 +2436,7 @@ function buildServiceDescriptor$5(luvio) {
|
|
|
2436
2436
|
},
|
|
2437
2437
|
};
|
|
2438
2438
|
}
|
|
2439
|
-
// version: 1.389.
|
|
2439
|
+
// version: 1.389.1-c0c26cd070
|
|
2440
2440
|
|
|
2441
2441
|
/*!
|
|
2442
2442
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -2536,7 +2536,7 @@ class AuraGraphQLNormalizedCacheControlCommand extends AuraNormalizedCacheContro
|
|
|
2536
2536
|
this.originalAuraParams,
|
|
2537
2537
|
this.actionConfig
|
|
2538
2538
|
),
|
|
2539
|
-
(errs) => this.
|
|
2539
|
+
(errs) => this.coerceAuraErrors(errs)
|
|
2540
2540
|
).then((result) => {
|
|
2541
2541
|
return buildSubscribableResult$1(result, this.buildSubscribe(), () => this.refresh());
|
|
2542
2542
|
});
|
|
@@ -2746,7 +2746,7 @@ function buildServiceDescriptor$1(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
2746
2746
|
},
|
|
2747
2747
|
};
|
|
2748
2748
|
}
|
|
2749
|
-
// version: 1.389.
|
|
2749
|
+
// version: 1.389.1-c0c26cd070
|
|
2750
2750
|
|
|
2751
2751
|
/*!
|
|
2752
2752
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -6248,7 +6248,7 @@ function getEnvironmentSetting(name) {
|
|
|
6248
6248
|
}
|
|
6249
6249
|
return undefined;
|
|
6250
6250
|
}
|
|
6251
|
-
// version: 1.389.
|
|
6251
|
+
// version: 1.389.1-c0c26cd070
|
|
6252
6252
|
|
|
6253
6253
|
const forceRecordTransactionsDisabled = getEnvironmentSetting(EnvironmentSettings.ForceRecordTransactionsDisabled);
|
|
6254
6254
|
//TODO: Some duplication here that can be most likely moved to a util class
|
|
@@ -7212,4 +7212,4 @@ function ldsEngineCreator() {
|
|
|
7212
7212
|
}
|
|
7213
7213
|
|
|
7214
7214
|
export { LexRequestStrategy, PdlRequestPriority, buildPredictorForContext, ldsEngineCreator as default, initializeLDS, initializeOneStore, notifyUpdateAvailableFactory, registerRequestStrategy, saveRequestAsPrediction, unregisterRequestStrategy, whenPredictionsReady };
|
|
7215
|
-
// version: 1.389.
|
|
7215
|
+
// version: 1.389.1-55a7286110
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-aura",
|
|
3
|
-
"version": "1.389.
|
|
3
|
+
"version": "1.389.1",
|
|
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.61.
|
|
38
|
-
"@luvio/tools-core": "5.61.
|
|
39
|
-
"@salesforce/lds-adapters-apex": "^1.389.
|
|
40
|
-
"@salesforce/lds-adapters-uiapi": "^1.389.
|
|
41
|
-
"@salesforce/lds-ads-bridge": "^1.389.
|
|
42
|
-
"@salesforce/lds-aura-storage": "^1.389.
|
|
43
|
-
"@salesforce/lds-bindings": "^1.389.
|
|
44
|
-
"@salesforce/lds-instrumentation": "^1.389.
|
|
45
|
-
"@salesforce/lds-network-aura": "^1.389.
|
|
46
|
-
"@salesforce/lds-network-fetch": "^1.389.
|
|
37
|
+
"@luvio/service-provisioner": "5.61.1",
|
|
38
|
+
"@luvio/tools-core": "5.61.1",
|
|
39
|
+
"@salesforce/lds-adapters-apex": "^1.389.1",
|
|
40
|
+
"@salesforce/lds-adapters-uiapi": "^1.389.1",
|
|
41
|
+
"@salesforce/lds-ads-bridge": "^1.389.1",
|
|
42
|
+
"@salesforce/lds-aura-storage": "^1.389.1",
|
|
43
|
+
"@salesforce/lds-bindings": "^1.389.1",
|
|
44
|
+
"@salesforce/lds-instrumentation": "^1.389.1",
|
|
45
|
+
"@salesforce/lds-network-aura": "^1.389.1",
|
|
46
|
+
"@salesforce/lds-network-fetch": "^1.389.1",
|
|
47
47
|
"jwt-encode": "1.0.1"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@luvio/command-aura-graphql-normalized-cache-control": "5.61.
|
|
51
|
-
"@luvio/command-aura-network": "5.61.
|
|
52
|
-
"@luvio/command-aura-normalized-cache-control": "5.61.
|
|
53
|
-
"@luvio/command-aura-resource-cache-control": "5.61.
|
|
54
|
-
"@luvio/command-fetch-network": "5.61.
|
|
55
|
-
"@luvio/command-http-graphql-normalized-cache-control": "5.61.
|
|
56
|
-
"@luvio/command-http-normalized-cache-control": "5.61.
|
|
57
|
-
"@luvio/command-ndjson": "5.61.
|
|
58
|
-
"@luvio/command-network": "5.61.
|
|
59
|
-
"@luvio/command-sse": "5.61.
|
|
60
|
-
"@luvio/command-streaming": "5.61.
|
|
50
|
+
"@luvio/command-aura-graphql-normalized-cache-control": "5.61.1",
|
|
51
|
+
"@luvio/command-aura-network": "5.61.1",
|
|
52
|
+
"@luvio/command-aura-normalized-cache-control": "5.61.1",
|
|
53
|
+
"@luvio/command-aura-resource-cache-control": "5.61.1",
|
|
54
|
+
"@luvio/command-fetch-network": "5.61.1",
|
|
55
|
+
"@luvio/command-http-graphql-normalized-cache-control": "5.61.1",
|
|
56
|
+
"@luvio/command-http-normalized-cache-control": "5.61.1",
|
|
57
|
+
"@luvio/command-ndjson": "5.61.1",
|
|
58
|
+
"@luvio/command-network": "5.61.1",
|
|
59
|
+
"@luvio/command-sse": "5.61.1",
|
|
60
|
+
"@luvio/command-streaming": "5.61.1",
|
|
61
61
|
"@luvio/network-adapter-composable": "0.158.7",
|
|
62
62
|
"@luvio/network-adapter-fetch": "0.158.7",
|
|
63
|
-
"@luvio/service-aura-network": "5.61.
|
|
64
|
-
"@luvio/service-cache": "5.61.
|
|
65
|
-
"@luvio/service-cache-control": "5.61.
|
|
66
|
-
"@luvio/service-cache-inclusion-policy": "5.61.
|
|
67
|
-
"@luvio/service-feature-flags": "5.61.
|
|
68
|
-
"@luvio/service-fetch-network": "5.61.
|
|
69
|
-
"@luvio/service-instrument-command": "5.61.
|
|
70
|
-
"@luvio/service-pubsub": "5.61.
|
|
71
|
-
"@luvio/service-store": "5.61.
|
|
72
|
-
"@luvio/utils": "5.61.
|
|
63
|
+
"@luvio/service-aura-network": "5.61.1",
|
|
64
|
+
"@luvio/service-cache": "5.61.1",
|
|
65
|
+
"@luvio/service-cache-control": "5.61.1",
|
|
66
|
+
"@luvio/service-cache-inclusion-policy": "5.61.1",
|
|
67
|
+
"@luvio/service-feature-flags": "5.61.1",
|
|
68
|
+
"@luvio/service-fetch-network": "5.61.1",
|
|
69
|
+
"@luvio/service-instrument-command": "5.61.1",
|
|
70
|
+
"@luvio/service-pubsub": "5.61.1",
|
|
71
|
+
"@luvio/service-store": "5.61.1",
|
|
72
|
+
"@luvio/utils": "5.61.1",
|
|
73
73
|
"@lwc/state": "^0.23.0",
|
|
74
|
-
"@salesforce/lds-adapters-onestore-graphql": "^1.389.
|
|
75
|
-
"@salesforce/lds-adapters-uiapi-lex": "^1.389.
|
|
76
|
-
"@salesforce/lds-luvio-service": "^1.389.
|
|
77
|
-
"@salesforce/lds-luvio-uiapi-records-service": "^1.389.
|
|
74
|
+
"@salesforce/lds-adapters-onestore-graphql": "^1.389.1",
|
|
75
|
+
"@salesforce/lds-adapters-uiapi-lex": "^1.389.1",
|
|
76
|
+
"@salesforce/lds-luvio-service": "^1.389.1",
|
|
77
|
+
"@salesforce/lds-luvio-uiapi-records-service": "^1.389.1"
|
|
78
78
|
},
|
|
79
79
|
"luvioBundlesize": [
|
|
80
80
|
{
|