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

Please add export for isNew in new release. #364

Open
AcidBurnHen opened this issue May 21, 2022 · 0 comments
Open

Please add export for isNew in new release. #364

AcidBurnHen opened this issue May 21, 2022 · 0 comments

Comments

@AcidBurnHen
Copy link

Due to my custom needs in building a backend for my application I have extended the package.json to export isNew from symbol. So that I can use a validation check if the session is new and easily import it with import { isNew } from "next-session/lib/symbol"; . I am writing here as a suggestion to add this to the official release if possible as I think that isNew, isTouched and isDestroyed can give us more freedom to write some custom functionalities.

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

No branches or pull requests

1 participant