diff --git a/src/Spaces.test.ts b/src/Spaces.test.ts index 79941d1a..41d80dc3 100644 --- a/src/Spaces.test.ts +++ b/src/Spaces.test.ts @@ -42,7 +42,6 @@ describe('Spaces', () => { const spaces = new Spaces(client); expect(client.options.agents).toEqual({ spaces: spaces.version, - 'space-custom-client': true, }); }); @@ -54,7 +53,6 @@ describe('Spaces', () => { expect(ablyClient.options.agents).toEqual({ 'some-client': '1.2.3', spaces: spaces.version, - 'space-custom-client': true, }); }); }); diff --git a/src/Spaces.ts b/src/Spaces.ts index 9a5fa006..6117aff1 100644 --- a/src/Spaces.ts +++ b/src/Spaces.ts @@ -50,7 +50,7 @@ class Spaces { } private addAgent(options: { agents?: Record }) { - const agent = { spaces: this.version, 'space-custom-client': true }; + const agent = { spaces: this.version }; options.agents = { ...(options.agents ?? options.agents), ...agent }; }