osm-p2p-server
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -0,4 +1,7 @@ | ||
var osmApi = require('osm-p2p-api') | ||
module.exports = function createApi (osm) { | ||
var api = osmApi(osm) | ||
return { | ||
getMap: require('./get_map.js')(osm), | ||
getMap: api.getMap, | ||
getElement: require('./get_element.js')(osm), | ||
@@ -5,0 +8,0 @@ createElement: require('./create_element.js')(osm), |
{ | ||
"name": "osm-p2p-server", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Peer-to-peer OpenStreetMap API v0.6 Server", | ||
@@ -45,2 +45,3 @@ "main": "index.js", | ||
"once": "^1.3.3", | ||
"osm-p2p-api": "^1.0.1", | ||
"osm-p2p-defork": "^1.0.0", | ||
@@ -47,0 +48,0 @@ "osm2json": "^2.1.0", |
@@ -357,3 +357,2 @@ var test = require('tape') | ||
function step9 (done) { | ||
function query (forks, done) { | ||
@@ -360,0 +359,0 @@ var opts = { |
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
197547
25
81
5562
+ Addedosm-p2p-api@^1.0.1
+ Addedosm-p2p-api@1.0.4(transitive)