Comparing version 1.0.0 to 1.1.0
@@ -151,2 +151,11 @@ var Utils = require('./utils'); | ||
}; | ||
Device.prototype.createSubscription = function(_options) { | ||
return client.post( | ||
'event', | ||
'devices/' + this.id + '/subscriptions', | ||
{ subscription: _options }).then(function(resp) { | ||
return new client.Subscription(resp.subscription); | ||
}); | ||
}; | ||
@@ -153,0 +162,0 @@ Device.fetch = function(id) { |
{ | ||
"name": "vinli", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Official Node.js SDK for interacting with the Vinli Platform", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74655
1560
1