@adobe/acc-js-sdk 1.1.4 → 1.1.5

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/CHANGELOG.md CHANGED
@@ -5,8 +5,13 @@ This is a node.js SDK for Campaign API. It exposes the Campaign API exactly like
5
5
 
6
6
  # Changelog
7
7
 
8
+ ## Version 1.1.5
9
+ _2022/07/07__
10
+
11
+ * The SOAP method name was not showing up properly in the Chrome console
12
+
8
13
  ## Version 1.1.4
9
- _2022/06/xx_
14
+ _2022/07/07__
10
15
 
11
16
  * Added `application.version` which returns the server version in the format major.minor.servicePack (ex: 8.2.10)
12
17
  * Added the ability to push down parameters to the SOAP and transport layers. See the pushDown section of the readme file.
package/README.md CHANGED
@@ -794,10 +794,10 @@ NLWS.xml.pushDown({ timeout: 60000, foo: 'bar' }).xtkBuilder.installPackage(dom)
794
794
  ```
795
795
 
796
796
  ## Troubleshooting
797
- In the version 1.1.4 of the SDK, we are automatically adding the SOAP method name in the URL in order to simplify troubleshooting. Normally, all SOAP method calls are make to the soaprouter.jsp endpoint, which makes it difficult to understand which actual API call is being made.
797
+ In the version 1.1.5 of the SDK, we are automatically adding the SOAP method name in the URL in order to simplify troubleshooting. Normally, all SOAP method calls are make to the soaprouter.jsp endpoint, which makes it difficult to understand which actual API call is being made.
798
798
  In fact the SOAP call name is available via the SOAPAction HTTP header, but it's usually not immediatelly visible.
799
799
 
800
- The SOAP calls URLs are now formed like this: `http://acc-sdk:8080/nl/jsp/soaprouter.jsp?xtk:queryDef#ExecuteQuery` where the SOAP method name is added as a query parameter. Campaign server ignores this parameter.
800
+ The SOAP calls URLs are now formed like this: `http://acc-sdk:8080/nl/jsp/soaprouter.jsp?xtk:queryDef:ExecuteQuery` where the SOAP method name is added as a query parameter. Campaign server ignores this parameter.
801
801
 
802
802
  This can be disabled using the `noMethodInURL` connection parameter
803
803
 
package/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@adobe/acc-js-sdk",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@adobe/acc-js-sdk",
9
- "version": "1.1.4",
9
+ "version": "1.1.5",
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
12
  "axios": "^0.25.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/acc-js-sdk",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "ACC Javascript SDK",
5
5
  "main": "src/index.js",
6
6
  "homepage": "https://github.com/adobe/acc-js-sdk#readme",
package/src/soap.js CHANGED
@@ -600,7 +600,7 @@ class SoapMethodCall {
600
600
  this._method.prepend(sessionTokenElem);
601
601
  }
602
602
  const noMethodInURL = !!this._pushDownOptions.noMethodInURL;
603
- const actualUrl = noMethodInURL ? url : `${url}?${this.urn}#${this.methodName}`;
603
+ const actualUrl = noMethodInURL ? url : `${url}?${this.urn}:${this.methodName}`;
604
604
 
605
605
  // Prepare request and empty response objects
606
606
  [this.request, this.requestOptions] = this._createHTTPRequest(actualUrl);