@shipfox/api-integration-sentry 10.1.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-sentry",
|
|
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,7 +22,7 @@
|
|
|
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
27
|
"@shipfox/api-integration-sentry-dto": "9.0.2",
|
|
28
28
|
"@shipfox/config": "1.2.4",
|
|
@@ -109,7 +109,7 @@ async function createTestApp(options: CreateTestAppOptions = {}): Promise<Fastif
|
|
|
109
109
|
function connectPayload(options: {authorize?: boolean} = {}) {
|
|
110
110
|
const workspaceId = crypto.randomUUID();
|
|
111
111
|
if (options.authorize !== false) {
|
|
112
|
-
authenticatedMemberships = [{workspaceId, role: 'admin'}];
|
|
112
|
+
authenticatedMemberships = [{workspaceId, role: 'admin', workspaceStatus: 'active'}];
|
|
113
113
|
}
|
|
114
114
|
return {
|
|
115
115
|
workspace_id: workspaceId,
|
|
@@ -143,7 +143,7 @@ describe('Sentry integration routes', () => {
|
|
|
143
143
|
it('returns the external-install URL for a member', async () => {
|
|
144
144
|
const app = await createTestApp();
|
|
145
145
|
const workspaceId = crypto.randomUUID();
|
|
146
|
-
authenticatedMemberships = [{workspaceId, role: 'admin'}];
|
|
146
|
+
authenticatedMemberships = [{workspaceId, role: 'admin', workspaceStatus: 'active'}];
|
|
147
147
|
|
|
148
148
|
const res = await app.inject({
|
|
149
149
|
method: 'POST',
|