@shipfox/client-secrets 12.0.2 → 13.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/client-secrets",
3
3
  "license": "MIT",
4
- "version": "12.0.2",
4
+ "version": "13.0.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/ShipfoxHQ/shipfox.git",
@@ -27,11 +27,11 @@
27
27
  "dependencies": {
28
28
  "@swc/helpers": "^0.5.17",
29
29
  "@tanstack/react-form": "^1.32.0",
30
- "@shipfox/api-secrets-dto": "9.0.2",
30
+ "@shipfox/api-secrets-dto": "12.0.0",
31
31
  "@shipfox/client-api": "6.0.1",
32
- "@shipfox/client-shell": "12.0.2",
33
- "@shipfox/react-ui": "0.3.7",
34
- "@shipfox/client-ui": "6.0.2"
32
+ "@shipfox/client-shell": "13.0.0",
33
+ "@shipfox/client-ui": "13.0.0",
34
+ "@shipfox/react-ui": "0.4.0"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@tanstack/react-query": "^5.101.0",
@@ -2,7 +2,7 @@ import {toast} from '@shipfox/react-ui/toast';
2
2
 
3
3
  /**
4
4
  * Copies a bare key name (e.g. `MY_TOKEN`) to the clipboard. Guarded because
5
- * `navigator.clipboard` is undefined in insecure contexts and older browsers
5
+ * `navigator.clipboard` is undefined in insecure contexts and older browsers.
6
6
  * a missing API or a rejected write surfaces a toast instead of an unhandled
7
7
  * rejection.
8
8
  */
@@ -84,7 +84,7 @@ export function VariableForm({
84
84
  }, [needsFullValue, fullValueQuery.data, form]);
85
85
 
86
86
  // The full value must be loaded before a save is allowed, otherwise submitting would
87
- // overwrite the stored value with the truncated preview. Block until it arrives
87
+ // overwrite the stored value with the truncated preview. Block until it arrives.
88
88
  // whether the fetch is still pending or has failed.
89
89
  const awaitingFullValue = needsFullValue && fullValueQuery.data === undefined;
90
90
  const loadingFullValue = needsFullValue && fullValueQuery.isPending;
package/src/feature.ts CHANGED
@@ -15,12 +15,12 @@ export const secretsFeature = defineClientFeature({
15
15
  id: 'shipfox.secrets',
16
16
  routes: [
17
17
  {
18
- path: '/workspaces/$wid/settings/secrets',
18
+ path: '/w/$workspaceSlug/settings/secrets',
19
19
  parent: 'workspaceSettings',
20
20
  impl: '@shipfox/client-secrets/routes/secrets-settings',
21
21
  },
22
22
  {
23
- path: '/workspaces/$wid/settings/variables',
23
+ path: '/w/$workspaceSlug/settings/variables',
24
24
  parent: 'workspaceSettings',
25
25
  impl: '@shipfox/client-secrets/routes/variables-settings',
26
26
  },