@sap-ux/axios-extension 1.20.1 → 1.20.2

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.
Files changed (2) hide show
  1. package/README.adoc +10 -0
  2. package/package.json +1 -1
package/README.adoc CHANGED
@@ -126,6 +126,16 @@ To enable support for TLS (Transport Layer Security) connections when using `HTT
126
126
  export TOOLSUITE_FEATURES=sap.ux.enablePatchProxy
127
127
  export HTTPS_PROXY=<YOUR-PROXY:PORT>
128
128
  ```
129
+
130
+ In order to support credentials in the proxy URL, you can set the `HTTPS_PROXY` environment variable to include the username and password in the URL. For example:
131
+
132
+ ```bash
133
+ export TOOLSUITE_FEATURES=sap.ux.enablePatchProxy
134
+ export HTTPS_PROXY=http://user:password@proxy.domain.com:3128
135
+ ```
136
+
137
+ Ensure you restart any running processes to apply the changes.
138
+
129
139
  Example Scenario
130
140
 
131
141
  If you're using a proxy server to route your HTTPS traffic, the proxy server will need to create a secure, TLS-encrypted connection to the target server on your behalf. `tls.connect()` will be used to establish that encrypted tunnel between your client, the proxy, and the server.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/axios-extension",
3
- "version": "1.20.1",
3
+ "version": "1.20.2",
4
4
  "description": "Extension of the Axios module adding convenience methods to interact with SAP systems especially with OData services.",
5
5
  "repository": {
6
6
  "type": "git",