Use createAsset function from SDK. #117
Annotations
4 errors and 2 warnings
Run build:
src/commands.ts#L5
Module '"./helpers"' declares 'createAsset' locally, but it is not exported.
|
Run build:
src/publishAsset.ts#L8
Module '"./helpers"' declares 'createAsset' locally, but it is not exported.
|
Run build:
src/publishAsset.ts#L47
Type '{ '@context': string[]; id: string; version: string; chainId: number; nftAddress: string; metadata: { created: string; updated: string; type: "dataset"; name: string; description: string; author: string; license: string; tags: string[]; }; stats: { ...; }; services: { ...; }[]; nft: { ...; }; }' is not assignable to type 'DDO'.
|
Run build
Process completed with exit code 2.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading