1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

test against latest Node.js

This commit is contained in:
Matthias Kretschmann 2019-08-16 14:43:34 +02:00
parent b1ff2e7a27
commit b15022a4c1
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ dist: xenial
sudo: required sudo: required
language: node_js language: node_js
node_js: node_js:
- '11' - '12'
services: services:
- docker - docker

View File

@ -3,7 +3,7 @@ const HDWalletProvider = require('@truffle/hdwallet-provider')
const configJson: Config = { const configJson: Config = {
nodeUri: 'http://localhost:8545', nodeUri: 'http://localhost:8545',
aquariusUri: 'http://aquarius:5000', aquariusUri: 'http://172.15.0.15:5000',
brizoUri: 'http://localhost:8030', brizoUri: 'http://localhost:8030',
secretStoreUri: 'http://localhost:12001', secretStoreUri: 'http://localhost:12001',
brizoAddress: '0x068ed00cf0441e4829d9784fcbe7b9e26d4bd8d0', brizoAddress: '0x068ed00cf0441e4829d9784fcbe7b9e26d4bd8d0',

View File

@ -18,7 +18,7 @@ export class ServiceAgreement extends Instantiable {
agreementConditionsIds: string[], agreementConditionsIds: string[],
consumer: Account consumer: Account
): Promise<string> { ): Promise<string> {
const service = ddo.findServiceById<'Access'>(serviceDefinitionId) const service = ddo.findServiceById<'access'>(serviceDefinitionId)
const timelockValues: number[] = this.getTimeValuesFromService( const timelockValues: number[] = this.getTimeValuesFromService(
service, service,
'timelock' 'timelock'