Skip to content

feat(protected-inputs): expose individual React collection refs - #2129

Merged
mPaella merged 3 commits into
codex/protected-input-transportfrom
codex/protected-input-react
Oct 1, 2026
Merged

mPaella merged 3 commits into
codex/protected-input-transportfrom
codex/protected-input-react

Conversation

@mPaella

@mPaella mPaella commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

Stack 2/2 in the SDK: based on #2128.

Behavior

CrossmintProtectedInput renders an individual protected field and exposes ref.collect(). CrossmintProvider supplies the client key; the application supplies its external-auth JWT and owns labels, errors and submission.

Concurrent calls share one request. Auth/descriptor changes and frame reloads supersede pending results. The hosted frame reports its height; a paint gutter preserves complete borders while aligning with ordinary inputs. Remove the superseded password iframe component and migrate the demo.

Validation

Six React component tests pass, along with SDK lint. The actual React SDK was exercised across origins with real Basis Theory controls and simulated Crossmint registration. Full typecheck retains external dependency declaration failures.

Release boundary

The matching hosted iframe, SDK version consumption and deployed registration/release qualification remain required before release.

Matching hosted iframe: channel #31185, collection #31186.

@changeset-bot

changeset-bot Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3a50db7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

devin-ai-integration[bot]

This comment was marked as resolved.

@greptile-apps

greptile-apps Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

[Medium risk] Refactors protected input component to expose collection refs.

The PR should not merge until the repository’s documentation-separation and function-extraction requirements are satisfied; pending collection teardown also merits improvement.

Reviews (1) · Last reviewed commit: "feat(protected-inputs): collect individu..."

Comment thread packages/client/ui/react-ui/README.md
@mPaella
mPaella merged commit 025578d into codex/protected-input-transport Oct 1, 2026
3 checks passed
@mPaella
mPaella deleted the codex/protected-input-react branch October 1, 2026 18:10
mPaella added a commit that referenced this pull request Oct 1, 2026
* feat(protected-inputs): add per-field collection transport

* fix: bound protected collection payloads and cancel pending actions

* feat(protected-inputs): add individual React collection refs (#2129)

* feat(protected-inputs): collect individual protected fields with refs

* fix: settle protected collections when their component changes

* chore: add minor changeset for protected input collection

* fix(protected-inputs): bind collection lifecycle to committed props
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.

1 participant