hyperframes 0.8.118 → 0.8.120
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/dist/{add-3S6KP4AK.js → add-SYG3UXKX.js} +14 -14
- package/dist/{animatedGifPrep-Q43TI2YV.js → animatedGifPrep-RH5AEVNX.js} +5 -5
- package/dist/{asset-EMLJLATM.js → asset-P6K7U3L6.js} +2 -2
- package/dist/{assetCataloger-Y23LGNYN.js → assetCataloger-QX37JS5D.js} +2 -2
- package/dist/{auth-4Z7VZPCZ.js → auth-TCX6TGIH.js} +4 -4
- package/dist/{autoUpdate-PGW6OY5X.js → autoUpdate-YGT7MYDU.js} +2 -2
- package/dist/{backgroundChecks-O6QYKWTF.js → backgroundChecks-CCDNX6P2.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-TEZOU3YE.js → batchRender-BBBUJETN.js} +3 -3
- package/dist/{beats-APZ6AZGK.js → beats-HNU6TRID.js} +13 -13
- package/dist/{benchmark-F5L6KI64.js → benchmark-UEMJYRLY.js} +11 -11
- package/dist/{browser-Y5BMYRTQ.js → browser-CZJK4WQR.js} +8 -8
- package/dist/{bundleWithLocalizedFonts-GSZWNYEA.js → bundleWithLocalizedFonts-ZLXYM43M.js} +2 -2
- package/dist/{capture-ZBBG543M.js → capture-4WXKXCCV.js} +8 -8
- package/dist/{capture-K4HV4DA6.js → capture-6NN3YJBF.js} +2 -2
- package/dist/{catalog-H2NX2XRP.js → catalog-G3C7EIL3.js} +14 -14
- package/dist/{check-CCUKKQ2W.js → check-KTYPDNJD.js} +33 -33
- package/dist/{checkBrowser-VGS4QPIS.js → checkBrowser-MJAN5LSM.js} +31 -31
- package/dist/{chunk-I47W3MA3.js → chunk-2WKWEB4T.js} +1 -1
- package/dist/{chunk-QJ3ODWQ3.js → chunk-4IWDF5OL.js} +4 -4
- package/dist/{chunk-GCARCDLC.js → chunk-4PTKEI2C.js} +1 -1
- package/dist/{chunk-7CXLMMUA.js → chunk-5IABQ7OX.js} +1 -1
- package/dist/{chunk-XJOUFF2F.js → chunk-6A332WKF.js} +11 -11
- package/dist/{chunk-D6YMMYSZ.js → chunk-6ZX3YCCU.js} +21 -21
- package/dist/{chunk-BYYKHP54.js → chunk-7N3IODU7.js} +1 -1
- package/dist/{chunk-WXQLHFXI.js → chunk-A45JNRYR.js} +1 -1
- package/dist/{chunk-YO6TVUAJ.js → chunk-B3MQEZBK.js} +1 -1
- package/dist/{chunk-R6BVKVII.js → chunk-BKQXLO55.js} +1 -1
- package/dist/{chunk-PSGDNMM6.js → chunk-BXCMXMJQ.js} +1 -1
- package/dist/{chunk-XI77IJXJ.js → chunk-CK2YS3E3.js} +5 -5
- package/dist/{chunk-KUTZBSIW.js → chunk-DL347PC3.js} +2 -2
- package/dist/{chunk-SVUKHYTG.js → chunk-EFC3DCJL.js} +1 -1
- package/dist/{chunk-WEATBQTR.js → chunk-EOVYQ3IG.js} +21 -1
- package/dist/{chunk-TOS2MNWW.js → chunk-FNX7RJIJ.js} +2 -2
- package/dist/{chunk-K4SAACM7.js → chunk-GVJMAHXQ.js} +2 -2
- package/dist/{chunk-DNXD7TOA.js → chunk-I465DBM6.js} +27 -12
- package/dist/chunk-IGLEPPTN.js +24 -0
- package/dist/{chunk-FQ4EMFVL.js → chunk-IJ2O4BLJ.js} +3 -3
- package/dist/{chunk-DA5FLVIF.js → chunk-IUBZ3DSO.js} +2 -2
- package/dist/{chunk-MVWXSRY6.js → chunk-JH556Q42.js} +69 -21
- package/dist/{chunk-CNQ565U6.js → chunk-KWABBJYI.js} +2 -2
- package/dist/{chunk-TLDEZQG2.js → chunk-LHU6KXWL.js} +1 -1
- package/dist/{chunk-JR27ESBU.js → chunk-LIPKCOYU.js} +2 -2
- package/dist/{chunk-DI6EGQVC.js → chunk-LJXFGHPO.js} +3 -3
- package/dist/{chunk-HONQFJNH.js → chunk-LP3KFEVQ.js} +92 -43
- package/dist/{chunk-PXHMTKFZ.js → chunk-NP5P2A2K.js} +2 -2
- package/dist/{chunk-N7PX6IO4.js → chunk-OI3IIR2X.js} +1 -1
- package/dist/{chunk-PDAPLJXH.js → chunk-OLFFCC2D.js} +1 -1
- package/dist/{chunk-GCPMAZQ2.js → chunk-OV62R47Q.js} +1 -1
- package/dist/{chunk-5AREBP56.js → chunk-OWMGDQBZ.js} +1 -1
- package/dist/{chunk-MWCROBLZ.js → chunk-PCL5KCT7.js} +8 -8
- package/dist/{chunk-OTCO5QAK.js → chunk-PPTHGZTG.js} +1 -1
- package/dist/{chunk-W4UNEYYH.js → chunk-QWD3NM22.js} +1 -1
- package/dist/chunk-SHB5VDMH.js +51 -0
- package/dist/chunk-SHLFJFPM.js +3541 -0
- package/dist/{chunk-ZRXUZ2NU.js → chunk-SVI32JAG.js} +3 -3
- package/dist/{chunk-UCKAUBNA.js → chunk-TOOQJPUJ.js} +5 -5
- package/dist/{chunk-U7FPFCI7.js → chunk-U3CILSBM.js} +1 -1
- package/dist/{chunk-JPRW4XXE.js → chunk-U7AMFQ6G.js} +1 -1
- package/dist/{chunk-FEUS6YMC.js → chunk-UDYR6TIQ.js} +7 -7
- package/dist/{chunk-KDI2GPBM.js → chunk-UOKW7DPN.js} +1 -1
- package/dist/{chunk-XJTER22X.js → chunk-V2VNJNX6.js} +1 -1
- package/dist/{chunk-PZ3SCTYJ.js → chunk-V5T6IA7D.js} +1 -1
- package/dist/{chunk-MNC2KEC6.js → chunk-WJP3UOB3.js} +1 -1
- package/dist/{chunk-Y523LGYR.js → chunk-WMCV6DHA.js} +2 -2
- package/dist/{chunk-FWZHAEIF.js → chunk-XUNOKLEJ.js} +3 -3
- package/dist/{chunk-RLYTIMTS.js → chunk-Y6W4DVPS.js} +4 -37
- package/dist/{chunk-LR4O57S2.js → chunk-YV5INYEM.js} +11 -11
- package/dist/{chunk-RZAXPDIT.js → chunk-ZTZ7NCJT.js} +1 -1
- package/dist/{clean-WWCCHAD6.js → clean-AGTDSSLO.js} +18 -18
- package/dist/cli.js +52 -70
- package/dist/{cloud-EAJRM253.js → cloud-TIKQ43CO.js} +4 -4
- package/dist/{cloudrun-6Q2EJYVH.js → cloudrun-OQLPEWGP.js} +3 -3
- package/dist/{compare-XQ6ZW7VX.js → compare-2B7W2HXM.js} +29 -29
- package/dist/{compiler-66K2RT7V.js → compiler-GPUSYMA6.js} +2 -2
- package/dist/{component-55HRN5XR.js → component-ZQIN33DC.js} +3 -3
- package/dist/{compositions-GHHXSBHE.js → compositions-D6JAIKFJ.js} +10 -10
- package/dist/{delete-EM7MGX3J.js → delete-UWZ6BBQI.js} +7 -6
- package/dist/{deterministicFonts-O7BTFDJU.js → deterministicFonts-ITMUXWD2.js} +2 -2
- package/dist/{dist-5CN37P7P.js → dist-NP53GO3N.js} +2 -2
- package/dist/{doctor-DQDHQZXD.js → doctor-LHUS7OQG.js} +9 -9
- package/dist/dotEnv-AI4SYVTX.js +39 -0
- package/dist/{events-Y6SCC5LR.js → events-CNSBSROB.js} +7 -7
- package/dist/{events-SQRZ2NYO.js → events-EA2PNDU6.js} +8 -8
- package/dist/{feedback-R5KCVSR5.js → feedback-RAOT4ZX6.js} +41 -17
- package/dist/{figma-6CHD45P2.js → figma-HHALPQPX.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-3T52JGUQ.js → get-2VHYWD5M.js} +7 -6
- package/dist/{gpuPolicy-AXT3ZIXS.js → gpuPolicy-WWBLJO6C.js} +5 -5
- package/dist/{grade-compare-SPWLJSY2.js → grade-compare-ZKYGIKRN.js} +25 -25
- package/dist/{help-ZR5MP5UU.js → help-YXXIXAVR.js} +1 -1
- package/dist/{history-F2MOFF25.js → history-IFZM4MIB.js} +18 -18
- package/dist/hyperframe-runtime.js +53 -53
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +53 -53
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-BH6XM6PU.js → info-6TZU6FRJ.js} +10 -10
- package/dist/{init-TFQQ54JU.js → init-5DPNU4VR.js} +21 -21
- package/dist/{inspect-GL35XBUV.js → inspect-LASYMXFA.js} +26 -26
- package/dist/{installer-CJS2BO3E.js → installer-EUT2OZTH.js} +4 -4
- package/dist/{keyframes-6WRSQWF3.js → keyframes-BS6D4QMB.js} +11 -11
- package/dist/{lambda-GWFX55EE.js → lambda-AHKA33RE.js} +4 -4
- package/dist/{layout-Q7GJFMWL.js → layout-HMJ5I362.js} +26 -26
- package/dist/{lint-AGVDEHRD.js → lint-E2DTFSA5.js} +13 -13
- package/dist/{list-P56UBPBI.js → list-C3CXWSEA.js} +7 -6
- package/dist/{login-DGA2JL24.js → login-W276LNGF.js} +6 -6
- package/dist/{logout-HJQT42RL.js → logout-Q654A3SI.js} +2 -2
- package/dist/{media-treatment-HX2PRGEN.js → media-treatment-XECAXDZD.js} +13 -13
- package/dist/{models-LM3OQBZK.js → models-6YWOFGV2.js} +8 -8
- package/dist/{motionShot-RFT7CMBB.js → motionShot-TNMJ2TNL.js} +10 -10
- package/dist/{normalize-audio-E3RFEHHI.js → normalize-audio-JTK53ZDZ.js} +13 -13
- package/dist/{pipeline-HDOQRVOB.js → pipeline-HYULUMEV.js} +5 -5
- package/dist/{play-2GTIXCRQ.js → play-PAJQYG2D.js} +29 -29
- package/dist/{preflight-UDMLHFS5.js → preflight-KJHZ46FX.js} +6 -6
- package/dist/{present-LF2OM7BN.js → present-TMFT5KD6.js} +18 -18
- package/dist/{preview-FBW5SEQD.js → preview-4HHLUOFB.js} +26 -26
- package/dist/{producer-X4YXKWD5.js → producer-6WPA3U6C.js} +1 -1
- package/dist/{projectConfig-ST22CO2D.js → projectConfig-A4DXJF4P.js} +6 -6
- package/dist/{publication-FZY2NLGL.js → publication-QY2H23JU.js} +2 -2
- package/dist/{publish-CI3UZKGR.js → publish-6RRDDVPK.js} +39 -33
- package/dist/{refresh-IK6LUV5Z.js → refresh-K24ETHMA.js} +2 -2
- package/dist/{remove-background-ZBSZ3HAG.js → remove-background-O2J7EVEN.js} +6 -6
- package/dist/{render-ECICJRKC.js → render-N4HBJR46.js} +27 -27
- package/dist/{render-PT5KRN5E.js → render-QUQJP5PP.js} +3 -3
- package/dist/{render-JKL6KFIS.js → render-WFBNU2KD.js} +21 -20
- package/dist/{render-batch-S4MKBU4I.js → render-batch-OS4UEZA4.js} +3 -3
- package/dist/{renderCancellation-4X2JXB54.js → renderCancellation-RWWLGOOD.js} +5 -5
- package/dist/{resolver-IAWRYTA6.js → resolver-IM46W362.js} +4 -4
- package/dist/{sherpa-CL4LNREK.js → sherpa-GCD3QEO6.js} +10 -10
- package/dist/{skills-F4ZESP7J.js → skills-D4HKC2WV.js} +10 -10
- package/dist/{skillsUpdateCheck-VRWBVQRX.js → skillsUpdateCheck-IPJRWH4Z.js} +3 -3
- package/dist/{snapshot-ORYO5ZGK.js → snapshot-A7BIVQUX.js} +31 -31
- package/dist/{src-HJYZAMBR.js → src-POL5BSEV.js} +8 -8
- package/dist/{src-5DVUT7WJ.js → src-QOQJLFDK.js} +4 -4
- package/dist/{staticProjectServer-PHOMSVUD.js → staticProjectServer-BM2TZYJY.js} +14 -14
- package/dist/{status-AOAHP4RA.js → status-I7R2ATRZ.js} +7 -7
- package/dist/studio/assets/{hyperframes-player-CnpIuNRl.js → hyperframes-player-i4gqkhjz.js} +1 -1
- package/dist/studio/assets/{index-BZ23-h1_.js → index-C7LHDM18.js} +1 -1
- package/dist/studio/assets/{index-B4SbAADe.js → index-Ce3Lr-Gt.js} +174 -174
- package/dist/studio/assets/{index-FeRU6G3G.js → index-uWOhRqxe.js} +1 -1
- package/dist/studio/index.d.ts +5 -1
- package/dist/studio/index.html +1 -1
- package/dist/studio/index.js +72 -87
- package/dist/studio/index.js.map +1 -1
- package/dist/{studio-api-HAY3XELJ.js → studio-api-GWTH7IPD.js} +8 -8
- package/dist/{studioServer-VZYT5MYF.js → studioServer-KB3KCVSZ.js} +40 -40
- package/dist/{system-U22WZ4QS.js → system-QUFWS7NN.js} +5 -5
- package/dist/{telemetry-CLPATL2D.js → telemetry-5WHZVQFM.js} +8 -8
- package/dist/{timeline-5GFZ3VTQ.js → timeline-KM5YF4WX.js} +18 -18
- package/dist/{tokens-MZZ4FLYN.js → tokens-VUPKFWHG.js} +2 -2
- package/dist/{transcribe-C6JZ3YM4.js → transcribe-4IJPHM33.js} +11 -11
- package/dist/{transcribe-FIRUSTL7.js → transcribe-E7RAUZ2W.js} +6 -6
- package/dist/{updateCheck-WOW7SP7I.js → updateCheck-JY2WCSMC.js} +2 -2
- package/dist/{upgrade-I54CASRP.js → upgrade-QWBPPGTJ.js} +2 -2
- package/dist/{urlDownloader-BK3MFIPW.js → urlDownloader-5FUUYAOT.js} +4 -4
- package/dist/{validate-IZNFBUOL.js → validate-5LJ6TDCF.js} +15 -15
- package/dist/{video-3JQY7QPM.js → video-RTC4AXZB.js} +5 -5
- package/package.json +1 -1
- package/dist/chunk-L6TT37IY.js +0 -3541
- package/dist/{chunk-AIYKVE4Y.js → chunk-2GKO3X7F.js} +3 -3
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
iterateFontFamilyDeclarations,
|
|
13
13
|
normalizeSystemFontPrimaryFamilies,
|
|
14
14
|
resolveFontFamilyDeclarationFamilies
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2GKO3X7F.js";
|
|
16
16
|
import {
|
|
17
17
|
EncoderInterruptedError,
|
|
18
18
|
encoderFailureError,
|
|
19
19
|
prepareAnimatedGifInputs
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GVJMAHXQ.js";
|
|
21
21
|
import {
|
|
22
22
|
createStudioPositionSeekReapplyScript
|
|
23
23
|
} from "./chunk-KC5XXX3X.js";
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
validateEngineConfigSnapshot,
|
|
146
146
|
verifyDiskDrawElementSamples,
|
|
147
147
|
writeCapturedFrame
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-IUBZ3DSO.js";
|
|
149
149
|
import {
|
|
150
150
|
HF_VFX_ATTR,
|
|
151
151
|
MEDIA_START_BASIS_ATTR,
|
|
@@ -163,7 +163,7 @@ import {
|
|
|
163
163
|
resolveAbsoluteMediaStartSeconds,
|
|
164
164
|
resolveAuthoredTimingWindow,
|
|
165
165
|
toFps
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-2WKWEB4T.js";
|
|
167
167
|
import {
|
|
168
168
|
CANVAS_DIMENSIONS,
|
|
169
169
|
HTML_BODY_CSS_HEIGHT_FIRST_RE,
|
|
@@ -187,7 +187,7 @@ import {
|
|
|
187
187
|
inlineSubCompositions,
|
|
188
188
|
prepareFlattenedInnerRoot,
|
|
189
189
|
styleElementsFor
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-5IABQ7OX.js";
|
|
191
191
|
import {
|
|
192
192
|
HF_COLOR_GRADING_ATTR,
|
|
193
193
|
MAX_AUDIO_GAIN,
|
|
@@ -208,7 +208,7 @@ import {
|
|
|
208
208
|
resolveNaturalMediaTimelineDurationFromValues,
|
|
209
209
|
shouldClampResolvedMediaDuration,
|
|
210
210
|
sourceTimeAt
|
|
211
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-SHLFJFPM.js";
|
|
212
212
|
import {
|
|
213
213
|
chromeMajorCeiling
|
|
214
214
|
} from "./chunk-TWWSYAKJ.js";
|
|
@@ -14148,7 +14148,7 @@ function startServer(options = {}) {
|
|
|
14148
14148
|
});
|
|
14149
14149
|
async function shutdown(signal) {
|
|
14150
14150
|
log.info(`Received ${signal}, shutting down`);
|
|
14151
|
-
const { drainBrowserPool } = await import("./src-
|
|
14151
|
+
const { drainBrowserPool } = await import("./src-QOQJLFDK.js");
|
|
14152
14152
|
await drainBrowserPool().catch(() => {
|
|
14153
14153
|
});
|
|
14154
14154
|
const handle = await Promise.race([
|
|
@@ -15271,7 +15271,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
|
|
|
15271
15271
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
15272
15272
|
if (probeResult.probeSession) {
|
|
15273
15273
|
try {
|
|
15274
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
15274
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-QOQJLFDK.js");
|
|
15275
15275
|
await closeCaptureSession2(probeResult.probeSession);
|
|
15276
15276
|
} catch (err) {
|
|
15277
15277
|
log.warn("[plan] probe session close failed", {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
apiBaseUrl,
|
|
9
|
+
buildAuthHeaders,
|
|
10
|
+
refreshTokens,
|
|
11
|
+
resolveCredential
|
|
12
|
+
} from "./chunk-I465DBM6.js";
|
|
13
|
+
|
|
14
|
+
// src/cloud/auth.ts
|
|
15
|
+
async function resolveCloudAuthHeaders() {
|
|
16
|
+
let credential = await resolveCredential();
|
|
17
|
+
credential = await refreshIfNeeded(credential);
|
|
18
|
+
return buildAuthHeaders(credential);
|
|
19
|
+
}
|
|
20
|
+
function resolveCloudBaseUrl() {
|
|
21
|
+
return apiBaseUrl();
|
|
22
|
+
}
|
|
23
|
+
async function refreshIfNeeded(credential) {
|
|
24
|
+
if (credential.type !== "oauth") return credential;
|
|
25
|
+
if (!credential.refreshable || !credential.refresh_token) return credential;
|
|
26
|
+
const fresh = await refreshTokens(credential.refresh_token);
|
|
27
|
+
return {
|
|
28
|
+
...credential,
|
|
29
|
+
access_token: fresh.access_token,
|
|
30
|
+
expires_at: parseDateOrUndef(fresh.expires_at),
|
|
31
|
+
refreshable: false,
|
|
32
|
+
...fresh.refresh_token ? { refresh_token: fresh.refresh_token } : {}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function parseDateOrUndef(value) {
|
|
36
|
+
if (!value) return void 0;
|
|
37
|
+
const d = new Date(value);
|
|
38
|
+
return Number.isNaN(d.getTime()) ? void 0 : d;
|
|
39
|
+
}
|
|
40
|
+
async function forceRefreshCredentials() {
|
|
41
|
+
const credential = await resolveCredential();
|
|
42
|
+
if (credential.type !== "oauth" || !credential.refresh_token) return;
|
|
43
|
+
await refreshTokens(credential.refresh_token);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export {
|
|
47
|
+
resolveCloudAuthHeaders,
|
|
48
|
+
resolveCloudBaseUrl,
|
|
49
|
+
refreshIfNeeded,
|
|
50
|
+
forceRefreshCredentials
|
|
51
|
+
};
|