node-sdk
node-sdk copied to clipboard
Update v2.ts
There was a missing '.ts' when importing lib/common, which gave a 'Cannot find module' when using the NPM package in a Nuxt 3 Vite. This solves the issue.
Checklist
- [ ]
npm testpasses (tip:npm run autofixcan correct most style issues) - [ ] tests are included
- [ ] documentation is changed or added
- [ ] link to public docs when adding new a service or new features for an existing service
New version_date Checklist
- [ ] A new constant is avaliable with the version_date - example
- [ ] The new constant has a comment that summarizes the changes and/or links to relevant doc pages
- [ ] Any older version_date constants remain intact
- [ ] The error message thrown if the service is created without a version_date indicates the new version_date constant
- [ ] The example in the README includes the new version_date constant
- [ ] Any relevant code in the examples/ folder has been updated to use the new version_date constant
- [ ] Most tests are updated to the new version_date
- [ ] 1-2 new tests are added that use the old version_date (optional, but preferred)
Can you send a link to an example Nuxt 3 Vite repo or tutorial you are using that is causing this problem