@fishjam-cloud/js-server-sdk 0.30.0 → 0.30.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.
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@fishjam-cloud/js-server-sdk",
4
- version: "0.30.0",
4
+ version: "0.30.1",
5
5
  description: "Fishjam server SDK for JavaScript",
6
6
  homepage: "https://github.com/fishjam-cloud/js-server-sdk",
7
7
  author: "Fishjam Team",
package/dist/index.d.mts CHANGED
@@ -60,6 +60,12 @@ interface MoqAccessConfig {
60
60
  * @memberof MoqAccessConfig
61
61
  */
62
62
  subscribePath?: string | null;
63
+ /**
64
+ * Token time to live in seconds. Defaults to 3600 (1 hour), maximum is 604800 (7 days).
65
+ * @type {number}
66
+ * @memberof MoqAccessConfig
67
+ */
68
+ ttl?: number | null;
63
69
  }
64
70
 
65
71
  /**
@@ -383,6 +389,12 @@ interface PeerOptionsVapi {
383
389
  * @memberof PeerOptionsVapi
384
390
  */
385
391
  apiKey: string;
392
+ /**
393
+ * Ends the VAPI call when the last participant leaves the room
394
+ * @type {boolean}
395
+ * @memberof PeerOptionsVapi
396
+ */
397
+ autoClose?: boolean;
386
398
  /**
387
399
  * VAPI call ID
388
400
  * @type {string}
package/dist/index.d.ts CHANGED
@@ -60,6 +60,12 @@ interface MoqAccessConfig {
60
60
  * @memberof MoqAccessConfig
61
61
  */
62
62
  subscribePath?: string | null;
63
+ /**
64
+ * Token time to live in seconds. Defaults to 3600 (1 hour), maximum is 604800 (7 days).
65
+ * @type {number}
66
+ * @memberof MoqAccessConfig
67
+ */
68
+ ttl?: number | null;
63
69
  }
64
70
 
65
71
  /**
@@ -383,6 +389,12 @@ interface PeerOptionsVapi {
383
389
  * @memberof PeerOptionsVapi
384
390
  */
385
391
  apiKey: string;
392
+ /**
393
+ * Ends the VAPI call when the last participant leaves the room
394
+ * @type {boolean}
395
+ * @memberof PeerOptionsVapi
396
+ */
397
+ autoClose?: boolean;
386
398
  /**
387
399
  * VAPI call ID
388
400
  * @type {string}
package/dist/index.js CHANGED
@@ -375,7 +375,8 @@ function MoqAccessConfigToJSONTyped(value, ignoreDiscriminator = false) {
375
375
  }
376
376
  return {
377
377
  "publishPath": value["publishPath"],
378
- "subscribePath": value["subscribePath"]
378
+ "subscribePath": value["subscribePath"],
379
+ "ttl": value["ttl"]
379
380
  };
380
381
  }
381
382
  var MoQApi = class extends BaseAPI {
@@ -811,6 +812,7 @@ function PeerOptionsVapiToJSONTyped(value, ignoreDiscriminator = false) {
811
812
  }
812
813
  return {
813
814
  "apiKey": value["apiKey"],
815
+ "autoClose": value["autoClose"],
814
816
  "callId": value["callId"],
815
817
  "subscribeMode": SubscribeModeToJSON(value["subscribeMode"])
816
818
  };
@@ -9485,7 +9487,7 @@ var mapException = async (error, entity) => {
9485
9487
  // package.json
9486
9488
  var package_default = {
9487
9489
  name: "@fishjam-cloud/js-server-sdk",
9488
- version: "0.30.0",
9490
+ version: "0.30.1",
9489
9491
  description: "Fishjam server SDK for JavaScript",
9490
9492
  homepage: "https://github.com/fishjam-cloud/js-server-sdk",
9491
9493
  author: "Fishjam Team",
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "./chunk-VFSCWQBY.mjs";
3
+ } from "./chunk-NEIJH3YA.mjs";
4
4
 
5
5
  // ../fishjam-openapi/dist/index.js
6
6
  var BASE_PATH = "https://fishjam.io/api/v1/connect".replace(/\/+$/, "");
@@ -323,7 +323,8 @@ function MoqAccessConfigToJSONTyped(value, ignoreDiscriminator = false) {
323
323
  }
324
324
  return {
325
325
  "publishPath": value["publishPath"],
326
- "subscribePath": value["subscribePath"]
326
+ "subscribePath": value["subscribePath"],
327
+ "ttl": value["ttl"]
327
328
  };
328
329
  }
329
330
  var MoQApi = class extends BaseAPI {
@@ -759,6 +760,7 @@ function PeerOptionsVapiToJSONTyped(value, ignoreDiscriminator = false) {
759
760
  }
760
761
  return {
761
762
  "apiKey": value["apiKey"],
763
+ "autoClose": value["autoClose"],
762
764
  "callId": value["callId"],
763
765
  "subscribeMode": SubscribeModeToJSON(value["subscribeMode"])
764
766
  };
@@ -33,7 +33,7 @@ var import_genai = require("@google/genai");
33
33
  // package.json
34
34
  var package_default = {
35
35
  name: "@fishjam-cloud/js-server-sdk",
36
- version: "0.30.0",
36
+ version: "0.30.1",
37
37
  description: "Fishjam server SDK for JavaScript",
38
38
  homepage: "https://github.com/fishjam-cloud/js-server-sdk",
39
39
  author: "Fishjam Team",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "../chunk-VFSCWQBY.mjs";
3
+ } from "../chunk-NEIJH3YA.mjs";
4
4
 
5
5
  // src/integrations/gemini.ts
6
6
  import { GoogleGenAI } from "@google/genai";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishjam-cloud/js-server-sdk",
3
- "version": "0.30.0",
3
+ "version": "0.30.1",
4
4
  "description": "Fishjam server SDK for JavaScript",
5
5
  "homepage": "https://github.com/fishjam-cloud/js-server-sdk",
6
6
  "author": "Fishjam Team",
@@ -77,9 +77,9 @@
77
77
  }
78
78
  },
79
79
  "devDependencies": {
80
- "@fishjam-cloud/composition-openapi": "0.30.0",
81
- "@fishjam-cloud/fishjam-openapi": "0.30.0",
82
- "@fishjam-cloud/fishjam-proto": "0.30.0",
80
+ "@fishjam-cloud/composition-openapi": "0.30.1",
81
+ "@fishjam-cloud/fishjam-openapi": "0.30.1",
82
+ "@fishjam-cloud/fishjam-proto": "0.30.1",
83
83
  "@openapitools/openapi-generator-cli": "^2.18.4",
84
84
  "@types/node": "^22.13.16",
85
85
  "@types/websocket": "^1.0.10",