test: cover transaction revision error from api-specifications#2408 - #231
Draft
cursor[bot] wants to merge 2 commits into
Draft
test: cover transaction revision error from api-specifications#2408#231cursor[bot] wants to merge 2 commits into
cursor[bot] wants to merge 2 commits into
Conversation
Co-authored-by: Jed Patterson <jed.patterson@paddle.com>
Co-authored-by: Jed Patterson <jed.patterson@paddle.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds focused contract coverage confirming that the Node SDK passes the updated
transaction_invalid_status_to_reviseerror code and detail through unchanged, including the server guidance that listspast_dueas a revisable transaction status. Bumps the package patch version to 3.8.1 and records the clarification in the changelog.Spec-to-SDK mapping
billed,past_due, andcompletedsrc/__tests__/internal/base-resource.test.ts— verifiesApiError.codeandApiError.detailpass through unchangedpackage.json— version 3.8.1;CHANGELOG.md— Unreleased entryIntentionally excluded
past_duerevisions; it only records the server-guidance clarification and existing generic pass-through behavior.Validation
pnpm install --frozen-lockfile— passedpnpm build— passedpnpm typecheck:tests— passedpnpm test --runInBand— passed (34 suites, 276 tests)pnpm lint— only the documented generatedsrc/version.tseol-lastexception;pnpm exec eslint ./src --ignore-pattern src/version.tspassedpnpm exec prettier --check src/__tests__/internal/base-resource.test.ts— passedThis PR was created by an automated spec-sync agent.