Comparing version 0.2.2 to 0.2.3
@@ -62,3 +62,3 @@ var Utils = require('./utils'); | ||
_options = Hoek.applyToDefaults({ limit: 20, objectId: this.id }, _options || {}); | ||
_options = Hoek.applyToDefaults({ limit: 20, objectId: this.id, type: 'rule' }, _options || {}); | ||
Joi.assert(_options, { | ||
@@ -65,0 +65,0 @@ limit: Joi.number().integer().min(0).max(100), |
@@ -5,3 +5,2 @@ var Utils = require('./utils'); | ||
var Joi = require('joi'); | ||
var Event = require('./event'); | ||
@@ -48,3 +47,2 @@ var Subscription = function(_obj) { | ||
_options).then(function(resp) { | ||
resp.events = resp.events.map(function(v) { return new Event(v); }); | ||
return Utils.listResponse(resp, 'events', self.events, self); | ||
@@ -51,0 +49,0 @@ }); |
{ | ||
"name": "vinli", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"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
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
80948
1712