3.0.0
Now using Square Cloud API v2, old versions (2.2.2 and below) will stop working from March 20th as API v1 is being deprecated.
New features
Application#files- Now you can manage your application files.files#list- List all files within a specific path.files#read- Get the content of a file.files#create- Create a brand new file.files#delete- Delete an existing file.
Changes
Applications
- api.getApplication('Id')
+ api.applications.get('Id')
- api.uploadApplication(file)
+ api.applications.create(file)Users
- api.getUser('Id')
+ api.users.get('Id')Removed features
Application#getLogsnow doesn't support full logs URL due to API changes.
Refactor
- Now it's required to use NodeJS version 19 or newer.
- The code has been fully refactored.