@shipfox/api-secrets 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-secrets",
3
3
  "license": "MIT",
4
- "version": "10.1.0",
4
+ "version": "11.0.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ShipfoxHQ/shipfox.git",
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "drizzle-orm": "^0.45.2",
26
26
  "zod": "^4.4.3",
27
- "@shipfox/api-auth-context": "10.1.0",
27
+ "@shipfox/api-auth-context": "11.0.0",
28
28
  "@shipfox/api-projects-dto": "10.1.0",
29
29
  "@shipfox/api-secrets-dto": "9.0.2",
30
30
  "@shipfox/config": "1.2.4",
@@ -61,7 +61,7 @@ describe('secrets management routes', () => {
61
61
  await closeApp();
62
62
  workspaceId = crypto.randomUUID();
63
63
  projectId = crypto.randomUUID();
64
- authenticatedMemberships = [{workspaceId, role: 'admin'}];
64
+ authenticatedMemberships = [{workspaceId, role: 'admin', workspaceStatus: 'active'}];
65
65
  requireProjectForWorkspace.mockResolvedValue({
66
66
  project: {
67
67
  id: projectId,
@@ -108,7 +108,13 @@ describe('secrets management routes', () => {
108
108
  });
109
109
 
110
110
  it('requires admin membership for writes', async () => {
111
- authenticatedMemberships = [{workspaceId, role: 'viewer' as UserContextMembership['role']}];
111
+ authenticatedMemberships = [
112
+ {
113
+ workspaceId,
114
+ role: 'viewer' as UserContextMembership['role'],
115
+ workspaceStatus: 'active',
116
+ },
117
+ ];
112
118
 
113
119
  const res = await app.inject({
114
120
  method: 'PUT',