Skip to content

Invoke onLoad for standard Link sessions - #943

Merged
dtroupe-plaid merged 1 commit into
masterfrom
codex/standard-link-onload
Jul 9, 2026
Merged

Invoke onLoad for standard Link sessions#943
dtroupe-plaid merged 1 commit into
masterfrom
codex/standard-link-onload

Conversation

@dtroupe-plaid

@dtroupe-plaid dtroupe-plaid commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Calls config.onLoad?.() after native Standard Link session creation resolves.
  • Adds Standard Link tests covering onLoad success, absence, and native create failure behavior.

Motivation

Native iOS and Android resolve createPlaidLinkSession when Link finishes loading, but the JS Standard Link wrapper did not invoke the documented onLoad callback. Headless already had this behavior; this brings Standard Link into parity with the documented API and native readiness signal.

Testing

  • npm test -- --runInBand src/__tests__/createPlaidLinkSession.test.ts src/__tests__/createPlaidHeadlessSession.test.ts --watchman=false
  • npm run lint

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

Coverage after merging codex/standard-link-onload into master will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   ReactNativePlaidLinkSdkModule.ts100%100%100%100%
   index.ts100%100%100%100%

@dtroupe-plaid
dtroupe-plaid merged commit fb289d3 into master Jul 9, 2026
9 checks passed
@dtroupe-plaid
dtroupe-plaid deleted the codex/standard-link-onload branch July 9, 2026 19:28
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