Use createAsset function from SDK. #116
Annotations
13 errors and 9 warnings
build:
src/commands.ts#L5
Module '"./helpers"' declares 'createAsset' locally, but it is not exported.
|
build:
src/publishAsset.ts#L8
Module '"./helpers"' declares 'createAsset' locally, but it is not exported.
|
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'.
|
build
Process completed with exit code 2.
|
lint:
src/helpers.ts#L1
'SHA256' is defined but never used
|
lint:
src/helpers.ts#L5
'createHash' is defined but never used
|
lint:
src/helpers.ts#L27
'Datatoken4' is defined but never used
|
lint
Process completed with exit code 1.
|
test_system:
src/commands.ts#L5
Module '"./helpers"' declares 'createAsset' locally, but it is not exported.
|
test_system:
src/publishAsset.ts#L8
Module '"./helpers"' declares 'createAsset' locally, but it is not exported.
|
test_system:
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'.
|
test_system
Process completed with exit code 2.
|
test_system
Process completed with exit code 1.
|
test_system
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
build
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/
|
build
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/
|
lint
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/
|
lint
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/
|
lint:
src/helpers.ts#L70
Unexpected any. Specify a different type
|
lint:
src/helpers.ts#L71
Unexpected any. Specify a different type
|
test_system
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test_system
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|