@privy-io/js-sdk-core
Version:
Vanilla JS client for the Privy Auth API
2 lines (1 loc) • 455 B
JavaScript
Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@privy-io/public-api");exports.default=class{getConfig(){return this._privyInternal.config}async getSmartWalletConfig(){return this._smartWalletConfig||(this._smartWalletConfig=await this._privyInternal.fetch(t.GetSmartWalletConfig,{params:{app_id:this.appId}})),this._smartWalletConfig}get appId(){return this._privyInternal.appId}constructor(t){this._privyInternal=t}};
;