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:
parent
a8354af548
commit
287082e1f7
@ -12,7 +12,7 @@ import {
|
|||||||
Nft,
|
Nft,
|
||||||
downloadFile
|
downloadFile
|
||||||
} from '../../src'
|
} from '../../src'
|
||||||
import { ProviderFees, Erc20CreateParams } from '../../src/@types'
|
import { ProviderFees, Erc20CreateParams, DDO } from '../../src/@types'
|
||||||
|
|
||||||
const assetUrl = [
|
const assetUrl = [
|
||||||
{
|
{
|
||||||
@ -21,7 +21,7 @@ const assetUrl = [
|
|||||||
method: 'GET'
|
method: 'GET'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
const ddo = {
|
const ddo: DDO = {
|
||||||
'@context': ['https://w3id.org/did/v1'],
|
'@context': ['https://w3id.org/did/v1'],
|
||||||
id: 'did:op:efba17455c127a885ec7830d687a8f6e64f5ba559f8506f8723c1f10f05c049c',
|
id: 'did:op:efba17455c127a885ec7830d687a8f6e64f5ba559f8506f8723c1f10f05c049c',
|
||||||
version: '4.0.0',
|
version: '4.0.0',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user