chapybara 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,11 +1,12 @@
1
1
  import { LRUCache } from "lru-cache";
2
2
  import { APIError, AuthenticationError, BadRequestError, NotFoundError, RateLimitError, ServerError } from "./lib/errors.js";
3
- import { version as SDK_VERSION } from "./package.json" assert { type: "json" };
4
3
 
5
4
  const DEFAULT_BASE_URL = "https://api.chapyapi.com/api/v1";
6
5
  const DEFAULT_RETRIES = 2;
7
6
  const DEFAULT_TIMEOUT = 20000;
8
7
 
8
+ const SDK_VERSION = "0.2.1";
9
+
9
10
  export class ChapybaraClient {
10
11
  constructor(options) {
11
12
  if (!options || !options.apiKey) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chapybara",
3
- "version": "0.2.0",
3
+ "version": "0.2.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",