- Create a wrapper for
signalDeviceinClient.js.
- Add support for account verification endpoint via verifyUser function
- Change account_info input parameter in createUser and setUserInfo to be camel case - accountInfo
- Add support for account information fields in createUser and setUserInfo
- Add "shortErrorDescription" in response body to contain English description only
- Add library publish
- Rename library publish to library contribute
- Add library versions endpoint
- Add library delete
- Add library publish
- Use only HTTP dependencies to be able to install on computers without git
- Support nested directories when compiling sources
- Add compile code to client
- Fix the login method content type
- Add libraries endpoints
- Add stateful client
- Add object interface for libraries
- Handle empty event names in the event stream.
- Add details to README
- Adding responseTemplate and responseTopic to webhook creation. Thanks @acasas! #20
- Add password reset route #27
- Make event stream compatible with new product routes #28
- Fix files parameter default name to be
fileand notfile1.
- Don't double publish event stream events if the event is named
event.
- Handle
JSON.parseexceptions when parsing event stream
flashDevicelatestalso needs to be a string, not a boolean. #12
- Remove setting of
User-Agentheader because that is not allowed in browsers. #10
- Fix named event streams by encoding event name.
- Move access token to query string to eliminate preflight CORS request.
- Use fork of
stream-httpthat prevents usage offetchbecause it does not abort. - Use correct streaming mode of
stream-http.
- Improve cleanup on
abort.
- Add support for organization and product slugs to
getEventStream.
JSON.parseHTTP response body forgetEventStreamerror case.
- Fix event stream. #8
- Add
downloadFirmwareBinary - Add ability to intercept requests for debugging
- Use library version for User-Agent
- Allow request transfer for
claimDevice signalDeviceneeds to use strings, not numbers.compileCodelatestshould be a string, not a boolean.
- Remove trailing slash from
baseUrl. #7
- Remove need for
require('particle-api-js').defaultin CommonJS usage. It is now justrequire('particle-api-js').
- Removed need for
babel-runtime. - Add
flashDevice,compileCode, andlistAccessTokens. - Add missing options to
createWebhook. - Remove
downloadFirmwareBinary.
- Update contributors.
- Add
downloadFirmwareBinary.
- Add
validatePromoCode. activateSIMnow requirespromo_codeandaction.
- Fix old
codereference.
- Change
codetostatusCodein rejection.
- Add
statusCodeto Promise fulfillment.
- Add
listBuildTargets.
- Add
countryCodetoactivateSIM.
- Fix
activateSIM.
- Replace
requestwithsuperagent. - Add
iccidtogetClaimCode. - Only use form encoding on
loginandsignup.
- Removed browser entry in package.json. This makes it possible to bundle the module with other apps that use browserify without causing relative pathing issues.
- Improved error handling and reporting. Network errors and HTTP errors now both return
codeproperty that can be more easily used to programmatically detect error types.