-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Description
Overview
Since #1120 was closed, I assume this library now supports Deno runtime. Some use cases work but not the Connection.confirmTransaction method.
Steps to reproduce
https://github.com/rockawayx-labs/bug-reproducers/tree/dev/solana-labs/solana-web3.js/deno
Description of bug
The following warning and error is being printed to the console:
Warning: Not implemented: ClientRequest.options.createConnection
ws error: Invalid WebSocket frame: invalid UTF-8 sequence
It looks like it is a missing feature in Deno: denoland/deno#19507 However, other libraries were able to work around it as you can see in the discussion (e.g. discord.js).
Repro for 2.x line: https://codesandbox.io/p/devbox/flamboyant-villani-f4kgd7