UNPKG
@hellocoop/helper-browser
Version:
canary (2.5.2-alpha.0)
latest (2.5.6)
2.5.6
2.5.5
2.5.3
2.5.2-alpha.0
2.5.1
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.0
2.2.0
2.1.0
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.0
Hellō helper functions for the browser
www.hello.dev/docs/sdks/helper/
hellocoop/packages
@hellocoop/helper-browser
/
dist
/
common
/
fetchToken.d.ts
9 lines
(8 loc)
•
270 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
export
type
FetchConfig
= {
code
:
string
;
code_verifier
:
string
;
client_id
:
string
;
redirect_uri
:
string
;
wallet
?:
string
; };
export
declare
function
fetchToken
(
{ code, code_verifier, client_id, redirect_uri, wallet }:
FetchConfig
):
Promise
<
string
>;