@detectant-api/sdk 0.0.2 → 0.0.4

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/README.md CHANGED
@@ -100,12 +100,11 @@ One file can fail without preventing the other files in the batch from being sca
100
100
 
101
101
  ## Configuration
102
102
 
103
- Use `baseUrl` for a self-hosted or local API, and increase the timeout for large files when needed:
103
+ Increase the timeout for large files when needed:
104
104
 
105
105
  ```ts
106
106
  const detectant = new Detectant({
107
107
  apiKey: process.env.DETECTANT_API_KEY,
108
- baseUrl: "https://api.example.com",
109
108
  timeoutInSeconds: 120,
110
109
  });
111
110
  ```
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@detectant-api/sdk",
46
- "X-Fern-SDK-Version": "0.0.2",
47
- "User-Agent": "@detectant-api/sdk/0.0.2",
46
+ "X-Fern-SDK-Version": "0.0.4",
47
+ "User-Agent": "@detectant-api/sdk/0.0.4",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,4 +1,4 @@
1
1
  export declare const DetectantApiEnvironment: {
2
- readonly Default: "";
2
+ readonly Default: "https://api.detectant.com";
3
3
  };
4
4
  export type DetectantApiEnvironment = typeof DetectantApiEnvironment.Default;
@@ -3,5 +3,5 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.DetectantApiEnvironment = void 0;
5
5
  exports.DetectantApiEnvironment = {
6
- Default: "",
6
+ Default: "https://api.detectant.com",
7
7
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.2";
1
+ export declare const SDK_VERSION = "0.0.4";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.2";
4
+ exports.SDK_VERSION = "0.0.4";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@detectant-api/sdk",
9
- "X-Fern-SDK-Version": "0.0.2",
10
- "User-Agent": "@detectant-api/sdk/0.0.2",
9
+ "X-Fern-SDK-Version": "0.0.4",
10
+ "User-Agent": "@detectant-api/sdk/0.0.4",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,4 +1,4 @@
1
1
  export declare const DetectantApiEnvironment: {
2
- readonly Default: "";
2
+ readonly Default: "https://api.detectant.com";
3
3
  };
4
4
  export type DetectantApiEnvironment = typeof DetectantApiEnvironment.Default;
@@ -1,4 +1,4 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  export const DetectantApiEnvironment = {
3
- Default: "",
3
+ Default: "https://api.detectant.com",
4
4
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.2";
1
+ export declare const SDK_VERSION = "0.0.4";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.2";
1
+ export const SDK_VERSION = "0.0.4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@detectant-api/sdk",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",