import{a1 as n}from"./app-347ef106.js";/*! 2FAuth version 5.0.3 - Copyright (c) 2023 Bubka - https://github.com/Bubka/2FAuth */const a=n("api"),r=n("web"),o={updatePreference(e,t,s={}){return a.put("/user/preferences/"+e,{value:t},{...s})},getWebauthnDevices(e={}){return r.get("/webauthn/credentials",{...e})},revokeWebauthnDevice(e,t={}){return r.delete("/webauthn/credentials/"+e,{...t})},getPersonalAccessTokens(e={}){return r.get("/oauth/personal-access-tokens",{...e})},deletePersonalAccessToken(e,t={}){return r.delete("/oauth/personal-access-tokens/"+e,{...t})}};export{o as u};
