mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
Merge pull request #169 from oceanprotocol/fix/fetch
revert fetch require
This commit is contained in:
commit
f3ecb170fa
@ -1,8 +1,10 @@
|
||||
import fetch, { BodyInit, RequestInit, Response } from 'node-fetch'
|
||||
import { BodyInit, RequestInit, Response } from 'node-fetch'
|
||||
import fs from 'fs'
|
||||
import { Logger } from '../../utils'
|
||||
import save from 'save-file'
|
||||
|
||||
const fetch = require('node-fetch')
|
||||
|
||||
/**
|
||||
* Provides a common interface to web services.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user