Files
teleport/web/packages/shared/README.md
T
Grzegorz Zdunek d272c03820 Move TDP components to web/shared (#53501)
* Move `teleport/ironrdp` to `shared/libs/ironrdp`

* Do not import `teleport/lib/AuthenticatedWebSocket` in `TdpClient`

* Do not import other `teleport` stuff in `TdpClient`

* Move `teleport/lib/tdp` to `shared/libs/tdp`

* Move `teleport/components/TdpClientCanvas` to `shared/components/CanvasRenderer`

* Move `teleport/DesktopSession` to `shared/components/DesktopSession`

* Bring back `teleport/DesktopSession`

* Improve old artifacts cleaning

* Fix path in README.md
2025-04-03 12:42:16 +00:00

586 B

SHARED

This package contains shared code used across Gravitational packages.

How to use it

Add @gravitational/shared to your package.json file.

"devDependencies": {
    "@gravitational/shared": "^1.0.0",
  },

WASM

This package includes a WASM module built from a Rust codebase located in packages/shared/libs/ironrdp. It is built with the help of wasm-pack.

Running pnpm build-wasm builds the WASM binary as well as the appropriate Javascript/Typescript bindings and types in web/packages/shared/libs/ironrdp/pkg.