feat: add search capability to all calls

* chore: Updated dependencies.
* test: Fixed a linter issue in the test suite.
* feat: Updated all requests to contain the `search` property.
* chore: Cleaned up some of the type properties order (alphabetized).
* test: Added tests to cover the search capabilities.
* docs: Added examples to the readme to cover all endpoints as well as search.
* docs: Updated the readme to cover migrating from v1 to v2.
* docs: Fixed repository links where applicable.
* chore: Bumped the minor version number.
This commit is contained in:
Josh Sherman 2019-10-03 22:17:27 -05:00
parent 80d96a68ef
commit e36a998229
7 changed files with 238 additions and 76 deletions

View file

@ -1,6 +1,6 @@
{
"name": "holidayapi",
"version": "2.0.1",
"version": "2.1.0",
"description": "Official Node.js library for Holiday API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@ -26,19 +26,19 @@
"devDependencies": {
"@types/jest": "^24.0.18",
"@types/nock": "^10.0.3",
"@types/node": "^12.7.4",
"@types/node-fetch": "^2.5.0",
"@typescript-eslint/eslint-plugin": "^2.2.0",
"@typescript-eslint/parser": "^2.2.0",
"@types/node": "^12.7.11",
"@types/node-fetch": "^2.5.2",
"@typescript-eslint/eslint-plugin": "^2.3.2",
"@typescript-eslint/parser": "^2.3.2",
"coveralls": "^3.0.6",
"eslint": "^6.3.0",
"eslint": "^6.5.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.17.0",
"jest": "^24.9.0",
"nock": "^10.0.6",
"ts-jest": "^24.0.2",
"typescript": "^3.6.2"
"ts-jest": "^24.1.0",
"typescript": "^3.6.3"
},
"dependencies": {
"node-fetch": "^2.6.0"