Skip to content

Export claim workflow endpoints from index.ts #89

@wolf31o2

Description

@wolf31o2

Description

Add exports for all non-exported endpoint files in src/index.ts. The implementations and tests already exist in src/api/ — they just need to be exported.

Endpoints to export

  • getSettings
  • getCustomRequest
  • getCheckStatusCustomRequest
  • getEstimateFees
  • getDeliveredRewards
  • getPendingTxCount
  • getStatistics
  • getSystemInfo
  • getWhitelist
  • getBlacklist
  • getTx
  • getTreasuryRead
  • getDeliverRewards

Implementation details

Each endpoint already has an implementation file under src/api/ and a corresponding test file. The task is to add the appropriate export statements in src/index.ts so that consumers of the SDK can access these endpoints directly.

Look at the existing exports in src/index.ts for the pattern to follow (e.g. how getClaimableTokens is exported), then add matching export lines for each of the endpoints listed above.

Files

  • Modify: src/index.ts

Verification

npm test — all 22 test files should pass.

Milestone

SDK Readiness — Task 1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions