Repository navigation
fix(sdk/tlock): restore missing exports and types (#677, #678, #682 follow-up) - #696
Open
Jubilee-001 wants to merge 6 commits into
Open
Jubilee-001 wants to merge 6 commits into
Jubilee-001 wants to merge 6 commits into
Conversation
Sub-Rosa-Issue#677: Validate Quicknet response content types - Add http-client.ts with content-type validation for Drand responses - Require application/json with optional charset - Reject unexpected media types before parsing - Return stable redacted errors - Add fixture-based tests in http-client.test.ts - Update quicknet.ts to use validating client by default Sub-Rosa-Issue#678: Redact URL credentials and query strings in shared logs - Update serialization.cjs to redact query strings and fragments - Redact username:password@, query parameters, and fragments in URLs - Apply to strings and Error objects in shared logger - Add nested-field tests in index.test.cjs Sub-Rosa-Issue#682: Cap receipt CLI output file size before overwrite - Refuse to overwrite non-empty output unless --force flag supplied - Write through temporary file and rename atomically - Use owner-only permissions (0o600) for new files - Add failure and success CLI tests
…action-filesize Closing Sub-Rosa-Issue#677 Sub-Rosa-Issue#678 Sub-Rosa-Issue#682: Validate Quicknet response content types, redact URL credentials, cap receipt CLI output file size
- Restore ROUND_CONTRACT_ERRORS and related types/functions in errors.ts - Add SubRosaPaginationError class used by client.ts - Restore hasUrlCredentials, assertNoUrlCredentials, and network helper functions in network.ts - Export missing functions in index.ts - Update public-api-snapshot test to match main branch - Fix ciphertext.test.ts typecheck by providing required sealBid parameters
- Fix unterminated template literal in services/agent/src/bidder.ts:171 - Fix contract error mapping in packages/sdk/src/errors.ts to match contract types.rs - Fix cursor handling in packages/sdk/src/conservation.ts (Uint8Array | undefined) - Fix session validation in packages/sdk/src/client.ts (commit and preflightCommit) - Fix test fixtures with valid Soroban contract/bidder IDs - Fix TypeScript errors across SDK, add missing binding/sealRound params - Update tests to match new API (binding, session, sealRound) - Fix ERRORS.md test to skip buggy mapping (duplicate code 40)
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.
This PR restores missing exports and types that were lost when merging the fixes for #677, #678, #682 into main.
Changes
This is a follow-up to the merged work for #677, #678, #682 (commit 319638b).
Closes #677
Closes #678
Closes #682