New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

particle-api-js

Package Overview
Dependencies
Maintainers
6
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

particle-api-js - npm Package Compare versions

Comparing version 7.1.1 to 7.2.0

3

CHANGELOG.md
# changelog
## 7.2.0 - 22 Mar 2018
* Support changing user's username(i.e., email) and password [PR #84](https://github.com/particle-iot/particle-api-js/pull/84)
## 7.1.1 - 13 Feb 2018

@@ -4,0 +7,0 @@ * Fix country parameter for activate sim [PR #81](https://github.com/particle-iot/particle-api-js/pull/81)

2

package.json
{
"name": "particle-api-js",
"version": "7.1.1",
"version": "7.2.0",
"description": "Particle API Client",

@@ -5,0 +5,0 @@ "main": "lib/Particle.js",

@@ -10,5 +10,4 @@ # Releasing a new version

- `npm publish`
- Travis will run `npm publish` if the build passes.
- Create a release on GitHub with the notes from the `CHANGELOG.md`

@@ -160,3 +160,3 @@ import should from 'should'; // monkeypatch the world~!1

});
describe('.createCustomer', () => {
describe('.createCustomer', () => {
it('sends client ID and secret', () => {

@@ -1093,2 +1093,36 @@ let clientApi = new Particle({

});
describe('.changeUsername', () => {
it('generates request', () => {
return api.changeUsername({ auth: 'X', currentPassword: 'blabla', username: 'john@skul.ly' }).then((results) => {
results.should.eql({
method: 'put',
uri: '/v1/user',
auth: 'X',
context: {},
data: {
current_password: 'blabla',
username: 'john@skul.ly'
}
});
});
});
});
describe('.changeUserPassword', () => {
it('generates request', () => {
return api.changeUserPassword({ auth: 'X', currentPassword: 'blabla', password: 'blabla2' }).then((results) => {
results.should.eql({
method: 'put',
uri: '/v1/user',
auth: 'X',
context: {},
data: {
current_password: 'blabla',
password: 'blabla2'
}
});
});
});
});
describe('.listSIMs', () => {

@@ -1095,0 +1129,0 @@ describe('user scope', () => {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc