@popmelt.com/core 0.18.2 → 0.19.1
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/codex-plugin/.codex-plugin/plugin.json +1 -1
- package/dist/adapter-react-three-fiber.d.mts +1 -1
- package/dist/adapter-three.d.mts +17 -0
- package/dist/bridge-entry.mjs +57 -57
- package/dist/chunk-N2ZEZCHO.mjs +2 -0
- package/dist/{chunk-UC34UP4S.mjs → chunk-WD47DA42.mjs} +1 -1
- package/dist/cli.mjs +74 -74
- package/dist/index.d.mts +5 -3
- package/dist/index.mjs +41 -40
- package/dist/media.d.mts +3 -3
- package/dist/media.mjs +1 -1
- package/dist/plugin-astro.mjs +1 -1
- package/dist/plugin-vite.mjs +1 -1
- package/dist/{server-PV5AVWEM.mjs → server-TEOE3AK4.mjs} +66 -66
- package/dist/server.mjs +66 -66
- package/dist/{subjects-CeqtFged.d.mts → subjects-C6Bu8uSX.d.mts} +18 -1
- package/dist/{video-adapter-Gq8saCDn.d.mts → video-adapter-UZ8OqP0O.d.mts} +39 -2
- package/package.json +1 -1
- package/dist/chunk-RH6W4F2W.mjs +0 -2
package/dist/media.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { B as BrowserImageSubjectStoreOptions,
|
|
3
|
-
import { g as PopmeltSubjectBounds } from './subjects-
|
|
1
|
+
import { d as ImageObjectBox, e as VideoSubjectStore, f as VideoObjectBox } from './video-adapter-UZ8OqP0O.mjs';
|
|
2
|
+
export { B as BrowserImageSubjectStoreOptions, g as ImageContentHasher, h as ImageObjectObservation, I as ImageRecognitionProvider, i as ImageSubjectAdapter, b as ImageSubjectAdapterOptions, j as ImageSubjectStore, P as PersistedImageAnalysis, k as PersistedImageSubject, l as PersistedImageSuppression, m as PersistedVideoAnalysis, n as PersistedVideoTrack, o as VideoBackwardAnalysisOptions, p as VideoBackwardAnalysisResult, q as VideoMotionAttempt, r as VideoMotionPolicy, s as VideoMotionPresenceDecision, t as VideoMotionState, u as VideoSegmentationObservation, v as VideoSegmentationPoint, a as VideoSegmentationProvider, w as VideoSubjectAdapter, c as VideoSubjectAdapterOptions, x as VideoTrackKeyframe, y as VideoTrackObservation, z as VideoTrackSegment, A as VideoTrackSmoother, C as VideoTrackingAnchor, D as VideoTrackingAttempt, V as VideoTrackingProvider, E as VideoTrackingSeed, F as VideoTrackingSession, G as createBrowserImageSubjectStore, H as createImageSubjectAdapter, J as createMemoryImageSubjectStore, K as createVideoSubjectAdapter } from './video-adapter-UZ8OqP0O.mjs';
|
|
3
|
+
import { g as PopmeltSubjectBounds } from './subjects-C6Bu8uSX.mjs';
|
|
4
4
|
|
|
5
5
|
declare function unprojectImagePoint(image: HTMLImageElement, clientPoint: {
|
|
6
6
|
x: number;
|
package/dist/media.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{a as e,b as o,c as t,d as r,e as i,f as a,g as
|
|
2
|
+
import{a as e,b as o,c as t,d as r,e as i,f as a,g as d,h as c,i as n,j as s,k as p,l as m,m as S,n as V}from"./chunk-N2ZEZCHO.mjs";export{a as ImageSubjectAdapter,p as VideoSubjectAdapter,r as createBrowserImageSubjectStore,S as createBrowserVideoSubjectStore,d as createImageSubjectAdapter,i as createMemoryImageSubjectStore,V as createMemoryVideoSubjectStore,m as createVideoSubjectAdapter,t as projectImageObjectBox,n as projectVideoObjectBox,o as unprojectImageObjectBounds,e as unprojectImagePoint,s as unprojectVideoObjectBounds,c as unprojectVideoPoint};
|
package/dist/plugin-astro.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p,b as d,c as l,d as g}from"./chunk-
|
|
1
|
+
import{a as p,b as d,c as l,d as g}from"./chunk-WD47DA42.mjs";import"./chunk-NOHXTT24.mjs";import{Buffer as c}from"buffer";function u(e){return typeof e=="string"?e:e instanceof Uint8Array?c.from(e).toString("utf8"):String(e??"")}function m(e,t,r){let o=e.url||"";if(r.port===null||!(e.headers.accept?.includes("text/html")||o==="/"||o.endsWith(".html")))return;let a=t.write.bind(t),s=t.end.bind(t),n="";t.write=(i=>(n+=u(i),!0)),t.end=(i=>(i!==void 0&&(n+=u(i)),n=n.replace("<head>",`<head><script type="text/javascript">${g(r)}</script>`),t.getHeader("content-length")&&t.setHeader("content-length",c.byteLength(n)),a(n,"utf8"),s()))}function y(e){let t=e?.basePath??"/popmelt",r={port:null,projectId:null};return{name:"popmelt",hooks:{async"astro:server:setup"({server:o}){r=await p(e,o,4321),await d(r,o);let a=l(t,()=>r);o.middlewares.use((s,n,i)=>{if((s.url||"").startsWith(t))return a(s,n,i);m(s,n,r),i()})}}}}export{y as popmelt};
|
package/dist/plugin-vite.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,b as i,c as o,d as a}from"./chunk-
|
|
1
|
+
import{a as n,b as i,c as o,d as a}from"./chunk-WD47DA42.mjs";import"./chunk-NOHXTT24.mjs";function s(r){let d=r?.basePath??"/popmelt",e={port:null,projectId:null};return{name:"popmelt",async configureServer(t){e=await n(r,t,5173),await i(e,t),t.middlewares.use(o(d,()=>e))},transformIndexHtml(){if(e.port!==null)return[{tag:"script",attrs:{type:"text/javascript"},children:a(e),injectTo:"head-prepend"}]}}}export{s as popmelt};
|