mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
revert fetch require
reverting change from https://github.com/oceanprotocol/ocean-lib-js/pull/165
This commit is contained in:
parent
c2244e50f3
commit
e123db049f
@ -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