From 38012bc1588e2f93dd986a4d4929d84f7836c5ff Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Mon, 6 Jan 2025 11:29:13 +0100 Subject: [PATCH 1/6] chore: add package manager field --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a2455ed..6218ba3 100644 --- a/package.json +++ b/package.json @@ -76,5 +76,6 @@ }, "engines": { "node": ">=18.0.0" - } + }, + "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610" } From 6a2cbacfcef2a1347556c391c74a7ca410455069 Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Mon, 6 Jan 2025 11:30:19 +0100 Subject: [PATCH 2/6] chore: reeanble skipped tests --- __tests__/call.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/call.test.ts b/__tests__/call.test.ts index 05e4fac..c2cdd9a 100644 --- a/__tests__/call.test.ts +++ b/__tests__/call.test.ts @@ -228,7 +228,7 @@ describe('call API', () => { expect(response.call.backstage).toBe(true); }); - describe.skip('transcriptions', () => { + describe('transcriptions', () => { it('start transcribing', async () => { // somewhat dummy test, we should do a proper test in the future where we join a call and start recording await expect(() => call.startTranscription()).rejects.toThrowError( From 6d044f26df158baf8c12873c6e16039d66b727ca Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Mon, 6 Jan 2025 11:53:02 +0100 Subject: [PATCH 3/6] chore: test if start transcribing test works if I wait 3sec --- __tests__/call.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/__tests__/call.test.ts b/__tests__/call.test.ts index c2cdd9a..a25d20c 100644 --- a/__tests__/call.test.ts +++ b/__tests__/call.test.ts @@ -230,6 +230,7 @@ describe('call API', () => { describe('transcriptions', () => { it('start transcribing', async () => { + await new Promise((resolve) => setTimeout(resolve, 3000)); // somewhat dummy test, we should do a proper test in the future where we join a call and start recording await expect(() => call.startTranscription()).rejects.toThrowError( 'Stream error code 4: StartTranscription failed with error: "there is no active session"', From 5eb5535ac95c7f40961bed5c2a0f7e536c0546c8 Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Mon, 6 Jan 2025 13:12:49 +0100 Subject: [PATCH 4/6] chore: skip transcriptions tests --- __tests__/call.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/__tests__/call.test.ts b/__tests__/call.test.ts index a25d20c..05e4fac 100644 --- a/__tests__/call.test.ts +++ b/__tests__/call.test.ts @@ -228,9 +228,8 @@ describe('call API', () => { expect(response.call.backstage).toBe(true); }); - describe('transcriptions', () => { + describe.skip('transcriptions', () => { it('start transcribing', async () => { - await new Promise((resolve) => setTimeout(resolve, 3000)); // somewhat dummy test, we should do a proper test in the future where we join a call and start recording await expect(() => call.startTranscription()).rejects.toThrowError( 'Stream error code 4: StartTranscription failed with error: "there is no active session"', From c1a0d02b13581379875a7f8c5428ba9edad09d88 Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Tue, 7 Jan 2025 10:34:00 +0100 Subject: [PATCH 5/6] feat: update to API version 142.4.0 (#69) --- src/gen/models/index.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/gen/models/index.ts b/src/gen/models/index.ts index f8099dc..6c277f9 100644 --- a/src/gen/models/index.ts +++ b/src/gen/models/index.ts @@ -1193,6 +1193,8 @@ export interface CallSettings { screensharing?: ScreensharingSettings; + session?: SessionSettings; + thumbnails?: ThumbnailsSettings; transcription?: TranscriptionSettings; @@ -1217,6 +1219,8 @@ export interface CallSettingsRequest { screensharing?: ScreensharingSettingsRequest; + session?: SessionSettingsRequest; + thumbnails?: ThumbnailsSettingsRequest; transcription?: TranscriptionSettingsRequest; @@ -1241,6 +1245,8 @@ export interface CallSettingsResponse { screensharing: ScreensharingSettingsResponse; + session: SessionSettingsResponse; + thumbnails: ThumbnailsSettingsResponse; transcription: TranscriptionSettingsResponse; @@ -7099,6 +7105,18 @@ export interface SendUserCustomEventRequest { event: UserCustomEventRequest; } +export interface SessionSettings { + inactivity_timeout_seconds: number; +} + +export interface SessionSettingsRequest { + inactivity_timeout_seconds: number; +} + +export interface SessionSettingsResponse { + inactivity_timeout_seconds: number; +} + export interface ShowChannelRequest { user_id?: string; From 8f082cd89870392eff7f2aadb801b943291e9615 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2025 10:37:29 +0100 Subject: [PATCH 6/6] chore(main): release 0.4.7 (#70) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c64cf44..6c688ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.4.7](https://github.com/GetStream/stream-node/compare/v0.4.6...v0.4.7) (2025-01-07) + + +### Features + +* update to API version 142.4.0 ([#69](https://github.com/GetStream/stream-node/issues/69)) ([c1a0d02](https://github.com/GetStream/stream-node/commit/c1a0d02b13581379875a7f8c5428ba9edad09d88)) + ## [0.4.6](https://github.com/GetStream/stream-node/compare/v0.4.5...v0.4.6) (2024-12-30) diff --git a/package.json b/package.json index 6218ba3..8438507 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stream-io/node-sdk", - "version": "0.4.6", + "version": "0.4.7", "description": "", "exports": { ".": {