chapybara 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import fetch from "node-fetch";
|
|
|
2
2
|
import { LRUCache } from "lru-cache";
|
|
3
3
|
import { APIError, AuthenticationError, BadRequestError, NotFoundError, RateLimitError, ServerError } from "./lib/errors.js";
|
|
4
4
|
|
|
5
|
-
const DEFAULT_BASE_URL = "https://chapyapi.com/api/v1";
|
|
5
|
+
const DEFAULT_BASE_URL = "https://api.chapyapi.com/api/v1";
|
|
6
6
|
const DEFAULT_RETRIES = 2;
|
|
7
7
|
const DEFAULT_TIMEOUT = 20000;
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chapybara",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Official NodeJS SDK for the Chapybara Domain & IP Intelligence API.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"author": "Alpha System",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"lru-cache": "^11.2.
|
|
23
|
+
"lru-cache": "^11.2.1",
|
|
24
24
|
"node-fetch": "^3.3.2"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|