@fishjam-cloud/js-server-sdk 0.25.1 → 0.25.3

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.
@@ -0,0 +1,96 @@
1
+ // package.json
2
+ var package_default = {
3
+ name: "@fishjam-cloud/js-server-sdk",
4
+ version: "0.25.3",
5
+ description: "Fishjam server SDK for JavaScript",
6
+ homepage: "https://github.com/fishjam-cloud/js-server-sdk",
7
+ author: "Fishjam Team",
8
+ repository: {
9
+ type: "git",
10
+ url: "https://github.com/fishjam-cloud/js-server-sdk.git"
11
+ },
12
+ bugs: {
13
+ url: "https://github.com/fishjam-cloud/js-server-sdk/issues"
14
+ },
15
+ license: "Apache-2.0",
16
+ keywords: [
17
+ "webrtc",
18
+ "fishjam",
19
+ "server",
20
+ "membrane"
21
+ ],
22
+ main: "./dist/index.js",
23
+ types: "./dist/index.d.ts",
24
+ files: [
25
+ "dist"
26
+ ],
27
+ exports: {
28
+ ".": {
29
+ types: "./dist/index.d.ts",
30
+ import: "./dist/index.mjs",
31
+ require: "./dist/index.js"
32
+ },
33
+ "./gemini": {
34
+ types: "./dist/integrations/gemini.d.ts",
35
+ import: "./dist/integrations/gemini.mjs",
36
+ require: "./dist/integrations/gemini.js"
37
+ }
38
+ },
39
+ scripts: {
40
+ build: "tsup --dts-resolve",
41
+ format: "prettier --write .",
42
+ "format:check": "prettier --check .",
43
+ typecheck: "tsc --noEmit",
44
+ lint: "eslint . --fix",
45
+ "lint:check": "eslint . "
46
+ },
47
+ tsup: {
48
+ entry: [
49
+ "src/index.ts",
50
+ "src/integrations/gemini.ts",
51
+ "src/proto.ts"
52
+ ],
53
+ noExternal: [
54
+ "fishjam-openapi",
55
+ "fishjam-proto"
56
+ ],
57
+ minify: false,
58
+ format: [
59
+ "cjs",
60
+ "esm"
61
+ ],
62
+ outDir: "dist"
63
+ },
64
+ dependencies: {
65
+ axios: "^1.7.9",
66
+ uuid: "^11.1.0"
67
+ },
68
+ peerDependencies: {
69
+ "@google/genai": "^1.0.0"
70
+ },
71
+ peerDependenciesMeta: {
72
+ "@google/genai": {
73
+ optional: true
74
+ }
75
+ },
76
+ devDependencies: {
77
+ "@fishjam-cloud/fishjam-openapi": "workspace:*",
78
+ "@fishjam-cloud/fishjam-proto": "workspace:*",
79
+ "@openapitools/openapi-generator-cli": "^2.18.4",
80
+ "@types/node": "^22.13.16",
81
+ "@types/websocket": "^1.0.10",
82
+ eslint: "^9.33.0",
83
+ prettier: "^3.6.2",
84
+ tsup: "^8.4.0",
85
+ "typed-emitter": "^2.1.0"
86
+ },
87
+ "lint-staged": {
88
+ "*.{js,ts,tsx,mjs,cjs}": [
89
+ "eslint --fix --config eslint.config.mjs"
90
+ ]
91
+ }
92
+ };
93
+
94
+ export {
95
+ package_default
96
+ };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
2
- import axios from 'axios';
2
+ import { AxiosError } from 'axios';
3
3
 
4
4
  /**
5
5
  * Output audio options
@@ -923,7 +923,7 @@ declare class FishjamBaseException extends Error {
923
923
  statusCode: number;
924
924
  axiosCode?: string;
925
925
  details?: string;
926
- constructor(error: axios.AxiosError<Record<string, string>>);
926
+ constructor(error: AxiosError<Record<string, string>>);
927
927
  }
928
928
  declare class BadRequestException extends FishjamBaseException {
929
929
  }
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
2
- import axios from 'axios';
2
+ import { AxiosError } from 'axios';
3
3
 
4
4
  /**
5
5
  * Output audio options
@@ -923,7 +923,7 @@ declare class FishjamBaseException extends Error {
923
923
  statusCode: number;
924
924
  axiosCode?: string;
925
925
  details?: string;
926
- constructor(error: axios.AxiosError<Record<string, string>>);
926
+ constructor(error: AxiosError<Record<string, string>>);
927
927
  }
928
928
  declare class BadRequestException extends FishjamBaseException {
929
929
  }