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

add DDO type

This commit is contained in:
Miquel A. Cabot 2022-05-06 11:14:39 +02:00
parent a75ca34e9e
commit 11508b7794

View File

@ -13,7 +13,7 @@ import {
downloadFile,
ZERO_ADDRESS
} from '../../src'
import { ProviderFees, Erc20CreateParams } from '../../src/@types'
import { ProviderFees, Erc20CreateParams, DDO } from '../../src/@types'
describe('Simple Publish & consume test', async () => {
let config: Config
@ -31,7 +31,7 @@ describe('Simple Publish & consume test', async () => {
}
]
const ddo = {
const ddo: DDO = {
'@context': ['https://w3id.org/did/v1'],
id: '',
version: '4.0.0',