"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),o=require("./provider.js"),u=({token:r,schema:t})=>{const e=o.useStreamLayer();return i.useEffect(()=>{r&&t&&e&&e.authorizationBypass(t,r),e&&(e.withAuth=!0)},[r,t,e]),null};exports.StreamLayerLogin=u;
