Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProgramInfo Interface not exported #416

Open
mixmix opened this issue Sep 22, 2024 · 0 comments
Open

ProgramInfo Interface not exported #416

mixmix opened this issue Sep 22, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@mixmix
Copy link
Collaborator

mixmix commented Sep 22, 2024

In the CLI I have this function:

  async get (programPointer: string): Promise<any> {
    this.logger.debug(`program pointer: ${programPointer}`, `${FLOW_CONTEXT}::PROGRAM_PRESENCE_CHECK`);
    return this.entropy.programs.dev.getProgramInfo(programPointer)
  }

It was erroring when I didn't set the return type because it knew that ProgramInfo was the return type, but ts could not find that interface defn. Looking in the SDK it's in src/program/dev.ts ... but that never seems to be exported anywhere that you can import from externally

@frankiebee frankiebee self-assigned this Sep 23, 2024
@frankiebee frankiebee added bug Something isn't working enhancement New feature or request labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants