ngin_client
Advanced tools
Comparing version 0.1.24 to 0.1.25
{ | ||
"name": "ngin_client", | ||
"version": "0.1.24", | ||
"version": "0.1.25", | ||
"description": "Node client for interacting with the NGIN API services", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -40,2 +40,12 @@ "use strict" | ||
addPlayer: function(playerID, callback) { | ||
var url = this.urlRoot() + '/' + this.id + '/add_player/' + playerID | ||
Tournament.sync('update', null, { url:url }, callback) | ||
}, | ||
removePlayer: function(playerID, callback) { | ||
var url = this.urlRoot() + '/' + this.id + '/remove_player/' + playerID | ||
Tournament.sync('delete', null, { url:url }, callback) | ||
}, | ||
flightDefaults: function(callback) { | ||
@@ -42,0 +52,0 @@ return ngin.FlightDefault.create({tournament_id: this.id}).fetch(callback) |
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
43170
1371
0