@oceanprotocol/lib 2.2.3 → 2.3.0
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/CHANGELOG.md +8 -0
- package/dist/lib.js +1 -1
- package/dist/lib.js.map +1 -1
- package/dist/lib.modern.js +1 -1
- package/dist/lib.modern.js.map +1 -1
- package/dist/lib.module.js +1 -1
- package/dist/lib.module.js.map +1 -1
- package/dist/lib.umd.js +1 -1
- package/dist/lib.umd.js.map +1 -1
- package/dist/src/@types/Asset.d.ts +2 -1
- package/dist/src/services/Provider.d.ts +2 -2
- package/package.json +1 -1
|
@@ -27,9 +27,10 @@ export interface AssetNft {
|
|
|
27
27
|
* 2 Deprecated (by another asset).
|
|
28
28
|
* 3 Revoked by publisher.
|
|
29
29
|
* 4 Ordering is temporary disabled.
|
|
30
|
+
* 5 Unlisted in markets.
|
|
30
31
|
* @type {number}
|
|
31
32
|
*/
|
|
32
|
-
state: 0 | 1 | 2 | 3 | 4;
|
|
33
|
+
state: 0 | 1 | 2 | 3 | 4 | 5;
|
|
33
34
|
/**
|
|
34
35
|
* Contains the date of NFT creation.
|
|
35
36
|
* @type {string}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Web3 from 'web3';
|
|
2
|
-
import { FileInfo, ComputeJob, ComputeOutput, ComputeAlgorithm, ComputeAsset, ComputeEnvironment, ProviderInitialize, ProviderComputeInitializeResults, ServiceEndpoint, UserCustomParameters } from '../@types';
|
|
2
|
+
import { Arweave, FileInfo, ComputeJob, ComputeOutput, ComputeAlgorithm, ComputeAsset, ComputeEnvironment, ProviderInitialize, ProviderComputeInitializeResults, ServiceEndpoint, UrlFile, UserCustomParameters } from '../@types';
|
|
3
3
|
export declare class Provider {
|
|
4
4
|
/**
|
|
5
5
|
* Returns the provider endpoints
|
|
@@ -44,7 +44,7 @@ export declare class Provider {
|
|
|
44
44
|
* @param {AbortSignal} signal abort signal
|
|
45
45
|
* @return {Promise<FileInfo[]>} urlDetails
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
getFileInfo(file: UrlFile | Arweave, providerUri: string, signal?: AbortSignal): Promise<FileInfo[]>;
|
|
48
48
|
/** Get Compute Environments
|
|
49
49
|
* @return {Promise<ComputeEnvironment[]>} urlDetails
|
|
50
50
|
*/
|