@ekanos/sdk 0.3.0 → 0.5.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/README.md +171 -75
- package/api-report.md +8 -3
- package/dist/components/base-activation-dialog.d.ts +15 -5
- package/dist/components/base-activation-dialog.js +31 -5
- package/dist/components/base-activation-dialog.js.map +1 -1
- package/dist/components/base-activation-form.d.ts +20 -5
- package/dist/components/base-activation-form.js +12 -5
- package/dist/components/base-activation-form.js.map +1 -1
- package/dist/components/base-marketplace-tile.js +12 -10
- package/dist/components/base-marketplace-tile.js.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/oauth-activation-form.d.ts +23 -16
- package/dist/components/oauth-activation-form.js +34 -20
- package/dist/components/oauth-activation-form.js.map +1 -1
- package/dist/components/widgets/ai-prompt-chip.js +2 -2
- package/dist/components/widgets/ai-prompt-chip.js.map +1 -1
- package/dist/components/widgets/use-relative-time.d.ts +7 -0
- package/dist/components/widgets/use-relative-time.js +55 -0
- package/dist/components/widgets/use-relative-time.js.map +1 -0
- package/dist/components/widgets/widget-ask-bar.js +1 -1
- package/dist/components/widgets/widget-ask-bar.js.map +1 -1
- package/dist/components/widgets/widget-context.d.ts +21 -0
- package/dist/components/widgets/widget-context.js.map +1 -1
- package/dist/components/widgets/widget-preview-provider.d.ts +1 -1
- package/dist/components/widgets/widget-preview-provider.js +1 -1
- package/dist/components/widgets/widget-preview-provider.js.map +1 -1
- package/dist/components/widgets/widget-state-components.d.ts +4 -1
- package/dist/components/widgets/widget-state-components.js +6 -4
- package/dist/components/widgets/widget-state-components.js.map +1 -1
- package/dist/components/widgets/widget.d.ts +47 -2
- package/dist/components/widgets/widget.js +111 -23
- package/dist/components/widgets/widget.js.map +1 -1
- package/dist/context/egress.js.map +1 -1
- package/dist/context/storage-validation.d.ts +24 -4
- package/dist/context/storage-validation.js +5 -2
- package/dist/context/storage-validation.js.map +1 -1
- package/dist/hooks/ask-assistant-context.js.map +1 -1
- package/dist/hooks/fetch-integration-storage.js.map +1 -1
- package/dist/hooks/partner-oauth.js +3 -0
- package/dist/hooks/partner-oauth.js.map +1 -1
- package/dist/hooks/use-integration-action.js.map +1 -1
- package/dist/hooks/use-oauth-connection-status.d.ts +78 -78
- package/dist/hooks/use-oauth-connection-status.js +17 -10
- package/dist/hooks/use-oauth-connection-status.js.map +1 -1
- package/dist/hooks/widget-event-context.js.map +1 -1
- package/dist/integration/event-surfaces.js.map +1 -1
- package/dist/integration/index.d.ts +2 -2
- package/dist/integration/index.js +1 -1
- package/dist/integration/index.js.map +1 -1
- package/dist/testing/invoke.js +9 -5
- package/dist/testing/invoke.js.map +1 -1
- package/dist/testing/mock-context.js +43 -8
- package/dist/testing/mock-context.js.map +1 -1
- package/dist/testing/mock-fetch-provider.js.map +1 -1
- package/dist/types/integration.d.ts +27 -21
- package/dist/types/integration.js.map +1 -1
- package/dist/types/widget-ask-context.d.ts +9 -0
- package/dist/types/widget-ask-context.js.map +1 -1
- package/dist/types/workspace-target.d.ts +3 -2
- package/dist/types/workspace-target.js.map +1 -1
- package/eslint.preset.mjs +9 -8
- package/package.json +37 -41
package/package.json
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ekanos/sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"type": "module",
|
|
3
|
+
"version": "0.5.0",
|
|
5
4
|
"description": "The official SDK for building Ekanos integrations.",
|
|
6
|
-
"license": "MIT",
|
|
7
5
|
"bugs": {
|
|
8
6
|
"email": "npm@govastly.com"
|
|
9
7
|
},
|
|
10
|
-
"
|
|
11
|
-
"**/mcp/**"
|
|
12
|
-
],
|
|
8
|
+
"license": "MIT",
|
|
13
9
|
"files": [
|
|
14
10
|
"dist",
|
|
15
11
|
"!dist/mcp",
|
|
@@ -18,6 +14,26 @@
|
|
|
18
14
|
"LICENSE",
|
|
19
15
|
"eslint.preset.mjs"
|
|
20
16
|
],
|
|
17
|
+
"type": "module",
|
|
18
|
+
"sideEffects": [
|
|
19
|
+
"**/mcp/**"
|
|
20
|
+
],
|
|
21
|
+
"typesVersions": {
|
|
22
|
+
"*": {
|
|
23
|
+
"context": [
|
|
24
|
+
"dist/context/index.d.ts"
|
|
25
|
+
],
|
|
26
|
+
"testing": [
|
|
27
|
+
"dist/testing/index.d.ts"
|
|
28
|
+
],
|
|
29
|
+
"integration": [
|
|
30
|
+
"dist/integration/index.d.ts"
|
|
31
|
+
],
|
|
32
|
+
"*": [
|
|
33
|
+
"dist/*"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
21
37
|
"exports": {
|
|
22
38
|
".": {
|
|
23
39
|
"types": "./dist/index.d.ts",
|
|
@@ -49,57 +65,37 @@
|
|
|
49
65
|
"access": "public"
|
|
50
66
|
},
|
|
51
67
|
"dependencies": {
|
|
52
|
-
"@ekanos/integration-schema": "0.
|
|
53
|
-
"@ekanos/ui": "0.
|
|
68
|
+
"@ekanos/integration-schema": "0.5.0",
|
|
69
|
+
"@ekanos/ui": "0.5.0",
|
|
54
70
|
"@supabase/supabase-js": "2.87.1",
|
|
55
71
|
"server-only": "^0.0.1"
|
|
56
72
|
},
|
|
57
|
-
"peerDependencies": {
|
|
58
|
-
"@hookform/resolvers": "^5.2.2",
|
|
59
|
-
"@tanstack/react-query": "^5.101.4",
|
|
60
|
-
"next": "^16.0.0",
|
|
61
|
-
"react": "^19.2.8",
|
|
62
|
-
"react-hook-form": "^7.68.0",
|
|
63
|
-
"zod": "^3.25.76"
|
|
64
|
-
},
|
|
65
73
|
"devDependencies": {
|
|
66
74
|
"@hookform/resolvers": "^5.9.1",
|
|
67
|
-
"@kit/eslint-config": "0.2.0",
|
|
68
|
-
"@kit/prettier-config": "0.1.0",
|
|
69
75
|
"@kit/tsconfig": "0.1.0",
|
|
70
|
-
"@tanstack/react-query": "5.
|
|
76
|
+
"@tanstack/react-query": "5.103.2",
|
|
71
77
|
"@types/react": "19.2.18",
|
|
72
78
|
"@types/react-dom": "19.2.5",
|
|
73
|
-
"
|
|
79
|
+
"eslint": "^10.11.0",
|
|
80
|
+
"next": "16.3.6",
|
|
74
81
|
"react": "19.2.8",
|
|
75
82
|
"react-dom": "19.2.8",
|
|
76
|
-
"react-hook-form": "^7.
|
|
77
|
-
"typescript": "^
|
|
83
|
+
"react-hook-form": "^7.88.0",
|
|
84
|
+
"typescript": "^7.0.2",
|
|
78
85
|
"vitest": "4.1.10",
|
|
79
|
-
"zod": "
|
|
86
|
+
"zod": "4.6.5"
|
|
80
87
|
},
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"dist/testing/index.d.ts"
|
|
89
|
-
],
|
|
90
|
-
"integration": [
|
|
91
|
-
"dist/integration/index.d.ts"
|
|
92
|
-
],
|
|
93
|
-
"*": [
|
|
94
|
-
"dist/*"
|
|
95
|
-
]
|
|
96
|
-
}
|
|
88
|
+
"peerDependencies": {
|
|
89
|
+
"@hookform/resolvers": "^5.2.2",
|
|
90
|
+
"@tanstack/react-query": "^5.101.4",
|
|
91
|
+
"next": "^16.0.0",
|
|
92
|
+
"react": "^19.2.8",
|
|
93
|
+
"react-hook-form": "^7.68.0",
|
|
94
|
+
"zod": "^3.25.76 || ^4.0.0"
|
|
97
95
|
},
|
|
98
96
|
"scripts": {
|
|
99
97
|
"build": "rm -rf dist && tsc -p tsconfig.build.json && node scripts/rewrite-esm-specifiers.mjs",
|
|
100
98
|
"clean": "git clean -xdf .turbo node_modules dist",
|
|
101
|
-
"format": "prettier --check \"**/*.{ts,tsx}\"",
|
|
102
|
-
"lint": "eslint .",
|
|
103
99
|
"typecheck": "tsc --noEmit",
|
|
104
100
|
"test": "vitest run --config vitest.config.ts",
|
|
105
101
|
"api-report": "node scripts/api-report.mjs",
|