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

add aquarius to export list (#1280)

* export aquarius as well

* send timestamp in seconds, not ms
This commit is contained in:
Alex Coseru 2022-02-12 19:03:11 +02:00 committed by GitHub
parent 84a022f80c
commit 9782af59a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,4 @@
export * from './aquarius'
export * from './pools'
export * from './tokens'
export * from './factories'

View File

@ -245,7 +245,7 @@ describe('Simple compute tests', async () => {
// let's have 60 seconds of compute access
const mytime = new Date()
mytime.setMinutes(mytime.getMinutes() + 1)
const computeValidUntil = mytime.getTime()
const computeValidUntil = Math.floor(mytime.getTime() / 1000)
// initialize provider orders for algo
const initializeDataAlgo = await ProviderInstance.initialize(
resolvedDDOAlgo.id,
@ -258,6 +258,7 @@ describe('Simple compute tests', async () => {
computeEnv,
computeValidUntil
)
console.log(initializeDataAlgo)
const providerAlgoFees: ProviderFees = {
providerFeeAddress: initializeDataAlgo.providerFee.providerFeeAddress,
providerFeeToken: initializeDataAlgo.providerFee.providerFeeToken,