@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.mjs
CHANGED
|
@@ -1072,12 +1072,12 @@ class VerdocsEndpoint {
|
|
|
1072
1072
|
* ```
|
|
1073
1073
|
*/
|
|
1074
1074
|
constructor(options) {
|
|
1075
|
-
this.baseURL = options?.baseURL
|
|
1076
|
-
this.timeout = options?.timeout
|
|
1077
|
-
this.environment = options?.environment
|
|
1078
|
-
this.sessionType = options?.sessionType
|
|
1079
|
-
this.clientID = options?.clientID
|
|
1080
|
-
this.persist = options?.persist
|
|
1075
|
+
this.baseURL = options?.baseURL ?? this.baseURL;
|
|
1076
|
+
this.timeout = options?.timeout ?? this.timeout;
|
|
1077
|
+
this.environment = options?.environment ?? this.environment;
|
|
1078
|
+
this.sessionType = options?.sessionType ?? this.sessionType;
|
|
1079
|
+
this.clientID = options?.clientID ?? this.clientID;
|
|
1080
|
+
this.persist = options?.persist ?? this.persist;
|
|
1081
1081
|
this.api = axios.create({ baseURL: this.baseURL, timeout: this.timeout });
|
|
1082
1082
|
}
|
|
1083
1083
|
setDefault() {
|