@nikic/servious-http
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -61,15 +61,2 @@ "use strict"; | ||
}; | ||
module.exports = Servious; | ||
Servious.registerService({ | ||
name: 'agents', | ||
host: 'localhost:9990' | ||
}); | ||
Servious.addMethod('agents', { | ||
name: 'query', | ||
method: 'post' | ||
}); | ||
Servious.send('agents', 'query', { | ||
test: 'test' | ||
}).then(function (resp) { | ||
console.log(resp); | ||
}); | ||
module.exports = Servious; |
{ | ||
"name": "@nikic/servious-http", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Servious for HTTP", | ||
"main": "index.js", | ||
"scripts": { | ||
@@ -6,0 +7,0 @@ "start": "cross-env NODE_ENV=development nodemon --exec babel-node src/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
23741
581