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: implement GraphQL subscriptions support #1256

Merged
merged 64 commits into from
Sep 25, 2023

Conversation

nedsalk
Copy link
Contributor

@nedsalk nedsalk commented Sep 14, 2023

This PR introduces support for subscriptions to our nodes and replaces TransactionResponse's waiting mechanisms with subscriptions instead of polling.

Note: nodejs and pnpm versions have been updated in this PR as well. Please run nvm install and nvm use after this PR is merged.

closes #782,
closes #301

nedsalk added 25 commits August 17, 2023 12:02
@nedsalk nedsalk self-assigned this Sep 14, 2023
.eslintrc.js Show resolved Hide resolved
@github-actions
Copy link
Contributor

github-actions bot commented Sep 14, 2023

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements
84.82% (+0.41% 🔼)
5159/6082
🟡 Branches
66.11% (+0.15% 🔼)
757/1145
🟡 Functions
75.04% (+1.34% 🔼)
848/1130
🟢 Lines
84.71% (+0.25% 🔼)
4940/5832
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / byte.ts
96.55% 50% 100% 96.55%
🟢
... / raw-slice.ts
95.24% 0% 100% 95.24%
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🔴
... / transaction-response.ts
17.5% (-4.72% 🔻)
0% 0%
17.95% (-4.27% 🔻)
🔴
... / utils.ts
40% (-6.15% 🔻)
0% 0%
35.71% (-5.95% 🔻)

Test suite run success

1224 tests passing in 213 suites.

Report generated by 🧪jest coverage report action from 247d38d

package.json Show resolved Hide resolved
camsjams
camsjams previously approved these changes Sep 22, 2023
Copy link
Contributor

@camsjams camsjams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@nedsalk nedsalk changed the title feat: implement GraphQL subscriptions feat: implement GraphQL subscriptions support Sep 25, 2023
@nedsalk nedsalk merged commit 0a341f1 into master Sep 25, 2023
@nedsalk nedsalk deleted the ns/feat/subscribe-to-transaction-status-changes branch September 25, 2023 15:48
nedsalk added a commit that referenced this pull request Oct 10, 2023
nedsalk added a commit that referenced this pull request Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
None yet
4 participants