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 fetch from 'cross-fetch'
|
||||||
|
import { LoggerInstance, sleep } from '../utils'
|
||||||
|
import { Asset, DDO, ValidateMetadata } from '../@types'
|
||||||
|
|
||||||
export class Aquarius {
|
export class Aquarius {
|
||||||
public aquariusURL
|
public aquariusURL
|
||||||
/**
|
/**
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
import Web3 from 'web3'
|
import Web3 from 'web3'
|
||||||
import { LoggerInstance, getData } from '../utils'
|
import fetch from 'cross-fetch'
|
||||||
|
import { LoggerInstance, getData, noZeroX } from '../utils'
|
||||||
import {
|
import {
|
||||||
FileMetadata,
|
FileMetadata,
|
||||||
ComputeJob,
|
ComputeJob,
|
||||||
@ -9,9 +10,8 @@ import {
|
|||||||
ComputeEnvironment,
|
ComputeEnvironment,
|
||||||
ProviderInitialize,
|
ProviderInitialize,
|
||||||
ProviderComputeInitializeResults
|
ProviderComputeInitializeResults
|
||||||
} from '../@types/'
|
} from '../@types'
|
||||||
import { noZeroX } from '../utils/ConversionTypeHelper'
|
|
||||||
import fetch from 'cross-fetch'
|
|
||||||
export interface HttpCallback {
|
export interface HttpCallback {
|
||||||
(httpMethod: string, url: string, body: string, header: any): Promise<any>
|
(httpMethod: string, url: string, body: string, header: any): Promise<any>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user