Skip to content

fix: sync generated types and bump undici - #102

Merged
cdevos-purse merged 1 commit into
mainfrom
fix/sync-open-prs
Oct 5, 2026
Merged

cdevos-purse merged 1 commit into
mainfrom
fix/sync-open-prs

Conversation

@cdevos-purse

Copy link
Copy Markdown
Contributor

Combines the open PRs into a single patch commit.

Why the new dependencies

Since 0.5.0 the generated dropin/headless-checkout .d.ts files import final-form (and zod since May), and this sync adds lit/lit-html. None were ever installed, so tsc has been failing on main (not caught: CI doesn't run typecheck), and consumers got any or TS2307 for those types.

Imports are type-only: bundle size is unchanged (index.esm.js 2.2K, index.umd.js 2.3K). Consumer install size grows.

Follow-up in usp-widget: inline these libraries in dts-bundle-generator (inlinedLibraries) so the deps can be dropped again, and fix the empty version in the doc sync PR titles (#97, #98).

Checks

  • npm run typecheck: passes
  • vitest run: 10/10

- sync dropin and headless-checkout references (#97, #98)
- sync securefields-js-sdk references 1.8.0 (#100)
- bump undici from 8.10.0 to 8.11.2 (#101)
- add lit, lit-html, final-form and zod as dependencies: the published
  dropin/headless-checkout types import them, so consumers need them
  installed for the types to resolve (type-only, bundle size unchanged)
@cdevos-purse
cdevos-purse merged commit 0124b27 into main Oct 5, 2026
4 checks passed
@cdevos-purse
cdevos-purse deleted the fix/sync-open-prs branch October 5, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants