UNPKG

@privy-io/js-sdk-core

Version:

Vanilla JS client for the Privy Auth API

2 lines (1 loc) 176 B
"use strict";exports.toSearchParams=function(r){let t=new URLSearchParams;for(let e in r)null!=r[e]&&t.append(e,String(r[e]));return Array.from(t).length?"?"+t.toString():""};