ma3route-sdk
Advanced tools
Comparing version 0.12.1 to 0.13.0
@@ -10,2 +10,20 @@ # Change Log | ||
## 0.13.0 - 2016-10-14 | ||
Added: | ||
* Add 'campaigns' sub-module | ||
* Add 'activations' sub-module | ||
* Add support for Node.js v6.x | ||
Changed: | ||
* [maintenance] Update dependencies | ||
Fixed: | ||
* Fix rule ignoring examples in .npmignore | ||
## 0.12.1 - 2016-10-05 | ||
@@ -12,0 +30,0 @@ |
@@ -15,3 +15,5 @@ /** | ||
auth: require("./lib/auth"), | ||
activations: require("./lib/activations"), | ||
bannerAdverts: require("./lib/bannerAdverts"), | ||
campaigns: require("./lib/campaigns"), | ||
drivingReports: require("./lib/drivingReports"), | ||
@@ -18,0 +20,0 @@ externalStream: require("./lib/externalStream"), |
@@ -13,3 +13,5 @@ /** | ||
var modules = [ | ||
"activations", | ||
"bannerAdverts", | ||
"campaigns", | ||
"drivingReports", | ||
@@ -16,0 +18,0 @@ "externalStream", |
{ | ||
"activations": { | ||
"create": ["id", "type", "active", "referenceno"] | ||
}, | ||
"bannerAdverts": { | ||
@@ -7,2 +10,7 @@ "create": ["title", "town", "context", "mediaurl", "url", "email", "size"], | ||
}, | ||
"campaigns": { | ||
"create": ["id", "campaignmessage", "campaignlink"], | ||
"get": ["user_id"], | ||
"edit": [] | ||
}, | ||
"contactUs": { | ||
@@ -9,0 +17,0 @@ "create": ["name", "email", "message", "phone"] |
@@ -121,4 +121,8 @@ /** | ||
switch (label) { | ||
case "activations": | ||
return url(options).segment("activations"); | ||
case "bannerAdverts": | ||
return url(options).segment("bannerads"); | ||
case "campaigns": | ||
return url(options).segment("campaigns"); | ||
case "contactUs": | ||
@@ -125,0 +129,0 @@ return url(options).segment("contactus"); |
{ | ||
"name": "ma3route-sdk", | ||
"version": "0.12.1", | ||
"version": "0.13.0", | ||
"description": "Node.js SDK for developing with the Ma3Route REST API", | ||
@@ -28,14 +28,14 @@ "repository": { | ||
"dependencies": { | ||
"common-errors": "^0.5.1", | ||
"common-errors": "^1.0.0", | ||
"debug": "^2.2.0", | ||
"decamelize": "^1.0.0", | ||
"eventsource": "^0.2.0", | ||
"request": "^2.57.0", | ||
"urijs": "^1.16.1", | ||
"lodash": "^4.4.0", | ||
"trim-character": "^2.0.1" | ||
"lodash": "^4.16.3", | ||
"request": "^2.75.0", | ||
"trim-character": "^2.0.1", | ||
"urijs": "^1.18.2" | ||
}, | ||
"devDependencies": { | ||
"cli-output": "^1.0.0", | ||
"coveralls": "^2.11.3", | ||
"coveralls": "^2.11.14", | ||
"grunt": "^1.0.1", | ||
@@ -45,10 +45,10 @@ "grunt-cli": "^1.2.0", | ||
"grunt-eslint": "^18.1.0", | ||
"grunt-jsdoc": "^2.0.0", | ||
"grunt-mocha-test": "^0.12.7", | ||
"istanbul": "^0.4.2", | ||
"jsdoc": "^3.3.2", | ||
"load-grunt-tasks": "^3.2.0", | ||
"mocha": ">=1.20.0", | ||
"grunt-jsdoc": "^2.1.0", | ||
"grunt-mocha-test": "^0.13.2", | ||
"istanbul": "^0.4.5", | ||
"jsdoc": "^3.4.2", | ||
"load-grunt-tasks": "^3.5.2", | ||
"mocha": "^3.1.0", | ||
"mocha-lcov-reporter": "^1.0.0", | ||
"should": "^8.2.2" | ||
"should": "^11.1.0" | ||
}, | ||
@@ -55,0 +55,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
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
3802533
205
3286
+ Addedcommon-errors@1.2.0(transitive)
- Removedcommon-errors@0.5.7(transitive)
Updatedcommon-errors@^1.0.0
Updatedlodash@^4.16.3
Updatedrequest@^2.75.0
Updatedurijs@^1.18.2