Use the SAP Cloud SDK for JavaScript / TypeScript to reduce development effort when building applications on SAP Business Technology Platform that communicate with SAP solutions and services such as SAP S/4HANA Cloud, SAP SuccessFactors, and many others.
fetchDestinationWithoutTokenRetrieval
to correctly return instance and subaccount destinations.
addCustomRequestConfiguration
method to accept values of type any
. (60fdc04)ClientCertificateAuthentication
. (36be489)parameterEncoder
in the request options. (d6b1c5b)any
. (6bbdd4d)logger
property to enable console logs. Defaults to false
. (7ec62fa)nodemailer
instead of falling back to the default.
/subaccountDestinations
and /instanceDestinations
). While this approach can have advantages when caching, it can cause severe performance issues without caching. Therefore, from now on, only one destination is retrieved per requested destination through /destinations
.
You can no longer rely on the SDK to automatically cache all destinations on the first request. If needed, you can call getAllDestinationsFromDestinationService()
with cache enabled instead. (c721bbd)NoAuthentication
is no longer supported. This resulted in erroneous behavior for destinations with authentication type NoAuthentication
. If you need to use Principal Propagation use authentication type PrincipalPropagation
. (28c9cb7)SAP_CLOUD_SDK_LOG_LEVEL
. (4d2b49b)NoAuthentication
with proxy type OnPremise
without requiring the SAP-Connectivity-Authentication
header. (28c9cb7)userFromJwt
(removed) and audiences
(changed). (693cd655f)Location ID
in destinations of type MAIL
(8516b7f04)delete()
, update()
, and getByKey()
methods in the RequestBuilder of an entity without keys.
null
values in the request payload for properties that are not set while creating or updating an entity.RangeError: Maximum call stack size exceeded
error that occurs when updating an entity after calling getByKey
. (bdcf14f85)