@theaiplatform/miniapp-sdk 0.3.1 → 0.3.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@theaiplatform/miniapp-sdk",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "TypeScript SDK for building, testing, and shipping portable miniapps on The AI Platform.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -51,6 +51,10 @@
51
51
  "types": "./dist/surface.d.ts",
52
52
  "import": "./dist/surface.js"
53
53
  },
54
+ "./vscode-webview": {
55
+ "types": "./dist/vscode-webview.d.ts",
56
+ "import": "./dist/vscode-webview.js"
57
+ },
54
58
  "./config": {
55
59
  "types": "./dist/config.d.ts",
56
60
  "import": "./dist/config.js"
@@ -79,8 +83,8 @@
79
83
  "scripts": {
80
84
  "prepack": "pnpm run build",
81
85
  "build": "rm -rf dist && rslib build && node scripts/copy-rspack-loaders.mjs && node scripts/build-ui-styles.mjs",
82
- "test": "rstest run",
83
- "typecheck": "tsc --noEmit"
86
+ "test:unit": "rstest run",
87
+ "typecheck": "tsc6 --noEmit"
84
88
  },
85
89
  "publishConfig": {
86
90
  "registry": "https://registry.npmjs.org",
@@ -120,6 +124,10 @@
120
124
  "types": "./dist/surface.d.ts",
121
125
  "import": "./dist/surface.js"
122
126
  },
127
+ "./vscode-webview": {
128
+ "types": "./dist/vscode-webview.d.ts",
129
+ "import": "./dist/vscode-webview.js"
130
+ },
123
131
  "./config": {
124
132
  "types": "./dist/config.d.ts",
125
133
  "import": "./dist/config.js"
@@ -144,9 +152,9 @@
144
152
  "@rstest/playwright": "0.11.3",
145
153
  "@tanstack/react-query": ">=5 <6",
146
154
  "@tanstack/react-router": ">=1 <2",
155
+ "playwright": ">=1.61 <2",
147
156
  "react": ">=19 <20",
148
- "react-dom": ">=19 <20",
149
- "playwright": ">=1.61 <2"
157
+ "react-dom": ">=19 <20"
150
158
  },
151
159
  "peerDependenciesMeta": {
152
160
  "@module-federation/rsbuild-plugin": {
@@ -197,8 +205,8 @@
197
205
  "@types/react": "catalog:react",
198
206
  "@types/react-dom": "catalog:react",
199
207
  "jsdom": "^29.1.1",
200
- "postcss": "^8.5.6",
201
208
  "playwright": "^1.61.0",
209
+ "postcss": "^8.5.6",
202
210
  "tailwindcss": "^4.3.0",
203
211
  "tw-animate-css": "^1.4.0",
204
212
  "typescript": "catalog:typescript"
@@ -207,7 +215,6 @@
207
215
  "@radix-ui/react-alert-dialog": "^1.1.20",
208
216
  "@radix-ui/react-avatar": "1.2.3",
209
217
  "@radix-ui/react-checkbox": "^1.3.8",
210
- "@radix-ui/react-compose-refs": "^1.1.3",
211
218
  "@radix-ui/react-dialog": "^1.1.20",
212
219
  "@radix-ui/react-label": "^2.1.12",
213
220
  "@radix-ui/react-progress": "^1.1.13",
@@ -216,7 +223,6 @@
216
223
  "@radix-ui/react-select": "^2.3.4",
217
224
  "@radix-ui/react-separator": "^1.1.12",
218
225
  "@radix-ui/react-slider": "^1.4.4",
219
- "@radix-ui/react-slot": "^1.3.0",
220
226
  "@radix-ui/react-tabs": "^1.1.18",
221
227
  "@radix-ui/react-toggle": "^1.1.15",
222
228
  "@radix-ui/react-toggle-group": "^1.1.16",
@@ -225,10 +231,8 @@
225
231
  "class-variance-authority": "^0.7.1",
226
232
  "clsx": "^2.1.1",
227
233
  "lucide-react": "^1.14.0",
228
- "prism-react-renderer": "^2.4.1",
229
234
  "react-resizable-panels": "^4.11.1",
230
235
  "saxes": "^6.0.0",
231
- "tailwind-merge": "^3.6.0",
232
236
  "zod": "^4.4.3"
233
237
  }
234
238
  }