@iflyrpa/actions 1.2.24-beta.0 → 1.2.24-beta.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/actions/baijiahaoPublish/index.d.ts +1 -2
- package/dist/actions/toutiaoPublish/index.d.ts +0 -1
- package/dist/actions/weixinPublish/index.d.ts +0 -1
- package/dist/actions/xiaohongshuPublish/index.d.ts +0 -1
- package/dist/bundle.js +5 -3
- package/dist/bundle.js.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -10,8 +10,7 @@ export interface BaijiahaoPublishParams extends ActiomCommonParams {
|
|
|
10
10
|
token: string;
|
|
11
11
|
title: string;
|
|
12
12
|
content: string;
|
|
13
|
-
proxyLoc
|
|
14
|
-
ipAddress?: string;
|
|
13
|
+
proxyLoc?: string;
|
|
15
14
|
huiwenToken?: string;
|
|
16
15
|
settingInfo: {
|
|
17
16
|
baijiahaoTitle: string;
|
|
@@ -22,7 +22,6 @@ export interface XiaohongshuPublishParams extends ActiomCommonParams {
|
|
|
22
22
|
selfDeclaration?: SelfDeclaration;
|
|
23
23
|
topic?: Xiaohongshu.Topic[];
|
|
24
24
|
proxyLoc?: string;
|
|
25
|
-
ipAddress?: string;
|
|
26
25
|
huiwenToken?: string;
|
|
27
26
|
visibleRange: "public" | "private";
|
|
28
27
|
isImmediatelyPublish?: boolean;
|
package/dist/bundle.js
CHANGED
|
@@ -15663,6 +15663,10 @@ var __webpack_exports__ = {};
|
|
|
15663
15663
|
async api(config) {
|
|
15664
15664
|
try {
|
|
15665
15665
|
const agent = this.adr ? await ProxyAgent(this.adr) : void 0;
|
|
15666
|
+
if (this.adr && null == agent) return Promise.reject({
|
|
15667
|
+
code: 200,
|
|
15668
|
+
message: "可用代理地址为空,请稍候重试!"
|
|
15669
|
+
});
|
|
15666
15670
|
const response = await this.apiClient({
|
|
15667
15671
|
...config,
|
|
15668
15672
|
...agent ? {
|
|
@@ -20261,9 +20265,7 @@ var __webpack_exports__ = {};
|
|
|
20261
20265
|
if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
|
|
20262
20266
|
return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
|
|
20263
20267
|
};
|
|
20264
|
-
var package_namespaceObject = {
|
|
20265
|
-
i8: "1.2.23"
|
|
20266
|
-
};
|
|
20268
|
+
var package_namespaceObject = JSON.parse('{"i8":"1.2.24-beta.0"}');
|
|
20267
20269
|
const BetaFlag = "HuiwenCanary";
|
|
20268
20270
|
class Action {
|
|
20269
20271
|
constructor(task){
|