Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default auth mode to prevent double popup #4274

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

gregfromstl
Copy link
Member

@gregfromstl gregfromstl commented Aug 24, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR fixes a conflict between popup and window auth modes on Firefox for the thirdweb package.

Detailed summary

  • Set default auth mode to "popup" if not specified
  • Resolve conflict between popup and window auth modes on Firefox

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Aug 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 24, 2024 9:12pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 24, 2024 9:12pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 24, 2024 9:12pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 24, 2024 9:12pm

Copy link

changeset-bot bot commented Aug 24, 2024

🦋 Changeset detected

Latest commit: a0aea23

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

This PR includes changesets to release 1 package
Name Type
thirdweb Patch

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

Copy link

graphite-app bot commented Aug 24, 2024

Your org requires the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

Copy link
Contributor

github-actions bot commented Aug 24, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 43.25 KB (0%) 865 ms (0%) 679 ms (+15.76% 🔺) 1.6 s
thirdweb (cjs) 92.43 KB (0%) 1.9 s (0%) 1.3 s (-6.76% 🔽) 3.2 s
thirdweb (minimal + tree-shaking) 4.81 KB (0%) 97 ms (0%) 26 ms (-56.77% 🔽) 122 ms
thirdweb/chains (tree-shaking) 492 B (0%) 10 ms (0%) 9 ms (-29.3% 🔽) 19 ms
thirdweb/react (minimal + tree-shaking) 13.98 KB (0%) 280 ms (0%) 203 ms (+163.28% 🔺) 483 ms

Copy link

codecov bot commented Aug 24, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 59.30%. Comparing base (1405598) to head (a0aea23).
Report is 1 commits behind head on main.

Files Patch % Lines
...s/thirdweb/src/wallets/in-app/core/wallet/index.ts 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4274      +/-   ##
==========================================
- Coverage   59.31%   59.30%   -0.01%     
==========================================
  Files         962      962              
  Lines       77522    77524       +2     
  Branches     3491     3489       -2     
==========================================
- Hits        45983    45977       -6     
- Misses      30865    30873       +8     
  Partials      674      674              
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 1405598
packages 58.26% <0.00%> (-0.02%) ⬇️

*This pull request uses carry forward flags. Click here to find out more.

Files Coverage Δ
...s/thirdweb/src/wallets/in-app/core/wallet/index.ts 25.33% <0.00%> (-0.35%) ⬇️

... and 2 files with indirect coverage changes

Copy link

graphite-app bot commented Aug 24, 2024

Merge activity

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR fixes a conflict between popup and window authentication modes on Firefox.

### Detailed summary
- Set the default authentication mode to "popup" if not specified
- Ensure popup authentication mode is used when not explicitly defined

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TS SDK Involves changes to the v5 TypeScript SDK.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants