sreality-client
Advanced tools
Comparing version
@@ -1,5 +0,8 @@ | ||
commit b4879050016cb34030c7251e1ab39b8d730f0f31 | ||
commit dae9f2b7553d01ee0dfffa8805d23b50170086b1 | ||
Merge: d233ebb eca95b5 | ||
Author: Milton Carranza <mecv01@gmail.com> | ||
Date: Sun Jun 9 15:03:18 2019 +0200 | ||
Date: Sun Jul 26 15:08:03 2020 +0200 | ||
0.0.5 | ||
Merge pull request #15 from mecv01/release/v0.0.6 | ||
Release/v0.0.6 |
{ | ||
"name": "sreality-client", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "API Client for sreality.cz", | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "VERBOSE=true DEBUG=api-client:* nodemon index.js", | ||
"start": "cross-env VERBOSE=true DEBUG=api-client:* nodemon index.js", | ||
"build": "rm -rf build && mkdir build && cp -r ./config ./build && cp -r ./src ./build && cp index.js package.json README.md ./build && git log -n 1 >> ./build/deployInfo.txt", | ||
"test": "npm run test:unit && npm run test:end-to-end", | ||
"test:unit": "jest ./test/unit/*.test.js", | ||
"test:end-to-end": "jest ./test/end-to-end/*.test.js", | ||
"test:end-to-end": "jest test/end-to-end/*.test.js", | ||
"test:coverage": "jest --coverage ./test/unit/*.test.js ./test/end-to-end/*.test.js", | ||
@@ -43,12 +43,13 @@ "eslint": "./node_modules/.bin/eslint --fix ./src ./config ./test ./index.js" | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.4.5", | ||
"@babel/preset-env": "^7.10.4", | ||
"babel-cli": "^6.26.0", | ||
"babel-core": "^6.26.3", | ||
"babel-preset-es2015": "^6.24.1", | ||
"eslint": "^5.16.0", | ||
"eslint-config-airbnb-base": "^13.1.0", | ||
"eslint-plugin-import": "^2.17.3", | ||
"jest": "^24.8.0", | ||
"jest-json-schema": "^2.0.2", | ||
"nodemon": "^1.19.1" | ||
"cross-env": "^5.2.1", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb-base": "^13.2.0", | ||
"eslint-plugin-import": "^2.22.0", | ||
"jest": "^26.1.0", | ||
"jest-json-schema": "^2.1.0", | ||
"nodemon": "^2.0.4" | ||
}, | ||
@@ -55,0 +56,0 @@ "dependencies": { |
@@ -47,3 +47,3 @@ const url = require('url'); | ||
tms: (new Date()).getTime(), | ||
per_page: pageSize - 1, | ||
per_page: pageSize, | ||
page, | ||
@@ -83,3 +83,3 @@ }; | ||
const type = PROPERTY_TYPES.HOUSE; | ||
return fetchProperties(page, pageSize, type, regionType, regionId); | ||
return fetchProperties(page, pageSize - 1, type, regionType, regionId); | ||
}; | ||
@@ -89,3 +89,3 @@ | ||
const type = PROPERTY_TYPES.FLAT; | ||
return fetchProperties(page, pageSize, type, regionType, regionId); | ||
return fetchProperties(page, pageSize - 1, type, regionType, regionId); | ||
}; | ||
@@ -95,3 +95,3 @@ | ||
const type = PROPERTY_TYPES.PARCEL; | ||
return fetchProperties(page, pageSize, type, regionType, regionId); | ||
return fetchProperties(page, pageSize - 1, type, regionType, regionId); | ||
}; | ||
@@ -98,0 +98,0 @@ |
8935
1.51%11
10%