@corti/dictation-web 0.4.0-rc.2 → 0.4.0

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.
Files changed (2) hide show
  1. package/dist/bundle.js +6 -6
  2. package/package.json +2 -2
package/dist/bundle.js CHANGED
@@ -6118,7 +6118,7 @@ var Auth = class {
6118
6118
  function getEnvironment(environment = "eu") {
6119
6119
  return typeof environment === "string" ? {
6120
6120
  base: `https://api.${environment}.corti.app/v2`,
6121
- wss: `wss://api.${environment}.corti.app`,
6121
+ wss: `wss://api.${environment}.corti.app/audio-bridge/v2`,
6122
6122
  login: `https://auth.${environment}.corti.app/realms`,
6123
6123
  agents: `https://api.${environment}.corti.app`
6124
6124
  } : environment;
@@ -10332,7 +10332,7 @@ var Stream = class {
10332
10332
  _queryParams["token"] = token;
10333
10333
  let _headers = Object.assign({}, headers);
10334
10334
  const socket = new ReconnectingWebSocket({
10335
- url: url_exports.join((_a = yield Supplier.get(this._options["baseUrl"])) !== null && _a !== void 0 ? _a : (yield Supplier.get(this._options["environment"])).wss, `/audio-bridge/v2/interactions/${encodeURIComponent(id)}/streams`),
10335
+ url: url_exports.join((_a = yield Supplier.get(this._options["baseUrl"])) !== null && _a !== void 0 ? _a : (yield Supplier.get(this._options["environment"])).wss, `/interactions/${encodeURIComponent(id)}/streams`),
10336
10336
  protocols: [],
10337
10337
  queryParameters: _queryParams,
10338
10338
  headers: _headers,
@@ -10711,7 +10711,7 @@ var Transcribe = class {
10711
10711
  _queryParams["token"] = token;
10712
10712
  let _headers = Object.assign({}, headers);
10713
10713
  const socket = new ReconnectingWebSocket({
10714
- url: url_exports.join((_a = yield Supplier.get(this._options["baseUrl"])) !== null && _a !== void 0 ? _a : (yield Supplier.get(this._options["environment"])).wss, "/audio-bridge/v2/transcribe"),
10714
+ url: url_exports.join((_a = yield Supplier.get(this._options["baseUrl"])) !== null && _a !== void 0 ? _a : (yield Supplier.get(this._options["environment"])).wss, "/transcribe"),
10715
10715
  protocols: [],
10716
10716
  queryParameters: _queryParams,
10717
10717
  headers: _headers,
@@ -10874,7 +10874,7 @@ var Transcribe2 = class extends Transcribe {
10874
10874
  };
10875
10875
 
10876
10876
  // node_modules/@corti/sdk/dist/esm/version.mjs
10877
- var SDK_VERSION = "0.8.0-rc";
10877
+ var SDK_VERSION = "0.8.0";
10878
10878
 
10879
10879
  // node_modules/@corti/sdk/dist/esm/custom/utils/resolveClientOptions.mjs
10880
10880
  var __awaiter30 = function(thisArg, _arguments, P2, generator) {
@@ -11080,13 +11080,13 @@ var CortiClient = class {
11080
11080
  var CortiEnvironment = {
11081
11081
  Eu: {
11082
11082
  base: "https://api.eu.corti.app/v2",
11083
- wss: "wss://api.eu.corti.app",
11083
+ wss: "wss://api.eu.corti.app/audio-bridge/v2",
11084
11084
  login: "https://auth.eu.corti.app/realms",
11085
11085
  agents: "https://api.eu.corti.app"
11086
11086
  },
11087
11087
  Us: {
11088
11088
  base: "https://api.us.corti.app/v2",
11089
- wss: "wss://api.us.corti.app",
11089
+ wss: "wss://api.us.corti.app/audio-bridge/v2",
11090
11090
  login: "https://auth.us.corti.app/realms",
11091
11091
  agents: "https://api.us.corti.app"
11092
11092
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@corti/dictation-web",
3
3
  "description": "Web component for Corti Dictation",
4
4
  "author": "Corti ApS",
5
- "version": "0.4.0-rc.2",
5
+ "version": "0.4.0",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
8
  "main": "dist/index.js",
@@ -58,7 +58,7 @@
58
58
  "storybook:build": "tsc && tsc -p tsconfig.stories.json && npm run analyze -- --exclude dist && storybook build"
59
59
  },
60
60
  "dependencies": {
61
- "@corti/sdk": "^0.8.0-rc",
61
+ "@corti/sdk": "^0.8.0",
62
62
  "@lit/context": "^1.1.6",
63
63
  "lit": "^3.3.1"
64
64
  },