@flapsdk/vault-runtime 0.1.38 → 0.1.39
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/README.md +13 -1
- package/{chunk-NWBIKFHH.js → chunk-IJV5R2L7.js} +4 -4
- package/{chunk-NWBIKFHH.js.map → chunk-IJV5R2L7.js.map} +1 -1
- package/{chunk-DY34U27M.js → chunk-LDIQD6DJ.js} +4 -4
- package/{chunk-DY34U27M.js.map → chunk-LDIQD6DJ.js.map} +1 -1
- package/{chunk-QS475ZC7.js → chunk-RXPBJYTN.js} +27 -14
- package/chunk-RXPBJYTN.js.map +1 -0
- package/host-client.js +3 -3
- package/host.js +1 -1
- package/{mpegts-J2J6JTD7.js → mpegts-77X2FRB3.js} +6 -6
- package/{mpegts-J2J6JTD7.js.map → mpegts-77X2FRB3.js.map} +1 -1
- package/package.json +2 -2
- package/runtime-contract.json +1 -1
- package/sdk.js +5 -5
- package/ui.js +1 -1
- package/chunk-QS475ZC7.js.map +0 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Generated from `flap-vault-ui-template`.
|
|
|
6
6
|
|
|
7
7
|
This package is the shared runtime surface that local preview, Artifact Workbench, and `flap.sh` should agree on.
|
|
8
8
|
|
|
9
|
-
Package version: `0.1.
|
|
9
|
+
Package version: `0.1.39`. Source commit: `78c355f080a60770cfd64d71d94c525204d61583`.
|
|
10
10
|
|
|
11
11
|
## Exports
|
|
12
12
|
|
|
@@ -17,6 +17,18 @@ Package version: `0.1.38`. Source commit: `1220ee9813f73eafd434decb365a08ae6a681
|
|
|
17
17
|
|
|
18
18
|
See `runtime-contract.json` for the machine-readable subpath contract.
|
|
19
19
|
|
|
20
|
+
## FSI queries
|
|
21
|
+
|
|
22
|
+
Declare `https://fsi.taxed.fun/fsi/v1` in `manifest.endpoints` to use
|
|
23
|
+
`sdk.readFsi(relativePath, params)` with the current FSI host. The legacy
|
|
24
|
+
`https://bsc-debug.butterfly.army/fsi/v1` prefix remains supported. Only
|
|
25
|
+
declaring the legacy prefix preserves legacy routing; declaring both selects
|
|
26
|
+
the current host regardless of array order. Failed requests never fall back
|
|
27
|
+
to the other host. Both require an exact reviewed root declaration and retain
|
|
28
|
+
the HTTPS origin, path, GET, credential and redirect restrictions.
|
|
29
|
+
Hosts and Workbench must deploy matching runtime and checker policies before
|
|
30
|
+
accepting source packages that declare the new endpoint.
|
|
31
|
+
|
|
20
32
|
## Shared Vault UI and Mini App v2
|
|
21
33
|
|
|
22
34
|
This shared runtime supports standalone App wallet operations through
|
|
@@ -1655,7 +1655,7 @@ function ConsumerVideoSessionPlayer({ consumer, startClip = 0, label, fallback =
|
|
|
1655
1655
|
}, [reader, startClip]);
|
|
1656
1656
|
React10.useEffect(() => {
|
|
1657
1657
|
if (!videoRef.current) return;
|
|
1658
|
-
const controller = new VideoSessionController(videoRef.current, async () => (await import('./mpegts-
|
|
1658
|
+
const controller = new VideoSessionController(videoRef.current, async () => (await import('./mpegts-77X2FRB3.js')).default, setMediaState);
|
|
1659
1659
|
controllerRef.current = controller;
|
|
1660
1660
|
return () => {
|
|
1661
1661
|
controller.dispose();
|
|
@@ -1915,7 +1915,7 @@ function VideoSessionPlayer(props) {
|
|
|
1915
1915
|
return "consumer" in props && props.consumer !== void 0 ? /* @__PURE__ */ jsx(ConsumerVideoSessionPlayer, { ...props }) : /* @__PURE__ */ jsx(VideoClipSessionPlayer, { ...props });
|
|
1916
1916
|
}
|
|
1917
1917
|
async function loadMpegts() {
|
|
1918
|
-
return (await import('./mpegts-
|
|
1918
|
+
return (await import('./mpegts-77X2FRB3.js')).default;
|
|
1919
1919
|
}
|
|
1920
1920
|
function VideoClipSessionPlayer({ clips, label, fallback = null, className, autoPlay = false, muted = false }) {
|
|
1921
1921
|
const videoRef = React10.useRef(null);
|
|
@@ -1954,5 +1954,5 @@ function VideoClipSessionPlayer({ clips, label, fallback = null, className, auto
|
|
|
1954
1954
|
}
|
|
1955
1955
|
|
|
1956
1956
|
export { AddressLink, Alert, BinanceImage, Button, Card, CardContent, CardDescription, CardHeader, CardTitle, CopyButton, Countdown, DataRow, DetailTile, ExternalLink2 as ExternalLink, Input, IpfsBackground, IpfsImage, IpfsText, Metric, MiniAppContext, NftMetadataImage, ReviewedFrame, RuntimeContext, StatusBadge, TxButton, VaultBanner, VideoSessionPlayer, VideoSessionReadError, buttonVariants, createConsumerVideoSessionReader, readVideoSessionLength, readVideoSessionSlice, useFlapI18n, useFlapNotify, useFlapSdk, useVaultContext };
|
|
1957
|
-
//# sourceMappingURL=chunk-
|
|
1958
|
-
//# sourceMappingURL=chunk-
|
|
1957
|
+
//# sourceMappingURL=chunk-IJV5R2L7.js.map
|
|
1958
|
+
//# sourceMappingURL=chunk-IJV5R2L7.js.map
|