1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

remove default exports

This commit is contained in:
Miquel A. Cabot 2022-06-03 14:01:54 +02:00
parent e2ebf40dce
commit f7a1183c90
8 changed files with 4 additions and 10 deletions

View File

@ -195,5 +195,3 @@ export class Config {
*/
gasFeeMultiplier: number
}
export default Config

View File

@ -122,5 +122,3 @@ export class Aquarius {
return status
}
}
export default Aquarius

View File

@ -780,4 +780,3 @@ export class Provider {
}
export const ProviderInstance = new Provider()
export default ProviderInstance

View File

@ -10,7 +10,7 @@ import {
} from '../@types'
import { Config } from '../config'
import { minAbi } from './minAbi'
import LoggerInstance from './Logger'
import { LoggerInstance } from './Logger'
import { GASLIMIT_DEFAULT, ZERO_ADDRESS } from './Constants'
export function setContractDefaults(contract: Contract, config: Config): Contract {

View File

@ -1,6 +1,6 @@
import sha256 from 'crypto-js/sha256'
import Web3 from 'web3'
import LoggerInstance from './Logger'
import { LoggerInstance } from './Logger'
export function generateDid(erc721Address: string, chainId: number): string {
erc721Address = Web3.utils.toChecksumAddress(erc721Address)

View File

@ -1,5 +1,5 @@
import fetch from 'cross-fetch'
import LoggerInstance from './Logger'
import { LoggerInstance } from './Logger'
import { DownloadResponse } from '../@types/DownloadResponse'
export async function fetchData(url: string, opts: RequestInit): Promise<Response> {

View File

@ -43,4 +43,3 @@ export class Logger {
}
export const LoggerInstance = new Logger()
export default LoggerInstance

View File

@ -7,7 +7,7 @@ import {
unitsToAmount
} from './ContractUtils'
import { minAbi } from './minAbi'
import LoggerInstance from './Logger'
import { LoggerInstance } from './Logger'
import { TransactionReceipt } from 'web3-core'
import Web3 from 'web3'