Skip to content

bad api #2

Description

@sawk1

/kysor# yarn start
yarn run v1.22.19
$ rimraf dist && tsc && node ./dist/src/index.js
src/faces.ts:1:30 - error TS2307: Cannot find module '@kyve/sdk/dist/utils/constants' or its corresponding type declarations.

1 import { KYVE_NETWORK } from "@kyve/sdk/dist/utils/constants";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/index.ts:12:10 - error TS2614: Module '"@kyve/sdk"' has no exported member 'KyveWallet'. Did you mean to use 'import KyveWallet from "@kyve/sdk"' instead?

12 import { KyveWallet } from "@kyve/sdk";
~~~~~~~~~~

Found 2 errors in 2 files.

Errors Files
1 src/faces.ts:1
1 src/index.ts:12
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions