UNPKG

@infinixjoyd/metaplex-auth-service

Version:

A client library for nft.storage designed for metaplex NFT uploads

24 lines (23 loc) 708 B
const file = File; const blob = Blob; const _fetch = fetch; const textEncoder = TextEncoder; export { file as File, blob as Blob, _fetch as fetch, textEncoder as TextEncoder, }; const dummyFS = { promises: { readFile() { throw new Error('not implemented in browser'); }, stat() { throw new Error('not implemented in browser'); }, readdir() { throw new Error('not implemented in browser'); }, }, }; export { dummyFS as fs }; import _path from 'path-browserify'; export { _path as path }; import { MemoryBlockStore } from 'ipfs-car/blockstore/memory'; export { MemoryBlockStore as Blockstore };