@salesforce/lds-network-fetch 1.444.0 → 1.446.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/ldsNetworkFetch.js +7 -3
- package/package.json +2 -2
package/dist/ldsNetworkFetch.js
CHANGED
|
@@ -220,7 +220,9 @@ function generateHeaders(headers) {
|
|
|
220
220
|
|
|
221
221
|
function resolvedPromiseLike(result) {
|
|
222
222
|
if (isPromiseLike(result)) {
|
|
223
|
-
return result.then(
|
|
223
|
+
return result.then(
|
|
224
|
+
(nextResult) => nextResult
|
|
225
|
+
);
|
|
224
226
|
}
|
|
225
227
|
return {
|
|
226
228
|
then: (onFulfilled, _onRejected) => {
|
|
@@ -237,7 +239,9 @@ function resolvedPromiseLike(result) {
|
|
|
237
239
|
}
|
|
238
240
|
function rejectedPromiseLike(reason) {
|
|
239
241
|
if (isPromiseLike(reason)) {
|
|
240
|
-
return reason.then(
|
|
242
|
+
return reason.then(
|
|
243
|
+
(nextResult) => nextResult
|
|
244
|
+
);
|
|
241
245
|
}
|
|
242
246
|
return {
|
|
243
247
|
then: (_onFulfilled, onRejected) => {
|
|
@@ -872,4 +876,4 @@ function instrument(newInstrumentation) {
|
|
|
872
876
|
}
|
|
873
877
|
|
|
874
878
|
export { instrument, setupFetchNetworkAdapter, setupLexNetworkAdapter };
|
|
875
|
-
// version: 1.
|
|
879
|
+
// version: 1.446.0-f73bd65030
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-network-fetch",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.446.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS Network Adapter using fetch",
|
|
6
6
|
"main": "dist/ldsNetworkFetch.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@luvio/network-adapter-fetch": "0.161.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@salesforce/lds-network-aura": "^1.
|
|
41
|
+
"@salesforce/lds-network-aura": "^1.446.0"
|
|
42
42
|
},
|
|
43
43
|
"volta": {
|
|
44
44
|
"extends": "../../package.json"
|