@verdocs/js-sdk 4.2.25 → 4.2.26
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/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1074,12 +1074,12 @@ class VerdocsEndpoint {
|
|
|
1074
1074
|
* ```
|
|
1075
1075
|
*/
|
|
1076
1076
|
constructor(options) {
|
|
1077
|
-
this.baseURL = options?.baseURL
|
|
1078
|
-
this.timeout = options?.timeout
|
|
1079
|
-
this.environment = options?.environment
|
|
1080
|
-
this.sessionType = options?.sessionType
|
|
1081
|
-
this.clientID = options?.clientID
|
|
1082
|
-
this.persist = options?.persist
|
|
1077
|
+
this.baseURL = options?.baseURL ?? this.baseURL;
|
|
1078
|
+
this.timeout = options?.timeout ?? this.timeout;
|
|
1079
|
+
this.environment = options?.environment ?? this.environment;
|
|
1080
|
+
this.sessionType = options?.sessionType ?? this.sessionType;
|
|
1081
|
+
this.clientID = options?.clientID ?? this.clientID;
|
|
1082
|
+
this.persist = options?.persist ?? this.persist;
|
|
1083
1083
|
this.api = axios.create({ baseURL: this.baseURL, timeout: this.timeout });
|
|
1084
1084
|
}
|
|
1085
1085
|
setDefault() {
|