@sasjs/adapter 3.5.0 → 3.5.1

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.
@@ -16,7 +16,7 @@ export declare class SASjsConfig {
16
16
  * The location of the STP Process Web Application. By default the adapter
17
17
  * will use '/SASjsApi/stp/execute' on SAS JS.
18
18
  */
19
- pathSASJS?: string;
19
+ pathSASJS: string;
20
20
  /**
21
21
  * The location of the Stored Process Web Application. By default the adapter
22
22
  * will use '/SASStoredProcess/do' on SAS 9.
package/package.json CHANGED
@@ -75,10 +75,10 @@
75
75
  "dependencies": {
76
76
  "@sasjs/utils": "2.35.0",
77
77
  "axios": "0.26.0",
78
- "axios-cookiejar-support": "2.0.3",
78
+ "axios-cookiejar-support": "1.0.1",
79
79
  "form-data": "4.0.0",
80
80
  "https": "1.0.0",
81
81
  "tough-cookie": "4.0.0"
82
82
  },
83
- "version": "3.5.0"
83
+ "version": "3.5.1"
84
84
  }
package/src/SASjs.ts CHANGED
@@ -1031,7 +1031,7 @@ export default class SASjs {
1031
1031
  ? this.sasjsConfig.pathSASViya
1032
1032
  : this.sasjsConfig.serverType === ServerType.Sas9
1033
1033
  ? this.sasjsConfig.pathSAS9
1034
- : this.sasjsConfig.pathSASJS || ''
1034
+ : this.sasjsConfig.pathSASJS
1035
1035
 
1036
1036
  this.authManager = new AuthManager(
1037
1037
  this.sasjsConfig.serverUrl,
@@ -1,6 +1,6 @@
1
1
  import * as https from 'https'
2
2
  import { AxiosRequestConfig } from 'axios'
3
- import * as axiosCookieJarSupport from 'axios-cookiejar-support'
3
+ import axiosCookieJarSupport from 'axios-cookiejar-support'
4
4
  import * as tough from 'tough-cookie'
5
5
  import { prefixMessage } from '@sasjs/utils/error'
6
6
  import { RequestClient, throwIfError } from './RequestClient'
@@ -17,7 +17,7 @@ export class Sas9RequestClient extends RequestClient {
17
17
  status >= 200 && status < 303
18
18
 
19
19
  if (axiosCookieJarSupport) {
20
- axiosCookieJarSupport.wrapper(this.httpClient)
20
+ axiosCookieJarSupport(this.httpClient)
21
21
  this.httpClient.defaults.jar = new tough.CookieJar()
22
22
  }
23
23
  }
@@ -16,7 +16,7 @@ export class SASjsConfig {
16
16
  * The location of the STP Process Web Application. By default the adapter
17
17
  * will use '/SASjsApi/stp/execute' on SAS JS.
18
18
  */
19
- pathSASJS?: string = ''
19
+ pathSASJS: string = ''
20
20
  /**
21
21
  * The location of the Stored Process Web Application. By default the adapter
22
22
  * will use '/SASStoredProcess/do' on SAS 9.
@@ -16,7 +16,7 @@ export declare class SASjsConfig {
16
16
  * The location of the STP Process Web Application. By default the adapter
17
17
  * will use '/SASjsApi/stp/execute' on SAS JS.
18
18
  */
19
- pathSASJS?: string;
19
+ pathSASJS: string;
20
20
  /**
21
21
  * The location of the Stored Process Web Application. By default the adapter
22
22
  * will use '/SASStoredProcess/do' on SAS 9.