@salesforce/lwc-adapters-uiapi 1.266.0-dev5 → 1.266.0-dev6
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/main.js +13 -11
- package/package.json +4 -4
package/dist/main.js
CHANGED
|
@@ -569,7 +569,7 @@ function createResourceParamsImpl(config, configMetadata) {
|
|
|
569
569
|
}
|
|
570
570
|
return resourceParams;
|
|
571
571
|
}
|
|
572
|
-
// engine version: 0.154.
|
|
572
|
+
// engine version: 0.154.7-dev3-3c8f645e
|
|
573
573
|
|
|
574
574
|
/**
|
|
575
575
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -13110,17 +13110,19 @@ function onResourceError(luvio, config, key, err) {
|
|
|
13110
13110
|
function buildNetworkSnapshot$18(luvio, config, serverRequestCount = 0, options) {
|
|
13111
13111
|
const { request, key, allTrackedFields, resourceParams } = prepareRequest$6(luvio, config);
|
|
13112
13112
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
13113
|
+
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
13114
|
+
// Komaci - a batch record request with a single record followed by a single
|
|
13115
|
+
// record request. The fulfill logic sends the same network response, so
|
|
13116
|
+
// there is some TypeScript massaging to extract the RecordRepresentation
|
|
13117
|
+
//
|
|
13118
|
+
// W-14381091 - Ensure hoisting the response body happens prior to
|
|
13119
|
+
// calling `luvio.handleSuccessResponse`, since both arguments capture
|
|
13120
|
+
// the response.
|
|
13121
|
+
if (isSingleBatchRecordResponse(response.body)) {
|
|
13122
|
+
response.body = response.body.results[0]
|
|
13123
|
+
.result;
|
|
13124
|
+
}
|
|
13113
13125
|
return luvio.handleSuccessResponse(() => {
|
|
13114
|
-
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
13115
|
-
// Komaci - a batch record request with a single record followed by a single
|
|
13116
|
-
// record request. The fulfill logic sends the same network response, so
|
|
13117
|
-
// there is some TypeScript massaging to extract the RecordRepresentation
|
|
13118
|
-
if (isSingleBatchRecordResponse(response.body)) {
|
|
13119
|
-
let recordResponse = response;
|
|
13120
|
-
recordResponse.body = response.body.results[0]
|
|
13121
|
-
.result;
|
|
13122
|
-
return onResourceSuccess(luvio, config, key, allTrackedFields, recordResponse, serverRequestCount + 1);
|
|
13123
|
-
}
|
|
13124
13126
|
return onResourceSuccess(luvio, config, key, allTrackedFields, response, serverRequestCount + 1);
|
|
13125
13127
|
}, () => {
|
|
13126
13128
|
const cache = new StoreKeyMap();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lwc-adapters-uiapi",
|
|
3
|
-
"version": "1.266.0-
|
|
3
|
+
"version": "1.266.0-dev6",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "UIAPI adapters with LWC bindings",
|
|
6
6
|
"module": "dist/main.js",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"clean": "rm -rf dist src/generated"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@salesforce/lds-adapters-uiapi": "^1.266.0-
|
|
34
|
+
"@salesforce/lds-adapters-uiapi": "^1.266.0-dev6"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@luvio/lwc-luvio": "0.154.
|
|
38
|
-
"@salesforce/lds-default-luvio": "^1.266.0-
|
|
37
|
+
"@luvio/lwc-luvio": "0.154.7-dev3",
|
|
38
|
+
"@salesforce/lds-default-luvio": "^1.266.0-dev6"
|
|
39
39
|
}
|
|
40
40
|
}
|