Skip to content

Implement pagination cursors for SDK reads #24

Description

@meshackyaro

Description

This issue aims to address the implementation of Implement pagination cursors for SDK reads.

The core objective is to: Automatically handle paginated returns for .getGigs() matching backend schema.

By completing this feature, we will ensure that the TrustFlow protocol maintains its high standards for security, usability, and decentralized logic. This issue requires careful attention to the SDK Wrapper architecture and adherence to the existing project conventions.

When picking up this issue, please ensure you document any new dependencies or architectural decisions made during development.

Component

SDK Wrapper

Difficulty

🟡 Medium

Tasks

  • Review existing Typescript abstract classes
  • Implement SDK method for: Implement pagination cursors for SDK reads
  • Ensure Tsup successfully exports to ESM and CJS
  • Update typedoc comments for the new feature
  • Write Jest tests validating XDR payloads
  • Run npm run build to verify standard bundling

Acceptance Criteria

  • Feature accurately implements the objective: Automatically handle paginated returns for .getGigs() matching backend schema.
  • Any PR that introduces TypeScript/Rust errors is automatically blocked
  • CI pipeline runs in under 3 minutes per PR
  • Code is properly reviewed and approved by codeowners

Estimated Time

4-8 hours

Metadata

Metadata

Labels

Type

No type
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