@salesforce/lds-runtime-webruntime 1.442.0 → 1.444.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/ldsWebruntimeOneStoreInit.js +33 -8
- package/package.json +30 -30
|
@@ -176,7 +176,10 @@ function deepEquals$1(x, y) {
|
|
|
176
176
|
}
|
|
177
177
|
for (let i = 0; i < xkeys.length; ++i) {
|
|
178
178
|
const key = xkeys[i];
|
|
179
|
-
if (!deepEquals$1(
|
|
179
|
+
if (!deepEquals$1(
|
|
180
|
+
x[key],
|
|
181
|
+
y[key]
|
|
182
|
+
)) {
|
|
180
183
|
return false;
|
|
181
184
|
}
|
|
182
185
|
}
|
|
@@ -246,6 +249,19 @@ var HttpStatusCode = /* @__PURE__ */ ((HttpStatusCode2) => {
|
|
|
246
249
|
HttpStatusCode2[HttpStatusCode2["GatewayTimeout"] = 504] = "GatewayTimeout";
|
|
247
250
|
return HttpStatusCode2;
|
|
248
251
|
})(HttpStatusCode || {});
|
|
252
|
+
function getFetchResponseFromAuraError(err2) {
|
|
253
|
+
if (err2.data !== void 0 && err2.data.statusCode !== void 0) {
|
|
254
|
+
let data = {};
|
|
255
|
+
data = err2.data;
|
|
256
|
+
if (err2.id !== void 0) {
|
|
257
|
+
data.id = err2.id;
|
|
258
|
+
}
|
|
259
|
+
return new FetchResponse(data.statusCode, data);
|
|
260
|
+
}
|
|
261
|
+
return new FetchResponse(500, {
|
|
262
|
+
error: err2.message
|
|
263
|
+
});
|
|
264
|
+
}
|
|
249
265
|
function getStatusText(status) {
|
|
250
266
|
switch (status) {
|
|
251
267
|
case 200:
|
|
@@ -387,7 +403,7 @@ class AuraNetworkCommand extends NetworkCommand$1 {
|
|
|
387
403
|
);
|
|
388
404
|
}
|
|
389
405
|
coerceAuraErrors(auraErrors) {
|
|
390
|
-
return
|
|
406
|
+
return new UserVisibleError(getFetchResponseFromAuraError(auraErrors[0]));
|
|
391
407
|
}
|
|
392
408
|
/**
|
|
393
409
|
* Customize how non-2xx fetch fallback responses are converted into errors.
|
|
@@ -572,7 +588,10 @@ function deepEquals(x, y) {
|
|
|
572
588
|
}
|
|
573
589
|
for (let i = 0; i < xkeys.length; ++i) {
|
|
574
590
|
const key = xkeys[i];
|
|
575
|
-
if (!deepEquals(
|
|
591
|
+
if (!deepEquals(
|
|
592
|
+
x[key],
|
|
593
|
+
y[key]
|
|
594
|
+
)) {
|
|
576
595
|
return false;
|
|
577
596
|
}
|
|
578
597
|
}
|
|
@@ -3230,7 +3249,7 @@ function buildServiceDescriptor$9(luvio) {
|
|
|
3230
3249
|
},
|
|
3231
3250
|
};
|
|
3232
3251
|
}
|
|
3233
|
-
// version: 1.
|
|
3252
|
+
// version: 1.444.0-a7f42f9edf
|
|
3234
3253
|
|
|
3235
3254
|
/**
|
|
3236
3255
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -3256,7 +3275,7 @@ function buildServiceDescriptor$8(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
3256
3275
|
},
|
|
3257
3276
|
};
|
|
3258
3277
|
}
|
|
3259
|
-
// version: 1.
|
|
3278
|
+
// version: 1.444.0-a7f42f9edf
|
|
3260
3279
|
|
|
3261
3280
|
class JsonSchemaViolationError extends Error {
|
|
3262
3281
|
constructor(message, validationErrors) {
|
|
@@ -3917,7 +3936,10 @@ class GraphQLImperativeBindingsService {
|
|
|
3917
3936
|
const options = {
|
|
3918
3937
|
acceptedOperations: ["query"]
|
|
3919
3938
|
};
|
|
3920
|
-
const result = resolveAndValidateGraphQLConfig(
|
|
3939
|
+
const result = resolveAndValidateGraphQLConfig(
|
|
3940
|
+
params[0],
|
|
3941
|
+
options
|
|
3942
|
+
);
|
|
3921
3943
|
if (result?.isErr()) {
|
|
3922
3944
|
return result.error;
|
|
3923
3945
|
}
|
|
@@ -4114,7 +4136,10 @@ class GraphQLMutationBindingsService {
|
|
|
4114
4136
|
const options = {
|
|
4115
4137
|
acceptedOperations: ["mutation"]
|
|
4116
4138
|
};
|
|
4117
|
-
const result2 = resolveAndValidateGraphQLConfig(
|
|
4139
|
+
const result2 = resolveAndValidateGraphQLConfig(
|
|
4140
|
+
params[0],
|
|
4141
|
+
options
|
|
4142
|
+
);
|
|
4118
4143
|
if (result2?.isErr()) {
|
|
4119
4144
|
return {
|
|
4120
4145
|
data: void 0,
|
|
@@ -5246,4 +5271,4 @@ withDefaultLuvio((luvio) => {
|
|
|
5246
5271
|
];
|
|
5247
5272
|
setServices(services);
|
|
5248
5273
|
});
|
|
5249
|
-
// version: 1.
|
|
5274
|
+
// version: 1.444.0-a7f42f9edf
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-webruntime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.444.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS engine for Webruntime runtime",
|
|
6
6
|
"main": "dist/ldsWebruntimeOneStoreInit.js",
|
|
@@ -35,38 +35,38 @@
|
|
|
35
35
|
"ready": "yarn build && jest --collectCoverage && yarn test:size && yarn release:corejar"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@conduit-client/service-provisioner": "3.
|
|
39
|
-
"@conduit-client/tools-core": "3.
|
|
38
|
+
"@conduit-client/service-provisioner": "3.23.1",
|
|
39
|
+
"@conduit-client/tools-core": "3.23.1",
|
|
40
40
|
"jwt-encode": "1.0.1"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@conduit-client/command-aura-network": "3.
|
|
44
|
-
"@conduit-client/command-aura-normalized-cache-control": "3.
|
|
45
|
-
"@conduit-client/command-aura-resource-cache-control": "3.
|
|
46
|
-
"@conduit-client/command-fetch-network": "3.
|
|
47
|
-
"@conduit-client/command-http-normalized-cache-control": "3.
|
|
48
|
-
"@conduit-client/command-ndjson": "3.
|
|
49
|
-
"@conduit-client/command-network": "3.
|
|
50
|
-
"@conduit-client/command-sse": "3.
|
|
51
|
-
"@conduit-client/command-streaming": "3.
|
|
52
|
-
"@conduit-client/jwt-manager": "3.
|
|
53
|
-
"@conduit-client/service-aura-network": "3.
|
|
54
|
-
"@conduit-client/service-bindings-imperative": "3.
|
|
55
|
-
"@conduit-client/service-bindings-lwc": "3.
|
|
56
|
-
"@conduit-client/service-cache": "3.
|
|
57
|
-
"@conduit-client/service-cache-control": "3.
|
|
58
|
-
"@conduit-client/service-cache-inclusion-policy": "3.
|
|
59
|
-
"@conduit-client/service-fetch-network": "3.
|
|
60
|
-
"@conduit-client/service-instrument-command": "3.
|
|
61
|
-
"@conduit-client/service-pubsub": "3.
|
|
62
|
-
"@conduit-client/service-store": "3.
|
|
63
|
-
"@conduit-client/utils": "3.
|
|
64
|
-
"@luvio/network-adapter-composable": "0.
|
|
65
|
-
"@luvio/network-adapter-fetch": "0.
|
|
43
|
+
"@conduit-client/command-aura-network": "3.23.1",
|
|
44
|
+
"@conduit-client/command-aura-normalized-cache-control": "3.23.1",
|
|
45
|
+
"@conduit-client/command-aura-resource-cache-control": "3.23.1",
|
|
46
|
+
"@conduit-client/command-fetch-network": "3.23.1",
|
|
47
|
+
"@conduit-client/command-http-normalized-cache-control": "3.23.1",
|
|
48
|
+
"@conduit-client/command-ndjson": "3.23.1",
|
|
49
|
+
"@conduit-client/command-network": "3.23.1",
|
|
50
|
+
"@conduit-client/command-sse": "3.23.1",
|
|
51
|
+
"@conduit-client/command-streaming": "3.23.1",
|
|
52
|
+
"@conduit-client/jwt-manager": "3.23.1",
|
|
53
|
+
"@conduit-client/service-aura-network": "3.23.1",
|
|
54
|
+
"@conduit-client/service-bindings-imperative": "3.23.1",
|
|
55
|
+
"@conduit-client/service-bindings-lwc": "3.23.1",
|
|
56
|
+
"@conduit-client/service-cache": "3.23.1",
|
|
57
|
+
"@conduit-client/service-cache-control": "3.23.1",
|
|
58
|
+
"@conduit-client/service-cache-inclusion-policy": "3.23.1",
|
|
59
|
+
"@conduit-client/service-fetch-network": "3.23.1",
|
|
60
|
+
"@conduit-client/service-instrument-command": "3.23.1",
|
|
61
|
+
"@conduit-client/service-pubsub": "3.23.1",
|
|
62
|
+
"@conduit-client/service-store": "3.23.1",
|
|
63
|
+
"@conduit-client/utils": "3.23.1",
|
|
64
|
+
"@luvio/network-adapter-composable": "0.161.0",
|
|
65
|
+
"@luvio/network-adapter-fetch": "0.161.0",
|
|
66
66
|
"@salesforce/lds-adapters-uiapi-lex": "^1.415.0",
|
|
67
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
68
|
-
"@salesforce/lds-luvio-service": "^1.
|
|
69
|
-
"@salesforce/lds-luvio-uiapi-records-service": "^1.
|
|
67
|
+
"@salesforce/lds-default-luvio": "^1.444.0",
|
|
68
|
+
"@salesforce/lds-luvio-service": "^1.444.0",
|
|
69
|
+
"@salesforce/lds-luvio-uiapi-records-service": "^1.444.0"
|
|
70
70
|
},
|
|
71
71
|
"luvioBundlesize": [
|
|
72
72
|
{
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"maxSize": {
|
|
75
75
|
"none": "163 kB",
|
|
76
76
|
"min": "85 kB",
|
|
77
|
-
"compressed": "26 kB"
|
|
77
|
+
"compressed": "26.2 kB"
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
],
|