Skip to content

fix: invalid import in agw-react; export param/return types from actions#362

Merged
coffeexcoin merged 2 commits intomainfrom
fix-import
Oct 3, 2025
Merged

fix: invalid import in agw-react; export param/return types from actions#362
coffeexcoin merged 2 commits intomainfrom
fix-import

Conversation

@coffeexcoin
Copy link
Collaborator

@coffeexcoin coffeexcoin commented Oct 3, 2025

PR-Codex overview

This PR primarily focuses on enhancing type definitions and improving exports in the agw-client package, particularly around session management and transaction batching functionalities.

Detailed summary

  • Added GetSessionStatusReturnType type in getSessionStatus.ts.
  • Updated return type of getSessionStatus function to GetSessionStatusReturnType.
  • Added SendTransactionBatchReturnType type in sendTransactionBatch.ts.
  • Updated return type of sendTransactionBatch function to SendTransactionBatchReturnType.
  • Adjusted imports in createSession.ts to reflect changes in paths.
  • Modified the action name in createSession.ts from 'sendTransaction' to 'createSession'.
  • Enhanced exports in actions.ts to include new types and functions from various action files, including CreateSession, GetSessionStatus, and SendTransactionBatch.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@coffeexcoin coffeexcoin requested a review from cygaar as a code owner October 3, 2025 12:21
@changeset-bot
Copy link

changeset-bot bot commented Oct 3, 2025

⚠️ No Changeset found

Latest commit: 1c7a351

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codecov
Copy link

codecov bot commented Oct 3, 2025

Codecov Report

❌ Patch coverage is 11.11111% with 8 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/agw-client/src/exports/actions.ts 0.00% 6 Missing and 1 partial ⚠️
...ackages/agw-client/src/actions/getSessionStatus.ts 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
...ges/agw-client/src/actions/sendTransactionBatch.ts 100.00% <100.00%> (ø)
...ackages/agw-client/src/actions/getSessionStatus.ts 15.78% <0.00%> (ø)
packages/agw-client/src/exports/actions.ts 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@coffeexcoin coffeexcoin merged commit a95359d into main Oct 3, 2025
7 checks passed
@coffeexcoin coffeexcoin deleted the fix-import branch October 3, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant