@shipfox/api-integration-jira 12.4.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/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +21 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/index.test.ts +2 -0
- package/src/index.ts +2 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipfox/api-integration-jira",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "14.0.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/ShipfoxHQ/shipfox.git",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"ky": "^2.0.0",
|
|
29
29
|
"zod": "^4.4.3",
|
|
30
30
|
"@shipfox/api-auth-context": "12.2.0",
|
|
31
|
-
"@shipfox/api-integration-spi": "
|
|
32
|
-
"@shipfox/api-integration-jira-dto": "
|
|
31
|
+
"@shipfox/api-integration-spi": "2.0.0",
|
|
32
|
+
"@shipfox/api-integration-jira-dto": "14.0.0",
|
|
33
33
|
"@shipfox/config": "1.2.4",
|
|
34
34
|
"@shipfox/node-drizzle": "0.3.5",
|
|
35
35
|
"@shipfox/node-fastify": "0.4.2",
|
package/src/index.test.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import {jiraEventCatalog} from '@shipfox/api-integration-jira-dto';
|
|
1
2
|
import {createOutboxRegistry} from '@shipfox/node-module';
|
|
2
3
|
import {createJiraIntegrationProvider} from '#index.js';
|
|
3
4
|
import {createJiraMaintenanceWorker} from '#temporal/worker.js';
|
|
@@ -12,6 +13,7 @@ describe('createJiraIntegrationProvider', () => {
|
|
|
12
13
|
adapters: {},
|
|
13
14
|
routes: [],
|
|
14
15
|
});
|
|
16
|
+
expect(provider.eventCatalog).toBe(jiraEventCatalog);
|
|
15
17
|
});
|
|
16
18
|
|
|
17
19
|
it('mounts the in-process agent-tools adapter and advertises its capability', () => {
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {JIRA_PROVIDER} from '@shipfox/api-integration-jira-dto';
|
|
1
|
+
import {JIRA_PROVIDER, jiraEventCatalog} from '@shipfox/api-integration-jira-dto';
|
|
2
2
|
import {
|
|
3
3
|
createJiraAgentToolsClient,
|
|
4
4
|
createJiraApiClient,
|
|
@@ -232,6 +232,7 @@ export function createJiraIntegrationProvider(options: CreateJiraIntegrationProv
|
|
|
232
232
|
return {
|
|
233
233
|
provider: JIRA_PROVIDER,
|
|
234
234
|
displayName: 'Jira',
|
|
235
|
+
eventCatalog: jiraEventCatalog,
|
|
235
236
|
adapters,
|
|
236
237
|
async connectionExternalUrl(connection: {id: string}): Promise<string | undefined> {
|
|
237
238
|
return (await getInstallationByConnectionId(connection.id))?.siteUrl;
|