Comparing version 1.0.0-beta-5 to 1.0.0-beta-6
@@ -42,1 +42,19 @@ // This class definition will eventually be the default | ||
nexmo.account.checkBalance(logToConsole); | ||
console.log('Getting Apps List'); | ||
nexmo.app.get({}, logToConsole); | ||
var tempAppName = new Date().getTime(); | ||
console.log('Creating App', tempAppName); | ||
nexmo.app.create(tempAppName, 'voice', 'http://requestb.in/s8yhpcs8', 'http://requestb.in/s8yhpcs8', null, function(err, resp) { | ||
logToConsole(resp); | ||
console.log('Updating App', tempAppName); | ||
nexmo.app.update(resp.id, tempAppName, 'voice', 'http://requestb.in/s8yhpcs8', 'http://requestb.in/s8yhpcs8', null, function(err, resp) { | ||
console.log('Deleting App', tempAppName); | ||
nexmo.app.delete(resp.id, logToConsole); | ||
}); | ||
}); |
{ | ||
"name": "nexmo", | ||
"author": "nexmo", | ||
"version": "1.0.0-beta-5", | ||
"version": "1.0.0-beta-6", | ||
"main": "lib/Nexmo", | ||
@@ -37,4 +37,4 @@ "keywords": [ | ||
"babel-cli": "^6.7.7", | ||
"babel-plugin-add-module-exports": "^0.1.2", | ||
"babel-preset-es2015": "^6.6.0", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-preset-es2015": "^6.9.0", | ||
"babel-register": "^6.7.2", | ||
@@ -41,0 +41,0 @@ "dotenv": "^2.0.0", |
Sorry, the diff of this file is too big to display
176137
1538