Skip to content

feat: add AM mediation check to WebAuthn and export storage config types - #762

Open
vatsalparikh wants to merge 2 commits into
mainfrom
feat/storage-export-webauthn-mediation
Open

vatsalparikh wants to merge 2 commits into
mainfrom
feat/storage-export-webauthn-mediation

Conversation

@vatsalparikh

@vatsalparikh vatsalparikh commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Merge after 2.2 release

JIRA ticket

https://pingidentity.atlassian.net/browse/SDKS-5367

Summary

  • WebAuthn.isConditionalMediationSupported now optionally accepts a JourneyStep and, when provided, also checks that AM requested conditional mediation via the WebAuthn metadata (meta.mediation === 'conditional')
  • Export BrowserStorageConfig, CustomStorageConfig from @forgerock/storage and CustomStorageObject from @forgerock/sdk-types off oidc-client's types entry point

@changeset-bot

changeset-bot Bot commented Sep 1, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b4b6408

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
@forgerock/journey-client Minor
@forgerock/oidc-client Minor
@forgerock/davinci-client Minor
@forgerock/device-client Minor
@forgerock/protect Minor
@forgerock/sdk-types Minor
@forgerock/sdk-utilities Minor
@forgerock/iframe-manager Minor
@forgerock/sdk-logger Minor
@forgerock/sdk-oidc Minor
@forgerock/sdk-request-middleware Minor
@forgerock/storage Minor

Not sure what this means? Click here to learn what changesets are.

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

@nx-cloud

nx-cloud Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

View your CI Pipeline Execution ↗ for commit b4b6408

Command Status Duration Result
nx run-many -t build --no-agents ✅ Succeeded <1s View ↗
nx affected -t build lint test typecheck e2e-ci ✅ Succeeded 2m 9s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-09-15 16:58:17 UTC

@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 8af8c420-21fb-4d66-a1df-cc33da97a88a


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Sep 1, 2026

Copy link
Copy Markdown

Open in StackBlitz

@forgerock/davinci-client

pnpm add https://pkg.pr.new/@forgerock/davinci-client@762

@forgerock/device-client

pnpm add https://pkg.pr.new/@forgerock/device-client@762

@forgerock/journey-client

pnpm add https://pkg.pr.new/@forgerock/journey-client@762

@forgerock/oidc-client

pnpm add https://pkg.pr.new/@forgerock/oidc-client@762

@forgerock/protect

pnpm add https://pkg.pr.new/@forgerock/protect@762

@forgerock/sdk-types

pnpm add https://pkg.pr.new/@forgerock/sdk-types@762

@forgerock/sdk-utilities

pnpm add https://pkg.pr.new/@forgerock/sdk-utilities@762

@forgerock/iframe-manager

pnpm add https://pkg.pr.new/@forgerock/iframe-manager@762

@forgerock/sdk-logger

pnpm add https://pkg.pr.new/@forgerock/sdk-logger@762

@forgerock/sdk-oidc

pnpm add https://pkg.pr.new/@forgerock/sdk-oidc@762

@forgerock/sdk-request-middleware

pnpm add https://pkg.pr.new/@forgerock/sdk-request-middleware@762

@forgerock/storage

pnpm add https://pkg.pr.new/@forgerock/storage@762

commit: b4b6408

@codecov-commenter

codecov-commenter commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.29%. Comparing base (eafe277) to head (b4b6408).
⚠️ Report is 154 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #762       +/-   ##
===========================================
+ Coverage   18.07%   96.29%   +78.22%     
===========================================
  Files         155        1      -154     
  Lines       24398       81    -24317     
  Branches     1203       17     -1186     
===========================================
- Hits         4410       78     -4332     
+ Misses      19988        3    -19985     

see 155 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Deployed 1b9fa3e to https://ForgeRock.github.io/ping-javascript-sdk/pr-762/1b9fa3e7bf7f944455014acef1d0d913b4a23c89 branch gh-pages in ForgeRock/ping-javascript-sdk

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

📦 Bundle Size Analysis

📦 Bundle Size Analysis

🚨 Significant Changes

🔻 @forgerock/device-client - 0.0 KB (-10.0 KB, -100.0%)
🔻 @forgerock/journey-client - 0.0 KB (-93.8 KB, -100.0%)

📊 Minor Changes

📈 @forgerock/journey-client - 94.0 KB (+0.3 KB)
📈 @forgerock/oidc-client - 35.5 KB (+0.0 KB)

➖ No Changes

@forgerock/device-client - 10.0 KB
@forgerock/sdk-types - 9.1 KB
@forgerock/recognize - 4284.4 KB
@forgerock/storage - 1.5 KB
@forgerock/iframe-manager - 3.2 KB
@forgerock/sdk-logger - 1.6 KB
@forgerock/sdk-oidc - 5.7 KB
@forgerock/sdk-request-middleware - 4.6 KB
@forgerock/sdk-utilities - 18.8 KB
@forgerock/protect - 144.6 KB
@forgerock/davinci-client - 59.7 KB


15 packages analyzed • Baseline from latest main build

Legend

🆕 New package
🔺 Size increased
🔻 Size decreased
➖ No change

ℹ️ How bundle sizes are calculated
  • Current Size: Total gzipped size of all files in the package's dist directory
  • Baseline: Comparison against the latest build from the main branch
  • Files included: All build outputs except source maps and TypeScript build cache
  • Exclusions: .map, .tsbuildinfo, and .d.ts.map files

🔄 Updated automatically on each push to this PR

@vatsalparikh
vatsalparikh force-pushed the feat/storage-export-webauthn-mediation branch 2 times, most recently from 042f664 to 315063f Compare September 10, 2026 22:18

@nx-cloud nx-cloud Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

At least one additional CI pipeline execution has run since the conclusion below was written and it may no longer be applicable.

Nx Cloud has identified a possible root cause for your failed CI:

We reviewed all 16 failing e2e tasks and determined they are pre-existing infrastructure failures unrelated to this PR's changes. The errors — recursive Nx task loops, localhost port conflicts (5829, 8443), and downstream connection-refused failures — appear identically on the main branch, confirming they were not introduced here. No code fix is needed; a CI rerun should resolve the transient port contention.

No code changes were suggested for this issue.

Trigger a rerun:

Rerun CI

Nx Cloud View detailed reasoning on Nx Cloud ↗


🎓 Learn more about Self-Healing CI on nx.dev

@vatsalparikh
vatsalparikh force-pushed the feat/storage-export-webauthn-mediation branch from da7beb5 to f7abc49 Compare September 15, 2026 01:58
@vatsalparikh
vatsalparikh force-pushed the feat/storage-export-webauthn-mediation branch from f7abc49 to b4b6408 Compare September 15, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants