UNPKG

@privy-io/js-sdk-core

Version:

Vanilla JS client for the Privy Auth API

2 lines (1 loc) 329 B
import{RecoveryOAuthInitICloud as t,RecoveryConfigurationICloud as r}from"@privy-io/routes";let e=class{async init(r){return this._privyInternal.fetch(t,{body:{client_type:r}})}async getICloudConfiguration(t){return this._privyInternal.fetch(r,{body:{client_type:t}})}constructor(t){this._privyInternal=t}};export{e as default};