@ekanos/harness 0.22.0 → 0.23.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.
|
@@ -193,9 +193,9 @@ function ActivationPageBody({
|
|
|
193
193
|
}
|
|
194
194
|
) : (
|
|
195
195
|
/*
|
|
196
|
-
`inline`
|
|
197
|
-
its own Dialog, which inside
|
|
198
|
-
|
|
196
|
+
`inline` keeps a form still built on the deprecated
|
|
197
|
+
`BaseActivationForm` out of its own Dialog, which inside
|
|
198
|
+
this one would mean nested dialogs.
|
|
199
199
|
*/
|
|
200
200
|
/* @__PURE__ */ jsx(
|
|
201
201
|
ActivationForm,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { createContext, use
|
|
3
|
+
import { createContext, use } from "react";
|
|
4
4
|
import {
|
|
5
5
|
HARNESS_ACCOUNT_ID,
|
|
6
6
|
HARNESS_ACCOUNT_SLUG,
|
|
@@ -63,10 +63,10 @@ function TeamAccountWorkspaceContextProvider({
|
|
|
63
63
|
children,
|
|
64
64
|
value = HARNESS_WORKSPACE_PROMISE
|
|
65
65
|
}) {
|
|
66
|
-
return /* @__PURE__ */ jsx(TeamAccountWorkspaceContext
|
|
66
|
+
return /* @__PURE__ */ jsx(TeamAccountWorkspaceContext, { value, children });
|
|
67
67
|
}
|
|
68
68
|
function useTeamAccountWorkspace() {
|
|
69
|
-
const ctx =
|
|
69
|
+
const ctx = use(TeamAccountWorkspaceContext);
|
|
70
70
|
if (!ctx) {
|
|
71
71
|
throw new Error(
|
|
72
72
|
"useTeamAccountWorkspace must be used within a TeamAccountWorkspaceContext.Provider."
|
|
@@ -75,7 +75,7 @@ function useTeamAccountWorkspace() {
|
|
|
75
75
|
return use(ctx);
|
|
76
76
|
}
|
|
77
77
|
function useTeamAccountWorkspaceOptional() {
|
|
78
|
-
const ctx =
|
|
78
|
+
const ctx = use(TeamAccountWorkspaceContext);
|
|
79
79
|
return ctx ? use(ctx) : null;
|
|
80
80
|
}
|
|
81
81
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ekanos/harness",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Ekanos integration dev harness — every surface of an integration rendered in real Ekanos chrome, from fixtures, with no Supabase or auth; and, in live mode, a real localhost OAuth loop over your own dev-app credentials.",
|
|
6
6
|
"homepage": "https://sdk.ekanos.dev/harness/overview",
|
|
@@ -72,35 +72,35 @@
|
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@ekanos/integration-schema": "0.
|
|
75
|
+
"@ekanos/integration-schema": "0.23.0",
|
|
76
76
|
"@fortawesome/fontawesome-free": "^7.3.1",
|
|
77
77
|
"next-themes": "0.4.6",
|
|
78
78
|
"tw-animate-css": "1.4.0",
|
|
79
79
|
"zod": "4.6.7"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@ekanos/sdk": "0.
|
|
83
|
-
"@ekanos/ui": "0.
|
|
82
|
+
"@ekanos/sdk": "0.23.0",
|
|
83
|
+
"@ekanos/ui": "0.23.0",
|
|
84
84
|
"@kit/tsconfig": "0.1.0",
|
|
85
|
-
"@tailwindcss/postcss": "4.3.
|
|
86
|
-
"@tanstack/react-query": "5.
|
|
87
|
-
"@types/node": "
|
|
85
|
+
"@tailwindcss/postcss": "4.3.4",
|
|
86
|
+
"@tanstack/react-query": "5.105.3",
|
|
87
|
+
"@types/node": "26.6.6",
|
|
88
88
|
"@types/react": "19.3.0",
|
|
89
89
|
"@types/react-dom": "19.3.0",
|
|
90
90
|
"jsdom": "23.0.1",
|
|
91
|
-
"next": "16.4.
|
|
91
|
+
"next": "16.4.4",
|
|
92
92
|
"next-intl": "^4.14.9",
|
|
93
93
|
"react": "19.3.1",
|
|
94
94
|
"react-dom": "19.3.1",
|
|
95
|
-
"react-hook-form": "^7.
|
|
96
|
-
"tailwindcss": "4.3.
|
|
97
|
-
"tsup": "
|
|
95
|
+
"react-hook-form": "^7.91.0",
|
|
96
|
+
"tailwindcss": "4.3.4",
|
|
97
|
+
"tsup": "9.0.0",
|
|
98
98
|
"typescript": "^7.0.2",
|
|
99
|
-
"vitest": "
|
|
99
|
+
"vitest": "5.1.0"
|
|
100
100
|
},
|
|
101
101
|
"peerDependencies": {
|
|
102
|
-
"@ekanos/sdk": "^0.
|
|
103
|
-
"@ekanos/ui": "^0.
|
|
102
|
+
"@ekanos/sdk": "^0.23.0",
|
|
103
|
+
"@ekanos/ui": "^0.23.0",
|
|
104
104
|
"@tanstack/react-query": "^5.101.4",
|
|
105
105
|
"next": "^16.0.0",
|
|
106
106
|
"next-intl": "^4.14.7",
|