diff --git a/.changeset/config.json b/.changeset/config.json deleted file mode 100644 index 1d68edcf..00000000 --- a/.changeset/config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$schema": "https://unpkg.com/@changesets/config@2.0.0/schema.json", - "changelog": ["@livekit/changesets-changelog-github", { "repo": "livekit/client-sdk-react-native" }], - "commit": false, - "fixed": [], - "linked": [], - "access": "public", - "baseBranch": "main", - "updateInternalDependencies": "patch", - "ignore": ["livekit-react-native-example"] -} \ No newline at end of file diff --git a/.github/workflows/changeset-check.yaml b/.github/workflows/changeset-check.yaml new file mode 100644 index 00000000..faecb7b7 --- /dev/null +++ b/.github/workflows/changeset-check.yaml @@ -0,0 +1,37 @@ +# Fails a PR that changes the package without a changeset, with a comment +# that links to a prefilled changeset file. The `internal` label skips it. +# On the release PR, it also runs `npm publish --dry-run` +# (`[check].publish_dry_run`), so a version that npm rejects does not reach +# main. The release PR is opened with the App token, so this workflow runs +# on it. +name: Changeset check + +on: + pull_request: + types: [opened, synchronize, reopened, labeled, unlabeled] + branches: [main] + +permissions: + contents: read + pull-requests: write + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + fetch-depth: 0 # the dry run needs the tags + # The dry run runs the `prepare` script (bob build), which needs the + # installed workspace. Only the release PR runs the dry run. + - if: startsWith(github.head_ref, 'release/') + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 + with: + node-version: 24 + cache: yarn + cache-dependency-path: yarn.lock + - if: startsWith(github.head_ref, 'release/') + run: corepack enable && yarn install --immutable + - uses: livekit/verwalter@9da894a1e4f7d298095a961be60c818afd47905b # v0.32.0-rc.1 + with: + command: check diff --git a/.github/workflows/changeset.yaml b/.github/workflows/changeset.yaml deleted file mode 100644 index ba134106..00000000 --- a/.github/workflows/changeset.yaml +++ /dev/null @@ -1,61 +0,0 @@ -name: Release - -on: - workflow_dispatch: - push: - branches: - - main - - 'release/**' # e.g. release/2.10.x - -concurrency: ${{ github.workflow }}-${{ github.ref }} - -permissions: - id-token: write # Required for OIDC - contents: write # Required to create GH releases - pull-requests: write # Required to interact with PRs - -jobs: - release: - name: Release - runs-on: ubuntu-latest - env: - NPM_CONFIG_PROVENANCE: true - steps: - - name: Checkout Repo - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - with: - fetch-depth: 0 - - - name: Use Node.js 24 - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 - with: - node-version: 24 # NPM 11.5.1+ required for OIDC trusted publishing - cache: yarn - cache-dependency-path: yarn.lock - - - name: Enable Corepack - run: corepack enable - - - name: Install dependencies - run: yarn install --immutable - - - name: Create Release Pull Request or Publish to npm - id: changesets - uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0 - with: - version: yarn ci:version - publish: yarn ci:publish - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Build docs - if: steps.changesets.outputs.published == 'true' - run: yarn build-docs --treatWarningsAsErrors - - - name: S3 Upload - if: steps.changesets.outputs.published == 'true' - run: aws s3 cp docs/ s3://livekit-docs/client-sdk-react-native --recursive - env: - AWS_ACCESS_KEY_ID: ${{ secrets.DOCS_DEPLOY_AWS_ACCESS_KEY }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_DEPLOY_AWS_API_SECRET }} - AWS_DEFAULT_REGION: "us-east-1" \ No newline at end of file diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml new file mode 100644 index 00000000..5911f164 --- /dev/null +++ b/.github/workflows/pre-release.yaml @@ -0,0 +1,25 @@ +# On demand: open an rc PR from the branch the workflow is run on. Merging +# it tags 3.3.0-rc.1 and publishes under the `next` dist-tag. Changesets +# stay pending for the final release. +name: Pre-release PR + +on: + workflow_dispatch: + +permissions: + contents: write + pull-requests: write + +jobs: + pr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + fetch-depth: 0 # the tags number the rc + - uses: livekit/verwalter@9da894a1e4f7d298095a961be60c818afd47905b # v0.32.0-rc.1 + with: + command: pre-release + args: --target ${{ github.ref_name }} + app-client-id: ${{ secrets.VERWALTER_RELEASE_CLIENT_ID }} + app-private-key: ${{ secrets.VERWALTER_RELEASE_APP_KEY }} diff --git a/.github/workflows/release-pr.yaml b/.github/workflows/release-pr.yaml new file mode 100644 index 00000000..798539b4 --- /dev/null +++ b/.github/workflows/release-pr.yaml @@ -0,0 +1,29 @@ +# Keeps one release PR open while changesets are pending. Runs on every +# push to main and regenerates the release branch from main. +name: Release PRs + +on: + push: + branches: [main] + +permissions: + contents: write + pull-requests: write + +concurrency: + group: release-prs + cancel-in-progress: true + +jobs: + pr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + fetch-depth: 0 # the commit that added a changeset gives its changelog line the PR and author + - uses: livekit/verwalter@9da894a1e4f7d298095a961be60c818afd47905b # v0.32.0-rc.1 + with: + command: pr + # The App token lets the release PR trigger CI. github.token does not. + app-client-id: ${{ secrets.VERWALTER_RELEASE_CLIENT_ID }} + app-private-key: ${{ secrets.VERWALTER_RELEASE_APP_KEY }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 00000000..8c013c21 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,185 @@ +# After a release PR merges: build, then tag and create the GitHub +# release, then publish to npm. The step that cannot be undone comes last. +# The file name stays release.yaml: npm trusted publishing names it. +name: Release + +on: + # No `branches` filter: an rc PR from pre-release.yaml targets the branch + # the workflow was run on. The `gate` job decides which PRs release. + pull_request: + types: [closed] + # A failed job is re-run with "Re-run failed jobs" on the run itself: that + # keeps the merge commit. This trigger is for a run that needs a fixed + # workflow file from the branch. `verwalter release` resumes from the + # current state and skips what is done. + workflow_dispatch: + inputs: + ref: + description: 'Commit or tag to build and publish. Set it to the release tag when the tag exists. Empty is the branch head.' + type: string + default: '' + +permissions: + contents: write + id-token: write # npm trusted publishing + +jobs: + # Only a run by hand, or a merged release PR or rc PR that the tool + # opened: the branch name alone would let any pushed `release/*` branch + # trigger a publish. The author is `[release].author` in verwalter.toml, + # default verwalter-release[bot]. + gate: + runs-on: ubuntu-latest + permissions: + contents: read + outputs: + release: ${{ steps.verwalter.outputs.release }} + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + ref: ${{ github.event.pull_request.merge_commit_sha || inputs.ref || github.sha }} + - id: verwalter + uses: livekit/verwalter@9da894a1e4f7d298095a961be60c818afd47905b # v0.32.0-rc.1 + with: + command: gate + + # Before the tag: a commit that does not build is never tagged. + build: + needs: gate + if: needs.gate.outputs.release == 'true' + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + # On a run by hand, `ref` is the released tag: the branch head can + # hold newer source than the version that is published. `publish` + # fails when the files changed since the tag. + ref: ${{ github.event.pull_request.merge_commit_sha || inputs.ref || github.sha }} + - name: Use Node.js 24 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 + with: + node-version: 24 + cache: yarn + cache-dependency-path: yarn.lock + - run: corepack enable + - run: yarn install --immutable + - run: yarn typescript && yarn prepare + + release: + needs: build + runs-on: ubuntu-latest + outputs: + released: ${{ steps.verwalter.outputs.released }} + releases: ${{ steps.verwalter.outputs.releases }} + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + # The merge commit itself: a push to main right after the merge + # must not move the tags. + ref: ${{ github.event.pull_request.merge_commit_sha || inputs.ref || github.sha }} + fetch-depth: 0 + - id: verwalter + uses: livekit/verwalter@9da894a1e4f7d298095a961be60c818afd47905b # v0.32.0-rc.1 + with: + command: release + app-client-id: ${{ secrets.VERWALTER_RELEASE_CLIENT_ID }} + app-private-key: ${{ secrets.VERWALTER_RELEASE_APP_KEY }} + + # `npm publish` runs the `prepare` script (bob build) on the installed + # workspace. Skips a version npm already has, so a re-run is safe. + publish: + needs: release + if: needs.release.outputs.released == 'true' || github.event_name == 'workflow_dispatch' + runs-on: ubuntu-latest + # One publish at a time, in arrival order. A waiting publish checks out + # after the running one ends, so it sees the newer tag and picks the + # right npm dist-tag. `queue: max` keeps every waiting run: without it, + # a third run cancels the waiting one. + concurrency: + group: npm-publish + cancel-in-progress: false + queue: max + permissions: + contents: write # the tool flips the draft release after the publish + id-token: write # npm trusted publishing + outputs: + published: ${{ steps.publish.outputs.published }} + outcomes: ${{ steps.publish.outputs.outcomes }} + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + ref: ${{ github.event.pull_request.merge_commit_sha || inputs.ref || github.sha }} + fetch-depth: 0 # tags decide what is published + # No registry-url: its placeholder token breaks trusted publishing. + - name: Use Node.js 24 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 + with: + node-version: 24 # npm 11.5.1 or later is required for OIDC trusted publishing + cache: yarn + cache-dependency-path: yarn.lock + - run: corepack enable + - run: yarn install --immutable + - id: publish + uses: livekit/verwalter@9da894a1e4f7d298095a961be60c818afd47905b # v0.32.0-rc.1 + env: + GH_TOKEN: ${{ github.token }} + with: + command: publish + releases: ${{ needs.release.outputs.releases }} + + # After the publish, in its own job: a failure here is red, and the + # release jobs stay green. The docs site shows the latest stable version, + # so a pre-release (a version with `-`) does not replace it. `outcomes` + # carries the version also on a re-run by hand, where `releases` is empty. + # `exists` counts too: a repair run finds the version on npm, and the docs + # of that version still need their upload. + # Only from main: the site holds one version, and a release from another + # branch must not replace it. + # ponytail: a run by hand with an older tag uploads older docs. Skip when a + # newer final tag exists, if that ever happens. + docs: + needs: publish + if: (contains(fromJSON(needs.publish.outputs.outcomes).*.status, 'published') || contains(fromJSON(needs.publish.outputs.outcomes).*.status, 'exists')) && !contains(join(fromJSON(needs.publish.outputs.outcomes).*.version), '-') && (github.event.pull_request.base.ref == 'main' || github.ref == 'refs/heads/main') + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + ref: ${{ github.event.pull_request.merge_commit_sha || inputs.ref || github.sha }} + - name: Use Node.js 24 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 + with: + node-version: 24 + cache: yarn + cache-dependency-path: yarn.lock + - run: corepack enable + - run: yarn install --immutable + - name: Build docs + run: yarn build-docs --treatWarningsAsErrors + - name: S3 Upload + run: aws s3 cp docs/ s3://livekit-docs/client-sdk-react-native --recursive + env: + AWS_ACCESS_KEY_ID: ${{ secrets.DOCS_DEPLOY_AWS_ACCESS_KEY }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_DEPLOY_AWS_API_SECRET }} + AWS_DEFAULT_REGION: 'us-east-1' + + # The end state, asserted: `status --check` fails when the tag is not on + # the remote, the GitHub release is missing or still a draft, or npm does + # not have the version. A step that was skipped without an error ends here. + verify: + needs: publish + runs-on: ubuntu-latest + permissions: + contents: write # reads only. A draft release is visible only with write access + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + ref: ${{ github.event.pull_request.merge_commit_sha || inputs.ref || github.sha }} + fetch-depth: 0 + - uses: livekit/verwalter@9da894a1e4f7d298095a961be60c818afd47905b # v0.32.0-rc.1 + with: + command: status + args: --check diff --git a/.gitignore b/.gitignore index 98d73569..505473e0 100644 --- a/.gitignore +++ b/.gitignore @@ -85,4 +85,6 @@ lib/ !**/.yarn/plugins !**/.yarn/releases !**/.yarn/sdks -!**/.yarn/versions \ No newline at end of file +!**/.yarn/versions +# typedoc output, uploaded to S3 by release.yaml +docs/ diff --git a/.pinact.yaml b/.pinact.yaml index a6d989b5..0a70affa 100644 --- a/.pinact.yaml +++ b/.pinact.yaml @@ -1,8 +1 @@ version: 3 - -ignore_actions: - # changesets/action v2 requires @changesets/cli v3 and renames the - # `version`/`publish` inputs. Hold v1.9.0 until the repo migrates to - # Changesets v3; remove this entry as part of that migration. - - name: changesets/action - ref: a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d diff --git a/AGENTS.md b/AGENTS.md index e94de4ba..998fc09a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -25,7 +25,7 @@ The pre-commit hook runs `yarn lint && yarn typescript`. CI additionally compile - `android/`, `ios/` — native modules (Kotlin / Swift+ObjC); mostly audio session management, audio processing, and video codec factories. Podspec: `livekit-react-native.podspec`. - `example/` — bare RN example app (yarn workspace, not Expo). - `ci/` — minimal RN app used only for native compile checks in CI. -- `docs/` — generated typedoc output; do not edit by hand. +- `docs/` — typedoc output (`yarn build-docs`), not committed. `release.yaml` uploads it to the docs site. Expo support lives in a separate repo: [client-sdk-react-native-expo-plugin](https://github.com/livekit/client-sdk-react-native-expo-plugin). @@ -71,4 +71,4 @@ Polyfills and API surface: ## Releases -Uses [Changesets](https://github.com/changesets/changesets). Every user-facing change needs a changeset (`yarn changeset`); releases are published from `main` by the Release workflow. +Uses [verwalter](https://github.com/livekit/verwalter) (`verwalter.toml`). Every user-facing change needs a changeset file in `.changeset/` (`verwalter changeset`). Merging the release PR `release/main` publishes. See `RELEASING.md`. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3b9374f4..386aa53c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -65,15 +65,21 @@ Our pre-commit hooks verify that the linter and tests pass when committing. ### Publishing to npm -We use [Changesets](https://github.com/changesets/changesets) to manage versioning and releases. +We use [verwalter](https://github.com/livekit/verwalter) to manage versioning and releases. -If your pull request includes user-facing changes, add a changeset describing the change: +If your pull request includes user-facing changes, add a changeset file in `.changeset/`, for example `.changeset/fix-audio-routing.md`: -```sh -yarn changeset +```md +--- +'@livekit/react-native': patch +--- + +Fix audio routing to the speaker on iOS. ``` -When changesets are merged to `main`, the [Release workflow](.github/workflows/changeset.yaml) opens a "Version Packages" pull request. Merging that PR bumps the version, publishes to npm, and creates a GitHub release. +Use `patch` for a fix, `minor` for an addition and `major` for a breaking change. With verwalter installed, `verwalter changeset` writes the file for you. If a pull request has no changeset, the changeset check comments with a link to a prefilled file. + +When changesets are merged to `main`, the release PR `release/main` is opened or updated. Merging it bumps the version, tags, creates a GitHub release and publishes to npm. See [RELEASING.md](RELEASING.md). ### Scripts diff --git a/README.md b/README.md index 95808c11..7f5cebcd 100644 --- a/README.md +++ b/README.md @@ -324,7 +324,7 @@ const styles = StyleSheet.create({ }); ``` -[API documentation is located here.](https://htmlpreview.github.io/?https://raw.githubusercontent.com/livekit/client-sdk-react-native/main/docs/modules.html) +[API documentation is located here.](https://docs.livekit.io/reference/client-sdk-react-native/) Additional documentation for the LiveKit SDK can be found at https://docs.livekit.io/ diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 00000000..ad7ada78 --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,71 @@ +# Releasing client-sdk-react-native + +This repository releases with [verwalter](https://github.com/livekit/verwalter). +The commands that are the same in every repository are in the +[verwalter cheat sheet](https://github.com/livekit/verwalter/blob/main/docs/cheat-sheet.md). +This file holds what is specific to this repository. + +## Packages + +| Package | Tag | Goes to | +| ----------------------- | --------------------------------- | ------- | +| `@livekit/react-native` | `@livekit/react-native@` | npm | + +## Workflows + +| File | Starts when | Does | +| ---------------------- | ------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `changeset-check.yaml` | A PR is opened or updated | Fails a PR that changes the package without a changeset. Fails the release PR when `npm publish --dry-run` fails. | +| `release-pr.yaml` | A push to `main` | Keeps the release PR `release/main` current. | +| `release.yaml` | The release PR merges | Builds, tags, creates the GitHub release, publishes to npm, uploads the docs. | +| `pre-release.yaml` | Run by hand | Opens an rc PR against the branch it runs on. | + +Do not rename `release.yaml`: npm trusted publishing names the file. + +## Release + +1. Merge the release PR. +2. Watch the run of `release.yaml`: `gh run list --workflow release.yaml --limit 1`. + +A release is complete when: + +- the tag `@livekit/react-native@` has a public GitHub release +- npm has the version +- the `verify` job is green. It checks the two points above. + +The `docs` job uploads the API docs to the docs site. It runs only for a +final version that is released from `main`. + +## Pre-release + +`gh workflow run pre-release.yaml --ref ` opens an rc PR against +``. The merge publishes the rc to npm with the dist-tag `next`. + +## A release failed + +Find the cause first. The paths by cause are in the +[recovery section](https://github.com/livekit/verwalter/blob/main/docs/release-workflows.md#recovery). + +| Situation | Command | +| --------------------------------------------------------------- | -------------------------------------------------------------------------- | +| A job failed for a transient reason | `gh run rerun --failed` | +| The workflow file needed a fix, and the fix is on `main` | `gh workflow run release.yaml -f ref=` | +| The docs upload failed | `gh run rerun --failed` | +| The released commit is wrong, and npm does not have the version | `verwalter release --abandon `, then a changeset and the next version | + +A re-run of failed jobs keeps the merge commit. Prefer it to a run by +hand. Set `ref` on a run by hand: an empty `ref` releases the head of +the branch. If no tag exists yet, set `ref` to the merge commit of the +release PR. + +`publish` skips a version that npm has. It fails when the files of the +package changed since the tag. + +A version that npm has cannot be replaced. Deprecate it with +`npm deprecate`, then release the next version. + +## After a release + +If the +[Expo plugin](https://github.com/livekit/client-sdk-react-native-expo-plugin) +needs the new release, update its `@livekit/react-native` version. diff --git a/docs/.nojekyll b/docs/.nojekyll deleted file mode 100644 index e2ac6616..00000000 --- a/docs/.nojekyll +++ /dev/null @@ -1 +0,0 @@ -TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/assets/hierarchy.js b/docs/assets/hierarchy.js deleted file mode 100644 index fb85f0ad..00000000 --- a/docs/assets/hierarchy.js +++ /dev/null @@ -1 +0,0 @@ -window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzytWsqqurQUAmx4Kpg==" \ No newline at end of file diff --git a/docs/assets/highlight.css b/docs/assets/highlight.css deleted file mode 100644 index aec8e247..00000000 --- a/docs/assets/highlight.css +++ /dev/null @@ -1,141 +0,0 @@ -:root { - --light-hl-0: #008000; - --dark-hl-0: #6A9955; - --light-hl-1: #AF00DB; - --dark-hl-1: #C586C0; - --light-hl-2: #000000; - --dark-hl-2: #D4D4D4; - --light-hl-3: #795E26; - --dark-hl-3: #DCDCAA; - --light-hl-4: #001080; - --dark-hl-4: #9CDCFE; - --light-hl-5: #A31515; - --dark-hl-5: #CE9178; - --light-hl-6: #0000FF; - --dark-hl-6: #569CD6; - --light-hl-7: #267F99; - --dark-hl-7: #4EC9B0; - --light-hl-8: #0070C1; - --dark-hl-8: #4FC1FF; - --light-hl-9: #800000; - --dark-hl-9: #808080; - --light-hl-10: #E50000; - --dark-hl-10: #9CDCFE; - --light-hl-11: #000000FF; - --dark-hl-11: #D4D4D4; - --light-hl-12: #098658; - --dark-hl-12: #B5CEA8; - --light-hl-13: #000000; - --dark-hl-13: #C8C8C8; - --light-hl-14: #800000; - --dark-hl-14: #569CD6; - --light-hl-15: #0000FF; - --dark-hl-15: #CE9178; - --light-hl-16: #CD3131; - --dark-hl-16: #F44747; - --light-code-background: #FFFFFF; - --dark-code-background: #1E1E1E; -} - -@media (prefers-color-scheme: light) { :root { - --hl-0: var(--light-hl-0); - --hl-1: var(--light-hl-1); - --hl-2: var(--light-hl-2); - --hl-3: var(--light-hl-3); - --hl-4: var(--light-hl-4); - --hl-5: var(--light-hl-5); - --hl-6: var(--light-hl-6); - --hl-7: var(--light-hl-7); - --hl-8: var(--light-hl-8); - --hl-9: var(--light-hl-9); - --hl-10: var(--light-hl-10); - --hl-11: var(--light-hl-11); - --hl-12: var(--light-hl-12); - --hl-13: var(--light-hl-13); - --hl-14: var(--light-hl-14); - --hl-15: var(--light-hl-15); - --hl-16: var(--light-hl-16); - --code-background: var(--light-code-background); -} } - -@media (prefers-color-scheme: dark) { :root { - --hl-0: var(--dark-hl-0); - --hl-1: var(--dark-hl-1); - --hl-2: var(--dark-hl-2); - --hl-3: var(--dark-hl-3); - --hl-4: var(--dark-hl-4); - --hl-5: var(--dark-hl-5); - --hl-6: var(--dark-hl-6); - --hl-7: var(--dark-hl-7); - --hl-8: var(--dark-hl-8); - --hl-9: var(--dark-hl-9); - --hl-10: var(--dark-hl-10); - --hl-11: var(--dark-hl-11); - --hl-12: var(--dark-hl-12); - --hl-13: var(--dark-hl-13); - --hl-14: var(--dark-hl-14); - --hl-15: var(--dark-hl-15); - --hl-16: var(--dark-hl-16); - --code-background: var(--dark-code-background); -} } - -:root[data-theme='light'] { - --hl-0: var(--light-hl-0); - --hl-1: var(--light-hl-1); - --hl-2: var(--light-hl-2); - --hl-3: var(--light-hl-3); - --hl-4: var(--light-hl-4); - --hl-5: var(--light-hl-5); - --hl-6: var(--light-hl-6); - --hl-7: var(--light-hl-7); - --hl-8: var(--light-hl-8); - --hl-9: var(--light-hl-9); - --hl-10: var(--light-hl-10); - --hl-11: var(--light-hl-11); - --hl-12: var(--light-hl-12); - --hl-13: var(--light-hl-13); - --hl-14: var(--light-hl-14); - --hl-15: var(--light-hl-15); - --hl-16: var(--light-hl-16); - --code-background: var(--light-code-background); -} - -:root[data-theme='dark'] { - --hl-0: var(--dark-hl-0); - --hl-1: var(--dark-hl-1); - --hl-2: var(--dark-hl-2); - --hl-3: var(--dark-hl-3); - --hl-4: var(--dark-hl-4); - --hl-5: var(--dark-hl-5); - --hl-6: var(--dark-hl-6); - --hl-7: var(--dark-hl-7); - --hl-8: var(--dark-hl-8); - --hl-9: var(--dark-hl-9); - --hl-10: var(--dark-hl-10); - --hl-11: var(--dark-hl-11); - --hl-12: var(--dark-hl-12); - --hl-13: var(--dark-hl-13); - --hl-14: var(--dark-hl-14); - --hl-15: var(--dark-hl-15); - --hl-16: var(--dark-hl-16); - --code-background: var(--dark-code-background); -} - -.hl-0 { color: var(--hl-0); } -.hl-1 { color: var(--hl-1); } -.hl-2 { color: var(--hl-2); } -.hl-3 { color: var(--hl-3); } -.hl-4 { color: var(--hl-4); } -.hl-5 { color: var(--hl-5); } -.hl-6 { color: var(--hl-6); } -.hl-7 { color: var(--hl-7); } -.hl-8 { color: var(--hl-8); } -.hl-9 { color: var(--hl-9); } -.hl-10 { color: var(--hl-10); } -.hl-11 { color: var(--hl-11); } -.hl-12 { color: var(--hl-12); } -.hl-13 { color: var(--hl-13); } -.hl-14 { color: var(--hl-14); } -.hl-15 { color: var(--hl-15); } -.hl-16 { color: var(--hl-16); } -pre, code { background: var(--code-background); } diff --git a/docs/assets/icons.js b/docs/assets/icons.js deleted file mode 100644 index 4fbadc5a..00000000 --- a/docs/assets/icons.js +++ /dev/null @@ -1,18 +0,0 @@ -(function() { - addIcons(); - function addIcons() { - if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons); - const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg")); - svg.innerHTML = `MMNEPVFCICPMFPCPTTAAATR`; - svg.style.display = "none"; - if (location.protocol === "file:") updateUseElements(); - } - - function updateUseElements() { - document.querySelectorAll("use").forEach(el => { - if (el.getAttribute("href").includes("#icon-")) { - el.setAttribute("href", el.getAttribute("href").replace(/.*#/, "#")); - } - }); - } -})() \ No newline at end of file diff --git a/docs/assets/icons.svg b/docs/assets/icons.svg deleted file mode 100644 index be7798fc..00000000 --- a/docs/assets/icons.svg +++ /dev/null @@ -1 +0,0 @@ -MMNEPVFCICPMFPCPTTAAATR \ No newline at end of file diff --git a/docs/assets/main.js b/docs/assets/main.js deleted file mode 100644 index 8182ceec..00000000 --- a/docs/assets/main.js +++ /dev/null @@ -1,60 +0,0 @@ -"use strict"; -window.translations={"copy":"Copy","copied":"Copied!","normally_hidden":"This member is normally hidden due to your filter settings.","hierarchy_expand":"Expand","hierarchy_collapse":"Collapse","folder":"Folder","search_index_not_available":"The search index is not available","search_no_results_found_for_0":"No results found for {0}","kind_1":"Project","kind_2":"Module","kind_4":"Namespace","kind_8":"Enumeration","kind_16":"Enumeration Member","kind_32":"Variable","kind_64":"Function","kind_128":"Class","kind_256":"Interface","kind_512":"Constructor","kind_1024":"Property","kind_2048":"Method","kind_4096":"Call Signature","kind_8192":"Index Signature","kind_16384":"Constructor Signature","kind_32768":"Parameter","kind_65536":"Type Literal","kind_131072":"Type Parameter","kind_262144":"Accessor","kind_524288":"Get Signature","kind_1048576":"Set Signature","kind_2097152":"Type Alias","kind_4194304":"Reference","kind_8388608":"Document"}; -"use strict";(()=>{var Ke=Object.create;var he=Object.defineProperty;var Ge=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Xe=Object.getPrototypeOf,Ye=Object.prototype.hasOwnProperty;var et=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var tt=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!Ye.call(t,i)&&i!==n&&he(t,i,{get:()=>e[i],enumerable:!(r=Ge(e,i))||r.enumerable});return t};var nt=(t,e,n)=>(n=t!=null?Ke(Xe(t)):{},tt(e||!t||!t.__esModule?he(n,"default",{value:t,enumerable:!0}):n,t));var ye=et((me,ge)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=(function(e){return function(n){e.console&&console.warn&&console.warn(n)}})(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,l],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. -`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(oc?d+=2:a==c&&(n+=r[l+1]*i[d+1],l+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var c=s.node.edges["*"];else{var c=new t.TokenSet;s.node.edges["*"]=c}if(s.str.length==0&&(c.final=!0),i.push({node:c,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),f=s.str.charAt(1),p;f in s.node.edges?p=s.node.edges[f]:(p=new t.TokenSet,s.node.edges[f]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),c=0;c1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}if(s.type===t.QueryLexer.TERM)return t.QueryParser.parseTerm;var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},(function(e,n){typeof define=="function"&&define.amd?define(n):typeof me=="object"?ge.exports=n():e.lunr=n()})(this,function(){return t})})()});var M,G={getItem(){return null},setItem(){}},K;try{K=localStorage,M=K}catch{K=G,M=G}var S={getItem:t=>M.getItem(t),setItem:(t,e)=>M.setItem(t,e),disableWritingLocalStorage(){M=G},disable(){localStorage.clear(),M=G},enable(){M=K}};window.TypeDoc||={disableWritingLocalStorage(){S.disableWritingLocalStorage()},disableLocalStorage:()=>{S.disable()},enableLocalStorage:()=>{S.enable()}};window.translations||={copy:"Copy",copied:"Copied!",normally_hidden:"This member is normally hidden due to your filter settings.",hierarchy_expand:"Expand",hierarchy_collapse:"Collapse",search_index_not_available:"The search index is not available",search_no_results_found_for_0:"No results found for {0}",folder:"Folder",kind_1:"Project",kind_2:"Module",kind_4:"Namespace",kind_8:"Enumeration",kind_16:"Enumeration Member",kind_32:"Variable",kind_64:"Function",kind_128:"Class",kind_256:"Interface",kind_512:"Constructor",kind_1024:"Property",kind_2048:"Method",kind_4096:"Call Signature",kind_8192:"Index Signature",kind_16384:"Constructor Signature",kind_32768:"Parameter",kind_65536:"Type Literal",kind_131072:"Type Parameter",kind_262144:"Accessor",kind_524288:"Get Signature",kind_1048576:"Set Signature",kind_2097152:"Type Alias",kind_4194304:"Reference",kind_8388608:"Document"};var pe=[];function X(t,e){pe.push({selector:e,constructor:t})}var Z=class{alwaysVisibleMember=null;constructor(){this.createComponents(document.body),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible()),document.body.style.display||(this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}createComponents(e){pe.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}showPage(){document.body.style.display&&(document.body.style.removeProperty("display"),this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}scrollToHash(){if(location.hash){let e=document.getElementById(location.hash.substring(1));if(!e)return;e.scrollIntoView({behavior:"instant",block:"start"})}}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e&&!rt(e)){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r,document.querySelector(".col-sidebar").scrollTop=r}}updateIndexVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=n)}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(!n)return;let r=n.offsetParent==null,i=n;for(;i!==document.body;)i instanceof HTMLDetailsElement&&(i.open=!0),i=i.parentElement;if(n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let s=document.createElement("p");s.classList.add("warning"),s.textContent=window.translations.normally_hidden,n.prepend(s)}r&&e.scrollIntoView()}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent=window.translations.copied,e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent=window.translations.copy},100)},1e3)})})}};function rt(t){let e=t.getBoundingClientRect(),n=Math.max(document.documentElement.clientHeight,window.innerHeight);return!(e.bottom<0||e.top-n>=0)}var fe=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var Ie=nt(ye(),1);async function R(t){let e=Uint8Array.from(atob(t),s=>s.charCodeAt(0)),r=new Blob([e]).stream().pipeThrough(new DecompressionStream("deflate")),i=await new Response(r).text();return JSON.parse(i)}var Y="closing",ae="tsd-overlay";function it(){let t=Math.abs(window.innerWidth-document.documentElement.clientWidth);document.body.style.overflow="hidden",document.body.style.paddingRight=`${t}px`}function st(){document.body.style.removeProperty("overflow"),document.body.style.removeProperty("padding-right")}function Ee(t,e){t.addEventListener("animationend",()=>{t.classList.contains(Y)&&(t.classList.remove(Y),document.getElementById(ae)?.remove(),t.close(),st())}),t.addEventListener("cancel",n=>{n.preventDefault(),ve(t)}),e?.closeOnClick&&document.addEventListener("click",n=>{t.open&&!t.contains(n.target)&&ve(t)},!0)}function xe(t){if(t.open)return;let e=document.createElement("div");e.id=ae,document.body.appendChild(e),t.showModal(),it()}function ve(t){if(!t.open)return;document.getElementById(ae)?.classList.add(Y),t.classList.add(Y)}var I=class{el;app;constructor(e){this.el=e.el,this.app=e.app}};var be=document.head.appendChild(document.createElement("style"));be.dataset.for="filters";var le={};function Le(t){for(let e of t.split(/\s+/))if(le.hasOwnProperty(e)&&!le[e])return!0;return!1}var ee=class extends I{key;value;constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),be.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } -`,this.app.updateIndexVisibility()}fromLocalStorage(){let e=S.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){S.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),le[`tsd-is-${this.el.name}`]=this.value,this.app.filterChanged(),this.app.updateIndexVisibility()}};var we=0;async function Se(t,e){if(!window.searchData)return;let n=await R(window.searchData);t.data=n,t.index=Ie.Index.load(n.index),e.innerHTML=""}function _e(){let t=document.getElementById("tsd-search-trigger"),e=document.getElementById("tsd-search"),n=document.getElementById("tsd-search-input"),r=document.getElementById("tsd-search-results"),i=document.getElementById("tsd-search-script"),s=document.getElementById("tsd-search-status");if(!(t&&e&&n&&r&&i&&s))throw new Error("Search controls missing");let o={base:document.documentElement.dataset.base};o.base.endsWith("/")||(o.base+="/"),i.addEventListener("error",()=>{let a=window.translations.search_index_not_available;Pe(s,a)}),i.addEventListener("load",()=>{Se(o,s)}),Se(o,s),ot({trigger:t,searchEl:e,results:r,field:n,status:s},o)}function ot(t,e){let{field:n,results:r,searchEl:i,status:s,trigger:o}=t;Ee(i,{closeOnClick:!0});function a(){xe(i),n.setSelectionRange(0,n.value.length)}o.addEventListener("click",a),n.addEventListener("input",fe(()=>{at(r,n,s,e)},200)),n.addEventListener("keydown",l=>{if(r.childElementCount===0||l.ctrlKey||l.metaKey||l.altKey)return;let d=n.getAttribute("aria-activedescendant"),f=d?document.getElementById(d):null;if(f){let p=!1,v=!1;switch(l.key){case"Home":case"End":case"ArrowLeft":case"ArrowRight":v=!0;break;case"ArrowDown":case"ArrowUp":p=l.shiftKey;break}(p||v)&&ke(n)}if(!l.shiftKey)switch(l.key){case"Enter":f?.querySelector("a")?.click();break;case"ArrowUp":Te(r,n,f,-1),l.preventDefault();break;case"ArrowDown":Te(r,n,f,1),l.preventDefault();break}});function c(){ke(n)}n.addEventListener("change",c),n.addEventListener("blur",c),n.addEventListener("click",c),document.body.addEventListener("keydown",l=>{if(l.altKey||l.metaKey||l.shiftKey)return;let d=l.ctrlKey&&l.key==="k",f=!l.ctrlKey&&!ut()&&l.key==="/";(d||f)&&(l.preventDefault(),a())})}function at(t,e,n,r){if(!r.index||!r.data)return;t.innerHTML="",n.innerHTML="",we+=1;let i=e.value.trim(),s;if(i){let a=i.split(" ").map(c=>c.length?`*${c}*`:"").join(" ");s=r.index.search(a).filter(({ref:c})=>{let l=r.data.rows[Number(c)].classes;return!l||!Le(l)})}else s=[];if(s.length===0&&i){let a=window.translations.search_no_results_found_for_0.replace("{0}",` "${te(i)}" `);Pe(n,a);return}for(let a=0;ac.score-a.score);let o=Math.min(10,s.length);for(let a=0;a`,f=Ce(c.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(f+=` (score: ${s[a].score.toFixed(2)})`),c.parent&&(f=` - ${Ce(c.parent,i)}.${f}`);let p=document.createElement("li");p.id=`tsd-search:${we}-${a}`,p.role="option",p.ariaSelected="false",p.classList.value=c.classes??"";let v=document.createElement("a");v.tabIndex=-1,v.href=r.base+c.url,v.innerHTML=d+`${f}`,p.append(v),t.appendChild(p)}}function Te(t,e,n,r){let i;if(r===1?i=n?.nextElementSibling||t.firstElementChild:i=n?.previousElementSibling||t.lastElementChild,i!==n){if(!i||i.role!=="option"){console.error("Option missing");return}i.ariaSelected="true",i.scrollIntoView({behavior:"smooth",block:"nearest"}),e.setAttribute("aria-activedescendant",i.id),n?.setAttribute("aria-selected","false")}}function ke(t){let e=t.getAttribute("aria-activedescendant");(e?document.getElementById(e):null)?.setAttribute("aria-selected","false"),t.setAttribute("aria-activedescendant","")}function Ce(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(te(t.substring(s,o)),`${te(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(te(t.substring(s))),i.join("")}var lt={"&":"&","<":"<",">":">","'":"'",'"':"""};function te(t){return t.replace(/[&<>"'"]/g,e=>lt[e])}function Pe(t,e){t.innerHTML=e?`
${e}
`:""}var ct=["button","checkbox","file","hidden","image","radio","range","reset","submit"];function ut(){let t=document.activeElement;return t?t.isContentEditable||t.tagName==="TEXTAREA"||t.tagName==="SEARCH"?!0:t.tagName==="INPUT"&&!ct.includes(t.type):!1}var D="mousedown",Me="mousemove",$="mouseup",ne={x:0,y:0},Qe=!1,ce=!1,dt=!1,F=!1,Oe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(Oe?"is-mobile":"not-mobile");Oe&&"ontouchstart"in document.documentElement&&(dt=!0,D="touchstart",Me="touchmove",$="touchend");document.addEventListener(D,t=>{ce=!0,F=!1;let e=D=="touchstart"?t.targetTouches[0]:t;ne.y=e.pageY||0,ne.x=e.pageX||0});document.addEventListener(Me,t=>{if(ce&&!F){let e=D=="touchstart"?t.targetTouches[0]:t,n=ne.x-(e.pageX||0),r=ne.y-(e.pageY||0);F=Math.sqrt(n*n+r*r)>10}});document.addEventListener($,()=>{ce=!1});document.addEventListener("click",t=>{Qe&&(t.preventDefault(),t.stopImmediatePropagation(),Qe=!1)});var re=class extends I{active;className;constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener($,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(D,n=>this.onDocumentPointerDown(n)),document.addEventListener($,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){F||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!F&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var ue=new Map,de=class{open;accordions=[];key;constructor(e,n){this.key=e,this.open=n}add(e){this.accordions.push(e),e.open=this.open,e.addEventListener("toggle",()=>{this.toggle(e.open)})}toggle(e){for(let n of this.accordions)n.open=e;S.setItem(this.key,e.toString())}},ie=class extends I{constructor(e){super(e);let n=this.el.querySelector("summary"),r=n.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)});let i=`tsd-accordion-${n.dataset.key??n.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`,s;if(ue.has(i))s=ue.get(i);else{let o=S.getItem(i),a=o?o==="true":this.el.open;s=new de(i,a),ue.set(i,s)}s.add(this.el)}};function He(t){let e=S.getItem("tsd-theme")||"os";t.value=e,Ae(e),t.addEventListener("change",()=>{S.setItem("tsd-theme",t.value),Ae(t.value)})}function Ae(t){document.documentElement.dataset.theme=t}var se;function Ne(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",Re),Re())}async function Re(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let e=await R(window.navigationData);se=document.documentElement.dataset.base,se.endsWith("/")||(se+="/"),t.innerHTML="";for(let n of e)Ve(n,t,[]);window.app.createComponents(t),window.app.showPage(),window.app.ensureActivePageVisible()}function Ve(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-accordion`:"tsd-accordion";let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.dataset.key=i.join("$"),o.innerHTML='',De(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let c=a.appendChild(document.createElement("ul"));c.className="tsd-nested-navigation";for(let l of t.children)Ve(l,c,i)}else De(t,r,t.class)}function De(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));if(r.href=se+t.path,n&&(r.className=n),location.pathname===r.pathname&&!r.href.includes("#")&&(r.classList.add("current"),r.ariaCurrent="page"),t.kind){let i=window.translations[`kind_${t.kind}`].replaceAll('"',""");r.innerHTML=``}r.appendChild(Fe(t.text,document.createElement("span")))}else{let r=e.appendChild(document.createElement("span")),i=window.translations.folder.replaceAll('"',""");r.innerHTML=``,r.appendChild(Fe(t.text,document.createElement("span")))}}function Fe(t,e){let n=t.split(/(?<=[^A-Z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|(?<=[_-])(?=[^_-])/);for(let r=0;r{let i=r.target;for(;i.parentElement&&i.parentElement.tagName!="LI";)i=i.parentElement;i.dataset.dropdown&&(i.dataset.dropdown=String(i.dataset.dropdown!=="true"))});let t=new Map,e=new Set;for(let r of document.querySelectorAll(".tsd-full-hierarchy [data-refl]")){let i=r.querySelector("ul");t.has(r.dataset.refl)?e.add(r.dataset.refl):i&&t.set(r.dataset.refl,i)}for(let r of e)n(r);function n(r){let i=t.get(r).cloneNode(!0);i.querySelectorAll("[id]").forEach(s=>{s.removeAttribute("id")}),i.querySelectorAll("[data-dropdown]").forEach(s=>{s.dataset.dropdown="false"});for(let s of document.querySelectorAll(`[data-refl="${r}"]`)){let o=gt(),a=s.querySelector("ul");s.insertBefore(o,a),o.dataset.dropdown=String(!!a),a||s.appendChild(i.cloneNode(!0))}}}function pt(){let t=document.getElementById("tsd-hierarchy-script");t&&(t.addEventListener("load",Be),Be())}async function Be(){let t=document.querySelector(".tsd-panel.tsd-hierarchy:has(h4 a)");if(!t||!window.hierarchyData)return;let e=+t.dataset.refl,n=await R(window.hierarchyData),r=t.querySelector("ul"),i=document.createElement("ul");if(i.classList.add("tsd-hierarchy"),ft(i,n,e),r.querySelectorAll("li").length==i.querySelectorAll("li").length)return;let s=document.createElement("span");s.classList.add("tsd-hierarchy-toggle"),s.textContent=window.translations.hierarchy_expand,t.querySelector("h4 a")?.insertAdjacentElement("afterend",s),s.insertAdjacentText("beforebegin",", "),s.addEventListener("click",()=>{s.textContent===window.translations.hierarchy_expand?(r.insertAdjacentElement("afterend",i),r.remove(),s.textContent=window.translations.hierarchy_collapse):(i.insertAdjacentElement("afterend",r),i.remove(),s.textContent=window.translations.hierarchy_expand)})}function ft(t,e,n){let r=e.roots.filter(i=>mt(e,i,n));for(let i of r)t.appendChild(je(e,i,n))}function je(t,e,n,r=new Set){if(r.has(e))return;r.add(e);let i=t.reflections[e],s=document.createElement("li");if(s.classList.add("tsd-hierarchy-item"),e===n){let o=s.appendChild(document.createElement("span"));o.textContent=i.name,o.classList.add("tsd-hierarchy-target")}else{for(let a of i.uniqueNameParents||[]){let c=t.reflections[a],l=s.appendChild(document.createElement("a"));l.textContent=c.name,l.href=oe+c.url,l.className=c.class+" tsd-signature-type",s.append(document.createTextNode("."))}let o=s.appendChild(document.createElement("a"));o.textContent=t.reflections[e].name,o.href=oe+i.url,o.className=i.class+" tsd-signature-type"}if(i.children){let o=s.appendChild(document.createElement("ul"));o.classList.add("tsd-hierarchy");for(let a of i.children){let c=je(t,a,n,r);c&&o.appendChild(c)}}return r.delete(e),s}function mt(t,e,n){if(e===n)return!0;let r=new Set,i=[t.reflections[e]];for(;i.length;){let s=i.pop();if(!r.has(s)){r.add(s);for(let o of s.children||[]){if(o===n)return!0;i.push(t.reflections[o])}}}return!1}function gt(){let t=document.createElementNS("http://www.w3.org/2000/svg","svg");return t.setAttribute("width","20"),t.setAttribute("height","20"),t.innerHTML='',t}X(re,"a[data-toggle]");X(ie,".tsd-accordion");X(ee,".tsd-filter-item input[type=checkbox]");var qe=document.getElementById("tsd-theme");qe&&He(qe);var yt=new Z;Object.defineProperty(window,"app",{value:yt});_e();Ne();$e();"virtualKeyboard"in navigator&&(navigator.virtualKeyboard.overlaysContent=!0);})(); -/*! Bundled license information: - -lunr/lunr.js: - (** - * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 - * Copyright (C) 2020 Oliver Nightingale - * @license MIT - *) - (*! - * lunr.utils - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Set - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.tokenizer - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Pipeline - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Vector - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.stemmer - * Copyright (C) 2020 Oliver Nightingale - * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt - *) - (*! - * lunr.stopWordFilter - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.trimmer - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.TokenSet - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Index - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Builder - * Copyright (C) 2020 Oliver Nightingale - *) -*/ diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js deleted file mode 100644 index 2eb1d7d7..00000000 --- a/docs/assets/navigation.js +++ /dev/null @@ -1 +0,0 @@ -window.navigationData = "eJydl01z2jAQhv+LzkzT0CZtuUFLO51AwoSES6cHYS+OJrLkkWRa2ul/74BDLMkryXBlXz37od21+PGXGPhtyIiM65zJJWjNpCADUlHzREYk41Rr0Be29c2TKTkZkGcmcjK6HH78N3il3N9Oh9PpnApagOpiHHOccwO7hZJbluMcyxzjTKhaMV1Tzv6AWihZ6RbGhAG1oRnoi67MhQ6vri3ojG3hhpl7Kcsw0hfFgPOaGzahIn9QNHteSV6XcFcZJgXOjuhjbhZUGZaxigqzNNQAyvZFHeCguQUyIjlUCjJqICf21UHBtAH1jcs15TqWBy6NpeA0UDiJriwKlbKMhtnaU5hISEdrDDEWuZIsP0zbw67qNoHZVftpxGUe+e2nD5dXQ5teVRwOhz5TA4VUuw64ozid2QSTJje6E/hSbFhRK5rA27L+9LnMIQzdW5OsdJCnx7c/MRUFE+Cc89rMwofEvTwd1kmY3ZpRWmoxOEs20NmYJhX697ul/XlaSM6yTmejohR5JosZbIH7sOPvqfN34ngRcEsN2zbN5NNw1Vkl9j5HDR/7/PTDOZ/ZwI1hmlRdlmCOJQxQu4oU81GDs/UD4IAsRV+xHJr+R0vsmZPD5u3vhQINxqJuqWJ0zZFV/yJ1Pbyz4VwWGIjLInKoTQA721ojCGd0W8qmFtmhxO5su6Dr9xaoAPMFNrTmJrDVv0rlruvWR9+zvvvUJFivOcytZY4kptznDgbyJBGYbicEA1nmOKSujquxmYgShAkAMWkMLpWxXpNovr4mgqs1TKgaC1ZSI9EGcxVxVL+kUeGpvVNrODzY1+6DPeAPk8ZTseoXYFqKM4IP/KdzPET+2PnhhmboxXRGgOmi9qvlYc2tGPzCKK/GfgH+/A9PjEvK" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js deleted file mode 100644 index 48376c3b..00000000 --- a/docs/assets/search.js +++ /dev/null @@ -1 +0,0 @@ -window.searchData = "eJy1nVtz3DaygP/L6HXKYfNOvTmOvZuKs9axN94HlStFcaARVzPkLMmRrbj8308BvDWA5kxzqDwlZbEvAD40wG4M+H1VlV/r1fXt99VjXmxW1+DG61WR7sXqevX6uMnLT6Ku87JYrVfHare6XmW7tK5F/RP+46uHZr9brfu/ra5Xqx/rXmMA7qAxK4u6qY5ZU1bnFV7pTyPl69UhrUTRmD6ORl3Hj7HV+3x7rIR6mGe4FUg7gcttb0WjHvtwbA7HpmYY34pGmS0Hicut12InMuwAw34rg1xY6EHz+nDYtV3/puvXtGERdVWLJpXCypnMEF7k0y/iPj3umo9iXzatb/+u0uzxc7k77gXPs02rolIqlIeNVPHUq1jg30P5VT33sTw24ibPHgVnukgx5UclxQ692AI/mrRq5gWBKyWjvKgHmSUelIfZDpSHJfZxAPz4r7fu27e/p0W6JUZA++uLhEBbIysG6m6irgxd8P3Bcl7/kjbpm4e0KMTubZFVzwc5ld4W6d1ObDjO5PUmbdKs1SAGDWLQsNC/Wa5cbBUD1jVCdgzHavf4pn18gd2HtNjsRDcIYsO134qJXmy5H7VobtKqybP8kBbNG6m2rGYMQy2awyiftfIvMjK1aD7l9/+u0nzHmnvSlTq/bwaBZbaPB6ZN9eBSW2+LbV7Y686URdE/Ps+uHtp+E883VfmUb8juRX99odBmamSGNuzmRBdu8vpQ1lT3WTbHRxfY24rmfdqIuvlNPP9abMQ3juWtaHZK6FE8553QAh+qtMkehPSAY7x7+lE9vdzqp4e0Ept5tmsls9iDmt3m+gXaW89sa/2S7TwZ/kjTnPA3YTsIB9M/p9XnvD6mu/wvUd1U5WF8a8mLRlT3aSbqn+ynTsYJcNxxpb9LqzflsWhm6L26S6usk6GbRrg9Yb5Uu5Y5rboaRZYar5u0EXNM9wLLDT/vZhpuBZYaVq9FH8X9HNtKplIyF5jHNL/Pn8RvefOxLPeTLJvP8ElOtYzCOZVXp/MJlqsTRrOyKERGzh7a7CjwIoY/TM+fk/bPTSKuG/cibY6VeLdLtzOc6KTuO6llLpTFm7ZNaJt81oOyyJDQUgd+yevsEh82utxSN9CLZFWhjR/DE/QG2Ykudma2Cy9k+HexydNfxFOeiXdpvjtWZKSd8mIvpTdK+n6QXujS3Dn6UpOzKss932r39DKTdVYJUfCNDs8vNCuqJ1H9Ue1mWFYix2q33Hi+P8r3CfT2PmOwe+mDLr3MpaZ8nDMK/ePLjMqN7IwFuH98tlG8pfj9uGvyn9Nig3LGJ9bEE4/P2TIXm4u0X/WSdJNPtWXClX367V0l/ncURfZ8kUf79Ns9UvByjuXFQsfy4m9x7HjYpI34VXrylJLh4qxrrYp8VLHEOQwzCiCfpl5NzGf42GbpXlTpzfFul2d61eec+qtW9KCJ0o22mnB6+5qXxf/JF4eGhGTCmUH0f4PoMmfy+n2Z0TDQLuT1rhNYavjTQaSPebGdY7seZZaZ34sm3eB091njSGKh6TyrysNDWYiLgBzFXxJKpIuM77QvhtQyF9r9kEp0XdQxrbxKfL1kz9THuzqr8jvRBrMZvTNKNr3kbFdwjPwotnndiOofu/Iu3dUn1nr6yTn5hGaokguy8skzdiUV6ccYztVDJxo50SO4xDC5bthP8XtCuEKYldfzqq+k2H4QY9RHTiL4SNRIGE48iufDKHaBE1pXl+X+FHHjn/mdW5dVc+7NwVR8JYVYLwzY4+k2TVPT/3FmGm46Sugar8bDGqfbcBINMZVqMIydzjCcNXNgjBJeF7jjc9Lo1Du8YezkyztlxHWSCIKxYPi62FRlvmnP3zwfrJeo5vkgz3jQT82k43XTVPndsRH1m7JoRNFIVTMstdSkg5as1dK0WiaOmEy0j+fnH3W6FQu9PEodL+7juzI71r+Xm/me3UvJfSv5cv5c5MqLe/GpqUS6v2jAaiX6kuN0X1aZ+Kc6LjIcJcNbfoZnSkV74mQ4VnbqDWCmh+0q/XrgaY5rrexI1AKfrJg0nlZMG7Etq2fTMeuBk5HovP7Wp7NW2scutUWevLRM4admxtfzvWUpb9nPRsGJMZxoBcebiRWF7dS5rPglvlHR6qxDp6PVWS+myTjpjfzjPOLOwraEs3Yy8zRejU+fOP/JGrW8tACasNk+eYE9sh/bU2GaiL5pRs5MPcvv3by+2aXP5bExj/9xrVzl9aHVcO4A4OnWTfr3UWRltcmL7QIPq17H3+Tj5zLPxE1VZvJte5GnT1LTYdD0t/h7qMS9qFQ+UFTGLwTYrrZK6lYJ5ycDDC/J+aBe8CZnwPjXWRFLO0hCLxfUI7MOO/1cVhtRfUw3ubXNmdQtDzzdKbmql2OchDmz51IHr3bovZXhRNYJvIj1/+Sb5mGO9a+dwHLr+/TbP0W+fTAJnza/T7899BIvYD8v5trPi2X2TdZ//fAJ5xRvyl2emRs28hk+7RuRZk3+lDbiQ/GpKQ9s7VejpDwXXE4fq6ZbMRXh2hWJ78Yo8ALWh9WGbx+LvKQH/8mbh/LYGOvTBX59bRUZy9PF3pqMvi+378WT2Bme9f88K7Z/KIZc+r/SJn8yfgDYaqYfmmVHP1jYqp15kHCfa/lEU8fV8PeJQsbJs0B3/xVZ8y43ZwE+/aMeuc+nuZ9xttTSfvok6fnzHWppn1avnmm6Zy6w8deHCif4Lf1/ldWpTL51VMSgQztzTe8wqEdmEfhJNP0MoS3YD/DZ3LXHYt7sclE0E/NzQv+VlH3Mm0zJ7srtrpOlu5JoxnSb/6iFVkShGz7xFL/1j+cG75QFXAo6l0uYas/UnLN+mMBw5/yvE857YY7D52GKUnHQ+OuM99Gyvvn1hqFNvnUf8un9gunfnAhM2jsTi5n2pqIyafJ8fGZapSI1afF0zGZas47+nzB49sg/0yYZzUmLZ+L6tD1vuoR1Uwn5S5zB/FNa5fLF3U5od0/OOEtV7vfHwjydwTNwZQrz0uW9ij//VLWJySM9mzyd61AvtNARNBS7cks4sSu3J7vYowIZoWf840l14dgt2svZoPH+WKhzZMaLH1fpdri7YCLp+66stJTuaI8rynUFnZYlrKG/chVW+gkUQqnxBFdxLexty6gU/XWGwuOhf7NpF8q9QL9n05RTT7INTR3UQBaMR7iqj7X4Oa1eF/k+xT/YHRXrD8xQy+oY8rkZRtRJ1zv9pCtthnpyhiHUt7R+9MAMtfTdEppi/gUThmp6RnZ/maHobNde0KMqjn7OxVdC4/A3StmX9ar93fT199WTqNRZtuuV+8p7lazWq/tc7DbyIqPWzlqtli15mzI7qv/90j32Wf4WrZIPt0//5KzWt87aD1/5vv/ly/q2F1Z/UP/Q6xj/RQnCan0Lay96lUSgCYIlCJqgu1rfupRF1xJ0NUFvtb71KEHPEvQ0QX+1vvUpQd8S9DXBYLW+DSjBwBIMNMFwtb4NKcHQEgw1wWi1vo0owcgSjDTBeLW+jSnB2BKMNcFktb5NKMHEEkx0ACQPQLIDNjxg0DOND8GPDhBILABIwzZDoEMEEg0g+QObI9BBAokHkAyCzRLoMIFEBEgOweYJdKBAYgIki2AzBTpUIFGBcO3DK88LdWGbK9DBAokLkEyCzRbocIFEBkguweYLdMBcBRjJpmsD5uqAuZOAuTZgrhGhVIgiyXaJIKUD5kpkXJJO1wbM1QFzJTIuHR1twFwdMFci45J0ujZgrg6YK5FxSTpdGzBXB8yVyLgkna4NmKsD5saTdLo2YK4OmCuRcclQ69qAuTpgnkTGJdH2bMA8HTBPMuPGlNueTZinE+Ypwki0PZswz1gH1ULoUGx7xFKoE+ZJZjwg3bYJ83TCPMmMR+Lp2YR5OmGeZMajF3CbME8nzJPMeCSenk2YpxPmSWY8Ek/PJszTCfMkMx5JmGcT5umE+ZIZjyTMtwnzdcJ8yYxHBk/fJszXCfMlMx5JmG8T5uuE+ZIZnwyAvk2Yb+y21HaLDIA+seHSCfODyVnl24T5OmG+ZMZ3SWGbMF8nzJfM+CSevk2YrxPmS2Z8eo9pE+brhPmSGZ/E07cJ83XCAsmMT+IZ2IQFOmGBZMYn8QxswgKdsEAy45N4BjZhgU5YoAgj8QxswgKdsEAyE5B4BjZhgbGnV5t6Es+A2NbrhAWSmYAMgIFNWKATFkhmApKwwCYs0AkLJDMBSVhgExbohAWSmYB+k7EJC3TCQslMQL/N2ISFOmGhZCYgCQttwkKdsFAyE5CEhTZhoU5YKJkJSMJCm7BQJyyUzIQkYaFNWKgTFkpmQpKw0CYsNN4c1asjSVhIvDzqhIWSmZAkLLQJC3XCQslMSBIW2oSFOmGhZCYkCQttwkKdsEgyE5KERTZhkU5YJJkJ6Xdmm7BIJyySzIQkYZFNWKQTFklmwoRabiKbsEgnLJLMRCRhkU1YpBMWSWYikrDIJizSCYskMxFJWGQTFhn5CZWgIAmLiBSFTlgUT67PkU1YpBMWSWYiEs/IJizSCYslMxGJZ2wTFuuExZKZiMQztgmLdcJiyUxE4hnbhMU6YbFkJiJ3Q7FNWKwTFivCyAAY24TFOmGxZCYm8YxtwmKdsFgyE5N4xjZhsU5YLJmJSTxjm7DYyIKpNBiJZ0wkwnTCYslMTBIW24TFOmGJZCYmCUtswhKdsEQyE5OEJTZhiU5Y4k5CktiEJTphiWQmJvFMbMISnbBEMhOT0TOxCUt0whJFGJ15tAlLdMISyUxC4pnYhCU6YYlkJiHxTGzCEp2wRDKTkHgmNmGJkWtVyVYSz4RIt5r5VglNQicQHSrjaqRcHclNQucQHSLr6hhpV0eik5CUtn8z5Y3MqyPpSehMokPkXh0j+epIgBI6megQ6VfHyL86kqGEJK79mylvpGAdlYN1JjLeRBbWMdKwjsrDOnTm2iEysY6RinVUqsyhs9cOkY11jHSso/KxDp3BdoiMrGMw2CX9aQiptL+V91d5WYemkMz9GxS22X+HxpDK/5sFgLYC4NAcUjUAswjQVgEcGkSqDmAWAtpKgEOTSNUCzGJAWw2YqL1Q9QCzINBWBIBMAwJVEzCLAm1VAMi9HFB1AbMwoHL9dBITqNKAURuAtjggazGEA0R5AIz6ALQFAlmPoRQQIBpFAnDbMhRNMlEnAKNQACr3D0CTTNQKwCgWgMr/w0RthqgXgFEwAFUDgIn6DFEzAKNoAG4LIk0yUTcAo3AAqhYAdK0FiNoBGMUDaKsHdL0FiPoBGAUEUDUBoGsuQNQQwCgigOecmEtEHQGMQgJ4cGIuEbUEMIoJoOoDE3OJKCeAUU+AtqAw0QCqKGpw6PknphJRVQCjrACqUgB06QqIygIYpQVQ1QKgy1dAVBfAKC+A13JIT2aiwgBGiQG8lkN6MhNVBjDKDKAqB1MBjag0gFFqAFU9ALqcBUS1AYxyA6gKgvxQAqmA4NAoOYCqIgBd1gKi6gBG2QFUJQE8OhoQlQcwSg/gtwV6OhoQ1Qcwyg+gKgpAl7iAqECAUYIAVVWgk0JAFCHAqEKAKiwAXSYDohABRiUCVHEB6FIZEMUIMKoRoAoMQJfLgChIgFGRAFVkALpkBkRRAoyqBKhCA9BlMyAKE2BUJkAVG4AunQFRnACjOgFBCyJNMlGgAKNCAaroAHQJDYgiRf9v6qTXk6gasWk/ryEPag0/5/+++rM7BxYn/amy76skWF1///FjPPd1/f0HOvol/yZtdVraG6CeD2L4TcaoNfJHrVFykdZDfwh81CoD+6BWhm6W3vHjZ8MlGaj57qgxji5UWHaXjyC1yNE4nqtWv/oBaUW9GjN7ddDaXn6BlEVo4D2esvaXf6MODzXTC/k6Jm6AQvwEqKXOJYrRpU1IbYjUAl8tSQ5yMZnhonUrClKJ3EvmuDcJTIwU+nyF7beRNLXdFzRG3Qkg3cyZY9xehQYGwRi7fGWWHtTg2Gslkxn6hvsdR5XOqHHGKOPLqJB7KNjGM8ajv2cPaUK9HzED4ajJGksEnsy28dRNXo45Kg5RxAp5cbC7anvU4aNOC3iByrr2ATU1xk3ljcF4gQPSk2A9vBEYP78z6nER+R4PsLu0ekK/icHrI1Imd+WztRFBKcE6HXb/jzoP7Q8aUZMRbS5vGRsvsUCtdRzsGW/5IS7EHjUGiNaAR2um/yQMj4WP9ypM74xv5qI+Q13GVdV+rgat1sgjjxexiSu7UXehFTDgjaP5ERvkHFLmcfseffsO9Tzq91YSuv+6vDXVvkQDQ4eHFXhTbPhgHhpPxK7LG1HtVl4UYtFsinj+aF/gRG3Du2teZOwuZkXrEgI14kGvf1MIEYEa5vHwmrxtEW2JUMfHvLBtfUwa+Yhc5Orqvnk8sd+/LytzU4M+OSkHhgcx8alERB+aIy7PcfKrqchHPC143arueUPrDBqYhEdOXtZ443HoruLBsxUj7fAg6n8JjwcAUQ3MJevcd36RehyxeLEAfbkXu4lXHKae7nsIKKqjaRfy4ol9Zx0aVuRUwovr1AVzSCEa0oQ7FOOXF1BD0cYm5E2q6QvlkH94Jji8DtTuOkehHXkY8TykrsrApOFdq8ubZRO3j2CteIvo8laOTmt7/TVmGHvo82YD0mVtNj3EHzNjpH4Dj13Cb0fMvQnZTw6O48wV1r6lF61lKHDEvMHUPxuEJgOKvgHXs+FmN9xGHMwc3i6zu8YAd3mAu5yrpf/ECWoW6vGQB9PEF0qQTkRoyAuz+jeRkCrUWQEPTnSfHe51HPodHqL9DSx4IuPBg6jbPTNfS/f9T8RVjuFJ/aCZiEE+GpKANyTo4hbsLG4zxL2zvDipPiPZvmsV6sIy641LHqtA+nmjo32dEgUhFCCZr+XmNyaRMtSBzM0g8ZlIpA+1kxlwCS0+CiA+b1bQ32xEKhGNPi8mEbzhzbPXvQj6vNHUPwSBXnLQFiTiBSesysy+BUhdwFTXX7CIecUxE3hgkNfOor0MVulwVRorsDxehBzjrVP6t5nQlgjpCnlM4O+2IyxwRmWWInT9F1KHxtDl0YUuqcSjiDcbzLeBs9dKYv14r8Z8S+hvjNn2d8rgnAEeXObEN/QRkzZE3RnypkRVTCRINPx4wVfTZc3XEM2KkPcGUhUTW3y8IXe5zp3b5ONZy0wumftwH00PP2yFIt6+QqqihhTF4YjvlNX7ERrOiDdx+2/VouYhvnweX1MfaEMtROtVyIsBtdiJDGeXNCeRj0xtw5dxkRashjeCtZjKTmnLFlq1uGq73Fcl9mUjxoLUU3c9DupL1JVc5WZIRg1nvurWgn7B9fC+mLkVQbrISYrjPDMHVwv87TC1oSsrKhGEAwC75fS6hlS5zIkimjq/b6o03xmxDje5e7lw2UQe9ZQcXsZm6Ggr25om/FLOi+ZKU5983KMLujAy+O2Eud8kRwBwqQC4Y/BQfh0y4OKQZ4/6UODEEk8h+bFrFGUQJz6zF61P4aHpj5bFqKvjg89EuUmrZqogjc8HcLXp6w9OUHm8dUwWkaYcwsevmMrUnaLo/Q3x4fV91ZIs34eZLlpf+0SDgVAOeWPQfZcc8YHmfsDb54x3maK2okDs+X0TedHT/PozWslQAwNeA4+1uEurdLj4D898rYzGm17HWpyLJzitzFzHj7WgkjK6XrxWMGfuscZxQFeHYzxzoI+1mN6849SJPJ55iUJy/cVhn/nGJvWa+WqcjQFmPutYi8nhwEkn5mkXdXW7NtlQnzG7DF//jnsJs9y+n8gJx8Nk1GnnBFyt5sXDWel7Urce4sIjXh6Zqev+0mLcUjy/3P7ggMfQ92W9OuQHsZP7iuvbLz9+/D/dyKNn"; \ No newline at end of file diff --git a/docs/assets/style.css b/docs/assets/style.css deleted file mode 100644 index 44328e99..00000000 --- a/docs/assets/style.css +++ /dev/null @@ -1,1633 +0,0 @@ -@layer typedoc { - :root { - --dim-toolbar-contents-height: 2.5rem; - --dim-toolbar-border-bottom-width: 1px; - --dim-header-height: calc( - var(--dim-toolbar-border-bottom-width) + - var(--dim-toolbar-contents-height) - ); - - /* 0rem For mobile; unit is required for calculation in `calc` */ - --dim-container-main-margin-y: 0rem; - - --dim-footer-height: 3.5rem; - - --modal-animation-duration: 0.2s; - } - - :root { - /* Light */ - --light-color-background: #f2f4f8; - --light-color-background-secondary: #eff0f1; - /* Not to be confused with [:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active) */ - --light-color-background-active: #d6d8da; - --light-color-background-warning: #e6e600; - --light-color-warning-text: #222; - --light-color-accent: #c5c7c9; - --light-color-active-menu-item: var(--light-color-background-active); - --light-color-text: #222; - --light-color-contrast-text: #000; - --light-color-text-aside: #5e5e5e; - - --light-color-icon-background: var(--light-color-background); - --light-color-icon-text: var(--light-color-text); - - --light-color-comment-tag-text: var(--light-color-text); - --light-color-comment-tag: var(--light-color-background); - - --light-color-link: #1f70c2; - --light-color-focus-outline: #3584e4; - - --light-color-ts-keyword: #056bd6; - --light-color-ts-project: #b111c9; - --light-color-ts-module: var(--light-color-ts-project); - --light-color-ts-namespace: var(--light-color-ts-project); - --light-color-ts-enum: #7e6f15; - --light-color-ts-enum-member: var(--light-color-ts-enum); - --light-color-ts-variable: #4760ec; - --light-color-ts-function: #572be7; - --light-color-ts-class: #1f70c2; - --light-color-ts-interface: #108024; - --light-color-ts-constructor: var(--light-color-ts-class); - --light-color-ts-property: #9f5f30; - --light-color-ts-method: #be3989; - --light-color-ts-reference: #ff4d82; - --light-color-ts-call-signature: var(--light-color-ts-method); - --light-color-ts-index-signature: var(--light-color-ts-property); - --light-color-ts-constructor-signature: var( - --light-color-ts-constructor - ); - --light-color-ts-parameter: var(--light-color-ts-variable); - /* type literal not included as links will never be generated to it */ - --light-color-ts-type-parameter: #a55c0e; - --light-color-ts-accessor: #c73c3c; - --light-color-ts-get-signature: var(--light-color-ts-accessor); - --light-color-ts-set-signature: var(--light-color-ts-accessor); - --light-color-ts-type-alias: #d51270; - /* reference not included as links will be colored with the kind that it points to */ - --light-color-document: #000000; - - --light-color-alert-note: #0969d9; - --light-color-alert-tip: #1a7f37; - --light-color-alert-important: #8250df; - --light-color-alert-warning: #9a6700; - --light-color-alert-caution: #cf222e; - - --light-external-icon: url("data:image/svg+xml;utf8,"); - --light-color-scheme: light; - } - - :root { - /* Dark */ - --dark-color-background: #2b2e33; - --dark-color-background-secondary: #1e2024; - /* Not to be confused with [:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active) */ - --dark-color-background-active: #5d5d6a; - --dark-color-background-warning: #bebe00; - --dark-color-warning-text: #222; - --dark-color-accent: #9096a2; - --dark-color-active-menu-item: var(--dark-color-background-active); - --dark-color-text: #f5f5f5; - --dark-color-contrast-text: #ffffff; - --dark-color-text-aside: #dddddd; - - --dark-color-icon-background: var(--dark-color-background-secondary); - --dark-color-icon-text: var(--dark-color-text); - - --dark-color-comment-tag-text: var(--dark-color-text); - --dark-color-comment-tag: var(--dark-color-background); - - --dark-color-link: #00aff4; - --dark-color-focus-outline: #4c97f2; - - --dark-color-ts-keyword: #3399ff; - --dark-color-ts-project: #e358ff; - --dark-color-ts-module: var(--dark-color-ts-project); - --dark-color-ts-namespace: var(--dark-color-ts-project); - --dark-color-ts-enum: #f4d93e; - --dark-color-ts-enum-member: var(--dark-color-ts-enum); - --dark-color-ts-variable: #798dff; - --dark-color-ts-function: #a280ff; - --dark-color-ts-class: #8ac4ff; - --dark-color-ts-interface: #6cff87; - --dark-color-ts-constructor: var(--dark-color-ts-class); - --dark-color-ts-property: #ff984d; - --dark-color-ts-method: #ff4db8; - --dark-color-ts-reference: #ff4d82; - --dark-color-ts-call-signature: var(--dark-color-ts-method); - --dark-color-ts-index-signature: var(--dark-color-ts-property); - --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); - --dark-color-ts-parameter: var(--dark-color-ts-variable); - /* type literal not included as links will never be generated to it */ - --dark-color-ts-type-parameter: #e07d13; - --dark-color-ts-accessor: #ff6060; - --dark-color-ts-get-signature: var(--dark-color-ts-accessor); - --dark-color-ts-set-signature: var(--dark-color-ts-accessor); - --dark-color-ts-type-alias: #ff6492; - /* reference not included as links will be colored with the kind that it points to */ - --dark-color-document: #ffffff; - - --dark-color-alert-note: #0969d9; - --dark-color-alert-tip: #1a7f37; - --dark-color-alert-important: #8250df; - --dark-color-alert-warning: #9a6700; - --dark-color-alert-caution: #cf222e; - - --dark-external-icon: url("data:image/svg+xml;utf8,"); - --dark-color-scheme: dark; - } - - @media (prefers-color-scheme: light) { - :root { - --color-background: var(--light-color-background); - --color-background-secondary: var( - --light-color-background-secondary - ); - --color-background-active: var(--light-color-background-active); - --color-background-warning: var(--light-color-background-warning); - --color-warning-text: var(--light-color-warning-text); - --color-accent: var(--light-color-accent); - --color-active-menu-item: var(--light-color-active-menu-item); - --color-text: var(--light-color-text); - --color-contrast-text: var(--light-color-contrast-text); - --color-text-aside: var(--light-color-text-aside); - - --color-icon-background: var(--light-color-icon-background); - --color-icon-text: var(--light-color-icon-text); - - --color-comment-tag-text: var(--light-color-text); - --color-comment-tag: var(--light-color-background); - - --color-link: var(--light-color-link); - --color-focus-outline: var(--light-color-focus-outline); - - --color-ts-keyword: var(--light-color-ts-keyword); - --color-ts-project: var(--light-color-ts-project); - --color-ts-module: var(--light-color-ts-module); - --color-ts-namespace: var(--light-color-ts-namespace); - --color-ts-enum: var(--light-color-ts-enum); - --color-ts-enum-member: var(--light-color-ts-enum-member); - --color-ts-variable: var(--light-color-ts-variable); - --color-ts-function: var(--light-color-ts-function); - --color-ts-class: var(--light-color-ts-class); - --color-ts-interface: var(--light-color-ts-interface); - --color-ts-constructor: var(--light-color-ts-constructor); - --color-ts-property: var(--light-color-ts-property); - --color-ts-method: var(--light-color-ts-method); - --color-ts-reference: var(--light-color-ts-reference); - --color-ts-call-signature: var(--light-color-ts-call-signature); - --color-ts-index-signature: var(--light-color-ts-index-signature); - --color-ts-constructor-signature: var( - --light-color-ts-constructor-signature - ); - --color-ts-parameter: var(--light-color-ts-parameter); - --color-ts-type-parameter: var(--light-color-ts-type-parameter); - --color-ts-accessor: var(--light-color-ts-accessor); - --color-ts-get-signature: var(--light-color-ts-get-signature); - --color-ts-set-signature: var(--light-color-ts-set-signature); - --color-ts-type-alias: var(--light-color-ts-type-alias); - --color-document: var(--light-color-document); - - --color-alert-note: var(--light-color-alert-note); - --color-alert-tip: var(--light-color-alert-tip); - --color-alert-important: var(--light-color-alert-important); - --color-alert-warning: var(--light-color-alert-warning); - --color-alert-caution: var(--light-color-alert-caution); - - --external-icon: var(--light-external-icon); - --color-scheme: var(--light-color-scheme); - } - } - - @media (prefers-color-scheme: dark) { - :root { - --color-background: var(--dark-color-background); - --color-background-secondary: var( - --dark-color-background-secondary - ); - --color-background-active: var(--dark-color-background-active); - --color-background-warning: var(--dark-color-background-warning); - --color-warning-text: var(--dark-color-warning-text); - --color-accent: var(--dark-color-accent); - --color-active-menu-item: var(--dark-color-active-menu-item); - --color-text: var(--dark-color-text); - --color-contrast-text: var(--dark-color-contrast-text); - --color-text-aside: var(--dark-color-text-aside); - - --color-icon-background: var(--dark-color-icon-background); - --color-icon-text: var(--dark-color-icon-text); - - --color-comment-tag-text: var(--dark-color-text); - --color-comment-tag: var(--dark-color-background); - - --color-link: var(--dark-color-link); - --color-focus-outline: var(--dark-color-focus-outline); - - --color-ts-keyword: var(--dark-color-ts-keyword); - --color-ts-project: var(--dark-color-ts-project); - --color-ts-module: var(--dark-color-ts-module); - --color-ts-namespace: var(--dark-color-ts-namespace); - --color-ts-enum: var(--dark-color-ts-enum); - --color-ts-enum-member: var(--dark-color-ts-enum-member); - --color-ts-variable: var(--dark-color-ts-variable); - --color-ts-function: var(--dark-color-ts-function); - --color-ts-class: var(--dark-color-ts-class); - --color-ts-interface: var(--dark-color-ts-interface); - --color-ts-constructor: var(--dark-color-ts-constructor); - --color-ts-property: var(--dark-color-ts-property); - --color-ts-method: var(--dark-color-ts-method); - --color-ts-reference: var(--dark-color-ts-reference); - --color-ts-call-signature: var(--dark-color-ts-call-signature); - --color-ts-index-signature: var(--dark-color-ts-index-signature); - --color-ts-constructor-signature: var( - --dark-color-ts-constructor-signature - ); - --color-ts-parameter: var(--dark-color-ts-parameter); - --color-ts-type-parameter: var(--dark-color-ts-type-parameter); - --color-ts-accessor: var(--dark-color-ts-accessor); - --color-ts-get-signature: var(--dark-color-ts-get-signature); - --color-ts-set-signature: var(--dark-color-ts-set-signature); - --color-ts-type-alias: var(--dark-color-ts-type-alias); - --color-document: var(--dark-color-document); - - --color-alert-note: var(--dark-color-alert-note); - --color-alert-tip: var(--dark-color-alert-tip); - --color-alert-important: var(--dark-color-alert-important); - --color-alert-warning: var(--dark-color-alert-warning); - --color-alert-caution: var(--dark-color-alert-caution); - - --external-icon: var(--dark-external-icon); - --color-scheme: var(--dark-color-scheme); - } - } - - :root[data-theme="light"] { - --color-background: var(--light-color-background); - --color-background-secondary: var(--light-color-background-secondary); - --color-background-active: var(--light-color-background-active); - --color-background-warning: var(--light-color-background-warning); - --color-warning-text: var(--light-color-warning-text); - --color-icon-background: var(--light-color-icon-background); - --color-accent: var(--light-color-accent); - --color-active-menu-item: var(--light-color-active-menu-item); - --color-text: var(--light-color-text); - --color-contrast-text: var(--light-color-contrast-text); - --color-text-aside: var(--light-color-text-aside); - --color-icon-text: var(--light-color-icon-text); - - --color-comment-tag-text: var(--light-color-text); - --color-comment-tag: var(--light-color-background); - - --color-link: var(--light-color-link); - --color-focus-outline: var(--light-color-focus-outline); - - --color-ts-keyword: var(--light-color-ts-keyword); - --color-ts-project: var(--light-color-ts-project); - --color-ts-module: var(--light-color-ts-module); - --color-ts-namespace: var(--light-color-ts-namespace); - --color-ts-enum: var(--light-color-ts-enum); - --color-ts-enum-member: var(--light-color-ts-enum-member); - --color-ts-variable: var(--light-color-ts-variable); - --color-ts-function: var(--light-color-ts-function); - --color-ts-class: var(--light-color-ts-class); - --color-ts-interface: var(--light-color-ts-interface); - --color-ts-constructor: var(--light-color-ts-constructor); - --color-ts-property: var(--light-color-ts-property); - --color-ts-method: var(--light-color-ts-method); - --color-ts-reference: var(--light-color-ts-reference); - --color-ts-call-signature: var(--light-color-ts-call-signature); - --color-ts-index-signature: var(--light-color-ts-index-signature); - --color-ts-constructor-signature: var( - --light-color-ts-constructor-signature - ); - --color-ts-parameter: var(--light-color-ts-parameter); - --color-ts-type-parameter: var(--light-color-ts-type-parameter); - --color-ts-accessor: var(--light-color-ts-accessor); - --color-ts-get-signature: var(--light-color-ts-get-signature); - --color-ts-set-signature: var(--light-color-ts-set-signature); - --color-ts-type-alias: var(--light-color-ts-type-alias); - --color-document: var(--light-color-document); - - --color-note: var(--light-color-note); - --color-tip: var(--light-color-tip); - --color-important: var(--light-color-important); - --color-warning: var(--light-color-warning); - --color-caution: var(--light-color-caution); - - --external-icon: var(--light-external-icon); - --color-scheme: var(--light-color-scheme); - } - - :root[data-theme="dark"] { - --color-background: var(--dark-color-background); - --color-background-secondary: var(--dark-color-background-secondary); - --color-background-active: var(--dark-color-background-active); - --color-background-warning: var(--dark-color-background-warning); - --color-warning-text: var(--dark-color-warning-text); - --color-icon-background: var(--dark-color-icon-background); - --color-accent: var(--dark-color-accent); - --color-active-menu-item: var(--dark-color-active-menu-item); - --color-text: var(--dark-color-text); - --color-contrast-text: var(--dark-color-contrast-text); - --color-text-aside: var(--dark-color-text-aside); - --color-icon-text: var(--dark-color-icon-text); - - --color-comment-tag-text: var(--dark-color-text); - --color-comment-tag: var(--dark-color-background); - - --color-link: var(--dark-color-link); - --color-focus-outline: var(--dark-color-focus-outline); - - --color-ts-keyword: var(--dark-color-ts-keyword); - --color-ts-project: var(--dark-color-ts-project); - --color-ts-module: var(--dark-color-ts-module); - --color-ts-namespace: var(--dark-color-ts-namespace); - --color-ts-enum: var(--dark-color-ts-enum); - --color-ts-enum-member: var(--dark-color-ts-enum-member); - --color-ts-variable: var(--dark-color-ts-variable); - --color-ts-function: var(--dark-color-ts-function); - --color-ts-class: var(--dark-color-ts-class); - --color-ts-interface: var(--dark-color-ts-interface); - --color-ts-constructor: var(--dark-color-ts-constructor); - --color-ts-property: var(--dark-color-ts-property); - --color-ts-method: var(--dark-color-ts-method); - --color-ts-reference: var(--dark-color-ts-reference); - --color-ts-call-signature: var(--dark-color-ts-call-signature); - --color-ts-index-signature: var(--dark-color-ts-index-signature); - --color-ts-constructor-signature: var( - --dark-color-ts-constructor-signature - ); - --color-ts-parameter: var(--dark-color-ts-parameter); - --color-ts-type-parameter: var(--dark-color-ts-type-parameter); - --color-ts-accessor: var(--dark-color-ts-accessor); - --color-ts-get-signature: var(--dark-color-ts-get-signature); - --color-ts-set-signature: var(--dark-color-ts-set-signature); - --color-ts-type-alias: var(--dark-color-ts-type-alias); - --color-document: var(--dark-color-document); - - --color-note: var(--dark-color-note); - --color-tip: var(--dark-color-tip); - --color-important: var(--dark-color-important); - --color-warning: var(--dark-color-warning); - --color-caution: var(--dark-color-caution); - - --external-icon: var(--dark-external-icon); - --color-scheme: var(--dark-color-scheme); - } - - html { - color-scheme: var(--color-scheme); - @media (prefers-reduced-motion: no-preference) { - scroll-behavior: smooth; - } - } - - *:focus-visible, - .tsd-accordion-summary:focus-visible svg { - outline: 2px solid var(--color-focus-outline); - } - - .always-visible, - .always-visible .tsd-signatures { - display: inherit !important; - } - - h1, - h2, - h3, - h4, - h5, - h6 { - line-height: 1.2; - } - - h1 { - font-size: 1.875rem; - margin: 0.67rem 0; - } - - h2 { - font-size: 1.5rem; - margin: 0.83rem 0; - } - - h3 { - font-size: 1.25rem; - margin: 1rem 0; - } - - h4 { - font-size: 1.05rem; - margin: 1.33rem 0; - } - - h5 { - font-size: 1rem; - margin: 1.5rem 0; - } - - h6 { - font-size: 0.875rem; - margin: 2.33rem 0; - } - - dl, - menu, - ol, - ul { - margin: 1em 0; - } - - dd { - margin: 0 0 0 34px; - } - - .container { - max-width: 1700px; - padding: 0 2rem; - } - - /* Footer */ - footer { - border-top: 1px solid var(--color-accent); - padding-top: 1rem; - padding-bottom: 1rem; - max-height: var(--dim-footer-height); - } - footer > p { - margin: 0 1em; - } - - .container-main { - margin: var(--dim-container-main-margin-y) auto; - /* toolbar, footer, margin */ - min-height: calc( - 100svh - var(--dim-header-height) - var(--dim-footer-height) - - 2 * var(--dim-container-main-margin-y) - ); - } - - @keyframes fade-in { - from { - opacity: 0; - } - to { - opacity: 1; - } - } - @keyframes fade-out { - from { - opacity: 1; - visibility: visible; - } - to { - opacity: 0; - } - } - @keyframes pop-in-from-right { - from { - transform: translate(100%, 0); - } - to { - transform: translate(0, 0); - } - } - @keyframes pop-out-to-right { - from { - transform: translate(0, 0); - visibility: visible; - } - to { - transform: translate(100%, 0); - } - } - body { - background: var(--color-background); - font-family: - -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", - Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; - font-size: 16px; - color: var(--color-text); - margin: 0; - } - - a { - color: var(--color-link); - text-decoration: none; - } - a:hover { - text-decoration: underline; - } - a.external[target="_blank"] { - background-image: var(--external-icon); - background-position: top 3px right; - background-repeat: no-repeat; - padding-right: 13px; - } - a.tsd-anchor-link { - color: var(--color-text); - } - :target { - scroll-margin-block: calc(var(--dim-header-height) + 0.5rem); - } - - code, - pre { - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - padding: 0.2em; - margin: 0; - font-size: 0.875rem; - border-radius: 0.8em; - } - - pre { - position: relative; - white-space: pre-wrap; - word-wrap: break-word; - padding: 10px; - border: 1px solid var(--color-accent); - margin-bottom: 8px; - } - pre code { - padding: 0; - font-size: 100%; - } - pre > button { - position: absolute; - top: 10px; - right: 10px; - opacity: 0; - transition: opacity 0.1s; - box-sizing: border-box; - } - pre:hover > button, - pre > button.visible, - pre > button:focus-visible { - opacity: 1; - } - - blockquote { - margin: 1em 0; - padding-left: 1em; - border-left: 4px solid gray; - } - - img { - max-width: 100%; - } - - * { - scrollbar-width: thin; - scrollbar-color: var(--color-accent) var(--color-icon-background); - } - - *::-webkit-scrollbar { - width: 0.75rem; - } - - *::-webkit-scrollbar-track { - background: var(--color-icon-background); - } - - *::-webkit-scrollbar-thumb { - background-color: var(--color-accent); - border-radius: 999rem; - border: 0.25rem solid var(--color-icon-background); - } - - dialog { - border: none; - outline: none; - padding: 0; - background-color: var(--color-background); - } - dialog::backdrop { - display: none; - } - #tsd-overlay { - background-color: rgba(0, 0, 0, 0.5); - position: fixed; - z-index: 9999; - top: 0; - left: 0; - right: 0; - bottom: 0; - animation: fade-in var(--modal-animation-duration) forwards; - } - #tsd-overlay.closing { - animation-name: fade-out; - } - - .tsd-typography { - line-height: 1.333em; - } - .tsd-typography ul { - list-style: square; - padding: 0 0 0 20px; - margin: 0; - } - .tsd-typography .tsd-index-panel h3, - .tsd-index-panel .tsd-typography h3, - .tsd-typography h4, - .tsd-typography h5, - .tsd-typography h6 { - font-size: 1em; - } - .tsd-typography h5, - .tsd-typography h6 { - font-weight: normal; - } - .tsd-typography p, - .tsd-typography ul, - .tsd-typography ol { - margin: 1em 0; - } - .tsd-typography table { - border-collapse: collapse; - border: none; - } - .tsd-typography td, - .tsd-typography th { - padding: 6px 13px; - border: 1px solid var(--color-accent); - } - .tsd-typography thead, - .tsd-typography tr:nth-child(even) { - background-color: var(--color-background-secondary); - } - - .tsd-alert { - padding: 8px 16px; - margin-bottom: 16px; - border-left: 0.25em solid var(--alert-color); - } - .tsd-alert blockquote > :last-child, - .tsd-alert > :last-child { - margin-bottom: 0; - } - .tsd-alert-title { - color: var(--alert-color); - display: inline-flex; - align-items: center; - } - .tsd-alert-title span { - margin-left: 4px; - } - - .tsd-alert-note { - --alert-color: var(--color-alert-note); - } - .tsd-alert-tip { - --alert-color: var(--color-alert-tip); - } - .tsd-alert-important { - --alert-color: var(--color-alert-important); - } - .tsd-alert-warning { - --alert-color: var(--color-alert-warning); - } - .tsd-alert-caution { - --alert-color: var(--color-alert-caution); - } - - .tsd-breadcrumb { - margin: 0; - margin-top: 1rem; - padding: 0; - color: var(--color-text-aside); - } - .tsd-breadcrumb a { - color: var(--color-text-aside); - text-decoration: none; - } - .tsd-breadcrumb a:hover { - text-decoration: underline; - } - .tsd-breadcrumb li { - display: inline; - } - .tsd-breadcrumb li:after { - content: " / "; - } - - .tsd-comment-tags { - display: flex; - flex-direction: column; - } - dl.tsd-comment-tag-group { - display: flex; - align-items: center; - overflow: hidden; - margin: 0.5em 0; - } - dl.tsd-comment-tag-group dt { - display: flex; - margin-right: 0.5em; - font-size: 0.875em; - font-weight: normal; - } - dl.tsd-comment-tag-group dd { - margin: 0; - } - code.tsd-tag { - padding: 0.25em 0.4em; - border: 0.1em solid var(--color-accent); - margin-right: 0.25em; - font-size: 70%; - } - h1 code.tsd-tag:first-of-type { - margin-left: 0.25em; - } - - dl.tsd-comment-tag-group dd:before, - dl.tsd-comment-tag-group dd:after { - content: " "; - } - dl.tsd-comment-tag-group dd pre, - dl.tsd-comment-tag-group dd:after { - clear: both; - } - dl.tsd-comment-tag-group p { - margin: 0; - } - - .tsd-panel.tsd-comment .lead { - font-size: 1.1em; - line-height: 1.333em; - margin-bottom: 2em; - } - .tsd-panel.tsd-comment .lead:last-child { - margin-bottom: 0; - } - - .tsd-filter-visibility h4 { - font-size: 1rem; - padding-top: 0.75rem; - padding-bottom: 0.5rem; - margin: 0; - } - .tsd-filter-item:not(:last-child) { - margin-bottom: 0.5rem; - } - .tsd-filter-input { - display: flex; - width: -moz-fit-content; - width: fit-content; - align-items: center; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - cursor: pointer; - } - .tsd-filter-input input[type="checkbox"] { - cursor: pointer; - position: absolute; - width: 1.5em; - height: 1.5em; - opacity: 0; - } - .tsd-filter-input input[type="checkbox"]:disabled { - pointer-events: none; - } - .tsd-filter-input svg { - cursor: pointer; - width: 1.5em; - height: 1.5em; - margin-right: 0.5em; - border-radius: 0.33em; - /* Leaving this at full opacity breaks event listeners on Firefox. - Don't remove unless you know what you're doing. */ - opacity: 0.99; - } - .tsd-filter-input input[type="checkbox"]:focus-visible + svg { - outline: 2px solid var(--color-focus-outline); - } - .tsd-checkbox-background { - fill: var(--color-accent); - } - input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { - stroke: var(--color-text); - } - .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { - fill: var(--color-background); - stroke: var(--color-accent); - stroke-width: 0.25rem; - } - .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { - stroke: var(--color-accent); - } - - .settings-label { - font-weight: bold; - text-transform: uppercase; - display: inline-block; - } - - .tsd-filter-visibility .settings-label { - margin: 0.75rem 0 0.5rem 0; - } - - .tsd-theme-toggle .settings-label { - margin: 0.75rem 0.75rem 0 0; - } - - .tsd-hierarchy h4 label:hover span { - text-decoration: underline; - } - - .tsd-hierarchy { - list-style: square; - margin: 0; - } - .tsd-hierarchy-target { - font-weight: bold; - } - .tsd-hierarchy-toggle { - color: var(--color-link); - cursor: pointer; - } - - .tsd-full-hierarchy:not(:last-child) { - margin-bottom: 1em; - padding-bottom: 1em; - border-bottom: 1px solid var(--color-accent); - } - .tsd-full-hierarchy, - .tsd-full-hierarchy ul { - list-style: none; - margin: 0; - padding: 0; - } - .tsd-full-hierarchy ul { - padding-left: 1.5rem; - } - .tsd-full-hierarchy a { - padding: 0.25rem 0 !important; - font-size: 1rem; - display: inline-flex; - align-items: center; - color: var(--color-text); - } - .tsd-full-hierarchy svg[data-dropdown] { - cursor: pointer; - } - .tsd-full-hierarchy svg[data-dropdown="false"] { - transform: rotate(-90deg); - } - .tsd-full-hierarchy svg[data-dropdown="false"] ~ ul { - display: none; - } - - .tsd-panel-group.tsd-index-group { - margin-bottom: 0; - } - .tsd-index-panel .tsd-index-list { - list-style: none; - line-height: 1.333em; - margin: 0; - padding: 0.25rem 0 0 0; - overflow: hidden; - display: grid; - grid-template-columns: repeat(3, 1fr); - column-gap: 1rem; - grid-template-rows: auto; - } - @media (max-width: 1024px) { - .tsd-index-panel .tsd-index-list { - grid-template-columns: repeat(2, 1fr); - } - } - @media (max-width: 768px) { - .tsd-index-panel .tsd-index-list { - grid-template-columns: repeat(1, 1fr); - } - } - .tsd-index-panel .tsd-index-list li { - -webkit-page-break-inside: avoid; - -moz-page-break-inside: avoid; - -ms-page-break-inside: avoid; - -o-page-break-inside: avoid; - page-break-inside: avoid; - } - - .tsd-flag { - display: inline-block; - padding: 0.25em 0.4em; - border-radius: 4px; - color: var(--color-comment-tag-text); - background-color: var(--color-comment-tag); - text-indent: 0; - font-size: 75%; - line-height: 1; - font-weight: normal; - } - - .tsd-anchor { - position: relative; - top: -100px; - } - - .tsd-member { - position: relative; - } - .tsd-member .tsd-anchor + h3 { - display: flex; - align-items: center; - margin-top: 0; - margin-bottom: 0; - border-bottom: none; - } - - .tsd-navigation.settings { - margin: 0; - margin-bottom: 1rem; - } - .tsd-navigation > a, - .tsd-navigation .tsd-accordion-summary { - width: calc(100% - 0.25rem); - display: flex; - align-items: center; - } - .tsd-navigation a, - .tsd-navigation summary > span, - .tsd-page-navigation a { - display: flex; - width: calc(100% - 0.25rem); - align-items: center; - padding: 0.25rem; - color: var(--color-text); - text-decoration: none; - box-sizing: border-box; - } - .tsd-navigation a.current, - .tsd-page-navigation a.current { - background: var(--color-active-menu-item); - color: var(--color-contrast-text); - } - .tsd-navigation a:hover, - .tsd-page-navigation a:hover { - text-decoration: underline; - } - .tsd-navigation ul, - .tsd-page-navigation ul { - margin-top: 0; - margin-bottom: 0; - padding: 0; - list-style: none; - } - .tsd-navigation li, - .tsd-page-navigation li { - padding: 0; - max-width: 100%; - } - .tsd-navigation .tsd-nav-link { - display: none; - } - .tsd-nested-navigation { - margin-left: 3rem; - } - .tsd-nested-navigation > li > details { - margin-left: -1.5rem; - } - .tsd-small-nested-navigation { - margin-left: 1.5rem; - } - .tsd-small-nested-navigation > li > details { - margin-left: -1.5rem; - } - - .tsd-page-navigation-section > summary { - padding: 0.25rem; - } - .tsd-page-navigation-section > summary > svg { - margin-right: 0.25rem; - } - .tsd-page-navigation-section > div { - margin-left: 30px; - } - .tsd-page-navigation ul { - padding-left: 1.75rem; - } - - #tsd-sidebar-links a { - margin-top: 0; - margin-bottom: 0.5rem; - line-height: 1.25rem; - } - #tsd-sidebar-links a:last-of-type { - margin-bottom: 0; - } - - a.tsd-index-link { - padding: 0.25rem 0 !important; - font-size: 1rem; - line-height: 1.25rem; - display: inline-flex; - align-items: center; - color: var(--color-text); - } - .tsd-accordion-summary { - list-style-type: none; /* hide marker on non-safari */ - outline: none; /* broken on safari, so just hide it */ - display: flex; - align-items: center; - gap: 0.25rem; - box-sizing: border-box; - } - .tsd-accordion-summary::-webkit-details-marker { - display: none; /* hide marker on safari */ - } - .tsd-accordion-summary, - .tsd-accordion-summary a { - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; - - cursor: pointer; - } - .tsd-accordion-summary a { - width: calc(100% - 1.5rem); - } - .tsd-accordion-summary > * { - margin-top: 0; - margin-bottom: 0; - padding-top: 0; - padding-bottom: 0; - } - /* - * We need to be careful to target the arrow indicating whether the accordion - * is open, but not any other SVGs included in the details element. - */ - .tsd-accordion:not([open]) > .tsd-accordion-summary > svg:first-child { - transform: rotate(-90deg); - } - .tsd-index-content > :not(:first-child) { - margin-top: 0.75rem; - } - .tsd-index-summary { - margin-top: 1.5rem; - margin-bottom: 0.75rem; - display: flex; - align-content: center; - } - - .tsd-no-select { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - } - .tsd-kind-icon { - margin-right: 0.5rem; - width: 1.25rem; - height: 1.25rem; - min-width: 1.25rem; - min-height: 1.25rem; - } - .tsd-signature > .tsd-kind-icon { - margin-right: 0.8rem; - } - - .tsd-panel { - margin-bottom: 2.5rem; - } - .tsd-panel.tsd-member { - margin-bottom: 4rem; - } - .tsd-panel:empty { - display: none; - } - .tsd-panel > h1, - .tsd-panel > h2, - .tsd-panel > h3 { - margin: 1.5rem -1.5rem 0.75rem -1.5rem; - padding: 0 1.5rem 0.75rem 1.5rem; - } - .tsd-panel > h1.tsd-before-signature, - .tsd-panel > h2.tsd-before-signature, - .tsd-panel > h3.tsd-before-signature { - margin-bottom: 0; - border-bottom: none; - } - - .tsd-panel-group { - margin: 2rem 0; - } - .tsd-panel-group.tsd-index-group { - margin: 2rem 0; - } - .tsd-panel-group.tsd-index-group details { - margin: 2rem 0; - } - .tsd-panel-group > .tsd-accordion-summary { - margin-bottom: 1rem; - } - - #tsd-search[open] { - animation: fade-in var(--modal-animation-duration) ease-out forwards; - } - #tsd-search[open].closing { - animation-name: fade-out; - } - - /* Avoid setting `display` on closed dialog */ - #tsd-search[open] { - display: flex; - flex-direction: column; - padding: 1rem; - width: 32rem; - max-width: 90vw; - max-height: calc(100vh - env(keyboard-inset-height, 0px) - 25vh); - /* Anchor dialog to top */ - margin-top: 10vh; - border-radius: 6px; - will-change: max-height; - } - #tsd-search-input { - box-sizing: border-box; - width: 100%; - padding: 0 0.625rem; /* 10px */ - outline: 0; - border: 2px solid var(--color-accent); - background-color: transparent; - color: var(--color-text); - border-radius: 4px; - height: 2.5rem; - flex: 0 0 auto; - font-size: 0.875rem; - transition: border-color 0.2s, background-color 0.2s; - } - #tsd-search-input:focus-visible { - background-color: var(--color-background-active); - border-color: transparent; - color: var(--color-contrast-text); - } - #tsd-search-input::placeholder { - color: inherit; - opacity: 0.8; - } - #tsd-search-results { - margin: 0; - padding: 0; - list-style: none; - flex: 1 1 auto; - display: flex; - flex-direction: column; - overflow-y: auto; - } - #tsd-search-results:not(:empty) { - margin-top: 0.5rem; - } - #tsd-search-results > li { - background-color: var(--color-background); - line-height: 1.5; - box-sizing: border-box; - border-radius: 4px; - } - #tsd-search-results > li:nth-child(even) { - background-color: var(--color-background-secondary); - } - #tsd-search-results > li:is(:hover, [aria-selected="true"]) { - background-color: var(--color-background-active); - color: var(--color-contrast-text); - } - /* It's important that this takes full size of parent `li`, to capture a click on `li` */ - #tsd-search-results > li > a { - display: flex; - align-items: center; - padding: 0.5rem 0.25rem; - box-sizing: border-box; - width: 100%; - } - #tsd-search-results > li > a > .text { - flex: 1 1 auto; - min-width: 0; - overflow-wrap: anywhere; - } - #tsd-search-results > li > a .parent { - color: var(--color-text-aside); - } - #tsd-search-results > li > a mark { - color: inherit; - background-color: inherit; - font-weight: bold; - } - #tsd-search-status { - flex: 1; - display: grid; - place-content: center; - text-align: center; - overflow-wrap: anywhere; - } - #tsd-search-status:not(:empty) { - min-height: 6rem; - } - - .tsd-signature { - margin: 0 0 1rem 0; - padding: 1rem 0.5rem; - border: 1px solid var(--color-accent); - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 14px; - overflow-x: auto; - } - - .tsd-signature-keyword { - color: var(--color-ts-keyword); - font-weight: normal; - } - - .tsd-signature-symbol { - color: var(--color-text-aside); - font-weight: normal; - } - - .tsd-signature-type { - font-style: italic; - font-weight: normal; - } - - .tsd-signatures { - padding: 0; - margin: 0 0 1em 0; - list-style-type: none; - } - .tsd-signatures .tsd-signature { - margin: 0; - border-color: var(--color-accent); - border-width: 1px 0; - transition: background-color 0.1s; - } - .tsd-signatures .tsd-index-signature:not(:last-child) { - margin-bottom: 1em; - } - .tsd-signatures .tsd-index-signature .tsd-signature { - border-width: 1px; - } - .tsd-description .tsd-signatures .tsd-signature { - border-width: 1px; - } - - ul.tsd-parameter-list, - ul.tsd-type-parameter-list { - list-style: square; - margin: 0; - padding-left: 20px; - } - ul.tsd-parameter-list > li.tsd-parameter-signature, - ul.tsd-type-parameter-list > li.tsd-parameter-signature { - list-style: none; - margin-left: -20px; - } - ul.tsd-parameter-list h5, - ul.tsd-type-parameter-list h5 { - font-size: 16px; - margin: 1em 0 0.5em 0; - } - .tsd-sources { - margin-top: 1rem; - font-size: 0.875em; - } - .tsd-sources a { - color: var(--color-text-aside); - text-decoration: underline; - } - .tsd-sources ul { - list-style: none; - padding: 0; - } - - .tsd-page-toolbar { - position: sticky; - z-index: 1; - top: 0; - left: 0; - width: 100%; - color: var(--color-text); - background: var(--color-background-secondary); - border-bottom: var(--dim-toolbar-border-bottom-width) - var(--color-accent) solid; - transition: transform 0.3s ease-in-out; - } - .tsd-page-toolbar a { - color: var(--color-text); - } - .tsd-toolbar-contents { - display: flex; - align-items: center; - height: var(--dim-toolbar-contents-height); - margin: 0 auto; - } - .tsd-toolbar-contents > .title { - font-weight: bold; - margin-right: auto; - } - #tsd-toolbar-links { - display: flex; - align-items: center; - gap: 1.5rem; - margin-right: 1rem; - } - - .tsd-widget { - box-sizing: border-box; - display: inline-block; - opacity: 0.8; - height: 2.5rem; - width: 2.5rem; - transition: opacity 0.1s, background-color 0.1s; - text-align: center; - cursor: pointer; - border: none; - background-color: transparent; - } - .tsd-widget:hover { - opacity: 0.9; - } - .tsd-widget:active { - opacity: 1; - background-color: var(--color-accent); - } - #tsd-toolbar-menu-trigger { - display: none; - } - - .tsd-member-summary-name { - display: inline-flex; - align-items: center; - padding: 0.25rem; - text-decoration: none; - } - - .tsd-anchor-icon { - display: inline-flex; - align-items: center; - margin-left: 0.5rem; - color: var(--color-text); - vertical-align: middle; - } - - .tsd-anchor-icon svg { - width: 1em; - height: 1em; - visibility: hidden; - } - - .tsd-member-summary-name:hover > .tsd-anchor-icon svg, - .tsd-anchor-link:hover > .tsd-anchor-icon svg, - .tsd-anchor-icon:focus-visible svg { - visibility: visible; - } - - .deprecated { - text-decoration: line-through !important; - } - - .warning { - padding: 1rem; - color: var(--color-warning-text); - background: var(--color-background-warning); - } - - .tsd-kind-project { - color: var(--color-ts-project); - } - .tsd-kind-module { - color: var(--color-ts-module); - } - .tsd-kind-namespace { - color: var(--color-ts-namespace); - } - .tsd-kind-enum { - color: var(--color-ts-enum); - } - .tsd-kind-enum-member { - color: var(--color-ts-enum-member); - } - .tsd-kind-variable { - color: var(--color-ts-variable); - } - .tsd-kind-function { - color: var(--color-ts-function); - } - .tsd-kind-class { - color: var(--color-ts-class); - } - .tsd-kind-interface { - color: var(--color-ts-interface); - } - .tsd-kind-constructor { - color: var(--color-ts-constructor); - } - .tsd-kind-property { - color: var(--color-ts-property); - } - .tsd-kind-method { - color: var(--color-ts-method); - } - .tsd-kind-reference { - color: var(--color-ts-reference); - } - .tsd-kind-call-signature { - color: var(--color-ts-call-signature); - } - .tsd-kind-index-signature { - color: var(--color-ts-index-signature); - } - .tsd-kind-constructor-signature { - color: var(--color-ts-constructor-signature); - } - .tsd-kind-parameter { - color: var(--color-ts-parameter); - } - .tsd-kind-type-parameter { - color: var(--color-ts-type-parameter); - } - .tsd-kind-accessor { - color: var(--color-ts-accessor); - } - .tsd-kind-get-signature { - color: var(--color-ts-get-signature); - } - .tsd-kind-set-signature { - color: var(--color-ts-set-signature); - } - .tsd-kind-type-alias { - color: var(--color-ts-type-alias); - } - - /* if we have a kind icon, don't color the text by kind */ - .tsd-kind-icon ~ span { - color: var(--color-text); - } - - /* mobile */ - @media (max-width: 769px) { - #tsd-toolbar-menu-trigger { - display: inline-block; - /* temporary fix to vertically align, for compatibility */ - line-height: 2.5; - } - #tsd-toolbar-links { - display: none; - } - - .container-main { - display: flex; - } - .col-content { - float: none; - max-width: 100%; - width: 100%; - } - .col-sidebar { - position: fixed !important; - overflow-y: auto; - -webkit-overflow-scrolling: touch; - z-index: 1024; - top: 0 !important; - bottom: 0 !important; - left: auto !important; - right: 0 !important; - padding: 1.5rem 1.5rem 0 0; - width: 75vw; - visibility: hidden; - background-color: var(--color-background); - transform: translate(100%, 0); - } - .col-sidebar > *:last-child { - padding-bottom: 20px; - } - .overlay { - content: ""; - display: block; - position: fixed; - z-index: 1023; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: rgba(0, 0, 0, 0.75); - visibility: hidden; - } - - .to-has-menu .overlay { - animation: fade-in 0.4s; - } - - .to-has-menu .col-sidebar { - animation: pop-in-from-right 0.4s; - } - - .from-has-menu .overlay { - animation: fade-out 0.4s; - } - - .from-has-menu .col-sidebar { - animation: pop-out-to-right 0.4s; - } - - .has-menu body { - overflow: hidden; - } - .has-menu .overlay { - visibility: visible; - } - .has-menu .col-sidebar { - visibility: visible; - transform: translate(0, 0); - display: flex; - flex-direction: column; - gap: 1.5rem; - max-height: 100vh; - padding: 1rem 2rem; - } - .has-menu .tsd-navigation { - max-height: 100%; - } - .tsd-navigation .tsd-nav-link { - display: flex; - } - } - - /* one sidebar */ - @media (min-width: 770px) { - .container-main { - display: grid; - grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); - grid-template-areas: "sidebar content"; - --dim-container-main-margin-y: 2rem; - } - - .tsd-breadcrumb { - margin-top: 0; - } - - .col-sidebar { - grid-area: sidebar; - } - .col-content { - grid-area: content; - padding: 0 1rem; - } - } - @media (min-width: 770px) and (max-width: 1399px) { - .col-sidebar { - max-height: calc( - 100vh - var(--dim-header-height) - var(--dim-footer-height) - - 2 * var(--dim-container-main-margin-y) - ); - overflow: auto; - position: sticky; - top: calc( - var(--dim-header-height) + var(--dim-container-main-margin-y) - ); - } - .site-menu { - margin-top: 1rem; - } - } - - /* two sidebars */ - @media (min-width: 1200px) { - .container-main { - grid-template-columns: - minmax(0, 1fr) minmax(0, 2.5fr) minmax( - 0, - 20rem - ); - grid-template-areas: "sidebar content toc"; - } - - .col-sidebar { - display: contents; - } - - .page-menu { - grid-area: toc; - padding-left: 1rem; - } - .site-menu { - grid-area: sidebar; - } - - .site-menu { - margin-top: 0rem; - } - - .page-menu, - .site-menu { - max-height: calc( - 100vh - var(--dim-header-height) - var(--dim-footer-height) - - 2 * var(--dim-container-main-margin-y) - ); - overflow: auto; - position: sticky; - top: calc( - var(--dim-header-height) + var(--dim-container-main-margin-y) - ); - } - } -} diff --git a/docs/classes/AudioSession.html b/docs/classes/AudioSession.html deleted file mode 100644 index 76b4859c..00000000 --- a/docs/classes/AudioSession.html +++ /dev/null @@ -1,47 +0,0 @@ -AudioSession | LiveKit React Native Client SDK - v3.2.0

Class AudioSession

Index

Constructors

Methods

  • Applies the provided audio configuration to the underlying AudioSession.

    -

    Must be called prior to connecting to a Room for the configuration to apply correctly.

    -

    See also setupIOSAudioManagement for automatic configuration of iOS audio options.

    -

    Parameters

    Returns Promise<void>

  • Gets the available audio outputs for use with selectAudioOutput.

    -

    startAudioSession must be called prior to using this method.

    -

    For Android, will return if available:

    -
      -
    • "speaker"
    • -
    • "earpiece"
    • -
    • "headset"
    • -
    • "bluetooth"
    • -
    -
    -

    For iOS, due to OS limitations, the only available types are:

    -
      -
    • "default" - Use default iOS audio routing
    • -
    • "force_speaker" - Force audio output through speaker
    • -
    -

    See also showAudioRoutePicker to display a route picker that -can choose between other audio devices (i.e. headset/bluetooth/airplay), -or use a library like react-native-avroutepicker for a native platform -control.

    -

    Returns Promise<string[]>

    the available audio output types

    -
  • Select the provided audio output if available.

    -

    startAudioSession must be called prior to using this method.

    -

    Parameters

    Returns Promise<void>

  • Set default audio track volume when new tracks are subscribed. -Does not affect any existing tracks.

    -

    Parameters

    • volume: number

      A number between 0.0 and 1.0, where 0.0 represents 0% volume and -1.0 represents full volume.

      -

    Returns Promise<void>

  • iOS only, requires iOS 11+.

    -

    Displays an AVRoutePickerView for the user to choose their audio output.

    -

    Returns Promise<void>

diff --git a/docs/classes/RNE2EEManager.html b/docs/classes/RNE2EEManager.html deleted file mode 100644 index e36c4fe0..00000000 --- a/docs/classes/RNE2EEManager.html +++ /dev/null @@ -1,10 +0,0 @@ -RNE2EEManager | LiveKit React Native Client SDK - v3.2.0

Class RNE2EEManagerExperimental

Hierarchy

  • TypedEventEmitter<E2EEManagerCallbacks, this>
    • RNE2EEManager

Implements

  • BaseE2EEManager
Index

Constructors

Accessors

  • get isDataChannelEncryptionEnabled(): boolean
    Experimental

    Returns boolean

  • set isDataChannelEncryptionEnabled(value: boolean): void
    Experimental

    Parameters

    • value: boolean

    Returns void

  • get isEnabled(): boolean
    Experimental

    Returns boolean

Methods

  • Experimental

    Parameters

    • data: Uint8Array

    Returns Promise<{}>

  • Experimental

    Parameters

    • payload: Uint8Array
    • iv: Uint8Array
    • participantIdentity: string
    • keyIndex: number

    Returns Promise<{}>

  • Experimental

    Parameters

    • enabled: boolean
    • participantIdentity: string

    Returns void

  • Experimental

    Parameters

    • trailer: Uint8Array

    Returns void

  • Experimental

    Parameters

    • room: Room

    Returns void

  • Experimental

    Parameters

    • _engine: RTCEngine

    Returns void

diff --git a/docs/classes/RNKeyProvider.html b/docs/classes/RNKeyProvider.html deleted file mode 100644 index d0174f65..00000000 --- a/docs/classes/RNKeyProvider.html +++ /dev/null @@ -1,11 +0,0 @@ -RNKeyProvider | LiveKit React Native Client SDK - v3.2.0

Class RNKeyProviderExperimental

Hierarchy

  • BaseKeyProvider
    • RNKeyProvider
Index

Constructors

Methods

  • Experimental

    Parameters

    • participantId: string

    Returns number

  • Experimental

    Parameters

    • OptionalparticipantIdentity: string
    • OptionalkeyIndex: number

    Returns Promise<void>

  • Experimental

    Parameters

    • OptionalkeyIndex: number

    Returns Promise<void>

  • Experimental

    Accepts a passphrase that's used to create the crypto keys for a participant's stream.

    -

    Parameters

    • participantId: string
    • key: string | Uint8Array<ArrayBufferLike>
    • OptionalkeyIndex: number

    Returns Promise<any>

  • Experimental

    Accepts a passphrase that's used to create the crypto keys.

    -

    Parameters

    • key: string | Uint8Array<ArrayBufferLike>
    • OptionalkeyIndex: number

    Returns Promise<any>

  • Experimental

    Parameters

    • trailer: Uint8Array

    Returns Promise<any>

diff --git a/docs/functions/BarVisualizer.html b/docs/functions/BarVisualizer.html deleted file mode 100644 index 30d4afee..00000000 --- a/docs/functions/BarVisualizer.html +++ /dev/null @@ -1,7 +0,0 @@ -BarVisualizer | LiveKit React Native Client SDK - v3.2.0

Function BarVisualizer

Visualizes audio signals from a TrackReference as bars. -If the state prop is set, it automatically transitions between VoiceAssistant states.

-

For VoiceAssistant state transitions this component requires a voice assistant agent running with livekit-agents >= 0.9.0

-
function SimpleVoiceAssistant() {
const { state, audioTrack } = useVoiceAssistant();
return (
<BarVisualizer
state={state}
trackRef={audioTrack}
/>
);
} -
- -
diff --git a/docs/functions/LiveKitRoom.html b/docs/functions/LiveKitRoom.html deleted file mode 100644 index 69242054..00000000 --- a/docs/functions/LiveKitRoom.html +++ /dev/null @@ -1,7 +0,0 @@ -LiveKitRoom | LiveKit React Native Client SDK - v3.2.0

Function LiveKitRoom

  • The LiveKitRoom component provides the room context to all its child components. -It is generally the starting point of your LiveKit app and the root of the LiveKit component tree. -It provides the room state as a React context to all child components, so you don't have to pass it yourself.

    -

    Parameters

    Returns Element

    <LiveKitRoom
    token='<livekit-token>'
    serverUrl='<url-to-livekit-server>'
    connect={true}
    >
    ...
    </LiveKitRoom> -
    - -
diff --git a/docs/functions/VideoView.html b/docs/functions/VideoView.html deleted file mode 100644 index 0fd75867..00000000 --- a/docs/functions/VideoView.html +++ /dev/null @@ -1,2 +0,0 @@ -VideoView | LiveKit React Native Client SDK - v3.2.0

Function VideoView

  • Parameters

    Returns Element

    use VideoTrack and VideoTrackProps instead.

    -
diff --git a/docs/functions/getDefaultAppleAudioConfigurationForMode.html b/docs/functions/getDefaultAppleAudioConfigurationForMode.html deleted file mode 100644 index d1b621f6..00000000 --- a/docs/functions/getDefaultAppleAudioConfigurationForMode.html +++ /dev/null @@ -1,7 +0,0 @@ -getDefaultAppleAudioConfigurationForMode | LiveKit React Native Client SDK - v3.2.0

Function getDefaultAppleAudioConfigurationForMode

  • Parameters

    Returns AppleAudioConfiguration

    Use the default behavior of setupIOSAudioManagement instead.

    -

    Kept in sync with getDefaultAppleAudioConfigurationForAudioState in -./AudioManager.ts. If you change the defaults in one place, update the -other so the legacy path and the new path produce the same configuration. -AudioTrackState carries no voice-processing state, so this matches the -voice-processing-enabled results of that function only.

    -
diff --git a/docs/functions/registerGlobals.html b/docs/functions/registerGlobals.html deleted file mode 100644 index c2c28502..00000000 --- a/docs/functions/registerGlobals.html +++ /dev/null @@ -1,4 +0,0 @@ -registerGlobals | LiveKit React Native Client SDK - v3.2.0

Function registerGlobals

  • Registers the required globals needed for LiveKit to work.

    -

    Must be called before using LiveKit.

    -

    Parameters

    Returns void

diff --git a/docs/functions/setLogLevel.html b/docs/functions/setLogLevel.html deleted file mode 100644 index 2b1e153e..00000000 --- a/docs/functions/setLogLevel.html +++ /dev/null @@ -1,3 +0,0 @@ -setLogLevel | LiveKit React Native Client SDK - v3.2.0

Function setLogLevel

  • Set the log level for both the @livekit/react-native package and the @livekit-client package. -To set the @livekit-client log independently, use the liveKitClientLogLevel prop on the options object.

    -

    Parameters

    • level: "trace" | "debug" | "info" | "warn" | "error" | "silent" | LogLevel
    • options: SetLogLevelOptions = {}

    Returns void

diff --git a/docs/functions/setupIOSAudioManagement.html b/docs/functions/setupIOSAudioManagement.html deleted file mode 100644 index d91e7c87..00000000 --- a/docs/functions/setupIOSAudioManagement.html +++ /dev/null @@ -1,29 +0,0 @@ -setupIOSAudioManagement | LiveKit React Native Client SDK - v3.2.0

Function setupIOSAudioManagement

  • Sets up automatic iOS audio session management based on audio engine state.

    -

    Call this once at app startup (e.g. in index.js). registerGlobals() -invokes it for you by default unless autoConfigureAudioSession: false -is passed.

    -

    By default the audio session is configured and activated natively as the -audio engine changes state, with no JavaScript involvement per transition.

    -

    For custom categories/modes, pass a static IOSAudioSessionPolicy. -That policy is pushed to native once and applied on the audio worker thread.

    -

    Calling this again replaces the previous setup, including switching -between the default and custom paths. Switch while disconnected; a switch -during an active call is unsupported. In particular, switching away from a -custom callback setup mid-call abandons the audio session activation that -the custom handlers took, so the session may stay active after the call ends.

    -

    Parameters

    • OptionalpreferSpeakerOutput: boolean

      Whether to prefer speaker output. Defaults to true.

      -

    Returns () => void

    A cleanup function that removes the installed handlers or native -configuration. A cleanup function from a superseded setup is a no-op.

    -
  • Sets up automatic iOS audio session management with a static native policy.

    -

    Parameters

    • preferSpeakerOutput: boolean

      Unused when a full policy is provided; kept for -call-site consistency with the default overload.

      -
    • policy: IOSAudioSessionPolicy

      Static recording/playout configuration applied natively.

      -

    Returns () => void

    setupIOSAudioManagement for the default native path and usage notes.

    -
  • Parameters

    Returns () => void

    The onConfigureNativeAudio callback is unsafe. It runs inside -the audio engine's lifecycle callbacks while native code waits for the -result (bounded at a few seconds). The callback must return quickly and -must not call APIs that enter the WebRTC engine or a peer connection -(for example addTransceiver, getUserMedia, or device enumeration): -those can block on the same engine operation the callback is holding up. -Prefer the default native path, or pass an IOSAudioSessionPolicy.

    -
diff --git a/docs/functions/sortParticipants.html b/docs/functions/sortParticipants.html deleted file mode 100644 index 189c6be4..00000000 --- a/docs/functions/sortParticipants.html +++ /dev/null @@ -1,9 +0,0 @@ -sortParticipants | LiveKit React Native Client SDK - v3.2.0

Function sortParticipants

  • Default sort for participants, it'll order participants by:

    -
      -
    1. dominant speaker (speaker with the loudest audio level)
    2. -
    3. local participant
    4. -
    5. other speakers that are recently active
    6. -
    7. participants with video on
    8. -
    9. by joinedAt
    10. -
    -

    Parameters

    • participants: Participant[]
    • OptionallocalParticipant: LocalParticipant

    Returns void

diff --git a/docs/functions/useBarAnimator.html b/docs/functions/useBarAnimator.html deleted file mode 100644 index 9681f6f9..00000000 --- a/docs/functions/useBarAnimator.html +++ /dev/null @@ -1 +0,0 @@ -useBarAnimator | LiveKit React Native Client SDK - v3.2.0

Function useBarAnimator

  • Parameters

    • state: AgentState | undefined
    • columns: number
    • interval: number

    Returns number[]

diff --git a/docs/functions/useIOSAudioManagement.html b/docs/functions/useIOSAudioManagement.html deleted file mode 100644 index 9be3782c..00000000 --- a/docs/functions/useIOSAudioManagement.html +++ /dev/null @@ -1,13 +0,0 @@ -useIOSAudioManagement | LiveKit React Native Client SDK - v3.2.0

Function useIOSAudioManagement

  • Parameters

    Returns void

    Use setupIOSAudioManagement instead. -The room parameter is ignored — audio session is now managed -via audio engine events, not room track counts.

    -

    The onConfigureNativeAudio callback is also deprecated and unsafe: it -runs under a bounded native wait on the audio worker thread. Prefer the -default native path, or pass an IOSAudioSessionPolicy to -setupIOSAudioManagement.

    -

    Note: the trackState passed to onConfigureNativeAudio is now -derived from the audio engine's playout/recording state, not from -publication counts. Edge cases can differ. For example, a -published-but-muted local audio track that previously yielded -localOnly may now appear as remoteOnly or none.

    -
diff --git a/docs/functions/useMultibandTrackVolume.html b/docs/functions/useMultibandTrackVolume.html deleted file mode 100644 index 32ba03af..00000000 --- a/docs/functions/useMultibandTrackVolume.html +++ /dev/null @@ -1,3 +0,0 @@ -useMultibandTrackVolume | LiveKit React Native Client SDK - v3.2.0

Function useMultibandTrackVolume

  • A hook for tracking the volume of an audio track across multiple frequency bands.

    -

    Parameters

    • OptionaltrackOrTrackReference: LocalAudioTrack | RemoteAudioTrack | TrackReferenceOrPlaceholder
    • Optionaloptions: MultiBandTrackVolumeOptions

    Returns number[]

    A number array containing the volume for each frequency band.

    -
diff --git a/docs/functions/useParticipant.html b/docs/functions/useParticipant.html deleted file mode 100644 index 23417228..00000000 --- a/docs/functions/useParticipant.html +++ /dev/null @@ -1,2 +0,0 @@ -useParticipant | LiveKit React Native Client SDK - v3.2.0

Function useParticipant

diff --git a/docs/functions/useRNE2EEManager.html b/docs/functions/useRNE2EEManager.html deleted file mode 100644 index ed5b5f79..00000000 --- a/docs/functions/useRNE2EEManager.html +++ /dev/null @@ -1 +0,0 @@ -useRNE2EEManager | LiveKit React Native Client SDK - v3.2.0

Function useRNE2EEManager

diff --git a/docs/functions/useRoom.html b/docs/functions/useRoom.html deleted file mode 100644 index 4eaab3c1..00000000 --- a/docs/functions/useRoom.html +++ /dev/null @@ -1,2 +0,0 @@ -useRoom | LiveKit React Native Client SDK - v3.2.0

Function useRoom

diff --git a/docs/functions/useTrackVolume.html b/docs/functions/useTrackVolume.html deleted file mode 100644 index ac102646..00000000 --- a/docs/functions/useTrackVolume.html +++ /dev/null @@ -1,3 +0,0 @@ -useTrackVolume | LiveKit React Native Client SDK - v3.2.0

Function useTrackVolume

  • A hook for tracking the volume of an audio track.

    -

    Parameters

    • OptionaltrackOrTrackReference: LocalAudioTrack | RemoteAudioTrack | TrackReferenceOrPlaceholder

    Returns number

    A number between 0-1 representing the volume.

    -
diff --git a/docs/hierarchy.html b/docs/hierarchy.html deleted file mode 100644 index eae5fd79..00000000 --- a/docs/hierarchy.html +++ /dev/null @@ -1 +0,0 @@ -LiveKit React Native Client SDK - v3.2.0

LiveKit React Native Client SDK - v3.2.0

Hierarchy Summary

diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index dc20ceac..00000000 --- a/docs/index.html +++ /dev/null @@ -1,226 +0,0 @@ -LiveKit React Native Client SDK - v3.2.0

LiveKit React Native Client SDK - v3.2.0

- - - - The LiveKit icon, the name of the repository and some sample code in the background. - - -

React Native client SDK for LiveKit

- -

Use this SDK to add realtime video, audio and data features to your React Native app. By connecting to LiveKit Cloud or a self-hosted server, you can quickly build applications such as multi-modal AI, live streaming, or video calls with just a few lines of code.

- -
Note

-This is v2 of the React-Native SDK. When migrating from v1.x to v2.x you might encounter a small set of breaking changes. -Read the migration guide for a detailed overview of what has changed.

-
- -
Important

-If you're building Voice AI, LiveKit Agents is the SDK for code-first realtime voice agents. STT, LLM, TTS, turn detection, expressive speech, keyterm accuracy, tool usage, and telephony all come bundled in the framework. It's available in both Python and Node.js.

-
# agent.py
from livekit import agents
from livekit.agents import Agent, AgentServer, AgentSession, STTContextOptions, TurnHandlingOptions, inference

server = AgentServer()


@server.rtc_session(agent_name="my-agent")
async def my_agent(ctx: agents.JobContext):
session = AgentSession(
stt=inference.STT(model="deepgram/nova-3", language="multi"),
llm=inference.LLM(model="google/gemma-4-31b-it"),
tts=inference.TTS(model="inworld/inworld-tts-2", voice="Ashley"),
turn_handling=TurnHandlingOptions(turn_detection=inference.TurnDetector()),
stt_context_options=STTContextOptions(keyterms=["LiveKit", "Acme Corp"]),
expressive=True,
)
await session.start(room=ctx.room, agent=Agent(instructions="You are a helpful voice AI assistant."))
await session.generate_reply(instructions="Greet the user and offer your assistance.")


if __name__ == "__main__":
agents.cli.run_app(server) -
- -

Models come from LiveKit Inference with no per-provider API keys, and LiveKit Cloud handles deployment and observability. Visit the docs for more info at docs.livekit.io/agents.

-

Using a coding agent? Install the LiveKit skill with npx skills add livekit/agent-skills and add the docs MCP at https://docs.livekit.io/mcp/ (see coding agent support).

-
- - - -
npm install @livekit/react-native @livekit/react-native-webrtc livekit-client
-
- - -
yarn add @livekit/react-native @livekit/react-native-webrtc livekit-client
-
- -

This library depends on @livekit/react-native-webrtc, which has additional installation instructions found here:

- - -

This package depends on the LiveKitWebRTC pod, which is published to the -livekit/podspecs spec repo and the CocoaPods trunk. The CocoaPods trunk stops accepting new pods on December 2, 2026, so later LiveKitWebRTC versions will only be available from livekit/podspecs. Add both sources to the top of your ios/Podfile:

-
source 'https://github.com/livekit/podspecs.git'
source 'https://cdn.cocoapods.org/' -
- -

Keep the cdn.cocoapods.org line: once a Podfile lists any source, CocoaPods stops using -trunk by default, and your other pods still come from there.

-

Expo users don't need to edit the Podfile by hand: version 1.1.0 and later of the -Expo plugin adds these sources during prebuild.

-
-

Once the @livekit/react-native-webrtc dependency is installed, one last step is needed to finish the installation:

- -
-Java -

In your MainApplication.java file:

-
import com.livekit.reactnative.LiveKitReactNative;
import com.livekit.reactnative.audio.AudioType;

public class MainApplication extends Application implements ReactApplication {

@Override
public void onCreate() {
// Place this above any other RN related initialization
// When AudioType is omitted, it'll default to CommunicationAudioType.
// Use MediaAudioType if user is only consuming audio, and not publishing.
LiveKitReactNative.setup(this, new AudioType.CommunicationAudioType());

//...
}
} -
- -
-
-Kotlin -

In your MainApplication.kt file:

-
import com.livekit.reactnative.LiveKitReactNative
import com.livekit.reactnative.audio.AudioType

class MainApplication : Application, ReactApplication() {
override fun onCreate() {
// Place this above any other RN related initialization
// When AudioType is omitted, it'll default to CommunicationAudioType.
// Use MediaAudioType if user is only consuming audio, and not publishing.
LiveKitReactNative.setup(this, AudioType.CommunicationAudioType())

//...
}
} -
- -
- -
-Objective-C -

In your AppDelegate.m file:

-
#import "LivekitReactNative.h"
#import "LKRNWebRTCModuleOptions.h"

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Place this above any other RN related initialization
[LivekitReactNative setup];

// Uncomment the following lines if you want to use the camera in the background
// Requires voip background mode and iOS 18+.

// LKRNWebRTCModuleOptions *options = [LKRNWebRTCModuleOptions sharedInstance];
// options.enableMultitaskingCameraAccess = YES;

//...
} -
- -
-
-Swift -

In your AppDelegate.swift file:

-
import livekit_react_native
import livekit_react_native_webrtc

@main
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
) -> Bool {

// Place this above any other RN related initialization
LivekitReactNative.setup()

// Uncomment the following lines if you want to use the camera in the background
// Requires voip background mode and iOS 18+.

// let options = LKRNWebRTCModuleOptions.sharedInstance()
// options.enableMultitaskingCameraAccess = true

// ...
}
}
-
- -
- -

LiveKit is available on Expo through development builds. You can find our Expo plugin and setup instructions here.

- -

You can try our standalone example app here.

- -

In your index.js file, setup the LiveKit SDK by calling registerGlobals(). -This sets up the required WebRTC libraries for use in Javascript, and is needed for LiveKit to work.

-
import { registerGlobals } from '@livekit/react-native';

// ...

registerGlobals(); -
- -

In your app, wrap your component in a LiveKitRoom component, which manages a -Room object and allows you to use our hooks to create your own real-time video/audio app.

-
import * as React from 'react';
import {
StyleSheet,
View,
FlatList,
ListRenderItem,
} from 'react-native';
import { useEffect } from 'react';
import {
AudioSession,
LiveKitRoom,
useTracks,
TrackReferenceOrPlaceholder,
VideoTrack,
isTrackReference,
registerGlobals,
} from '@livekit/react-native';
import { Track } from 'livekit-client';

const wsURL = "wss://example.com"
const token = "your-token-here"

export default function App() {
// Start the audio session first.
useEffect(() => {
let start = async () => {
await AudioSession.startAudioSession();
};

start();
return () => {
AudioSession.stopAudioSession();
};
}, []);

return (
<LiveKitRoom
serverUrl={wsURL}
token={token}
connect={true}
options={{
// Use screen pixel density to handle screens with differing densities.
adaptiveStream: { pixelDensity: 'screen' },
}}
audio={true}
video={true}
>
<RoomView />
</LiveKitRoom>
);
};

const RoomView = () => {
// Get all camera tracks.
// The useTracks hook grabs the tracks from LiveKitRoom component
// providing the context for the Room object.
const tracks = useTracks([Track.Source.Camera]);

const renderTrack: ListRenderItem<TrackReferenceOrPlaceholder> = ({item}) => {
// Render using the VideoTrack component.
if(isTrackReference(item)) {
return (<VideoTrack trackRef={item} style={styles.participantView} />)
} else {
return (<View style={styles.participantView} />)
}
};

return (
<View style={styles.container}>
<FlatList
data={tracks}
renderItem={renderTrack}
/>
</View>
);
};

const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'stretch',
justifyContent: 'center',
},
participantView: {
height: 300,
},
}); -
- -

API documentation is located here.

-

Additional documentation for the LiveKit SDK can be found at https://docs.livekit.io/

- -

As seen in the above example, we've introduced a class AudioSession that helps -to manage the audio session on native platforms. This class wraps either AudioManager on Android, or AVAudioSession on iOS.

-

You can customize the configuration of the audio session with configureAudio.

- - -

By default, the audio session is set up for bidirectional communication. In this mode, the audio framework exhibits the following behaviors:

-
    -
  • The volume cannot be reduced to 0.
  • -
  • Echo cancellation is available and is enabled by default.
  • -
  • A microphone indicator can be displayed, depending on the platform.
  • -
-

If you're leveraging LiveKit primarily for media playback, you have the option to reconfigure the audio session to better suit media playback. Here's how:

-
useEffect(() => {
let connect = async () => {
// configure audio session prior to starting it.
await AudioSession.configureAudio({
android: {
// currently supports .media and .communication presets
audioTypeOptions: AndroidAudioTypePresets.media,
},
});
await AudioSession.startAudioSession();
await room.connect(url, token, {});
};
connect();
return () => {
room.disconnect();
AudioSession.stopAudioSession();
};
}, [url, token, room]); -
- - -

Instead of using our presets, you can further customize the audio session to suit your specific needs.

-
await AudioSession.configureAudio({
android: {
preferredOutputList: ['earpiece'],
// See [AudioManager](https://developer.android.com/reference/android/media/AudioManager)
// for details on audio and focus modes.
audioTypeOptions: {
manageAudioFocus: true,
audioMode: 'normal',
audioFocusMode: 'gain',
audioStreamType: 'music',
audioAttributesUsageType: 'media',
audioAttributesContentType: 'unknown',
},
},
});
await AudioSession.startAudioSession(); -
- - -

For iOS, registerGlobals() automatically configures and activates the audio -session based on WebRTC audio engine lifecycle events. This is enabled by -default and is usually enough for voice and video apps:

-
registerGlobals();
-
- -

If your app manages AVAudioSession directly, disable the automatic setup:

-
registerGlobals({ autoConfigureAudioSession: false });
-
- -

For custom categories/modes, disable the default setup and pass a static -policy to setupIOSAudioManagement once during app startup:

-
import { registerGlobals, setupIOSAudioManagement } from '@livekit/react-native';

registerGlobals({ autoConfigureAudioSession: false });

const cleanup = setupIOSAudioManagement(true, {
recording: {
audioCategory: 'playAndRecord',
audioCategoryOptions: ['allowBluetooth', 'mixWithOthers'],
audioMode: 'videoChat',
},
playout: {
audioCategory: 'playback',
audioCategoryOptions: ['mixWithOthers'],
audioMode: 'spokenAudio',
},
}); -
- -

The older useIOSAudioManagement(room, ...) hook is still exported for -backward compatibility, but it is deprecated. New code should prefer the -startup-level audio engine integration above.

- -

Enabling screenshare requires extra installation steps:

- -

Android screenshare requires a foreground service with type mediaProjection to be present.

-

From version 2.4.0 onwards, the foreground service is handled internally, -but you must declare the permission yourself in your app's AndroidManifest.xml file.

-
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />
-
- - -

iOS screenshare requires adding a Broadcast Extension to your iOS project. Follow the integration instructions here:

-

https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-ios-sdk/#screen-sharing-integration

-

It involves copying the files found in this sample project -to your iOS project, and registering a Broadcast Extension in Xcode.

-

It's also recommended to use CallKeep, -to register a call with CallKit (as well as turning on the voip background mode). -Due to background app processing limitations, screen recording may be interrupted if the app is restricted -in the background. Registering with CallKit allows the app to continue processing for the duration of the call.

-

Once setup, iOS screenshare can be initiated like so:

-
const screenCaptureRef = React.useRef(null);
const screenCapturePickerView = Platform.OS === 'ios' && (
<ScreenCapturePickerView ref={screenCaptureRef} />
);
const startBroadcast = async () => {
if (Platform.OS === 'ios') {
const reactTag = findNodeHandle(screenCaptureRef.current);
await NativeModules.LKRNScreenCapturePickerViewManager.show(reactTag);
room.localParticipant.setScreenShareEnabled(true);
} else {
room.localParticipant.setScreenShareEnabled(true);
}
};

return (
<View style={styles.container}>
/*...*/ // Make sure the ScreenCapturePickerView exists in the view tree.
{screenCapturePickerView}
</View>
); -
- - -

You will not be able to publish camera or microphone tracks on iOS Simulator.

- - -

To support staying connected to LiveKit in the background, you will need a foreground service on Android.

-

The example app uses @supersami/rn-foreground-service for this.

-

Add the following permissions to your AndroidManifest.xml file:

-
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_CAMERA" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" /> -
- -

Declare the the service and ensure it's labelled a mediaProjection service like so:

-
<service android:name="com.supersami.foregroundservice.ForegroundService" android:foregroundServiceType="camera|microphone|mediaPlayback" />
<service android:name="com.supersami.foregroundservice.ForegroundServiceTask" /> -
- -

The camera and microphone permissions/foreground service types can be omitted if you are not using those.

-

Once setup, start the foreground service to keep the app alive in the background.

- -

By default, simple background processing can be enabled by selecting the audio and voip -UIBackgroundModes -in your XCode project. In your project, select your app target -> Signing & Capabilities -> Add Capability -> Background Modes.

-

These background modes will keep the app alive in the background as long as a mic or audio track is playing.

-

For a more robust background that isn't sensitive to the above conditions, we suggest using -CallKit to maintain the -connection while in the background. The example uses -react-native-callkeep -for simple integration with CallKit.

-

Our example code can be found here.

-

For apps planning to use CallKit to handle incoming calls in the background, it is important to call -RTCAudioSession.audioSessionDidActivate/Deactivate when the call provider activates/deactivates -the audio session.

- - -

This error could happen if you are using yarn and have incompatible versions of dependencies with livekit-client.

-

To fix this, you can either:

-
    -
  • use another package manager, like npm
  • -
  • use yarn-deduplicate to deduplicate dependencies
  • -
- -

This usually happens after upgrading @livekit/react-native-webrtc. The error may also say the -matching specs "required a higher minimum deployment target", which is misleading.

-

Make sure both Podfile sources are in your ios/Podfile, then run:

-
cd ios && pod update LiveKitWebRTC
-
- -

You may also see a Found multiple specifications for LiveKitWebRTC warning. It is harmless: -some versions are published to both livekit/podspecs and CocoaPods trunk, and the two are identical.

- -

See the contributing guide to learn how to contribute to the repository and the development workflow.

- -

Apache License 2.0

- -


- - - - - - - - - - - -
LiveKit Ecosystem
Agents SDKsPython · Node.js
LiveKit SDKsBrowser · Swift · Android · Flutter · React Native · Rust · Node.js · Python · Unity · Unity (WebGL) · ESP32 · C++
Starter AppsPython Agent · TypeScript Agent · React App · SwiftUI App · Android App · Flutter App · React Native App · Web Embed
UI ComponentsReact · Android Compose · SwiftUI · Flutter
Server APIsNode.js · Golang · Ruby · Java/Kotlin · Python · Rust · PHP (community) · .NET (community)
ResourcesDocs · Docs MCP Server · CLI · LiveKit Cloud
LiveKit Server OSSLiveKit server · Egress · Ingress · SIP
CommunityDeveloper Community · Slack · X · YouTube
-

diff --git a/docs/interfaces/BarVisualizerProps.html b/docs/interfaces/BarVisualizerProps.html deleted file mode 100644 index aa337532..00000000 --- a/docs/interfaces/BarVisualizerProps.html +++ /dev/null @@ -1,9 +0,0 @@ -BarVisualizerProps | LiveKit React Native Client SDK - v3.2.0

Interface BarVisualizerPropsBeta

interface BarVisualizerProps {
    barCount?: number;
    options?: BarVisualizerOptions;
    state?: AgentState;
    style?: ViewStyle;
    trackRef?: TrackReferenceOrPlaceholder;
}
Index

Properties

barCount?: number

Number of bars that show up in the visualizer

-
state?: AgentState

If set, the visualizer will transition between different voice assistant states

-
style?: ViewStyle

Custom React Native styles for the container.

-
trackRef?: TrackReferenceOrPlaceholder
diff --git a/docs/interfaces/LiveKitRoomProps.html b/docs/interfaces/LiveKitRoomProps.html deleted file mode 100644 index 60b79ecc..00000000 --- a/docs/interfaces/LiveKitRoomProps.html +++ /dev/null @@ -1,44 +0,0 @@ -LiveKitRoomProps | LiveKit React Native Client SDK - v3.2.0

Interface LiveKitRoomProps

interface LiveKitRoomProps {
    audio?: boolean | AudioCaptureOptions;
    connect?: boolean;
    connectOptions?: RoomConnectOptions;
    featureFlags?: FeatureFlags;
    onConnected?: () => void;
    onDisconnected?: () => void;
    onEncryptionError?: (error: Error) => void;
    onError?: (error: Error) => void;
    onMediaDeviceFailure?: (failure?: MediaDeviceFailure) => void;
    options?: RoomOptions;
    room?: Room;
    screen?: boolean | ScreenShareCaptureOptions;
    serverUrl: string | undefined;
    simulateParticipants?: number;
    token: string | undefined;
    video?: boolean | VideoCaptureOptions;
}
Index

Properties

audio?: boolean | AudioCaptureOptions

Publish audio immediately after connecting to your LiveKit room.

-
connect?: boolean

If set to true a connection to LiveKit room is initiated.

-

true

-
connectOptions?: RoomConnectOptions

Define options how to connect to the LiveKit server.

-
featureFlags?: FeatureFlags
onConnected?: () => void
onDisconnected?: () => void
onEncryptionError?: (error: Error) => void
onError?: (error: Error) => void
onMediaDeviceFailure?: (failure?: MediaDeviceFailure) => void
options?: RoomOptions

Options for when creating a new room. -When you pass your own room instance to this component, these options have no effect. -Instead, set the options directly in the room instance.

-
room?: Room

Optional room instance. -By passing your own room instance you overwrite the options parameter, -make sure to set the options directly on the room instance itself.

-
screen?: boolean | ScreenShareCaptureOptions

Publish screen share immediately after connecting to your LiveKit room.

-
serverUrl: string | undefined

URL to the LiveKit server. -For example: wss://<domain>.livekit.cloud -To simplify the implementation, undefined is also accepted as an intermediate value, but only with a valid string url can the connection be established.

-
simulateParticipants?: number
token: string | undefined

A user specific access token for a client to authenticate to the room. -This token is necessary to establish a connection to the room. -To simplify the implementation, undefined is also accepted as an intermediate value, but only with a valid string token can the connection be established.

-
video?: boolean | VideoCaptureOptions

Publish video immediately after connecting to your LiveKit room.

-
diff --git a/docs/interfaces/MultiBandTrackVolumeOptions.html b/docs/interfaces/MultiBandTrackVolumeOptions.html deleted file mode 100644 index 4d49a0ef..00000000 --- a/docs/interfaces/MultiBandTrackVolumeOptions.html +++ /dev/null @@ -1,10 +0,0 @@ -MultiBandTrackVolumeOptions | LiveKit React Native Client SDK - v3.2.0

Interface MultiBandTrackVolumeOptionsAlpha

Interface for configuring options for the useMultibandTrackVolume hook.

-
interface MultiBandTrackVolumeOptions {
    bands?: number;
    maxFrequency?: number;
    minFrequency?: number;
    updateInterval?: number;
}
Index

Properties

bands?: number

the number of bands to split the audio into

-
maxFrequency?: number

cut off frequency on the higher end

-
minFrequency?: number

cut off frequency on the lower end

-
updateInterval?: number

update should run every x ms

-
diff --git a/docs/interfaces/ParticipantState.html b/docs/interfaces/ParticipantState.html deleted file mode 100644 index ed22a445..00000000 --- a/docs/interfaces/ParticipantState.html +++ /dev/null @@ -1,11 +0,0 @@ -ParticipantState | LiveKit React Native Client SDK - v3.2.0

Interface ParticipantState

use useRemoteParticipant or useLocalParticipant instead

-
interface ParticipantState {
    cameraPublication?: TrackPublication;
    connectionQuality: ConnectionQuality;
    isLocal: boolean;
    isSpeaking: boolean;
    metadata?: string;
    microphonePublication?: TrackPublication;
    publications: TrackPublication[];
    screenSharePublication?: TrackPublication;
    subscribedTracks: TrackPublication[];
}
Index

Properties

cameraPublication?: TrackPublication
connectionQuality: ConnectionQuality
isLocal: boolean
isSpeaking: boolean
metadata?: string
microphonePublication?: TrackPublication
publications: TrackPublication[]
screenSharePublication?: TrackPublication
subscribedTracks: TrackPublication[]
diff --git a/docs/interfaces/RNE2EEManagerState.html b/docs/interfaces/RNE2EEManagerState.html deleted file mode 100644 index 31fc2a9b..00000000 --- a/docs/interfaces/RNE2EEManagerState.html +++ /dev/null @@ -1,3 +0,0 @@ -RNE2EEManagerState | LiveKit React Native Client SDK - v3.2.0

Interface RNE2EEManagerState

interface RNE2EEManagerState {
    e2eeManager: BaseE2EEManager;
    keyProvider: RNKeyProvider;
}
Index

Properties

e2eeManager: BaseE2EEManager
keyProvider: RNKeyProvider
diff --git a/docs/interfaces/RegisterGlobalsOptions.html b/docs/interfaces/RegisterGlobalsOptions.html deleted file mode 100644 index c2d661b1..00000000 --- a/docs/interfaces/RegisterGlobalsOptions.html +++ /dev/null @@ -1,8 +0,0 @@ -RegisterGlobalsOptions | LiveKit React Native Client SDK - v3.2.0

Interface RegisterGlobalsOptions

interface RegisterGlobalsOptions {
    autoConfigureAudioSession?: boolean;
}
Index

Properties

autoConfigureAudioSession?: boolean

Automatically configure and activate the iOS audio session -based on audio engine lifecycle events. -Has no effect on non-Apple platforms.

-
true
-
- -
diff --git a/docs/interfaces/RoomOptions.html b/docs/interfaces/RoomOptions.html deleted file mode 100644 index 42b07876..00000000 --- a/docs/interfaces/RoomOptions.html +++ /dev/null @@ -1,2 +0,0 @@ -RoomOptions | LiveKit React Native Client SDK - v3.2.0

Interface RoomOptions

interface RoomOptions {
    sortParticipants?: (participants: Participant[]) => void;
}
Index

Properties

Properties

sortParticipants?: (participants: Participant[]) => void
diff --git a/docs/interfaces/RoomState.html b/docs/interfaces/RoomState.html deleted file mode 100644 index 7457a7a8..00000000 --- a/docs/interfaces/RoomState.html +++ /dev/null @@ -1,5 +0,0 @@ -RoomState | LiveKit React Native Client SDK - v3.2.0

Interface RoomState

interface RoomState {
    audioTracks: AudioTrack[];
    error?: Error;
    participants: Participant[];
    room?: Room;
}
Index

Properties

audioTracks: AudioTrack[]
error?: Error
participants: Participant[]
room?: Room
diff --git a/docs/media/CONTRIBUTING.md b/docs/media/CONTRIBUTING.md deleted file mode 100644 index 3b9374f4..00000000 --- a/docs/media/CONTRIBUTING.md +++ /dev/null @@ -1,185 +0,0 @@ -# Contributing - -We want this community to be friendly and respectful to each other. Please follow it in all your interactions with the project. - -## Development workflow - -To get started with the project, run `yarn` in the root directory to install the required dependencies for each package: - -```sh -yarn -``` - -> While it's possible to use [`npm`](https://github.com/npm/cli), the tooling is built around [`yarn`](https://classic.yarnpkg.com/), so you'll have an easier time if you use `yarn` for development. - -While developing, you can run the [example app](/example/) to test your changes. Any changes you make in your library's JavaScript code will be reflected in the example app without a rebuild. If you change any native code, then you'll need to rebuild the example app. - -To start the packager: - -```sh -yarn example start -``` - -To run the example app on Android: - -```sh -yarn example android -``` - -To run the example app on iOS: - -```sh -yarn example ios -``` - -Make sure your code passes TypeScript and ESLint. Run the following to verify: - -```sh -yarn typescript -yarn lint -``` - -To fix formatting errors, run the following: - -```sh -yarn lint --fix -``` - -Remember to add tests for your change if possible. Run the unit tests by: - -```sh -yarn test -``` - -To edit the Objective-C files, open `example/ios/LivekitReactNativeExample.xcworkspace` in XCode and find the source files at `Pods > Development Pods > livekit-react-native`. - -To edit the Kotlin files, open `example/android` in Android studio and find the source files at `livekitreactnative` under `Android`. - -### Linting and tests - -[ESLint](https://eslint.org/), [Prettier](https://prettier.io/), [TypeScript](https://www.typescriptlang.org/) - -We use [TypeScript](https://www.typescriptlang.org/) for type checking, [ESLint](https://eslint.org/) with [Prettier](https://prettier.io/) for linting and formatting the code, and [Jest](https://jestjs.io/) for testing. - -Our pre-commit hooks verify that the linter and tests pass when committing. - -### Publishing to npm - -We use [Changesets](https://github.com/changesets/changesets) to manage versioning and releases. - -If your pull request includes user-facing changes, add a changeset describing the change: - -```sh -yarn changeset -``` - -When changesets are merged to `main`, the [Release workflow](.github/workflows/changeset.yaml) opens a "Version Packages" pull request. Merging that PR bumps the version, publishes to npm, and creates a GitHub release. - -### Scripts - -The `package.json` file contains various scripts for common tasks: - -- `yarn bootstrap`: setup project by installing all dependencies and pods. -- `yarn typescript`: type-check files with TypeScript. -- `yarn lint`: lint files with ESLint. -- `yarn test`: run unit tests with Jest. -- `yarn example start`: start the Metro server for the example app. -- `yarn example android`: run the example app on Android. -- `yarn example ios`: run the example app on iOS. - -### Sending a pull request - -> **Working on your first pull request?** You can learn how from this _free_ series: [How to Contribute to an Open Source Project on GitHub](https://app.egghead.io/playlists/how-to-contribute-to-an-open-source-project-on-github). - -When you're sending a pull request: - -- Prefer small pull requests focused on one change. -- Verify that linters and tests are passing. -- Review the documentation to make sure it looks good. -- Follow the pull request template when opening a pull request. -- For pull requests that change the API or implementation, discuss with maintainers first by opening an issue. - -## Code of Conduct - -### Our Pledge - -We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. - -We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. - -### Our Standards - -Examples of behavior that contributes to a positive environment for our community include: - -- Demonstrating empathy and kindness toward other people -- Being respectful of differing opinions, viewpoints, and experiences -- Giving and gracefully accepting constructive feedback -- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience -- Focusing on what is best not just for us as individuals, but for the overall community - -Examples of unacceptable behavior include: - -- The use of sexualized language or imagery, and sexual attention or - advances of any kind -- Trolling, insulting or derogatory comments, and personal or political attacks -- Public or private harassment -- Publishing others' private information, such as a physical or email - address, without their explicit permission -- Other conduct which could reasonably be considered inappropriate in a - professional setting - -### Enforcement Responsibilities - -Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful. - -Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate. - -### Scope - -This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. - -### Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [INSERT CONTACT METHOD]. All complaints will be reviewed and investigated promptly and fairly. - -All community leaders are obligated to respect the privacy and security of the reporter of any incident. - -### Enforcement Guidelines - -Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct: - -#### 1. Correction - -**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community. - -**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested. - -#### 2. Warning - -**Community Impact**: A violation through a single incident or series of actions. - -**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban. - -#### 3. Temporary Ban - -**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. - -**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. - -#### 4. Permanent Ban - -**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. - -**Consequence**: A permanent ban from any sort of public interaction within the community. - -### Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, -available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. - -Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity). - -[homepage]: https://www.contributor-covenant.org - -For answers to common questions about this code of conduct, see the FAQ at -https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations. diff --git a/docs/modules.html b/docs/modules.html deleted file mode 100644 index 63223932..00000000 --- a/docs/modules.html +++ /dev/null @@ -1 +0,0 @@ -LiveKit React Native Client SDK - v3.2.0
diff --git a/docs/types/AndroidAudioTypeOptions.html b/docs/types/AndroidAudioTypeOptions.html deleted file mode 100644 index 05c267c3..00000000 --- a/docs/types/AndroidAudioTypeOptions.html +++ /dev/null @@ -1,29 +0,0 @@ -AndroidAudioTypeOptions | LiveKit React Native Client SDK - v3.2.0

Type Alias AndroidAudioTypeOptions

type AndroidAudioTypeOptions = {
    audioAttributesContentType?:
        | "movie"
        | "music"
        | "sonification"
        | "speech"
        | "unknown";
    audioAttributesUsageType?: | "alarm"
    | "assistanceAccessibility"
    | "assistanceNavigationGuidance"
    | "assistanceSonification"
    | "assistant"
    | "game"
    | "media"
    | "notification"
    | "notificationEvent"
    | "notificationRingtone"
    | "unknown"
    | "voiceCommunication"
    | "voiceCommunicationSignalling";
    audioFocusMode?: | "gain"
    | "gainTransient"
    | "gainTransientExclusive"
    | "gainTransientMayDuck";
    audioMode?: | "normal"
    | "callScreening"
    | "inCall"
    | "inCommunication"
    | "ringtone";
    audioStreamType?: | "accessibility"
    | "alarm"
    | "dtmf"
    | "music"
    | "notification"
    | "ring"
    | "system"
    | "voiceCall";
    forceHandleAudioRouting?: boolean;
    manageAudioFocus?: boolean;
}
Index

Properties

audioAttributesContentType?:
    | "movie"
    | "music"
    | "sonification"
    | "speech"
    | "unknown"

Corresponds to Android's AndroidAttributes content type.

-

Defaults to 'speech'.

-

See also https://developer.android.com/reference/android/media/AudioAttributes

-
audioAttributesUsageType?:
    | "alarm"
    | "assistanceAccessibility"
    | "assistanceNavigationGuidance"
    | "assistanceSonification"
    | "assistant"
    | "game"
    | "media"
    | "notification"
    | "notificationEvent"
    | "notificationRingtone"
    | "unknown"
    | "voiceCommunication"
    | "voiceCommunicationSignalling"

Corresponds to Android's AudioAttributes usage type.

-

Defaults to 'voiceCommunication'.

-

See also https://developer.android.com/reference/android/media/AudioAttributes

-
audioFocusMode?:
    | "gain"
    | "gainTransient"
    | "gainTransientExclusive"
    | "gainTransientMayDuck"

Corresponds to the duration hint when requesting audio focus.

-

Defaults to 'gain'.

-

See also https://developer.android.com/reference/android/media/AudioManager#AUDIOFOCUS_GAIN

-
audioMode?:
    | "normal"
    | "callScreening"
    | "inCall"
    | "inCommunication"
    | "ringtone"
audioStreamType?:
    | "accessibility"
    | "alarm"
    | "dtmf"
    | "music"
    | "notification"
    | "ring"
    | "system"
    | "voiceCall"

Corresponds to the stream type when requesting audio focus. Used on pre-O devices.

-

Defaults to 'voiceCall'

-

See also https://developer.android.com/reference/android/media/AudioManager#STREAM_VOICE_CALL

-
forceHandleAudioRouting?: boolean

On certain Android devices, audio routing does not function properly and -bluetooth microphones will not work unless audio mode is set to -inCommunication or inCall. Audio routing is turned off those cases.

-

If this set to true, will attempt to do audio routing regardless of audio mode.

-

Defaults to false.

-
manageAudioFocus?: boolean

Whether LiveKit should handle managing the audio focus or not.

-

Defaults to true.

-
diff --git a/docs/types/AppleAudioCategory.html b/docs/types/AppleAudioCategory.html deleted file mode 100644 index 27fe837a..00000000 --- a/docs/types/AppleAudioCategory.html +++ /dev/null @@ -1 +0,0 @@ -AppleAudioCategory | LiveKit React Native Client SDK - v3.2.0

Type Alias AppleAudioCategory

AppleAudioCategory:
    | "soloAmbient"
    | "playback"
    | "record"
    | "playAndRecord"
    | "multiRoute"
diff --git a/docs/types/AppleAudioCategoryOption.html b/docs/types/AppleAudioCategoryOption.html deleted file mode 100644 index 6bad5717..00000000 --- a/docs/types/AppleAudioCategoryOption.html +++ /dev/null @@ -1 +0,0 @@ -AppleAudioCategoryOption | LiveKit React Native Client SDK - v3.2.0

Type Alias AppleAudioCategoryOption

AppleAudioCategoryOption:
    | "mixWithOthers"
    | "duckOthers"
    | "interruptSpokenAudioAndMixWithOthers"
    | "allowBluetooth"
    | "allowBluetoothA2DP"
    | "allowAirPlay"
    | "defaultToSpeaker"
diff --git a/docs/types/AppleAudioConfiguration.html b/docs/types/AppleAudioConfiguration.html deleted file mode 100644 index 0566ddc4..00000000 --- a/docs/types/AppleAudioConfiguration.html +++ /dev/null @@ -1,4 +0,0 @@ -AppleAudioConfiguration | LiveKit React Native Client SDK - v3.2.0

Type Alias AppleAudioConfiguration

type AppleAudioConfiguration = {
    audioCategory?: AppleAudioCategory;
    audioCategoryOptions?: AppleAudioCategoryOption[];
    audioMode?: AppleAudioMode;
}
Index

Properties

audioCategory?: AppleAudioCategory
audioCategoryOptions?: AppleAudioCategoryOption[]
audioMode?: AppleAudioMode
diff --git a/docs/types/AppleAudioMode.html b/docs/types/AppleAudioMode.html deleted file mode 100644 index 2943bf7f..00000000 --- a/docs/types/AppleAudioMode.html +++ /dev/null @@ -1 +0,0 @@ -AppleAudioMode | LiveKit React Native Client SDK - v3.2.0

Type Alias AppleAudioMode

AppleAudioMode:
    | "default"
    | "gameChat"
    | "measurement"
    | "moviePlayback"
    | "spokenAudio"
    | "videoChat"
    | "videoRecording"
    | "voiceChat"
    | "voicePrompt"
diff --git a/docs/types/AudioConfiguration.html b/docs/types/AudioConfiguration.html deleted file mode 100644 index 9ec4f55c..00000000 --- a/docs/types/AudioConfiguration.html +++ /dev/null @@ -1,32 +0,0 @@ -AudioConfiguration | LiveKit React Native Client SDK - v3.2.0

Type Alias AudioConfiguration

Configuration for the underlying AudioSession.

-
-

Android specific options:

-
    -
  • -

    preferredOutputList - The preferred order in which to automatically select an audio output. -This is ignored when an output is manually selected with AudioSession.selectAudioOutput.

    -

    By default, the order is set to:

    -
      -
    1. `"bluetooth"
    2. -
    3. `"headset"``
    4. -
    5. "speaker"
    6. -
    7. "earpiece"
    8. -
    -
  • -
  • -

    audioTypeOptions - An AndroidAudioTypeOptions object which provides the -audio options to use on Android.

    -

    See AndroidAudioTypePresets for pre-configured values.

    -
  • -
-
-

iOS

-
    -
  • -

    defaultOutput - The default preferred output to use when a wired headset or bluetooth output is unavailable.

    -

    By default, this is set to "speaker"

    -
  • -
-
type AudioConfiguration = {
    android?: {
        audioTypeOptions: AndroidAudioTypeOptions;
        preferredOutputList?: ("speaker" | "earpiece" | "headset" | "bluetooth")[];
    };
    ios?: { defaultOutput?: "speaker"
    | "earpiece" };
}
Index

Properties

Properties

android?: {
    audioTypeOptions: AndroidAudioTypeOptions;
    preferredOutputList?: ("speaker" | "earpiece" | "headset" | "bluetooth")[];
}
ios?: { defaultOutput?: "speaker" | "earpiece" }
diff --git a/docs/types/AudioEngineConfigurationState.html b/docs/types/AudioEngineConfigurationState.html deleted file mode 100644 index ebd46411..00000000 --- a/docs/types/AudioEngineConfigurationState.html +++ /dev/null @@ -1,9 +0,0 @@ -AudioEngineConfigurationState | LiveKit React Native Client SDK - v3.2.0

Type Alias AudioEngineConfigurationState

type AudioEngineConfigurationState = {
    isPlayoutEnabled: boolean;
    isRecordingEnabled: boolean;
    isVoiceProcessingEnabled: boolean;
    preferSpeakerOutput: boolean;
}
Index

Properties

isPlayoutEnabled: boolean
isRecordingEnabled: boolean
isVoiceProcessingEnabled: boolean

Whether Apple Voice Processing I/O is running for this engine state. The -voiceChat/videoChat modes engage iOS's call-tuned speaker gain, which -only VPIO compensates for, so a configuration derived for recording should -account for this.

-
preferSpeakerOutput: boolean
diff --git a/docs/types/AudioTrackState.html b/docs/types/AudioTrackState.html deleted file mode 100644 index a87ac3f1..00000000 --- a/docs/types/AudioTrackState.html +++ /dev/null @@ -1,6 +0,0 @@ -AudioTrackState | LiveKit React Native Client SDK - v3.2.0

Type Alias AudioTrackState

AudioTrackState: "none" | "remoteOnly" | "localOnly" | "localAndRemote"

Retained only for the legacy useIOSAudioManagement hook and -getDefaultAppleAudioConfigurationForMode. New code should use -setupIOSAudioManagement (optionally with an IOSAudioSessionPolicy). -That API is driven by playout/recording engine state, which has no direct -AudioTrackState equivalent.

-
diff --git a/docs/types/BarVisualizerOptions.html b/docs/types/BarVisualizerOptions.html deleted file mode 100644 index 9ab08be7..00000000 --- a/docs/types/BarVisualizerOptions.html +++ /dev/null @@ -1,8 +0,0 @@ -BarVisualizerOptions | LiveKit React Native Client SDK - v3.2.0

Type Alias BarVisualizerOptions

type BarVisualizerOptions = {
    barBorderRadius?: number;
    barColor?: ColorValue;
    barWidth?: DimensionValue;
    maxHeight?: number;
    minHeight?: number;
}
Index

Properties

barBorderRadius?: number
barColor?: ColorValue
barWidth?: DimensionValue
maxHeight?: number

decimal values from 0 to 1

-
minHeight?: number

decimal values from 0 to 1

-
diff --git a/docs/types/IOSAudioSessionPolicy.html b/docs/types/IOSAudioSessionPolicy.html deleted file mode 100644 index d6db910c..00000000 --- a/docs/types/IOSAudioSessionPolicy.html +++ /dev/null @@ -1,15 +0,0 @@ -IOSAudioSessionPolicy | LiveKit React Native Client SDK - v3.2.0

Type Alias IOSAudioSessionPolicy

Static recording/playout policy for setupIOSAudioManagement.

-
Index

Properties

deactivateOnStop?: boolean

Whether to deactivate the audio session when both playout and recording -are disabled. Defaults to true.

-
recordingWithoutVoiceProcessing?: AppleAudioConfiguration

Recording configuration to apply while Apple Voice Processing I/O is off, -for example after AudioDeviceModule.setVoiceProcessingEnabled(false). -A policy whose recording config uses voiceChat/videoChat should -set a default-mode variant here, otherwise remote audio plays back -noticeably quieter without VPIO to compensate for the call-tuned gain. -Defaults to recording, so a policy that does not set this behaves -exactly as before.

-
diff --git a/docs/types/LogLevel.html b/docs/types/LogLevel.html deleted file mode 100644 index 3084fd52..00000000 --- a/docs/types/LogLevel.html +++ /dev/null @@ -1 +0,0 @@ -LogLevel | LiveKit React Native Client SDK - v3.2.0

Type Alias LogLevel

LogLevel: Parameters<typeof setClientSdkLogLevel>[0]
diff --git a/docs/types/OnConfigureNativeAudio.html b/docs/types/OnConfigureNativeAudio.html deleted file mode 100644 index 613bcdfb..00000000 --- a/docs/types/OnConfigureNativeAudio.html +++ /dev/null @@ -1,3 +0,0 @@ -OnConfigureNativeAudio | LiveKit React Native Client SDK - v3.2.0

Type Alias OnConfigureNativeAudio

OnConfigureNativeAudio: (
    configurationState: AudioEngineConfigurationState,
) => AppleAudioConfiguration

Type Declaration

Unsafe. Prefer IOSAudioSessionPolicy or the default -native path. See setupIOSAudioManagement.

-
diff --git a/docs/types/Props.html b/docs/types/Props.html deleted file mode 100644 index 5092f9bc..00000000 --- a/docs/types/Props.html +++ /dev/null @@ -1,7 +0,0 @@ -Props | LiveKit React Native Client SDK - v3.2.0

Type Alias Props

use VideoTrack and VideoTrackProps instead.

-
type Props = {
    mirror?: boolean;
    objectFit?: "cover" | "contain";
    style?: ViewStyle;
    videoTrack?: VideoTrack;
    zOrder?: number;
}
Index

Properties

mirror?: boolean
objectFit?: "cover" | "contain"
style?: ViewStyle
videoTrack?: VideoTrack
zOrder?: number
diff --git a/docs/types/RNKeyProviderOptions.html b/docs/types/RNKeyProviderOptions.html deleted file mode 100644 index ccd5b9f9..00000000 --- a/docs/types/RNKeyProviderOptions.html +++ /dev/null @@ -1,2 +0,0 @@ -RNKeyProviderOptions | LiveKit React Native Client SDK - v3.2.0

Type Alias RNKeyProviderOptions

RNKeyProviderOptions: KeyProviderOptions & {
    uncryptedMagicBytes?: string | Uint8Array;
}

Options for construction an RNKeyProvider

-
diff --git a/docs/types/SetLogLevelOptions.html b/docs/types/SetLogLevelOptions.html deleted file mode 100644 index c7a1e81d..00000000 --- a/docs/types/SetLogLevelOptions.html +++ /dev/null @@ -1,2 +0,0 @@ -SetLogLevelOptions | LiveKit React Native Client SDK - v3.2.0

Type Alias SetLogLevelOptions

type SetLogLevelOptions = {
    liveKitClientLogLevel?: LogLevel;
}
Index

Properties

liveKitClientLogLevel?: LogLevel
diff --git a/docs/types/UseRNE2EEManagerOptions.html b/docs/types/UseRNE2EEManagerOptions.html deleted file mode 100644 index c41e1f94..00000000 --- a/docs/types/UseRNE2EEManagerOptions.html +++ /dev/null @@ -1,3 +0,0 @@ -UseRNE2EEManagerOptions | LiveKit React Native Client SDK - v3.2.0

Type Alias UseRNE2EEManagerOptions

type UseRNE2EEManagerOptions = {
    keyProviderOptions?: RNKeyProviderOptions;
    sharedKey: string | Uint8Array;
}
Index

Properties

keyProviderOptions?: RNKeyProviderOptions
sharedKey: string | Uint8Array
diff --git a/docs/types/VideoTrackProps.html b/docs/types/VideoTrackProps.html deleted file mode 100644 index eaf9fa32..00000000 --- a/docs/types/VideoTrackProps.html +++ /dev/null @@ -1,41 +0,0 @@ -VideoTrackProps | LiveKit React Native Client SDK - v3.2.0

Type Alias VideoTrackProps

Props for the VideoTrack component.

-
type VideoTrackProps = {
    iosPIP?: RTCIOSPIPOptions & {
        fallbackView?: ReactNode;
        preferredSize: { height: number; width: number };
    };
    mirror?: boolean;
    objectFit?: "cover"
    | "contain";
    style?: ViewStyle;
    trackRef: TrackReference | undefined;
    zOrder?: number;
}
Index

Properties

iosPIP?: RTCIOSPIPOptions & {
    fallbackView?: ReactNode;
    preferredSize: { height: number; width: number };
}

Picture in picture options for this view. Disabled if not supplied.

-

iOS only. Requires iOS 15.0 or above, and the PIP background mode capability.

-

If iosPIP.enabled is true, the methods startIOSPIP and stopIOSPIP -can be used to manually trigger the PIP mode.

-

iosPIP.startAutomatically can be used to automatically -enter PIP when backgrounding the app.

-

iosPIP.preferredSize is used to provide a suggested aspect ratio.

-
import { startIOSPIP, stopIOSPIP } from '@livekit/react-native-webrtc';

// Obtain a ref to the view
const videoRef = useRef<Component>(null);
const videoView = (
<VideoTrack
ref={videoRef}
iosPIP={{
enabled: true,
startAutomatically: true,
preferredSize: {
width: 9,
height: 16,
},
}}
...
/>
);

// Start/stop manually
startIOSPIP(videoRef);
stopIOSPIP(videoRef); -
- -
mirror?: boolean

Indicates whether the video should be mirrored during rendering. -This is commonly used for front-facing cameras.

-
objectFit?: "cover" | "contain"

Specifies how the video content should be resized to fit its container. -'cover' (default): The video will fill the entire container, potentially cropping the video. -'contain': The entire video will be visible within the container, potentially leaving empty space.

-
style?: ViewStyle

Custom React Native styles for the video container.

-
trackRef: TrackReference | undefined

The track reference to display. This should be a TrackReference object -or undefined if no track is available.

-
zOrder?: number

Specifies the depth-stacking order of this video view in the stacking space of all video views. -A larger zOrder value generally causes the view to cover those with lower values.

-

The support for zOrder is platform-dependent and/or -implementation-specific. Thus, specifying a value for zOrder is to be -thought of as giving a hint rather than as imposing a requirement. For -example, video renderers such as RTCView are commonly implemented using -OpenGL and OpenGL views may have different numbers of layers in their -stacking space. Android has three: a layer bellow the window (aka -default), a layer bellow the window again but above the previous layer -(aka media overlay), and above the window. Consequently, it is advisable -to limit the number of utilized layers in the stacking space to the -minimum sufficient for the desired display. For example, a video call -application usually needs a maximum of two zOrder values: 0 for the -remote video(s) which appear in the background, and 1 for the local -video(s) which appear above the remote video(s).

-
diff --git a/docs/variables/AndroidAudioTypePresets.html b/docs/variables/AndroidAudioTypePresets.html deleted file mode 100644 index 3728007b..00000000 --- a/docs/variables/AndroidAudioTypePresets.html +++ /dev/null @@ -1,3 +0,0 @@ -AndroidAudioTypePresets | LiveKit React Native Client SDK - v3.2.0

Variable AndroidAudioTypePresetsConst

AndroidAudioTypePresets: {
    communication: AndroidAudioTypeOptions;
    media: AndroidAudioTypeOptions;
} = ...

Type Declaration

diff --git a/docs/variables/VideoTrack.html b/docs/variables/VideoTrack.html deleted file mode 100644 index 8d312e90..00000000 --- a/docs/variables/VideoTrack.html +++ /dev/null @@ -1,5 +0,0 @@ -VideoTrack | LiveKit React Native Client SDK - v3.2.0

Variable VideoTrackConst

VideoTrack: ForwardRefExoticComponent<
    VideoTrackProps & RefAttributes<
        Component<RTCVideoViewProps, {}, any> & ReactNativeElement,
    >,
> = ...

VideoTrack component for displaying video tracks in a React Native application. -It supports both local and remote video tracks from LiveKit, and handles adaptive streaming for remote tracks.

-

See VideoTrackProps for details.

-

A React component that renders the given video track.

-
diff --git a/docs/variables/log.html b/docs/variables/log.html deleted file mode 100644 index 6a5fa818..00000000 --- a/docs/variables/log.html +++ /dev/null @@ -1 +0,0 @@ -log | LiveKit React Native Client SDK - v3.2.0

Variable logConst

log: Logger = ...
diff --git a/package.json b/package.json index b6a6e424..b1986173 100644 --- a/package.json +++ b/package.json @@ -69,11 +69,9 @@ "well-known-symbols": "^4.1.0" }, "devDependencies": { - "@changesets/cli": "2.29.8", "@eslint/compat": "^2.1.0", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.35.0", - "@livekit/changesets-changelog-github": "^0.0.4", "@livekit/react-native-webrtc": "^150.2.0", "@react-native/babel-preset": "0.83.0", "@react-native/eslint-config": "0.83.0", @@ -106,8 +104,6 @@ "prepare": "bob build", "example": "yarn --cwd example", "pods": "cd example && pod-install --verbose", - "ci:version": "changeset version && yarn build-docs", - "ci:publish": "changeset publish", "bootstrap": "yarn example && yarn && yarn pods" }, "engines": { diff --git a/verwalter.toml b/verwalter.toml new file mode 100644 index 00000000..e9a53ecf --- /dev/null +++ b/verwalter.toml @@ -0,0 +1,10 @@ +#:schema https://raw.githubusercontent.com/livekit/verwalter/main/schemas/v1.json + +[packages."@livekit/react-native"] +path = "." +versioning.files = ["package.json"] +release.tag = "{package}@{version}" # the tags changesets/action created +publish.registry = "npm" + +[check] +publish_dry_run = true # the release PR runs `npm publish --dry-run` diff --git a/yarn.lock b/yarn.lock index 3eba01e0..6f67feeb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2362,13 +2362,6 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.5.5": - version: 7.29.2 - resolution: "@babel/runtime@npm:7.29.2" - checksum: 10/f55ba4052aa0255055b34371a145fbe69c29b37b49eaea14805b095bfb4153701486416e89392fd27ec8abafa53868be86e960b9f8f959fff91f2c8ac2a14b02 - languageName: node - linkType: hard - "@babel/runtime@npm:^7.8.4": version: 7.24.7 resolution: "@babel/runtime@npm:7.24.7" @@ -2565,258 +2558,6 @@ __metadata: languageName: node linkType: hard -"@changesets/apply-release-plan@npm:^7.0.14": - version: 7.1.0 - resolution: "@changesets/apply-release-plan@npm:7.1.0" - dependencies: - "@changesets/config": "npm:^3.1.3" - "@changesets/get-version-range-type": "npm:^0.4.0" - "@changesets/git": "npm:^3.0.4" - "@changesets/should-skip-package": "npm:^0.1.2" - "@changesets/types": "npm:^6.1.0" - "@manypkg/get-packages": "npm:^1.1.3" - detect-indent: "npm:^6.0.0" - fs-extra: "npm:^7.0.1" - lodash.startcase: "npm:^4.4.0" - outdent: "npm:^0.5.0" - prettier: "npm:^2.7.1" - resolve-from: "npm:^5.0.0" - semver: "npm:^7.5.3" - checksum: 10/2ad86efb4b4218540e1ff17414436edcf7b801727dc4ec6cd1de42b5bf206e1fc0a29b14872e9635a9e991d6342ec9fb9a8b63c9b50679afd716f8bb3c1c847e - languageName: node - linkType: hard - -"@changesets/assemble-release-plan@npm:^6.0.9": - version: 6.0.9 - resolution: "@changesets/assemble-release-plan@npm:6.0.9" - dependencies: - "@changesets/errors": "npm:^0.2.0" - "@changesets/get-dependents-graph": "npm:^2.1.3" - "@changesets/should-skip-package": "npm:^0.1.2" - "@changesets/types": "npm:^6.1.0" - "@manypkg/get-packages": "npm:^1.1.3" - semver: "npm:^7.5.3" - checksum: 10/f84656eabb700ed77f97751b282e1701636ed45a44b443abd9af0291870495cc046fee301478010f39a1dc455799065ae007b9d7d2bb5ae8b793b65bbb8e052a - languageName: node - linkType: hard - -"@changesets/changelog-git@npm:^0.2.1": - version: 0.2.1 - resolution: "@changesets/changelog-git@npm:0.2.1" - dependencies: - "@changesets/types": "npm:^6.1.0" - checksum: 10/c22f3c0baf50c102a6890046351ee42f65ff6d58747ba4f75e5e40da1ed5fbcfd0dc2d11cdfb86acbb3262e58acb93f096c798827cac570c1e22e8f32f58a30f - languageName: node - linkType: hard - -"@changesets/cli@npm:2.29.8": - version: 2.29.8 - resolution: "@changesets/cli@npm:2.29.8" - dependencies: - "@changesets/apply-release-plan": "npm:^7.0.14" - "@changesets/assemble-release-plan": "npm:^6.0.9" - "@changesets/changelog-git": "npm:^0.2.1" - "@changesets/config": "npm:^3.1.2" - "@changesets/errors": "npm:^0.2.0" - "@changesets/get-dependents-graph": "npm:^2.1.3" - "@changesets/get-release-plan": "npm:^4.0.14" - "@changesets/git": "npm:^3.0.4" - "@changesets/logger": "npm:^0.1.1" - "@changesets/pre": "npm:^2.0.2" - "@changesets/read": "npm:^0.6.6" - "@changesets/should-skip-package": "npm:^0.1.2" - "@changesets/types": "npm:^6.1.0" - "@changesets/write": "npm:^0.4.0" - "@inquirer/external-editor": "npm:^1.0.2" - "@manypkg/get-packages": "npm:^1.1.3" - ansi-colors: "npm:^4.1.3" - ci-info: "npm:^3.7.0" - enquirer: "npm:^2.4.1" - fs-extra: "npm:^7.0.1" - mri: "npm:^1.2.0" - p-limit: "npm:^2.2.0" - package-manager-detector: "npm:^0.2.0" - picocolors: "npm:^1.1.0" - resolve-from: "npm:^5.0.0" - semver: "npm:^7.5.3" - spawndamnit: "npm:^3.0.1" - term-size: "npm:^2.1.0" - bin: - changeset: bin.js - checksum: 10/1169d97d7d0b86fdeb778aadc1ffa3e46c840345c97b4cdbe90e5fc0168d0d0870001d66f6676537716a2d22c147a84e8a120f1298156419dc6a662681861af5 - languageName: node - linkType: hard - -"@changesets/config@npm:^3.1.2, @changesets/config@npm:^3.1.3": - version: 3.1.3 - resolution: "@changesets/config@npm:3.1.3" - dependencies: - "@changesets/errors": "npm:^0.2.0" - "@changesets/get-dependents-graph": "npm:^2.1.3" - "@changesets/logger": "npm:^0.1.1" - "@changesets/should-skip-package": "npm:^0.1.2" - "@changesets/types": "npm:^6.1.0" - "@manypkg/get-packages": "npm:^1.1.3" - fs-extra: "npm:^7.0.1" - micromatch: "npm:^4.0.8" - checksum: 10/278699f2b1673e07b9744fcd83948149647f55f295dc9d4bd22e9a1e80309863a58513bb1429376959b66358156b77a50a8d60eb70bf0ba9a3fab5402ccd5980 - languageName: node - linkType: hard - -"@changesets/errors@npm:^0.2.0": - version: 0.2.0 - resolution: "@changesets/errors@npm:0.2.0" - dependencies: - extendable-error: "npm:^0.1.5" - checksum: 10/4b79373f92287af4f723e8dbbccaf0299aa8735fc043243d0ad587f04a7614615ea50180be575d4438b9f00aa82d1cf85e902b77a55bdd3e0a8dd97e77b18c60 - languageName: node - linkType: hard - -"@changesets/get-dependents-graph@npm:^2.1.3": - version: 2.1.3 - resolution: "@changesets/get-dependents-graph@npm:2.1.3" - dependencies: - "@changesets/types": "npm:^6.1.0" - "@manypkg/get-packages": "npm:^1.1.3" - picocolors: "npm:^1.1.0" - semver: "npm:^7.5.3" - checksum: 10/33f2bb5dc88443b68fd796fd3b019a553fb3e21cb957a8a117db2a6770ad81f7c156ebdc3b12cfa75169de918f11271a71f61034aec48a53bf1a936d6d783e3d - languageName: node - linkType: hard - -"@changesets/get-github-info@npm:^0.5.2": - version: 0.5.2 - resolution: "@changesets/get-github-info@npm:0.5.2" - dependencies: - dataloader: "npm:^1.4.0" - node-fetch: "npm:^2.5.0" - checksum: 10/d1fb63ff7d9aa6aef91a4d2f3649b984e59687340e49350f8d1870a2fc150eaa1530bd3e5a07992a0cfe2fb57fedd91dd42eae0e4b845c83f5d98abbfc14f155 - languageName: node - linkType: hard - -"@changesets/get-release-plan@npm:^4.0.14": - version: 4.0.15 - resolution: "@changesets/get-release-plan@npm:4.0.15" - dependencies: - "@changesets/assemble-release-plan": "npm:^6.0.9" - "@changesets/config": "npm:^3.1.3" - "@changesets/pre": "npm:^2.0.2" - "@changesets/read": "npm:^0.6.7" - "@changesets/types": "npm:^6.1.0" - "@manypkg/get-packages": "npm:^1.1.3" - checksum: 10/eba3de04c03131604ab717af66c5d645e1fe4823034864e28eccf99fb64fbeb4cf2c4c11b8f0e7ef78a916f96eeaebdf4569df583cbfe0f3928bb0195baf27c7 - languageName: node - linkType: hard - -"@changesets/get-version-range-type@npm:^0.4.0": - version: 0.4.0 - resolution: "@changesets/get-version-range-type@npm:0.4.0" - checksum: 10/9868e99b31af652d3fa08fc33d55b9636f2feed1f4efdb318a6dbb4bb061281868de089b93041ce7f2775ab9cf454b92b1199767d0f4f228d8bbc483e61d2fd8 - languageName: node - linkType: hard - -"@changesets/git@npm:^3.0.4": - version: 3.0.4 - resolution: "@changesets/git@npm:3.0.4" - dependencies: - "@changesets/errors": "npm:^0.2.0" - "@manypkg/get-packages": "npm:^1.1.3" - is-subdir: "npm:^1.1.1" - micromatch: "npm:^4.0.8" - spawndamnit: "npm:^3.0.1" - checksum: 10/4f5a1f3354ec39d530df78b198eaaf2a8ef6cca873dd18efb8706aae09cab04e0d985abd236288644fac5d10cc5cb6ba2538c3e0be023c4d80790ff841f39fa6 - languageName: node - linkType: hard - -"@changesets/logger@npm:^0.1.1": - version: 0.1.1 - resolution: "@changesets/logger@npm:0.1.1" - dependencies: - picocolors: "npm:^1.1.0" - checksum: 10/bbfc050ddd0afdaa95bb790e81894b7548a2def059deeaed1685e22c10ede245ec2264df42bb2200cc0c8bd040e427bcd68a7afcca2633dc263a28e923d7c175 - languageName: node - linkType: hard - -"@changesets/parse@npm:^0.4.3": - version: 0.4.3 - resolution: "@changesets/parse@npm:0.4.3" - dependencies: - "@changesets/types": "npm:^6.1.0" - js-yaml: "npm:^4.1.1" - checksum: 10/f5742266a4ecb90a8283868f2bec740ce7be94745dee7df0b2f47882775d700bdfa3b660c2ec8d06b64153cf9b02cb3d46064f391c62933c9c60a9570763f928 - languageName: node - linkType: hard - -"@changesets/pre@npm:^2.0.2": - version: 2.0.2 - resolution: "@changesets/pre@npm:2.0.2" - dependencies: - "@changesets/errors": "npm:^0.2.0" - "@changesets/types": "npm:^6.1.0" - "@manypkg/get-packages": "npm:^1.1.3" - fs-extra: "npm:^7.0.1" - checksum: 10/daaedd2747492ced61f107d38f90e535607bcb073b10ffac3d9e3bcad1a4cc082370884224fc6785af2d92d37f6b0a3bf853f9759b8fda294878d00d24344415 - languageName: node - linkType: hard - -"@changesets/read@npm:^0.6.6, @changesets/read@npm:^0.6.7": - version: 0.6.7 - resolution: "@changesets/read@npm:0.6.7" - dependencies: - "@changesets/git": "npm:^3.0.4" - "@changesets/logger": "npm:^0.1.1" - "@changesets/parse": "npm:^0.4.3" - "@changesets/types": "npm:^6.1.0" - fs-extra: "npm:^7.0.1" - p-filter: "npm:^2.1.0" - picocolors: "npm:^1.1.0" - checksum: 10/6bf3fd4b0c743d2ef53cb39c4e52731622949a695f031412ff6ea9f30860620a1d9deb1cfd1af0c92d2e2d275b6d949c0cc1e83c192f2094e0071d690c48a42e - languageName: node - linkType: hard - -"@changesets/should-skip-package@npm:^0.1.2": - version: 0.1.2 - resolution: "@changesets/should-skip-package@npm:0.1.2" - dependencies: - "@changesets/types": "npm:^6.1.0" - "@manypkg/get-packages": "npm:^1.1.3" - checksum: 10/d09fcf1200ee201f0dd5b8049d90e8b5e0cfd34cc94f5c661c4cdab182a8263628733f9bc5886550a92f6f7857339d79fc77f12ffd53559b029a2bf9a2fa7ace - languageName: node - linkType: hard - -"@changesets/types@npm:^4.0.1": - version: 4.1.0 - resolution: "@changesets/types@npm:4.1.0" - checksum: 10/4d7c65a447400ac474b2dc2d79bc1a5341c305fbce4a648ef59d9939bc1bbbbd6852684c417a9a4ef0226468b9cb522b9ac2b5393f21fa5f20f1b12bee94eab5 - languageName: node - linkType: hard - -"@changesets/types@npm:^5.2.1": - version: 5.2.1 - resolution: "@changesets/types@npm:5.2.1" - checksum: 10/0783de5c1544c56c926efdbc1e9f04500e09395156e971e60e8de07a43627328a61d432bade108f15a12cd07776d866cc88fa5c61705dcae8640701327449674 - languageName: node - linkType: hard - -"@changesets/types@npm:^6.1.0": - version: 6.1.0 - resolution: "@changesets/types@npm:6.1.0" - checksum: 10/2dcd00712cb85d0c53afdd8d0e856b4bf9c0ce8dc36c838c918d44799aacd9ba8659b9ff610ff92b94fc03c8fd2b52c5b05418fcf8a1bd138cd9182414ede373 - languageName: node - linkType: hard - -"@changesets/write@npm:^0.4.0": - version: 0.4.0 - resolution: "@changesets/write@npm:0.4.0" - dependencies: - "@changesets/types": "npm:^6.1.0" - fs-extra: "npm:^7.0.1" - human-id: "npm:^4.1.1" - prettier: "npm:^2.7.1" - checksum: 10/bcea8431a09e282bdf66adbd8411d5d3cc19b4a2df519a42586c912b23a7b3ef18d1d0765e2d1a27ff175e2dfc9ef4c2df95cfa920dd4dd2972aaaf662afc6b9 - languageName: node - linkType: hard - "@emnapi/core@npm:^1.4.3": version: 1.10.0 resolution: "@emnapi/core@npm:1.10.0" @@ -3049,21 +2790,6 @@ __metadata: languageName: node linkType: hard -"@inquirer/external-editor@npm:^1.0.2": - version: 1.0.3 - resolution: "@inquirer/external-editor@npm:1.0.3" - dependencies: - chardet: "npm:^2.1.1" - iconv-lite: "npm:^0.7.0" - peerDependencies: - "@types/node": ">=18" - peerDependenciesMeta: - "@types/node": - optional: true - checksum: 10/c95d7237a885b32031715089f92820525731d4d3c2bd7afdb826307dc296cc2b39e7a644b0bb265441963348cca42e7785feb29c3aaf18fd2b63131769bf6587 - languageName: node - linkType: hard - "@isaacs/cliui@npm:^8.0.2": version: 8.0.2 resolution: "@isaacs/cliui@npm:8.0.2" @@ -3549,17 +3275,6 @@ __metadata: languageName: node linkType: hard -"@livekit/changesets-changelog-github@npm:^0.0.4": - version: 0.0.4 - resolution: "@livekit/changesets-changelog-github@npm:0.0.4" - dependencies: - "@changesets/get-github-info": "npm:^0.5.2" - "@changesets/types": "npm:^5.2.1" - dotenv: "npm:^8.1.0" - checksum: 10/b1730f78911ebf50d30b43bd4e514d32e89b668ccf8fd2c5d4462a49fe3d63eb9f2f2a2608b5e1bc20b732701f65d676e0b23ba7a85de34a1e6c3473410e240c - languageName: node - linkType: hard - "@livekit/components-core@npm:0.12.13": version: 0.12.13 resolution: "@livekit/components-core@npm:0.12.13" @@ -3628,11 +3343,9 @@ __metadata: version: 0.0.0-use.local resolution: "@livekit/react-native@workspace:." dependencies: - "@changesets/cli": "npm:2.29.8" "@eslint/compat": "npm:^2.1.0" "@eslint/eslintrc": "npm:^3.3.1" "@eslint/js": "npm:^9.35.0" - "@livekit/changesets-changelog-github": "npm:^0.0.4" "@livekit/components-react": "npm:^2.9.17" "@livekit/mutex": "npm:^1.1.1" "@livekit/react-native-webrtc": "npm:^150.2.0" @@ -3669,32 +3382,6 @@ __metadata: languageName: unknown linkType: soft -"@manypkg/find-root@npm:^1.1.0": - version: 1.1.0 - resolution: "@manypkg/find-root@npm:1.1.0" - dependencies: - "@babel/runtime": "npm:^7.5.5" - "@types/node": "npm:^12.7.1" - find-up: "npm:^4.1.0" - fs-extra: "npm:^8.1.0" - checksum: 10/31e7dde82612a0e37ebb07876d76b1bf2aedc5b285b5e50d94cdf63edbf1fa3970349b84a5837a3c687e5b643e9a4f4588ae1f4b4ae9d412516d57bf977a08db - languageName: node - linkType: hard - -"@manypkg/get-packages@npm:^1.1.3": - version: 1.1.3 - resolution: "@manypkg/get-packages@npm:1.1.3" - dependencies: - "@babel/runtime": "npm:^7.5.5" - "@changesets/types": "npm:^4.0.1" - "@manypkg/find-root": "npm:^1.1.0" - fs-extra: "npm:^8.1.0" - globby: "npm:^11.0.0" - read-yaml-file: "npm:^1.1.0" - checksum: 10/4912e002199ff3974ec48586376a04c5f1815a4faa5f4d36b0698838eec143c9d4e3d42c41e0de009f48a1e2251802ed63c1311ab44de225b50102f85919a248 - languageName: node - linkType: hard - "@napi-rs/wasm-runtime@npm:^0.2.11": version: 0.2.12 resolution: "@napi-rs/wasm-runtime@npm:0.2.12" @@ -4653,13 +4340,6 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^12.7.1": - version: 12.20.55 - resolution: "@types/node@npm:12.20.55" - checksum: 10/1f916a06fff02faadb09a16ed6e31820ce170798b202ef0b14fc244bfbd721938c54a3a99836e185e4414ca461fe96c5bb5c67c3d248f153555b7e6347f061dd - languageName: node - linkType: hard - "@types/react@npm:^19.2.0": version: 19.2.16 resolution: "@types/react@npm:19.2.16" @@ -5100,13 +4780,6 @@ __metadata: languageName: node linkType: hard -"ansi-colors@npm:^4.1.1, ansi-colors@npm:^4.1.3": - version: 4.1.3 - resolution: "ansi-colors@npm:4.1.3" - checksum: 10/43d6e2fc7b1c6e4dc373de708ee76311ec2e0433e7e8bd3194e7ff123ea6a747428fc61afdcf5969da5be3a5f0fd054602bec56fc0ebe249ce2fcde6e649e3c2 - languageName: node - linkType: hard - "ansi-escapes@npm:^4.3.2": version: 4.3.2 resolution: "ansi-escapes@npm:4.3.2" @@ -5640,15 +5313,6 @@ __metadata: languageName: node linkType: hard -"better-path-resolve@npm:1.0.0": - version: 1.0.0 - resolution: "better-path-resolve@npm:1.0.0" - dependencies: - is-windows: "npm:^1.0.0" - checksum: 10/5392dbe04e7fe68b944eb37961d9dfa147aaac3ee9ee3f6e13d42e2c9fbe949e68d16e896c14ee9016fa5f8e6e53ec7fd8b5f01b50a32067a7d94ac9cfb9a050 - languageName: node - linkType: hard - "bl@npm:^4.1.0": version: 4.1.0 resolution: "bl@npm:4.1.0" @@ -5894,13 +5558,6 @@ __metadata: languageName: node linkType: hard -"chardet@npm:^2.1.1": - version: 2.1.1 - resolution: "chardet@npm:2.1.1" - checksum: 10/d56913b65e45c5c86f331988e2ef6264c131bfeadaae098ee719bf6610546c77740e37221ffec802dde56b5e4466613a4c754786f4da6b5f6c5477243454d324 - languageName: node - linkType: hard - "chownr@npm:^3.0.0": version: 3.0.0 resolution: "chownr@npm:3.0.0" @@ -6218,7 +5875,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.5, cross-spawn@npm:^7.0.6": +"cross-spawn@npm:^7.0.6": version: 7.0.6 resolution: "cross-spawn@npm:7.0.6" dependencies: @@ -6269,13 +5926,6 @@ __metadata: languageName: node linkType: hard -"dataloader@npm:^1.4.0": - version: 1.4.0 - resolution: "dataloader@npm:1.4.0" - checksum: 10/8dc2181f7fc243f657aa97b5aa51b9e0da88dee9a59a689bab50d4bac826c27ae0457db8d9a5d59559d636f6b997f419303ccfde595cc26191f37ab9c792fe01 - languageName: node - linkType: hard - "dayjs@npm:^1.8.15": version: 1.11.11 resolution: "dayjs@npm:1.11.11" @@ -6436,13 +6086,6 @@ __metadata: languageName: node linkType: hard -"detect-indent@npm:^6.0.0": - version: 6.1.0 - resolution: "detect-indent@npm:6.1.0" - checksum: 10/ab953a73c72dbd4e8fc68e4ed4bfd92c97eb6c43734af3900add963fd3a9316f3bc0578b018b24198d4c31a358571eff5f0656e81a1f3b9ad5c547d58b2d093d - languageName: node - linkType: hard - "detect-newline@npm:^3.1.0": version: 3.1.0 resolution: "detect-newline@npm:3.1.0" @@ -6468,13 +6111,6 @@ __metadata: languageName: node linkType: hard -"dotenv@npm:^8.1.0": - version: 8.6.0 - resolution: "dotenv@npm:8.6.0" - checksum: 10/31d7b5c010cebb80046ba6853d703f9573369b00b15129536494f04b0af4ea0060ce8646e3af58b455af2f6f1237879dd261a5831656410ec92561ae1ea44508 - languageName: node - linkType: hard - "dunder-proto@npm:^1.0.1": version: 1.0.1 resolution: "dunder-proto@npm:1.0.1" @@ -6558,16 +6194,6 @@ __metadata: languageName: node linkType: hard -"enquirer@npm:^2.4.1": - version: 2.4.1 - resolution: "enquirer@npm:2.4.1" - dependencies: - ansi-colors: "npm:^4.1.1" - strip-ansi: "npm:^6.0.1" - checksum: 10/b3726486cd98f0d458a851a03326a2a5dd4d84f37ff94ff2a2960c915e0fc865865da3b78f0877dc36ac5c1189069eca603e82ec63d5bc6b0dd9985bf6426d7a - languageName: node - linkType: hard - "entities@npm:^4.4.0": version: 4.5.0 resolution: "entities@npm:4.5.0" @@ -7219,13 +6845,6 @@ __metadata: languageName: node linkType: hard -"extendable-error@npm:^0.1.5": - version: 0.1.7 - resolution: "extendable-error@npm:0.1.7" - checksum: 10/80478be7429a1675d2085f701239796bab3230ed6f2fb1b138fbabec24bea6516b7c5ceb6e9c209efcc9c089948d93715703845653535f8e8a49655066a9255e - languageName: node - linkType: hard - "fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3": version: 3.1.3 resolution: "fast-deep-equal@npm:3.1.3" @@ -7478,17 +7097,6 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^7.0.1": - version: 7.0.1 - resolution: "fs-extra@npm:7.0.1" - dependencies: - graceful-fs: "npm:^4.1.2" - jsonfile: "npm:^4.0.0" - universalify: "npm:^0.1.0" - checksum: 10/3fc6e56ba2f07c00d452163f27f21a7076b72ef7da8a50fef004336d59ef4c34deda11d10ecd73fd8fbcf20e4f575f52857293090b3c9f8741d4e0598be30fea - languageName: node - linkType: hard - "fs-extra@npm:^8.1.0": version: 8.1.0 resolution: "fs-extra@npm:8.1.0" @@ -7753,7 +7361,7 @@ __metadata: languageName: node linkType: hard -"globby@npm:^11.0.0, globby@npm:^11.0.1": +"globby@npm:^11.0.1": version: 11.1.0 resolution: "globby@npm:11.1.0" dependencies: @@ -7783,7 +7391,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.3, graceful-fs@npm:^4.1.5, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": +"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.3, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: 10/bf152d0ed1dc159239db1ba1f74fdbc40cb02f626770dcd5815c427ce0688c2635a06ed69af364396da4636d0408fcf7d4afdf7881724c3307e46aff30ca49e2 @@ -7987,15 +7595,6 @@ __metadata: languageName: node linkType: hard -"human-id@npm:^4.1.1": - version: 4.1.3 - resolution: "human-id@npm:4.1.3" - bin: - human-id: dist/cli.js - checksum: 10/48786a537777b94aba33f656b86fc2d87e84fa65f6aa768d5d43fb3a3259d272966d29c4b3cfb3e7603d7610f9ef5c0dc7f6806dba6f05cfeb2eac0434911fc9 - languageName: node - linkType: hard - "human-signals@npm:^1.1.1": version: 1.1.1 resolution: "human-signals@npm:1.1.1" @@ -8019,15 +7618,6 @@ __metadata: languageName: node linkType: hard -"iconv-lite@npm:^0.7.0": - version: 0.7.0 - resolution: "iconv-lite@npm:0.7.0" - dependencies: - safer-buffer: "npm:>= 2.1.2 < 3.0.0" - checksum: 10/5bfc897fedfb7e29991ae5ef1c061ed4f864005f8c6d61ef34aba6a3885c04bd207b278c0642b041383aeac2d11645b4319d0ca7b863b0be4be0cde1c9238ca7 - languageName: node - linkType: hard - "ieee754@npm:^1.1.13": version: 1.2.1 resolution: "ieee754@npm:1.2.1" @@ -8451,15 +8041,6 @@ __metadata: languageName: node linkType: hard -"is-subdir@npm:^1.1.1": - version: 1.2.0 - resolution: "is-subdir@npm:1.2.0" - dependencies: - better-path-resolve: "npm:1.0.0" - checksum: 10/31029a383972bff4cc4f1bd1463fd04dde017e0a04ae3a6f6e08124a90c6c4656312d593101b0f38805fa3f3c8f6bc4583524bbf72c50784fa5ca0d3e5a76279 - languageName: node - linkType: hard - "is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3": version: 1.0.4 resolution: "is-symbol@npm:1.0.4" @@ -8520,7 +8101,7 @@ __metadata: languageName: node linkType: hard -"is-windows@npm:^1.0.0, is-windows@npm:^1.0.1": +"is-windows@npm:^1.0.1": version: 1.0.2 resolution: "is-windows@npm:1.0.2" checksum: 10/438b7e52656fe3b9b293b180defb4e448088e7023a523ec21a91a80b9ff8cdb3377ddb5b6e60f7c7de4fa8b63ab56e121b6705fe081b3cf1b828b0a380009ad7 @@ -9276,7 +8857,7 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:^3.13.1, js-yaml@npm:^3.6.1": +"js-yaml@npm:^3.13.1": version: 3.14.2 resolution: "js-yaml@npm:3.14.2" dependencies: @@ -9610,13 +9191,6 @@ __metadata: languageName: node linkType: hard -"lodash.startcase@npm:^4.4.0": - version: 4.4.0 - resolution: "lodash.startcase@npm:4.4.0" - checksum: 10/3091048a54a2f92bcf2c6441d2bd9a706fb133d5f461ae7c310d6dca1530338a06c91e9e42a5b14b12e875ddae1814d448050dc02afe2cec09b3995d8e836837 - languageName: node - linkType: hard - "lodash.throttle@npm:^4.1.1": version: 4.1.1 resolution: "lodash.throttle@npm:4.1.1" @@ -10409,13 +9983,6 @@ __metadata: languageName: node linkType: hard -"mri@npm:^1.2.0": - version: 1.2.0 - resolution: "mri@npm:1.2.0" - checksum: 10/6775a1d2228bb9d191ead4efc220bd6be64f943ad3afd4dcb3b3ac8fc7b87034443f666e38805df38e8d047b29f910c3cc7810da0109af83e42c82c73bd3f6bc - languageName: node - linkType: hard - "ms@npm:2.0.0": version: 2.0.0 resolution: "ms@npm:2.0.0" @@ -10483,20 +10050,6 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:^2.5.0": - version: 2.7.0 - resolution: "node-fetch@npm:2.7.0" - dependencies: - whatwg-url: "npm:^5.0.0" - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - checksum: 10/b24f8a3dc937f388192e59bcf9d0857d7b6940a2496f328381641cb616efccc9866e89ec43f2ec956bbd6c3d3ee05524ce77fe7b29ccd34692b3a16f237d6676 - languageName: node - linkType: hard - "node-gyp@npm:latest": version: 12.3.0 resolution: "node-gyp@npm:12.3.0" @@ -10768,22 +10321,6 @@ __metadata: languageName: node linkType: hard -"outdent@npm:^0.5.0": - version: 0.5.0 - resolution: "outdent@npm:0.5.0" - checksum: 10/7d94a7d93883afa32c99d84f33248b221f4eeeedbb571921fe0e5cf0bee32e64746c587e9606d98ec22762870c782d21dd4bc3a0edf442d347cb54aa107b198d - languageName: node - linkType: hard - -"p-filter@npm:^2.1.0": - version: 2.1.0 - resolution: "p-filter@npm:2.1.0" - dependencies: - p-map: "npm:^2.0.0" - checksum: 10/76e552ca624ce2233448d68b19eec9de42b695208121998f7e011edce71d1079a83096ee6a2078fb2a59cfa8a5c999f046edf00ebf16a8e780022010b4693234 - languageName: node - linkType: hard - "p-limit@npm:^2.0.0, p-limit@npm:^2.2.0": version: 2.3.0 resolution: "p-limit@npm:2.3.0" @@ -10829,13 +10366,6 @@ __metadata: languageName: node linkType: hard -"p-map@npm:^2.0.0": - version: 2.1.0 - resolution: "p-map@npm:2.1.0" - checksum: 10/9e3ad3c9f6d75a5b5661bcad78c91f3a63849189737cd75e4f1225bf9ac205194e5c44aac2ef6f09562b1facdb9bd1425584d7ac375bfaa17b3f1a142dab936d - languageName: node - linkType: hard - "p-map@npm:^4.0.0": version: 4.0.0 resolution: "p-map@npm:4.0.0" @@ -10859,15 +10389,6 @@ __metadata: languageName: node linkType: hard -"package-manager-detector@npm:^0.2.0": - version: 0.2.11 - resolution: "package-manager-detector@npm:0.2.11" - dependencies: - quansync: "npm:^0.2.7" - checksum: 10/2c1a8da0e5895f0be06a8e1f4b4336fb78a19167ca3932dbaeca7260f948e67cf53b32585a13f8108341e7a468b38b4f2a8afc7b11691cb2d856ecd759d570fb - languageName: node - linkType: hard - "parent-module@npm:^1.0.0": version: 1.0.1 resolution: "parent-module@npm:1.0.1" @@ -10979,7 +10500,7 @@ __metadata: languageName: node linkType: hard -"picocolors@npm:^1.1.0, picocolors@npm:^1.1.1": +"picocolors@npm:^1.1.1": version: 1.1.1 resolution: "picocolors@npm:1.1.1" checksum: 10/e1cf46bf84886c79055fdfa9dcb3e4711ad259949e3565154b004b260cd356c5d54b31a1437ce9782624bf766272fe6b0154f5f0c744fb7af5d454d2b60db045 @@ -11000,13 +10521,6 @@ __metadata: languageName: node linkType: hard -"pify@npm:^4.0.1": - version: 4.0.1 - resolution: "pify@npm:4.0.1" - checksum: 10/8b97cbf9dc6d4c1320cc238a2db0fc67547f9dc77011729ff353faf34f1936ea1a4d7f3c63b2f4980b253be77bcc72ea1e9e76ee3fd53cce2aafb6a8854d07ec - languageName: node - linkType: hard - "pirates@npm:^4.0.4, pirates@npm:^4.0.7": version: 4.0.7 resolution: "pirates@npm:4.0.7" @@ -11064,15 +10578,6 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.7.1": - version: 2.8.8 - resolution: "prettier@npm:2.8.8" - bin: - prettier: bin-prettier.js - checksum: 10/00cdb6ab0281f98306cd1847425c24cbaaa48a5ff03633945ab4c701901b8e96ad558eb0777364ffc312f437af9b5a07d0f45346266e8245beaf6247b9c62b24 - languageName: node - linkType: hard - "prettier@npm:^3.8.3": version: 3.8.3 resolution: "prettier@npm:3.8.3" @@ -11196,13 +10701,6 @@ __metadata: languageName: node linkType: hard -"quansync@npm:^0.2.7": - version: 0.2.11 - resolution: "quansync@npm:0.2.11" - checksum: 10/d4f0cc21a25052a8a6183f17752a6221829c4795b40641de67c06945b356841ff00296d3700d0332dfe8e86100fdcc02f4be7559f3f1774a753b05adb7800d01 - languageName: node - linkType: hard - "query-string@npm:^7.1.3": version: 7.1.3 resolution: "query-string@npm:7.1.3" @@ -11545,18 +11043,6 @@ __metadata: languageName: node linkType: hard -"read-yaml-file@npm:^1.1.0": - version: 1.1.0 - resolution: "read-yaml-file@npm:1.1.0" - dependencies: - graceful-fs: "npm:^4.1.5" - js-yaml: "npm:^3.6.1" - pify: "npm:^4.0.1" - strip-bom: "npm:^3.0.0" - checksum: 10/41ee5f075507ef0403328dd54e225a61c3149f915675ce7fd0fd791ddcce2e6c30a9fe0f76ffa7a465c1c157b9b4ad8ded1dcf47dc3b396103eeb013490bbc2e - languageName: node - linkType: hard - "readable-stream@npm:^3.4.0": version: 3.6.2 resolution: "readable-stream@npm:3.6.2" @@ -11888,7 +11374,7 @@ __metadata: languageName: node linkType: hard -"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0": +"safer-buffer@npm:>= 2.1.2 < 3": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" checksum: 10/7eaf7a0cf37cc27b42fb3ef6a9b1df6e93a1c6d98c6c6702b02fe262d5fcbd89db63320793b99b21cb5348097d0a53de81bd5f4e8b86e20cc9412e3f1cfb4e83 @@ -12165,16 +11651,6 @@ __metadata: languageName: node linkType: hard -"spawndamnit@npm:^3.0.1": - version: 3.0.1 - resolution: "spawndamnit@npm:3.0.1" - dependencies: - cross-spawn: "npm:^7.0.5" - signal-exit: "npm:^4.0.1" - checksum: 10/47d88a7f1e5691e13e435eddc3d34123c2f7746e2853e91bfac5ea7c6e3bb4b1d1995223b25f7a8745871510d92f63ecd3c9fa02aa2896ac0c79fb618eb08bbe - languageName: node - linkType: hard - "split-on-first@npm:^1.0.0": version: 1.1.0 resolution: "split-on-first@npm:1.1.0" @@ -12380,13 +11856,6 @@ __metadata: languageName: node linkType: hard -"strip-bom@npm:^3.0.0": - version: 3.0.0 - resolution: "strip-bom@npm:3.0.0" - checksum: 10/8d50ff27b7ebe5ecc78f1fe1e00fcdff7af014e73cf724b46fb81ef889eeb1015fc5184b64e81a2efe002180f3ba431bdd77e300da5c6685d702780fbf0c8d5b - languageName: node - linkType: hard - "strip-bom@npm:^4.0.0": version: 4.0.0 resolution: "strip-bom@npm:4.0.0" @@ -12480,13 +11949,6 @@ __metadata: languageName: node linkType: hard -"term-size@npm:^2.1.0": - version: 2.2.1 - resolution: "term-size@npm:2.2.1" - checksum: 10/f96aca2d4139c91e3359f5949ffb86f0a58f8c254ab7fe4a64b65126974939c782db6aaa91bf51a56d0344e505e22f9a0186f2f689e23ac9382b54606603c537 - languageName: node - linkType: hard - "terser@npm:^5.15.0": version: 5.31.1 resolution: "terser@npm:5.31.1" @@ -12566,13 +12028,6 @@ __metadata: languageName: node linkType: hard -"tr46@npm:~0.0.3": - version: 0.0.3 - resolution: "tr46@npm:0.0.3" - checksum: 10/8f1f5aa6cb232f9e1bdc86f485f916b7aa38caee8a778b378ffec0b70d9307873f253f5cbadbe2955ece2ac5c83d0dc14a77513166ccd0a0c7fe197e21396695 - languageName: node - linkType: hard - "ts-api-utils@npm:^2.1.0": version: 2.1.0 resolution: "ts-api-utils@npm:2.1.0" @@ -13040,13 +12495,6 @@ __metadata: languageName: node linkType: hard -"webidl-conversions@npm:^3.0.0": - version: 3.0.1 - resolution: "webidl-conversions@npm:3.0.1" - checksum: 10/b65b9f8d6854572a84a5c69615152b63371395f0c5dcd6729c45789052296df54314db2bc3e977df41705eacb8bc79c247cee139a63fa695192f95816ed528ad - languageName: node - linkType: hard - "webidl-conversions@npm:^5.0.0": version: 5.0.0 resolution: "webidl-conversions@npm:5.0.0" @@ -13091,16 +12539,6 @@ __metadata: languageName: node linkType: hard -"whatwg-url@npm:^5.0.0": - version: 5.0.0 - resolution: "whatwg-url@npm:5.0.0" - dependencies: - tr46: "npm:~0.0.3" - webidl-conversions: "npm:^3.0.0" - checksum: 10/f95adbc1e80820828b45cc671d97da7cd5e4ef9deb426c31bcd5ab00dc7103042291613b3ef3caec0a2335ed09e0d5ed026c940755dbb6d404e2b27f940fdf07 - languageName: node - linkType: hard - "which-boxed-primitive@npm:^1.0.2": version: 1.0.2 resolution: "which-boxed-primitive@npm:1.0.2"