@cowliss/sdk 0.15.0 → 0.15.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/dist/index.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export type CowOptions = {
|
|
|
40
40
|
* two clients) and this default stays out of the way.
|
|
41
41
|
*/
|
|
42
42
|
sourceId?: string;
|
|
43
|
-
/** API origin, no trailing slash. Defaults to
|
|
43
|
+
/** API origin, no trailing slash. Defaults to `https://api.cowliss.com`. */
|
|
44
44
|
baseUrl?: string;
|
|
45
45
|
/** Retries after the initial attempt on network errors / 5xx. Default 2. */
|
|
46
46
|
maxRetries?: number;
|
package/dist/index.js
CHANGED
|
@@ -51,7 +51,7 @@ export class Cow {
|
|
|
51
51
|
constructor(options) {
|
|
52
52
|
this.#apiKey = options.apiKey;
|
|
53
53
|
this.#sourceId = options.sourceId;
|
|
54
|
-
this.#baseUrl = options.baseUrl ?? "
|
|
54
|
+
this.#baseUrl = options.baseUrl ?? "https://api.cowliss.com";
|
|
55
55
|
this.#maxRetries = options.maxRetries ?? 2;
|
|
56
56
|
this.#timeoutMs = options.timeoutMs ?? DEFAULT_TIMEOUT_MS;
|
|
57
57
|
this.#batchTimeoutMs = options.batchTimeoutMs ?? DEFAULT_BATCH_TIMEOUT_MS;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.15.
|
|
1
|
+
export declare const SDK_VERSION = "0.15.1";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by scripts/version.ts from package.json. Do not edit.
|
|
2
|
-
export const SDK_VERSION = "0.15.
|
|
2
|
+
export const SDK_VERSION = "0.15.1";
|