@chatlychat/sdk-node 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.
- package/CHANGELOG.md +8 -1
- package/dist/transport.d.ts +1 -1
- package/dist/transport.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# @chatlychat/sdk-node
|
|
2
2
|
|
|
3
|
-
## 0.2.
|
|
3
|
+
## 0.2.1
|
|
4
|
+
|
|
5
|
+
Identical to 0.2.0 in content. npm left 0.2.0 in a **staged** state — a
|
|
6
|
+
publish that reserves the version without making it installable, which
|
|
7
|
+
`npm view` does not list and `npm install` answers with ETARGET — so the
|
|
8
|
+
number is unusable and 0.2.1 is the first release of this surface.
|
|
9
|
+
|
|
10
|
+
## 0.2.0 (never installable)
|
|
4
11
|
|
|
5
12
|
The typed surface goes from 9 methods to 55, and the SDK gains the behaviour
|
|
6
13
|
`packages/sdk-spec/CONTRACT.md` requires of every Chatly SDK.
|
package/dist/transport.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Production. Never a dev or example host — see the note in {@link Transport}. */
|
|
2
2
|
export declare const DEFAULT_API_URL = "https://api.chatlychat.com";
|
|
3
3
|
/** The package version, stamped into `User-Agent` so our logs can see SDK age. */
|
|
4
|
-
export declare const SDK_VERSION = "0.2.
|
|
4
|
+
export declare const SDK_VERSION = "0.2.1";
|
|
5
5
|
export interface RetryPolicy {
|
|
6
6
|
/** Total attempts, including the first. `1` disables retrying. */
|
|
7
7
|
readonly attempts: number;
|
package/dist/transport.js
CHANGED
|
@@ -3,7 +3,7 @@ import { ChatlyApiError, ChatlyRateLimitError, ChatlyServerError, ChatlyTranspor
|
|
|
3
3
|
/** Production. Never a dev or example host — see the note in {@link Transport}. */
|
|
4
4
|
export const DEFAULT_API_URL = 'https://api.chatlychat.com';
|
|
5
5
|
/** The package version, stamped into `User-Agent` so our logs can see SDK age. */
|
|
6
|
-
export const SDK_VERSION = '0.2.
|
|
6
|
+
export const SDK_VERSION = '0.2.1';
|
|
7
7
|
export const DEFAULT_RETRY = { attempts: 3, baseDelayMs: 250, maxDelayMs: 4_000 };
|
|
8
8
|
/**
|
|
9
9
|
* One HTTP concern, in one place: auth, idempotency, retry, error mapping.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chatlychat/sdk-node",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Official Node.js SDK for the Chatly API — typed REST client, webhook signature verification, and the widget identity hash.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/chatlychat/chatly-sdk-node#readme",
|