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,
|
getMethod: any,
|
||||||
userCustomParameters?: UserCustomParameters,
|
userCustomParameters?: UserCustomParameters,
|
||||||
computeEnv?: string,
|
computeEnv?: string,
|
||||||
validUntil?: string
|
validUntil?: number
|
||||||
): Promise<ProviderInitialize> {
|
): Promise<ProviderInitialize> {
|
||||||
const providerEndpoints = await this.getEndpoints(providerUri)
|
const providerEndpoints = await this.getEndpoints(providerUri)
|
||||||
const serviceEndpoints = await this.getServiceEndpoints(
|
const serviceEndpoints = await this.getServiceEndpoints(
|
||||||
|
@ -293,7 +293,7 @@ describe('Simple compute tests', async () => {
|
|||||||
crossFetchGeneric,
|
crossFetchGeneric,
|
||||||
null,
|
null,
|
||||||
'env1',
|
'env1',
|
||||||
providerValidUntil.toString()
|
providerValidUntil.getTime()
|
||||||
)
|
)
|
||||||
console.log('initializeData', initializeData)
|
console.log('initializeData', initializeData)
|
||||||
const providerDatasetFees: ProviderFees = {
|
const providerDatasetFees: ProviderFees = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user