@popmelt.com/core 0.17.0 → 0.18.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/codex-plugin/.codex-plugin/plugin.json +1 -1
- package/dist/adapter-three.mjs +1 -1
- package/dist/bridge-entry.mjs +51 -51
- package/dist/{chunk-D5CD4PIZ.mjs → chunk-GQOEG3E5.mjs} +1 -1
- package/dist/cli.mjs +70 -70
- package/dist/index.d.mts +3 -2
- package/dist/index.mjs +40 -40
- package/dist/media.d.mts +2 -2
- package/dist/plugin-astro.mjs +1 -1
- package/dist/plugin-vite.mjs +1 -1
- package/dist/{server-XGSUCWFZ.mjs → server-MUVH7FWR.mjs} +52 -52
- package/dist/server.mjs +52 -52
- package/dist/{video-adapter-cDwq4uNP.d.mts → video-adapter-DzNtG67g.d.mts} +82 -0
- package/package.json +1 -1
package/dist/media.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { q as ImageObjectBox, j as PopmeltSubjectBounds, r as VideoSubjectStore, s as VideoObjectBox } from './video-adapter-
|
|
2
|
-
export { t as BrowserImageSubjectStoreOptions, u as ImageContentHasher, v as ImageObjectObservation, I as ImageRecognitionProvider, w as ImageSubjectAdapter, a as ImageSubjectAdapterOptions, x as ImageSubjectStore, y as PersistedImageAnalysis, z as PersistedImageSubject, F as PersistedImageSuppression, G as PersistedVideoAnalysis, H as PersistedVideoTrack, J as VideoBackwardAnalysisOptions, K as VideoBackwardAnalysisResult, L as VideoMotionAttempt, M as VideoMotionPolicy, N as VideoMotionPresenceDecision, Q as VideoMotionState, U as VideoSubjectAdapter, b as VideoSubjectAdapterOptions, W as VideoTrackKeyframe, X as VideoTrackObservation, Y as VideoTrackSegment, Z as VideoTrackSmoother, _ as VideoTrackingAnchor, $ as VideoTrackingAttempt, V as VideoTrackingProvider, a0 as VideoTrackingSeed, a1 as VideoTrackingSession, a2 as createBrowserImageSubjectStore, a3 as createImageSubjectAdapter, a4 as createMemoryImageSubjectStore, a5 as createVideoSubjectAdapter } from './video-adapter-
|
|
1
|
+
import { q as ImageObjectBox, j as PopmeltSubjectBounds, r as VideoSubjectStore, s as VideoObjectBox } from './video-adapter-DzNtG67g.mjs';
|
|
2
|
+
export { t as BrowserImageSubjectStoreOptions, u as ImageContentHasher, v as ImageObjectObservation, I as ImageRecognitionProvider, w as ImageSubjectAdapter, a as ImageSubjectAdapterOptions, x as ImageSubjectStore, y as PersistedImageAnalysis, z as PersistedImageSubject, F as PersistedImageSuppression, G as PersistedVideoAnalysis, H as PersistedVideoTrack, J as VideoBackwardAnalysisOptions, K as VideoBackwardAnalysisResult, L as VideoMotionAttempt, M as VideoMotionPolicy, N as VideoMotionPresenceDecision, Q as VideoMotionState, U as VideoSubjectAdapter, b as VideoSubjectAdapterOptions, W as VideoTrackKeyframe, X as VideoTrackObservation, Y as VideoTrackSegment, Z as VideoTrackSmoother, _ as VideoTrackingAnchor, $ as VideoTrackingAttempt, V as VideoTrackingProvider, a0 as VideoTrackingSeed, a1 as VideoTrackingSession, a2 as createBrowserImageSubjectStore, a3 as createImageSubjectAdapter, a4 as createMemoryImageSubjectStore, a5 as createVideoSubjectAdapter } from './video-adapter-DzNtG67g.mjs';
|
|
3
3
|
|
|
4
4
|
declare function unprojectImagePoint(image: HTMLImageElement, clientPoint: {
|
|
5
5
|
x: number;
|
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-GQOEG3E5.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-GQOEG3E5.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};
|