@popmelt.com/core 0.20.3 → 0.21.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.
@@ -373,4 +373,4 @@ declare class VideoSubjectAdapter implements PopmeltSubjectAdapter {
373
373
  }
374
374
  declare function createVideoSubjectAdapter(options?: VideoSubjectAdapterOptions): VideoSubjectAdapter;
375
375
 
376
- export { type VideoTrackSmoother as A, type BrowserImageSubjectStoreOptions as B, type VideoTrackingAnchor as C, type VideoTrackingAttempt as D, type VideoTrackingSeed as E, type VideoTrackingSession as F, createBrowserImageSubjectStore as G, createImageSubjectAdapter as H, type ImageRecognitionProvider as I, createMemoryImageSubjectStore as J, createVideoSubjectAdapter as K, type PersistedImageAnalysis as P, type VideoTrackingProvider as V, type VideoSegmentationProvider as a, type ImageSubjectAdapterOptions as b, type VideoSubjectAdapterOptions as c, type ImageObjectBox as d, type VideoSubjectStore as e, type VideoObjectBox as f, type ImageContentHasher as g, type ImageObjectObservation as h, ImageSubjectAdapter as i, type ImageSubjectStore as j, type PersistedImageSubject as k, type PersistedImageSuppression as l, type PersistedVideoAnalysis as m, type PersistedVideoTrack as n, type VideoBackwardAnalysisOptions as o, type VideoBackwardAnalysisResult as p, type VideoMotionAttempt as q, type VideoMotionPolicy as r, type VideoMotionPresenceDecision as s, type VideoMotionState as t, type VideoSegmentationObservation as u, type VideoSegmentationPoint as v, VideoSubjectAdapter as w, type VideoTrackKeyframe as x, type VideoTrackObservation as y, type VideoTrackSegment as z };
376
+ export { type VideoTrackSmoother as A, type BrowserImageSubjectStoreOptions as B, type VideoTrackingAnchor as C, type VideoTrackingAttempt as D, type VideoTrackingSeed as E, type VideoTrackingSession as F, createBrowserImageSubjectStore as G, createImageSubjectAdapter as H, type ImageSubjectAdapterOptions as I, createMemoryImageSubjectStore as J, createVideoSubjectAdapter as K, type PersistedImageAnalysis as P, type VideoSubjectAdapterOptions as V, type ImageRecognitionProvider as a, type VideoTrackingProvider as b, type VideoSegmentationProvider as c, type ImageObjectBox as d, type VideoSubjectStore as e, type VideoObjectBox as f, type ImageContentHasher as g, type ImageObjectObservation as h, ImageSubjectAdapter as i, type ImageSubjectStore as j, type PersistedImageSubject as k, type PersistedImageSuppression as l, type PersistedVideoAnalysis as m, type PersistedVideoTrack as n, type VideoBackwardAnalysisOptions as o, type VideoBackwardAnalysisResult as p, type VideoMotionAttempt as q, type VideoMotionPolicy as r, type VideoMotionPresenceDecision as s, type VideoMotionState as t, type VideoSegmentationObservation as u, type VideoSegmentationPoint as v, VideoSubjectAdapter as w, type VideoTrackKeyframe as x, type VideoTrackObservation as y, type VideoTrackSegment as z };
@@ -0,0 +1,5 @@
1
+ declare module 'virtual:popmelt/bridge' {
2
+ /** Null outside development or when automatic bridge startup is disabled. */
3
+ export const bridgeUrl: string | null;
4
+ export const projectId: string | null;
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popmelt.com/core",
3
- "version": "0.20.3",
3
+ "version": "0.21.0",
4
4
  "description": "A tiny, powerful design layer for humans and AI",
5
5
  "license": "PolyForm-Shield-1.0.0",
6
6
  "author": "Popmelt <reb@popmelt.com> (https://popmelt.com)",
@@ -36,6 +36,10 @@
36
36
  "types": "./dist/index.d.mts",
37
37
  "import": "./dist/index.mjs"
38
38
  },
39
+ "./browser": {
40
+ "types": "./dist/browser.d.mts",
41
+ "import": "./dist/browser.mjs"
42
+ },
39
43
  "./server": {
40
44
  "types": "./dist/server.d.mts",
41
45
  "import": "./dist/server.mjs"
@@ -62,11 +66,19 @@
62
66
  "import": "./dist/plugin-vite.mjs",
63
67
  "default": "./dist/plugin-vite.mjs"
64
68
  },
69
+ "./vite/client": {
70
+ "types": "./dist/vite-client.d.ts"
71
+ },
65
72
  "./astro": {
66
73
  "types": "./dist/plugin-astro.d.mts",
67
74
  "import": "./dist/plugin-astro.mjs",
68
75
  "default": "./dist/plugin-astro.mjs"
69
76
  },
77
+ "./nuxt": {
78
+ "types": "./dist/plugin-nuxt.d.mts",
79
+ "import": "./dist/plugin-nuxt.mjs",
80
+ "default": "./dist/plugin-nuxt.mjs"
81
+ },
70
82
  "./media": {
71
83
  "types": "./dist/media.d.mts",
72
84
  "import": "./dist/media.mjs"
@@ -92,6 +104,7 @@
92
104
  "ws": "8.21.3"
93
105
  },
94
106
  "peerDependencies": {
107
+ "nuxt": ">=4.5.2 <5",
95
108
  "lucide-react": ">=1.23.0",
96
109
  "next": ">=14.0.0",
97
110
  "react": ">=18.0.0",
@@ -100,6 +113,9 @@
100
113
  "three": ">=0.150.0"
101
114
  },
102
115
  "peerDependenciesMeta": {
116
+ "nuxt": {
117
+ "optional": true
118
+ },
103
119
  "next": {
104
120
  "optional": true
105
121
  },
@@ -111,6 +127,7 @@
111
127
  }
112
128
  },
113
129
  "devDependencies": {
130
+ "nuxt": "4.5.2",
114
131
  "@react-three/fiber": "9.7.0",
115
132
  "@tanstack/react-router": "1.120.5",
116
133
  "@types/react": "19.1.0",
@@ -118,6 +135,7 @@
118
135
  "@types/three": "^0.185.4",
119
136
  "@types/ws": "8.18.1",
120
137
  "@vitejs/plugin-react": "^5.1.1",
138
+ "@vitejs/plugin-vue": "6.0.8",
121
139
  "@vitest/coverage-v8": "3.2.4",
122
140
  "eslint": "^9.24.0",
123
141
  "geist": "1.7.2",
@@ -132,6 +150,8 @@
132
150
  "typescript": "^5.8.3",
133
151
  "vite": "7.3.6",
134
152
  "vitest": "3.2.4",
153
+ "vue": "3.5.42",
154
+ "vue-router": "5.3.1",
135
155
  "@kit/eslint-config": "^0.2.0"
136
156
  },
137
157
  "scripts": {
@@ -141,6 +161,10 @@
141
161
  "lint": "eslint . && node scripts/check-eslint-suppressions.mjs",
142
162
  "pack:smoke": "node scripts/pack-smoke.mjs",
143
163
  "peer:smoke": "node scripts/peer-compat-smoke.mjs",
164
+ "vue:smoke": "pnpm run build && node scripts/vue-install-smoke.mjs",
165
+ "nuxt:smoke": "pnpm run build && node scripts/nuxt-install-smoke.mjs",
166
+ "astro:smoke": "pnpm run build && node scripts/framework-install-smoke.mjs astro",
167
+ "svelte:smoke": "pnpm run build && node scripts/framework-install-smoke.mjs svelte && node scripts/framework-install-smoke.mjs sveltekit",
144
168
  "test": "vitest run",
145
169
  "test:coverage": "vitest run --coverage.enabled",
146
170
  "test:browser": "pnpm run build && tsc --noEmit -p tsconfig.browser.json && vitest run --config vitest.browser.config.ts",