Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .changeset/agents-shared-shape.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/body-digest-rfc9530.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/charge-fee-token.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/expiring-nonce-replay-recovery.md

This file was deleted.

4 changes: 0 additions & 4 deletions .changeset/fine-paths-tease.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-request-payment-retry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-session-close-request-state.md

This file was deleted.

4 changes: 0 additions & 4 deletions .changeset/package-size-budget.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/prepay-session-content.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/proxy-replay.md

This file was deleted.

4 changes: 0 additions & 4 deletions .changeset/restore-get-configured-offers-jsdoc.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/safe-websocket-close.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/session-manager-origin.md

This file was deleted.

4 changes: 0 additions & 4 deletions .changeset/thin-dodos-fetch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/unpaid-validation-probes.md

This file was deleted.

15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# mppx

## 0.17.1

### Patch Changes

- ed76e8e: Accepted the RFC 9530 byte-sequence form (`sha-256=:base64:`) in `BodyDigest.verify`, alongside the existing bare form. `BodyDigest.compute` still emits the bare form.
- 20eca32: Added `feeToken` to the Tempo charge client, so an access key whose spending limits exclude the default fee token can pay an unsponsored charge's fee in a token it may spend.
- 2b747bf: Fixed Tempo charge settlement returning a fresh 402 after a paid transaction was mined: a broadcast rejected with `ExpiringNonceReplay` (for example, a retried send) now recovers the transaction's receipt instead of failing.
- cd6a2a7: Fixed payment retries losing Request-carried HTTP methods and bodies, including valid body overrides. Rejected automatic payment after redirects with ambiguous method rewriting before creating credentials.
- 807376f: Fixed cooperative HTTP session close inheriting the resource Request's body and abort signal while preserving its transport settings and the same resource URL.
- 2ca12d1: Charged request-priced SSE-enabled content before invoking application handlers, including POST requests that return plain responses. Marked the receipt prepaid to avoid charging the first stream unit twice. Per-item pricing remained stream-driven. Applications must refund request charges when they cannot serve the accepted request.
- 3fca0d6: Added an opt-in `replay` option to `Proxy.create`, so a payer who loses the connection during a long paid request can collect the response. The paid upstream request runs detached from the client, and a retry with the same credential and request gets the stored response, `202` while it runs, or a new upstream attempt after a failed delivery, without paying again.
- afb9924: Fixed rejected WebSocket payments leaving sockets open when detailed error messages exceeded the close-frame reason limit.
- 3c2bc84: Bound each session manager to its first HTTP origin and persisted that binding with reusable channels. Rejected cross-origin HTTP, SSE, and WebSocket reuse before disclosing channel hints or payment credentials, and prevented redirects from forwarding session requests. Existing unbound channel entries acquired an origin on their next validated reuse.
- 5d353bb: Prevented validation probes from authorizing payments through an installed global Mppx fetch wrapper.

## 0.17.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"[!start-pkg]": "",
"name": "mppx",
"type": "module",
"version": "0.17.0",
"version": "0.17.1",
"main": "./dist/index.js",
"license": "MIT",
"homepage": "https://github.com/wevm/mppx#readme",
Expand Down
2 changes: 1 addition & 1 deletion src/internal/version.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Generated by scripts/sync-version.ts.

/** Current mppx package version. */
export const version = '0.17.0'
export const version = '0.17.1'

/** Canonical SDK identifier for this mppx release. */
export const sdkIdentifier = `mppx/${version}`