@salesforce/lds-runtime-webruntime 1.371.0 → 1.372.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/ldsWebruntimeOneStoreInit.js +29 -8
- package/package.json +23 -23
|
@@ -773,14 +773,20 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
|
|
|
773
773
|
async coerceFetchError(errorResponse) {
|
|
774
774
|
return toError(errorResponse.statusText);
|
|
775
775
|
}
|
|
776
|
+
processAuraReturnValue(auraReturnValue) {
|
|
777
|
+
return ok$2(auraReturnValue);
|
|
778
|
+
}
|
|
779
|
+
processFetchReturnValue(json) {
|
|
780
|
+
return ok$2(json);
|
|
781
|
+
}
|
|
776
782
|
convertAuraResponseToData(responsePromise, coerceError) {
|
|
777
783
|
return responsePromise.then((response) => {
|
|
778
|
-
|
|
784
|
+
return this.processAuraReturnValue(response.getReturnValue());
|
|
785
|
+
}).finally(() => {
|
|
779
786
|
try {
|
|
780
787
|
this.afterRequestHooks({ statusCode: 200 });
|
|
781
788
|
} catch (e) {
|
|
782
789
|
}
|
|
783
|
-
return ok$2(auraReturnValue);
|
|
784
790
|
}).catch((error) => {
|
|
785
791
|
if (!error || !error.getError) {
|
|
786
792
|
return err$1(toError("Failed to get error from response"));
|
|
@@ -799,7 +805,9 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
|
|
|
799
805
|
(response2) => {
|
|
800
806
|
if (response2.ok) {
|
|
801
807
|
return response2.json().then(
|
|
802
|
-
(json) =>
|
|
808
|
+
(json) => {
|
|
809
|
+
return this.processFetchReturnValue(json);
|
|
810
|
+
},
|
|
803
811
|
(reason) => err$1(toError(reason))
|
|
804
812
|
).finally(() => {
|
|
805
813
|
try {
|
|
@@ -911,14 +919,20 @@ class AuraCacheControlCommand extends CacheControlCommand {
|
|
|
911
919
|
async coerceFetchError(errorResponse) {
|
|
912
920
|
return toError(errorResponse.statusText);
|
|
913
921
|
}
|
|
922
|
+
processAuraReturnValue(auraReturnValue) {
|
|
923
|
+
return ok$2(auraReturnValue);
|
|
924
|
+
}
|
|
925
|
+
processFetchReturnValue(json) {
|
|
926
|
+
return ok$2(json);
|
|
927
|
+
}
|
|
914
928
|
convertAuraResponseToData(responsePromise, coerceError) {
|
|
915
929
|
return responsePromise.then((response) => {
|
|
916
|
-
|
|
930
|
+
return this.processAuraReturnValue(response.getReturnValue());
|
|
931
|
+
}).finally(() => {
|
|
917
932
|
try {
|
|
918
933
|
this.afterRequestHooks({ statusCode: 200 });
|
|
919
934
|
} catch (e) {
|
|
920
935
|
}
|
|
921
|
-
return ok$2(auraReturnValue);
|
|
922
936
|
}).catch((error) => {
|
|
923
937
|
if (!error || !error.getError) {
|
|
924
938
|
return err$1(toError("Failed to get error from response"));
|
|
@@ -937,7 +951,9 @@ class AuraCacheControlCommand extends CacheControlCommand {
|
|
|
937
951
|
(response2) => {
|
|
938
952
|
if (response2.ok) {
|
|
939
953
|
return response2.json().then(
|
|
940
|
-
(json) =>
|
|
954
|
+
(json) => {
|
|
955
|
+
return this.processFetchReturnValue(json);
|
|
956
|
+
},
|
|
941
957
|
(reason) => err$1(toError(reason))
|
|
942
958
|
).finally(() => {
|
|
943
959
|
try {
|
|
@@ -1016,12 +1032,17 @@ class HttpCacheControlCommand extends CacheControlCommand {
|
|
|
1016
1032
|
async coerceError(errorResponse) {
|
|
1017
1033
|
return toError(errorResponse.statusText);
|
|
1018
1034
|
}
|
|
1035
|
+
processFetchReturnValue(json) {
|
|
1036
|
+
return ok$2(json);
|
|
1037
|
+
}
|
|
1019
1038
|
convertFetchResponseToData(response) {
|
|
1020
1039
|
return response.then(
|
|
1021
1040
|
(response2) => {
|
|
1022
1041
|
if (response2.ok) {
|
|
1023
1042
|
return response2.json().then(
|
|
1024
|
-
(json) =>
|
|
1043
|
+
(json) => {
|
|
1044
|
+
return this.processFetchReturnValue(json);
|
|
1045
|
+
},
|
|
1025
1046
|
(reason) => err$1(toError(reason))
|
|
1026
1047
|
).finally(() => {
|
|
1027
1048
|
try {
|
|
@@ -3002,4 +3023,4 @@ const services = [
|
|
|
3002
3023
|
buildServiceDescriptor$2(),
|
|
3003
3024
|
];
|
|
3004
3025
|
setServices(services);
|
|
3005
|
-
// version: 1.
|
|
3026
|
+
// version: 1.372.1-5ff6849fe2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-webruntime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.372.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS engine for Webruntime runtime",
|
|
6
6
|
"main": "dist/ldsWebruntimeOneStoreInit.js",
|
|
@@ -35,33 +35,33 @@
|
|
|
35
35
|
"ready": "yarn build && jest --collectCoverage && yarn test:size && yarn release:corejar"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@luvio/service-provisioner": "5.
|
|
39
|
-
"@luvio/tools-core": "5.
|
|
38
|
+
"@luvio/service-provisioner": "5.49.0",
|
|
39
|
+
"@luvio/tools-core": "5.49.0",
|
|
40
40
|
"jwt-encode": "1.0.1"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@luvio/command-aura-network": "5.
|
|
44
|
-
"@luvio/command-aura-normalized-cache-control": "5.
|
|
45
|
-
"@luvio/command-aura-resource-cache-control": "5.
|
|
46
|
-
"@luvio/command-fetch-network": "5.
|
|
47
|
-
"@luvio/command-http-normalized-cache-control": "5.
|
|
48
|
-
"@luvio/command-ndjson": "5.
|
|
49
|
-
"@luvio/command-network": "5.
|
|
50
|
-
"@luvio/command-sse": "5.
|
|
51
|
-
"@luvio/command-streaming": "5.
|
|
52
|
-
"@luvio/jwt-manager": "5.
|
|
43
|
+
"@luvio/command-aura-network": "5.49.0",
|
|
44
|
+
"@luvio/command-aura-normalized-cache-control": "5.49.0",
|
|
45
|
+
"@luvio/command-aura-resource-cache-control": "5.49.0",
|
|
46
|
+
"@luvio/command-fetch-network": "5.49.0",
|
|
47
|
+
"@luvio/command-http-normalized-cache-control": "5.49.0",
|
|
48
|
+
"@luvio/command-ndjson": "5.49.0",
|
|
49
|
+
"@luvio/command-network": "5.49.0",
|
|
50
|
+
"@luvio/command-sse": "5.49.0",
|
|
51
|
+
"@luvio/command-streaming": "5.49.0",
|
|
52
|
+
"@luvio/jwt-manager": "5.49.0",
|
|
53
53
|
"@luvio/network-adapter-composable": "0.158.7",
|
|
54
54
|
"@luvio/network-adapter-fetch": "0.158.7",
|
|
55
|
-
"@luvio/service-aura-network": "5.
|
|
56
|
-
"@luvio/service-cache": "5.
|
|
57
|
-
"@luvio/service-cache-control": "5.
|
|
58
|
-
"@luvio/service-cache-inclusion-policy": "5.
|
|
59
|
-
"@luvio/service-fetch-network": "5.
|
|
60
|
-
"@luvio/service-instrument-command": "5.
|
|
61
|
-
"@luvio/service-pubsub": "5.
|
|
62
|
-
"@luvio/service-store": "5.
|
|
63
|
-
"@luvio/utils": "5.
|
|
64
|
-
"@salesforce/lds-adapters-uiapi-lex": "^1.
|
|
55
|
+
"@luvio/service-aura-network": "5.49.0",
|
|
56
|
+
"@luvio/service-cache": "5.49.0",
|
|
57
|
+
"@luvio/service-cache-control": "5.49.0",
|
|
58
|
+
"@luvio/service-cache-inclusion-policy": "5.49.0",
|
|
59
|
+
"@luvio/service-fetch-network": "5.49.0",
|
|
60
|
+
"@luvio/service-instrument-command": "5.49.0",
|
|
61
|
+
"@luvio/service-pubsub": "5.49.0",
|
|
62
|
+
"@luvio/service-store": "5.49.0",
|
|
63
|
+
"@luvio/utils": "5.49.0",
|
|
64
|
+
"@salesforce/lds-adapters-uiapi-lex": "^1.372.1"
|
|
65
65
|
},
|
|
66
66
|
"luvioBundlesize": [
|
|
67
67
|
{
|