@fishjam-cloud/js-server-sdk 0.13.0 → 0.14.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.
package/dist/index.d.mts CHANGED
@@ -251,7 +251,7 @@ declare class FishjamClient {
251
251
  * ```
252
252
  * const fishjamClient = new FishjamClient({
253
253
  * fishjamUrl: fastify.config.FISHJAM_URL,
254
- * managementToken: fastify.config.FISHJAM_SERVER_TOKEN,
254
+ * managementToken: fastify.config.FISHJAM_MANAGEMENT_TOKEN,
255
255
  * });
256
256
  * ```
257
257
  */
@@ -293,6 +293,8 @@ declare class FishjamClient {
293
293
 
294
294
  declare class FishjamBaseException extends Error {
295
295
  statusCode: number;
296
+ axiosCode?: string;
297
+ details?: string;
296
298
  constructor(error: axios.AxiosError<Record<string, string>>);
297
299
  }
298
300
  declare class BadRequestException extends FishjamBaseException {
package/dist/index.d.ts CHANGED
@@ -251,7 +251,7 @@ declare class FishjamClient {
251
251
  * ```
252
252
  * const fishjamClient = new FishjamClient({
253
253
  * fishjamUrl: fastify.config.FISHJAM_URL,
254
- * managementToken: fastify.config.FISHJAM_SERVER_TOKEN,
254
+ * managementToken: fastify.config.FISHJAM_MANAGEMENT_TOKEN,
255
255
  * });
256
256
  * ```
257
257
  */
@@ -293,6 +293,8 @@ declare class FishjamClient {
293
293
 
294
294
  declare class FishjamBaseException extends Error {
295
295
  statusCode: number;
296
+ axiosCode?: string;
297
+ details?: string;
296
298
  constructor(error: axios.AxiosError<Record<string, string>>);
297
299
  }
298
300
  declare class BadRequestException extends FishjamBaseException {