Skip to content

Add example for parsing privy user properties#2

Open
yosriady wants to merge 2 commits intomainfrom
feat/privy-user-properties
Open

Add example for parsing privy user properties#2
yosriady wants to merge 2 commits intomainfrom
feat/privy-user-properties

Conversation

@yosriady
Copy link
Contributor

@yosriady yosriady commented Feb 25, 2026

TODO: need to publish new SDK version 1.28.0


Open with Devin

Note

Low Risk
Mostly demo/analytics wiring changes; main risk is unintended analytics PII/event volume changes and committing build artifacts into source control.

Overview
Updates the Privy example to automatically identify users in Formo from the Privy user object, using parsePrivyProperties and identifying all associated wallet addresses (with shared user properties) instead of requiring a manual “Identify User” button.

Also adds generated Vite dependency metadata files under with-dynamic/.vite/deps (likely build artifacts) to the repo.

Written by Cursor Bugbot for commit 7392c64. This will update automatically on new commits. Configure here.

Replace manual "Identify User" button with automatic useEffect that
calls parsePrivyProperties to identify all user wallets on connect.

Ported from getformo/formo-example-privy#5.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

"browserHash": "c1da27b5",
"optimized": {},
"chunks": {}
} No newline at end of file
Copy link

Choose a reason for hiding this comment

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

Generated Vite cache files committed

Low Severity

The PR adds .vite dependency cache artifacts (with-dynamic/.vite/deps/*) that are generated build output, not source. These files encode local cache hashes and can create noisy diffs, merge churn, and non-deterministic changes without functional value.

Additional Locations (1)

Fix in Cursor Fix in Web

Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 1 new potential issue.

View 5 additional findings in Devin Review.

Open in Devin Review

Comment on lines +1 to +8
{
"hash": "617a516a",
"configHash": "21b1d9d9",
"lockfileHash": "366f99a9",
"browserHash": "c1da27b5",
"optimized": {},
"chunks": {}
} No newline at end of file

Choose a reason for hiding this comment

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

🟡 Vite dependency cache files accidentally committed to repository

The .vite/deps/ directory is Vite's dependency pre-bundling cache, which is machine-specific and auto-generated. These files were accidentally committed.

Details

The with-dynamic/.vite/deps/_metadata.json and with-dynamic/.vite/deps/package.json are build artifacts that should not be checked in. Neither the root .gitignore nor with-dynamic/.gitignore includes .vite as an ignored pattern, which allowed these files to slip in.

These cached files contain machine-specific hashes (hash, configHash, lockfileHash, browserHash) that will differ per environment and could cause unnecessary merge conflicts or stale cache behavior when others clone the repo.

Impact: Other contributors may experience confusing Vite cache mismatches, and these files will generate noise in future diffs.

Prompt for agents
1. Remove the committed cache files by deleting the with-dynamic/.vite/ directory from version control:
   git rm -r with-dynamic/.vite/

2. Add .vite to the root .gitignore (around line 20, near the other Vite entries):
   .vite

3. Optionally also add .vite to with-dynamic/.gitignore for consistency.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

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