agentmail 0.2.14 → 0.2.15
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/websockets/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/websockets/client/Client.js +2 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/websockets/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/websockets/client/Client.mjs +2 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/dist/llms-full.txt +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -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": "agentmail",
|
|
46
|
-
"X-Fern-SDK-Version": "0.2.
|
|
47
|
-
"User-Agent": "agentmail/0.2.
|
|
46
|
+
"X-Fern-SDK-Version": "0.2.15",
|
|
47
|
+
"User-Agent": "agentmail/0.2.15",
|
|
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);
|
|
@@ -4,7 +4,7 @@ import { WebsocketsSocket } from "./Socket.js";
|
|
|
4
4
|
export declare namespace WebsocketsClient {
|
|
5
5
|
type Options = BaseClientOptions;
|
|
6
6
|
interface ConnectArgs {
|
|
7
|
-
apiKey
|
|
7
|
+
apiKey?: string;
|
|
8
8
|
/** Additional query parameters to send with the websocket connect request. */
|
|
9
9
|
queryParams?: Record<string, unknown>;
|
|
10
10
|
/** Arbitrary headers to send with the websocket connect request. */
|
|
@@ -18,5 +18,5 @@ export declare namespace WebsocketsClient {
|
|
|
18
18
|
export declare class WebsocketsClient {
|
|
19
19
|
protected readonly _options: NormalizedClientOptionsWithAuth<WebsocketsClient.Options>;
|
|
20
20
|
constructor(options?: WebsocketsClient.Options);
|
|
21
|
-
connect(args
|
|
21
|
+
connect(args?: WebsocketsClient.ConnectArgs): Promise<WebsocketsSocket>;
|
|
22
22
|
}
|
|
@@ -53,8 +53,8 @@ class WebsocketsClient {
|
|
|
53
53
|
constructor(options = {}) {
|
|
54
54
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
55
55
|
}
|
|
56
|
-
connect(
|
|
57
|
-
return __awaiter(this,
|
|
56
|
+
connect() {
|
|
57
|
+
return __awaiter(this, arguments, void 0, function* (args = {}) {
|
|
58
58
|
var _a, _b;
|
|
59
59
|
const { apiKey, queryParams, headers, debug, reconnectAttempts } = args;
|
|
60
60
|
const _queryParams = {
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.2.
|
|
1
|
+
export declare const SDK_VERSION = "0.2.15";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -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": "agentmail",
|
|
9
|
-
"X-Fern-SDK-Version": "0.2.
|
|
10
|
-
"User-Agent": "agentmail/0.2.
|
|
9
|
+
"X-Fern-SDK-Version": "0.2.15",
|
|
10
|
+
"User-Agent": "agentmail/0.2.15",
|
|
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);
|
|
@@ -4,7 +4,7 @@ import { WebsocketsSocket } from "./Socket.mjs";
|
|
|
4
4
|
export declare namespace WebsocketsClient {
|
|
5
5
|
type Options = BaseClientOptions;
|
|
6
6
|
interface ConnectArgs {
|
|
7
|
-
apiKey
|
|
7
|
+
apiKey?: string;
|
|
8
8
|
/** Additional query parameters to send with the websocket connect request. */
|
|
9
9
|
queryParams?: Record<string, unknown>;
|
|
10
10
|
/** Arbitrary headers to send with the websocket connect request. */
|
|
@@ -18,5 +18,5 @@ export declare namespace WebsocketsClient {
|
|
|
18
18
|
export declare class WebsocketsClient {
|
|
19
19
|
protected readonly _options: NormalizedClientOptionsWithAuth<WebsocketsClient.Options>;
|
|
20
20
|
constructor(options?: WebsocketsClient.Options);
|
|
21
|
-
connect(args
|
|
21
|
+
connect(args?: WebsocketsClient.ConnectArgs): Promise<WebsocketsSocket>;
|
|
22
22
|
}
|
|
@@ -17,8 +17,8 @@ export class WebsocketsClient {
|
|
|
17
17
|
constructor(options = {}) {
|
|
18
18
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
19
19
|
}
|
|
20
|
-
connect(
|
|
21
|
-
return __awaiter(this,
|
|
20
|
+
connect() {
|
|
21
|
+
return __awaiter(this, arguments, void 0, function* (args = {}) {
|
|
22
22
|
var _a, _b;
|
|
23
23
|
const { apiKey, queryParams, headers, debug, reconnectAttempts } = args;
|
|
24
24
|
const _queryParams = {
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.2.
|
|
1
|
+
export declare const SDK_VERSION = "0.2.15";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.2.
|
|
1
|
+
export const SDK_VERSION = "0.2.15";
|
package/dist/llms-full.txt
CHANGED
|
@@ -21826,7 +21826,7 @@ channels:
|
|
|
21826
21826
|
query:
|
|
21827
21827
|
type: object
|
|
21828
21828
|
properties:
|
|
21829
|
-
|
|
21829
|
+
api_key:
|
|
21830
21830
|
type: string
|
|
21831
21831
|
publish:
|
|
21832
21832
|
operationId: websockets-publish
|