@corti/sdk 0.8.0-rc → 0.8.0-rc.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/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/stream/client/Client.js +1 -1
- package/dist/cjs/api/resources/transcribe/client/Client.js +1 -1
- package/dist/cjs/environments.d.ts +2 -2
- package/dist/cjs/environments.js +2 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/stream/client/Client.mjs +1 -1
- package/dist/esm/api/resources/transcribe/client/Client.mjs +1 -1
- package/dist/esm/environments.d.mts +2 -2
- package/dist/esm/environments.mjs +2 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/Client.js
CHANGED
|
@@ -64,8 +64,8 @@ class CortiClient {
|
|
|
64
64
|
"Tenant-Name": _options === null || _options === void 0 ? void 0 : _options.tenantName,
|
|
65
65
|
"X-Fern-Language": "JavaScript",
|
|
66
66
|
"X-Fern-SDK-Name": "@corti/sdk",
|
|
67
|
-
"X-Fern-SDK-Version": "0.8.0-rc",
|
|
68
|
-
"User-Agent": "@corti/sdk/0.8.0-rc",
|
|
67
|
+
"X-Fern-SDK-Version": "0.8.0-rc.1",
|
|
68
|
+
"User-Agent": "@corti/sdk/0.8.0-rc.1",
|
|
69
69
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
70
70
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
71
71
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -61,7 +61,7 @@ class Stream {
|
|
|
61
61
|
_queryParams["token"] = token;
|
|
62
62
|
let _headers = Object.assign({}, headers);
|
|
63
63
|
const socket = new core.ReconnectingWebSocket({
|
|
64
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options["baseUrl"]))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options["environment"])).wss, `/
|
|
64
|
+
url: core.url.join((_a = (yield core.Supplier.get(this._options["baseUrl"]))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options["environment"])).wss, `/interactions/${encodeURIComponent(id)}/streams`),
|
|
65
65
|
protocols: [],
|
|
66
66
|
queryParameters: _queryParams,
|
|
67
67
|
headers: _headers,
|
|
@@ -61,7 +61,7 @@ class Transcribe {
|
|
|
61
61
|
_queryParams["token"] = token;
|
|
62
62
|
let _headers = Object.assign({}, headers);
|
|
63
63
|
const socket = new core.ReconnectingWebSocket({
|
|
64
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options["baseUrl"]))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options["environment"])).wss, "/
|
|
64
|
+
url: core.url.join((_a = (yield core.Supplier.get(this._options["baseUrl"]))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options["environment"])).wss, "/transcribe"),
|
|
65
65
|
protocols: [],
|
|
66
66
|
queryParameters: _queryParams,
|
|
67
67
|
headers: _headers,
|
|
@@ -10,13 +10,13 @@ export interface CortiEnvironmentUrls {
|
|
|
10
10
|
export declare const CortiEnvironment: {
|
|
11
11
|
readonly Eu: {
|
|
12
12
|
readonly base: "https://api.eu.corti.app/v2";
|
|
13
|
-
readonly wss: "wss://api.eu.corti.app";
|
|
13
|
+
readonly wss: "wss://api.eu.corti.app/audio-bridge/v2";
|
|
14
14
|
readonly login: "https://auth.eu.corti.app/realms";
|
|
15
15
|
readonly agents: "https://api.eu.corti.app";
|
|
16
16
|
};
|
|
17
17
|
readonly Us: {
|
|
18
18
|
readonly base: "https://api.us.corti.app/v2";
|
|
19
|
-
readonly wss: "wss://api.us.corti.app";
|
|
19
|
+
readonly wss: "wss://api.us.corti.app/audio-bridge/v2";
|
|
20
20
|
readonly login: "https://auth.us.corti.app/realms";
|
|
21
21
|
readonly agents: "https://api.us.corti.app";
|
|
22
22
|
};
|
package/dist/cjs/environments.js
CHANGED
|
@@ -7,13 +7,13 @@ exports.CortiEnvironment = void 0;
|
|
|
7
7
|
exports.CortiEnvironment = {
|
|
8
8
|
Eu: {
|
|
9
9
|
base: "https://api.eu.corti.app/v2",
|
|
10
|
-
wss: "wss://api.eu.corti.app",
|
|
10
|
+
wss: "wss://api.eu.corti.app/audio-bridge/v2",
|
|
11
11
|
login: "https://auth.eu.corti.app/realms",
|
|
12
12
|
agents: "https://api.eu.corti.app",
|
|
13
13
|
},
|
|
14
14
|
Us: {
|
|
15
15
|
base: "https://api.us.corti.app/v2",
|
|
16
|
-
wss: "wss://api.us.corti.app",
|
|
16
|
+
wss: "wss://api.us.corti.app/audio-bridge/v2",
|
|
17
17
|
login: "https://auth.us.corti.app/realms",
|
|
18
18
|
agents: "https://api.us.corti.app",
|
|
19
19
|
},
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.8.0-rc";
|
|
1
|
+
export declare const SDK_VERSION = "0.8.0-rc.1";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -28,8 +28,8 @@ export class CortiClient {
|
|
|
28
28
|
"Tenant-Name": _options === null || _options === void 0 ? void 0 : _options.tenantName,
|
|
29
29
|
"X-Fern-Language": "JavaScript",
|
|
30
30
|
"X-Fern-SDK-Name": "@corti/sdk",
|
|
31
|
-
"X-Fern-SDK-Version": "0.8.0-rc",
|
|
32
|
-
"User-Agent": "@corti/sdk/0.8.0-rc",
|
|
31
|
+
"X-Fern-SDK-Version": "0.8.0-rc.1",
|
|
32
|
+
"User-Agent": "@corti/sdk/0.8.0-rc.1",
|
|
33
33
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
34
34
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
35
35
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -25,7 +25,7 @@ export class Stream {
|
|
|
25
25
|
_queryParams["token"] = token;
|
|
26
26
|
let _headers = Object.assign({}, headers);
|
|
27
27
|
const socket = new core.ReconnectingWebSocket({
|
|
28
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options["baseUrl"]))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options["environment"])).wss, `/
|
|
28
|
+
url: core.url.join((_a = (yield core.Supplier.get(this._options["baseUrl"]))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options["environment"])).wss, `/interactions/${encodeURIComponent(id)}/streams`),
|
|
29
29
|
protocols: [],
|
|
30
30
|
queryParameters: _queryParams,
|
|
31
31
|
headers: _headers,
|
|
@@ -25,7 +25,7 @@ export class Transcribe {
|
|
|
25
25
|
_queryParams["token"] = token;
|
|
26
26
|
let _headers = Object.assign({}, headers);
|
|
27
27
|
const socket = new core.ReconnectingWebSocket({
|
|
28
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options["baseUrl"]))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options["environment"])).wss, "/
|
|
28
|
+
url: core.url.join((_a = (yield core.Supplier.get(this._options["baseUrl"]))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options["environment"])).wss, "/transcribe"),
|
|
29
29
|
protocols: [],
|
|
30
30
|
queryParameters: _queryParams,
|
|
31
31
|
headers: _headers,
|
|
@@ -10,13 +10,13 @@ export interface CortiEnvironmentUrls {
|
|
|
10
10
|
export declare const CortiEnvironment: {
|
|
11
11
|
readonly Eu: {
|
|
12
12
|
readonly base: "https://api.eu.corti.app/v2";
|
|
13
|
-
readonly wss: "wss://api.eu.corti.app";
|
|
13
|
+
readonly wss: "wss://api.eu.corti.app/audio-bridge/v2";
|
|
14
14
|
readonly login: "https://auth.eu.corti.app/realms";
|
|
15
15
|
readonly agents: "https://api.eu.corti.app";
|
|
16
16
|
};
|
|
17
17
|
readonly Us: {
|
|
18
18
|
readonly base: "https://api.us.corti.app/v2";
|
|
19
|
-
readonly wss: "wss://api.us.corti.app";
|
|
19
|
+
readonly wss: "wss://api.us.corti.app/audio-bridge/v2";
|
|
20
20
|
readonly login: "https://auth.us.corti.app/realms";
|
|
21
21
|
readonly agents: "https://api.us.corti.app";
|
|
22
22
|
};
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
export const CortiEnvironment = {
|
|
5
5
|
Eu: {
|
|
6
6
|
base: "https://api.eu.corti.app/v2",
|
|
7
|
-
wss: "wss://api.eu.corti.app",
|
|
7
|
+
wss: "wss://api.eu.corti.app/audio-bridge/v2",
|
|
8
8
|
login: "https://auth.eu.corti.app/realms",
|
|
9
9
|
agents: "https://api.eu.corti.app",
|
|
10
10
|
},
|
|
11
11
|
Us: {
|
|
12
12
|
base: "https://api.us.corti.app/v2",
|
|
13
|
-
wss: "wss://api.us.corti.app",
|
|
13
|
+
wss: "wss://api.us.corti.app/audio-bridge/v2",
|
|
14
14
|
login: "https://auth.us.corti.app/realms",
|
|
15
15
|
agents: "https://api.us.corti.app",
|
|
16
16
|
},
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.8.0-rc";
|
|
1
|
+
export declare const SDK_VERSION = "0.8.0-rc.1";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.8.0-rc";
|
|
1
|
+
export const SDK_VERSION = "0.8.0-rc.1";
|