mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
update validUntil type
This commit is contained in:
parent
cc7de98b63
commit
ccbbeae429
@ -232,7 +232,7 @@ export class Provider {
|
||||
getMethod: any,
|
||||
userCustomParameters?: UserCustomParameters,
|
||||
computeEnv?: string,
|
||||
validUntil?: string
|
||||
validUntil?: number
|
||||
): Promise<ProviderInitialize> {
|
||||
const providerEndpoints = await this.getEndpoints(providerUri)
|
||||
const serviceEndpoints = await this.getServiceEndpoints(
|
||||
|
@ -293,7 +293,7 @@ describe('Simple compute tests', async () => {
|
||||
crossFetchGeneric,
|
||||
null,
|
||||
'env1',
|
||||
providerValidUntil.toString()
|
||||
providerValidUntil.getTime()
|
||||
)
|
||||
console.log('initializeData', initializeData)
|
||||
const providerDatasetFees: ProviderFees = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user