@iflyrpa/actions 3.0.5-beta.1 → 3.0.5-beta.3
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/bundle.js +10 -6
- package/dist/bundle.js.map +1 -1
- package/dist/index.js +10 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -8736,7 +8736,7 @@ var __webpack_exports__ = {};
|
|
|
8736
8736
|
var package_namespaceObject = {
|
|
8737
8737
|
i8: "0.1.0"
|
|
8738
8738
|
};
|
|
8739
|
-
var package_namespaceObject_0 = JSON.parse('{"i8":"3.0.5-beta.
|
|
8739
|
+
var package_namespaceObject_0 = JSON.parse('{"i8":"3.0.5-beta.3"}');
|
|
8740
8740
|
const external_node_fs_namespaceObject = require("node:fs");
|
|
8741
8741
|
var external_node_fs_default = /*#__PURE__*/ __webpack_require__.n(external_node_fs_namespaceObject);
|
|
8742
8742
|
const external_node_http_namespaceObject = require("node:http");
|
|
@@ -40541,8 +40541,10 @@ var __webpack_exports__ = {};
|
|
|
40541
40541
|
tuwen_wtt_trans_flag: params.settingInfo?.toutiaoTransWtt ? "2" : "0",
|
|
40542
40542
|
info_source: sourceData,
|
|
40543
40543
|
...location ? {
|
|
40544
|
-
|
|
40545
|
-
|
|
40544
|
+
manual_selected_city: JSON.stringify({
|
|
40545
|
+
city: location.label,
|
|
40546
|
+
city_code: location.value
|
|
40547
|
+
})
|
|
40546
40548
|
} : null,
|
|
40547
40549
|
...params.settingInfo?.toutiaoCollectionId ? {
|
|
40548
40550
|
want_join_collection_id: params.settingInfo.toutiaoCollectionId
|
|
@@ -41787,8 +41789,8 @@ var __webpack_exports__ = {};
|
|
|
41787
41789
|
headers
|
|
41788
41790
|
});
|
|
41789
41791
|
const proxyHttp = new Http(...args);
|
|
41790
|
-
|
|
41791
|
-
const responseData = response
|
|
41792
|
+
const baseRespFinder = (response)=>{
|
|
41793
|
+
const responseData = response?.data;
|
|
41792
41794
|
const msgType = "draft" === params.saveType ? "同步" : "发布";
|
|
41793
41795
|
if (response && responseData?.base_resp && 0 !== responseData.base_resp.ret && !ignoreErrno.includes(responseData.base_resp.ret)) {
|
|
41794
41796
|
const errmsg = weixinPublish_mock_errnoMap[responseData.base_resp.ret] || response.config.defaultErrorMsg || responseData.base_resp.err_msg || `文章${msgType}异常,请稍后重试。`;
|
|
@@ -41798,7 +41800,9 @@ var __webpack_exports__ = {};
|
|
|
41798
41800
|
data: responseData
|
|
41799
41801
|
};
|
|
41800
41802
|
}
|
|
41801
|
-
}
|
|
41803
|
+
};
|
|
41804
|
+
http.addResponseInterceptor(baseRespFinder);
|
|
41805
|
+
proxyHttp.addResponseInterceptor(baseRespFinder);
|
|
41802
41806
|
await http.api({
|
|
41803
41807
|
method: "get",
|
|
41804
41808
|
url: "https://mp.weixin.qq.com/cgi-bin/appmsgpublish",
|