Releases: interop-alliance/wallet-request
Releases · interop-alliance/wallet-request
Release list
v0.3.0
v0.2.0
Fixed
sendToExchangernow sharespostToExchange: a404throws
EphemeralExchangeGoneError, any other non-2xx status throws instead of
returning the error body as the peer's reply, malformed JSON is wrapped, and
an empty body yields{}(wasnull).classifyWalletInputno longer throws when a URL'srequestparameter is a
JSON primitive; a non-JSONrequestparameter is logged at debug level
without the raw value.isDIDAuthOnlyRequestreturnsfalsefor a non-object
verifiablePresentationRequestinstead of throwing.processRequestrefuses aWalletOnboardingQuery(and any exclusive query
type it has no processor for) withExclusiveQueryUnsupportedError(with a
queryTypeproperty; dispatch onerr.name) instead of returning{}or
answering the generic half of a mixed request. NewexclusiveQueryTypeOfin
queryPredicates.createEphemeralExchangeresolves a relativeLocationagainst the request
URL and builds the interaction URL with the URL API.fetchInteractionProtocolsreports a non-JSON ornullbody as an error
instead of throwing a rawTypeError/SyntaxError.
Changed
- Breaking:
handleWalletInputthrowsUnhandledWalletInputError(with a
kindproperty; dispatch onerr.name) for an input kind with no handler,
instead of a bareErrorrecognizable only by its message. - Breaking:
deepLinkSchemesprefixes are matched at a URL delimiter, so a
bare-origin prefix no longer matches a lookalike host. handleWalletInputwarns when awasLink/connectCodehandler is wired
without its recognizer.exclusiveQueryOftakes a type parameter for the extension query shape it
returns; the at-most-one-query rule lives insingleQueryOfType.- ARCHITECTURE.md documents the signing path's document loader as a network seam
outside the injectedFetchLike. - New
toArrayinqueryPredicatesis the one single-or-array normalizer
behindqueriesOf,credentialsOf,credentialQueriesOf, the zcap and App
ConnectcapabilityQueryreaders, the matchers, and the VP@context. - New
assertExchangeResponseOkinephemeralExchangeis the one 404 / non-2xx
status rule shared bypostToExchangeandfetchInteractionProtocols; the
latter's non-2xx message now reads
The interaction URL at <url> responded <status> <text>. - New
walletApiMessageObjectOfreturns the parsed wallet API message object;
isWalletApiMessagewraps it, andclassifyWalletInputparses raw JSON input
once instead of twice.
Removed
- Breaking: the legacy (pre-
appUrl) app-key re-issue path:
findLegacyAppKeyCredential,reissueAppKeyCredential,appKeyCandidates'
undefined-appUrlselection, andissueAppKeyCredential'sdescription
option. No wallet called it; its only importer was a was-react counterpart
test. - Breaking: the deprecated
composeVPalias, theIVpRequest/IVpOffer
/IVprDetails/IVprQuery/IDidAuthenticationQuerytype aliases,
EPHEMERAL_EXCHANGE_INTERACTION_PATH,hasAppConnectQuery,
isAppConnectQuery,isWalletOnboardingQuery, and the empty
declarations.d.ts.