Skip to content

Missing API response types #54

@bradleyplaydon

Description

@bradleyplaydon

Hi team,

Thanks for providing the @goplus/sdk-node package. While it technically works in TypeScript, the provided index.d.ts only exports GoPlus and ErrorCode as object, which offers no actual type safety or IntelliSense.

Since the SDK exposes structured methods like tokenSecurity, addressSecurity, approval, etc., it would be helpful if:

The SDK included proper method signatures in the .d.ts file.

Response types were defined (e.g., TokenSecurityResponse).

Optionally, typings could be auto-generated via your OpenAPI/Swagger schema (if available).

This would significantly improve developer experience for TypeScript users and make your SDK much easier to use.

Let me know if you'd be open to a PR — I'd be happy to help contribute typings if needed!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions