Closed zuhno closed 6 months ago
Hi @zuhno thanks for reporting the issue. you can create a pr if you like to contribute to the project
@kasvith I am interested in contributing, so I have opened a PR(https://github.com/wavezync/vue3-google-signin/pull/59). Please review it :)
Closed by #59
@kasvith the latest release with #59 has not been published to npm yet.
@coverrt I have noted your comments as additional context in the issue(https://github.com/wavezync/vue3-google-signin/issues/60). Thank you for reminding again.
Hi @zuhno can we get this fix on a separate PR?
@kasvith Hi I have submitted the PR(https://github.com/wavezync/vue3-google-signin/pull/62) for version 1.3.4. This is because version 1.3.3 has already been released.
this should be fixed by now
Describe the bug When trying to import the 'vue3-google-signin' library in an ES environment, I encountered a type error indicating the absence of a declaration file for the module. The detailed error message is as follows:
To Reproduce Steps to reproduce the behavior:
Reproducible Example Currently, I do not have a reproducible example on platforms like StackBlitz or CodeSandbox. I will update this section if I am able to create one.
Expected behaviour The expected behavior is for the module to be imported without any type errors, with TypeScript being able to find and use the declaration files correctly.
Additional context To resolve this issue, the types field should be added under "exports" > "." in the package.json. Additionally, the module field is incorrectly pointing to a CJS module. It should instead specify the entry point for an ES module, typically using a .mjs or .js extension.
Contribution Proposal I am considering contributing to the 'vue3-google-signin' library to address this issue. I would like to propose corrections to the package.json file, particularly adding the types field under "exports" > ".", and correcting the module field to accurately point to an ES module entry point. I wanted to inquire if contributing these changes would be appropriate.