From 7538ba0baf513fc9a2951fece7fc85d6ba886fe7 Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Wed, 8 Jul 2026 16:28:50 +0200 Subject: [PATCH] deps: safe bumps across rust / kotlin / js / actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Everything in this PR is a semver-compatible or patch/minor bump. Larger migrations (uniffi 0.31→0.32, gradle 8→9, agp 8→9, kotlin 2.2→2.4, typescript 5→6) are held for their own PRs. Rust (cargo update — 61 crates within existing semver ranges): iroh 1.0.0 → 1.0.2, iroh-{base,relay,services,dns} 1.0.0 → 1.0.2, uniffi 0.31.1 → 0.31.2, napi 3.9.2 → 3.10.3, plus many transitives. Kotlin (patch/minor within same majors): Gradle wrapper 8.13 → 8.14.5 Kotlin plugins 2.2.20 → 2.2.21 AGP 8.13.0 → 8.13.2 Dokka 2.0.0 → 2.2.0 Vanniktech 0.34.0 → 0.37.0 JS: @napi-rs/cli ^3.6.2 → ^3.7.2 typedoc ^0.27.6 → ^0.28.20 GitHub Actions: actions/checkout master/v4 → v5 (fixes @master weak pin) actions/setup-node v4 → v6 (was mixed; standardize) actions/setup-java v4 → v5 actions/setup-python v5 → v6 Held for follow-up PRs (need code changes or need review): - uniffi 0.31 → 0.32 (breaking API in 0.x versions) - actions/upload-artifact v4 → v7, download-artifact v4 → v8 - actions/deploy-pages v4 → v5, upload-pages-artifact v3 → v5 - gradle/actions v4 → v6, android-actions/setup-android v3 → v4 - Gradle 8 → 9, AGP 8 → 9, Kotlin 2.2 → 2.4, TypeScript 5 → 6 Verified locally: rust tests (17), kotlin tests (19), js tests (20), python tests (20) all pass. --- .github/workflows/ci.yml | 4 +- .github/workflows/ci_js.yml | 36 +- .github/workflows/ci_kotlin.yml | 16 +- .github/workflows/ci_python.yml | 4 +- .github/workflows/ci_swift.yml | 2 +- .github/workflows/docs.yml | 18 +- .github/workflows/release.yml | 16 +- .github/workflows/release_swift.yml | 2 +- .github/workflows/wheels.yml | 10 +- Cargo.lock | 456 ++++---------- iroh-js/index.js | 143 +++-- iroh-js/package.json | 4 +- iroh-js/yarn.lock | 402 ++++++------ kotlin/gradle/libs.versions.toml | 14 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- .../src/main/kotlin/computer/iroh/iroh_ffi.kt | 594 +++++++++--------- 16 files changed, 781 insertions(+), 942 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5917d8d1..cc5db944 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - name: windows-latest runner: [windows-latest] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 with: submodules: recursive - uses: dtolnay/rust-toolchain@stable @@ -50,7 +50,7 @@ jobs: name: fmt + clippy + docs runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@stable with: components: rustfmt, clippy diff --git a/.github/workflows/ci_js.yml b/.github/workflows/ci_js.yml index 153d728e..552954c2 100644 --- a/.github/workflows/ci_js.yml +++ b/.github/workflows/ci_js.yml @@ -38,10 +38,10 @@ jobs: timeout-minutes: 30 runs-on: [self-hosted, macOS, ARM64] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@stable - uses: davidB/rust-cargo-make@v1 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version: 24 - name: Enable corepack (yarn) @@ -133,9 +133,9 @@ jobs: run: working-directory: ./iroh-js steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 if: ${{ !matrix.settings.docker }} with: node-version: 24 @@ -175,7 +175,7 @@ jobs: - name: Install dependencies run: yarn install - name: Setup node x86 - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 if: matrix.settings.target == 'i686-pc-windows-msvc' with: node-version: 24 @@ -219,9 +219,9 @@ jobs: run: working-directory: ./iroh-js steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node }} architecture: x64 @@ -255,9 +255,9 @@ jobs: run: working-directory: ./iroh-js steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node }} - name: Enable corepack (yarn) @@ -295,9 +295,9 @@ jobs: run: working-directory: ./iroh-js steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node }} - name: Enable corepack (yarn) @@ -333,9 +333,9 @@ jobs: run: working-directory: ./iroh-js steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node }} - name: Enable corepack (yarn) @@ -385,9 +385,9 @@ jobs: run: working-directory: ./iroh-js steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node }} - name: Enable corepack (yarn) @@ -437,9 +437,9 @@ jobs: run: working-directory: ./iroh-js steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ matrix.node }} - name: Enable corepack (yarn) @@ -485,7 +485,7 @@ jobs: - test-linux-aarch64-musl-binding - test-linux-arm-gnueabihf-binding steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup node # Per npm's official Trusted Publishing docs # (https://docs.npmjs.com/trusted-publishers): node 24 + setup-node@v6 diff --git a/.github/workflows/ci_kotlin.yml b/.github/workflows/ci_kotlin.yml index 240ddf9c..1d12a888 100644 --- a/.github/workflows/ci_kotlin.yml +++ b/.github/workflows/ci_kotlin.yml @@ -30,13 +30,13 @@ jobs: - name: macOS-arm-latest runner: [self-hosted, macOS, ARM64] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 with: submodules: recursive - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - uses: davidB/rust-cargo-make@v1 - - uses: actions/setup-java@v4 + - uses: actions/setup-java@v5 with: distribution: "temurin" java-version: "21" @@ -71,7 +71,7 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 with: submodules: recursive - uses: dtolnay/rust-toolchain@stable @@ -88,7 +88,7 @@ jobs: if ! command -v cargo-make >/dev/null 2>&1; then cargo install --locked cargo-make fi - - uses: actions/setup-java@v4 + - uses: actions/setup-java@v5 with: distribution: "temurin" java-version: "21" @@ -102,7 +102,7 @@ jobs: timeout-minutes: 45 runs-on: [self-hosted, linux, X64] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 with: submodules: recursive - uses: dtolnay/rust-toolchain@stable @@ -110,7 +110,7 @@ jobs: targets: aarch64-linux-android,armv7-linux-androideabi,i686-linux-android,x86_64-linux-android - uses: Swatinem/rust-cache@v2 - uses: davidB/rust-cargo-make@v1 - - uses: actions/setup-java@v4 + - uses: actions/setup-java@v5 with: distribution: "temurin" java-version: "21" @@ -131,7 +131,7 @@ jobs: # self-hosted runner doesn't. runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 with: submodules: recursive - uses: dtolnay/rust-toolchain@stable @@ -139,7 +139,7 @@ jobs: targets: aarch64-linux-android,armv7-linux-androideabi,i686-linux-android,x86_64-linux-android - uses: Swatinem/rust-cache@v2 - uses: davidB/rust-cargo-make@v1 - - uses: actions/setup-java@v4 + - uses: actions/setup-java@v5 with: distribution: "temurin" java-version: "17" diff --git a/.github/workflows/ci_python.yml b/.github/workflows/ci_python.yml index 9f0c0e83..839b61b9 100644 --- a/.github/workflows/ci_python.yml +++ b/.github/workflows/ci_python.yml @@ -21,10 +21,10 @@ jobs: timeout-minutes: 30 runs-on: [self-hosted, linux, X64] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@stable - uses: davidB/rust-cargo-make@v1 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - name: Set up virtualenv diff --git a/.github/workflows/ci_swift.yml b/.github/workflows/ci_swift.yml index e058b610..3aee08c4 100644 --- a/.github/workflows/ci_swift.yml +++ b/.github/workflows/ci_swift.yml @@ -21,7 +21,7 @@ jobs: timeout-minutes: 60 runs-on: [self-hosted, macOS, ARM64, xcode16] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@stable with: targets: aarch64-apple-ios,aarch64-apple-ios-sim,x86_64-apple-ios,aarch64-apple-darwin diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e8dcde72..69bc9446 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -27,7 +27,7 @@ jobs: timeout-minutes: 45 runs-on: [self-hosted, macOS, ARM64] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 with: submodules: recursive - uses: dtolnay/rust-toolchain@stable @@ -51,11 +51,11 @@ jobs: timeout-minutes: 30 runs-on: [self-hosted, linux, X64] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - uses: davidB/rust-cargo-make@v1 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - name: Set up virtualenv (maturin builds the extension) @@ -78,11 +78,11 @@ jobs: timeout-minutes: 30 runs-on: [self-hosted, linux, X64] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - uses: davidB/rust-cargo-make@v1 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version: "24" # Self-hosted runners don't ship yarn; corepack provides it (matches @@ -102,11 +102,11 @@ jobs: timeout-minutes: 30 runs-on: [self-hosted, linux, X64] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - uses: davidB/rust-cargo-make@v1 - - uses: actions/setup-java@v4 + - uses: actions/setup-java@v5 with: distribution: temurin java-version: "17" @@ -122,8 +122,8 @@ jobs: timeout-minutes: 10 runs-on: [self-hosted, linux, X64] steps: - - uses: actions/checkout@master - - uses: actions/setup-python@v5 + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - run: pip install pyyaml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c624263..a3d1f99f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV echo "version is: ${GITHUB_REF#refs/tags/}" - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 - name: Promote draft release (or create fresh) @@ -95,7 +95,7 @@ jobs: runner: [windows-latest] steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 - name: Install Rust @@ -173,7 +173,7 @@ jobs: target: x86_64-pc-windows-msvc lib_file: iroh_ffi.dll steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@stable with: targets: ${{ matrix.target }} @@ -196,7 +196,7 @@ jobs: timeout-minutes: 60 runs-on: [self-hosted, linux, X64] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@stable with: targets: aarch64-linux-android,armv7-linux-androideabi,i686-linux-android,x86_64-linux-android @@ -238,11 +238,11 @@ jobs: # doesn't have KVM enabled. runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - uses: davidB/rust-cargo-make@v1 - - uses: actions/setup-java@v4 + - uses: actions/setup-java@v5 with: distribution: temurin java-version: "17" @@ -279,11 +279,11 @@ jobs: needs: [create-release, build-kotlin-cdylib, build-kotlin-android, verify-kotlin-android-consumer] runs-on: [self-hosted, linux, X64] steps: - - uses: actions/checkout@master + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - uses: davidB/rust-cargo-make@v1 - - uses: actions/setup-java@v4 + - uses: actions/setup-java@v5 with: distribution: temurin java-version: "17" diff --git a/.github/workflows/release_swift.yml b/.github/workflows/release_swift.yml index eb4a5a1a..ccf1e804 100644 --- a/.github/workflows/release_swift.yml +++ b/.github/workflows/release_swift.yml @@ -21,7 +21,7 @@ jobs: runs-on: [self-hosted, macOS, ARM64, xcode16] timeout-minutes: 60 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index b2d8b165..a17a21e1 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -35,7 +35,7 @@ jobs: container: quay.io/pypa/manylinux_2_28_aarch64 runner: [self-hosted, linux, ARM64] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install rust + cargo-make run: | curl --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal @@ -58,11 +58,11 @@ jobs: # were dropped. runs-on: [self-hosted, macOS, ARM64] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@stable with: targets: aarch64-apple-darwin - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.11" - run: pip install -U maturin uniffi-bindgen @@ -76,10 +76,10 @@ jobs: windows: runs-on: windows-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: dtolnay/rust-toolchain@stable - uses: davidB/rust-cargo-make@v1 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.11" - run: pip install -U maturin uniffi-bindgen diff --git a/Cargo.lock b/Cargo.lock index adc09f5c..87ce0e65 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -69,15 +69,15 @@ checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" [[package]] name = "anyhow" -version = "1.0.102" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c" +checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3" [[package]] name = "arc-swap" -version = "1.9.1" +version = "1.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a3a1fd6f75306b68087b831f025c712524bcb19aad54e557b1129cfa0a2b207" +checksum = "c049c0be4daef0b145cb3555416b3b8ef5b7888a38aea1a3a155801fe7b0810b" dependencies = [ "rustversion", ] @@ -90,9 +90,9 @@ checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" [[package]] name = "arrayvec" -version = "0.7.6" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" [[package]] name = "askama" @@ -351,18 +351,18 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.11.1" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" dependencies = [ "serde", ] [[package]] name = "camino" -version = "1.2.2" +version = "1.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e629a66d692cb9ff1a1c664e41771b3dcaf961985a9774c0eb0bd1b51cf60a48" +checksum = "5f2d30e4173c4026932d51d31d6b0613b1fd3014bf3f9f8943d4ba139c437ba0" dependencies = [ "serde_core", ] @@ -404,9 +404,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.64" +version = "1.2.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dad887fd958be91b5098c0248def011f4523ab786cd411be668777e55063501f" +checksum = "f5d6cac793997bd970000024b2934968efe83b382de4fdcf4fcb46b6ee4ad996" dependencies = [ "find-msvc-tools", "shlex", @@ -432,9 +432,9 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" [[package]] name = "chacha20" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601" +checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81" dependencies = [ "cfg-if", "cpufeatures 0.3.0", @@ -619,27 +619,27 @@ checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" [[package]] name = "crossbeam-channel" -version = "0.5.15" +version = "0.5.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" +checksum = "d85363c37faeca707aef026efa9f3b34d077bce547e48f770770625c6013679e" dependencies = [ "crossbeam-utils", ] [[package]] name = "crossbeam-epoch" -version = "0.9.18" +version = "0.9.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" +checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f" dependencies = [ "crossbeam-utils", ] [[package]] name = "crossbeam-utils" -version = "0.8.21" +version = "0.8.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" +checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17" [[package]] name = "crypto-common" @@ -662,9 +662,9 @@ dependencies = [ [[package]] name = "ctor" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01334b89b69ff726750c5ce5073fc8bd860e99aa9a8fc5ca11b04730e3aee97a" +checksum = "fb22e947478ccf9dc44d8922042c677a63fbb88f2cb468521d1145816e5087cb" [[package]] name = "ctr" @@ -1005,12 +1005,6 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" -[[package]] -name = "foldhash" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" - [[package]] name = "foldhash" version = "0.2.0" @@ -1203,17 +1197,15 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" dependencies = [ "cfg-if", "js-sys", "libc", "r-efi 6.0.0", "rand_core", - "wasip2", - "wasip3", "wasm-bindgen", ] @@ -1284,15 +1276,6 @@ dependencies = [ "byteorder", ] -[[package]] -name = "hashbrown" -version = "0.15.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" -dependencies = [ - "foldhash 0.1.5", -] - [[package]] name = "hashbrown" version = "0.17.1" @@ -1301,7 +1284,7 @@ checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" dependencies = [ "allocator-api2", "equivalent", - "foldhash 0.2.0", + "foldhash", ] [[package]] @@ -1454,9 +1437,9 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "hybrid-array" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9155a582abd142abc056962c29e3ce5ff2ad5469f4246b537ed42c5deba857da" +checksum = "818356c5132c1fede50f837ca96afbe78ff42413047f4abb886217845e1b6c8c" dependencies = [ "typenum", ] @@ -1627,12 +1610,6 @@ dependencies = [ "zerovec", ] -[[package]] -name = "id-arena" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954" - [[package]] name = "ident_case" version = "1.0.1" @@ -1693,7 +1670,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" dependencies = [ "equivalent", - "hashbrown 0.17.1", + "hashbrown", "serde", "serde_core", ] @@ -1731,9 +1708,9 @@ dependencies = [ [[package]] name = "iroh" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6435544bb3a5c4e6ff7affaa0c0aa0d1bca45bd700226329d5059d3eb54f9dff" +checksum = "5fca9b4b462c343ff88fc0af4096c186f939b602a0bc08723536ef2c31c93971" dependencies = [ "backon", "blake3", @@ -1744,7 +1721,7 @@ dependencies = [ "derive_more", "ed25519-dalek", "futures-util", - "getrandom 0.4.2", + "getrandom 0.4.3", "hickory-resolver", "http", "ipnet", @@ -1782,16 +1759,16 @@ dependencies = [ [[package]] name = "iroh-base" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9c95e4459d9bb828a77084277abd308aa2b58a096652b079bddfd6ef2361f53" +checksum = "830a582cd54410dc1aa71d4786a82c3297d7b0165accd8b6dbbb3b240b48140d" dependencies = [ "curve25519-dalek", "data-encoding", "data-encoding-macro", "derive_more", "ed25519-dalek", - "getrandom 0.4.2", + "getrandom 0.4.3", "n0-error", "rand", "serde", @@ -1801,9 +1778,9 @@ dependencies = [ [[package]] name = "iroh-dns" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "754f7e0c1f67938e1d671007264ffef158f14a9f795a7cc219ea68ea09a9d4c9" +checksum = "516e4eedc38e33ab69a6bd325520332dc3d67b25454e2d590ebb84a25240dd9a" dependencies = [ "arc-swap", "cfg_aliases", @@ -1879,16 +1856,16 @@ dependencies = [ [[package]] name = "iroh-relay" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c12e48fef252fd04f8e6b6a8802b377baf72548d62ae4838816624cd0e06b79" +checksum = "8149bb6a57126225a07d6928846d82dcedfd24ea0f863ef7b2eb475e1d726354" dependencies = [ "blake3", "bytes", "cfg_aliases", "data-encoding", "derive_more", - "getrandom 0.4.2", + "getrandom 0.4.3", "hickory-resolver", "http", "http-body-util", @@ -1937,7 +1914,7 @@ dependencies = [ "derive_more", "ed25519-dalek", "futures-buffered", - "getrandom 0.4.2", + "getrandom 0.4.3", "iroh", "iroh-metrics", "iroh-tickets", @@ -2106,9 +2083,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.102" +version = "0.3.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03d04c30968dffe80775bd4d7fb676131cd04a1fb46d2686dbffbaec2d9dfd31" +checksum = "53b44bfcdb3f8d5837a46dae1ca9660a837176eee74a28b229bc626816589102" dependencies = [ "cfg-if", "futures-util", @@ -2121,12 +2098,6 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" -[[package]] -name = "leb128fmt" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" - [[package]] name = "libc" version = "0.2.186" @@ -2166,9 +2137,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.32" +version = "0.4.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "953f07c43838f8e6f9758cab68bf5bed85465e7587ebe0b823f1bcd81978ad3a" +checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad" [[package]] name = "loom" @@ -2189,7 +2160,7 @@ version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a860605968fce16869fd239cf4237a82f3ac470723415db603b0e8b6c8d4fb9" dependencies = [ - "hashbrown 0.17.1", + "hashbrown", ] [[package]] @@ -2215,9 +2186,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.8.2" +version = "2.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" [[package]] name = "minimal-lexical" @@ -2308,9 +2279,9 @@ dependencies = [ [[package]] name = "napi" -version = "3.9.2" +version = "3.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d3c7dd60231116a47854321c9ac8df6f13435d11aa3a59d8533a76e07a3730" +checksum = "0c71997d6f7ad4a756966e452426848ac27d3b37a295302d63afbbcce0270f93" dependencies = [ "anyhow", "bitflags", @@ -2331,9 +2302,9 @@ checksum = "c9c366d2c8c60b86fa632df75f745509b52f9128f91a6bad4c796e44abb505e1" [[package]] name = "napi-derive" -version = "3.5.6" +version = "3.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b3f766e04667e6da0e181e2da4f85475d5a6513b7cf6a80bea184e224a5b42" +checksum = "d4ba572deef53e2c386759a8c2014175a62679d74ff83adc205c8bc0e0285727" dependencies = [ "convert_case 0.11.0", "ctor", @@ -2345,9 +2316,9 @@ dependencies = [ [[package]] name = "napi-derive-backend" -version = "5.0.4" +version = "5.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d5af30503edf933ce7377cf6d4c877a62b0f1107ea05585f1b5e430e88d5baf" +checksum = "ddd961eb2aa8965e3f29722d754f3a86907eb1984e2fbcbe3fe87b9a02d6bfba" dependencies = [ "convert_case 0.11.0", "proc-macro2", @@ -2373,9 +2344,9 @@ checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" [[package]] name = "netdev" -version = "0.44.0" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d31e7286c21ceaf0ddb1d881964011214555ea0b317cc2eb1a1d68d861386fc" +checksum = "569dfbdd2efd771b24ec9bb57f956e04d4fbfc72f62b2f11961723f9b3f4b020" dependencies = [ "block2", "dispatch2", @@ -2386,7 +2357,7 @@ dependencies = [ "mac-addr", "ndk-context", "netlink-packet-core", - "netlink-packet-route 0.29.0", + "netlink-packet-route", "netlink-sys", "objc2", "objc2-core-foundation", @@ -2407,18 +2378,6 @@ dependencies = [ "paste", ] -[[package]] -name = "netlink-packet-route" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df9854ea6ad14e3f4698a7f03b65bce0833dd2d81d594a0e4a984170537146b6" -dependencies = [ - "bitflags", - "libc", - "log", - "netlink-packet-core", -] - [[package]] name = "netlink-packet-route" version = "0.31.0" @@ -2460,9 +2419,9 @@ dependencies = [ [[package]] name = "netwatch" -version = "0.19.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8487d26d691cd98d5c17b2adb4b1fd4b31cccc820da1eac827d483295d7bb94a" +checksum = "4d9cbe01741347ef750d743d6690603f5eed8341e679fb51c8e629337aa11976" dependencies = [ "atomic-waker", "bytes", @@ -2476,7 +2435,7 @@ dependencies = [ "n0-watcher", "netdev", "netlink-packet-core", - "netlink-packet-route 0.31.0", + "netlink-packet-route", "netlink-proto", "netlink-sys", "noq-udp", @@ -2513,9 +2472,9 @@ dependencies = [ [[package]] name = "noq" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11f0c73794bfde94db01379c46990b9a773993fca2b61a66184ce148b7c7a187" +checksum = "4bf95190af1bd4a00a10e8255ca0c8ddd9e9a9f5e79151d7a7eb6d56aff5dc89" dependencies = [ "bytes", "cfg_aliases", @@ -2535,15 +2494,15 @@ dependencies = [ [[package]] name = "noq-proto" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "775be06b8d66c2c64db60140bf54dee8410f67b73c81cc1e1e32f11dfdaae501" +checksum = "aa6c890013591e709a3e45dd53501351b7e27e7ff3c7e9fc3dce43e300e7e9d3" dependencies = [ "aes-gcm", "bytes", "derive_more", "enum-assoc", - "getrandom 0.4.2", + "getrandom 0.4.3", "identity-hash", "lru-slab", "rand", @@ -2562,9 +2521,9 @@ dependencies = [ [[package]] name = "noq-udp" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd5a37756f168cf350d68a97c4f0158bdf3c76f10175123941569b09ab51f011" +checksum = "3137a52df66c20090a889828d1c655f21f52294cba64e5c4fbb04fc83eee7c8e" dependencies = [ "cfg_aliases", "libc", @@ -2584,9 +2543,9 @@ dependencies = [ [[package]] name = "num-bigint" -version = "0.4.6" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" +checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" dependencies = [ "num-integer", "num-traits", @@ -2913,9 +2872,9 @@ checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" [[package]] name = "plist" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "092791278e026273c1b65bbdcfbba3a300f2994c896bd01ab01da613c29c46f1" +checksum = "7da1d65da6dd5d1e44199ac0f58712d241c0f439f80adea8924d832384087f85" dependencies = [ "base64", "indexmap", @@ -2947,9 +2906,9 @@ dependencies = [ [[package]] name = "portmapper" -version = "0.19.0" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccc716c56a0a50f7e4e25f41446419599d47c6197cc5c9858174220e97c272e6" +checksum = "eb3713e4977408279158444a18c1a01ac9bf2e7eaf1fbfd1a19ac9cd18d90721" dependencies = [ "base64", "bytes", @@ -3025,16 +2984,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "prettyplease" -version = "0.2.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" -dependencies = [ - "proc-macro2", - "syn", -] - [[package]] name = "proc-macro-crate" version = "3.5.0" @@ -3055,18 +3004,18 @@ dependencies = [ [[package]] name = "quick-xml" -version = "0.39.4" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdcc8dd4e2f670d309a5f0e83fe36dfdc05af317008fea29144da1a2ac858e5e" +checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1" dependencies = [ "memchr", ] [[package]] name = "quote" -version = "1.0.45" +version = "1.0.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924" +checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368" dependencies = [ "proc-macro2", ] @@ -3085,12 +3034,12 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "rand" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2e8e8bcc7961af1fdac401278c6a831614941f6164ee3bf4ce61b7edb162207" +checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80" dependencies = [ "chacha20", - "getrandom 0.4.2", + "getrandom 0.4.3", "rand_core", ] @@ -3224,9 +3173,9 @@ dependencies = [ [[package]] name = "rustc-hash" -version = "2.1.2" +version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" [[package]] name = "rustc_version" @@ -3261,9 +3210,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.40" +version = "0.23.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef86cd5876211988985292b91c96a8f2d298df24e75989a43a3c73f2d4d8168b" +checksum = "6b92b125634d9b795e7beca796cc790df15a7fb38323bf3196fda83292d06b1f" dependencies = [ "log", "once_cell", @@ -3288,9 +3237,9 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.14.1" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30a7197ae7eb376e574fe940d068c30fe0462554a3ddbe4eca7838e049c937a9" +checksum = "764899a24af3980067ee14bc143654f297b22eaebfe3c7b6b211920a5a59b046" dependencies = [ "web-time", "zeroize", @@ -3336,9 +3285,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.22" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" [[package]] name = "ryu" @@ -3610,9 +3559,9 @@ checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90" [[package]] name = "smawk" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c" +checksum = "e8e2fb0f499abb4d162f2bedad68f5ef91a1682b5a03596ddb67efd37768d100" [[package]] name = "socket2" @@ -3713,9 +3662,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "syn" -version = "2.0.117" +version = "2.0.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" +checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422" dependencies = [ "proc-macro2", "quote", @@ -3776,7 +3725,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.4.2", + "getrandom 0.4.3", "once_cell", "rustix", "windows-sys 0.61.2", @@ -3842,9 +3791,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.49" +version = "0.3.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711a53c2d47bbd818258c498c8dbfe186a2526c631495cfe7e078567f86b8469" +checksum = "18dfaaeddcb932337b5e7866ee7d0ce9b76d2fd092997146f187ec09b4558a50" dependencies = [ "deranged", "js-sys", @@ -3865,9 +3814,9 @@ checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" [[package]] name = "time-macros" -version = "0.2.29" +version = "0.2.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71c652a3727a9cbb9a02f707f530b618ce00d0ccd762009c8c23bd191df3c17d" +checksum = "c431b87111666e491a90baa837f914fb45cd5dc3c268591b0220ff5057f2085f" dependencies = [ "num-conv", "time-core", @@ -3964,15 +3913,15 @@ dependencies = [ [[package]] name = "tokio-websockets" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dad543404f98bfc969aeb71994105c592acfc6c43323fddcd016bb208d1c65cb" +checksum = "d52efb639344a7c6adb8e62c6f3d2c19c001ff1b79a5041ba1c6ed42e19c6aa5" dependencies = [ "base64", "bytes", "futures-core", "futures-sink", - "getrandom 0.4.2", + "getrandom 0.4.3", "http", "httparse", "rand", @@ -4197,9 +4146,9 @@ checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] name = "uniffi" -version = "0.31.1" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc5f2297ee5b893405bed1a6929faec4713a061df158ecf5198089f23910d470" +checksum = "46eefd5468602930da46b1f49d3448c6dfc2e81295f93120f23f8174fd70267f" dependencies = [ "anyhow", "camino", @@ -4214,9 +4163,9 @@ dependencies = [ [[package]] name = "uniffi_bindgen" -version = "0.31.1" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bc0c60a9607e7ab77a2ad47ec5530178015014839db25af7512447d2238016c" +checksum = "c4a0c9b375d32e1365cdb2bdd7cb495eecf6fac851ddbad077412b4ee1888514" dependencies = [ "anyhow", "askama", @@ -4240,9 +4189,9 @@ dependencies = [ [[package]] name = "uniffi_build" -version = "0.31.1" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c39413c43b955e4aa8a4e2b34bbd1b6b5ff6bd85532b52f9eb92fbe88c14458" +checksum = "744fe15bcd3e2b1712a4573a45ce749af19cf28d69027ca5789619014955668c" dependencies = [ "anyhow", "camino", @@ -4251,9 +4200,9 @@ dependencies = [ [[package]] name = "uniffi_core" -version = "0.31.1" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77baf5d539fe2e1ad6805e942dbc5dbdeb2b83eb5f2b3a6535d422ca4b02a12f" +checksum = "eec017b112701681f6fbbe5d92014b5c468eb0b177a94389de03ceec40665095" dependencies = [ "anyhow", "async-compat", @@ -4264,9 +4213,9 @@ dependencies = [ [[package]] name = "uniffi_internal_macros" -version = "0.31.1" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4b42137524f4be6400fcaca9d02c1d4ecb6ad917e4013c0b93235526d8396e5" +checksum = "4641669b48fefbc5e80ff08c5004d9c7617fb91232131a6734ab6712779cb04c" dependencies = [ "anyhow", "indexmap", @@ -4277,9 +4226,9 @@ dependencies = [ [[package]] name = "uniffi_macros" -version = "0.31.1" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9273ec45330d8fe9a3701b7b983cea7a4e218503359831967cb95d26b873561" +checksum = "eeb8617ee814de22caf7417bf514715ba0b3f46bd9d5a5d794413fd8282cb737" dependencies = [ "camino", "fs-err", @@ -4294,9 +4243,9 @@ dependencies = [ [[package]] name = "uniffi_meta" -version = "0.31.1" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "431d2f443e7828a6c29d188de98b6771a6491ee98bba2d4372643bf93f988a18" +checksum = "58d5b94fc92803d21b2928bd15c6f06e57609b95caf98ea561c99cda1b6d2a25" dependencies = [ "anyhow", "siphasher", @@ -4306,9 +4255,9 @@ dependencies = [ [[package]] name = "uniffi_pipeline" -version = "0.31.1" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "761ef74f6175e15603d0424cc5f98854c5baccfe7bf4ccb08e5816f9ab8af689" +checksum = "032739b3ec725576914c15899dedaf080163ced86b6934566c20ec2b20ce90ca" dependencies = [ "anyhow", "heck", @@ -4319,9 +4268,9 @@ dependencies = [ [[package]] name = "uniffi_udl" -version = "0.31.1" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68773ec0e1c067b6505a73bbf6a5782f31a7f9209333a0df97b87565c46bf370" +checksum = "fc0a1d0a0252ce1af9e8ce78ba67ac0d8937fb2bedaf10cbddd43d3614d06ec6" dependencies = [ "anyhow", "textwrap", @@ -4366,11 +4315,11 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" [[package]] name = "uuid" -version = "1.23.3" +version = "1.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "144d6b123cef80b301b8f72a9e2ca4370ddec21950d0a103dd22c437006d2db7" +checksum = "bf80a72845275afea99e7f2b434723d3bc7e38470fcd1c7ed39a599c73319a53" dependencies = [ - "getrandom 0.4.2", + "getrandom 0.4.3", "js-sys", "serde_core", "wasm-bindgen", @@ -4456,23 +4405,14 @@ version = "1.0.4+wasi-0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" dependencies = [ - "wit-bindgen 0.57.1", -] - -[[package]] -name = "wasip3" -version = "0.4.0+wasi-0.3.0-rc-2026-01-06" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" -dependencies = [ - "wit-bindgen 0.51.0", + "wit-bindgen", ] [[package]] name = "wasm-bindgen" -version = "0.2.125" +version = "0.2.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ddb3f79143bced6de84270411622a2699cee572fc0875aeaf1e7867cf9fca1a" +checksum = "4b067c0c11094aef6b7a801c1e34a26affafdf3d051dba08456b868789aaf9a4" dependencies = [ "cfg-if", "once_cell", @@ -4483,9 +4423,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.75" +version = "0.4.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "503b14d284f2c8dac03b819967e155ea753f573586193b2b2c95990cb5d69280" +checksum = "c62df1340f32221cb9c54d6a27b030e3dba64361d4a95bed55f9aacb44da291d" dependencies = [ "js-sys", "wasm-bindgen", @@ -4493,9 +4433,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.125" +version = "0.2.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e21a184b13fb19e157296e2c46056aec9092264fab83e4ba59e68c61b323c3d" +checksum = "167ce5e579f6bcf889c4f7175a8a5a585de84e8ff93976ce393efa5f2837aab1" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -4503,9 +4443,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.125" +version = "0.2.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fecefd9c35bd935a20fc3fc344b5f29138961e4f47fb03297d88f2587afb5ebd" +checksum = "f3997c7839262f4ef12cf90b818d6340c18e80f263f1a94bf157d0ec4420380e" dependencies = [ "bumpalo", "proc-macro2", @@ -4516,35 +4456,13 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.125" +version = "0.2.126" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23939e44bb9a5d7576fa2b563dc2e136628f1224e88a8deed09e04858b77871f" +checksum = "dc1b4cb0cc549fcf58d7dfc081778139b3d283a081644e833e84682ad71cea24" dependencies = [ "unicode-ident", ] -[[package]] -name = "wasm-encoder" -version = "0.244.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319" -dependencies = [ - "leb128fmt", - "wasmparser", -] - -[[package]] -name = "wasm-metadata" -version = "0.244.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909" -dependencies = [ - "anyhow", - "indexmap", - "wasm-encoder", - "wasmparser", -] - [[package]] name = "wasm-streams" version = "0.5.0" @@ -4558,23 +4476,11 @@ dependencies = [ "web-sys", ] -[[package]] -name = "wasmparser" -version = "0.244.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" -dependencies = [ - "bitflags", - "hashbrown 0.15.5", - "indexmap", - "semver", -] - [[package]] name = "web-sys" -version = "0.3.102" +version = "0.3.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6430a72df5eb332242960fe84b3002a241163998241eb596d4f739b9757061d" +checksum = "8622dcb61c0bcc9fffa6938bed81210af2da9a7e4a1a834b2e37a59b6dfb6141" dependencies = [ "js-sys", "wasm-bindgen", @@ -4592,18 +4498,18 @@ dependencies = [ [[package]] name = "webpki-root-certs" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f31141ce3fc3e300ae89b78c0dd67f9708061d1d2eda54b8209346fd6be9a92c" +checksum = "0d46a5a140e6f7afeccd8eae97eff335163939eac8b929834875168b29b3d267" dependencies = [ "rustls-pki-types", ] [[package]] name = "webpki-roots" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52f5ee44c96cf55f1b349600768e3ece3a8f26010c05265ab73f945bb1a2eb9d" +checksum = "bf85cb06032201fa7c6f829d7db5a7e5aa45bcc0655327713065f6f0576731bf" dependencies = [ "rustls-pki-types", ] @@ -4941,100 +4847,12 @@ dependencies = [ "memchr", ] -[[package]] -name = "wit-bindgen" -version = "0.51.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" -dependencies = [ - "wit-bindgen-rust-macro", -] - [[package]] name = "wit-bindgen" version = "0.57.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" -[[package]] -name = "wit-bindgen-core" -version = "0.51.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc" -dependencies = [ - "anyhow", - "heck", - "wit-parser", -] - -[[package]] -name = "wit-bindgen-rust" -version = "0.51.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21" -dependencies = [ - "anyhow", - "heck", - "indexmap", - "prettyplease", - "syn", - "wasm-metadata", - "wit-bindgen-core", - "wit-component", -] - -[[package]] -name = "wit-bindgen-rust-macro" -version = "0.51.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a" -dependencies = [ - "anyhow", - "prettyplease", - "proc-macro2", - "quote", - "syn", - "wit-bindgen-core", - "wit-bindgen-rust", -] - -[[package]] -name = "wit-component" -version = "0.244.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" -dependencies = [ - "anyhow", - "bitflags", - "indexmap", - "log", - "serde", - "serde_derive", - "serde_json", - "wasm-encoder", - "wasm-metadata", - "wasmparser", - "wit-parser", -] - -[[package]] -name = "wit-parser" -version = "0.244.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736" -dependencies = [ - "anyhow", - "id-arena", - "indexmap", - "log", - "semver", - "serde", - "serde_derive", - "serde_json", - "unicode-xid", - "wasmparser", -] - [[package]] name = "wmi" version = "0.18.4" diff --git a/iroh-js/index.js b/iroh-js/index.js index 9ec5ae53..ab45dd07 100644 --- a/iroh-js/index.js +++ b/iroh-js/index.js @@ -3,7 +3,7 @@ // @ts-nocheck /* auto-generated by NAPI-RS */ -const { readFileSync } = require('node:fs') +const { readFileSync } = require('fs') let nativeBinding = null const loadErrors = [] @@ -33,7 +33,7 @@ const isMuslFromFilesystem = () => { const isMuslFromReport = () => { let report = null - if (typeof process.report?.getReport === 'function') { + if (process.report && typeof process.report.getReport === 'function') { process.report.excludeNetwork = true report = process.report.getReport() } @@ -77,8 +77,8 @@ function requireNative() { try { const binding = require('@number0/iroh-android-arm64') const bindingPackageVersion = require('@number0/iroh-android-arm64/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -93,8 +93,8 @@ function requireNative() { try { const binding = require('@number0/iroh-android-arm-eabi') const bindingPackageVersion = require('@number0/iroh-android-arm-eabi/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -105,7 +105,7 @@ function requireNative() { } } else if (process.platform === 'win32') { if (process.arch === 'x64') { - if (process.config?.variables?.shlib_suffix === 'dll.a' || process.config?.variables?.node_target_type === 'shared_library') { + if ((process.config && process.config.variables && process.config.variables.shlib_suffix === 'dll.a') || (process.config && process.config.variables && process.config.variables.node_target_type === 'shared_library')) { try { return require('./iroh.win32-x64-gnu.node') } catch (e) { @@ -114,8 +114,8 @@ function requireNative() { try { const binding = require('@number0/iroh-win32-x64-gnu') const bindingPackageVersion = require('@number0/iroh-win32-x64-gnu/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -130,8 +130,8 @@ function requireNative() { try { const binding = require('@number0/iroh-win32-x64-msvc') const bindingPackageVersion = require('@number0/iroh-win32-x64-msvc/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -147,8 +147,8 @@ function requireNative() { try { const binding = require('@number0/iroh-win32-ia32-msvc') const bindingPackageVersion = require('@number0/iroh-win32-ia32-msvc/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -163,8 +163,8 @@ function requireNative() { try { const binding = require('@number0/iroh-win32-arm64-msvc') const bindingPackageVersion = require('@number0/iroh-win32-arm64-msvc/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -182,8 +182,8 @@ function requireNative() { try { const binding = require('@number0/iroh-darwin-universal') const bindingPackageVersion = require('@number0/iroh-darwin-universal/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -198,8 +198,8 @@ function requireNative() { try { const binding = require('@number0/iroh-darwin-x64') const bindingPackageVersion = require('@number0/iroh-darwin-x64/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -214,8 +214,8 @@ function requireNative() { try { const binding = require('@number0/iroh-darwin-arm64') const bindingPackageVersion = require('@number0/iroh-darwin-arm64/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -234,8 +234,8 @@ function requireNative() { try { const binding = require('@number0/iroh-freebsd-x64') const bindingPackageVersion = require('@number0/iroh-freebsd-x64/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -250,8 +250,8 @@ function requireNative() { try { const binding = require('@number0/iroh-freebsd-arm64') const bindingPackageVersion = require('@number0/iroh-freebsd-arm64/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -271,8 +271,8 @@ function requireNative() { try { const binding = require('@number0/iroh-linux-x64-musl') const bindingPackageVersion = require('@number0/iroh-linux-x64-musl/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -287,8 +287,8 @@ function requireNative() { try { const binding = require('@number0/iroh-linux-x64-gnu') const bindingPackageVersion = require('@number0/iroh-linux-x64-gnu/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -305,8 +305,8 @@ function requireNative() { try { const binding = require('@number0/iroh-linux-arm64-musl') const bindingPackageVersion = require('@number0/iroh-linux-arm64-musl/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -321,8 +321,8 @@ function requireNative() { try { const binding = require('@number0/iroh-linux-arm64-gnu') const bindingPackageVersion = require('@number0/iroh-linux-arm64-gnu/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -339,8 +339,8 @@ function requireNative() { try { const binding = require('@number0/iroh-linux-arm-musleabihf') const bindingPackageVersion = require('@number0/iroh-linux-arm-musleabihf/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -355,8 +355,8 @@ function requireNative() { try { const binding = require('@number0/iroh-linux-arm-gnueabihf') const bindingPackageVersion = require('@number0/iroh-linux-arm-gnueabihf/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -373,8 +373,8 @@ function requireNative() { try { const binding = require('@number0/iroh-linux-loong64-musl') const bindingPackageVersion = require('@number0/iroh-linux-loong64-musl/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -389,8 +389,8 @@ function requireNative() { try { const binding = require('@number0/iroh-linux-loong64-gnu') const bindingPackageVersion = require('@number0/iroh-linux-loong64-gnu/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -407,8 +407,8 @@ function requireNative() { try { const binding = require('@number0/iroh-linux-riscv64-musl') const bindingPackageVersion = require('@number0/iroh-linux-riscv64-musl/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -423,8 +423,8 @@ function requireNative() { try { const binding = require('@number0/iroh-linux-riscv64-gnu') const bindingPackageVersion = require('@number0/iroh-linux-riscv64-gnu/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -440,8 +440,8 @@ function requireNative() { try { const binding = require('@number0/iroh-linux-ppc64-gnu') const bindingPackageVersion = require('@number0/iroh-linux-ppc64-gnu/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -456,8 +456,8 @@ function requireNative() { try { const binding = require('@number0/iroh-linux-s390x-gnu') const bindingPackageVersion = require('@number0/iroh-linux-s390x-gnu/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -476,8 +476,8 @@ function requireNative() { try { const binding = require('@number0/iroh-openharmony-arm64') const bindingPackageVersion = require('@number0/iroh-openharmony-arm64/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -492,8 +492,8 @@ function requireNative() { try { const binding = require('@number0/iroh-openharmony-x64') const bindingPackageVersion = require('@number0/iroh-openharmony-x64/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -508,8 +508,8 @@ function requireNative() { try { const binding = require('@number0/iroh-openharmony-arm') const bindingPackageVersion = require('@number0/iroh-openharmony-arm/package.json').version - if (bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -525,23 +525,33 @@ function requireNative() { nativeBinding = requireNative() -if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) { +// NAPI_RS_FORCE_WASI is a tri-state flag: +// unset / any other value → native binding preferred, WASI is only a fallback +// 'true' → force WASI fallback even if native loaded +// 'error' → force WASI and throw if no WASI binding is found +// Treating any non-empty string as truthy (the historical behavior) meant +// NAPI_RS_FORCE_WASI=false, NAPI_RS_FORCE_WASI=0, etc. inadvertently triggered +// the WASI path, causing ENOENT for packages shipped without a .wasi.cjs file. +const forceWasi = + process.env.NAPI_RS_FORCE_WASI === 'true' || process.env.NAPI_RS_FORCE_WASI === 'error' + +if (!nativeBinding || forceWasi) { let wasiBinding = null let wasiBindingError = null try { wasiBinding = require('./iroh.wasi.cjs') nativeBinding = wasiBinding } catch (err) { - if (process.env.NAPI_RS_FORCE_WASI) { + if (forceWasi) { wasiBindingError = err } } - if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) { + if (!nativeBinding || forceWasi) { try { wasiBinding = require('@number0/iroh-wasm32-wasi') nativeBinding = wasiBinding } catch (err) { - if (process.env.NAPI_RS_FORCE_WASI) { + if (forceWasi) { if (!wasiBindingError) { wasiBindingError = err } else { @@ -560,17 +570,18 @@ if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) { if (!nativeBinding) { if (loadErrors.length > 0) { - throw new Error( + const error = new Error( `Cannot find native binding. ` + `npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). ` + 'Please try `npm i` again after removing both package-lock.json and node_modules directory.', - { - cause: loadErrors.reduce((err, cur) => { - cur.cause = err - return cur - }), - }, ) + // assign instead of the `new Error(message, { cause })` options form, + // which Node < 16.9 silently ignores + error.cause = loadErrors.reduce((err, cur) => { + cur.cause = err + return cur + }) + throw error } throw new Error(`Failed to load native binding`) } diff --git a/iroh-js/package.json b/iroh-js/package.json index a7fe0639..c6e4305d 100644 --- a/iroh-js/package.json +++ b/iroh-js/package.json @@ -41,8 +41,8 @@ }, "license": "MIT OR Apache-2.0", "devDependencies": { - "@napi-rs/cli": "^3.6.2", - "typedoc": "^0.27.6", + "@napi-rs/cli": "^3.7.2", + "typedoc": "^0.28.20", "typescript": "~5.8.3" }, "scripts": { diff --git a/iroh-js/yarn.lock b/iroh-js/yarn.lock index 7c75b05c..ee492b53 100644 --- a/iroh-js/yarn.lock +++ b/iroh-js/yarn.lock @@ -5,63 +5,65 @@ __metadata: version: 8 cacheKey: 10c0 -"@gerrit0/mini-shiki@npm:^1.24.0": - version: 1.27.2 - resolution: "@gerrit0/mini-shiki@npm:1.27.2" +"@gerrit0/mini-shiki@npm:^3.23.0": + version: 3.23.0 + resolution: "@gerrit0/mini-shiki@npm:3.23.0" dependencies: - "@shikijs/engine-oniguruma": "npm:^1.27.2" - "@shikijs/types": "npm:^1.27.2" - "@shikijs/vscode-textmate": "npm:^10.0.1" - checksum: 10c0/aee681637d123e0e8c9ec154b117ce166dd8b4b9896341e617fef16d0b21ef91a17f6f90cc874137e33ca85b5898817b59bb8aea178cdb2fa6e75b0fff3640c2 + "@shikijs/engine-oniguruma": "npm:^3.23.0" + "@shikijs/langs": "npm:^3.23.0" + "@shikijs/themes": "npm:^3.23.0" + "@shikijs/types": "npm:^3.23.0" + "@shikijs/vscode-textmate": "npm:^10.0.2" + checksum: 10c0/f9663e0e179edd2d7733207843f1bceda24311ab7b5495d50e0531305129fba8663388784c80645383ac6ae5e3a97c138faefeea8c328e7664da882f4ecb1c3a languageName: node linkType: hard -"@inquirer/ansi@npm:^2.0.5": - version: 2.0.5 - resolution: "@inquirer/ansi@npm:2.0.5" - checksum: 10c0/ad61532e5bb47473e3d987c32d4015499a8ce5f4f86e46467e8e672fc52670beb303905d6b324e453935a61671f59f3b9b1b6a1edbbe1f64085e2bb87735e295 +"@inquirer/ansi@npm:^2.0.7": + version: 2.0.7 + resolution: "@inquirer/ansi@npm:2.0.7" + checksum: 10c0/a574f97a899f0d9346fa26b528b3f4a9ba6dcb9172288efb6b4314d8486470ed53d2f538200f66a25b843c6e0cbf83688c6d5174a8dc6eca853b291b09609c5a languageName: node linkType: hard -"@inquirer/checkbox@npm:^5.1.5": - version: 5.1.5 - resolution: "@inquirer/checkbox@npm:5.1.5" +"@inquirer/checkbox@npm:^5.2.1": + version: 5.2.1 + resolution: "@inquirer/checkbox@npm:5.2.1" dependencies: - "@inquirer/ansi": "npm:^2.0.5" - "@inquirer/core": "npm:^11.1.10" - "@inquirer/figures": "npm:^2.0.5" - "@inquirer/type": "npm:^4.0.5" + "@inquirer/ansi": "npm:^2.0.7" + "@inquirer/core": "npm:^11.2.1" + "@inquirer/figures": "npm:^2.0.7" + "@inquirer/type": "npm:^4.0.7" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/6cf3bfbc0e39b80b8a37b69e49231c22616877b31b77507a55be5363d14b33e91cd3c1eb4ebf0ba89435ab5ef8204ce634579a23ab7b186ee8c71d54a7c959ee + checksum: 10c0/e3a845156c718fbbec228a0e7fd2a4f10775185615eac1f405b3a2bb2ae607dda6baf178fbd6487db0e12e5e33014536e81acefe65de57cd476a7aeaea6fb35d languageName: node linkType: hard -"@inquirer/confirm@npm:^6.0.13": - version: 6.0.13 - resolution: "@inquirer/confirm@npm:6.0.13" +"@inquirer/confirm@npm:^6.1.1": + version: 6.1.1 + resolution: "@inquirer/confirm@npm:6.1.1" dependencies: - "@inquirer/core": "npm:^11.1.10" - "@inquirer/type": "npm:^4.0.5" + "@inquirer/core": "npm:^11.2.1" + "@inquirer/type": "npm:^4.0.7" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/59f3c484f405b3ffe2e97a9e4927111d71d317ea84fa14dc0ffd2d7c902f934ad31f48b380765937f5ff85722ece475edcde8a64b8018c21f2ee3e33082cee8b + checksum: 10c0/4684406161c09327df830b4026f3165b31e13831276d215051586408ed434423263b15686393ce95a4b55058c1b7f9b08aa4b66f5ac930b47523fff75051d36f languageName: node linkType: hard -"@inquirer/core@npm:^11.1.10": - version: 11.1.10 - resolution: "@inquirer/core@npm:11.1.10" +"@inquirer/core@npm:^11.2.1": + version: 11.2.1 + resolution: "@inquirer/core@npm:11.2.1" dependencies: - "@inquirer/ansi": "npm:^2.0.5" - "@inquirer/figures": "npm:^2.0.5" - "@inquirer/type": "npm:^4.0.5" + "@inquirer/ansi": "npm:^2.0.7" + "@inquirer/figures": "npm:^2.0.7" + "@inquirer/type": "npm:^4.0.7" cli-width: "npm:^4.1.0" fast-wrap-ansi: "npm:^0.2.0" mute-stream: "npm:^3.0.0" @@ -71,44 +73,44 @@ __metadata: peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/d1d4081cbb0bd3dc15a3c95c58560a4836079a14161c407bc20f9a1b0fdb93c2228daf61aa60acab7023bc78df1b85875fde94308dcac2c6bd0ffd24b5f05190 + checksum: 10c0/b5be386cecd9e441ac2f9d3417a6ae1c4658b3ee6cdf5dae791211400f4de158851f81fca2245e2062833716f95366b9e1717770828cb7365e756c16e822f0d2 languageName: node linkType: hard -"@inquirer/editor@npm:^5.1.2": - version: 5.1.2 - resolution: "@inquirer/editor@npm:5.1.2" +"@inquirer/editor@npm:^5.2.2": + version: 5.2.2 + resolution: "@inquirer/editor@npm:5.2.2" dependencies: - "@inquirer/core": "npm:^11.1.10" - "@inquirer/external-editor": "npm:^3.0.0" - "@inquirer/type": "npm:^4.0.5" + "@inquirer/core": "npm:^11.2.1" + "@inquirer/external-editor": "npm:^3.0.3" + "@inquirer/type": "npm:^4.0.7" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/5b24700b8d4339d4b9b5fe5991d4c35843c1977595bfc0ab242e95a2bd8c2463c9039050f3b7821e8f49786926c5b68ba4cb20d6d887292fc0b12ccb03bd3ca2 + checksum: 10c0/a75e7012aad3ccc3ec84893463ed689924515a6cbaee8e2a475769fb27c12bcf359fcdd5f62e92107fc4be88fd69444c15adf13071982efc140c7015a6604d9a languageName: node linkType: hard -"@inquirer/expand@npm:^5.0.14": - version: 5.0.14 - resolution: "@inquirer/expand@npm:5.0.14" +"@inquirer/expand@npm:^5.1.1": + version: 5.1.1 + resolution: "@inquirer/expand@npm:5.1.1" dependencies: - "@inquirer/core": "npm:^11.1.10" - "@inquirer/type": "npm:^4.0.5" + "@inquirer/core": "npm:^11.2.1" + "@inquirer/type": "npm:^4.0.7" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/efdc9a93d57397f415529ed2b969de6fa78c2ab98901a89efd73f1cfc79eba3ea899c621a63a458c530ca4142c89fd61cfeb873384e906f9cc33c022a5a3f5be + checksum: 10c0/4de661a042147759ce351971a4f92010ab66cb76450424e7d8aec5de79b449d14e8751f54f557d0b047180bca2b76707626f4835ee46603c6200139c31b59652 languageName: node linkType: hard -"@inquirer/external-editor@npm:^3.0.0": - version: 3.0.0 - resolution: "@inquirer/external-editor@npm:3.0.0" +"@inquirer/external-editor@npm:^3.0.3": + version: 3.0.3 + resolution: "@inquirer/external-editor@npm:3.0.3" dependencies: chardet: "npm:^2.1.1" iconv-lite: "npm:^0.7.2" @@ -117,161 +119,161 @@ __metadata: peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/120910c954869c73c54aee825abef6f4c4aa8620cafa831d56b218586b1ee02c12ad0a17b8d701784fb9d33fa8fd63ee155d9c718c90533ff4d8086b99986e1d + checksum: 10c0/fc24ddbff15f0874db6498c16d2fe153bb19a670d83605f480486d6ff0ea872ae2f32a548fd555797989db09850fa019a6b5e49a8d40cfee0d7deacad17edc1e languageName: node linkType: hard -"@inquirer/figures@npm:^2.0.5": - version: 2.0.5 - resolution: "@inquirer/figures@npm:2.0.5" - checksum: 10c0/139671b88f33f059aec85ed3fdf464999115573350c6dea61141adc1cfd43d14742b6cb68150c2ca9baf5a1bae618f990ed89b4430ae768d415bbd19944c56df +"@inquirer/figures@npm:^2.0.7": + version: 2.0.7 + resolution: "@inquirer/figures@npm:2.0.7" + checksum: 10c0/e0573dc9ad25fa3628d5164745e52852d8cd832a9918605b7716df2e37a0005a0aaf40b6d81cef2ca09cb708b200e61b82d1dcd17003f572577e233c19a9ec7b languageName: node linkType: hard -"@inquirer/input@npm:^5.0.13": - version: 5.0.13 - resolution: "@inquirer/input@npm:5.0.13" +"@inquirer/input@npm:^5.1.2": + version: 5.1.2 + resolution: "@inquirer/input@npm:5.1.2" dependencies: - "@inquirer/core": "npm:^11.1.10" - "@inquirer/type": "npm:^4.0.5" + "@inquirer/core": "npm:^11.2.1" + "@inquirer/type": "npm:^4.0.7" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/df2d67a6f0a1b4cc22dfdc1e78f833560f613647bd75374d4664601b7947106dd977aceb8440a19a17204b58c11611e6084096eae3eb1873260f1f1d029a8a0a + checksum: 10c0/9c3614f8d79fc2bec07a088858a58967a162046c9292b0c6f0c6f63396cf391181cfb54bb636f5b3dce8d23924c24ee4a0310183a493c94190e4750218f3744d languageName: node linkType: hard -"@inquirer/number@npm:^4.0.13": - version: 4.0.13 - resolution: "@inquirer/number@npm:4.0.13" +"@inquirer/number@npm:^4.1.1": + version: 4.1.1 + resolution: "@inquirer/number@npm:4.1.1" dependencies: - "@inquirer/core": "npm:^11.1.10" - "@inquirer/type": "npm:^4.0.5" + "@inquirer/core": "npm:^11.2.1" + "@inquirer/type": "npm:^4.0.7" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/9185d15c8b0ab820dc0456e7db6f189ae84bf8d5f5bce19398f3a858fca0276e66a53922a4ab118dbae65f1f4f6a29f06f3d34c6436ae9e095a98e9862590e2b + checksum: 10c0/06210dd70bf89d35242af43009b5e3f76a5f07d6275a9d842bbed61536032f5f349ecba1c20012975d7b0362deb89746d5903e90f21516da10bfd8c2055829a9 languageName: node linkType: hard -"@inquirer/password@npm:^5.0.13": - version: 5.0.13 - resolution: "@inquirer/password@npm:5.0.13" +"@inquirer/password@npm:^5.1.1": + version: 5.1.1 + resolution: "@inquirer/password@npm:5.1.1" dependencies: - "@inquirer/ansi": "npm:^2.0.5" - "@inquirer/core": "npm:^11.1.10" - "@inquirer/type": "npm:^4.0.5" + "@inquirer/ansi": "npm:^2.0.7" + "@inquirer/core": "npm:^11.2.1" + "@inquirer/type": "npm:^4.0.7" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/e06aa6ae4344e3e37630655c443001bcf4421b1e4821c15987fc747b8d0362d536a52a115d25d02b023bb7091fc88630a65d7b0ac02e15a2f70d933f6a863da3 + checksum: 10c0/e4cb3a53b56743808f83958a8fe85738d721599690a4bc7640eaa07fb8f4765bc6f174e40c16efcc8a5958a7169667e240714a706a36e831f9c7a6822cbe8b55 languageName: node linkType: hard -"@inquirer/prompts@npm:^8.0.0": - version: 8.4.3 - resolution: "@inquirer/prompts@npm:8.4.3" +"@inquirer/prompts@npm:^8.5.2": + version: 8.5.2 + resolution: "@inquirer/prompts@npm:8.5.2" dependencies: - "@inquirer/checkbox": "npm:^5.1.5" - "@inquirer/confirm": "npm:^6.0.13" - "@inquirer/editor": "npm:^5.1.2" - "@inquirer/expand": "npm:^5.0.14" - "@inquirer/input": "npm:^5.0.13" - "@inquirer/number": "npm:^4.0.13" - "@inquirer/password": "npm:^5.0.13" - "@inquirer/rawlist": "npm:^5.2.9" - "@inquirer/search": "npm:^4.1.9" - "@inquirer/select": "npm:^5.1.5" + "@inquirer/checkbox": "npm:^5.2.1" + "@inquirer/confirm": "npm:^6.1.1" + "@inquirer/editor": "npm:^5.2.2" + "@inquirer/expand": "npm:^5.1.1" + "@inquirer/input": "npm:^5.1.2" + "@inquirer/number": "npm:^4.1.1" + "@inquirer/password": "npm:^5.1.1" + "@inquirer/rawlist": "npm:^5.3.1" + "@inquirer/search": "npm:^4.2.1" + "@inquirer/select": "npm:^5.2.1" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/fd77efb0b12a9293d6533cf332a1af10f69fefa97202c3790c2a7695a06c443ed5d4877d05efe512803e4a98cce0fa46fed9d372149512c2eccbfcf23f1c44bd + checksum: 10c0/253b92e31c6a1f8f00a778eda8196bb53fc931723f7db4a03937f38ccd4d07c987766d4f60b9250b5d90bfe30b04747dfa73927a9f6fb886bd48091ccb202535 languageName: node linkType: hard -"@inquirer/rawlist@npm:^5.2.9": - version: 5.2.9 - resolution: "@inquirer/rawlist@npm:5.2.9" +"@inquirer/rawlist@npm:^5.3.1": + version: 5.3.1 + resolution: "@inquirer/rawlist@npm:5.3.1" dependencies: - "@inquirer/core": "npm:^11.1.10" - "@inquirer/type": "npm:^4.0.5" + "@inquirer/core": "npm:^11.2.1" + "@inquirer/type": "npm:^4.0.7" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/10f1a23e5222a932d9965490beb8b37551b2c68dcb281290d8f0099dc0778b49d4ca671ad8b346c802cbff29924faffd01b62dc88f297020e3d1061eb00b7f78 + checksum: 10c0/a05eb6a16633bd7b32b3b6b2c1f645e6e28d955475b21ba7222e7e66806b1be15be9f91235b2933e8d27e04fdad81ebfb2d64fc1fc0d4b8d82dcd2718817b2b9 languageName: node linkType: hard -"@inquirer/search@npm:^4.1.9": - version: 4.1.9 - resolution: "@inquirer/search@npm:4.1.9" +"@inquirer/search@npm:^4.2.1": + version: 4.2.1 + resolution: "@inquirer/search@npm:4.2.1" dependencies: - "@inquirer/core": "npm:^11.1.10" - "@inquirer/figures": "npm:^2.0.5" - "@inquirer/type": "npm:^4.0.5" + "@inquirer/core": "npm:^11.2.1" + "@inquirer/figures": "npm:^2.0.7" + "@inquirer/type": "npm:^4.0.7" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/0e0cd6f2f312cecfa02f7d5556a7ccf5cbffff442fbdd0828f320e0a0239b63d24db5e31e05ec77d2a969900ad40b2d115f6496b2c9c47561a15dc504298d9dc + checksum: 10c0/eae9b2d524aae58266f96987696be22ad62f608661d28763c413f2560094d571a39d72a40630d2470f503ad5e6e50d8c574a653cc028bf79b51104fa91f59a67 languageName: node linkType: hard -"@inquirer/select@npm:^5.1.5": - version: 5.1.5 - resolution: "@inquirer/select@npm:5.1.5" +"@inquirer/select@npm:^5.2.1": + version: 5.2.1 + resolution: "@inquirer/select@npm:5.2.1" dependencies: - "@inquirer/ansi": "npm:^2.0.5" - "@inquirer/core": "npm:^11.1.10" - "@inquirer/figures": "npm:^2.0.5" - "@inquirer/type": "npm:^4.0.5" + "@inquirer/ansi": "npm:^2.0.7" + "@inquirer/core": "npm:^11.2.1" + "@inquirer/figures": "npm:^2.0.7" + "@inquirer/type": "npm:^4.0.7" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/871e05266c00151031798dc659acaed3d9c76d0040a25204cbcc99f7104559db1a8bc2a73ee04318a01f06f879a3d7e5986db50f563aeca23ae4cd5e8cff6057 + checksum: 10c0/3c6d0151b5a29111254a58eaf8b93bb4c476e68b0751526d8bff61a4bea457bdbe782890ae33977c5d2015f436596b5d32a8bb0677bfdf610f5f5998e65f5a92 languageName: node linkType: hard -"@inquirer/type@npm:^4.0.5": - version: 4.0.5 - resolution: "@inquirer/type@npm:4.0.5" +"@inquirer/type@npm:^4.0.7": + version: 4.0.7 + resolution: "@inquirer/type@npm:4.0.7" peerDependencies: "@types/node": ">=18" peerDependenciesMeta: "@types/node": optional: true - checksum: 10c0/390edb0fd1f027f9c8dc26bac28486d38bbde6c19974ef1588ea187f54a2cb58db639ebca31fa81a8fe4a4e84c2f0953ab3f5a6768ba86649368c5e806148a6f + checksum: 10c0/80678ac1c6e19ce309909e4a54a69adc95697ea3abc2cb92f17b1bc52f4caadbcb4003ae7339fb5a70c0d36d3bde975e1bb4450069662f41c953a0d28695bb70 languageName: node linkType: hard -"@napi-rs/cli@npm:^3.6.2": - version: 3.6.2 - resolution: "@napi-rs/cli@npm:3.6.2" +"@napi-rs/cli@npm:^3.7.2": + version: 3.7.2 + resolution: "@napi-rs/cli@npm:3.7.2" dependencies: - "@inquirer/prompts": "npm:^8.0.0" + "@inquirer/prompts": "npm:^8.5.2" "@napi-rs/cross-toolchain": "npm:^1.0.3" "@napi-rs/wasm-tools": "npm:^1.0.1" "@octokit/rest": "npm:^22.0.1" clipanion: "npm:^4.0.0-rc.4" colorette: "npm:^2.0.20" - emnapi: "npm:^1.9.1" - es-toolkit: "npm:^1.41.0" - js-yaml: "npm:^4.1.0" - obug: "npm:^2.0.0" - semver: "npm:^7.7.3" + emnapi: "npm:^1.11.1" + es-toolkit: "npm:^1.47.0" + js-yaml: "npm:^4.2.0" + obug: "npm:^2.1.2" + semver: "npm:^7.8.2" typanion: "npm:^3.14.0" peerDependencies: "@emnapi/runtime": ^1.7.1 @@ -281,7 +283,7 @@ __metadata: bin: napi: dist/cli.js napi-raw: cli.mjs - checksum: 10c0/3164711ed904c45247f9589c9cdf62f843c30e1b1b03bc770b9bb4d7c76bd134c42266ba85bc11d50f77df97eea56594a8151a749f2bca014c2b45cbfcf96a41 + checksum: 10c0/c0ec077d0d2d6cd164e74c8c7a7d8c1075fc0b134ee463b68418f6ffded5a1ef66b3e23a908bb377e02eef7b814bfb3259897e864d1e90000ba2b6af74915b66 languageName: node linkType: hard @@ -837,8 +839,8 @@ __metadata: version: 0.0.0-use.local resolution: "@number0/iroh@workspace:." dependencies: - "@napi-rs/cli": "npm:^3.6.2" - typedoc: "npm:^0.27.6" + "@napi-rs/cli": "npm:^3.7.2" + typedoc: "npm:^0.28.20" typescript: "npm:~5.8.3" languageName: unknown linkType: soft @@ -969,27 +971,45 @@ __metadata: languageName: node linkType: hard -"@shikijs/engine-oniguruma@npm:^1.27.2": - version: 1.29.2 - resolution: "@shikijs/engine-oniguruma@npm:1.29.2" +"@shikijs/engine-oniguruma@npm:^3.23.0": + version: 3.23.0 + resolution: "@shikijs/engine-oniguruma@npm:3.23.0" dependencies: - "@shikijs/types": "npm:1.29.2" - "@shikijs/vscode-textmate": "npm:^10.0.1" - checksum: 10c0/87d77e05af7fe862df40899a7034cbbd48d3635e27706873025e5035be578584d012f850208e97ca484d5e876bf802d4e23d0394d25026adb678eeb1d1f340ff + "@shikijs/types": "npm:3.23.0" + "@shikijs/vscode-textmate": "npm:^10.0.2" + checksum: 10c0/40dbda7aef55d5946c45b8cfe56f484eadb611f9f7c9eb77ff21f0dfce2bcc775686a61eda9e06401ddd71195945a522293f51d6522fce49244b1a6b9c0f61f7 languageName: node linkType: hard -"@shikijs/types@npm:1.29.2, @shikijs/types@npm:^1.27.2": - version: 1.29.2 - resolution: "@shikijs/types@npm:1.29.2" +"@shikijs/langs@npm:^3.23.0": + version: 3.23.0 + resolution: "@shikijs/langs@npm:3.23.0" dependencies: - "@shikijs/vscode-textmate": "npm:^10.0.1" + "@shikijs/types": "npm:3.23.0" + checksum: 10c0/513b90cfee0fa167d2063b7fbc2318b303a604f2e1fa156aa8b4659b49792401531a74acf68de622ecfff15738e1947a46cfe92a32fcd6a4ee5e70bcf1d06c66 + languageName: node + linkType: hard + +"@shikijs/themes@npm:^3.23.0": + version: 3.23.0 + resolution: "@shikijs/themes@npm:3.23.0" + dependencies: + "@shikijs/types": "npm:3.23.0" + checksum: 10c0/5c99036d4a765765018f9106a354ebe5ccac204c69f00e3cda265828d493f005412659213f6574fa0e187c7d4437b3327bd6dad2e2146b2c472d2bf493d790dd + languageName: node + linkType: hard + +"@shikijs/types@npm:3.23.0, @shikijs/types@npm:^3.23.0": + version: 3.23.0 + resolution: "@shikijs/types@npm:3.23.0" + dependencies: + "@shikijs/vscode-textmate": "npm:^10.0.2" "@types/hast": "npm:^3.0.4" - checksum: 10c0/37b4ac315effc03e7185aca1da0c2631ac55bdf613897476bd1d879105c41f86ccce6ebd0b78779513d88cc2ee371039f7efd95d604f77f21f180791978822b3 + checksum: 10c0/bd0d1593f830a6b4e55c77871ec1b95cc44855d6e0e26282a948a3c58827237826e4110af27eb4d3231361f1e182c4410434a1dc15ec40aea988dc92dc97e9d6 languageName: node linkType: hard -"@shikijs/vscode-textmate@npm:^10.0.1": +"@shikijs/vscode-textmate@npm:^10.0.2": version: 10.0.2 resolution: "@shikijs/vscode-textmate@npm:10.0.2" checksum: 10c0/36b682d691088ec244de292dc8f91b808f95c89466af421cf84cbab92230f03c8348649c14b3251991b10ce632b0c715e416e992dd5f28ff3221dc2693fd9462 @@ -1028,10 +1048,10 @@ __metadata: languageName: node linkType: hard -"balanced-match@npm:^1.0.0": - version: 1.0.2 - resolution: "balanced-match@npm:1.0.2" - checksum: 10c0/9308baf0a7e4838a82bbfd11e01b1cb0f0cf2893bc1676c27c2a8c0e70cbae1c59120c3268517a8ae7fb6376b4639ef81ca22582611dbee4ed28df945134aaee +"balanced-match@npm:^4.0.2": + version: 4.0.4 + resolution: "balanced-match@npm:4.0.4" + checksum: 10c0/07e86102a3eb2ee2a6a1a89164f29d0dbaebd28f2ca3f5ca786f36b8b23d9e417eb3be45a4acf754f837be5ac0a2317de90d3fcb7f4f4dc95720a1f36b26a17b languageName: node linkType: hard @@ -1042,12 +1062,12 @@ __metadata: languageName: node linkType: hard -"brace-expansion@npm:^2.0.2": - version: 2.1.0 - resolution: "brace-expansion@npm:2.1.0" +"brace-expansion@npm:^5.0.5": + version: 5.0.7 + resolution: "brace-expansion@npm:5.0.7" dependencies: - balanced-match: "npm:^1.0.0" - checksum: 10c0/439cedf3e23d7993b37919f1d6fdc653ec21a42437ec3e7460bea9ca8b17edf7a24a633273c31d61aa4335877cf29a443f1871814131c87997a1e6223e1f1502 + balanced-match: "npm:^4.0.2" + checksum: 10c0/4769109c3c082de178e449a371bcad50d51ab468f644bce2dd9188efe0cf0a080ed102105d7fc8577382cedc45bad7e6443a91bf3d8102264ee8cf927dbaf205 languageName: node linkType: hard @@ -1102,34 +1122,36 @@ __metadata: languageName: node linkType: hard -"emnapi@npm:^1.9.1": - version: 1.10.0 - resolution: "emnapi@npm:1.10.0" +"emnapi@npm:^1.11.1": + version: 1.11.2 + resolution: "emnapi@npm:1.11.2" peerDependencies: node-addon-api: ">= 6.1.0" peerDependenciesMeta: node-addon-api: optional: true - checksum: 10c0/7e8ea3bd03e682db993709b623a30289d9dd667a22088122bc5f80faf3e6d1c592b6cc33284d839aab39abf762fb5032cca4459bf8f803be711e517d02403fa0 + checksum: 10c0/4cdb0eb1f4905f8d176b22dd1b10e3f1ded78048f7dae554230a0af81ddb6935b6698e8d5930c4285b49296ed73d22dcfce4b5540b51bcfcb8e77db44be052bc languageName: node linkType: hard -"entities@npm:^4.4.0": +"entities@npm:^4.5.0": version: 4.5.0 resolution: "entities@npm:4.5.0" checksum: 10c0/5b039739f7621f5d1ad996715e53d964035f75ad3b9a4d38c6b3804bb226e282ffeae2443624d8fdd9c47d8e926ae9ac009c54671243f0c3294c26af7cc85250 languageName: node linkType: hard -"es-toolkit@npm:^1.41.0": - version: 1.46.1 - resolution: "es-toolkit@npm:1.46.1" +"es-toolkit@npm:^1.47.0": + version: 1.49.0 + resolution: "es-toolkit@npm:1.49.0" dependenciesMeta: "@trivago/prettier-plugin-sort-imports@4.3.0": unplugged: true prettier-plugin-sort-re-exports@0.0.1: unplugged: true - checksum: 10c0/6a4c3dd0ddc2138fa13d983d93ebaf8061759c52c2cf7c3101315139fc1fca826d253daa67fe85ad880c03cc4c092bd53a83a7cbf58b4721c251479122ba5303 + vitepress-plugin-sandpack@1.1.4: + unplugged: true + checksum: 10c0/ab0864bb0c5c494ed09043d53a74b58a0ab9df1b89b9b54bce72a63de2869152d7d65e489dc89ab671f0fea243728922c8a8f8c873f1b2a53350a23360b3e2df languageName: node linkType: hard @@ -1174,14 +1196,14 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:^4.1.0": - version: 4.1.0 - resolution: "js-yaml@npm:4.1.0" +"js-yaml@npm:^4.2.0": + version: 4.3.0 + resolution: "js-yaml@npm:4.3.0" dependencies: argparse: "npm:^2.0.1" bin: js-yaml: bin/js-yaml.js - checksum: 10c0/184a24b4eaacfce40ad9074c64fd42ac83cf74d8c8cd137718d456ced75051229e5061b8633c3366b8aada17945a7a356b337828c19da92b51ae62126575018f + checksum: 10c0/058b30473d6915ca5b4feb11e2f7d4d97242f98d00a798ed48dd90b46b7c640398afe9128c5db22c5300f8c6528fe2a174b9a93f351a70ebc28c6203938d8bff languageName: node linkType: hard @@ -1192,12 +1214,12 @@ __metadata: languageName: node linkType: hard -"linkify-it@npm:^5.0.0": - version: 5.0.0 - resolution: "linkify-it@npm:5.0.0" +"linkify-it@npm:^5.0.2": + version: 5.0.2 + resolution: "linkify-it@npm:5.0.2" dependencies: uc.micro: "npm:^2.0.0" - checksum: 10c0/ff4abbcdfa2003472fc3eb4b8e60905ec97718e11e33cca52059919a4c80cc0e0c2a14d23e23d8c00e5402bc5a885cdba8ca053a11483ab3cc8b3c7a52f88e2d + checksum: 10c0/dd70b1735a13d41a2cff0a058ac3771166038f23f6aff004dd53873cf985c64b107902fe0b544a5b3d1ff6e63249cf9c648fb3ae9f285481db48f56887adb0d6 languageName: node linkType: hard @@ -1208,19 +1230,19 @@ __metadata: languageName: node linkType: hard -"markdown-it@npm:^14.1.0": - version: 14.1.1 - resolution: "markdown-it@npm:14.1.1" +"markdown-it@npm:^14.3.0": + version: 14.3.0 + resolution: "markdown-it@npm:14.3.0" dependencies: argparse: "npm:^2.0.1" - entities: "npm:^4.4.0" - linkify-it: "npm:^5.0.0" + entities: "npm:^4.5.0" + linkify-it: "npm:^5.0.2" mdurl: "npm:^2.0.0" punycode.js: "npm:^2.3.1" uc.micro: "npm:^2.1.0" bin: markdown-it: bin/markdown-it.mjs - checksum: 10c0/c67f2a4c8069a307c78d8c15104bbcb15a2c6b17f4c904364ca218ec2eccf76a397eba1ea05f5ac5de72c4b67fcf115d422d22df0bfb86a09b663f55b9478d4f + checksum: 10c0/b2dea908968109d6e9088ac972254bca842157d85d2e6838d0eb263cd8106e7e6a72663b138366cc98f57441d9f3f2ebfb842bf7b2f9e1c13187ebe70e0af8f9 languageName: node linkType: hard @@ -1231,12 +1253,12 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^9.0.5": - version: 9.0.9 - resolution: "minimatch@npm:9.0.9" +"minimatch@npm:^10.2.5": + version: 10.2.5 + resolution: "minimatch@npm:10.2.5" dependencies: - brace-expansion: "npm:^2.0.2" - checksum: 10c0/0b6a58530dbb00361745aa6c8cffaba4c90f551afe7c734830bd95fd88ebf469dd7355a027824ea1d09e37181cfeb0a797fb17df60c15ac174303ac110eb7e86 + brace-expansion: "npm:^5.0.5" + checksum: 10c0/6bb058bd6324104b9ec2f763476a35386d05079c1f5fe4fbf1f324a25237cd4534d6813ecd71f48208f4e635c1221899bef94c3c89f7df55698fe373aaae20fd languageName: node linkType: hard @@ -1254,10 +1276,10 @@ __metadata: languageName: node linkType: hard -"obug@npm:^2.0.0": - version: 2.1.1 - resolution: "obug@npm:2.1.1" - checksum: 10c0/59dccd7de72a047e08f8649e94c1015ec72f94eefb6ddb57fb4812c4b425a813bc7e7cd30c9aca20db3c59abc3c85cc7a62bb656a968741d770f4e8e02bc2e78 +"obug@npm:^2.1.2": + version: 2.1.3 + resolution: "obug@npm:2.1.3" + checksum: 10c0/cb8187fed0a5fc8445507c950e89f3c1bd43895658c398b5803f6b7804dfa0c562975ecce1e67f3d9247d521452a5bfade9e0e951cc0326b7444272f7c24d25f languageName: node linkType: hard @@ -1275,12 +1297,12 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.7.3": - version: 7.8.0 - resolution: "semver@npm:7.8.0" +"semver@npm:^7.8.2": + version: 7.8.5 + resolution: "semver@npm:7.8.5" bin: semver: bin/semver.js - checksum: 10c0/8f096ca9b80ffd47b308d03f9ce8c873e27e2983f36023c559cdc92c51e8433fc23ebbfe57ec9623fc155636a6961ee989501099841ae4bb1babc8d2b3f048cd + checksum: 10c0/b1f3127a5be8125a94f37188b361c212466c292c6910adce3ec106cff5dc211ccaedc4739c11bb70fda59d6fc1f040a9bca289f4e093451521a2372e5231fe0c languageName: node linkType: hard @@ -1305,20 +1327,20 @@ __metadata: languageName: node linkType: hard -"typedoc@npm:^0.27.6": - version: 0.27.9 - resolution: "typedoc@npm:0.27.9" +"typedoc@npm:^0.28.20": + version: 0.28.20 + resolution: "typedoc@npm:0.28.20" dependencies: - "@gerrit0/mini-shiki": "npm:^1.24.0" + "@gerrit0/mini-shiki": "npm:^3.23.0" lunr: "npm:^2.3.9" - markdown-it: "npm:^14.1.0" - minimatch: "npm:^9.0.5" - yaml: "npm:^2.6.1" + markdown-it: "npm:^14.3.0" + minimatch: "npm:^10.2.5" + yaml: "npm:^2.9.0" peerDependencies: - typescript: 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x || 5.8.x + typescript: 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x || 5.8.x || 5.9.x || 6.0.x bin: typedoc: bin/typedoc - checksum: 10c0/999668d9d23e1824b762e2c411e2c0860d0ce4a2e61f23a2c31d36a1d6337a763553bc75205aee25ce34659e9315315c720694e9eccd7e7e4755873fdfec1192 + checksum: 10c0/4949c92da174145f903deeb887dd0c91349a1bbc1e1288f6d36270a3107a0c862fe5159d0454a88b77edfdf88812a08ae77d969cf1dc1124eaff0848f066f223 languageName: node linkType: hard @@ -1356,7 +1378,7 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^2.6.1": +"yaml@npm:^2.9.0": version: 2.9.0 resolution: "yaml@npm:2.9.0" bin: diff --git a/kotlin/gradle/libs.versions.toml b/kotlin/gradle/libs.versions.toml index db7c697d..713a948c 100644 --- a/kotlin/gradle/libs.versions.toml +++ b/kotlin/gradle/libs.versions.toml @@ -12,12 +12,12 @@ guava = { module = "com.google.guava:guava", version.ref = "guava" } junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit-jupiter-engine" } [plugins] -kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version = "2.2.20" } +kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version = "2.2.21" } # Same Kotlin version as kotlin-jvm — the AAR's compiled metadata must be # readable by the JVM jar's consumers and vice versa. -kotlin-android = { id = "org.jetbrains.kotlin.android", version = "2.2.20" } -# AGP 8.13 supports Kotlin 2.2.x + Gradle 8.13 (root wrapper version above). -android-library = { id = "com.android.library", version = "8.13.0" } -android-application = { id = "com.android.application", version = "8.13.0" } -dokka = { id = "org.jetbrains.dokka", version = "2.0.0" } -maven-publish = { id = "com.vanniktech.maven.publish", version = "0.34.0" } +kotlin-android = { id = "org.jetbrains.kotlin.android", version = "2.2.21" } +# AGP 8.13 supports Kotlin 2.2.x + Gradle 8.14+ (root wrapper version above). +android-library = { id = "com.android.library", version = "8.13.2" } +android-application = { id = "com.android.application", version = "8.13.2" } +dokka = { id = "org.jetbrains.dokka", version = "2.2.0" } +maven-publish = { id = "com.vanniktech.maven.publish", version = "0.37.0" } diff --git a/kotlin/gradle/wrapper/gradle-wrapper.properties b/kotlin/gradle/wrapper/gradle-wrapper.properties index 37f853b1..4f5eb9dc 100644 --- a/kotlin/gradle/wrapper/gradle-wrapper.properties +++ b/kotlin/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.5-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/kotlin/lib/src/main/kotlin/computer/iroh/iroh_ffi.kt b/kotlin/lib/src/main/kotlin/computer/iroh/iroh_ffi.kt index d2fb77b6..d221f31c 100644 --- a/kotlin/lib/src/main/kotlin/computer/iroh/iroh_ffi.kt +++ b/kotlin/lib/src/main/kotlin/computer/iroh/iroh_ffi.kt @@ -998,281 +998,281 @@ internal object IntegrityCheckingUniffiLib { uniffiCheckApiChecksums(this) } - external fun uniffi_iroh_ffi_checksum_func_set_log_level(): Short + external fun uniffi_iroh_ffi_checksum_func_set_log_level(): Int - external fun uniffi_iroh_ffi_checksum_func_preset_minimal(): Short + external fun uniffi_iroh_ffi_checksum_func_preset_minimal(): Int - external fun uniffi_iroh_ffi_checksum_func_preset_n0(): Short + external fun uniffi_iroh_ffi_checksum_func_preset_n0(): Int - external fun uniffi_iroh_ffi_checksum_func_preset_n0_disable_relay(): Short + external fun uniffi_iroh_ffi_checksum_func_preset_n0_disable_relay(): Int - external fun uniffi_iroh_ffi_checksum_method_accepting_alpn(): Short + external fun uniffi_iroh_ffi_checksum_method_accepting_alpn(): Int - external fun uniffi_iroh_ffi_checksum_method_accepting_connect(): Short + external fun uniffi_iroh_ffi_checksum_method_accepting_connect(): Int - external fun uniffi_iroh_ffi_checksum_method_connecting_alpn(): Short + external fun uniffi_iroh_ffi_checksum_method_connecting_alpn(): Int - external fun uniffi_iroh_ffi_checksum_method_connecting_connect(): Short + external fun uniffi_iroh_ffi_checksum_method_connecting_connect(): Int - external fun uniffi_iroh_ffi_checksum_method_connecting_remote_id(): Short + external fun uniffi_iroh_ffi_checksum_method_connecting_remote_id(): Int - external fun uniffi_iroh_ffi_checksum_method_incoming_accept(): Short + external fun uniffi_iroh_ffi_checksum_method_incoming_accept(): Int - external fun uniffi_iroh_ffi_checksum_method_incoming_ignore(): Short + external fun uniffi_iroh_ffi_checksum_method_incoming_ignore(): Int - external fun uniffi_iroh_ffi_checksum_method_incoming_local_addr(): Short + external fun uniffi_iroh_ffi_checksum_method_incoming_local_addr(): Int - external fun uniffi_iroh_ffi_checksum_method_incoming_refuse(): Short + external fun uniffi_iroh_ffi_checksum_method_incoming_refuse(): Int - external fun uniffi_iroh_ffi_checksum_method_incoming_remote_addr(): Short + external fun uniffi_iroh_ffi_checksum_method_incoming_remote_addr(): Int - external fun uniffi_iroh_ffi_checksum_method_incoming_remote_addr_validated(): Short + external fun uniffi_iroh_ffi_checksum_method_incoming_remote_addr_validated(): Int - external fun uniffi_iroh_ffi_checksum_method_incoming_retry(): Short + external fun uniffi_iroh_ffi_checksum_method_incoming_retry(): Int - external fun uniffi_iroh_ffi_checksum_method_bistream_recv(): Short + external fun uniffi_iroh_ffi_checksum_method_bistream_recv(): Int - external fun uniffi_iroh_ffi_checksum_method_bistream_send(): Short + external fun uniffi_iroh_ffi_checksum_method_bistream_send(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_accept_bi(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_accept_bi(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_accept_uni(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_accept_uni(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_alpn(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_alpn(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_close(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_close(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_close_reason(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_close_reason(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_closed(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_closed(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_datagram_send_buffer_space(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_datagram_send_buffer_space(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_max_datagram_size(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_max_datagram_size(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_open_bi(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_open_bi(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_open_uni(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_open_uni(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_paths(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_paths(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_read_datagram(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_read_datagram(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_remote_id(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_remote_id(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_rtt(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_rtt(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_send_datagram(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_send_datagram(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_send_datagram_wait(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_send_datagram_wait(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_set_max_concurrent_bi_streams(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_set_max_concurrent_bi_streams(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_set_max_concurrent_uni_streams(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_set_max_concurrent_uni_streams(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_set_receive_window(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_set_receive_window(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_side(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_side(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_stable_id(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_stable_id(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_stats(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_stats(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_watch_path_events(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_watch_path_events(): Int - external fun uniffi_iroh_ffi_checksum_method_connection_watch_paths(): Short + external fun uniffi_iroh_ffi_checksum_method_connection_watch_paths(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_accept_next(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_accept_next(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_add_external_addr(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_add_external_addr(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_addr(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_addr(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_bound_sockets(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_bound_sockets(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_close(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_close(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_connect(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_connect(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_connect_pending(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_connect_pending(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_id(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_id(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_insert_relay(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_insert_relay(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_is_closed(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_is_closed(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_online(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_online(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_remote_addr(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_remote_addr(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_remove_external_addr(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_remove_external_addr(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_remove_relay(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_remove_relay(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_secret_key(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_secret_key(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_set_alpns(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_set_alpns(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_stats(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_stats(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_watch_addr(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_watch_addr(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_watch_home_relay(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_watch_home_relay(): Int - external fun uniffi_iroh_ffi_checksum_method_endpoint_watch_network_change(): Short + external fun uniffi_iroh_ffi_checksum_method_endpoint_watch_network_change(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_alpns(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_alpns(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_apply_minimal(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_apply_minimal(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_apply_n0(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_apply_n0(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_apply_n0_disable_relay(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_apply_n0_disable_relay(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_bind(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_bind(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_bind_addr(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_bind_addr(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_relay_mode(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_relay_mode(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_secret_key(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointbuilder_secret_key(): Int - external fun uniffi_iroh_ffi_checksum_method_preset_apply(): Short + external fun uniffi_iroh_ffi_checksum_method_preset_apply(): Int - external fun uniffi_iroh_ffi_checksum_method_protocolcreator_create(): Short + external fun uniffi_iroh_ffi_checksum_method_protocolcreator_create(): Int - external fun uniffi_iroh_ffi_checksum_method_protocolhandler_accept(): Short + external fun uniffi_iroh_ffi_checksum_method_protocolhandler_accept(): Int - external fun uniffi_iroh_ffi_checksum_method_protocolhandler_shutdown(): Short + external fun uniffi_iroh_ffi_checksum_method_protocolhandler_shutdown(): Int - external fun uniffi_iroh_ffi_checksum_method_recvstream_bytes_read(): Short + external fun uniffi_iroh_ffi_checksum_method_recvstream_bytes_read(): Int - external fun uniffi_iroh_ffi_checksum_method_recvstream_id(): Short + external fun uniffi_iroh_ffi_checksum_method_recvstream_id(): Int - external fun uniffi_iroh_ffi_checksum_method_recvstream_read(): Short + external fun uniffi_iroh_ffi_checksum_method_recvstream_read(): Int - external fun uniffi_iroh_ffi_checksum_method_recvstream_read_exact(): Short + external fun uniffi_iroh_ffi_checksum_method_recvstream_read_exact(): Int - external fun uniffi_iroh_ffi_checksum_method_recvstream_read_to_end(): Short + external fun uniffi_iroh_ffi_checksum_method_recvstream_read_to_end(): Int - external fun uniffi_iroh_ffi_checksum_method_recvstream_received_reset(): Short + external fun uniffi_iroh_ffi_checksum_method_recvstream_received_reset(): Int - external fun uniffi_iroh_ffi_checksum_method_recvstream_stop(): Short + external fun uniffi_iroh_ffi_checksum_method_recvstream_stop(): Int - external fun uniffi_iroh_ffi_checksum_method_sendstream_finish(): Short + external fun uniffi_iroh_ffi_checksum_method_sendstream_finish(): Int - external fun uniffi_iroh_ffi_checksum_method_sendstream_id(): Short + external fun uniffi_iroh_ffi_checksum_method_sendstream_id(): Int - external fun uniffi_iroh_ffi_checksum_method_sendstream_priority(): Short + external fun uniffi_iroh_ffi_checksum_method_sendstream_priority(): Int - external fun uniffi_iroh_ffi_checksum_method_sendstream_reset(): Short + external fun uniffi_iroh_ffi_checksum_method_sendstream_reset(): Int - external fun uniffi_iroh_ffi_checksum_method_sendstream_set_priority(): Short + external fun uniffi_iroh_ffi_checksum_method_sendstream_set_priority(): Int - external fun uniffi_iroh_ffi_checksum_method_sendstream_stopped(): Short + external fun uniffi_iroh_ffi_checksum_method_sendstream_stopped(): Int - external fun uniffi_iroh_ffi_checksum_method_sendstream_write(): Short + external fun uniffi_iroh_ffi_checksum_method_sendstream_write(): Int - external fun uniffi_iroh_ffi_checksum_method_sendstream_write_all(): Short + external fun uniffi_iroh_ffi_checksum_method_sendstream_write_all(): Int - external fun uniffi_iroh_ffi_checksum_method_iroherror_message(): Short + external fun uniffi_iroh_ffi_checksum_method_iroherror_message(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointid_fmt_short(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointid_fmt_short(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointid_to_bytes(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointid_to_bytes(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointid_verify(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointid_verify(): Int - external fun uniffi_iroh_ffi_checksum_method_secretkey_public(): Short + external fun uniffi_iroh_ffi_checksum_method_secretkey_public(): Int - external fun uniffi_iroh_ffi_checksum_method_secretkey_sign(): Short + external fun uniffi_iroh_ffi_checksum_method_secretkey_sign(): Int - external fun uniffi_iroh_ffi_checksum_method_secretkey_to_bytes(): Short + external fun uniffi_iroh_ffi_checksum_method_secretkey_to_bytes(): Int - external fun uniffi_iroh_ffi_checksum_method_signature_to_bytes(): Short + external fun uniffi_iroh_ffi_checksum_method_signature_to_bytes(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointaddr_direct_addresses(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointaddr_direct_addresses(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointaddr_id(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointaddr_id(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointaddr_relay_url(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointaddr_relay_url(): Int - external fun uniffi_iroh_ffi_checksum_method_pathchangecallback_on_change(): Short + external fun uniffi_iroh_ffi_checksum_method_pathchangecallback_on_change(): Int - external fun uniffi_iroh_ffi_checksum_method_patheventcallback_on_event(): Short + external fun uniffi_iroh_ffi_checksum_method_patheventcallback_on_event(): Int - external fun uniffi_iroh_ffi_checksum_method_relaymap_contains(): Short + external fun uniffi_iroh_ffi_checksum_method_relaymap_contains(): Int - external fun uniffi_iroh_ffi_checksum_method_relaymap_get(): Short + external fun uniffi_iroh_ffi_checksum_method_relaymap_get(): Int - external fun uniffi_iroh_ffi_checksum_method_relaymap_insert(): Short + external fun uniffi_iroh_ffi_checksum_method_relaymap_insert(): Int - external fun uniffi_iroh_ffi_checksum_method_relaymap_is_empty(): Short + external fun uniffi_iroh_ffi_checksum_method_relaymap_is_empty(): Int - external fun uniffi_iroh_ffi_checksum_method_relaymap_len(): Short + external fun uniffi_iroh_ffi_checksum_method_relaymap_len(): Int - external fun uniffi_iroh_ffi_checksum_method_relaymap_remove(): Short + external fun uniffi_iroh_ffi_checksum_method_relaymap_remove(): Int - external fun uniffi_iroh_ffi_checksum_method_relaymap_urls(): Short + external fun uniffi_iroh_ffi_checksum_method_relaymap_urls(): Int - external fun uniffi_iroh_ffi_checksum_method_relaymode_relay_map(): Short + external fun uniffi_iroh_ffi_checksum_method_relaymode_relay_map(): Int - external fun uniffi_iroh_ffi_checksum_method_servicesclient_name(): Short + external fun uniffi_iroh_ffi_checksum_method_servicesclient_name(): Int - external fun uniffi_iroh_ffi_checksum_method_servicesclient_ping(): Short + external fun uniffi_iroh_ffi_checksum_method_servicesclient_ping(): Int - external fun uniffi_iroh_ffi_checksum_method_servicesclient_push_metrics(): Short + external fun uniffi_iroh_ffi_checksum_method_servicesclient_push_metrics(): Int - external fun uniffi_iroh_ffi_checksum_method_servicesclient_set_name(): Short + external fun uniffi_iroh_ffi_checksum_method_servicesclient_set_name(): Int - external fun uniffi_iroh_ffi_checksum_method_servicesclient_submit_network_diagnostics(): Short + external fun uniffi_iroh_ffi_checksum_method_servicesclient_submit_network_diagnostics(): Int - external fun uniffi_iroh_ffi_checksum_method_endpointticket_endpoint_addr(): Short + external fun uniffi_iroh_ffi_checksum_method_endpointticket_endpoint_addr(): Int - external fun uniffi_iroh_ffi_checksum_method_addrchangecallback_on_change(): Short + external fun uniffi_iroh_ffi_checksum_method_addrchangecallback_on_change(): Int - external fun uniffi_iroh_ffi_checksum_method_homerelaycallback_on_change(): Short + external fun uniffi_iroh_ffi_checksum_method_homerelaycallback_on_change(): Int - external fun uniffi_iroh_ffi_checksum_method_networkchangecallback_on_change(): Short + external fun uniffi_iroh_ffi_checksum_method_networkchangecallback_on_change(): Int - external fun uniffi_iroh_ffi_checksum_method_watchhandle_stop(): Short + external fun uniffi_iroh_ffi_checksum_method_watchhandle_stop(): Int - external fun uniffi_iroh_ffi_checksum_constructor_endpoint_bind(): Short + external fun uniffi_iroh_ffi_checksum_constructor_endpoint_bind(): Int - external fun uniffi_iroh_ffi_checksum_constructor_endpointbuilder_new(): Short + external fun uniffi_iroh_ffi_checksum_constructor_endpointbuilder_new(): Int - external fun uniffi_iroh_ffi_checksum_constructor_endpointid_from_bytes(): Short + external fun uniffi_iroh_ffi_checksum_constructor_endpointid_from_bytes(): Int - external fun uniffi_iroh_ffi_checksum_constructor_endpointid_from_string(): Short + external fun uniffi_iroh_ffi_checksum_constructor_endpointid_from_string(): Int - external fun uniffi_iroh_ffi_checksum_constructor_secretkey_from_bytes(): Short + external fun uniffi_iroh_ffi_checksum_constructor_secretkey_from_bytes(): Int - external fun uniffi_iroh_ffi_checksum_constructor_secretkey_generate(): Short + external fun uniffi_iroh_ffi_checksum_constructor_secretkey_generate(): Int - external fun uniffi_iroh_ffi_checksum_constructor_signature_from_bytes(): Short + external fun uniffi_iroh_ffi_checksum_constructor_signature_from_bytes(): Int - external fun uniffi_iroh_ffi_checksum_constructor_endpointaddr_new(): Short + external fun uniffi_iroh_ffi_checksum_constructor_endpointaddr_new(): Int - external fun uniffi_iroh_ffi_checksum_constructor_relaymap_empty(): Short + external fun uniffi_iroh_ffi_checksum_constructor_relaymap_empty(): Int - external fun uniffi_iroh_ffi_checksum_constructor_relaymap_from_urls(): Short + external fun uniffi_iroh_ffi_checksum_constructor_relaymap_from_urls(): Int - external fun uniffi_iroh_ffi_checksum_constructor_relaymode_custom(): Short + external fun uniffi_iroh_ffi_checksum_constructor_relaymode_custom(): Int - external fun uniffi_iroh_ffi_checksum_constructor_relaymode_custom_from_urls(): Short + external fun uniffi_iroh_ffi_checksum_constructor_relaymode_custom_from_urls(): Int - external fun uniffi_iroh_ffi_checksum_constructor_relaymode_default_mode(): Short + external fun uniffi_iroh_ffi_checksum_constructor_relaymode_default_mode(): Int - external fun uniffi_iroh_ffi_checksum_constructor_relaymode_disabled(): Short + external fun uniffi_iroh_ffi_checksum_constructor_relaymode_disabled(): Int - external fun uniffi_iroh_ffi_checksum_constructor_relaymode_staging(): Short + external fun uniffi_iroh_ffi_checksum_constructor_relaymode_staging(): Int - external fun uniffi_iroh_ffi_checksum_constructor_servicesclient_create(): Short + external fun uniffi_iroh_ffi_checksum_constructor_servicesclient_create(): Int - external fun uniffi_iroh_ffi_checksum_constructor_endpointticket_from_addr(): Short + external fun uniffi_iroh_ffi_checksum_constructor_endpointticket_from_addr(): Int - external fun uniffi_iroh_ffi_checksum_constructor_endpointticket_from_string(): Short + external fun uniffi_iroh_ffi_checksum_constructor_endpointticket_from_string(): Int external fun ffi_iroh_ffi_uniffi_contract_version(): Int } @@ -2287,7 +2287,7 @@ internal object UniffiLib { external fun ffi_iroh_ffi_rust_future_complete_u8( `handle`: Long, uniffi_out_err: UniffiRustCallStatus, - ): Byte + ): Int external fun ffi_iroh_ffi_rust_future_poll_i8( `handle`: Long, @@ -2317,7 +2317,7 @@ internal object UniffiLib { external fun ffi_iroh_ffi_rust_future_complete_u16( `handle`: Long, uniffi_out_err: UniffiRustCallStatus, - ): Short + ): Int external fun ffi_iroh_ffi_rust_future_poll_i16( `handle`: Long, @@ -2467,418 +2467,418 @@ private fun uniffiCheckContractApiVersion(lib: IntegrityCheckingUniffiLib) { @Suppress("UNUSED_PARAMETER") private fun uniffiCheckApiChecksums(lib: IntegrityCheckingUniffiLib) { - if (lib.uniffi_iroh_ffi_checksum_func_set_log_level() != 52619.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_func_set_log_level() != 52619) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_func_preset_minimal() != 1543.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_func_preset_minimal() != 1543) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_func_preset_n0() != 14809.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_func_preset_n0() != 14809) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_func_preset_n0_disable_relay() != 45395.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_func_preset_n0_disable_relay() != 45395) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_accepting_alpn() != 1935.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_accepting_alpn() != 1935) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_accepting_connect() != 4822.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_accepting_connect() != 4822) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connecting_alpn() != 43012.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connecting_alpn() != 43012) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connecting_connect() != 18409.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connecting_connect() != 18409) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connecting_remote_id() != 20505.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connecting_remote_id() != 20505) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_incoming_accept() != 17830.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_incoming_accept() != 17830) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_incoming_ignore() != 3710.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_incoming_ignore() != 3710) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_incoming_local_addr() != 49615.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_incoming_local_addr() != 49615) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_incoming_refuse() != 32144.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_incoming_refuse() != 32144) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_incoming_remote_addr() != 41074.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_incoming_remote_addr() != 41074) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_incoming_remote_addr_validated() != 11914.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_incoming_remote_addr_validated() != 11914) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_incoming_retry() != 5830.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_incoming_retry() != 5830) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_bistream_recv() != 64172.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_bistream_recv() != 64172) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_bistream_send() != 17421.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_bistream_send() != 17421) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_accept_bi() != 24717.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_accept_bi() != 24717) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_accept_uni() != 14498.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_accept_uni() != 14498) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_alpn() != 24307.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_alpn() != 24307) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_close() != 4437.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_close() != 4437) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_close_reason() != 54740.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_close_reason() != 54740) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_closed() != 47559.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_closed() != 47559) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_datagram_send_buffer_space() != 43524.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_datagram_send_buffer_space() != 43524) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_max_datagram_size() != 57931.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_max_datagram_size() != 57931) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_open_bi() != 7884.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_open_bi() != 7884) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_open_uni() != 45141.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_open_uni() != 45141) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_paths() != 29415.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_paths() != 29415) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_read_datagram() != 7530.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_read_datagram() != 7530) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_remote_id() != 30142.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_remote_id() != 30142) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_rtt() != 43391.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_rtt() != 43391) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_send_datagram() != 28522.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_send_datagram() != 28522) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_send_datagram_wait() != 48924.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_send_datagram_wait() != 48924) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_set_max_concurrent_bi_streams() != 50250.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_set_max_concurrent_bi_streams() != 50250) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_set_max_concurrent_uni_streams() != 26941.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_set_max_concurrent_uni_streams() != 26941) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_set_receive_window() != 49973.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_set_receive_window() != 49973) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_side() != 41532.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_side() != 41532) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_stable_id() != 47103.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_stable_id() != 47103) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_stats() != 46010.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_stats() != 46010) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_watch_path_events() != 61648.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_watch_path_events() != 61648) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_connection_watch_paths() != 12199.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_connection_watch_paths() != 12199) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_accept_next() != 38336.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_accept_next() != 38336) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_add_external_addr() != 65222.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_add_external_addr() != 65222) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_addr() != 25271.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_addr() != 25271) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_bound_sockets() != 64249.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_bound_sockets() != 64249) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_close() != 8483.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_close() != 8483) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_connect() != 28652.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_connect() != 28652) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_connect_pending() != 15705.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_connect_pending() != 15705) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_id() != 21819.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_id() != 21819) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_insert_relay() != 12359.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_insert_relay() != 12359) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_is_closed() != 32495.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_is_closed() != 32495) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_online() != 27176.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_online() != 27176) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_remote_addr() != 28984.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_remote_addr() != 28984) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_remove_external_addr() != 28593.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_remove_external_addr() != 28593) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_remove_relay() != 27801.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_remove_relay() != 27801) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_secret_key() != 53232.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_secret_key() != 53232) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_set_alpns() != 19499.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_set_alpns() != 19499) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_stats() != 39646.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_stats() != 39646) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_watch_addr() != 33560.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_watch_addr() != 33560) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_watch_home_relay() != 61148.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_watch_home_relay() != 61148) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpoint_watch_network_change() != 28710.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpoint_watch_network_change() != 28710) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_alpns() != 55626.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_alpns() != 55626) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_apply_minimal() != 3398.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_apply_minimal() != 3398) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_apply_n0() != 29986.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_apply_n0() != 29986) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_apply_n0_disable_relay() != 20494.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_apply_n0_disable_relay() != 20494) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_bind() != 18280.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_bind() != 5850) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_bind_addr() != 50528.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_bind_addr() != 50528) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_relay_mode() != 17405.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_relay_mode() != 17405) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_secret_key() != 35604.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointbuilder_secret_key() != 35604) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_preset_apply() != 64281.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_preset_apply() != 64281) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_protocolcreator_create() != 61404.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_protocolcreator_create() != 61404) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_protocolhandler_accept() != 47317.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_protocolhandler_accept() != 47317) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_protocolhandler_shutdown() != 18593.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_protocolhandler_shutdown() != 18593) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_recvstream_bytes_read() != 16585.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_recvstream_bytes_read() != 16585) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_recvstream_id() != 36775.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_recvstream_id() != 36775) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_recvstream_read() != 19153.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_recvstream_read() != 19153) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_recvstream_read_exact() != 6617.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_recvstream_read_exact() != 6617) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_recvstream_read_to_end() != 10448.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_recvstream_read_to_end() != 10448) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_recvstream_received_reset() != 7090.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_recvstream_received_reset() != 7090) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_recvstream_stop() != 6249.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_recvstream_stop() != 6249) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_sendstream_finish() != 43289.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_sendstream_finish() != 43289) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_sendstream_id() != 21729.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_sendstream_id() != 21729) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_sendstream_priority() != 120.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_sendstream_priority() != 120) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_sendstream_reset() != 6025.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_sendstream_reset() != 6025) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_sendstream_set_priority() != 18123.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_sendstream_set_priority() != 18123) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_sendstream_stopped() != 18559.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_sendstream_stopped() != 18559) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_sendstream_write() != 30292.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_sendstream_write() != 30292) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_sendstream_write_all() != 64390.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_sendstream_write_all() != 64390) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_iroherror_message() != 64767.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_iroherror_message() != 64767) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointid_fmt_short() != 41579.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointid_fmt_short() != 41579) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointid_to_bytes() != 28032.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointid_to_bytes() != 28032) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointid_verify() != 26422.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointid_verify() != 26422) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_secretkey_public() != 4129.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_secretkey_public() != 4129) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_secretkey_sign() != 46972.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_secretkey_sign() != 46972) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_secretkey_to_bytes() != 48409.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_secretkey_to_bytes() != 48409) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_signature_to_bytes() != 39387.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_signature_to_bytes() != 39387) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointaddr_direct_addresses() != 63199.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointaddr_direct_addresses() != 63199) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointaddr_id() != 32503.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointaddr_id() != 32503) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointaddr_relay_url() != 24207.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointaddr_relay_url() != 24207) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_pathchangecallback_on_change() != 24759.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_pathchangecallback_on_change() != 24759) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_patheventcallback_on_event() != 26147.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_patheventcallback_on_event() != 26147) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_relaymap_contains() != 54079.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_relaymap_contains() != 54079) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_relaymap_get() != 6837.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_relaymap_get() != 6837) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_relaymap_insert() != 45587.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_relaymap_insert() != 45587) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_relaymap_is_empty() != 18319.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_relaymap_is_empty() != 18319) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_relaymap_len() != 54399.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_relaymap_len() != 54399) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_relaymap_remove() != 22144.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_relaymap_remove() != 22144) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_relaymap_urls() != 732.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_relaymap_urls() != 732) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_relaymode_relay_map() != 38538.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_relaymode_relay_map() != 38538) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_servicesclient_name() != 37977.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_servicesclient_name() != 37977) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_servicesclient_ping() != 52471.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_servicesclient_ping() != 52471) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_servicesclient_push_metrics() != 19984.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_servicesclient_push_metrics() != 19984) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_servicesclient_set_name() != 56201.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_servicesclient_set_name() != 56201) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_servicesclient_submit_network_diagnostics() != 36167.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_servicesclient_submit_network_diagnostics() != 36167) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_endpointticket_endpoint_addr() != 64212.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_endpointticket_endpoint_addr() != 64212) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_addrchangecallback_on_change() != 35709.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_addrchangecallback_on_change() != 35709) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_homerelaycallback_on_change() != 24411.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_homerelaycallback_on_change() != 24411) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_networkchangecallback_on_change() != 8251.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_networkchangecallback_on_change() != 8251) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_method_watchhandle_stop() != 5389.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_method_watchhandle_stop() != 5389) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_endpoint_bind() != 33964.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_endpoint_bind() != 33964) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_endpointbuilder_new() != 38003.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_endpointbuilder_new() != 16347) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_endpointid_from_bytes() != 63462.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_endpointid_from_bytes() != 63462) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_endpointid_from_string() != 47236.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_endpointid_from_string() != 47236) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_secretkey_from_bytes() != 61009.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_secretkey_from_bytes() != 61009) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_secretkey_generate() != 56581.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_secretkey_generate() != 56581) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_signature_from_bytes() != 62207.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_signature_from_bytes() != 62207) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_endpointaddr_new() != 40386.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_endpointaddr_new() != 40386) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_relaymap_empty() != 49514.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_relaymap_empty() != 49514) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_relaymap_from_urls() != 678.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_relaymap_from_urls() != 678) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_relaymode_custom() != 51396.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_relaymode_custom() != 51396) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_relaymode_custom_from_urls() != 49579.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_relaymode_custom_from_urls() != 49579) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_relaymode_default_mode() != 17157.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_relaymode_default_mode() != 17157) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_relaymode_disabled() != 42542.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_relaymode_disabled() != 42542) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_relaymode_staging() != 32490.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_relaymode_staging() != 32490) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_servicesclient_create() != 11042.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_servicesclient_create() != 11042) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_endpointticket_from_addr() != 28196.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_endpointticket_from_addr() != 28196) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_iroh_ffi_checksum_constructor_endpointticket_from_string() != 3825.toShort()) { + if (lib.uniffi_iroh_ffi_checksum_constructor_endpointticket_from_string() != 3825) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } } @@ -3232,6 +3232,8 @@ private class JavaLangRefCleanable( public object FfiConverterUShort : FfiConverter { override fun lift(value: Short): UShort = value.toUShort() + fun lift(value: Int): UShort = value.toUShort() + override fun read(buf: ByteBuffer): UShort = lift(buf.getShort()) override fun lower(value: UShort): Short = value.toShort() @@ -6631,14 +6633,10 @@ public interface EndpointBuilderInterface { /** * Consume the builder and bind a new [`Endpoint`]. * - * Returns an `Endpoint` without protocol handlers attached. To attach - * protocol handlers, use [`Endpoint::bind`] with - * [`EndpointOptions::protocols`] instead — the builder form here is - * for callers who don't need custom protocols. - * - * The builder is single-use: a second call to `bind` (or to any other - * `take_inner`-using method like `bind_addr`) on the same instance - * returns `EndpointBuilder already consumed`. + * The returned `Endpoint` has no protocol handlers — use + * [`Endpoint::bind`] with [`EndpointOptions::protocols`] to attach them. + * The builder is single-use; a second `bind` returns + * `EndpointBuilder already consumed`. */ suspend fun `bind`(): Endpoint @@ -6696,15 +6694,9 @@ open class EndpointBuilder : } /** - * Create a fresh empty endpoint builder. - * - * Apply a preset (`apply_n0`, `apply_minimal`, `apply_n0_disable_relay`) - * before [`bind`](Self::bind) — the preset installs the crypto provider - * and other required configuration; without one, `bind` will error. - * - * For the simple `Endpoint::bind(options)` path use that constructor - * instead; this builder API is for callers who want to apply - * configuration incrementally. + * Create a fresh empty endpoint builder. Apply a preset (`apply_n0`, + * `apply_minimal`, `apply_n0_disable_relay`) before [`bind`](Self::bind); + * the preset installs the crypto provider, without one `bind` will error. */ constructor() : this( @@ -6843,14 +6835,10 @@ open class EndpointBuilder : /** * Consume the builder and bind a new [`Endpoint`]. * - * Returns an `Endpoint` without protocol handlers attached. To attach - * protocol handlers, use [`Endpoint::bind`] with - * [`EndpointOptions::protocols`] instead — the builder form here is - * for callers who don't need custom protocols. - * - * The builder is single-use: a second call to `bind` (or to any other - * `take_inner`-using method like `bind_addr`) on the same instance - * returns `EndpointBuilder already consumed`. + * The returned `Endpoint` has no protocol handlers — use + * [`Endpoint::bind`] with [`EndpointOptions::protocols`] to attach them. + * The builder is single-use; a second `bind` returns + * `EndpointBuilder already consumed`. */ @Throws(IrohException::class) @Suppress("ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE")