@remyar/tecdoc_client 0.0.5 → 0.0.7

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/lib/api/config.js CHANGED
@@ -7,7 +7,7 @@ exports["default"] = void 0;
7
7
  var _provider_ = undefined;
8
8
  var _default = exports["default"] = {
9
9
  apiUrl: function apiUrl() {
10
- return "https://webservice.tecalliance.services/pegasus-3-0/info/proxy/services/TecdocToCatDLW.jsonEndpoint";
10
+ return "https://webservice.tecalliance.services/pegasus-3-0/info/proxy/services/TecdocToCatDLB.jsonEndpoint";
11
11
  },
12
12
  setProvider: function setProvider(_provider) {
13
13
  _provider_ = _provider;
package/lib/api/post.js CHANGED
@@ -39,7 +39,6 @@ function _ref() {
39
39
  return (0, _nodeFetch["default"])(_config["default"].apiUrl(), {
40
40
  method: 'POST',
41
41
  body: JSON.stringify(params),
42
- headers: headers,
43
42
  credentials: "same-origin",
44
43
  useSessionCookies: true
45
44
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remyar/tecdoc_client",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "Client For Tecdoc",
5
5
  "main": "lib/index.js",
6
6
  "module": "dist/index.esm.js",
package/src/api/config.js CHANGED
@@ -2,7 +2,7 @@
2
2
  let _provider_ = undefined;
3
3
 
4
4
  export default {
5
- apiUrl: () => { return "https://webservice.tecalliance.services/pegasus-3-0/info/proxy/services/TecdocToCatDLW.jsonEndpoint" },
5
+ apiUrl: () => { return "https://webservice.tecalliance.services/pegasus-3-0/info/proxy/services/TecdocToCatDLB.jsonEndpoint" },
6
6
  setProvider: (_provider) => {
7
7
  _provider_ = _provider;
8
8
  },
package/src/api/post.js CHANGED
@@ -15,7 +15,6 @@ export default async function ( params) {
15
15
  {
16
16
  method: 'POST',
17
17
  body: JSON.stringify(params),
18
- headers,
19
18
  credentials: "same-origin",
20
19
  useSessionCookies: true
21
20
  });