PackagePackagetypeA library you install and call yourself.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →

@sap-cloud-sdk/connectivity

Destination lookup and the connectivity proxy — the package that turns a destination name into a reachable endpoint with credentials attached.

Facts

Latestv4.9.1ReleasedLast pushLicenceApache-2.0

Where it sits

Lives in
Provides
DestinationsCAPDestinationscapabilityReaching a system that is not yours — an S/4HANA tenant, an on-premise service, a third-party API — without the address, the credentials or the tunnel being written into the application. The destination is the indirection, and the reason an endpoint can move without a redeploy.
Requires
SAP Destination serviceSAP Destination serviceartifactNamed as a dependency in its documentation.SAP Connectivity serviceSAP Connectivity serviceartifactNamed as a dependency in its documentation.

Who is behind it

SAPSAPOrganisationMaintains this
In the atlas: maintains 137, wrote 14
@SAP
maintainerArtem KovalovPersonContributes to this
In the atlas: contributes to 6
@artemkovalyov
SAP Cloud SDK BotPersonContributes to this
In the atlas: contributes to 11
@bot-sdk-js
BrigittaK307PersonContributes to this
In the atlas: contributes to 12
@BrigittaK307
Britta VarwigPersonContributes to this
In the atlas: contributes to 8
@bvarwig
Robert KaniaPersonContributes to this
In the atlas: contributes to 6
@cezaryrk
Christian SchüringsPersonContributes to this
In the atlas: contributes to 25
@cschuerings
Daniel KullmannPersonContributes to this
In the atlas: contributes to 6
@daniel-kullmann
David KnaackPersonContributes to this
In the atlas: contributes to 13, wrote 1
@davidkna-sap
Deeksha SinhaPersonContributes to this
In the atlas: contributes to 12
@deekshas8
Deni DajaPersonContributes to this
In the atlas: contributes to 6
@denidaja
38 contributors

Before choosing this

Conditions

LicenceSAP Developer License Agreement 3.2 CAP§ 1from DestinationsA destination used by a covered CAP application sends SAP product data to a non-SAP product rather than only addressing a remote endpoint.
  • § 1 License. Productive customer applications are limited to SAP BTP or another SAP-licensed platform, and mass extraction to a non-SAP product is restricted except where solely required for SAP interoperability.

A destination is configuration, not the deciding boundary. The licence becomes material when the resulting data flow is extraction into a non-SAP product, so the target and purpose need review.

SAP Developer License Agreement 3.2 CAP →

What it declares

Every artifact

Type
Package
Origin
By SAP

As a package

Where it runs
does not say
Distributed through
npm

Connections5

Install

npm add @sap-cloud-sdk/connectivity

Derived from the package name. No recipe recorded; the README has the configuration.

Where it sits in your app

Download
Your CAP applicationYour SAP BTP subaccountdocumentedrequiresdocumentedrequires@sap-cloud-sdk/connectivity, module@sap-cloud-sdk/conne…SAP Destination service, service instanceSAP DestinationserviceSAP Connectivity service, service instanceSAP Connectivityservice
SAPnot SAP's, or the project's owndocumented only

README

quoted from SAP/cloud-sdk-js under Apache-2.0, read
SAP/cloud-sdk-js/packages/connectivity/README.mdOn GitHub

SAP Cloud SDK for JavaScript Logo

@sap-cloud-sdk/connectivity

This package contains the connectivity functionality of the SAP Cloud SDK as well as the Cloud Platform abstractions.

Installation

$ npm install @sap-cloud-sdk/connectivity

Usage

The connectivity package is not intended for direct usage. The handles the platform abstractions for the connectivity e.g. connectivity service.

For more detailed overview visit the documentation on destinations and connectivity.

Support

The recommended way to get in touch with us is to create an issue on GitHub. Select the issue category Bug, Feature, or Question depending on the nature of your request. We try to provide fixes, features and answers as soon as possible.

Contribute

If you would like to contribute to the SAP Cloud SDK, please make yourself familiar with our contributing guidelines and follow the given instructions.

License

The SAP Cloud SDK is released under the Apache License Version 2.0.

Apache-2.0, read

History

Latest

v4.9.1

Fixes 2

Notes
Patch Changes
  • e8f8134: [fix] Export ./internal.js named export in package.json for compatibility. Please migrate to the new named export ./internal, the old export is deprecated and will be removed in the next major release.
  • Updated dependencies [e8f8134]
    • @sap-cloud-sdk/resilience@4.9.1
    • @sap-cloud-sdk/util@4.9.1
  1. v4.9.0

    Fixes 2

    Notes
    Patch Changes
    • 9f55261: [fix] Extend OnPremise HTTP agent cache key to scope it more strongly. The cache key now includes the subaccount identity ensuring keep-alive sockets are not reused across tenants in multi-tenant technical user flows. If no stable identity context can be derived from the request, a fresh agent without keep-alive is created for each request. This matches the behavior of the previous implementation in SAP Cloud SDK v4.6.0 and lower, which did not cache agents in any case.
    • @sap-cloud-sdk/resilience@4.9.0
      • @sap-cloud-sdk/util@4.9.0
  2. v4.8.0

    Features 1, Fixes 3

    Notes
    Minor Changes
    • 32aab37: [feat] A new agentOptions property on Destination allows configuring the underlying HTTP(S) agent (e.g. keepAlive, timeout) without constructing an agent manually.
    Patch Changes
    • 34da40e: [fix] HTTP(S) agents are now cached per destination instead of per protocol and options, preventing unintended agent reuse across different destinations.
    • a42a3a2: [fix] Refactor HTTP agent cache for better runtime compatibility.
    • 24fe0c5: [fix] Fix DestinationOrFetchOptions and HttpDestinationOrFetchOptions so the service key surfaces at the type level.
      • @sap-cloud-sdk/resilience@4.8.0
      • @sap-cloud-sdk/util@4.8.0
  3. v4.7.0

    Features 5, Fixes 1

    Notes
    Minor Changes
    • 9102f18: [New Functionality] Add createDestinationFromIasService() convenience function to build IAS-backed destinations. This function aims to offer more convenience for obtaining IAS-backed destinations outside SAP BTP-environments.
    • d54ba5a: [Improvement] Cache custom http and https agents and enable the keep-alive option by default.
    • 9102f18: [New Functionality] Add getIasToken() convenience function to fetch IAS token. This function aims to offer more convenience for obtaining IAS tokens outside SAP BTP-environments.
    • d54ba5a: [Improvement] Use node's global http/https agent unless a custom agent is required by the destination configuration.
    • 9102f18: [Compatibility Note] IAS tokens are now cached via @sap/xssec. @sap/xssec uses an LRU cache limited to 100 items, previously this cache was unbound.
    Patch Changes
    • df84426: [Fixed Issue] Avoid caching JWT if forwardAuthToken is set to true.
      • @sap-cloud-sdk/resilience@4.7.0
      • @sap-cloud-sdk/util@4.7.0
  4. v4.6.0

    Features 1, Fixes 3

    Notes
    Minor Changes
    Patch Changes
    • 8637346: [Fixed Issue] Support TrustStoreLocation for OAuth2ClientCredentials destinations.
    • 259d8ad: [Fixed Issue] Extend isDestinationFetchOptions to check service property.
    • Updated dependencies [a6c8ff6]
      • @sap-cloud-sdk/util@4.6.0
      • @sap-cloud-sdk/resilience@4.6.0
  5. v4.5.1

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@4.5.1
    • @sap-cloud-sdk/util@4.5.1
  6. v4.5.0

    Features 2, Fixes 2

    Notes
    Minor Changes
    • 02d1302: [Compatibility Note] Update @sap/xssec to version 4.12.2 with changed XSUAA URL behavior. When fetching XSUAA tokens with zone ID (multi-tenant scenarios), xssec now uses the base domain without a tenant subdomain prefix.
    • 962cdcb: [Improvement] Allow passing a service binding directly through DestinationFromServiceBindingOptions instead of looking it up by name.
    Patch Changes
    • @sap-cloud-sdk/resilience@4.5.0
    • @sap-cloud-sdk/util@4.5.0
  7. v4.4.0

    Features 1, Fixes 2

    Notes
    Minor Changes
    • d444438: [New Functionality] Support IAS (App-to-App) authentication. Use transformServiceBindingToDestination() function or getDestinationFromServiceBinding() function to create a destination targeting an IAS application.
    Patch Changes
    • @sap-cloud-sdk/resilience@4.4.0
    • @sap-cloud-sdk/util@4.4.0
  8. v4.3.1

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@4.3.1
    • @sap-cloud-sdk/util@4.3.1
  9. v4.3.0

    Features 1, Fixes 2

    Notes
    Minor Changes
    • ab96aff: [New Functionality] Support certificates in JKS format for ClientCertificateAuthentication.
    Patch Changes
    • @sap-cloud-sdk/resilience@4.3.0
    • @sap-cloud-sdk/util@4.3.0
  10. v4.2.0

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@4.2.0
    • @sap-cloud-sdk/util@4.2.0
  11. v4.1.2

    Fixes 2

    Notes
    Patch Changes
    • 011b841: [Fixed Issue] Update axios to 1.12.2 to fix vulnerability to DoS attack. Refer here for more details.
    • Updated dependencies [011b841]
      • @sap-cloud-sdk/resilience@4.1.2
      • @sap-cloud-sdk/util@4.1.2
  12. v4.1.1

    Fixes 2

    Notes
    Patch Changes
    • b502b40: [Fixed Issue] Update axios to 1.11.0 to use non-vulnerable version of form-data.
    • Updated dependencies [b502b40]
      • @sap-cloud-sdk/resilience@4.1.1
      • @sap-cloud-sdk/util@4.1.1
  13. v4.1.0

    Features 2, Fixes 2

    Notes
    Minor Changes
    • 3c19ffa: [Compatibility Note] The getDestinationFromDestinationService() function no longer verifies the incoming XSUAA JWT against the application's bound XSUAA instance. Consequently, the cacheVerificationKeys option is now deprecated and has no effect.
    • 3c19ffa: [Improvement] Remove dependency on XSUAA service binding while retrieving destinations using getDestinationFromDestinationService() and getAllDestinationsFromDestinationService() functions.
    Patch Changes
    • @sap-cloud-sdk/resilience@4.1.0
    • @sap-cloud-sdk/util@4.1.0
  14. v4.0.2

    Fixes 1

    Notes
    Patch Changes
    • 4a187d6: [Fixed Issue] Remove destination cache in getDestinationFromServiceBinding() function to let cached destinations retrieved in getDestinationFromDestinationService() function be added with the proxyConfiguration property.
      • @sap-cloud-sdk/resilience@4.0.2
      • @sap-cloud-sdk/util@4.0.2
  15. v4.0.1

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@4.0.1
    • @sap-cloud-sdk/util@4.0.1
  16. v4.0.0dated in the atlas

    Breaking 3, Fixes 6

    Notes
    Major Changes
    • 7d92a1b: [Compatibility Note] The following deprecated content has been removed from the package:
      • The behaviour of getAgentConfig() function is changed to be asynchronous. The temporary asynchronous function getAgentConfigAsync() has been removed.
      • The destinationForServiceBinding() function has been removed. Use getDestinationFromServiceBinding() instead.
      • The PartialDestinationFetchOptions type has been removed. Use either ServiceBindingTransformOptions or getDestinationFromServiceBinding() function.
      • The serviceToken() function no longer takes xsuaaCredentials as part of the options parameter.
      • The parseDestination() function is no longer a public API.
      • The DestinationForServiceBindingOptions interface has been renamed to DestinationFromServiceBindingOptions.
    • d69325a: [Compatibility Note] Enable destination caching by default when retrieving destinations via the destination service. Change affects behavior of getDestination() method, getAllDestinationsFromDestinationService() method, generated client's execute() method and generic HTTP requests execution using executeHttpRequest().
    • 25c9dd8: [Compatibility Note] Disable iasToXsuaaTokenExchange by default if not defined.
    Patch Changes
    • e7cf4e7: [Fixed Issue] Reintroduce option to pass iss property to getClientCredentialsToken function.
    • 40fa8d9: [Fixed Issue] Add proxyConfiguration on the fly to avoid expired proxy authorization token in cached destination if it lives shorter than the token for destination service.
    • Updated dependencies [7d92a1b]
    • Updated dependencies [7d92a1b]
    • Updated dependencies [936a6eb]
    • Updated dependencies [4228412]
      • @sap-cloud-sdk/resilience@4.0.0
      • @sap-cloud-sdk/util@4.0.0
  17. v3.24.0

    Features 1, Fixes 2

    Notes
    Minor Changes
    • 7ccc9a3: [New Functionality] Add transform function to create OAuth2ClientCredentials destinations from service bindings.
    Patch Changes
    • @sap-cloud-sdk/resilience@3.24.0
    • @sap-cloud-sdk/util@3.24.0
  18. v3.23.0

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@3.23.0
    • @sap-cloud-sdk/util@3.23.0
  19. v3.22.2

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@3.22.2
    • @sap-cloud-sdk/util@3.22.2
  20. v3.22.1

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@3.22.1
    • @sap-cloud-sdk/util@3.22.1
  21. v3.22.0

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@3.22.0
    • @sap-cloud-sdk/util@3.22.0
  22. v3.21.0

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@3.21.0
    • @sap-cloud-sdk/util@3.21.0
  23. v3.20.0

    Features 1, Fixes 1

    Notes
    Minor Changes
    • 39eb88c: [Compatibility Note] Throw an error if a JWT for caching was provided, but doesn't contain tenant information.
    Patch Changes
    • 39eb88c: [Fixed Issue] Derive tenant information for destination caching also for IAS tokens.
      • @sap-cloud-sdk/resilience@3.20.0
      • @sap-cloud-sdk/util@3.20.0
  24. v3.19.0

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@3.19.0
    • @sap-cloud-sdk/util@3.19.0
  25. v3.18.1

    Fixes 1

    Notes
    Patch Changes
    • c1bf319: [Fixed Issue] Fix IAS to XSUAA token exchange to have less strict verification.
      • @sap-cloud-sdk/resilience@3.18.1
      • @sap-cloud-sdk/util@3.18.1
  26. v3.18.0

    Features 1, Fixes 1

    Notes
    Minor Changes
    • 06e5c72: [New Functionality] Support IAS tokens without the need to pass iss in the destination fetch options.
    Patch Changes
    • c23ccfd: [Fixed Issue] Fix the JwtPayload import.
      • @sap-cloud-sdk/resilience@3.18.0
      • @sap-cloud-sdk/util@3.18.0
  27. v3.17.0

    Features 3, Fixes 1

    Notes
    Minor Changes
    • 54a46a3: [Improvement] Use tenant ID instead of tenant-aware authentication URL for the client credentials cache.
    • dbad36f: [New Functionality] Add getTenantId() function for convenience.
    • 99b5009: [Improvement] Retrieve service token for OAuth2ClientCredentials authentication only once.
    Patch Changes
    • 86f4158: [Fixed Issue] Fix token fetching for mail multi-tenancy scenarios.
      • @sap-cloud-sdk/resilience@3.17.0
      • @sap-cloud-sdk/util@3.17.0
  28. v3.16.0

    Features 3, Fixes 2

    Notes
    Minor Changes
    • efa75d3: [New Functionality] Add convenience function transformServiceBindingToDestination() to create destination from service bindings. The following service bindings are supported:

      • business-logging
      • destination
      • s4-hana-cloud
      • saas-registry
      • workflow
      • service-manager
      • xsuaa
      • aicore
    • efa75d3: [Improvement] Expose getServiceBinding(). This was previously an internal function.

    • 4f29615: [Compatibility Note] The JKU header in JWTs is no longer verified. Instead the signature of the JWT is verified, which is more secure.

    Patch Changes
    • @sap-cloud-sdk/resilience@3.16.0
    • @sap-cloud-sdk/util@3.16.0
  29. v3.15.0

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@3.15.0
    • @sap-cloud-sdk/util@3.15.0
  30. v3.14.0

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@3.14.0
    • @sap-cloud-sdk/util@3.14.0
  31. v3.13.0

    Features 1, Fixes 2

    Notes
    Minor Changes
    • f72986a: [New Functionality] Support the AI Core Service Binding when creating destinations from service bindings
    Patch Changes
    • @sap-cloud-sdk/resilience@3.13.0
    • @sap-cloud-sdk/util@3.13.0
  32. v3.12.1

    Fixes 1

    Notes
    Patch Changes
    • 60fdc04: [Fixed Issue] Fix fetchDestinationWithoutTokenRetrieval to correctly return instance and subaccount destinations.
      • @sap-cloud-sdk/resilience@3.12.1
      • @sap-cloud-sdk/util@3.12.1
  33. v3.12.0

    Features 1, Fixes 2

    Notes
    Minor Changes
    • 36be489: [New Functionality] Support certificates in PEM format for ClientCertificateAuthentication.
    Patch Changes
    • @sap-cloud-sdk/resilience@3.12.0
    • @sap-cloud-sdk/util@3.12.0
  34. v3.11.0

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@3.11.0
    • @sap-cloud-sdk/util@3.11.0
  35. v3.10.0

    Features 4, Fixes 1

    Notes
    Minor Changes
    • c721bbd: [Compatibility Note] The SAP Cloud SDK used to get all subaccount and instance destinations, that are available with your JWT (without potentially required token retrieval), through two requests to the destination service (/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: [Improvement] Retrieve only one destination per requested destination instead of all subaccount and instance destinations. (See compatibility notes.)
    • 28c9cb7: [Fixed Issue] Allow the use of authentication type NoAuthentication with proxy type OnPremise without requiring the SAP-Connectivity-Authentication header.
    • 28c9cb7: [Compatibility Note] Using Principal Propagation through authentication type 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.
    Patch Changes
    • Updated dependencies [4d2b49b]
      • @sap-cloud-sdk/util@3.10.0
      • @sap-cloud-sdk/resilience@3.10.0
  36. v3.9.0

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@3.9.0
    • @sap-cloud-sdk/util@3.9.0
  37. v3.8.1

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@3.8.1
    • @sap-cloud-sdk/util@3.8.1
  38. v3.8.0

    Features 1, Fixes 2

    Notes
    Minor Changes
    • 693cd655f: [Compatibility Note] Remove unused internal functionality around JWT property access, like userFromJwt (removed) and audiences (changed).
    Patch Changes
    • @sap-cloud-sdk/resilience@3.8.0
    • @sap-cloud-sdk/util@3.8.0
  39. v3.7.0

    Fixes 2

    Notes
    Patch Changes
    • @sap-cloud-sdk/resilience@3.7.0
    • @sap-cloud-sdk/util@3.7.0
  40. v3.6.0

    Features 2, Fixes 2

    Notes
    Minor Changes
    • 025b6aa2c: [Fixed Issue] Use axios native proxy, instead of proxy agent, which causes connection issues for write requests on SAP Cloud Connector.
    • 025b6aa2c: [Compatibility Note] Proxy configuration is no longer realized through a proxy agent, but with the native axios proxy setting instead.
    Patch Changes
    • @sap-cloud-sdk/resilience@3.6.0
    • @sap-cloud-sdk/util@3.6.0
  41. v3.5.0

    Features 2, Fixes 1

    Notes
    Minor Changes
    • 7ed5ceb52: [Fixed Issue] Compare selectionStrategy in DestinationFetchOptions based on value instead of reference.
    • bf54df09b: [Fixed Issue] Fix destination caching for destinations from service bindings. The destinations are not cached repeatedly. The function getDestinationFromServiceBinding() returns undefined for destinations which have expired JWTs.
    Patch Changes
    • 2277f9443: [Fixed Issue] Support destinations of type ClientCertificateAuthentication without password.
      • @sap-cloud-sdk/resilience@3.5.0
      • @sap-cloud-sdk/util@3.5.0
  42. v3.4.0

    Features 3, Fixes 2

    Notes
    Minor Changes
    • db0780f1b: [New Functionality] Always add a name to destinations from service bindings created with getDestinationFromServiceBinding().
    • bde64634d: [Compatibility Note] Deprecate destinationForServiceBinding() and PartialDestinationFetchOptions. Use getDestinationFromServiceBinding() and ServiceBindingTransformOptions instead.
    • bde64634d: [New Functionality] Support forwarding of auth tokens for destinations from the destination service, service bindings and environment variables.
    Patch Changes
    • @sap-cloud-sdk/resilience@3.4.0
    • @sap-cloud-sdk/util@3.4.0
  43. v3.3.0

    Features 7, Fixes 2

    Notes
    Minor Changes
    • 0583836bc: [Improvement] Do not rely on XSUAA service when caching service tokens. Cache keys are now based on service credentials URL.

    • 8f54207b6: [Improvement] Do not rely on the XSUAA service binding to retrieve tenant information when registering destinations. If tenant is unknown and no binding is found, set it to a default value ('tenant_id').

    • 36a01f775: [New Functionality] Add option to cache mTLS certificates.

    • 6b58354e8: [Fixed Issue] Remove dependency to XSUAA service binding when checking whether a JWT was issued by XSUAA for destination retrieval. Now, the ext_attr.ehancer property is checked.

    • c09b1d06f: [Compatibility Note] The expiresIn property of authTokens on a Destination can be undefined.

    • 36a01f775: [Compatibility Note] Deprecate getAgentConfig():

      • Temporarily use replacement function getAgentConfigAsync().
      • Rename getAgentConfigAsync() to getAgentConfig() in next major version.
    • 36a01f775: [Improvement] Read mTLS certificates asynchronously.

    Patch Changes
    • @sap-cloud-sdk/resilience@3.3.0
    • @sap-cloud-sdk/util@3.3.0
  44. v3.2.0

    Features 3, Fixes 1

    Notes
    Minor Changes
    • 616d77b85: [New Functionality] Enable the use of mTLS certificates for registered destinations on CloudFoundry.
    • 56c3f70f4: [Fixed Issue] Forward the user JWT irrespective of the destination authentication type when forwardAuthToken is set to true on a destination
    • 782b9e37e: [Improvement] Set the default validity time of the client credentials token cache to 5 minutes instead of never expiring.
    Patch Changes
    • Updated dependencies [234675fc3]
      • @sap-cloud-sdk/resilience@3.2.0
      • @sap-cloud-sdk/util@3.2.0
  45. v3.1.1

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [166a16d82]
      • @sap-cloud-sdk/resilience@3.1.1
      • @sap-cloud-sdk/util@3.1.1
  46. v3.1.0

    Features 3, Fixes 2

    Notes
    Minor Changes
    • 039412e59: [New Functionality] Add support for authentication type NoAuthentication on-premise destinations.
    • 28b7af86f: [Compatibility Note] The combination of iss and jwt is now supported when fetching destinations. When both properties are set, the iss property is no longer ignored.
    • 28b7af86f: [New Functionality] Allow combination of iss an jwt when fetching a destination. In this case the iss URL will be used to fetch the destination service token and jwt will be used for the x-user-token header of user based authentication types.
    Patch Changes
    • @sap-cloud-sdk/resilience@3.1.0
    • @sap-cloud-sdk/util@3.1.0
  47. v3.0.2

    Fixes 1

    Notes
    Patch Changes
    • 47fc7278d: [Fixed Issue] Fix the The proxy configuration is undefined error for OnPrem MAIL destinations by removing the isHttpDestination check when adding proxyConfiguration to the destination object.
      • @sap-cloud-sdk/resilience@3.0.2
      • @sap-cloud-sdk/util@3.0.2
  48. v3.0.1

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [fcab06c4b]
      • @sap-cloud-sdk/resilience@3.0.1
      • @sap-cloud-sdk/util@3.0.1
  49. v3.0.0dated in the atlas

    Breaking 8, Features 4, Fixes 7

    Notes
    Major Changes
    • fde964e37: [Compatibility Note] The generic types of JwtKeyMapping is simplified so the second type argument JwtKeysT are always strings.
    • fde964e37: [Compatibility Note] The Protocol enum was replaced with a string literal union type. Now, instead of passing Protocol.HTTPS pass 'https'.
    • fde964e37: [Compatibility Note] Remove the options timeout and enableCircuitBreaker from all BTP service interactions i.e. destination and token fetching.
    • fde964e37: [Compatibility Note] Switch the compilerOptions.module to Node16 instead of CommonJS for better interoperability with ES modules. See the TypeScript handbook for technical details if needed.
    • fde964e37: [Compatibility Note] The enum IsolationStrategy was replaced with a string literal union type of the same name. Use 'tenant' and 'tenant-user' instead of IsolationStrategy.Tenant and IsolationStrategy.Tenant_User.
    • fde964e37: [Improvement] Replace Protocol enum with a string literal union type.
    • fde964e37: [Compatibility Note]] The url property in Destination is now optional as destinations of type MAIL do not have a URL.
    • fde964e37: [Improvement] Replace IsolationStrategy enum with union type.
    Minor Changes
    • fde964e37: [New Functionality] Support OAuth2RefreshToken authentication type
    • fde964e37: [New Functionality] Add a retry option in the DestinationFetchOption. Enable this options if the token exchange done by the destination service is unstable.
    • fde964e37: [Fixed Issue] Fix the combination of providing the iss together with OnPremise basic destinations.
    • fde964e37: [New Functionality] Add ResilienceOptions and resilience() function. The function returns an array of middlewares based on the provided options.
    Patch Changes
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
    • Updated dependencies [fde964e37]
      • @sap-cloud-sdk/util@3.0.0
      • @sap-cloud-sdk/resilience@3.0.0
  50. v2.11.0

    Fixes 1

    Notes
    Patch Changes
    • @sap-cloud-sdk/util@2.11.0
  51. v2.10.0

    Fixes 1

    Notes
    Patch Changes
    • @sap-cloud-sdk/util@2.10.0
  52. v2.9.0

    Features 1, Fixes 1

    Notes
    Minor Changes
    • 24029503: [New Functionality] Support fetching all subaccount- and service instance destinations from the destination service simultaneously.
    Patch Changes
    • Updated dependencies [4c51d3dc]
      • @sap-cloud-sdk/util@2.9.0
  53. v2.8.0

    Features 2, Fixes 1

    Notes
    Minor Changes
    • 15e9ef4b: [Fixed Issue] Remove last explicit references to 'VCAP_SERVICES' and replace them with '@sap/xsenv'.
    • 15e9ef4b: [Fixed Issue] Fix that unparsable destinations in the subaccount prevent other destinations from beeing fetched.
    Patch Changes
    • 15e9ef4b: [Improvement] Reduce default logs for failing requests in @sap-cloud-sdk/http-client.
      • @sap-cloud-sdk/util@2.8.0
  54. v2.7.1

    Fixes 1

    Notes
    Patch Changes
    • @sap-cloud-sdk/util@2.7.1
  55. v2.7.0

    Features 2, Fixes 1

    Notes
    Minor Changes
    • 3bff42e1: [Fixed Issue] Fix a breaking change of serviceToken introduced in 2.0, so it accepts XsuaaServiceCredentials again as an option.
    • 010a46fa: [Improvement] Support consumption of the XSUAA API via destinations.
    Patch Changes
    • @sap-cloud-sdk/util@2.7.0
  56. v2.6.0

    Features 4, Fixes 1

    Notes
    Minor Changes
    • cb598c16: [New Functionality] Support JWTs without a JKU property.
    • 09094607: [New Functionality] Add interface DestinationCacheInterface and method setDestinationCache to support implementation of custom destination cache.
    • 93d41281: [New Functionality] Fetch client credential token for destinations created by service bindings.
    • 8fdfebd6: [Fixed Issue] Fix getDestination() to allow passing an async transform function serviceBindingTransformFn in options. The transform function can also be passed by execute(), executeHttpRequest(), executeRaw(), etc. [Compatibility Note] Rename transformationFn into serviceBindingTransformFn in DestinationForServiceBindingsOptions to avoid ambiguity and make the function async.
    Patch Changes
    • @sap-cloud-sdk/util@2.6.0
  57. v2.5.0

    Fixes 1

    Notes
    Patch Changes
    • Updated dependencies [89f1c423]
      • @sap-cloud-sdk/util@2.5.0
  58. v2.4.0

    Features 4, Fixes 1

    Notes
    Minor Changes
    • 04726a35: [Improvement] Reduce default log output on the info level significantly.
    • 04726a35: [Compatibility Note] Only log the successful retrieval of destinations on theinfo log level, log everything else is on the debug or warn level.
    • 0a008674: [Compatibility Note] Mark the function noDestinationErrorMessage as internal API.
    • 0a008674: [New Functionality] Support self-signed certificate using the trustStore property of the destination object.
    Patch Changes
    • Updated dependencies [0a008674]
      • @sap-cloud-sdk/util@2.4.0
45,527downloads per week, npm
Weekly downloads for @sap-cloud-sdk/connectivity26 complete calendar weeks from 2026-04-27 to 2026-10-25; the latest total is 45527.27 Apr – 3 May: 98,0774 May – 10 May: 112,22011 May – 17 May: 115,64518 May – 24 May: 116,22525 May – 31 May: 120,0211 Jun – 7 Jun: 137,7918 Jun – 14 Jun: 199,44815 Jun – 21 Jun: 163,62022 Jun – 28 Jun: 165,55029 Jun – 5 Jul: 159,4436 Jul – 12 Jul: 155,93513 Jul – 19 Jul: 290,11720 Jul – 26 Jul: 227,14727 Jul – 2 Aug: 272,5623 Aug – 9 Aug: 237,96310 Aug – 16 Aug: 216,00917 Aug – 23 Aug: 253,84424 Aug – 30 Aug: 271,56931 Aug – 6 Sept: 206,0947 Sept – 13 Sept: 180,06714 Sept – 20 Sept: 207,22221 Sept – 27 Sept: 260,15328 Sept – 4 Oct: 300,4535 Oct – 11 Oct: 214,18612 Oct – 18 Oct: 115,67819 Oct – 25 Oct: 45,527
Destinations
  1. SAP Destination serviceNamed, credentialed addresses of other systems resolved at runtime
  2. com.sap.cds:cds-feature-remote-odataRemote Services for consuming OData V2 and V4 APIs in CAP Java
  3. com.sap.cds:cds-integration-cloud-sdkSAP Cloud SDK integration for remote REST services in CAP Java
  4. capire/s4Prebuilt SAP S/4HANA integration package for CAP projects
  5. cdseDestination resolution and axios calls from CAP configuration
  6. @sap/cdsCAP Node.js runtime
  7. @sap-cloud-sdk/http-clientHTTP client carrying a destination's credentials
  8. @sap-cloud-sdk/odata-commonShared machinery under the Cloud SDK's OData and OpenAPI clients
  9. @sap-cloud-sdk/openapiGenerated OpenAPI clients for the Cloud SDK
  10. @sap-cloud-sdk/resilienceTimeouts, retries and circuit breaking around remote calls
  11. @sap-cloud-sdk/utilGeneral utilities shared across the Cloud SDK packages
  12. @sapmentors/cds-scp-apiNode module for CAP calling external APIs through a destination

Details

Sources5
npm registrydiscovered herechecked
The discovery passdiscovered herechecked
npm registry, @sap-cloud-sdk/connectivityversion, releases, installschecked
github.com/git+https://github.com/SAP/cloud-sdk-js.gittree, pushes, contributors, CIchecked
packages/connectivity/README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
latestv4.9.1
first release
releases and cadence1634, ~2d median
discovered vianpm registry, The discovery pass
first seen in the atlas
ecosystem and domaincap, integration-and-messaging
Contributors38
History in the atlas3
  1. Typed cds-plugin by placement, which defaults every candidate to that. It is not one.
  2. Destination lookup and the connectivity proxy — the package that turns a destination name into a reachable endpoint with credentials attached.
  3. First seen.
For your agent
Ref
artifact:sap-cloud-sdk-connectivity
JSON
/artifacts/sap-cloud-sdk-connectivity.json
MCP
Connecting an agent