Skip to content

Conversation

@joeybright53
Copy link
Contributor

@joeybright53 joeybright53 commented Aug 12, 2025

Description

This PR fixes several spelling errors in docs:

Fixed spelling in docs from "pacakges" to "packages"
Fixed spelling in docs from "Deployes" to "Deploys"
Fixed spelling in docs from "explicity" to "explicitly"


PR-Codex overview

This PR focuses on correcting typos in comments and documentation across multiple files in the codebase.

Detailed summary

  • Corrected the comment from "explicity" to "explicitly" in packages/thirdweb/src/wallets/smart/lib/userop.ts.
  • Fixed the typo "pacakges" to "packages" in apps/portal/src/app/references/components/TDoc/utils/getAllTSReferencesLinkMap.ts.
  • No changes in functionality; only documentation corrections in packages/thirdweb/src/wallets/smart/lib/signing.ts.

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

Summary by CodeRabbit

  • Documentation
    • Corrected typos in inline documentation and JSDoc comments related to references, smart account deployment, and gas fee handling.
    • Improved clarity and accuracy of developer-facing comments without altering behavior.
    • No changes to functionality, public APIs, or runtime behavior.

@joeybright53 joeybright53 requested review from a team as code owners August 12, 2025 09:04
@changeset-bot
Copy link

changeset-bot bot commented Aug 12, 2025

⚠️ No Changeset found

Latest commit: a664001

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

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Aug 12, 2025

Walkthrough

This change corrects typos in documentation/comments across three TypeScript files. No executable code, signatures, logic, or control flow were modified.

Changes

Cohort / File(s) Summary of Changes
Portal TDoc comment fix
apps/portal/src/app/references/components/TDoc/utils/getAllTSReferencesLinkMap.ts
JSDoc typo corrected (“pacakages” → “packages”).
Thirdweb smart wallet comment fixes
packages/thirdweb/src/wallets/smart/lib/signing.ts, packages/thirdweb/src/wallets/smart/lib/userop.ts
JSDoc/comment typos corrected (“Deployes” → “Deploys”; “explicity” → “explicitly”).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

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

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@vercel
Copy link

vercel bot commented Aug 12, 2025

@joeybright53 is attempting to deploy a commit to the thirdweb Team on Vercel.

A member of the Team first needs to authorize it.

@graphite-app
Copy link
Contributor

graphite-app bot commented Aug 12, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@github-actions github-actions bot added Portal Involves changes to the Portal (docs) codebase. packages SDK Involves changes to the thirdweb SDK labels Aug 12, 2025
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
packages/thirdweb/src/wallets/smart/lib/userop.ts (1)

253-253: Fix grammar in comment: “explicitly values” → “explicit values”

Small nit to improve readability.

Apply this diff:

-    // Check for explicitly values
+    // Check for explicit values
apps/portal/src/app/references/components/TDoc/utils/getAllTSReferencesLinkMap.ts (1)

7-7: Polish JSDoc wording and capitalization

Use “set” (matches return type) and capitalize TypeScript.

Apply this diff:

- * Get the map of all valid reference links for typescript packages
+ * Get the set of all valid reference links for TypeScript packages
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 438027a and a664001.

📒 Files selected for processing (3)
  • apps/portal/src/app/references/components/TDoc/utils/getAllTSReferencesLinkMap.ts (1 hunks)
  • packages/thirdweb/src/wallets/smart/lib/signing.ts (1 hunks)
  • packages/thirdweb/src/wallets/smart/lib/userop.ts (1 hunks)
🧰 Additional context used
📓 Path-based instructions (3)
**/*.{ts,tsx}

📄 CodeRabbit Inference Engine (CLAUDE.md)

**/*.{ts,tsx}: Write idiomatic TypeScript with explicit function declarations and return types
Limit each file to one stateless, single-responsibility function for clarity
Re-use shared types from @/types or local types.ts barrels
Prefer type aliases over interface except for nominal shapes
Avoid any and unknown unless unavoidable; narrow generics when possible
Choose composition over inheritance; leverage utility types (Partial, Pick, etc.)
Comment only ambiguous logic; avoid restating TypeScript in prose

Files:

  • packages/thirdweb/src/wallets/smart/lib/userop.ts
  • apps/portal/src/app/references/components/TDoc/utils/getAllTSReferencesLinkMap.ts
  • packages/thirdweb/src/wallets/smart/lib/signing.ts
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit Inference Engine (CLAUDE.md)

Load heavy dependencies inside async paths to keep initial bundle lean (lazy loading)

Files:

  • packages/thirdweb/src/wallets/smart/lib/userop.ts
  • apps/portal/src/app/references/components/TDoc/utils/getAllTSReferencesLinkMap.ts
  • packages/thirdweb/src/wallets/smart/lib/signing.ts
packages/thirdweb/src/wallets/**

📄 CodeRabbit Inference Engine (CLAUDE.md)

packages/thirdweb/src/wallets/**: Unified Wallet and Account interfaces in wallet architecture
Support for in-app wallets (social/email login)
Smart wallets with account abstraction
EIP-1193, EIP-5792, EIP-7702 standard support in wallet modules

Files:

  • packages/thirdweb/src/wallets/smart/lib/userop.ts
  • packages/thirdweb/src/wallets/smart/lib/signing.ts
🧠 Learnings (2)
📓 Common learnings
Learnt from: CR
PR: thirdweb-dev/js#0
File: CLAUDE.md:0-0
Timestamp: 2025-07-18T19:19:55.613Z
Learning: Applies to **/*.{ts,tsx} : Comment only ambiguous logic; avoid restating TypeScript in prose
📚 Learning: 2025-07-18T19:19:55.613Z
Learnt from: CR
PR: thirdweb-dev/js#0
File: CLAUDE.md:0-0
Timestamp: 2025-07-18T19:19:55.613Z
Learning: Applies to packages/thirdweb/src/wallets/** : Smart wallets with account abstraction

Applied to files:

  • packages/thirdweb/src/wallets/smart/lib/signing.ts
🔇 Additional comments (1)
packages/thirdweb/src/wallets/smart/lib/signing.ts (1)

184-184: LGTM: typo corrected (“Deploys”)

Documentation fix looks good; no functional changes.

maxPriorityFeePerGas = bundlerGasPrice.maxPriorityFeePerGas;
} else {
// Check for explicity values
// Check for explicitly values
Copy link
Contributor

Choose a reason for hiding this comment

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

While fixing the typo from "explicity" to "explicitly", a grammatical error was introduced. The phrase "explicitly values" incorrectly uses an adverb to modify a noun. The correct form should be "explicit values" (adjective + noun) to properly describe the nature of the values being checked.

Suggested change
// Check for explicitly values
// Check for explicit values

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages Portal Involves changes to the Portal (docs) codebase. SDK Involves changes to the thirdweb SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants