@salesforce/lds-network-fetch 1.439.0 → 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.
@@ -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 (x == null ? void 0 : x.then) === "function";
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.439.0-e3dc0cfb2a
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.439.0",
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.439.0"
41
+ "@salesforce/lds-network-aura": "^1.440.0"
42
42
  },
43
43
  "volta": {
44
44
  "extends": "../../package.json"