@salesforce/lds-network-fetch 1.438.1 → 1.440.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 +2 -7
- package/package.json +2 -2
package/dist/ldsNetworkFetch.js
CHANGED
|
@@ -218,11 +218,6 @@ function generateHeaders(headers) {
|
|
|
218
218
|
return fetchHeaders;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
/*!
|
|
222
|
-
* Copyright (c) 2022, Salesforce, Inc.,
|
|
223
|
-
* All rights reserved.
|
|
224
|
-
* For full license text, see the LICENSE.txt file
|
|
225
|
-
*/
|
|
226
221
|
function resolvedPromiseLike(result) {
|
|
227
222
|
if (isPromiseLike(result)) {
|
|
228
223
|
return result.then((nextResult) => nextResult);
|
|
@@ -258,7 +253,7 @@ function rejectedPromiseLike(reason) {
|
|
|
258
253
|
};
|
|
259
254
|
}
|
|
260
255
|
function isPromiseLike(x) {
|
|
261
|
-
return typeof
|
|
256
|
+
return typeof x?.then === "function";
|
|
262
257
|
}
|
|
263
258
|
|
|
264
259
|
/**
|
|
@@ -877,4 +872,4 @@ function instrument(newInstrumentation) {
|
|
|
877
872
|
}
|
|
878
873
|
|
|
879
874
|
export { instrument, setupFetchNetworkAdapter, setupLexNetworkAdapter };
|
|
880
|
-
// version: 1.
|
|
875
|
+
// version: 1.440.0-267427df73
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-network-fetch",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.440.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.160.5"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@salesforce/lds-network-aura": "^1.
|
|
41
|
+
"@salesforce/lds-network-aura": "^1.440.0"
|
|
42
42
|
},
|
|
43
43
|
"volta": {
|
|
44
44
|
"extends": "../../package.json"
|