@shipfox/api-integration-slack 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-slack",
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",
@@ -25,14 +25,14 @@
25
25
  "drizzle-orm": "^0.45.2",
26
26
  "ky": "^2.0.0",
27
27
  "zod": "^4.4.3",
28
- "@shipfox/api-integration-slack-dto": "12.2.0",
28
+ "@shipfox/api-auth-context": "12.2.0",
29
+ "@shipfox/api-integration-spi": "2.0.0",
30
+ "@shipfox/api-integration-slack-dto": "14.0.0",
29
31
  "@shipfox/api-workspaces-dto": "12.0.0",
30
32
  "@shipfox/config": "1.2.4",
31
- "@shipfox/api-auth-context": "12.2.0",
32
- "@shipfox/api-integration-spi": "1.1.0",
33
33
  "@shipfox/inter-module": "0.2.3",
34
- "@shipfox/node-fastify": "0.4.2",
35
34
  "@shipfox/node-drizzle": "0.3.5",
35
+ "@shipfox/node-fastify": "0.4.2",
36
36
  "@shipfox/node-opentelemetry": "0.6.4",
37
37
  "@shipfox/node-postgres": "0.5.0"
38
38
  },
package/src/index.test.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import {slackEventCatalog} from '@shipfox/api-integration-slack-dto';
1
2
  import {createSlackIntegrationProvider, slackAgentToolCatalog} from '#index.js';
2
3
 
3
4
  describe('createSlackIntegrationProvider', () => {
@@ -5,6 +6,7 @@ describe('createSlackIntegrationProvider', () => {
5
6
  const provider = createSlackIntegrationProvider();
6
7
 
7
8
  expect(provider.routes).toEqual([]);
9
+ expect(provider.eventCatalog).toBe(slackEventCatalog);
8
10
  });
9
11
 
10
12
  it('rejects incomplete webhook route options', () => {
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import {SLACK_PROVIDER} from '@shipfox/api-integration-slack-dto';
1
+ import {SLACK_PROVIDER, slackEventCatalog} from '@shipfox/api-integration-slack-dto';
2
2
  import type {RouteGroup} from '@shipfox/node-fastify';
3
3
  import {createSlackApiClient, type SlackApiClient} from '#api/client.js';
4
4
  import {config} from '#config.js';
@@ -181,6 +181,7 @@ export function createSlackIntegrationProvider(
181
181
  return {
182
182
  provider: SLACK_PROVIDER,
183
183
  displayName: 'Slack',
184
+ eventCatalog: slackEventCatalog,
184
185
  adapters,
185
186
  async connectionExternalUrl(connection: {id: string}): Promise<string | undefined> {
186
187
  const installation = await getInstallationByConnectionId(connection.id);