@iflyrpa/actions 3.0.5-beta.2 → 3.0.5-beta.4

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.mjs CHANGED
@@ -5434,7 +5434,7 @@ function __webpack_require__(moduleId) {
5434
5434
  return module;
5435
5435
  };
5436
5436
  })();
5437
- var package_namespaceObject = JSON.parse('{"i8":"3.0.5-beta.2"}');
5437
+ var package_namespaceObject = JSON.parse('{"i8":"3.0.5-beta.4"}');
5438
5438
  var dist = __webpack_require__("../../node_modules/.pnpm/https-proxy-agent@7.0.6/node_modules/https-proxy-agent/dist/index.js");
5439
5439
  async function ProxyAgent(task, ip, adr, accountId, refresh) {
5440
5440
  const http = new Http({
@@ -20247,8 +20247,10 @@ const toutiaoPublish_mock_mockAction = async (task, params)=>{
20247
20247
  tuwen_wtt_trans_flag: params.settingInfo?.toutiaoTransWtt ? "2" : "0",
20248
20248
  info_source: sourceData,
20249
20249
  ...location ? {
20250
- city: location.label,
20251
- city_code: location.value
20250
+ manual_selected_city: JSON.stringify({
20251
+ city: location.label,
20252
+ city_code: location.value
20253
+ })
20252
20254
  } : null,
20253
20255
  ...params.settingInfo?.toutiaoCollectionId ? {
20254
20256
  want_join_collection_id: params.settingInfo.toutiaoCollectionId
@@ -20298,6 +20300,12 @@ const toutiaoPublish_mock_mockAction = async (task, params)=>{
20298
20300
  claim_exclusive: toutiaoExclusive ? toutiaoExclusive : toutiaoOriginal?.includes("exclusive") ? 1 : 0
20299
20301
  };
20300
20302
  task._timerRecord.PrePublish = Date.now();
20303
+ task.logger.info(`[toutiaoPublish] ${"draft" === params.saveType ? "同步草稿" : "发布文章"}参数`, {
20304
+ saveType: params.saveType,
20305
+ title: params.title,
20306
+ extra: extraData,
20307
+ publishData
20308
+ });
20301
20309
  const msToken = params.cookies.find((it)=>"msToken" === it.name)?.value;
20302
20310
  let publishOption = {};
20303
20311
  if (msToken) {