feat: support flexible payment obligations and reusable links - #309
Merged
Conversation
Pin yaml 2.8.3 and override qs 6.16.0, vulnerable bn.js 4.11.6 to 4.12.3, and tsoa CLI ts-deepmerge to 8.0.0. Preserve bn.js 5.x and all other dependency versions. The ts-deepmerge major fixes GHSA-87mf-gv2c-c62c; the published 7.0.3 to 8.0.0 runtime diff only expands the unsafe-key filter, with unchanged declarations and exports. Swagger 2 and OpenAPI 3 deep-merge generation checks pass. Registry publish dates: bn.js 2026-02-19; qs 2026-08-29; ts-deepmerge 2026-05-22; yaml 2026-03-21. All exceed 72 hours. Scoped overrides require Bun lockfile v3; frozen install verified using Bun 1.4.0. Validation: bun audit reports zero advisories; 179 SDK unit suites / 3608 tests pass; complete SDK build and package import checks pass.
This was referenced Sep 12, 2026
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.
Adds finite payment obligations and reusable payment links using existing token approvals. Invoices can require one payer, one of a roster, every payer, distinct payers, installments, or partial contributions, with atomic recipient splits and denomination-specific amounts. Builders, strict parsers, CLI, MCP, and indexed progress types share the same terms.
Validation rejects altered economic approvals, archived collections, unsupported escrow funding, invalid payment targets, and excessive aggregate payouts. Existing invoice and subscription formats remain separate. Subscription interval endpoints now match chain ranges, and alias derivation preserves uint64 identifiers while rejecting invalid or unsafe numeric inputs. Optional queue generation/claim/lease fields support the private indexer's recovery protocol.
Validation: 181 SDK test suites / 3,633 tests pass; package build passes; Bun dependency audit is clean. Hosted tests and CodeQL pass. Keeper-derived fixtures exercise canonical collection recognition. Dependency changes are pinned and documented in their commit. The V2 CLI build awaits its output/deployment pipeline and propagates failures; canonical payment-mode inference is shared with manager projections.
Release order: human merge and publish this SDK, then pin that exact version in the private frontend and indexer and run their clean CI. Local SDK links are for smoke testing only. No new chain primitive or chain migration is required.