This contains two packages built on SIP.js 0.21 so you can choose the helper that best matches your integration style:
Heads up: the legacy
@telnyx/rtc-sipjspublish is being split into these two packages. If you currently depend on@telnyx/rtc-sipjs, plan to migrate to the package that matches your integration before the split lands.
@telnyx/rtc-sipjs-simple-user– retains the modern SimpleUser powered implementation ofTelnyxDevice/TelnyxCall.@telnyx/rtc-sipjs-user-agent– restores aUserAgentdriven device, the classic SIP.js API surface.
yarn install
yarn workspaces listEach workspace exposes the usual build, test, typecheck, and clean scripts. You can target a specific package with yarn workspace <name> <script> or run every package in parallel:
yarn buildThis repo pins Yarn 4 via the packageManager field, so make sure Corepack is enabled (once per machine) before installing dependencies:
corepack enable
yarn installFrom there you can run every package's tests at once:
yarn testOr you can focus on a single workspace:
yarn workspace @telnyx/rtc-sipjs-simple-user run test
yarn workspace @telnyx/rtc-sipjs-user-agent run testRefer to the README inside each package for detailed usage instructions.