Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Consider cross-fetch #680

@gaboesquivel

Description

@gaboesquivel

latest 'node-fetch' throws type errors consider https://www.npmjs.com/package/cross-fetch

import fetch from 'cross-fetch'
import { JsonRpc } from 'eosjs'

// Instantiate a new JsonRpc object, with the Network Api Uri, and a request object
const rpc = new JsonRpc('https://api.kylin.alohaeos.com', { fetch })

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions