Skip to content

fix(esign): align pdf config type with SuperDoc#3344

Merged
caio-pizzol merged 1 commit into
mainfrom
codex/fix-esign-pdf-module-config
May 16, 2026
Merged

fix(esign): align pdf config type with SuperDoc#3344
caio-pizzol merged 1 commit into
mainfrom
codex/fix-esign-pdf-module-config

Conversation

@caio-pizzol
Copy link
Copy Markdown
Contributor

Summary

  • Update eSign's PdfModuleConfig to satisfy SuperDoc's widened PDF module config type.
  • Narrow pdfLib from any to object, matching the SuperDoc module contract.

Why

PR #3337 touches packages/esign/.releaserc.cjs, which triggers eSign CI on main. The eSign type check was failing because SuperDoc's Config.modules.pdf now includes Record<string, unknown>, while eSign's local PdfModuleConfig did not.

Validation

  • pnpm install
  • pnpm run build:superdoc
  • pnpm --filter @superdoc-dev/esign type-check
  • pnpm --filter @superdoc-dev/esign lint (passes with existing warnings)
  • pnpm --filter @superdoc-dev/esign build
  • pnpm --filter @superdoc-dev/esign test

@caio-pizzol caio-pizzol marked this pull request as ready for review May 16, 2026 11:22
@caio-pizzol caio-pizzol requested a review from a team as a code owner May 16, 2026 11:22
@caio-pizzol caio-pizzol merged commit b5f8f3b into main May 16, 2026
14 checks passed
@caio-pizzol caio-pizzol deleted the codex/fix-esign-pdf-module-config branch May 16, 2026 11:22
@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 16, 2026

🎉 This PR is included in esign v2.5.1-next.1

The release is available on GitHub release

@superdoc-bot
Copy link
Copy Markdown
Contributor

superdoc-bot Bot commented May 19, 2026

🎉 This PR is included in esign v2.7.1

The release is available on GitHub release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant