@flapsdk/vault-runtime 0.1.39 → 0.1.40-beta.routing.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.
@@ -12,6 +12,7 @@ import { createPortal } from 'react-dom';
12
12
 
13
13
  var RuntimeContext = createContext(null);
14
14
  var MiniAppContext = createContext(null);
15
+ var MiniAppRoutingContext = createContext(null);
15
16
  function useFlapSdk(options) {
16
17
  const vault = useContext(RuntimeContext);
17
18
  const app = useContext(MiniAppContext);
@@ -1655,7 +1656,7 @@ function ConsumerVideoSessionPlayer({ consumer, startClip = 0, label, fallback =
1655
1656
  }, [reader, startClip]);
1656
1657
  React10.useEffect(() => {
1657
1658
  if (!videoRef.current) return;
1658
- const controller = new VideoSessionController(videoRef.current, async () => (await import('./mpegts-77X2FRB3.js')).default, setMediaState);
1659
+ const controller = new VideoSessionController(videoRef.current, async () => (await import('./mpegts-536UQHCG.js')).default, setMediaState);
1659
1660
  controllerRef.current = controller;
1660
1661
  return () => {
1661
1662
  controller.dispose();
@@ -1915,7 +1916,7 @@ function VideoSessionPlayer(props) {
1915
1916
  return "consumer" in props && props.consumer !== void 0 ? /* @__PURE__ */ jsx(ConsumerVideoSessionPlayer, { ...props }) : /* @__PURE__ */ jsx(VideoClipSessionPlayer, { ...props });
1916
1917
  }
1917
1918
  async function loadMpegts() {
1918
- return (await import('./mpegts-77X2FRB3.js')).default;
1919
+ return (await import('./mpegts-536UQHCG.js')).default;
1919
1920
  }
1920
1921
  function VideoClipSessionPlayer({ clips, label, fallback = null, className, autoPlay = false, muted = false }) {
1921
1922
  const videoRef = React10.useRef(null);
@@ -1953,6 +1954,6 @@ function VideoClipSessionPlayer({ clips, label, fallback = null, className, auto
1953
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-IJV5R2L7.js.map
1958
- //# sourceMappingURL=chunk-IJV5R2L7.js.map
1957
+ export { AddressLink, Alert, BinanceImage, Button, Card, CardContent, CardDescription, CardHeader, CardTitle, CopyButton, Countdown, DataRow, DetailTile, ExternalLink2 as ExternalLink, Input, IpfsBackground, IpfsImage, IpfsText, Metric, MiniAppContext, MiniAppRoutingContext, NftMetadataImage, ReviewedFrame, RuntimeContext, StatusBadge, TxButton, VaultBanner, VideoSessionPlayer, VideoSessionReadError, buttonVariants, createConsumerVideoSessionReader, readVideoSessionLength, readVideoSessionSlice, useFlapI18n, useFlapNotify, useFlapSdk, useVaultContext };
1958
+ //# sourceMappingURL=chunk-ZH7JPICS.js.map
1959
+ //# sourceMappingURL=chunk-ZH7JPICS.js.map