Repository navigation
mppx@0.21.3
Patch Changes
-
8e4cd5f: Preserved configured plugin payment policies when using persistent Tempo session accounts.
-
ad2a467: Fixed
Challenge.deserializeandChallenge.serializeto follow the MPP core grammar: payment method identifiers must be1*LOWERALPHA(a-z only), and a backslash in a quoted-string is a quoted-pair, so\u2014parses to the textu2014instead of being decoded.Challenge.serializenow throws for characters above U+00FF in any parameter exceptdescription, which keeps its\uXXXXescape so a 402 never fails on an em dash or emoji.Mppx.createnow throws at startup for a method name outside a-z, or for arealmabove U+00FF on a transport that sends the Challenge in a header, instead of failing on every 402.Challenge.deserializeListskips an offer whose method id is outside a-z rather than rejecting the whole header, and the client keys payment retries without building a header or reading the display-onlydescription.The client now refuses a challenge from a server that escaped a parameter bound into the Challenge ID (such as
realm) as\uXXXX, as servers before quoted-pair parsing did for characters above U+00FF: it skips such an offer when another is payable, and otherwise throwsErrors.LegacyUnicodeEscapedChallengeErrorbefore creating, signing or broadcasting anything, since the server would reject the credential.