@salesforce/lds-network-fetch 1.438.0 → 1.438.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/ldsNetworkFetch.js +7 -2
- package/package.json +2 -2
package/dist/ldsNetworkFetch.js
CHANGED
|
@@ -218,6 +218,11 @@ 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
|
+
*/
|
|
221
226
|
function resolvedPromiseLike(result) {
|
|
222
227
|
if (isPromiseLike(result)) {
|
|
223
228
|
return result.then((nextResult) => nextResult);
|
|
@@ -253,7 +258,7 @@ function rejectedPromiseLike(reason) {
|
|
|
253
258
|
};
|
|
254
259
|
}
|
|
255
260
|
function isPromiseLike(x) {
|
|
256
|
-
return typeof x
|
|
261
|
+
return typeof (x == null ? void 0 : x.then) === "function";
|
|
257
262
|
}
|
|
258
263
|
|
|
259
264
|
/**
|
|
@@ -872,4 +877,4 @@ function instrument(newInstrumentation) {
|
|
|
872
877
|
}
|
|
873
878
|
|
|
874
879
|
export { instrument, setupFetchNetworkAdapter, setupLexNetworkAdapter };
|
|
875
|
-
// version: 1.438.
|
|
880
|
+
// version: 1.438.1-e193893fad
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-network-fetch",
|
|
3
|
-
"version": "1.438.
|
|
3
|
+
"version": "1.438.1",
|
|
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.438.
|
|
41
|
+
"@salesforce/lds-network-aura": "^1.438.1"
|
|
42
42
|
},
|
|
43
43
|
"volta": {
|
|
44
44
|
"extends": "../../package.json"
|