@shipfox/api-integration-linear 12.3.0 → 14.0.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shipfox/api-integration-linear",
3
3
  "license": "MIT",
4
- "version": "12.3.0",
4
+ "version": "14.0.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ShipfoxHQ/shipfox.git",
@@ -27,8 +27,8 @@
27
27
  "ky": "^2.0.0",
28
28
  "zod": "^4.4.3",
29
29
  "@shipfox/api-auth-context": "12.2.0",
30
- "@shipfox/api-integration-spi": "1.1.0",
31
- "@shipfox/api-integration-linear-dto": "12.2.0",
30
+ "@shipfox/api-integration-spi": "2.0.0",
31
+ "@shipfox/api-integration-linear-dto": "14.0.0",
32
32
  "@shipfox/config": "1.2.4",
33
33
  "@shipfox/node-drizzle": "0.3.5",
34
34
  "@shipfox/node-fastify": "0.4.2",
package/src/index.test.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import {linearEventCatalog} from '@shipfox/api-integration-linear-dto';
1
2
  import {linearAgentToolCatalog} from '#core/agent-tools.js';
2
3
  import {createLinearIntegrationProvider} from '#index.js';
3
4
 
@@ -6,6 +7,7 @@ describe('createLinearIntegrationProvider', () => {
6
7
  const provider = createLinearIntegrationProvider();
7
8
 
8
9
  expect(provider.adapters.agent_tools).toBeUndefined();
10
+ expect(provider.eventCatalog).toBe(linearEventCatalog);
9
11
  });
10
12
 
11
13
  it('wires the Linear agent tools adapter when a token store is provided', () => {
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import {LINEAR_PROVIDER} from '@shipfox/api-integration-linear-dto';
1
+ import {LINEAR_PROVIDER, linearEventCatalog} from '@shipfox/api-integration-linear-dto';
2
2
  import {createLinearApiClient, type LinearApiClient} from '#api/client.js';
3
3
  import {config} from '#config.js';
4
4
  import {LinearAgentToolsProvider} from '#core/agent-tools-provider.js';
@@ -151,6 +151,7 @@ export function createLinearIntegrationProvider(
151
151
  return {
152
152
  provider: LINEAR_PROVIDER,
153
153
  displayName: 'Linear',
154
+ eventCatalog: linearEventCatalog,
154
155
  adapters,
155
156
  async connectionExternalUrl(connection: {id: string}): Promise<string | undefined> {
156
157
  const installation = await getInstallationByConnectionId(connection.id);