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:15:17 +02:00
parent a8354af548
commit 287082e1f7

View File

@ -12,7 +12,7 @@ import {
Nft,
downloadFile
} from '../../src'
import { ProviderFees, Erc20CreateParams } from '../../src/@types'
import { ProviderFees, Erc20CreateParams, DDO } from '../../src/@types'
const assetUrl = [
{
@ -21,7 +21,7 @@ const assetUrl = [
method: 'GET'
}
]
const ddo = {
const ddo: DDO = {
'@context': ['https://w3id.org/did/v1'],
id: 'did:op:efba17455c127a885ec7830d687a8f6e64f5ba559f8506f8723c1f10f05c049c',
version: '4.0.0',