-
Notifications
You must be signed in to change notification settings - Fork 8
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
Merge NPM package for freshdesk API with arjunkomath/node-freshdesk-api #6
Comments
lust a link: maxkoryukov/node-freshdesk-api#1 |
One observation: NPM allows to keep several version of the same package. So, we could have 2 branches:
and appropriate NPM versions:
|
@maxkoryukov sure, we can merge our efforts, although some work has to be done to bring this project up-to-date, such as rewriting this one in es6. |
@kumarharsh , I think, rewriting is mindless)) there are ~200 downloads per 2 NPM packages. We will spend time for rewriting the app, but we will get the same functionality... The only one useful thing (for me), I have implemented - Error handling)) I know one thing, that could be very useful: unit- and acceptance- tests for API-client (using mock server). Related to this ticket: I don't have a real plan how to consolidate codebases |
Maybe I can push my changes to the new |
Also, I'd didn't see one thing in your changes @maxkoryukov - offer users a way to use the raw From the Readme:
Also, it depends on what the library maintainer of the other library (@arjunkomath) thinks about all this... |
@kumarharsh I'm okay with merging. Like @maxkoryukov suggested, we can maintain both v1 and v2. |
about makeRequest
I think, we could implement ALL Freshdesk API routes, since there are about 20-30 API calls, and I need about 1 minute to add new route to So, I need about 30 minutes to implement all existing API functions in the package;) On other hand, I think it is not a good practice: expose internal functions in the public API of the package (this rule holds true for almost all libraries) About unpublishingAs described in the NPM's documentation:
so you shouldn't unpublish. It is enough to deprecate. And only when there will be the replacement for the package;) |
Lets move discussion to the arjunkomath/node-freshdesk-api#9 |
Hello!
Recently we have published NPM package for Freshdesk API v2. Here is that project: https://github.com/arjunkomath/node-freshdesk-api
So, lets improve this package together in one place;)
The text was updated successfully, but these errors were encountered: