redai-automation-web-sdk 1.10.0 → 1.10.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.
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -5
- package/dist/index.d.ts +2 -5
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -139,7 +139,7 @@ var HttpClient = class {
|
|
|
139
139
|
timeout: this.config.timeout || 3e4,
|
|
140
140
|
headers: {
|
|
141
141
|
"Content-Type": "application/json",
|
|
142
|
-
"User-Agent": this.config.userAgent || "redai-automation-web-sdk/1.10.
|
|
142
|
+
"User-Agent": this.config.userAgent || "redai-automation-web-sdk/1.10.1",
|
|
143
143
|
...this.config.apiKey && { Authorization: `Bearer ${this.config.apiKey}` }
|
|
144
144
|
}
|
|
145
145
|
});
|
|
@@ -385,7 +385,7 @@ var DEFAULT_CONFIG = {
|
|
|
385
385
|
timeout: 3e4,
|
|
386
386
|
retryCount: 0,
|
|
387
387
|
retryDelay: 0,
|
|
388
|
-
userAgent: "redai-automation-web-sdk/1.10.
|
|
388
|
+
userAgent: "redai-automation-web-sdk/1.10.1",
|
|
389
389
|
logging: false
|
|
390
390
|
};
|
|
391
391
|
var ThreadType = /* @__PURE__ */ ((ThreadType4) => {
|
|
@@ -3715,7 +3715,7 @@ var TelegramPersonalAuthService = class {
|
|
|
3715
3715
|
async generateQr(request) {
|
|
3716
3716
|
return this.httpClient.post(
|
|
3717
3717
|
"/v1/telegram-personal/auth/qr",
|
|
3718
|
-
request
|
|
3718
|
+
request || {}
|
|
3719
3719
|
);
|
|
3720
3720
|
}
|
|
3721
3721
|
/**
|
|
@@ -4160,7 +4160,7 @@ var AutomationWebClient = class {
|
|
|
4160
4160
|
* Get SDK version
|
|
4161
4161
|
*/
|
|
4162
4162
|
getVersion() {
|
|
4163
|
-
return "1.10.
|
|
4163
|
+
return "1.10.1";
|
|
4164
4164
|
}
|
|
4165
4165
|
/**
|
|
4166
4166
|
* Test connection to automation-web API
|