mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
refactor services/ imports
This commit is contained in:
parent
3ed6010824
commit
db3a2547a8
@ -1,6 +1,7 @@
|
||||
import { LoggerInstance, sleep } from '../utils'
|
||||
import { Asset, DDO, ValidateMetadata } from '../@types/'
|
||||
import fetch from 'cross-fetch'
|
||||
import { LoggerInstance, sleep } from '../utils'
|
||||
import { Asset, DDO, ValidateMetadata } from '../@types'
|
||||
|
||||
export class Aquarius {
|
||||
public aquariusURL
|
||||
/**
|
||||
|
@ -1,5 +1,6 @@
|
||||
import Web3 from 'web3'
|
||||
import { LoggerInstance, getData } from '../utils'
|
||||
import fetch from 'cross-fetch'
|
||||
import { LoggerInstance, getData, noZeroX } from '../utils'
|
||||
import {
|
||||
FileMetadata,
|
||||
ComputeJob,
|
||||
@ -9,9 +10,8 @@ import {
|
||||
ComputeEnvironment,
|
||||
ProviderInitialize,
|
||||
ProviderComputeInitializeResults
|
||||
} from '../@types/'
|
||||
import { noZeroX } from '../utils/ConversionTypeHelper'
|
||||
import fetch from 'cross-fetch'
|
||||
} from '../@types'
|
||||
|
||||
export interface HttpCallback {
|
||||
(httpMethod: string, url: string, body: string, header: any): Promise<any>
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user