UNPKG
@metaplex-foundation/umi-http-fetch
Version:
latest (1.2.0)
rc (0.8.2-rc.1)
1.2.0
1.1.1
1.1.0
1.0.0
0.9.2
0.9.1
0.9.0
0.8.10
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.2
0.8.2-rc.1
0.8.2-rc.0
0.8.1
0.8.0
0.8.0-rc.1
0.8.0-rc.0
0.7.14
0.7.13
0.7.11
0.7.10
0.7.9
0.7.7
0.7.6
0.7.5
0.7.4
0.7.2
0.7.0
0.6.0
0.5.3
0.5.2
0.5.1
0.4.1
0.4.0
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
An HTTP implementation relying on the fetch API
metaplex.com
@metaplex-foundation/umi-http-fetch
/
src
/
plugin.ts
9 lines
(7 loc)
•
213 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import
{
UmiPlugin
}
from
'@metaplex-foundation/umi'
;
import
{ createFetchHttp }
from
'./createFetchHttp'
;
export
const
fetchHttp = ():
UmiPlugin
=>
({
install
(
umi
) { umi.
http
=
createFetchHttp
(); }, });