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

feat: introduce new RPC methods to handle pending interaction #20

Merged
merged 8 commits into from
Jan 22, 2024

Conversation

sarvalabs-harshrastogi
Copy link
Member

@sarvalabs-harshrastogi sarvalabs-harshrastogi commented Dec 5, 2023

Introduction

This pull request introduces new RPC methods to handle pending interactions in the project. The primary focus is on managing filters associated with pending interactions. The new methods facilitate the retrieval of pending tesseracts by account filters, fetching pending interaction filters, removing filters, and obtaining changes made to specified filters since the last poll.

New RPC Methods

  • getNewTesseractFilter: Retrieves a filter ID for new tesseracts.
  • getNewTesseractsByAccountFilter: Retrieves a filter ID for the new tesseracts for the specified account.
  • getPendingInteractionFilter: Retrieves a filter ID for pending interactions.
  • removeFilter: Removes a specified filter.
  • getFilterChanges: Retrieves all filter changes since the last poll.

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

  • I have assigned this PR to myself
  • I have added at least 1 reviewer
  • I have tested this code
  • I have updated the README and other relevant documents (guides...)

@sarvalabs-harshrastogi
Copy link
Member Author

image

Copy link

cloudflare-workers-and-pages bot commented Dec 6, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: e26dfd2
Status: ✅  Deploy successful!
Preview URL: https://9e3d6457.js-moi-sdk.pages.dev
Branch Preview URL: https://feat-filter-rpc-methods.js-moi-sdk.pages.dev

View logs

docs/source/providers.rst Outdated Show resolved Hide resolved
packages/js-moi-providers/src/base-provider.ts Outdated Show resolved Hide resolved
packages/js-moi-providers/types/jsonrpc.d.ts Outdated Show resolved Hide resolved
packages/js-moi-providers/src/base-provider.ts Outdated Show resolved Hide resolved
docs/source/providers.rst Outdated Show resolved Hide resolved
@sarvalabs-harshrastogi sarvalabs-harshrastogi merged commit 3b938ba into develop Jan 22, 2024
2 checks passed
@sarvalabs-harshrastogi sarvalabs-harshrastogi deleted the feat/filter-rpc-methods branch February 5, 2024 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement new RPC Methods for Handling pending interactions and tesseracts
2 participants