- Core defaults to
Logger.level = Level.nothing
to prevent logs from being printed by default - Resolved errors with pairings and sessions trying to subscribe even when the relay wasn't connected
- Additional bugs resolved
- Relay Client no longer throws errors on init
- No internet connection/invalid URL errors will no longer throw, but the relay's
onRelayClientError
will emit them. - Oher relay client bug fixes
- Fixed issue with relayUrl not being used correctly
- Updated false positive tests for relayUrl and added additional ones to ensure relayUrl is used correctly
- Added IWebSocketHandler input to core for testing purposes
- No internet connection/invalid URL errors now throw a WalletConnectError
- .org fallback is used if the relay URL fails
- Updated error logs to be more descriptive
- Added 1002 and 1005 to relay auto-reconnect
- Fixed regression of optionalNamespaces not being nullable
- Made message in json response nullable to resolve issues with rejection messages
- Updated readme, added events to RequiredNamespace
- Swapped to
freezed
for all models - Resolved issue with non-null resources for auth throwing errors
- Fixed regression with default relay URL, added tests to ensure it doesn't happen again
- Updated relay client's error messages to be accurate and descriptive.
- Added logger level where missing
- Updated the
NamespaceUtils
andSignApiValidatorUtils
to follow CAIP-217
- Fixed issue with hanging websocket connection (Missing session)
- Added logs to certain packages to help with debugging
- Updated multiple tests to be more deterministic
- Added echo client
- Multiple bug fixes
- Bumped multiple versions
- Fixed issue with tests not being deterministic
- dApp example updated based on version bumps
- Reverted auth to match eip spec
- Added analysis options and enforced them
- Fixed issues with relay update
- Resolved RPC ID starting at 1 and incrementing
- Resolved race condition with null check on websocket
- Fixed issue with auth formatMessage where it would leave 2 new lines if there was no statement
- Added a colon (:) to auth that makes it actually authenticate the message properly
- Fixed issue with mismatched types used in jsonRPC.sendRequest
- Fixed an issue where the autonamespace's required namespaces would be overwritten by optional namespaces if they had the same chain
- Removed periodic ping from websocket, it was throwing an error on the server side. Periodic check to reconnect is still present.
- Updated the parse URI to handle V1 URIs as well as V2 URIs
- Event and request events will only be emitted if they are registered
- Added
WalletConnectErrorSilent
that can be thrown in a requestHandler to fail silently and return nothing to the requester - Multiple bug fixes
- Reverted preflight check for HTTP Errors.
- Added
onCreate
,onUpdate
,onDelete
,onSync
events to the Pairings, Sessions, and StoredCacao objects for easier state updates - Relay now reconnects and resubscribes to active topics when connection WebSocket is lost
- Added heartbeat to websocket to keep connection alive
- Added preflight check for HTTP Errors before connecting to WebSocket
- AuthClient and SignClient changed to match the WalletConnect Documentation Specifications
- Added
registerAccounts
andregisterEventEmitters
to the SignClient, if there are accounts or events registered, they will be used to automatically create a Namespaces object and validate the session proposal.
- Throw a WalletConnectError in a sign request function handler to return a JsonRpcError to the dApp
- Fixed a bug where function handlers for Web3Wallet and SignClient required returning void
- Fixed a bug with sendError not causing an error to be thrown on the client side
- Added
onPairingCreate
event. It is emitted when pair and create are called - Added
pairing.updateExpiry
time validation.
- Fixed an issue with requests crashing if an error was thrown
- Updated README to use function handlers for the request example
- Sessions are deleted when their pairing is deleted
- Get Sessions for a Pairing using
getSessionsForPairing
- Get completed Auth Requests for a Pairing using
getCompletedAuthRequestsForPairing
- Optional value for WcSessionProposeRequest
optionalNamespaces
- Other bug fixes
- Added reconnect and event information to readme
- Pairing and Sessions now resubscribe to events when the relay is created
- Fixed an issue where pairings weren't getting persisted to storage
- Removed " from methods in URL
- Simplified using
createInstance
static functions - ConnectResponse completer now explicitly completes with a SessionData object
- RequiredNamespaces and ProposalData now exlude null fields in JSON
- Added generated files back in
- Fixed bug when scanning URI with no
method
query parameter - Fixed relay not emiting connect or disconnect events when it should have
- Added tests for both of the above
- Added more WalletConnect error codes to Errors static class
- Remove WalletConnectErrorReason, just use
WalletConnectError.copyWith
if you need to provide data to an error.
- Removed HEX dependency
- Upgraded websocket dependency to 2.3.0, so that the
ready
property exists
- Fixed issues with Session Settle Request not allowing null required and optional namespaces
- Fixed issues with
connect
andrequestAuth
not allowing you to provide required methods for the URI - More tests
- Initial release