@shipfox/client-integrations 6.0.1 → 6.0.3

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/client-integrations",
3
3
  "license": "MIT",
4
- "version": "6.0.1",
4
+ "version": "6.0.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ShipfoxHQ/shipfox.git",
@@ -27,19 +27,19 @@
27
27
  "dependencies": {
28
28
  "@swc/helpers": "^0.5.17",
29
29
  "@tanstack/react-form": "^1.32.0",
30
- "@shipfox/api-integration-core-dto": "9.0.1",
31
- "@shipfox/api-integration-gitea-dto": "9.0.1",
32
- "@shipfox/api-integration-github-dto": "9.0.1",
33
- "@shipfox/api-integration-linear-dto": "9.0.1",
34
- "@shipfox/api-integration-slack-dto": "9.0.1",
35
- "@shipfox/api-integration-sentry-dto": "9.0.1",
36
- "@shipfox/api-integration-webhook-dto": "9.0.1",
30
+ "@shipfox/api-integration-core-dto": "9.0.2",
31
+ "@shipfox/api-integration-gitea-dto": "9.0.2",
32
+ "@shipfox/api-integration-github-dto": "9.0.2",
33
+ "@shipfox/api-integration-linear-dto": "9.0.2",
34
+ "@shipfox/api-integration-slack-dto": "9.0.2",
35
+ "@shipfox/api-integration-sentry-dto": "9.0.2",
36
+ "@shipfox/api-integration-webhook-dto": "9.0.2",
37
37
  "@shipfox/client-api": "6.0.1",
38
- "@shipfox/client-auth": "6.0.1",
39
- "@shipfox/client-shell": "6.0.1",
40
- "@shipfox/client-ui": "6.0.1",
41
- "@shipfox/integration-icons": "0.2.1",
42
- "@shipfox/react-ui": "0.3.6"
38
+ "@shipfox/client-auth": "6.0.3",
39
+ "@shipfox/client-shell": "6.0.2",
40
+ "@shipfox/client-ui": "6.0.2",
41
+ "@shipfox/integration-icons": "0.2.2",
42
+ "@shipfox/react-ui": "0.3.7"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@tanstack/react-query": "^5.101.0",
@@ -13,7 +13,10 @@ type WorkspaceStorage = BrowserStorage | undefined;
13
13
  const linearInstallWorkspaceStorageKey = {
14
14
  key: LINEAR_INSTALL_WORKSPACE_KEY,
15
15
  lifetime: 'session',
16
- principalScope: 'workspace',
16
+ // This is a one-shot navigation hint, not private workspace state. It must
17
+ // remain readable on an OAuth callback before workspace hydration completes;
18
+ // the callback state and returned connection are the authoritative checks.
19
+ principalScope: 'global',
17
20
  serialize: (workspaceId: string) => workspaceId,
18
21
  parse: (value: string) => value || undefined,
19
22
  } satisfies BrowserStorageKey<string>;
@@ -12,7 +12,9 @@ type WorkspaceStorage = BrowserStorage | undefined;
12
12
  const sentryInstallWorkspaceStorageKey = {
13
13
  key: SENTRY_INSTALL_WORKSPACE_KEY,
14
14
  lifetime: 'session',
15
- principalScope: 'workspace',
15
+ // This is a one-shot navigation hint, not private workspace state. The
16
+ // callback validates it against the authenticated workspace list before use.
17
+ principalScope: 'global',
16
18
  serialize: (workspaceId: string) => workspaceId,
17
19
  parse: (value: string) => value || undefined,
18
20
  } satisfies BrowserStorageKey<string>;
@@ -12,7 +12,10 @@ type WorkspaceStorage = BrowserStorage | undefined;
12
12
  const slackInstallWorkspaceStorageKey = {
13
13
  key: SLACK_INSTALL_WORKSPACE_KEY,
14
14
  lifetime: 'session',
15
- principalScope: 'workspace',
15
+ // This is a one-shot navigation hint, not private workspace state. It must
16
+ // remain readable on an OAuth callback before workspace hydration completes;
17
+ // the callback state and returned connection are the authoritative checks.
18
+ principalScope: 'global',
16
19
  serialize: (workspaceId: string) => workspaceId,
17
20
  parse: (value: string) => value || undefined,
18
21
  } satisfies BrowserStorageKey<string>;