@skrillex1224/chrome-article-publish-extension 1.0.2 → 1.0.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.
@@ -1,6 +1,6 @@
1
- import { P as PlatformAdapter, a as PublishOptions, A as AdapterRegistryEntry, b as PreprocessConfig } from '../types-DllMbt54.js';
2
- export { C as Category, D as DEFAULT_PREPROCESS_CONFIG, c as Draft, I as ImageProgressCallback, O as OutputFormat } from '../types-DllMbt54.js';
3
- import { P as PlatformMeta, R as RuntimeInterface, A as AuthResult, a as Article, S as SyncResult, c as PublishStatusRef, d as PublishStatusResult, H as HeaderRule } from '../interface-DRp7JR58.js';
1
+ import { P as PlatformAdapter, a as PublishOptions, A as AdapterRegistryEntry, b as PreprocessConfig } from '../types-CTtvGuEx.js';
2
+ export { C as Category, D as DEFAULT_PREPROCESS_CONFIG, c as Draft, I as ImageProgressCallback, O as OutputFormat } from '../types-CTtvGuEx.js';
3
+ import { P as PlatformMeta, R as RuntimeInterface, A as AuthResult, a as Article, S as SyncResult, c as PublishStatusRef, d as PublishStatusResult, H as HeaderRule } from '../interface-CLQqUboy.js';
4
4
 
5
5
  /**
6
6
  * 适配器基类
@@ -461,7 +461,6 @@ declare class CSDNAdapter extends CodeAdapter {
461
461
  private preserveTaskListMarkers;
462
462
  private postSaveArticle;
463
463
  private postSaveArticleFromPage;
464
- private getCsdnTabId;
465
464
  publish(article: Article, options?: PublishOptions): Promise<SyncResult>;
466
465
  getStatus(statusRef: PublishStatusRef): Promise<PublishStatusResult>;
467
466
  private findManagedArticle;
@@ -614,7 +613,7 @@ declare class DouyinAdapter extends CodeAdapter {
614
613
  private getCreatorJsonFromPage;
615
614
  private postCreatorForm;
616
615
  private postCreatorFormFromPage;
617
- private getCreatorTabId;
616
+ private withCreatorTab;
618
617
  private extractUserData;
619
618
  private isSuccessResponse;
620
619
  private buildTextPayload;
@@ -666,7 +665,6 @@ declare class BaijiahaoAdapter extends CodeAdapter {
666
665
  private mapArticleStatus;
667
666
  private isPublishedItem;
668
667
  private resolvePublishedPublicUrl;
669
- private getPublishedPageTabId;
670
668
  private readPublishedPageSnapshot;
671
669
  private urlMatchesArticleId;
672
670
  private sleep;
@@ -804,13 +802,11 @@ declare class ToutiaoAdapter extends CodeAdapter {
804
802
  protected uploadImageByUrl(src: string): Promise<ImageUploadResult>;
805
803
  private getCsrfToken;
806
804
  private publishInPage;
807
- private ensureToutiaoTab;
808
805
  private findManagedArticle;
809
806
  private extractList;
810
807
  private parseManagedRow;
811
808
  private itemMatches;
812
809
  private mapManagedStatus;
813
- private ensureToutiaoManageTab;
814
810
  private getVisitedUserId;
815
811
  private buildManagedListUrl;
816
812
  private resolvePostUrl;
@@ -845,7 +841,6 @@ declare class TencentAdapter extends CodeAdapter {
845
841
  private uploadImageFileByUrl;
846
842
  private prepareArticleContent;
847
843
  private callPublishService;
848
- private ensureTencentTab;
849
844
  private buildArticleListUrl;
850
845
  private hasListData;
851
846
  private extractUserInfo;
@@ -15,7 +15,7 @@ import {
15
15
  createLogger,
16
16
  htmlToMarkdown,
17
17
  parseMarkdownImages
18
- } from "../chunk-LUN2JBGI.js";
18
+ } from "../chunk-6KMYIRZU.js";
19
19
 
20
20
  // src/adapters/types.ts
21
21
  var DEFAULT_PREPROCESS_CONFIG = {