Skip to content

main to release#3

Merged
wgbx merged 7 commits intoreleasefrom
main
Oct 13, 2025
Merged

main to release#3
wgbx merged 7 commits intoreleasefrom
main

Conversation

@wgbx
Copy link
Owner

@wgbx wgbx commented Oct 13, 2025

No description provided.

@wgbx wgbx merged commit 0c140a2 into release Oct 13, 2025
2 of 3 checks passed
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.

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

removeLocalStorage(key)
return null
}
}
Copy link

Choose a reason for hiding this comment

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

Bug: LocalStorage Key Mismatch Causes Data Removal

The getLocalStorage function expects an expiredTime property for its expiration check, but setLocalStorage stores it as expired. This mismatch causes all retrieved data to be treated as expired and immediately removed. Additionally, the function returns undefined instead of null when localStorage is unsupported.

Fix in Cursor Fix in Web

@@ -0,0 +1 @@
export * from './setLocalStorage'
Copy link

Choose a reason for hiding this comment

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

Bug: Incomplete API Exports in Storage Module

The Storage module's index.ts only exports setLocalStorage, making getLocalStorage and removeLocalStorage inaccessible to consumers despite being intended public API functions.

Fix in Cursor Fix in Web

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