@oceanprotocol/lib 7.0.0-next.0 → 7.0.0-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib.cjs +4 -3
- package/dist/lib.module.mjs +4 -3
- package/dist/lib.umd.js +4 -3
- package/dist/types/@types/Compute.d.ts +21 -0
- package/dist/types/@types/Provider.d.ts +39 -0
- package/dist/types/services/providers/BaseProvider.d.ts +35 -32
- package/dist/types/services/providers/HttpProvider.d.ts +4 -2
- package/dist/types/services/providers/P2pProvider.d.ts +39 -37
- package/package.json +27 -21
- package/.mocharc.json +0 -8
- package/.nvmrc +0 -1
- package/CHANGELOG.md +0 -3228
- package/Cheatsheet.md +0 -326
- package/CodeExamples.md +0 -881
- package/ComputeExamples.md +0 -941
- package/dist/lib.cjs.map +0 -1
- package/dist/lib.modern.js +0 -4
- package/dist/lib.modern.js.map +0 -1
- package/dist/lib.module.mjs.map +0 -1
- package/dist/lib.umd.js.map +0 -1
- package/docs/.nojekyll +0 -1
- package/docs/README.md +0 -195
- package/docs/classes/Aquarius.md +0 -175
- package/docs/classes/Config.md +0 -481
- package/docs/classes/ConfigHelper.md +0 -66
- package/docs/classes/Datatoken.md +0 -1123
- package/docs/classes/Dispenser.md +0 -502
- package/docs/classes/Escrow.md +0 -285
- package/docs/classes/FixedRateExchange.md +0 -1068
- package/docs/classes/Logger.md +0 -191
- package/docs/classes/Nft.md +0 -970
- package/docs/classes/NftFactory.md +0 -861
- package/docs/classes/Provider.md +0 -727
- package/docs/classes/Router.md +0 -645
- package/docs/classes/SmartContract.md +0 -193
- package/docs/classes/SmartContractWithAddress.md +0 -268
- package/docs/enums/LogLevel.md +0 -63
- package/docs/interfaces/AbiInput.md +0 -63
- package/docs/interfaces/AbiItem.md +0 -107
- package/docs/interfaces/AbiOutput.md +0 -52
- package/docs/interfaces/Arweave.md +0 -32
- package/docs/interfaces/Asset.md +0 -227
- package/docs/interfaces/AssetDatatoken.md +0 -60
- package/docs/interfaces/AssetLastEvent.md +0 -63
- package/docs/interfaces/AssetNft.md +0 -105
- package/docs/interfaces/AssetPrice.md +0 -47
- package/docs/interfaces/ComputeAlgorithm.md +0 -82
- package/docs/interfaces/ComputeAsset.md +0 -56
- package/docs/interfaces/ComputeEnvFees.md +0 -30
- package/docs/interfaces/ComputeEnvFeesStructure.md +0 -20
- package/docs/interfaces/ComputeEnvironment.md +0 -177
- package/docs/interfaces/ComputeJob.md +0 -173
- package/docs/interfaces/ComputeOutput.md +0 -118
- package/docs/interfaces/ComputeResourcesPricingInfo.md +0 -30
- package/docs/interfaces/ComputeResourcesRequest.md +0 -34
- package/docs/interfaces/ComputeResult.md +0 -52
- package/docs/interfaces/ConsumeMarketFee.md +0 -41
- package/docs/interfaces/Credential.md +0 -30
- package/docs/interfaces/Credentials.md +0 -30
- package/docs/interfaces/DDO.md +0 -137
- package/docs/interfaces/DatatokenCreateParams.md +0 -107
- package/docs/interfaces/DatatokenRoles.md +0 -30
- package/docs/interfaces/DispenserCreationParams.md +0 -63
- package/docs/interfaces/DispenserParams.md +0 -52
- package/docs/interfaces/DispenserToken.md +0 -85
- package/docs/interfaces/DownloadResponse.md +0 -30
- package/docs/interfaces/Event.md +0 -73
- package/docs/interfaces/FeesInfo.md +0 -74
- package/docs/interfaces/FileInfo.md +0 -118
- package/docs/interfaces/Files.md +0 -41
- package/docs/interfaces/FixedPriceExchange.md +0 -162
- package/docs/interfaces/FreCreationParams.md +0 -118
- package/docs/interfaces/FreOrderParams.md +0 -85
- package/docs/interfaces/GraphqlQuery.md +0 -69
- package/docs/interfaces/Ipfs.md +0 -32
- package/docs/interfaces/Metadata.md +0 -193
- package/docs/interfaces/MetadataAlgorithm.md +0 -69
- package/docs/interfaces/MetadataAndTokenURI.md +0 -107
- package/docs/interfaces/MetadataProof.md +0 -52
- package/docs/interfaces/NftCreateData.md +0 -74
- package/docs/interfaces/NftRoles.md +0 -52
- package/docs/interfaces/Operation.md +0 -145
- package/docs/interfaces/OrderParams.md +0 -52
- package/docs/interfaces/PriceAndFees.md +0 -52
- package/docs/interfaces/ProviderComputeInitialize.md +0 -41
- package/docs/interfaces/ProviderComputeInitializeResults.md +0 -43
- package/docs/interfaces/ProviderFees.md +0 -96
- package/docs/interfaces/ProviderInitialize.md +0 -52
- package/docs/interfaces/PublisherTrustedAlgorithm.md +0 -47
- package/docs/interfaces/PublishingMarketFee.md +0 -41
- package/docs/interfaces/Purgatory.md +0 -34
- package/docs/interfaces/RunningPlatform.md +0 -30
- package/docs/interfaces/SearchQuery.md +0 -67
- package/docs/interfaces/Service.md +0 -138
- package/docs/interfaces/ServiceComputeOptions.md +0 -63
- package/docs/interfaces/ServiceEndpoint.md +0 -41
- package/docs/interfaces/Smartcontract-1.md +0 -58
- package/docs/interfaces/Stats.md +0 -47
- package/docs/interfaces/Template.md +0 -30
- package/docs/interfaces/TokenOrder.md +0 -63
- package/docs/interfaces/UrlFile.md +0 -71
- package/docs/interfaces/UserCustomParameters.md +0 -7
- package/docs/interfaces/ValidateMetadata.md +0 -52
- package/docs/modules.md +0 -850
- package/typedoc.json +0 -4
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / ServiceComputeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: ServiceComputeOptions
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [allowNetworkAccess](ServiceComputeOptions.md#allownetworkaccess)
|
|
10
|
-
- [allowRawAlgorithm](ServiceComputeOptions.md#allowrawalgorithm)
|
|
11
|
-
- [publisherTrustedAlgorithmPublishers](ServiceComputeOptions.md#publishertrustedalgorithmpublishers)
|
|
12
|
-
- [publisherTrustedAlgorithms](ServiceComputeOptions.md#publishertrustedalgorithms)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### allowNetworkAccess
|
|
17
|
-
|
|
18
|
-
• **allowNetworkAccess**: `boolean`
|
|
19
|
-
|
|
20
|
-
If true, the algorithm job will have network access.
|
|
21
|
-
|
|
22
|
-
#### Defined in
|
|
23
|
-
|
|
24
|
-
[@types/DDO/Service.ts:34](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/DDO/Service.ts#L34)
|
|
25
|
-
|
|
26
|
-
___
|
|
27
|
-
|
|
28
|
-
### allowRawAlgorithm
|
|
29
|
-
|
|
30
|
-
• **allowRawAlgorithm**: `boolean`
|
|
31
|
-
|
|
32
|
-
If true, any passed raw text will be allowed to run.
|
|
33
|
-
Useful for an algorithm drag & drop use case, but increases risk of data escape through malicious user input.
|
|
34
|
-
Should be false by default in all implementations.
|
|
35
|
-
|
|
36
|
-
#### Defined in
|
|
37
|
-
|
|
38
|
-
[@types/DDO/Service.ts:28](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/DDO/Service.ts#L28)
|
|
39
|
-
|
|
40
|
-
___
|
|
41
|
-
|
|
42
|
-
### publisherTrustedAlgorithmPublishers
|
|
43
|
-
|
|
44
|
-
• **publisherTrustedAlgorithmPublishers**: `string`[]
|
|
45
|
-
|
|
46
|
-
If empty, then any published algorithm is allowed.
|
|
47
|
-
Otherwise, only published algorithms by some publishers are allowed
|
|
48
|
-
|
|
49
|
-
#### Defined in
|
|
50
|
-
|
|
51
|
-
[@types/DDO/Service.ts:41](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/DDO/Service.ts#L41)
|
|
52
|
-
|
|
53
|
-
___
|
|
54
|
-
|
|
55
|
-
### publisherTrustedAlgorithms
|
|
56
|
-
|
|
57
|
-
• **publisherTrustedAlgorithms**: [`PublisherTrustedAlgorithm`](PublisherTrustedAlgorithm.md)[]
|
|
58
|
-
|
|
59
|
-
If empty, then any published algorithm is allowed. (see below)
|
|
60
|
-
|
|
61
|
-
#### Defined in
|
|
62
|
-
|
|
63
|
-
[@types/DDO/Service.ts:47](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/DDO/Service.ts#L47)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / ServiceEndpoint
|
|
2
|
-
|
|
3
|
-
# Interface: ServiceEndpoint
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [method](ServiceEndpoint.md#method)
|
|
10
|
-
- [serviceName](ServiceEndpoint.md#servicename)
|
|
11
|
-
- [urlPath](ServiceEndpoint.md#urlpath)
|
|
12
|
-
|
|
13
|
-
## Properties
|
|
14
|
-
|
|
15
|
-
### method
|
|
16
|
-
|
|
17
|
-
• **method**: `string`
|
|
18
|
-
|
|
19
|
-
#### Defined in
|
|
20
|
-
|
|
21
|
-
[@types/Provider.ts:32](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Provider.ts#L32)
|
|
22
|
-
|
|
23
|
-
___
|
|
24
|
-
|
|
25
|
-
### serviceName
|
|
26
|
-
|
|
27
|
-
• **serviceName**: `string`
|
|
28
|
-
|
|
29
|
-
#### Defined in
|
|
30
|
-
|
|
31
|
-
[@types/Provider.ts:31](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Provider.ts#L31)
|
|
32
|
-
|
|
33
|
-
___
|
|
34
|
-
|
|
35
|
-
### urlPath
|
|
36
|
-
|
|
37
|
-
• **urlPath**: `string`
|
|
38
|
-
|
|
39
|
-
#### Defined in
|
|
40
|
-
|
|
41
|
-
[@types/Provider.ts:33](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Provider.ts#L33)
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / Smartcontract
|
|
2
|
-
|
|
3
|
-
# Interface: Smartcontract
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [abi](Smartcontract-1.md#abi)
|
|
10
|
-
- [address](Smartcontract-1.md#address)
|
|
11
|
-
- [chainId](Smartcontract-1.md#chainid)
|
|
12
|
-
- [type](Smartcontract-1.md#type)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### abi
|
|
17
|
-
|
|
18
|
-
• **abi**: [`AbiItem`](AbiItem.md)
|
|
19
|
-
|
|
20
|
-
Function ABI (not the entire smartcontract abi)
|
|
21
|
-
|
|
22
|
-
#### Defined in
|
|
23
|
-
|
|
24
|
-
[@types/File.ts:100](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L100)
|
|
25
|
-
|
|
26
|
-
___
|
|
27
|
-
|
|
28
|
-
### address
|
|
29
|
-
|
|
30
|
-
• **address**: `string`
|
|
31
|
-
|
|
32
|
-
Smartcontract address
|
|
33
|
-
|
|
34
|
-
#### Defined in
|
|
35
|
-
|
|
36
|
-
[@types/File.ts:88](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L88)
|
|
37
|
-
|
|
38
|
-
___
|
|
39
|
-
|
|
40
|
-
### chainId
|
|
41
|
-
|
|
42
|
-
• **chainId**: `number`
|
|
43
|
-
|
|
44
|
-
ChainId
|
|
45
|
-
|
|
46
|
-
#### Defined in
|
|
47
|
-
|
|
48
|
-
[@types/File.ts:94](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L94)
|
|
49
|
-
|
|
50
|
-
___
|
|
51
|
-
|
|
52
|
-
### type
|
|
53
|
-
|
|
54
|
-
• **type**: ``"smartcontract"``
|
|
55
|
-
|
|
56
|
-
#### Defined in
|
|
57
|
-
|
|
58
|
-
[@types/File.ts:82](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L82)
|
package/docs/interfaces/Stats.md
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / Stats
|
|
2
|
-
|
|
3
|
-
# Interface: Stats
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [allocated](Stats.md#allocated)
|
|
10
|
-
- [orders](Stats.md#orders)
|
|
11
|
-
- [price](Stats.md#price)
|
|
12
|
-
|
|
13
|
-
## Properties
|
|
14
|
-
|
|
15
|
-
### allocated
|
|
16
|
-
|
|
17
|
-
• `Optional` **allocated**: `number`
|
|
18
|
-
|
|
19
|
-
Total amount of veOCEAN allocated on this asset.
|
|
20
|
-
|
|
21
|
-
#### Defined in
|
|
22
|
-
|
|
23
|
-
[@types/Asset.ts:129](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Asset.ts#L129)
|
|
24
|
-
|
|
25
|
-
___
|
|
26
|
-
|
|
27
|
-
### orders
|
|
28
|
-
|
|
29
|
-
• **orders**: `number`
|
|
30
|
-
|
|
31
|
-
How often an asset was consumed, meaning how often it was either downloaded or used as part of a compute job.
|
|
32
|
-
|
|
33
|
-
#### Defined in
|
|
34
|
-
|
|
35
|
-
[@types/Asset.ts:117](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Asset.ts#L117)
|
|
36
|
-
|
|
37
|
-
___
|
|
38
|
-
|
|
39
|
-
### price
|
|
40
|
-
|
|
41
|
-
• **price**: [`AssetPrice`](AssetPrice.md)
|
|
42
|
-
|
|
43
|
-
Contains information about the price of this asset.
|
|
44
|
-
|
|
45
|
-
#### Defined in
|
|
46
|
-
|
|
47
|
-
[@types/Asset.ts:123](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/Asset.ts#L123)
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / Template
|
|
2
|
-
|
|
3
|
-
# Interface: Template
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [isActive](Template.md#isactive)
|
|
10
|
-
- [templateAddress](Template.md#templateaddress)
|
|
11
|
-
|
|
12
|
-
## Properties
|
|
13
|
-
|
|
14
|
-
### isActive
|
|
15
|
-
|
|
16
|
-
• **isActive**: `boolean`
|
|
17
|
-
|
|
18
|
-
#### Defined in
|
|
19
|
-
|
|
20
|
-
[@types/NFTFactory.ts:5](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/NFTFactory.ts#L5)
|
|
21
|
-
|
|
22
|
-
___
|
|
23
|
-
|
|
24
|
-
### templateAddress
|
|
25
|
-
|
|
26
|
-
• **templateAddress**: `string`
|
|
27
|
-
|
|
28
|
-
#### Defined in
|
|
29
|
-
|
|
30
|
-
[@types/NFTFactory.ts:4](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/NFTFactory.ts#L4)
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / TokenOrder
|
|
2
|
-
|
|
3
|
-
# Interface: TokenOrder
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [\_consumeMarketFee](TokenOrder.md#_consumemarketfee)
|
|
10
|
-
- [\_providerFee](TokenOrder.md#_providerfee)
|
|
11
|
-
- [consumer](TokenOrder.md#consumer)
|
|
12
|
-
- [serviceIndex](TokenOrder.md#serviceindex)
|
|
13
|
-
- [tokenAddress](TokenOrder.md#tokenaddress)
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
### \_consumeMarketFee
|
|
18
|
-
|
|
19
|
-
• **\_consumeMarketFee**: [`ConsumeMarketFee`](ConsumeMarketFee.md)
|
|
20
|
-
|
|
21
|
-
#### Defined in
|
|
22
|
-
|
|
23
|
-
[@types/NFTFactory.ts:13](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/NFTFactory.ts#L13)
|
|
24
|
-
|
|
25
|
-
___
|
|
26
|
-
|
|
27
|
-
### \_providerFee
|
|
28
|
-
|
|
29
|
-
• **\_providerFee**: [`ProviderFees`](ProviderFees.md)
|
|
30
|
-
|
|
31
|
-
#### Defined in
|
|
32
|
-
|
|
33
|
-
[@types/NFTFactory.ts:12](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/NFTFactory.ts#L12)
|
|
34
|
-
|
|
35
|
-
___
|
|
36
|
-
|
|
37
|
-
### consumer
|
|
38
|
-
|
|
39
|
-
• **consumer**: `string`
|
|
40
|
-
|
|
41
|
-
#### Defined in
|
|
42
|
-
|
|
43
|
-
[@types/NFTFactory.ts:10](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/NFTFactory.ts#L10)
|
|
44
|
-
|
|
45
|
-
___
|
|
46
|
-
|
|
47
|
-
### serviceIndex
|
|
48
|
-
|
|
49
|
-
• **serviceIndex**: `number`
|
|
50
|
-
|
|
51
|
-
#### Defined in
|
|
52
|
-
|
|
53
|
-
[@types/NFTFactory.ts:11](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/NFTFactory.ts#L11)
|
|
54
|
-
|
|
55
|
-
___
|
|
56
|
-
|
|
57
|
-
### tokenAddress
|
|
58
|
-
|
|
59
|
-
• **tokenAddress**: `string`
|
|
60
|
-
|
|
61
|
-
#### Defined in
|
|
62
|
-
|
|
63
|
-
[@types/NFTFactory.ts:9](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/NFTFactory.ts#L9)
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / UrlFile
|
|
2
|
-
|
|
3
|
-
# Interface: UrlFile
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [headers](UrlFile.md#headers)
|
|
10
|
-
- [index](UrlFile.md#index)
|
|
11
|
-
- [method](UrlFile.md#method)
|
|
12
|
-
- [type](UrlFile.md#type)
|
|
13
|
-
- [url](UrlFile.md#url)
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
### headers
|
|
18
|
-
|
|
19
|
-
• `Optional` **headers**: `FileTypeHeaders`
|
|
20
|
-
|
|
21
|
-
Headers key value pairs associated with the asset GET request
|
|
22
|
-
|
|
23
|
-
#### Defined in
|
|
24
|
-
|
|
25
|
-
[@types/File.ts:32](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L32)
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|
|
29
|
-
### index
|
|
30
|
-
|
|
31
|
-
• `Optional` **index**: `number`
|
|
32
|
-
|
|
33
|
-
File index.
|
|
34
|
-
|
|
35
|
-
#### Defined in
|
|
36
|
-
|
|
37
|
-
[@types/File.ts:14](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L14)
|
|
38
|
-
|
|
39
|
-
___
|
|
40
|
-
|
|
41
|
-
### method
|
|
42
|
-
|
|
43
|
-
• **method**: `string`
|
|
44
|
-
|
|
45
|
-
HTTP method used
|
|
46
|
-
|
|
47
|
-
#### Defined in
|
|
48
|
-
|
|
49
|
-
[@types/File.ts:26](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L26)
|
|
50
|
-
|
|
51
|
-
___
|
|
52
|
-
|
|
53
|
-
### type
|
|
54
|
-
|
|
55
|
-
• **type**: ``"url"``
|
|
56
|
-
|
|
57
|
-
#### Defined in
|
|
58
|
-
|
|
59
|
-
[@types/File.ts:8](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L8)
|
|
60
|
-
|
|
61
|
-
___
|
|
62
|
-
|
|
63
|
-
### url
|
|
64
|
-
|
|
65
|
-
• **url**: `string`
|
|
66
|
-
|
|
67
|
-
File URL.
|
|
68
|
-
|
|
69
|
-
#### Defined in
|
|
70
|
-
|
|
71
|
-
[@types/File.ts:20](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/File.ts#L20)
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
[@oceanprotocol/lib](../README.md) / [Exports](../modules.md) / ValidateMetadata
|
|
2
|
-
|
|
3
|
-
# Interface: ValidateMetadata
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Properties
|
|
8
|
-
|
|
9
|
-
- [errors](ValidateMetadata.md#errors)
|
|
10
|
-
- [hash](ValidateMetadata.md#hash)
|
|
11
|
-
- [proof](ValidateMetadata.md#proof)
|
|
12
|
-
- [valid](ValidateMetadata.md#valid)
|
|
13
|
-
|
|
14
|
-
## Properties
|
|
15
|
-
|
|
16
|
-
### errors
|
|
17
|
-
|
|
18
|
-
• `Optional` **errors**: `Object`
|
|
19
|
-
|
|
20
|
-
#### Defined in
|
|
21
|
-
|
|
22
|
-
[@types/DDO/Metadata.ts:148](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/DDO/Metadata.ts#L148)
|
|
23
|
-
|
|
24
|
-
___
|
|
25
|
-
|
|
26
|
-
### hash
|
|
27
|
-
|
|
28
|
-
• `Optional` **hash**: `string`
|
|
29
|
-
|
|
30
|
-
#### Defined in
|
|
31
|
-
|
|
32
|
-
[@types/DDO/Metadata.ts:149](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/DDO/Metadata.ts#L149)
|
|
33
|
-
|
|
34
|
-
___
|
|
35
|
-
|
|
36
|
-
### proof
|
|
37
|
-
|
|
38
|
-
• `Optional` **proof**: [`MetadataProof`](MetadataProof.md)
|
|
39
|
-
|
|
40
|
-
#### Defined in
|
|
41
|
-
|
|
42
|
-
[@types/DDO/Metadata.ts:150](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/DDO/Metadata.ts#L150)
|
|
43
|
-
|
|
44
|
-
___
|
|
45
|
-
|
|
46
|
-
### valid
|
|
47
|
-
|
|
48
|
-
• **valid**: `Boolean`
|
|
49
|
-
|
|
50
|
-
#### Defined in
|
|
51
|
-
|
|
52
|
-
[@types/DDO/Metadata.ts:147](https://github.com/oceanprotocol/ocean.js/blob/c99bc5c6/src/@types/DDO/Metadata.ts#L147)
|