freemius-node-sdk's People
freemius-node-sdk's Issues
Replace request() with axios()
This repo uses the request
library to make HTTP requests but it's now deprecated so we should update to use axios
.
No error handler if the request fails
If you have an error in your request (like you are getting a user using an email address that doesn't exist), then the responseCallback
will never be called.
In https://github.com/Freemius/freemius-node-sdk/blob/master/Freemius.js#L414, you can see when there's an error, only a console.log
is called.
Issue with POST (upload zip) requests
There is an issue when trying to deploy a zip file using a POST request.
Need to fully test other PUT and POST requests too.
I can successfully deploy a zip file via the Freemius API using the PHP SDK, via direct request with Postman, and using a script based on James Kemp's deploy script. However, the Node SDK has issue so this needs investigating.
Add a Node SDK version
There isn't a Node SDK version present so one needs adding. Probably start with v1.0.0? Add to Freemius.js
.
Authorization method not working correctly
I get the following error regardless of the request:
{"type":"UnauthorizedAccess","message":"Invalid Authorization header.","code":"unauthorized_access","http":401 .......
Any help will be highly appericaited
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.