@shipfox/api-integration-linear 10.2.0 → 11.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": "
|
|
4
|
+
"version": "11.0.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/ShipfoxHQ/shipfox.git",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"drizzle-orm": "^0.45.2",
|
|
23
23
|
"ky": "^2.0.0",
|
|
24
24
|
"zod": "^4.4.3",
|
|
25
|
-
"@shipfox/api-auth-context": "
|
|
25
|
+
"@shipfox/api-auth-context": "11.0.0",
|
|
26
26
|
"@shipfox/api-integration-spi": "0.2.2",
|
|
27
|
+
"@shipfox/api-integration-linear-dto": "9.0.2",
|
|
27
28
|
"@shipfox/config": "1.2.4",
|
|
28
29
|
"@shipfox/node-drizzle": "0.3.4",
|
|
29
|
-
"@shipfox/api-integration-linear-dto": "9.0.2",
|
|
30
30
|
"@shipfox/node-fastify": "0.4.0",
|
|
31
31
|
"@shipfox/node-opentelemetry": "0.6.3",
|
|
32
32
|
"@shipfox/node-postgres": "0.4.4"
|
|
@@ -141,7 +141,7 @@ describe('Linear integration routes', () => {
|
|
|
141
141
|
it('returns an actor=app OAuth URL with signed workspace state', async () => {
|
|
142
142
|
const app = await createTestApp();
|
|
143
143
|
const workspaceId = crypto.randomUUID();
|
|
144
|
-
authenticatedMemberships = [{workspaceId, role: 'admin'}];
|
|
144
|
+
authenticatedMemberships = [{workspaceId, role: 'admin', workspaceStatus: 'active'}];
|
|
145
145
|
|
|
146
146
|
const res = await app.inject({
|
|
147
147
|
method: 'POST',
|
|
@@ -216,7 +216,7 @@ describe('Linear integration routes', () => {
|
|
|
216
216
|
expect(requireWorkspaceMembershipMock).toHaveBeenCalledWith({
|
|
217
217
|
workspaceId,
|
|
218
218
|
userId: 'user-1',
|
|
219
|
-
memberships: [{workspaceId, role: 'admin'}],
|
|
219
|
+
memberships: [{workspaceId, role: 'admin', workspaceStatus: 'active'}],
|
|
220
220
|
});
|
|
221
221
|
});
|
|
222
222
|
|
|
@@ -272,7 +272,7 @@ describe('Linear integration routes', () => {
|
|
|
272
272
|
expect(requireWorkspaceMembershipMock).toHaveBeenCalledWith({
|
|
273
273
|
workspaceId,
|
|
274
274
|
userId: 'user-1',
|
|
275
|
-
memberships: [{workspaceId, role: 'admin'}],
|
|
275
|
+
memberships: [{workspaceId, role: 'admin', workspaceStatus: 'active'}],
|
|
276
276
|
});
|
|
277
277
|
});
|
|
278
278
|
|
|
@@ -442,7 +442,7 @@ describe('Linear integration routes', () => {
|
|
|
442
442
|
});
|
|
443
443
|
|
|
444
444
|
async function createInstallState(app: FastifyInstance, workspaceId: string): Promise<string> {
|
|
445
|
-
authenticatedMemberships = [{workspaceId, role: 'admin'}];
|
|
445
|
+
authenticatedMemberships = [{workspaceId, role: 'admin', workspaceStatus: 'active'}];
|
|
446
446
|
const res = await app.inject({
|
|
447
447
|
method: 'POST',
|
|
448
448
|
url: '/integrations/linear/install',
|